IoTSiteWise.Client.
describe_portal
(**kwargs)¶Retrieves information about a portal.
See also: AWS API Documentation
Request Syntax
response = client.describe_portal(
portalId='string'
)
[REQUIRED]
The ID of the portal.
{
'portalId': 'string',
'portalArn': 'string',
'portalName': 'string',
'portalDescription': 'string',
'portalClientId': 'string',
'portalStartUrl': 'string',
'portalContactEmail': 'string',
'portalStatus': {
'state': 'CREATING'|'UPDATING'|'DELETING'|'ACTIVE'|'FAILED',
'error': {
'code': 'INTERNAL_FAILURE'|'VALIDATION_ERROR'|'LIMIT_EXCEEDED',
'message': 'string'
}
},
'portalCreationDate': datetime(2015, 1, 1),
'portalLastUpdateDate': datetime(2015, 1, 1),
'portalLogoImageLocation': {
'id': 'string',
'url': 'string'
},
'roleArn': 'string',
'portalAuthMode': 'IAM'|'SSO',
'notificationSenderEmail': 'string',
'alarms': {
'alarmRoleArn': 'string',
'notificationLambdaArn': 'string'
}
}
Response Structure
The ID of the portal.
The ARN of the portal, which has the following format.
arn:${Partition}:iotsitewise:${Region}:${Account}:portal/${PortalId}
The name of the portal.
The portal's description.
The IAM Identity Center application generated client ID (used with IAM Identity Center APIs). IoT SiteWise includes portalClientId
for only portals that use IAM Identity Center to authenticate users.
The URL for the IoT SiteWise Monitor portal. You can use this URL to access portals that use IAM Identity Center for authentication. For portals that use IAM for authentication, you must use the IoT SiteWise console to get a URL that you can use to access the portal.
The Amazon Web Services administrator's contact email address.
The current status of the portal, which contains a state and any error message.
The current state of the portal.
Contains associated error information, if any.
The error code.
The error message.
The date the portal was created, in Unix epoch time.
The date the portal was last updated, in Unix epoch time.
The portal's logo image, which is available at a URL.
The ID of the image.
The URL where the image is available. The URL is valid for 15 minutes so that you can view and download the image
The ARN of the service role that allows the portal's users to access your IoT SiteWise resources on your behalf. For more information, see Using service roles for IoT SiteWise Monitor in the IoT SiteWise User Guide .
The service to use to authenticate users to the portal.
The email address that sends alarm notifications.
Contains the configuration information of an alarm created in an IoT SiteWise Monitor portal.
The ARN of the IAM role that allows the alarm to perform actions and access Amazon Web Services resources and services, such as IoT Events.
The ARN of the Lambda function that manages alarm notifications. For more information, see Managing alarm notifications in the IoT Events Developer Guide .
Exceptions
IoTSiteWise.Client.exceptions.InvalidRequestException
IoTSiteWise.Client.exceptions.ResourceNotFoundException
IoTSiteWise.Client.exceptions.InternalFailureException
IoTSiteWise.Client.exceptions.ThrottlingException