associate_api
(**kwargs)¶Maps an endpoint to your custom domain.
See also: AWS API Documentation
Request Syntax
response = client.associate_api(
domainName='string',
apiId='string'
)
[REQUIRED]
The domain name.
[REQUIRED]
The API ID.
dict
Response Syntax
{
'apiAssociation': {
'domainName': 'string',
'apiId': 'string',
'associationStatus': 'PROCESSING'|'FAILED'|'SUCCESS',
'deploymentDetail': 'string'
}
}
Response Structure
(dict) --
apiAssociation (dict) --
The ApiAssociation
object.
domainName (string) --
The domain name.
apiId (string) --
The API ID.
associationStatus (string) --
Identifies the status of an association.
deploymentDetail (string) --
Details about the last deployment status.
Exceptions
AppSync.Client.exceptions.AccessDeniedException
AppSync.Client.exceptions.BadRequestException
AppSync.Client.exceptions.InternalFailureException
AppSync.Client.exceptions.NotFoundException