agent_recommendation_items
Creates, updates, deletes, gets or lists an agent_recommendation_items resource.
Overview
| Name | agent_recommendation_items |
| Type | Resource |
| Id | aws.wellarchitected.agent_recommendation_items |
Fields
The following fields are returned by SELECT queries:
- list_agent_recommendation_items
| Name | Datatype | Description |
|---|---|---|
id | string | The unique identifier of the recommendation item. |
created_at | string (date-time) | The timestamp when the recommendation item was created. |
created_by | string | The identifier of the user or system that created this recommendation item. |
last_modified_at | string (date-time) | The timestamp when the recommendation item was last modified. |
last_modified_by | string | The identifier of the user or system that last modified this recommendation item. |
metadata | object | Metadata containing a snapshot of the resource or recommendation at the time of generation. |
recommendation_arn | string | The Amazon Resource Name (ARN) of the associated recommendation. (pattern: <code>arn:aws([a-z0-9-]+)?:wellarchitected:[a-z0-9-]{6,64}:\d{12}:agent-recommendation/[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}</code>) |
type_ | string | The type of the recommendation item. (AWS_RESOURCE, RECOMMENDATION) |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list_agent_recommendation_items | select | recommendation_arn, region | type, maxResults, nextToken | Lists recommendation items for a specific recommendation. Recommendation items provide detailed information about individual optimization opportunities. |
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 |
|---|---|---|
recommendation_arn | string | The Amazon Resource Name (ARN) of the recommendation to list items for. |
region | string | AWS region (default: us-east-1) |
maxResults | integer | The maximum number of recommendation items to return in a single response. |
nextToken | string | A pagination token returned from a previous call to continue retrieving results. |
type | string | Optional filter to return only recommendation items of the specified type. |
SELECT examples
- list_agent_recommendation_items
Lists recommendation items for a specific recommendation. Recommendation items provide detailed information about individual optimization opportunities.
SELECT
id,
created_at,
created_by,
last_modified_at,
last_modified_by,
metadata,
recommendation_arn,
type_
FROM aws.wellarchitected.agent_recommendation_items
WHERE recommendation_arn = '{{ recommendation_arn }}' -- required
AND region = '{{ region }}' -- required
AND type = '{{ type }}'
AND maxResults = '{{ maxResults }}'
AND nextToken = '{{ nextToken }}'
;