bot_analyzer_recommendations
Creates, updates, deletes, gets or lists a bot_analyzer_recommendations resource.
Overview
| Name | bot_analyzer_recommendations |
| Type | Resource |
| Id | aws.lexv2_models.bot_analyzer_recommendations |
Fields
The following fields are returned by SELECT queries:
- describe_bot_analyzer_recommendation
| Name | Datatype | Description |
|---|---|---|
issue_description | string | A detailed description of the identified configuration issue. |
issue_location | object | The location information for the identified issue within the bot configuration. |
priority | string | The priority level of the recommendation. Valid Values: High | Medium | Low (High, Medium, Low) |
proposed_fix | string | The recommended solution to address the identified issue. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
describe_bot_analyzer_recommendation | select | bot_id, bot_analyzer_request_id, region | 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. | |
delete_bot_analyzer_recommendation | delete | bot_id, bot_analyzer_request_id, region | 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. |
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 |
|---|---|---|
bot_analyzer_request_id | string | The unique identifier of the analysis request whose recommendations should be deleted. |
bot_id | string | The unique identifier of the bot. |
region | string | AWS region (default: us-east-1) |
SELECT examples
- describe_bot_analyzer_recommendation
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
- delete_bot_analyzer_recommendation
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
;