list_inbound_invitations
¶
list_inbound_invitations(
*,
config_overrides: Optional[AssuranceClientConfig] = None,
status: Optional[InvitationStatus] = None,
max_results: Optional[MaxResults] = None,
next_token: Optional[PaginationToken] = None,
) -> ListInboundInvitationsOutput
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.
Parameters:
-
status(Optional[InvitationStatus], default:None) –The lifecycle state to filter results by. When specified, the operation returns only invitations in this state.
-
max_results(Optional[MaxResults], default:None) –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
nextTokenvalue from the response to get the next page. -
next_token(Optional[PaginationToken], default:None) –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.
Raises:
-
AccessDeniedException–You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
-
InternalServerException–An internal server error occurred.
-
ThrottlingException–The request was throttled.
-
ValidationException–The request failed validation.
-
UnknownServiceError–The service returned an error code this client does not model.
Examples:
List invitations addressed to your account Lists pending invitations addressed to the payments team's member account across all governance environments.
Source code in docs_src/capo_assurance/_services/assurance.py
5552 5553 5554 5555 5556 5557 5558 5559 5560 5561 5562 5563 5564 5565 5566 5567 5568 5569 5570 5571 5572 5573 5574 5575 5576 5577 5578 5579 5580 5581 5582 5583 5584 5585 5586 5587 5588 5589 5590 5591 5592 5593 5594 5595 5596 5597 5598 5599 5600 5601 5602 5603 5604 5605 5606 5607 5608 5609 5610 5611 5612 5613 5614 5615 5616 | |