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

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 DeleteSlotTypeRequest data as a hash:

{
  slot_type_id: "Id", # required
  bot_id: "Id", # required
  bot_version: "DraftBotVersion", # required
  locale_id: "LocaleId", # required
  skip_resource_in_use_check: false,
}

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)


3869
3870
3871
3872
3873
3874
3875
3876
3877
# File 'gems/aws-sdk-lexmodelsv2/lib/aws-sdk-lexmodelsv2/types.rb', line 3869

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)


3869
3870
3871
3872
3873
3874
3875
3876
3877
# File 'gems/aws-sdk-lexmodelsv2/lib/aws-sdk-lexmodelsv2/types.rb', line 3869

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)


3869
3870
3871
3872
3873
3874
3875
3876
3877
# File 'gems/aws-sdk-lexmodelsv2/lib/aws-sdk-lexmodelsv2/types.rb', line 3869

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)


3869
3870
3871
3872
3873
3874
3875
3876
3877
# File 'gems/aws-sdk-lexmodelsv2/lib/aws-sdk-lexmodelsv2/types.rb', line 3869

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)


3869
3870
3871
3872
3873
3874
3875
3876
3877
# File 'gems/aws-sdk-lexmodelsv2/lib/aws-sdk-lexmodelsv2/types.rb', line 3869

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