Class: Aws::LexModelsV2::Types::DeleteSlotTypeRequest

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

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#bot_idString

The identifier of the bot associated with the slot type.

Returns:

  • (String)


5181
5182
5183
5184
5185
5186
5187
5188
5189
# File 'gems/aws-sdk-lexmodelsv2/lib/aws-sdk-lexmodelsv2/types.rb', line 5181

class DeleteSlotTypeRequest < Struct.new(
  :slot_type_id,
  :bot_id,
  :bot_version,
  :locale_id,
  :skip_resource_in_use_check)
  SENSITIVE = []
  include Aws::Structure
end

#bot_versionString

The version of the bot associated with the slot type.

Returns:

  • (String)


5181
5182
5183
5184
5185
5186
5187
5188
5189
# File 'gems/aws-sdk-lexmodelsv2/lib/aws-sdk-lexmodelsv2/types.rb', line 5181

class DeleteSlotTypeRequest < Struct.new(
  :slot_type_id,
  :bot_id,
  :bot_version,
  :locale_id,
  :skip_resource_in_use_check)
  SENSITIVE = []
  include Aws::Structure
end

#locale_idString

The identifier of the language and locale that the slot type will be deleted from. The string must match one of the supported locales. For more information, see Supported languages.

Returns:

  • (String)


5181
5182
5183
5184
5185
5186
5187
5188
5189
# File 'gems/aws-sdk-lexmodelsv2/lib/aws-sdk-lexmodelsv2/types.rb', line 5181

class DeleteSlotTypeRequest < Struct.new(
  :slot_type_id,
  :bot_id,
  :bot_version,
  :locale_id,
  :skip_resource_in_use_check)
  SENSITIVE = []
  include Aws::Structure
end

#skip_resource_in_use_checkBoolean

By default, the DeleteSlotType operations throws a ResourceInUseException exception if you try to delete a slot type used by a slot. Set the skipResourceInUseCheck parameter to true to skip this check and remove the slot type even if a slot uses it.

Returns:

  • (Boolean)


5181
5182
5183
5184
5185
5186
5187
5188
5189
# File 'gems/aws-sdk-lexmodelsv2/lib/aws-sdk-lexmodelsv2/types.rb', line 5181

class DeleteSlotTypeRequest < Struct.new(
  :slot_type_id,
  :bot_id,
  :bot_version,
  :locale_id,
  :skip_resource_in_use_check)
  SENSITIVE = []
  include Aws::Structure
end

#slot_type_idString

The identifier of the slot type to delete.

Returns:

  • (String)


5181
5182
5183
5184
5185
5186
5187
5188
5189
# File 'gems/aws-sdk-lexmodelsv2/lib/aws-sdk-lexmodelsv2/types.rb', line 5181

class DeleteSlotTypeRequest < Struct.new(
  :slot_type_id,
  :bot_id,
  :bot_version,
  :locale_id,
  :skip_resource_in_use_check)
  SENSITIVE = []
  include Aws::Structure
end