Skip to main content

agent_recommendation_generations

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

Overview

Nameagent_recommendation_generations
TypeResource
Idaws.wellarchitected.agent_recommendation_generations

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringThe unique identifier of the recommendation generation. (pattern: <code>[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}</code>)
namestringThe name of the recommendation generation.
additional_contextobjectAdditional context information provided to guide the recommendation generation process.
created_atstring (date-time)The timestamp when the generation was started.
created_bystringThe identifier of the user or system that started this generation.
ended_atstring (date-time)The timestamp when the recommendation generation process completed.
error_detailsobjectDetails about the error if the generation status is ERROR.
estimated_completion_timestring (date-time)The estimated time for the generation to complete.
last_modified_atstring (date-time)The timestamp when the generation was last modified.
last_modified_bystringThe identifier of the user or system that last modified this generation.
profile_arnstringThe Amazon Resource Name (ARN) of the profile used for this generation. (pattern: <code>arn:aws([a-z0-9-]+)?:wellarchitected:[a-z0-9-]{6,64}:\d{12}:agent-profile/([a-zA-Z0-9_-]+)</code>)
progressobjectCurrent progress information including steps completed and completion percentage.
scopeobjectThe scope configuration that defines which pillars and goals to focus on during generation.
started_atstring (date-time)The timestamp when the recommendation generation process started.
statusstringThe current status of the recommendation generation. (QUEUED, IN_PROGRESS, COMPLETED, ERROR)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_agent_recommendation_generationselectprofile_arn, generation_id, regionRetrieves information about a recommendation generation process, including its status, progress, and results. Recommendation generation is asynchronous: poll this operation until status reaches a terminal value of COMPLETED (results are ready) or ERROR (see errorDetails). Intermediate values are QUEUED and IN_PROGRESS.
list_agent_recommendation_generationsselectprofile_arn, regionRecommendationType, MaxResults, NextTokenLists recommendation generation processes for a specified profile.

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
generation_idstringThe unique identifier of the recommendation generation to retrieve.
profile_arnstringThe Amazon Resource Name (ARN) of the optimization profile to list generation processes for.
regionstringAWS region (default: us-east-1)
MaxResultsintegerThe maximum number of generation processes to return in a single response.
NextTokenstringA pagination token returned from a previous call to continue retrieving results.
RecommendationTypestringOptional filter by recommendation type.

SELECT examples

Retrieves information about a recommendation generation process, including its status, progress, and results. Recommendation generation is asynchronous: poll this operation until status reaches a terminal value of COMPLETED (results are ready) or ERROR (see errorDetails). Intermediate values are QUEUED and IN_PROGRESS.

SELECT
id,
name,
additional_context,
created_at,
created_by,
ended_at,
error_details,
estimated_completion_time,
last_modified_at,
last_modified_by,
profile_arn,
progress,
scope,
started_at,
status
FROM aws.wellarchitected.agent_recommendation_generations
WHERE profile_arn = '{{ profile_arn }}' -- required
AND generation_id = '{{ generation_id }}' -- required
AND region = '{{ region }}' -- required
;