update_role_alias
(**kwargs)¶Updates a role alias.
Requires permission to access the UpdateRoleAlias action.
See also: AWS API Documentation
Request Syntax
response = client.update_role_alias(
roleAlias='string',
roleArn='string',
credentialDurationSeconds=123
)
[REQUIRED]
The role alias to update.
The number of seconds the credential will be valid.
This value must be less than or equal to the maximum session duration of the IAM role that the role alias references.
dict
Response Syntax
{
'roleAlias': 'string',
'roleAliasArn': 'string'
}
Response Structure
(dict) --
roleAlias (string) --
The role alias.
roleAliasArn (string) --
The role alias ARN.
Exceptions
IoT.Client.exceptions.ResourceNotFoundException
IoT.Client.exceptions.InvalidRequestException
IoT.Client.exceptions.ThrottlingException
IoT.Client.exceptions.UnauthorizedException
IoT.Client.exceptions.ServiceUnavailableException
IoT.Client.exceptions.InternalFailureException