Class: Aws::LexModelBuildingService::Types::CreateBotVersionRequest

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

Overview

Note:

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

{
  name: "BotName", # required
  checksum: "String",
}

Instance Attribute Summary collapse

Instance Attribute Details

#checksumString

Identifies a specific revision of the ‘$LATEST` version of the bot. If you specify a checksum and the `$LATEST` version of the bot has a different checksum, a `PreconditionFailedException` exception is returned and Amazon Lex doesn’t publish a new version. If you don’t specify a checksum, Amazon Lex publishes the ‘$LATEST` version.

Returns:

  • (String)


264
265
266
267
268
# File 'lib/aws-sdk-lexmodelbuildingservice/types.rb', line 264

class CreateBotVersionRequest < Struct.new(
  :name,
  :checksum)
  include Aws::Structure
end

#nameString

The name of the bot that you want to create a new version of. The name is case sensitive.

Returns:

  • (String)


264
265
266
267
268
# File 'lib/aws-sdk-lexmodelbuildingservice/types.rb', line 264

class CreateBotVersionRequest < Struct.new(
  :name,
  :checksum)
  include Aws::Structure
end