Skip to main content

intent_paths

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

Overview​

Nameintent_paths
TypeResource
Idaws.lexv2_models.intent_paths

Fields​

The following fields are returned by SELECT queries:

NameDatatypeDescription
node_summariesarrayA list of objects, each of which contains information about a node in the intent path for which you requested metrics.

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
list_intent_pathsselectbot_id, regionRetrieves summary statistics for a path of intents that users take over sessions with your bot. The following fields are required: startDateTime and endDateTime – Define a time range for which you want to retrieve results. intentPath – Define an order of intents for which you want to retrieve metrics. Separate intents in the path with a forward slash. For example, populate the intentPath field with /BookCar/BookHotel to see details about how many times users invoked the BookCar and BookHotel intents in that order. Use the optional filters field to filter the results.

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_idstringThe identifier for the bot for which you want to retrieve intent path metrics.
regionstringAWS region (default: us-east-1)

SELECT examples​

Retrieves summary statistics for a path of intents that users take over sessions with your bot. The following fields are required: startDateTime and endDateTime – Define a time range for which you want to retrieve results. intentPath – Define an order of intents for which you want to retrieve metrics. Separate intents in the path with a forward slash. For example, populate the intentPath field with /BookCar/BookHotel to see details about how many times users invoked the BookCar and BookHotel intents in that order. Use the optional filters field to filter the results.

SELECT
node_summaries
FROM aws.lexv2_models.intent_paths
WHERE bot_id = '{{ bot_id }}' -- required
AND region = '{{ region }}' -- required
;