bot
Gets an individual bot
resource
Overview
Name | bot |
Type | Resource |
Description | bot |
Id | awscc.lex.bot |
Fields
Name | Datatype | Description |
---|---|---|
id | string | |
arn | string | |
name | string | |
description | string | |
role_arn | string | |
data_privacy | object | Data privacy setting of the Bot. |
idle_session_ttl_in_seconds | integer | IdleSessionTTLInSeconds of the resource |
bot_locales | array | List of bot locales |
bot_file_s3_location | object | |
bot_tags | array | A list of tags to add to the bot, which can only be added at bot creation. |
test_bot_alias_tags | array | A list of tags to add to the test alias for a bot, , which can only be added at bot/bot alias creation. |
auto_build_bot_locales | boolean | Specifies whether to build the bot locales after bot creation completes. |
test_bot_alias_settings | object | |
region | string | AWS region. |
Methods
Currently only SELECT
is supported for this resource resource.
Example
SELECT
region,
id,
arn,
name,
description,
role_arn,
data_privacy,
idle_session_ttl_in_seconds,
bot_locales,
bot_file_s3_location,
bot_tags,
test_bot_alias_tags,
auto_build_bot_locales,
test_bot_alias_settings
FROM awscc.lex.bot
WHERE data__Identifier = '<Id>';
Permissions
To operate on the bot
resource, the following permissions are required:
Read
lex:DescribeBot,
lex:ListTagsForResource
Update
iam:PassRole,
lex:DescribeBot,
lex:CreateUploadUrl,
lex:StartImport,
lex:DescribeImport,
lex:ListTagsForResource,
lex:TagResource,
lex:UntagResource,
lex:CreateBot,
lex:CreateBotLocale,
lex:CreateIntent,
lex:CreateSlot,
lex:CreateSlotType,
lex:UpdateBot,
lex:UpdateBotLocale,
lex:UpdateIntent,
lex:UpdateSlot,
lex:UpdateSlotType,
lex:DeleteBotLocale,
lex:DeleteIntent,
lex:DeleteSlot,
lex:DeleteSlotType,
lex:DescribeBotLocale,
lex:BuildBotLocale,
lex:ListBots,
lex:ListBotLocales,
lex:CreateCustomVocabulary,
lex:UpdateCustomVocabulary,
lex:DeleteCustomVocabulary,
s3:GetObject,
lex:UpdateBotAlias
Delete
lex:DeleteBot,
lex:DescribeBot,
lex:DeleteBotLocale,
lex:DeleteIntent,
lex:DeleteSlotType,
lex:DeleteSlot,
lex:DeleteBotVersion,
lex:DeleteBotChannel,
lex:DeleteBotAlias,
lex:DeleteCustomVocabulary