Assurance / Paginator / ListInboundInvitations

ListInboundInvitations

class Assurance.Paginator.ListInboundInvitations
paginator = client.get_paginator('list_inbound_invitations')
paginate(**kwargs)

Creates an iterator that will paginate through responses from Assurance.Client.list_inbound_invitations().

See also: AWS API Documentation

Request Syntax

response_iterator = paginator.paginate(
    status='PENDING'|'ACTIVE'|'REJECTED'|'REVOKED'|'EXPIRED',
    PaginationConfig={
        'MaxItems': 123,
        'PageSize': 123,
        'StartingToken': 'string'
    }
)
Parameters:
  • status (string) – The lifecycle state to filter results by. When specified, the operation returns only invitations in this state.

  • 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

{
    'invitationSummaries': [
        {
            'environmentArn': 'string',
            'status': 'PENDING'|'ACTIVE'|'REJECTED'|'REVOKED'|'EXPIRED',
            'expiresAt': datetime(2015, 1, 1)
        },
    ],
    'NextToken': 'string'
}

Response Structure

  • (dict) –

    • invitationSummaries (list) –

      The invitations addressed to your account, for this page of results.

      • (dict) –

        A summary of an inbound invitation as returned by ListInboundInvitations. Because the operation returns only your own invitations, the invitee account ID is omitted.

        • environmentArn (string) –

          The full ARN of the environment that extended the invitation to you.

        • status (string) –

          The current lifecycle state of the invitation.

        • expiresAt (datetime) –

          The time when the invitation expires if not accepted. Present only while the invitation is PENDING.

    • NextToken (string) –

      A token to resume pagination.