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

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 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)


532
533
534
535
536
# File 'lib/aws-sdk-lexmodelbuildingservice/types.rb', line 532

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)


532
533
534
535
536
# File 'lib/aws-sdk-lexmodelbuildingservice/types.rb', line 532

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