Skip to main content

engagement_from_opportunity_tasks

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

Overview

Nameengagement_from_opportunity_tasks
TypeResource
Idaws.partnercentral_selling.engagement_from_opportunity_tasks

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
engagement_idstringThe unique identifier of the engagement created as a result of the task. This field is populated when the task is completed successfully. (pattern: <code>eng-[0-9a-z]{14}</code>)
engagement_invitation_idstringThe unique identifier of the Engagement Invitation. (pattern: <code>engi-[0-9,a-z]{13}</code>)
messagestringA detailed message providing additional information about the task, especially useful in case of failures. This field may contain error details or other relevant information about the task's execution
opportunity_idstringThe unique identifier of the original Opportunity from which the Engagement is being created. This field helps track the source of the Engagement creation task. (pattern: <code>O[0-9]{1,19}</code>)
reason_codestringA code indicating the specific reason for a task failure. This field is populated when the task status is FAILED and provides a categorized reason for the failure. (InvitationAccessDenied, InvitationValidationFailed, EngagementAccessDenied, OpportunityAccessDenied, ResourceSnapshotJobAccessDenied, ResourceSnapshotJobValidationFailed, ResourceSnapshotJobConflict, EngagementValidationFailed, EngagementConflict, OpportunitySubmissionFailed, EngagementInvitationConflict, InternalError, OpportunityValidationFailed, OpportunityConflict, ResourceSnapshotAccessDenied, ResourceSnapshotValidationFailed, ResourceSnapshotConflict, ServiceQuotaExceeded, RequestThrottled, ContextNotFound, CustomerProjectContextNotPermitted, DisqualifiedLeadNotPermitted)
resource_snapshot_job_idstringThe identifier of the resource snapshot job associated with this task, if a snapshot was created as part of the Engagement creation process. (pattern: <code>job-[0-9a-z]{13}</code>)
start_timestring (date-time)The timestamp indicating when the task was initiated, in RFC 3339 5.6 date-time format.
task_arnstringThe Amazon Resource Name (ARN) uniquely identifying this task within AWS. This ARN can be used for referencing the task in other AWS services or APIs. (pattern: <code>arn:.*</code>)
task_idstringA unique identifier for a specific task. (pattern: <code>.*task-[0-9a-z]{13}</code>)
task_statusstringThe current status of the task. (IN_PROGRESS, COMPLETE, FAILED)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
list_engagement_from_opportunity_tasksselectregionLists all in-progress, completed, or failed EngagementFromOpportunity tasks that were initiated by the caller's account.

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

Lists all in-progress, completed, or failed EngagementFromOpportunity tasks that were initiated by the caller's account.

SELECT
engagement_id,
engagement_invitation_id,
message,
opportunity_id,
reason_code,
resource_snapshot_job_id,
start_time,
task_arn,
task_id,
task_status
FROM aws.partnercentral_selling.engagement_from_opportunity_tasks
WHERE region = '{{ region }}' -- required
;