Skip to main content

opportunity_from_engagement_tasks

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

Overview

Nameopportunity_from_engagement_tasks
TypeResource
Idaws.partnercentral_selling.opportunity_from_engagement_tasks

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
context_idstringThe unique identifier of the engagement context associated with the opportunity creation task. This links the task to specific contextual information within the engagement. (pattern: <code>[1-9][0-9]*</code>)
engagement_idstringThe unique identifier of the engagement from which the opportunity is being created. This field helps track the source of the opportunity creation task. (pattern: <code>eng-[0-9a-z]{14}</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 opportunity created as a result of the task. This field is populated when the task is completed successfully. (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 opportunity 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 format.
task_arnstringThe Amazon Resource Name (ARN) that uniquely identifies the task within AWS. This ARN can be used for referencing the task in other AWS services or APIs. (pattern: <code>arn:.*</code>)
task_idstringThe unique identifier of the task for creating an opportunity from an engagement. (pattern: <code>.*task-[0-9a-z]{13}</code>)
task_statusstringThe current status of the task. Valid values are COMPLETE, INPROGRESS, or FAILED. (IN_PROGRESS, COMPLETE, FAILED)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
list_opportunity_from_engagement_tasksselectregionLists all in-progress, completed, or failed opportunity creation tasks from engagements 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 opportunity creation tasks from engagements that were initiated by the caller's account.

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