Select your cookie preferences

We use cookies and similar tools to enhance your experience, provide our services, deliver relevant advertising, and make improvements. Approved third parties also use these tools to help us deliver advertising and provide certain site features.

get_api_association

get_api_association(**kwargs)

Retrieves an ApiAssociation object.

See also: AWS API Documentation

Request Syntax

response = client.get_api_association(
    domainName='string'
)
Parameters
domainName (string) --

[REQUIRED]

The domain name.

Return type
dict
Returns
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.

        • PROCESSING : The API association is being created. You cannot modify association requests during processing.
        • SUCCESS : The API association was successful. You can modify associations after success.
        • FAILED : The API association has failed. You can modify associations after failure.
      • 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