Class: Aws::LexModelBuildingService::Types::PutBotAliasRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::LexModelBuildingService::Types::PutBotAliasRequest
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-lexmodelbuildingservice/types.rb
Overview
When making an API call, you may pass PutBotAliasRequest data as a hash:
{
name: "AliasName", # required
description: "Description",
bot_version: "Version", # required
bot_name: "BotName", # required
checksum: "String",
}
Instance Attribute Summary collapse
-
#bot_name ⇒ String
The name of the bot.
-
#bot_version ⇒ String
The version of the bot.
-
#checksum ⇒ String
Identifies a specific revision of the ‘$LATEST` version.
-
#description ⇒ String
A description of the alias.
-
#name ⇒ String
The name of the alias.
Instance Attribute Details
#bot_name ⇒ String
The name of the bot.
2257 2258 2259 2260 2261 2262 2263 2264 |
# File 'lib/aws-sdk-lexmodelbuildingservice/types.rb', line 2257 class PutBotAliasRequest < Struct.new( :name, :description, :bot_version, :bot_name, :checksum) include Aws::Structure end |
#bot_version ⇒ String
The version of the bot.
2257 2258 2259 2260 2261 2262 2263 2264 |
# File 'lib/aws-sdk-lexmodelbuildingservice/types.rb', line 2257 class PutBotAliasRequest < Struct.new( :name, :description, :bot_version, :bot_name, :checksum) include Aws::Structure end |
#checksum ⇒ String
Identifies a specific revision of the ‘$LATEST` version.
When you create a new bot alias, leave the ‘checksum` field blank. If you specify a checksum you get a `BadRequestException` exception.
When you want to update a bot alias, set the ‘checksum` field to the checksum of the most recent revision of the `$LATEST` version. If you don’t specify the ‘ checksum` field, or if the checksum does not match the `$LATEST` version, you get a `PreconditionFailedException` exception.
2257 2258 2259 2260 2261 2262 2263 2264 |
# File 'lib/aws-sdk-lexmodelbuildingservice/types.rb', line 2257 class PutBotAliasRequest < Struct.new( :name, :description, :bot_version, :bot_name, :checksum) include Aws::Structure end |
#description ⇒ String
A description of the alias.
2257 2258 2259 2260 2261 2262 2263 2264 |
# File 'lib/aws-sdk-lexmodelbuildingservice/types.rb', line 2257 class PutBotAliasRequest < Struct.new( :name, :description, :bot_version, :bot_name, :checksum) include Aws::Structure end |
#name ⇒ String
The name of the alias. The name is not case sensitive.
2257 2258 2259 2260 2261 2262 2263 2264 |
# File 'lib/aws-sdk-lexmodelbuildingservice/types.rb', line 2257 class PutBotAliasRequest < Struct.new( :name, :description, :bot_version, :bot_name, :checksum) include Aws::Structure end |