Class: Aws::LexModelsV2::Types::DeleteBotVersionRequest

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

{
  bot_id: "Id", # required
  bot_version: "NumericalBotVersion", # 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 that contains the version.

Returns:

  • (String)


3520
3521
3522
3523
3524
3525
3526
# File 'gems/aws-sdk-lexmodelsv2/lib/aws-sdk-lexmodelsv2/types.rb', line 3520

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

#bot_versionString

The version of the bot to delete.

Returns:

  • (String)


3520
3521
3522
3523
3524
3525
3526
# File 'gems/aws-sdk-lexmodelsv2/lib/aws-sdk-lexmodelsv2/types.rb', line 3520

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

#skip_resource_in_use_checkBoolean

By default, the DeleteBotVersion operations throws a ResourceInUseException exception if you try to delete a bot version that has an alias pointing at it. Set the skipResourceInUseCheck parameter to true to skip this check and remove the version even if an alias points to it.

Returns:

  • (Boolean)


3520
3521
3522
3523
3524
3525
3526
# File 'gems/aws-sdk-lexmodelsv2/lib/aws-sdk-lexmodelsv2/types.rb', line 3520

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