class Aws::LexModelsV2::Types::CreateBotRequest
@note When making an API call, you may pass CreateBotRequest
data as a hash: { bot_name: "Name", # required description: "Description", role_arn: "RoleArn", # required data_privacy: { # required child_directed: false, # required }, idle_session_ttl_in_seconds: 1, # required bot_tags: { "TagKey" => "TagValue", }, test_bot_alias_tags: { "TagKey" => "TagValue", }, }
@!attribute [rw] bot_name
The name of the bot. The bot name must be unique in the account that creates the bot. @return [String]
@!attribute [rw] description
A description of the bot. It appears in lists to help you identify a particular bot. @return [String]
@!attribute [rw] role_arn
The Amazon Resource Name (ARN) of an IAM role that has permission to access the bot. @return [String]
@!attribute [rw] data_privacy
Provides information on additional privacy protections Amazon Lex should use with the bot's data. @return [Types::DataPrivacy]
@!attribute [rw] idle_session_ttl_in_seconds
The time, in seconds, that Amazon Lex should keep information about a user's conversation with the bot. A user interaction remains active for the amount of time specified. If no conversation occurs during this time, the session expires and Amazon Lex deletes any data provided before the timeout. You can specify between 60 (1 minute) and 86,400 (24 hours) seconds. @return [Integer]
@!attribute [rw] bot_tags
A list of tags to add to the bot. You can only add tags when you create a bot. You can't use the `UpdateBot` operation to update tags. To update tags, use the `TagResource` operation. @return [Hash<String,String>]
@!attribute [rw] test_bot_alias_tags
A list of tags to add to the test alias for a bot. You can only add tags when you create a bot. You can't use the `UpdateAlias` operation to update tags. To update tags on the test alias, use the `TagResource` operation. @return [Hash<String,String>]
@see docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/CreateBotRequest AWS API Documentation
Constants
- SENSITIVE