Class: Aws::LexModelsV2::Types::UpdateSlotTypeRequest

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-lexmodelsv2/lib/aws-sdk-lexmodelsv2/types.rb

Overview

Note:

When making an API call, you may pass UpdateSlotTypeRequest data as a hash:

{
  slot_type_id: "Id", # required
  slot_type_name: "Name", # required
  description: "Description",
  slot_type_values: [
    {
      sample_value: {
        value: "Value", # required
      },
      synonyms: [
        {
          value: "Value", # required
        },
      ],
    },
  ],
  value_selection_setting: { # required
    resolution_strategy: "OriginalValue", # required, accepts OriginalValue, TopResolution
    regex_filter: {
      pattern: "RegexPattern", # required
    },
  },
  parent_slot_type_signature: "SlotTypeSignature",
  bot_id: "Id", # required
  bot_version: "DraftBotVersion", # required
  locale_id: "LocaleId", # required
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#bot_idString

The identifier of the bot that contains the slot type.

Returns:

  • (String)


11213
11214
11215
11216
11217
11218
11219
11220
11221
11222
11223
11224
11225
# File 'gems/aws-sdk-lexmodelsv2/lib/aws-sdk-lexmodelsv2/types.rb', line 11213

class UpdateSlotTypeRequest < Struct.new(
  :slot_type_id,
  :slot_type_name,
  :description,
  :slot_type_values,
  :value_selection_setting,
  :parent_slot_type_signature,
  :bot_id,
  :bot_version,
  :locale_id)
  SENSITIVE = []
  include Aws::Structure
end

#bot_versionString

The version of the bot that contains the slot type. Must be DRAFT.

Returns:

  • (String)


11213
11214
11215
11216
11217
11218
11219
11220
11221
11222
11223
11224
11225
# File 'gems/aws-sdk-lexmodelsv2/lib/aws-sdk-lexmodelsv2/types.rb', line 11213

class UpdateSlotTypeRequest < Struct.new(
  :slot_type_id,
  :slot_type_name,
  :description,
  :slot_type_values,
  :value_selection_setting,
  :parent_slot_type_signature,
  :bot_id,
  :bot_version,
  :locale_id)
  SENSITIVE = []
  include Aws::Structure
end

#descriptionString

The new description of the slot type.

Returns:

  • (String)


11213
11214
11215
11216
11217
11218
11219
11220
11221
11222
11223
11224
11225
# File 'gems/aws-sdk-lexmodelsv2/lib/aws-sdk-lexmodelsv2/types.rb', line 11213

class UpdateSlotTypeRequest < Struct.new(
  :slot_type_id,
  :slot_type_name,
  :description,
  :slot_type_values,
  :value_selection_setting,
  :parent_slot_type_signature,
  :bot_id,
  :bot_version,
  :locale_id)
  SENSITIVE = []
  include Aws::Structure
end

#locale_idString

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.

Returns:

  • (String)


11213
11214
11215
11216
11217
11218
11219
11220
11221
11222
11223
11224
11225
# File 'gems/aws-sdk-lexmodelsv2/lib/aws-sdk-lexmodelsv2/types.rb', line 11213

class UpdateSlotTypeRequest < Struct.new(
  :slot_type_id,
  :slot_type_name,
  :description,
  :slot_type_values,
  :value_selection_setting,
  :parent_slot_type_signature,
  :bot_id,
  :bot_version,
  :locale_id)
  SENSITIVE = []
  include Aws::Structure
end

#parent_slot_type_signatureString

The new built-in slot type that should be used as the parent of this slot type.

Returns:

  • (String)


11213
11214
11215
11216
11217
11218
11219
11220
11221
11222
11223
11224
11225
# File 'gems/aws-sdk-lexmodelsv2/lib/aws-sdk-lexmodelsv2/types.rb', line 11213

class UpdateSlotTypeRequest < Struct.new(
  :slot_type_id,
  :slot_type_name,
  :description,
  :slot_type_values,
  :value_selection_setting,
  :parent_slot_type_signature,
  :bot_id,
  :bot_version,
  :locale_id)
  SENSITIVE = []
  include Aws::Structure
end

#slot_type_idString

The unique identifier of the slot type to update.

Returns:

  • (String)


11213
11214
11215
11216
11217
11218
11219
11220
11221
11222
11223
11224
11225
# File 'gems/aws-sdk-lexmodelsv2/lib/aws-sdk-lexmodelsv2/types.rb', line 11213

class UpdateSlotTypeRequest < Struct.new(
  :slot_type_id,
  :slot_type_name,
  :description,
  :slot_type_values,
  :value_selection_setting,
  :parent_slot_type_signature,
  :bot_id,
  :bot_version,
  :locale_id)
  SENSITIVE = []
  include Aws::Structure
end

#slot_type_nameString

The new name of the slot type.

Returns:

  • (String)


11213
11214
11215
11216
11217
11218
11219
11220
11221
11222
11223
11224
11225
# File 'gems/aws-sdk-lexmodelsv2/lib/aws-sdk-lexmodelsv2/types.rb', line 11213

class UpdateSlotTypeRequest < Struct.new(
  :slot_type_id,
  :slot_type_name,
  :description,
  :slot_type_values,
  :value_selection_setting,
  :parent_slot_type_signature,
  :bot_id,
  :bot_version,
  :locale_id)
  SENSITIVE = []
  include Aws::Structure
end

#slot_type_valuesArray<Types::SlotTypeValue>

A new list of values and their optional synonyms that define the values that the slot type can take.

Returns:



11213
11214
11215
11216
11217
11218
11219
11220
11221
11222
11223
11224
11225
# File 'gems/aws-sdk-lexmodelsv2/lib/aws-sdk-lexmodelsv2/types.rb', line 11213

class UpdateSlotTypeRequest < Struct.new(
  :slot_type_id,
  :slot_type_name,
  :description,
  :slot_type_values,
  :value_selection_setting,
  :parent_slot_type_signature,
  :bot_id,
  :bot_version,
  :locale_id)
  SENSITIVE = []
  include Aws::Structure
end

#value_selection_settingTypes::SlotValueSelectionSetting

The strategy that Amazon Lex should use when deciding on a value from the list of slot type values.



11213
11214
11215
11216
11217
11218
11219
11220
11221
11222
11223
11224
11225
# File 'gems/aws-sdk-lexmodelsv2/lib/aws-sdk-lexmodelsv2/types.rb', line 11213

class UpdateSlotTypeRequest < Struct.new(
  :slot_type_id,
  :slot_type_name,
  :description,
  :slot_type_values,
  :value_selection_setting,
  :parent_slot_type_signature,
  :bot_id,
  :bot_version,
  :locale_id)
  SENSITIVE = []
  include Aws::Structure
end