AmplifyGen3 / Paginator / ListDomainAssociationsForApp
ListDomainAssociationsForApp¶
- class AmplifyGen3.Paginator.ListDomainAssociationsForApp¶
paginator = client.get_paginator('list_domain_associations_for_app')
- paginate(**kwargs)¶
Creates an iterator that will paginate through responses from
AmplifyGen3.Client.list_domain_associations_for_app().See also: AWS API Documentation
Request Syntax
response_iterator = paginator.paginate( AppName='string', PaginationConfig={ 'MaxItems': 123, 'PageSize': 123, 'StartingToken': 'string' } )
- Parameters:
AppName (string) –
[REQUIRED]
The name of the app.
PaginationConfig (dict) –
A dictionary that provides parameters to control pagination.
MaxItems (integer) –
The total number of items to return. If the total number of items available is more than the value specified in max-items then a
NextTokenwill be provided in the output that you can use to resume pagination.PageSize (integer) –
The size of each page.
StartingToken (string) –
A token to specify where to start paginating. This is the
NextTokenfrom a previous response.
- Return type:
dict
- Returns:
Response Syntax
{ 'DomainAssociations': [ { 'DomainAssociationArn': 'string', 'DomainName': 'string', 'DomainStatus': 'CREATING'|'PENDING_CERTIFICATE_VALIDATION'|'PENDING_OWNERSHIP_VALIDATION'|'PENDING_DNS_VALIDATION'|'PENDING_NS_DELEGATION'|'PROVISIONING'|'ACTIVE'|'UPDATING'|'DELETING'|'CREATE_FAILED'|'UPDATE_FAILED'|'DELETE_FAILED', 'Routing': { 'alias': { 'AliasArn': 'string' }, 'redirect': { 'TargetUrl': 'string', 'StatusCode': 'HTTP_301'|'HTTP_302'|'HTTP_307'|'HTTP_308' } } }, ], }
Response Structure
(dict) –
DomainAssociations (list) –
The domain associations.
(dict) –
Summary information for a domain association.
DomainAssociationArn (string) –
The Amazon Resource Name (ARN) of the domain association.
DomainName (string) –
The fully qualified domain name.
DomainStatus (string) –
The status of the domain association.
Routing (dict) –
The routing configuration for the domain.
Note
This is a Tagged Union structure. Only one of the following top level keys will be set:
alias,redirect. If a client receives an unknown member it will setSDK_UNKNOWN_MEMBERas the top level key, which maps to the name or tag of the unknown member. The structure ofSDK_UNKNOWN_MEMBERis as follows:'SDK_UNKNOWN_MEMBER': {'name': 'UnknownMemberName'}
alias (dict) –
Routes traffic for the domain to an alias.
AliasArn (string) –
The Amazon Resource Name (ARN) of the alias.
redirect (dict) –
Redirects traffic for the domain to another URL.
TargetUrl (string) –
The URL to redirect requests to.
StatusCode (string) –
The HTTP status code to return for the redirect.