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

Class: Aws::LexModelBuildingService::Types::CreateSlotTypeVersionRequest

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

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

Instance Attribute Summary collapse

Instance Attribute Details

#checksumString

Checksum for the $LATEST version of the slot type that you want to publish. If you specify a checksum and the $LATEST version of the slot type has a different checksum, Amazon Lex returns a PreconditionFailedException exception and doesn't publish the new version. If you don't specify a checksum, Amazon Lex publishes the $LATEST version.

Returns:

  • (String)


551
552
553
554
555
# File 'gems/aws-sdk-lexmodelbuildingservice/lib/aws-sdk-lexmodelbuildingservice/types.rb', line 551

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

#nameString

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

Returns:

  • (String)


551
552
553
554
555
# File 'gems/aws-sdk-lexmodelbuildingservice/lib/aws-sdk-lexmodelbuildingservice/types.rb', line 551

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