Gets information about all of the versions of an intent
Gets information about all of the versions of an intent.
The get_intent_versions
operation returns an IntentMetadata
object for each version of an
intent. For example, if an intent has three numbered versions, the
get_intent_versions
operation returns four IntentMetadata
objects in the response, one for
each numbered version and one for the $LATEST
version.
The get_intent_versions
operation always returns at least one version, the $LATEST
version.
This operation requires permissions for the lex:GetIntentVersions
action.
lexmodelbuildingservice_get_intent_versions(name, nextToken, maxResults)
name |
[required] The name of the intent for which versions should be returned. |
nextToken |
A pagination token for fetching the next page of intent versions. If the response to this call is truncated, Amazon Lex returns a pagination token in the response. To fetch the next page of versions, specify the pagination token in the next request. |
maxResults |
The maximum number of intent versions to return in the response. The default is 10. |
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_intent_versions( name = "string", nextToken = "string", maxResults = 123 )
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.