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",
}

Constant Summary collapse

SENSITIVE =
[]

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)


554
555
556
557
558
559
# File 'gems/aws-sdk-lexmodelbuildingservice/lib/aws-sdk-lexmodelbuildingservice/types.rb', line 554

class CreateIntentVersionRequest < Struct.new(
  :name,
  :checksum)
  SENSITIVE = []
  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)


554
555
556
557
558
559
# File 'gems/aws-sdk-lexmodelbuildingservice/lib/aws-sdk-lexmodelbuildingservice/types.rb', line 554

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