IoT.Client.
describe_role_alias
(**kwargs)¶Describes a role alias.
Requires permission to access the DescribeRoleAlias action.
See also: AWS API Documentation
Request Syntax
response = client.describe_role_alias(
roleAlias='string'
)
[REQUIRED]
The role alias to describe.
{
'roleAliasDescription': {
'roleAlias': 'string',
'roleAliasArn': 'string',
'roleArn': 'string',
'owner': 'string',
'credentialDurationSeconds': 123,
'creationDate': datetime(2015, 1, 1),
'lastModifiedDate': datetime(2015, 1, 1)
}
}
Response Structure
The role alias description.
The role alias.
The ARN of the role alias.
The role ARN.
The role alias owner.
The number of seconds for which the credential is valid.
The UNIX timestamp of when the role alias was created.
The UNIX timestamp of when the role alias was last modified.
Exceptions
IoT.Client.exceptions.InvalidRequestException
IoT.Client.exceptions.ThrottlingException
IoT.Client.exceptions.UnauthorizedException
IoT.Client.exceptions.ServiceUnavailableException
IoT.Client.exceptions.InternalFailureException
IoT.Client.exceptions.ResourceNotFoundException