NetworkManager / Paginator / ListContextStoreAssociations

ListContextStoreAssociations

class NetworkManager.Paginator.ListContextStoreAssociations
paginator = client.get_paginator('list_context_store_associations')
paginate(**kwargs)

Creates an iterator that will paginate through responses from NetworkManager.Client.list_context_store_associations().

See also: AWS API Documentation

Request Syntax

response_iterator = paginator.paginate(
    ContextStoreId='string',
    PaginationConfig={
        'MaxItems': 123,
        'PageSize': 123,
        'StartingToken': 'string'
    }
)
Parameters:
  • ContextStoreId (string) –

    [REQUIRED]

    The ID of the context store.

  • PaginationConfig (dict) –

    A dictionary that provides parameters to control pagination.

    • MaxItems (integer) –

      The total number of items to return. If the total number of items available is more than the value specified in max-items then a NextToken will be provided in the output that you can use to resume pagination.

    • PageSize (integer) –

      The size of each page.

    • StartingToken (string) –

      A token to specify where to start paginating. This is the NextToken from a previous response.

Return type:

dict

Returns:

Response Syntax

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

}

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.