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. |
description |
The new description of the slot type. |
slotTypeValues |
A new list of values and their optional synonyms that define the values that the slot type can take. |
valueSelectionSetting |
The strategy that Amazon Lex should use when deciding on a value from the list of slot type values. |
parentSlotTypeSignature |
The 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 |
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. |
externalSourceSetting |
|
compositeSlotTypeSetting |
Specifications 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"
)
)
)
)