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

Class: Aws::LexModelBuildingService::Types::CreateIntentVersionRequest

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

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

Instance Attribute Summary collapse

Instance Attribute Details

#checksumString

Checksum of the $LATEST version of the intent that should be used to create the new version. If you specify a checksum and the $LATEST version of the intent has a different checksum, Amazon Lex returns a PreconditionFailedException exception and doesn't publish a new version. If you don't specify a checksum, Amazon Lex publishes the $LATEST version.

Returns:

  • (String)


432
433
434
435
436
# File 'gems/aws-sdk-lexmodelbuildingservice/lib/aws-sdk-lexmodelbuildingservice/types.rb', line 432

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

#nameString

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

Returns:

  • (String)


432
433
434
435
436
# File 'gems/aws-sdk-lexmodelbuildingservice/lib/aws-sdk-lexmodelbuildingservice/types.rb', line 432

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