NetworkManager / Client / disassociate_context_store

disassociate_context_store

NetworkManager.Client.disassociate_context_store(**kwargs)

Disassociates a transit gateway from a context store. The association must be in the ASSOCIATED or FAILED state. The association stays in the DISASSOCIATING state until the disassociation completes.

See also: AWS API Documentation

Request Syntax

response = client.disassociate_context_store(
    ContextStoreId='string',
    TransitGatewayArn='string'
)
Parameters:
  • ContextStoreId (string) –

    [REQUIRED]

    The ID of the context store.

  • TransitGatewayArn (string) –

    [REQUIRED]

    The Amazon Resource Name (ARN) of the transit gateway to disassociate from the context store.

Return type:

dict

Returns:

Response Syntax

{
    'ContextStoreAssociation': {
        'ContextStoreId': 'string',
        'TransitGatewayArn': 'string',
        'CreatedAt': datetime(2015, 1, 1),
        'State': 'ASSOCIATING'|'ASSOCIATED'|'DISASSOCIATING'|'FAILED'
    }
}

Response Structure

  • (dict) –

    • ContextStoreAssociation (dict) –

      Information about the context store association.

      • ContextStoreId (string) –

        The ID of the context store.

      • TransitGatewayArn (string) –

        The Amazon Resource Name (ARN) of the transit gateway.

      • CreatedAt (datetime) –

        The date and time that the association was created.

      • State (string) –

        The state of the association. The possible values are the following:

        • ASSOCIATING: The transit gateway is being associated with the context store.

        • ASSOCIATED: The transit gateway is associated with the context store.

        • DISASSOCIATING: The transit gateway is being disassociated from the context store.

        • FAILED: The association failed. To remove it, disassociate the transit gateway.

Exceptions

  • NetworkManager.Client.exceptions.ValidationException

  • NetworkManager.Client.exceptions.AccessDeniedException

  • NetworkManager.Client.exceptions.ResourceNotFoundException

  • NetworkManager.Client.exceptions.ConflictException

  • NetworkManager.Client.exceptions.ThrottlingException

  • NetworkManager.Client.exceptions.InternalServerException