Class: Aws::LexModelBuildingService::Types::CreateIntentVersionRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::LexModelBuildingService::Types::CreateIntentVersionRequest
- Includes:
- Structure
- Defined in:
- 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
-
#checksum ⇒ String
Checksum of the ‘$LATEST` version of the intent that should be used to create the new version.
-
#name ⇒ String
The name of the intent that you want to create a new version of.
Instance Attribute Details
#checksum ⇒ String
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.
413 414 415 416 417 |
# File 'lib/aws-sdk-lexmodelbuildingservice/types.rb', line 413 class CreateIntentVersionRequest < Struct.new( :name, :checksum) include Aws::Structure end |
#name ⇒ String
The name of the intent that you want to create a new version of. The name is case sensitive.
413 414 415 416 417 |
# File 'lib/aws-sdk-lexmodelbuildingservice/types.rb', line 413 class CreateIntentVersionRequest < Struct.new( :name, :checksum) include Aws::Structure end |