NetworkManager / Client / list_context_store_associations

list_context_store_associations

NetworkManager.Client.list_context_store_associations(**kwargs)

Returns the transit gateway associations of a context store.

See also: AWS API Documentation

Request Syntax

response = client.list_context_store_associations(
    ContextStoreId='string',
    MaxResults=123,
    NextToken='string'
)
Parameters:
  • ContextStoreId (string) –

    [REQUIRED]

    The ID of the context store.

  • MaxResults (integer) – The maximum number of results to return.

  • NextToken (string) – The token for the next page of results.

Return type:

dict

Returns:

Response Syntax

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

Response Structure

  • (dict) –

    • ContextStoreAssociations (list) –

      The context store associations.

      • (dict) –

        Describes the association between a context store and a transit gateway.

        • 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.

    • NextToken (string) –

      The token for the next page of results.

Exceptions

  • NetworkManager.Client.exceptions.ValidationException

  • NetworkManager.Client.exceptions.AccessDeniedException

  • NetworkManager.Client.exceptions.ResourceNotFoundException

  • NetworkManager.Client.exceptions.ThrottlingException

  • NetworkManager.Client.exceptions.InternalServerException