engagement_resource_associations
Creates, updates, deletes, gets or lists an engagement_resource_associations resource.
Overview
| Name | engagement_resource_associations |
| Type | Resource |
| Id | aws.partnercentral_selling.engagement_resource_associations |
Fields
The following fields are returned by SELECT queries:
- list_engagement_resource_associations
| Name | Datatype | Description |
|---|---|---|
catalog | string | Indicates the environment in which the resource and engagement exist. (pattern: <code>[a-zA-Z]+</code>) |
created_by | string | The AWS account ID of the entity that owns the resource. Identifies the account responsible for or having primary control over the resource. (pattern: <code>([0-9]{12}|\w{1,12})</code>) |
engagement_id | string | A unique identifier for the engagement associated with the resource. (pattern: <code>eng-[0-9a-z]{14}</code>) |
resource_id | string | A unique identifier for the specific resource. Varies depending on the resource type. (pattern: <code>O[0-9]{1,19}</code>) |
resource_type | string | Categorizes the type of resource associated with the engagement. (Opportunity) |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list_engagement_resource_associations | select | region | Lists the associations between resources and engagements where the caller is a member and has at least one snapshot in the engagement. |
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.
| Name | Datatype | Description |
|---|---|---|
region | string | AWS region (default: us-east-1) |
SELECT examples
- list_engagement_resource_associations
Lists the associations between resources and engagements where the caller is a member and has at least one snapshot in the engagement.
SELECT
catalog,
created_by,
engagement_id,
resource_id,
resource_type
FROM aws.partnercentral_selling.engagement_resource_associations
WHERE region = '{{ region }}' -- required
;