NetworkManager / Paginator / ListAttachmentRoutingPolicyAssociations

ListAttachmentRoutingPolicyAssociations

class NetworkManager.Paginator.ListAttachmentRoutingPolicyAssociations
paginator = client.get_paginator('list_attachment_routing_policy_associations')
paginate(**kwargs)

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

See also: AWS API Documentation

Request Syntax

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

    [REQUIRED]

    The ID of the core network to list attachment routing policy associations for.

  • AttachmentId (string) – The ID of a specific attachment to filter the routing policy associations.

  • 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

{
    'AttachmentRoutingPolicyAssociations': [
        {
            'AttachmentId': 'string',
            'PendingRoutingPolicies': [
                'string',
            ],
            'AssociatedRoutingPolicies': [
                'string',
            ],
            'RoutingPolicyLabel': 'string'
        },
    ],

}

Response Structure

  • (dict) –

    • AttachmentRoutingPolicyAssociations (list) –

      The list of attachment routing policy associations.

      • (dict) –

        Summary information about routing policy associations for an attachment.

        • AttachmentId (string) –

          The ID of the attachment associated with the routing policy.

        • PendingRoutingPolicies (list) –

          The list of routing policies that are pending association with the attachment.

          • (string) –

        • AssociatedRoutingPolicies (list) –

          The list of routing policies currently associated with the attachment.

          • (string) –

        • RoutingPolicyLabel (string) –

          The routing policy label associated with the attachment.