List Slot Types
lexmodelsv2_list_slot_types | R Documentation |
Gets a list of slot types that match the specified criteria¶
Description¶
Gets a list of slot types that match the specified criteria.
Usage¶
lexmodelsv2_list_slot_types(botId, botVersion, localeId, sortBy,
filters, maxResults, nextToken)
Arguments¶
botId |
[required] The unique identifier of the bot that contains the slot types. |
botVersion |
[required] The version of the bot that contains the slot type. |
localeId |
[required] The identifier of the language and locale of the slot types to list. The string must match one of the supported locales. For more information, see Supported languages. |
sortBy |
Determines the sort order for the response from the
|
filters |
Provides the specification of a filter used to limit the slot types in the response to only those that match the filter specification. You can only specify one filter and only one string to filter on. |
maxResults |
The maximum number of slot types 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. |
nextToken |
If the response from the |
Value¶
A list with the following syntax:
list(
botId = "string",
botVersion = "string",
localeId = "string",
slotTypeSummaries = list(
list(
slotTypeId = "string",
slotTypeName = "string",
description = "string",
parentSlotTypeSignature = "string",
lastUpdatedDateTime = as.POSIXct(
"2015-01-01"
),
slotTypeCategory = "Custom"|"Extended"|"ExternalGrammar"|"Composite"
)
),
nextToken = "string"
)
Request syntax¶
svc$list_slot_types(
botId = "string",
botVersion = "string",
localeId = "string",
sortBy = list(
attribute = "SlotTypeName"|"LastUpdatedDateTime",
order = "Ascending"|"Descending"
),
filters = list(
list(
name = "SlotTypeName"|"ExternalSourceType",
values = list(
"string"
),
operator = "CO"|"EQ"
)
),
maxResults = 123,
nextToken = "string"
)