Returns intent information as follows:
Returns intent information as follows:
If you specify the nameContains
field, returns the $LATEST
version of all intents that contain the specified string.
If you don't specify the nameContains
field, returns information
about the $LATEST
version of all intents.
The operation requires permission for the lex:GetIntents
action.
lexmodelbuildingservice_get_intents(nextToken, maxResults, nameContains)
nextToken |
A pagination token that fetches the next page of intents. If the response to this API call is truncated, Amazon Lex returns a pagination token in the response. To fetch the next page of intents, specify the pagination token in the next request. |
maxResults |
The maximum number of intents to return in the response. The default is 10. |
nameContains |
Substring to match in intent names. An intent will be returned if any part of its name matches the substring. For example, "xyz" matches both "xyzabc" and "abcxyz." |
A list with the following syntax:
list( intents = list( list( name = "string", description = "string", lastUpdatedDate = as.POSIXct( "2015-01-01" ), createdDate = as.POSIXct( "2015-01-01" ), version = "string" ) ), nextToken = "string" )
svc$get_intents( nextToken = "string", maxResults = 123, nameContains = "string" )
## Not run: # This example shows how to get a list of all of the intents in your # account. svc$get_intents( maxResults = 10L, nextToken = "" ) ## End(Not run)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.