AppSync / Client / disassociate_source_graphql_api

disassociate_source_graphql_api#

AppSync.Client.disassociate_source_graphql_api(**kwargs)#

Deletes an association between a Merged API and source API using the Merged API’s identifier and the association ID.

See also: AWS API Documentation

Request Syntax

response = client.disassociate_source_graphql_api(
    mergedApiIdentifier='string',
    associationId='string'
)
Parameters:
  • mergedApiIdentifier (string) –

    [REQUIRED]

    The identifier of the AppSync Merged API. This is generated by the AppSync service. In most cases, Merged APIs (especially in your account) only require the API ID value or ARN of the merged API. However, Merged APIs in other accounts (cross-account use cases) strictly require the full resource ARN of the merged API.

  • associationId (string) –

    [REQUIRED]

    The ID generated by the AppSync service for the source API association.

Return type:

dict

Returns:

Response Syntax

{
    'sourceApiAssociationStatus': 'MERGE_SCHEDULED'|'MERGE_FAILED'|'MERGE_SUCCESS'|'MERGE_IN_PROGRESS'|'AUTO_MERGE_SCHEDULE_FAILED'|'DELETION_SCHEDULED'|'DELETION_IN_PROGRESS'|'DELETION_FAILED'
}

Response Structure

  • (dict) –

    • sourceApiAssociationStatus (string) –

      The state of the source API association.

Exceptions

  • AppSync.Client.exceptions.UnauthorizedException

  • AppSync.Client.exceptions.BadRequestException

  • AppSync.Client.exceptions.InternalFailureException

  • AppSync.Client.exceptions.NotFoundException

  • AppSync.Client.exceptions.ConcurrentModificationException