NetworkManager / Paginator / ListSseConnectTransitGatewayAttachments

ListSseConnectTransitGatewayAttachments

class NetworkManager.Paginator.ListSseConnectTransitGatewayAttachments
paginator = client.get_paginator('list_sse_connect_transit_gateway_attachments')
paginate(**kwargs)

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

See also: AWS API Documentation

Request Syntax

response_iterator = paginator.paginate(
    SseConnectId='string',
    PaginationConfig={
        'MaxItems': 123,
        'PageSize': 123,
        'StartingToken': 'string'
    }
)
Parameters:
  • SseConnectId (string) – The ID of an SSE connect. If you specify this parameter, only the attachments of this SSE connect are returned.

  • 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

{
    'SseConnectTransitGatewayAttachments': [
        {
            'SseConnectTransitGatewayAttachmentId': 'string',
            'SseConnectTransitGatewayAttachmentArn': 'string',
            'SseConnectId': 'string',
            'OwnerAccountId': 'string',
            'TransitGatewayArn': 'string',
            'TransitGatewayAttachmentId': 'string',
            'State': 'CREATING'|'PENDING_ATTACHMENT_ACCEPTANCE'|'AVAILABLE'|'UPDATING'|'FAILED'|'REJECTED'|'DELETING'|'DELETED',
            'StateReason': {
                'Code': 'TRANSIT_GATEWAY_OWNER_REJECTED',
                'Message': 'string'
            },
            'CreatedAt': datetime(2015, 1, 1),
            'UpdatedAt': datetime(2015, 1, 1),
            'Tags': [
                {
                    'Key': 'string',
                    'Value': 'string'
                },
            ]
        },
    ],

}

Response Structure

  • (dict) –

    • SseConnectTransitGatewayAttachments (list) –

      The SSE connect transit gateway attachments.

      • (dict) –

        Describes an attachment between an SSE connect and a transit gateway.

        • SseConnectTransitGatewayAttachmentId (string) –

          The ID of the SSE connect transit gateway attachment.

        • SseConnectTransitGatewayAttachmentArn (string) –

          The ARN of the SSE connect transit gateway attachment.

        • SseConnectId (string) –

          The ID of the SSE connect.

        • OwnerAccountId (string) –

          The ID of the account that owns the attachment.

        • TransitGatewayArn (string) –

          The ARN of the transit gateway.

        • TransitGatewayAttachmentId (string) –

          The ID of the underlying transit gateway attachment. Use this ID to accept or reject the attachment and to configure transit gateway route table association and propagation.

        • State (string) –

          The state of the attachment. Valid values:

          • CREATING – The attachment is being created.

          • PENDING_ATTACHMENT_ACCEPTANCE – The transit gateway owner must accept the attachment.

          • AVAILABLE – The attachment is available for routing.

          • UPDATING – An update is in progress.

          • FAILED – The attachment couldn’t be created or updated.

          • REJECTED – The transit gateway owner rejected the attachment.

          • DELETING – The attachment is being deleted.

          • DELETED – The attachment was deleted.

        • StateReason (dict) –

          The reason for the current state of the attachment, if available.

          • Code (string) –

            The reason code. TRANSIT_GATEWAY_OWNER_REJECTED means that the transit gateway owner rejected the attachment.

          • Message (string) –

            A message that describes the reason for the state.

        • CreatedAt (datetime) –

          The timestamp when the attachment was created.

        • UpdatedAt (datetime) –

          The timestamp when the attachment was last updated.

        • Tags (list) –

          The tags associated with the attachment.

          • (dict) –

            Describes a tag.

            • Key (string) –

              The tag key.

              Constraints: Maximum length of 128 characters.

            • Value (string) –

              The tag value.

              Constraints: Maximum length of 256 characters.