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
2932 2933 2934 2935 2936 2937 2938 2939 2940 2941 2942 2943 2944 2945 2946 2947 2948 2949 2950 2951 2952 2953 2954 2955 2956 2957 2958 2959 2960 2961 2962 2963 2964 2965 2966 2967 2968 2969 2970 2971 2972 2973 2974 2975 2976 2977 2978 2979 2980 2981 2982 2983 2984 2985 2986 2987 2988 2989 2990 2991 2992 2993 2994 2995 2996 2997 2998 2999 3000 3001 3002 3003 3004 3005 3006 3007 3008 3009 3010 3011 3012 3013 3014 3015 3016 3017 3018 3019 3020 3021 3022 3023 3024 3025 3026 3027 3028 3029 3030 3031 3032 3033 3034 3035 3036 3037 3038 3039 3040 3041 3042 3043 3044 3045 3046 | |