Get Slot Type Versions
lexmodelbuildingservice_get_slot_type_versions | R Documentation |
Gets information about all versions of a slot type¶
Description¶
Gets information about all versions of a slot type.
The get_slot_type_versions
operation returns a SlotTypeMetadata
object for each version of a slot type. For example, if a slot type has
three numbered versions, the get_slot_type_versions
operation returns
four SlotTypeMetadata
objects in the response, one for each numbered
version and one for the $LATEST
version.
The get_slot_type_versions
operation always returns at least one
version, the $LATEST
version.
This operation requires permissions for the lex:GetSlotTypeVersions
action.
Usage¶
Arguments¶
name
[required] The name of the slot type for which versions should be returned.
nextToken
A pagination token for fetching the next page of slot type 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 slot type versions to return in the response. The default is 10.
Value¶
A list with the following syntax:
list(
slotTypes = list(
list(
name = "string",
description = "string",
lastUpdatedDate = as.POSIXct(
"2015-01-01"
),
createdDate = as.POSIXct(
"2015-01-01"
),
version = "string"
)
),
nextToken = "string"
)