IoT / Client / list_role_aliases

list_role_aliases#

IoT.Client.list_role_aliases(**kwargs)#

Lists the role aliases registered in your account.

Requires permission to access the ListRoleAliases action.

See also: AWS API Documentation

Request Syntax

response = client.list_role_aliases(
    pageSize=123,
    marker='string',
    ascendingOrder=True|False
)
Parameters:
  • pageSize (integer) – The maximum number of results to return at one time.

  • marker (string) – A marker used to get the next set of results.

  • ascendingOrder (boolean) – Return the list of role aliases in ascending alphabetical order.

Return type:

dict

Returns:

Response Syntax

{
    'roleAliases': [
        'string',
    ],
    'nextMarker': 'string'
}

Response Structure

  • (dict) –

    • roleAliases (list) –

      The role aliases.

      • (string) –

    • nextMarker (string) –

      A marker used to get the next set of results.

Exceptions

  • IoT.Client.exceptions.InvalidRequestException

  • IoT.Client.exceptions.ThrottlingException

  • IoT.Client.exceptions.UnauthorizedException

  • IoT.Client.exceptions.ServiceUnavailableException

  • IoT.Client.exceptions.InternalFailureException