Skip to main content

bot_analyzer_recommendations

Creates, updates, deletes, gets or lists a bot_analyzer_recommendations resource.

Overview

Namebot_analyzer_recommendations
TypeResource
Idaws.lexv2_models.bot_analyzer_recommendations

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
issue_descriptionstringA detailed description of the identified configuration issue.
issue_locationobjectThe location information for the identified issue within the bot configuration.
prioritystringThe priority level of the recommendation. Valid Values: High | Medium | Low (High, Medium, Low)
proposed_fixstringThe recommended solution to address the identified issue.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
describe_bot_analyzer_recommendationselectbot_id, bot_analyzer_request_id, regionRetrieves the analysis results and recommendations for bot optimization. The analysis must be in Available status before recommendations can be retrieved. Recommendations are returned with pagination support. Each recommendation includes the issue location, priority level, detailed description, and proposed fix.
delete_bot_analyzer_recommendationdeletebot_id, bot_analyzer_request_id, regionPermanently deletes the recommendations and analysis results for a specific bot analysis request. This operation is provided for GDPR compliance and cannot be undone. After deletion, the analysis results cannot be retrieved. The analysis request ID will still appear in the history list, but attempting to describe the recommendations will return a ResourceNotFoundException.

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
bot_analyzer_request_idstringThe unique identifier of the analysis request whose recommendations should be deleted.
bot_idstringThe unique identifier of the bot.
regionstringAWS region (default: us-east-1)

SELECT examples

Retrieves the analysis results and recommendations for bot optimization. The analysis must be in Available status before recommendations can be retrieved. Recommendations are returned with pagination support. Each recommendation includes the issue location, priority level, detailed description, and proposed fix.

SELECT
issue_description,
issue_location,
priority,
proposed_fix
FROM aws.lexv2_models.bot_analyzer_recommendations
WHERE bot_id = '{{ bot_id }}' -- required
AND bot_analyzer_request_id = '{{ bot_analyzer_request_id }}' -- required
AND region = '{{ region }}' -- required
;

DELETE examples

Permanently deletes the recommendations and analysis results for a specific bot analysis request. This operation is provided for GDPR compliance and cannot be undone. After deletion, the analysis results cannot be retrieved. The analysis request ID will still appear in the history list, but attempting to describe the recommendations will return a ResourceNotFoundException.

DELETE FROM aws.lexv2_models.bot_analyzer_recommendations
WHERE bot_id = '{{ bot_id }}' --required
AND bot_analyzer_request_id = '{{ bot_analyzer_request_id }}' --required
AND region = '{{ region }}' --required
;