Get a list of intents that meet the specified criteria¶
Description¶
Get a list of intents that meet the specified criteria.
Usage¶
Arguments¶
-
botId[required] The unique identifier of the bot that contains the intent.
-
botVersion[required] The version of the bot that contains the intent.
-
localeId[required] 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.
-
sortByDetermines the sort order for the response from the
list_intentsoperation. You can choose to sort by the intent name or last updated date in either ascending or descending order. -
filtersProvides the specification of a filter used to limit the intents in the response to only those that match the filter specification. You can only specify one filter and only one string to filter on.
-
maxResultsThe maximum number of 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.
-
nextTokenIf the response from the
list_intentsoperation contains more results than specified in themaxResultsparameter, a token is returned in the response.Use the returned token in the
nextTokenparameter of alist_intentsrequest to return the next page of results. For a complete set of results, call thelist_intentsoperation until thenextTokenreturned in the response is null.
Value¶
A list with the following syntax:
list(
botId = "string",
botVersion = "string",
localeId = "string",
intentSummaries = list(
list(
intentId = "string",
intentName = "string",
intentDisplayName = "string",
description = "string",
parentIntentSignature = "string",
inputContexts = list(
list(
name = "string"
)
),
outputContexts = list(
list(
name = "string",
timeToLiveInSeconds = 123,
turnsToLive = 123
)
),
lastUpdatedDateTime = as.POSIXct(
"2015-01-01"
)
)
),
nextToken = "string"
)
Request syntax¶
svc$list_intents(
botId = "string",
botVersion = "string",
localeId = "string",
sortBy = list(
attribute = "IntentName"|"LastUpdatedDateTime",
order = "Ascending"|"Descending"
),
filters = list(
list(
name = "IntentName",
values = list(
"string"
),
operator = "CO"|"EQ"
)
),
maxResults = 123,
nextToken = "string"
)