Skip to main content

agent_recommendation_items

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

Overview

Nameagent_recommendation_items
TypeResource
Idaws.wellarchitected.agent_recommendation_items

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringThe unique identifier of the recommendation item.
created_atstring (date-time)The timestamp when the recommendation item was created.
created_bystringThe identifier of the user or system that created this recommendation item.
last_modified_atstring (date-time)The timestamp when the recommendation item was last modified.
last_modified_bystringThe identifier of the user or system that last modified this recommendation item.
metadataobjectMetadata containing a snapshot of the resource or recommendation at the time of generation.
recommendation_arnstringThe 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_stringThe type of the recommendation item. (AWS_RESOURCE, RECOMMENDATION)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
list_agent_recommendation_itemsselectrecommendation_arn, regiontype, maxResults, nextTokenLists 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.

NameDatatypeDescription
recommendation_arnstringThe Amazon Resource Name (ARN) of the recommendation to list items for.
regionstringAWS region (default: us-east-1)
maxResultsintegerThe maximum number of recommendation items to return in a single response.
nextTokenstringA pagination token returned from a previous call to continue retrieving results.
typestringOptional filter to return only recommendation items of the specified type.

SELECT examples

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 }}'
;