Skip to main content

engagements

Creates, updates, deletes, gets or lists an engagements resource.

Overview

Nameengagements
TypeResource
Idaws.partnercentral_selling.engagements

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
arnstringThe Amazon Resource Name (ARN) of the engagement retrieved. (pattern: <code>arn:.*</code>)
contextsarrayA list of context objects associated with the engagement. Each context provides additional information related to the Engagement, such as customer projects or documents.
created_atstring (date-time)The date and time when the Engagement was created, presented in ISO 8601 format (UTC). For example: "2023-05-01T20:37:46Z". This timestamp helps track the lifecycle of the Engagement.
created_bystringThe AWS account ID of the user who originally created the engagement. This field helps in tracking the origin of the engagement. (pattern: <code>([0-9]{12}|\w{1,12})</code>)
descriptionstringA more detailed description of the engagement. This provides additional context or information about the engagement's purpose or scope. (pattern: <code>(?s).{0,255}</code>)
idstringThe unique resource identifier of the engagement retrieved. (pattern: <code>eng-[0-9a-z]{14}</code>)
member_countintegerSpecifies the current count of members participating in the Engagement. This count includes all active members regardless of their roles or permissions within the Engagement.
modified_atstring (date-time)The timestamp indicating when the engagement was last modified, in ISO 8601 format (UTC). Example: "2023-05-01T20:37:46Z". This helps track the most recent changes to the engagement.
modified_bystringThe AWS account ID of the user who last modified the engagement. This field helps track who made the most recent changes to the engagement. (pattern: <code>([0-9]{12}|\w{1,12})</code>)
titlestringThe title of the engagement. It provides a brief, descriptive name for the engagement that is meaningful and easily recognizable. (pattern: <code>(?s).{0,40}</code>)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_engagementselectregionUse this action to retrieve the engagement record for a given EngagementIdentifier.
list_engagementsselectregionThis action allows users to retrieve a list of Engagement records from Partner Central. This action can be used to manage and track various engagements across different stages of the partner selling process.
create_engagement_contextinsertregion, Catalog, EngagementIdentifier, ClientToken, Type, PayloadCreates a new context within an existing engagement. This action allows you to add contextual information such as customer projects or documents to an engagement, providing additional details that help facilitate collaboration between engagement members.
create_engagementinsertregion, Catalog, ClientTokenThe CreateEngagement action allows you to create an Engagement, which serves as a collaborative space between different parties such as AWS Partners and AWS Sellers. This action automatically adds the caller's AWS account as an active member of the newly created Engagement.
update_engagement_contextupdateregion, Catalog, EngagementIdentifier, ContextIdentifier, EngagementLastModifiedAt, Type, PayloadUpdates the context information for an existing engagement with new or modified data.
accept_engagement_invitationexecregion, Catalog, IdentifierUse the AcceptEngagementInvitation action to accept an engagement invitation shared by AWS. Accepting the invitation indicates your willingness to participate in the engagement, granting you access to all engagement-related data.
reject_engagement_invitationexecregion, Catalog, IdentifierThis action rejects an EngagementInvitation that AWS shared. Rejecting an invitation indicates that the partner doesn't want to pursue the opportunity, and all related data will become inaccessible thereafter.
start_engagement_by_accepting_invitation_taskexecregion, Catalog, ClientToken, IdentifierThis action starts the engagement by accepting an EngagementInvitation. The task is asynchronous and involves the following steps: accepting the invitation, creating an opportunity in the partner’s account from the AWS opportunity, and copying details for tracking. When completed, an Opportunity Created event is generated, indicating that the opportunity has been successfully created in the partner's account.
start_engagement_from_opportunity_taskexecregion, Catalog, ClientToken, Identifier, AwsSubmissionSimilar to StartEngagementByAcceptingInvitationTask, this action is asynchronous and performs multiple steps before completion. This action orchestrates a comprehensive workflow that combines multiple API operations into a single task to create and initiate an engagement from an existing opportunity. It automatically executes a sequence of operations including GetOpportunity, CreateEngagement (if it doesn't exist), CreateResourceSnapshot, CreateResourceSnapshotJob, CreateEngagementInvitation (if not already invited/accepted), and SubmitOpportunity.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
regionstringAWS region (default: us-east-1)

SELECT examples

Use this action to retrieve the engagement record for a given EngagementIdentifier.

SELECT
arn,
contexts,
created_at,
created_by,
description,
id,
member_count,
modified_at,
modified_by,
title
FROM aws.partnercentral_selling.engagements
WHERE region = '{{ region }}' -- required
;

INSERT examples

Creates a new context within an existing engagement. This action allows you to add contextual information such as customer projects or documents to an engagement, providing additional details that help facilitate collaboration between engagement members.

INSERT INTO aws.partnercentral_selling.engagements (
Catalog,
EngagementIdentifier,
ClientToken,
Type,
Payload,
region
)
SELECT
'{{ Catalog }}' /* required */,
'{{ EngagementIdentifier }}' /* required */,
'{{ ClientToken }}' /* required */,
'{{ Type }}' /* required */,
'{{ Payload }}' /* required */,
'{{ region }}'
RETURNING
context_id,
engagement_arn,
engagement_id,
engagement_last_modified_at
;

UPDATE examples

Updates the context information for an existing engagement with new or modified data.

UPDATE aws.partnercentral_selling.engagements
SET
Catalog = '{{ Catalog }}',
EngagementIdentifier = '{{ EngagementIdentifier }}',
ContextIdentifier = '{{ ContextIdentifier }}',
EngagementLastModifiedAt = '{{ EngagementLastModifiedAt }}',
Type = '{{ Type }}',
Payload = '{{ Payload }}'
WHERE
region = '{{ region }}' --required
AND Catalog = '{{ Catalog }}' --required
AND EngagementIdentifier = '{{ EngagementIdentifier }}' --required
AND ContextIdentifier = '{{ ContextIdentifier }}' --required
AND EngagementLastModifiedAt = '{{ EngagementLastModifiedAt }}' --required
AND Type = '{{ Type }}' --required
AND Payload = '{{ Payload }}' --required
RETURNING
context_id,
engagement_arn,
engagement_id,
engagement_last_modified_at;

Lifecycle Methods

Use the AcceptEngagementInvitation action to accept an engagement invitation shared by AWS. Accepting the invitation indicates your willingness to participate in the engagement, granting you access to all engagement-related data.

EXEC aws.partnercentral_selling.engagements.accept_engagement_invitation
@region='{{ region }}' --required
@@json=
'{
"Catalog": "{{ Catalog }}",
"Identifier": "{{ Identifier }}"
}'
;