Update Slot Type
| lexmodelsv2_update_slot_type | R Documentation |
Updates the configuration of an existing slot type¶
Description¶
Updates the configuration of an existing slot type.
Usage¶
lexmodelsv2_update_slot_type(slotTypeId, slotTypeName, description,
slotTypeValues, valueSelectionSetting, parentSlotTypeSignature, botId,
botVersion, localeId, externalSourceSetting, compositeSlotTypeSetting)
Arguments¶
slotTypeId[required] The unique identifier of the slot type to update.
slotTypeName[required] The new name of the slot type.
descriptionThe new description of the slot type.
slotTypeValuesA new list of values and their optional synonyms that define the values that the slot type can take.
valueSelectionSettingThe strategy that Amazon Lex should use when deciding on a value from the list of slot type values.
parentSlotTypeSignatureThe new built-in slot type that should be used as the parent of this slot type.
botId[required] The identifier of the bot that contains the slot type.
botVersion[required] The version of the bot that contains the slot type. Must be
DRAFT.localeId[required] The identifier of the language and locale that contains the slot type. The string must match one of the supported locales. For more information, see Supported languages.
externalSourceSettingcompositeSlotTypeSettingSpecifications for a composite slot type.
Value¶
A list with the following syntax:
list(
slotTypeId = "string",
slotTypeName = "string",
description = "string",
slotTypeValues = list(
list(
sampleValue = list(
value = "string"
),
synonyms = list(
list(
value = "string"
)
)
)
),
valueSelectionSetting = list(
resolutionStrategy = "OriginalValue"|"TopResolution"|"Concatenation",
regexFilter = list(
pattern = "string"
),
advancedRecognitionSetting = list(
audioRecognitionStrategy = "UseSlotValuesAsCustomVocabulary"
)
),
parentSlotTypeSignature = "string",
botId = "string",
botVersion = "string",
localeId = "string",
creationDateTime = as.POSIXct(
"2015-01-01"
),
lastUpdatedDateTime = as.POSIXct(
"2015-01-01"
),
externalSourceSetting = list(
grammarSlotTypeSetting = list(
source = list(
s3BucketName = "string",
s3ObjectKey = "string",
kmsKeyArn = "string"
)
)
),
compositeSlotTypeSetting = list(
subSlots = list(
list(
name = "string",
slotTypeId = "string"
)
)
)
)
Request syntax¶
svc$update_slot_type(
slotTypeId = "string",
slotTypeName = "string",
description = "string",
slotTypeValues = list(
list(
sampleValue = list(
value = "string"
),
synonyms = list(
list(
value = "string"
)
)
)
),
valueSelectionSetting = list(
resolutionStrategy = "OriginalValue"|"TopResolution"|"Concatenation",
regexFilter = list(
pattern = "string"
),
advancedRecognitionSetting = list(
audioRecognitionStrategy = "UseSlotValuesAsCustomVocabulary"
)
),
parentSlotTypeSignature = "string",
botId = "string",
botVersion = "string",
localeId = "string",
externalSourceSetting = list(
grammarSlotTypeSetting = list(
source = list(
s3BucketName = "string",
s3ObjectKey = "string",
kmsKeyArn = "string"
)
)
),
compositeSlotTypeSetting = list(
subSlots = list(
list(
name = "string",
slotTypeId = "string"
)
)
)
)