You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::LexModelBuildingService::Types::DeleteBotVersionRequest

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

Overview

Note:

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

{
  name: "BotName", # required
  version: "NumericalVersion", # required
}

Instance Attribute Summary collapse

Instance Attribute Details

#nameString

The name of the bot.

Returns:

  • (String)


680
681
682
683
684
# File 'gems/aws-sdk-lexmodelbuildingservice/lib/aws-sdk-lexmodelbuildingservice/types.rb', line 680

class DeleteBotVersionRequest < Struct.new(
  :name,
  :version)
  include Aws::Structure
end

#versionString

The version of the bot to delete. You cannot delete the $LATEST version of the bot. To delete the $LATEST version, use the DeleteBot operation.

Returns:

  • (String)


680
681
682
683
684
# File 'gems/aws-sdk-lexmodelbuildingservice/lib/aws-sdk-lexmodelbuildingservice/types.rb', line 680

class DeleteBotVersionRequest < Struct.new(
  :name,
  :version)
  include Aws::Structure
end