Assurance / Paginator / ListOutboundInvitations

ListOutboundInvitations

class Assurance.Paginator.ListOutboundInvitations
paginator = client.get_paginator('list_outbound_invitations')
paginate(**kwargs)

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

See also: AWS API Documentation

Request Syntax

response_iterator = paginator.paginate(
    environmentArn='string',
    status='PENDING'|'ACTIVE'|'REJECTED'|'REVOKED'|'EXPIRED',
    PaginationConfig={
        'MaxItems': 123,
        'PageSize': 123,
        'StartingToken': 'string'
    }
)
Parameters:
  • environmentArn (string) –

    [REQUIRED]

    The ARN of this governance environment.

  • 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': [
        {
            'inviteeAccountId': 'string',
            'status': 'PENDING'|'ACTIVE'|'REJECTED'|'REVOKED'|'EXPIRED',
            'expiresAt': datetime(2015, 1, 1)
        },
    ],
    'NextToken': 'string'
}

Response Structure

  • (dict) –

    • invitationSummaries (list) –

      The invitations extended from the environment, for this page of results.

      • (dict) –

        A summary view of an invitation returned in list responses. Additional fields (such as roleArn and updatedAt) are available through GetInvitation.

        • inviteeAccountId (string) –

          The ID of the invited AWS account.

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