list_engagement_invitations
async
¶
list_engagement_invitations(
catalog: CatalogIdentifier,
participant_type: ParticipantType,
*,
config_overrides: Optional[AsyncPartnerCentralSellingClientConfig] = None,
max_results: Optional[PageSize] = None,
next_token: Optional[str] = None,
sort: Optional[OpportunityEngagementInvitationSort] = None,
payload_type: Optional[EngagementInvitationsPayloadType] = None,
status: Optional[InvitationStatusList] = None,
engagement_identifier: Optional[EngagementIdentifiers] = None,
sender_aws_account_id: Optional[AwsAccountIdOrAliasList] = None,
) -> ListEngagementInvitationsResponse
Retrieves a list of engagement invitations sent to the partner. This allows partners to view all pending or past engagement invitations, helping them track opportunities shared by AWS.
Parameters:
-
catalog(CatalogIdentifier) –Specifies the catalog from which to list the engagement invitations. Use
AWSfor production invitations orSandboxfor testing environments. -
max_results(Optional[PageSize], default:None) –Specifies the maximum number of engagement invitations to return in the response. If more results are available, a pagination token will be provided.
-
next_token(Optional[str], default:None) –A pagination token used to retrieve additional pages of results when the response to a previous request was truncated. Pass this token to continue listing invitations from where the previous call left off.
-
sort(Optional[OpportunityEngagementInvitationSort], default:None) –Specifies the sorting options for listing engagement invitations. Invitations can be sorted by fields such as
InvitationDateorStatusto help partners view results in their preferred order. -
payload_type(Optional[EngagementInvitationsPayloadType], default:None) –Defines the type of payload associated with the engagement invitations to be listed. The attributes in this payload help decide on acceptance or rejection of the invitation.
-
participant_type(ParticipantType) –Specifies the type of participant for which to list engagement invitations. Identifies the role of the participant.
-
status(Optional[InvitationStatusList], default:None) –Status values to filter the invitations.
-
engagement_identifier(Optional[EngagementIdentifiers], default:None) –Retrieves a list of engagement invitation summaries based on specified filters. The ListEngagementInvitations operation allows you to view all invitations that you have sent or received. You must specify the ParticipantType to filter invitations where you are either the SENDER or the RECEIVER. Invitations will automatically expire if not accepted within 15 days.
-
sender_aws_account_id(Optional[AwsAccountIdOrAliasList], default:None) –List of sender AWS account IDs to filter the invitations.
Raises:
-
AccessDeniedException–This error occurs when you don't have permission to perform the requested action.
You don’t have access to this action or resource. Review IAM policies or contact your AWS administrator for assistance.
-
InternalServerException–This error occurs when the specified resource can’t be found or doesn't exist. Resource ID and type might be incorrect.
Suggested action: This is usually a transient error. Retry after the provided retry delay or a short interval. If the problem persists, contact AWS support.
-
ResourceNotFoundException–This error occurs when the specified resource can't be found. The resource might not exist, or isn't visible with the current credentials.
Suggested action: Verify that the resource ID is correct and the resource is in the expected AWS region. Check IAM permissions for accessing the resource.
-
ThrottlingException–This error occurs when there are too many requests sent. Review the provided quotas and adapt your usage to avoid throttling.
This error occurs when there are too many requests sent. Review the provided Quotas and retry after the provided delay.
-
ValidationException–The input fails to satisfy the constraints specified by the service or business validation rules.
Suggested action: Review the error message, including the failed fields and reasons, to correct the request payload.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_partnercentral_selling/_services/async_partner_central_selling.py
1710 1711 1712 1713 1714 1715 1716 1717 1718 1719 1720 1721 1722 1723 1724 1725 1726 1727 1728 1729 1730 1731 1732 1733 1734 1735 1736 1737 1738 1739 1740 1741 1742 1743 1744 1745 1746 1747 1748 1749 1750 1751 1752 1753 1754 1755 1756 1757 1758 1759 1760 1761 1762 1763 1764 1765 1766 1767 1768 1769 1770 1771 1772 1773 1774 1775 1776 1777 1778 1779 1780 1781 1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 1796 1797 1798 1799 1800 1801 1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 1816 1817 1818 1819 1820 1821 1822 1823 1824 | |