Assurance / Client / list_inbound_invitations

list_inbound_invitations

Assurance.Client.list_inbound_invitations(**kwargs)

Lists the invitations addressed to your account, across all environments. This operation returns only the invitations sent to you. You can optionally filter by status.

See also: AWS API Documentation

Request Syntax

response = client.list_inbound_invitations(
    status='PENDING'|'ACTIVE'|'REJECTED'|'REVOKED'|'EXPIRED',
    maxResults=123,
    nextToken='string'
)
Parameters:
  • status (string) – The lifecycle state to filter results by. When specified, the operation returns only invitations in this state.

  • maxResults (integer) – The maximum number of records to return on one page. If you omit it, the operation uses its default page size. If more records are available, use the nextToken value from the response to get the next page.

  • nextToken (string) – The pagination token returned by a previous request. Use it to retrieve the next page of results. If the value is null, there are no more results to return.

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) –

      The pagination token returned by a previous request. Use it to retrieve the next page of results. If the value is null, there are no more results to return.

Exceptions