[ aws . lexv2-models ]
Gets a list of built-in intents provided by Amazon Lex that you can use in your bot.
To use a built-in intent as a the base for your own intent, include the built-in intent signature in the parentIntentSignature
parameter when you call the CreateIntent
operation. For more information, see CreateIntent .
See also: AWS API Documentation
See ‘aws help’ for descriptions of global parameters.
list-built-in-intents
--locale-id <value>
[--sort-by <value>]
[--max-results <value>]
[--next-token <value>]
[--cli-input-json | --cli-input-yaml]
[--generate-cli-skeleton <value>]
--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 https://docs.aws.amazon.com/lex/latest/dg/supported-locales.html .
--sort-by
(structure)
Specifies sorting parameters for the list of built-in intents. You can specify that the list be sorted by the built-in intent signature in either ascending or descending order.
attribute -> (string)
The attribute to use to sort the list of built-in intents.
order -> (string)
The order to sort the list. You can specify ascending or descending order.
Shorthand Syntax:
attribute=string,order=string
JSON Syntax:
{
"attribute": "IntentSignature",
"order": "Ascending"|"Descending"
}
--max-results
(integer)
The maximum number of built-in intents to return in each page of results. If there are fewer results than the max page size, only the actual number of results are returned.
--next-token
(string)
If the response from the
ListBuiltInIntents
operation contains more results than specified in themaxResults
parameter, a token is returned in the response. Use that token in thenextToken
parameter to return the next page of results.
--cli-input-json
| --cli-input-yaml
(string)
Reads arguments from the JSON string provided. The JSON string follows the format provided by --generate-cli-skeleton
. If other arguments are provided on the command line, those values will override the JSON-provided values. It is not possible to pass arbitrary binary values using a JSON-provided value as the string will be taken literally. This may not be specified along with --cli-input-yaml
.
--generate-cli-skeleton
(string)
Prints a JSON skeleton to standard output without sending an API request. If provided with no value or the value input
, prints a sample input JSON that can be used as an argument for --cli-input-json
. Similarly, if provided yaml-input
it will print a sample input YAML that can be used with --cli-input-yaml
. If provided with the value output
, it validates the command inputs and returns a sample output JSON for that command.
See ‘aws help’ for descriptions of global parameters.
builtInIntentSummaries -> (list)
Summary information for the built-in 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, thenextToken
field contains a token to get the next page of results.(structure)
Provides summary information about a built-in intent for the ListBuiltInIntents operation.
intentSignature -> (string)
The signature of the built-in intent. Use this to specify the parent intent of a derived intent.
description -> (string)
The description of the intent.
nextToken -> (string)
A token that indicates whether there are more results to return in a response to the
ListBuiltInIntents
operation. If thenextToken
field is present, you send the contents as thenextToken
parameter of aListBotAliases
operation request to get the next page of results.
localeId -> (string)
The language and locale of the intents in the list.