recommended_intents
Creates, updates, deletes, gets or lists a recommended_intents resource.
Overview
| Name | recommended_intents |
| Type | Resource |
| Id | aws.lexv2_models.recommended_intents |
Fields
The following fields are returned by SELECT queries:
- list_recommended_intents
| Name | Datatype | Description |
|---|---|---|
bot_id | string | The unique identifier of the bot associated with the recommended intent. (pattern: <code>^[0-9a-zA-Z]+$</code>) |
bot_recommendation_id | string | The identifier of the bot recommendation that contains the recommended intent. (pattern: <code>^[0-9a-zA-Z]+$</code>) |
bot_version | string | The version of the bot that contains the intent. (pattern: <code>^DRAFT$</code>) |
locale_id | string | The identifier of the language and locale of the intents to list. The string must match one of the supported locales. For more information, see Supported languages. |
next_token | string | A token that indicates whether there are more results to return in a response to the ListRecommendedIntents operation. If the nextToken field is present, you send the contents as the nextToken parameter of a ListRecommendedIntents operation request to get the next page of results. |
summary_list | array | Summary information for the intents that meet the filter criteria specified in the request. The length of the list is specified in the maxResults parameter of the request. If there are more intents available, the nextToken field contains a token to get the next page of results. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list_recommended_intents | select | bot_id, bot_version, locale_id, bot_recommendation_id, region | Gets a list of recommended intents provided by the bot recommendation that you can use in your bot. Intents in the response are ordered by relevance. |
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_id | string | The unique identifier of the bot associated with the recommended intents. |
bot_recommendation_id | string | The identifier of the bot recommendation that contains the recommended intents. |
bot_version | string | The version of the bot that contains the recommended intents. |
locale_id | string | The identifier of the language and locale of the recommended intents. |
region | string | AWS region (default: us-east-1) |
SELECT examples
- list_recommended_intents
Gets a list of recommended intents provided by the bot recommendation that you can use in your bot. Intents in the response are ordered by relevance.
SELECT
bot_id,
bot_recommendation_id,
bot_version,
locale_id,
next_token,
summary_list
FROM aws.lexv2_models.recommended_intents
WHERE bot_id = '{{ bot_id }}' -- required
AND bot_version = '{{ bot_version }}' -- required
AND locale_id = '{{ locale_id }}' -- required
AND bot_recommendation_id = '{{ bot_recommendation_id }}' -- required
AND region = '{{ region }}' -- required
;