Skip to main content

bot

Gets an individual bot resource

Overview

Namebot
TypeResource
Descriptionbot
Idawscc.lex.bot

Fields

NameDatatypeDescription
idstring
arnstring
namestring
descriptionstring
role_arnstring
data_privacyobjectData privacy setting of the Bot.
idle_session_ttl_in_secondsintegerIdleSessionTTLInSeconds of the resource
bot_localesarrayList of bot locales
bot_file_s3_locationobject
bot_tagsarrayA list of tags to add to the bot, which can only be added at bot creation.
test_bot_alias_tagsarrayA 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_localesbooleanSpecifies whether to build the bot locales after bot creation completes.
test_bot_alias_settingsobject
regionstringAWS 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