Skip to main content

api_associations

Creates, updates, deletes, gets or lists an api_associations resource.

Overview

Nameapi_associations
TypeResource
Idaws.appsync.api_associations

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
api_idstringThe API ID.
association_statusstringIdentifies 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. (PROCESSING, FAILED, SUCCESS)
deployment_detailstringDetails about the last deployment status.
domain_namestringThe domain name. (pattern: <code>^(*[\w\d-]*.)?([\w\d-]+.)+[\w\d-]+$</code>)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_api_associationselectdomain_name, regionRetrieves an ApiAssociation object.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
domain_namestringThe domain name.
regionstringAWS region (default: us-east-1)

SELECT examples

Retrieves an ApiAssociation object.

SELECT
api_id,
association_status,
deployment_detail,
domain_name
FROM aws.appsync.api_associations
WHERE domain_name = '{{ domain_name }}' -- required
AND region = '{{ region }}' -- required
;