list_aliases(**kwargs)¶Creates a paginated call to list the aliases associated with a given entity.
See also: AWS API Documentation
Request Syntax
response = client.list_aliases(
    OrganizationId='string',
    EntityId='string',
    NextToken='string',
    MaxResults=123
)
[REQUIRED]
The identifier for the organization under which the entity exists.
[REQUIRED]
The identifier for the entity for which to list the aliases.
dict
Response Syntax
{
    'Aliases': [
        'string',
    ],
    'NextToken': 'string'
}
Response Structure
(dict) --
Aliases (list) --
The entity's paginated aliases.
NextToken (string) --
The token to use to retrieve the next page of results. The value is "null" when there are no more results to return.
Exceptions
WorkMail.Client.exceptions.EntityNotFoundExceptionWorkMail.Client.exceptions.EntityStateExceptionWorkMail.Client.exceptions.InvalidParameterExceptionWorkMail.Client.exceptions.OrganizationNotFoundExceptionWorkMail.Client.exceptions.OrganizationStateException