import { AccessLevelList } from '../shared/access-level' ; import { PolicyStatement } from '../shared' ; param sid export class LexV2 extends PolicyStatement { public servicePrefix = 'lex' ; param sid constructor ( sid ? ) { super ( sid ) ; } /**
     * Grants permission to build an existing bot locale in a bot
     *
     * Access Level: Write
     *
     * https://docs.aws.amazon.com/lexv2/latest/dg/API_BuildBotLocale.html
     */ public toBuildBotLocale ( ) { return this . to ( 'BuildBotLocale' ) ; } /**
     * Grants permission to create a new bot and a test bot alias pointing to the DRAFT bot version
     *
     * Access Level: Write
     *
     * Possible conditions:
     * - .ifAwsTagKeys()
     * - .ifAwsRequestTag()
     *
     * https://docs.aws.amazon.com/lexv2/latest/dg/API_CreateBot.html
     */ public toCreateBot ( ) { return this . to ( 'CreateBot' ) ; } /**
     * Grants permission to create a new bot alias in a bot
     *
     * Access Level: Write
     *
     * Possible conditions:
     * - .ifAwsTagKeys()
     * - .ifAwsRequestTag()
     *
     * https://docs.aws.amazon.com/lexv2/latest/dg/API_CreateBotAlias.html
     */ public toCreateBotAlias ( ) { return this . to ( 'CreateBotAlias' ) ; } /**
     * Grants permission to create a bot channel in an existing bot
     *
     * Access Level: Write
     *
     * https://docs.aws.amazon.com/lexv2/latest/dg/deploying-messaging-platform.html
     */ public toCreateBotChannel ( ) { return this . to ( 'CreateBotChannel' ) ; } /**
     * Grants permission to create a new bot locale in an existing bot
     *
     * Access Level: Write
     *
     * https://docs.aws.amazon.com/lexv2/latest/dg/API_CreateBotLocale.html
     */ public toCreateBotLocale ( ) { return this . to ( 'CreateBotLocale' ) ; } /**
     * Grants permission to create a new version of an existing bot
     *
     * Access Level: Write
     *
     * https://docs.aws.amazon.com/lexv2/latest/dg/API_CreateBotVersion.html
     */ public toCreateBotVersion ( ) { return this . to ( 'CreateBotVersion' ) ; } /**
     * Grants permission to create a new custom vocabulary in an existing bot locale
     *
     * Access Level: Write
     *
     * https://docs.aws.amazon.com/lexv2/latest/dg/vocab.html
     */ public toCreateCustomVocabulary ( ) { return this . to ( 'CreateCustomVocabulary' ) ; } /**
     * Grants permission to create an export for an existing resource
     *
     * Access Level: Write
     *
     * https://docs.aws.amazon.com/lexv2/latest/dg/API_CreateExport.html
     */ public toCreateExport ( ) { return this . to ( 'CreateExport' ) ; } /**
     * Grants permission to create a new intent in an existing bot locale
     *
     * Access Level: Write
     *
     * https://docs.aws.amazon.com/lexv2/latest/dg/API_CreateIntent.html
     */ public toCreateIntent ( ) { return this . to ( 'CreateIntent' ) ; } /**
     * Grants permission to create a new resource policy for a Lex resource
     *
     * Access Level: Write
     *
     * https://docs.aws.amazon.com/lexv2/latest/dg/API_CreateResourcePolicy.html
     */ public toCreateResourcePolicy ( ) { return this . to ( 'CreateResourcePolicy' ) ; } /**
     * Grants permission to create a new slot in an intent
     *
     * Access Level: Write
     *
     * https://docs.aws.amazon.com/lexv2/latest/dg/API_CreateSlot.html
     */ public toCreateSlot ( ) { return this . to ( 'CreateSlot' ) ; } /**
     * Grants permission to create a new slot type in an existing bot locale
     *
     * Access Level: Write
     *
     * https://docs.aws.amazon.com/lexv2/latest/dg/API_CreateSlotType.html
     */ public toCreateSlotType ( ) { return this . to ( 'CreateSlotType' ) ; } /**
     * Grants permission to create an upload url for import file
     *
     * Access Level: Write
     *
     * https://docs.aws.amazon.com/lexv2/latest/dg/API_CreateUploadUrl.html
     */ public toCreateUploadUrl ( ) { return this . to ( 'CreateUploadUrl' ) ; } /**
     * Grants permission to delete an existing bot
     *
     * Access Level: Write
     *
     * Dependent actions:
     * - lex:DeleteBotAlias
     * - lex:DeleteBotChannel
     * - lex:DeleteBotLocale
     * - lex:DeleteBotVersion
     * - lex:DeleteIntent
     * - lex:DeleteSlot
     * - lex:DeleteSlotType
     *
     * https://docs.aws.amazon.com/lexv2/latest/dg/API_DeleteBot.html
     */ public toDeleteBot ( ) { return this . to ( 'DeleteBot' ) ; } /**
     * Grants permission to delete an existing bot alias in a bot
     *
     * Access Level: Write
     *
     * https://docs.aws.amazon.com/lexv2/latest/dg/API_DeleteBotAlias.html
     */ public toDeleteBotAlias ( ) { return this . to ( 'DeleteBotAlias' ) ; } /**
     * Grants permission to delete an existing bot channel
     *
     * Access Level: Write
     *
     * https://docs.aws.amazon.com/lexv2/latest/dg/deploying-messaging-platform.html
     */ public toDeleteBotChannel ( ) { return this . to ( 'DeleteBotChannel' ) ; } /**
     * Grants permission to delete an existing bot locale in a bot
     *
     * Access Level: Write
     *
     * Dependent actions:
     * - lex:DeleteIntent
     * - lex:DeleteSlot
     * - lex:DeleteSlotType
     *
     * https://docs.aws.amazon.com/lexv2/latest/dg/API_DeleteBotLocale.html
     */ public toDeleteBotLocale ( ) { return this . to ( 'DeleteBotLocale' ) ; } /**
     * Grants permission to delete an existing bot version
     *
     * Access Level: Write
     *
     * https://docs.aws.amazon.com/lexv2/latest/dg/API_DeleteBotVersion.html
     */ public toDeleteBotVersion ( ) { return this . to ( 'DeleteBotVersion' ) ; } /**
     * Grants permission to delete an existing custom vocabulary in a bot locale
     *
     * Access Level: Write
     *
     * https://docs.aws.amazon.com/lexv2/latest/dg/API_DeleteCustomVocabulary.html
     */ public toDeleteCustomVocabulary ( ) { return this . to ( 'DeleteCustomVocabulary' ) ; } /**
     * Grants permission to delete an existing export
     *
     * Access Level: Write
     *
     * https://docs.aws.amazon.com/lexv2/latest/dg/API_DeleteExport.html
     */ public toDeleteExport ( ) { return this . to ( 'DeleteExport' ) ; } /**
     * Grants permission to delete an existing import
     *
     * Access Level: Write
     *
     * https://docs.aws.amazon.com/lexv2/latest/dg/API_DeleteImport.html
     */ public toDeleteImport ( ) { return this . to ( 'DeleteImport' ) ; } /**
     * Grants permission to delete an existing intent in a bot locale
     *
     * Access Level: Write
     *
     * https://docs.aws.amazon.com/lexv2/latest/dg/API_DeleteIntent.html
     */ public toDeleteIntent ( ) { return this . to ( 'DeleteIntent' ) ; } /**
     * Grants permission to delete an existing resource policy for a Lex resource
     *
     * Access Level: Write
     *
     * https://docs.aws.amazon.com/lexv2/latest/dg/API_DeleteResourcePolicy.html
     */ public toDeleteResourcePolicy ( ) { return this . to ( 'DeleteResourcePolicy' ) ; } /**
     * Grants permission to delete session information for a bot alias and user ID
     *
     * Access Level: Write
     *
     * https://docs.aws.amazon.com/lexv2/latest/dg/API_runtime_DeleteSession.html
     */ public toDeleteSession ( ) { return this . to ( 'DeleteSession' ) ; } /**
     * Grants permission to delete an existing slot in an intent
     *
     * Access Level: Write
     *
     * https://docs.aws.amazon.com/lexv2/latest/dg/API_DeleteSlot.html
     */ public toDeleteSlot ( ) { return this . to ( 'DeleteSlot' ) ; } /**
     * Grants permission to delete an existing slot type in a bot locale
     *
     * Access Level: Write
     *
     * https://docs.aws.amazon.com/lexv2/latest/dg/API_DeleteSlotType.html
     */ public toDeleteSlotType ( ) { return this . to ( 'DeleteSlotType' ) ; } /**
     * Grants permission to delete utterance data for a bot
     *
     * Access Level: Write
     *
     * https://docs.aws.amazon.com/lexv2/latest/dg/API_DeleteUtterances.html
     */ public toDeleteUtterances ( ) { return this . to ( 'DeleteUtterances' ) ; } /**
     * Grants permission to retrieve an existing bot
     *
     * Access Level: Read
     *
     * https://docs.aws.amazon.com/lexv2/latest/dg/API_DescribeBot.html
     */ public toDescribeBot ( ) { return this . to ( 'DescribeBot' ) ; } /**
     * Grants permission to retrieve an existing bot alias
     *
     * Access Level: Read
     *
     * https://docs.aws.amazon.com/lexv2/latest/dg/API_DescribeBotAlias.html
     */ public toDescribeBotAlias ( ) { return this . to ( 'DescribeBotAlias' ) ; } /**
     * Grants permission to retrieve an existing bot channel
     *
     * Access Level: Read
     *
     * https://docs.aws.amazon.com/lexv2/latest/dg/deploying-messaging-platform.html
     */ public toDescribeBotChannel ( ) { return this . to ( 'DescribeBotChannel' ) ; } /**
     * Grants permission to retrieve an existing bot locale
     *
     * Access Level: Read
     *
     * https://docs.aws.amazon.com/lexv2/latest/dg/API_DescribeBotLocale.html
     */ public toDescribeBotLocale ( ) { return this . to ( 'DescribeBotLocale' ) ; } /**
     * Grants permission to retrieve metadata information about a bot recommendation
     *
     * Access Level: Read
     *
     * https://docs.aws.amazon.com/lexv2/latest/dg/API_DescribeBotRecommendation.html
     */ public toDescribeBotRecommendation ( ) { return this . to ( 'DescribeBotRecommendation' ) ; } /**
     * Grants permission to retrieve an existing bot version
     *
     * Access Level: Read
     *
     * https://docs.aws.amazon.com/lexv2/latest/dg/API_DescribeBotVersion.html
     */ public toDescribeBotVersion ( ) { return this . to ( 'DescribeBotVersion' ) ; } /**
     * Grants permission to retrieve an existing custom vocabulary
     *
     * Access Level: Read
     *
     * https://docs.aws.amazon.com/lexv2/latest/dg/vocab.html
     */ public toDescribeCustomVocabulary ( ) { return this . to ( 'DescribeCustomVocabulary' ) ; } /**
     * Grants permission to retrieve metadata of an existing custom vocabulary
     *
     * Access Level: Read
     *
     * https://docs.aws.amazon.com/lexv2/latest/dg/API_DescribeCustomVocabularyMetadata.html
     */ public toDescribeCustomVocabularyMetadata ( ) { return this . to ( 'DescribeCustomVocabularyMetadata' ) ; } /**
     * Grants permission to retrieve an existing export
     *
     * Access Level: Read
     *
     * Dependent actions:
     * - lex:DescribeBot
     * - lex:DescribeBotLocale
     * - lex:DescribeIntent
     * - lex:DescribeSlot
     * - lex:DescribeSlotType
     * - lex:ListBotLocales
     * - lex:ListIntents
     * - lex:ListSlotTypes
     * - lex:ListSlots
     *
     * https://docs.aws.amazon.com/lexv2/latest/dg/API_DescribeExport.html
     */ public toDescribeExport ( ) { return this . to ( 'DescribeExport' ) ; } /**
     * Grants permission to retrieve an existing import
     *
     * Access Level: Read
     *
     * https://docs.aws.amazon.com/lexv2/latest/dg/API_DescribeImport.html
     */ public toDescribeImport ( ) { return this . to ( 'DescribeImport' ) ; } /**
     * Grants permission to retrieve an existing intent
     *
     * Access Level: Read
     *
     * https://docs.aws.amazon.com/lexv2/latest/dg/API_DescribeIntent.html
     */ public toDescribeIntent ( ) { return this . to ( 'DescribeIntent' ) ; } /**
     * Grants permission to retrieve an existing resource policy for a Lex resource
     *
     * Access Level: Read
     *
     * https://docs.aws.amazon.com/lexv2/latest/dg/API_DescribeResourcePolicy.html
     */ public toDescribeResourcePolicy ( ) { return this . to ( 'DescribeResourcePolicy' ) ; } /**
     * Grants permission to retrieve an existing slot
     *
     * Access Level: Read
     *
     * https://docs.aws.amazon.com/lexv2/latest/dg/API_DescribeSlot.html
     */ public toDescribeSlot ( ) { return this . to ( 'DescribeSlot' ) ; } /**
     * Grants permission to retrieve an existing slot type
     *
     * Access Level: Read
     *
     * https://docs.aws.amazon.com/lexv2/latest/dg/API_DescribeSlotType.html
     */ public toDescribeSlotType ( ) { return this . to ( 'DescribeSlotType' ) ; } /**
     * Grants permission to retrieve session information for a bot alias and user ID
     *
     * Access Level: Read
     *
     * https://docs.aws.amazon.com/lexv2/latest/dg/API_runtime_GetSession.html
     */ public toGetSession ( ) { return this . to ( 'GetSession' ) ; } /**
     * Grants permission to list utterances and statistics for a bot
     *
     * Access Level: List
     *
     * https://docs.aws.amazon.com/lexv2/latest/dg/API_ListAggregatedUtterances.html
     */ public toListAggregatedUtterances ( ) { return this . to ( 'ListAggregatedUtterances' ) ; } /**
     * Grants permission to list bot aliases in an bot
     *
     * Access Level: List
     *
     * https://docs.aws.amazon.com/lexv2/latest/dg/API_ListBotAliases.html
     */ public toListBotAliases ( ) { return this . to ( 'ListBotAliases' ) ; } /**
     * Grants permission to list bot channels
     *
     * Access Level: List
     *
     * https://docs.aws.amazon.com/lexv2/latest/dg/deploying-messaging-platform.html
     */ public toListBotChannels ( ) { return this . to ( 'ListBotChannels' ) ; } /**
     * Grants permission to list bot locales in a bot
     *
     * Access Level: List
     *
     * https://docs.aws.amazon.com/lexv2/latest/dg/API_ListBotLocales.html
     */ public toListBotLocales ( ) { return this . to ( 'ListBotLocales' ) ; } /**
     * Grants permission to get a list of bot recommendations that meet the specified criteria
     *
     * Access Level: List
     *
     * https://docs.aws.amazon.com/lexv2/latest/dg/API_ListBotRecommendations.html
     */ public toListBotRecommendations ( ) { return this . to ( 'ListBotRecommendations' ) ; } /**
     * Grants permission to list existing bot versions
     *
     * Access Level: List
     *
     * https://docs.aws.amazon.com/lexv2/latest/dg/API_ListBotVersions.html
     */ public toListBotVersions ( ) { return this . to ( 'ListBotVersions' ) ; } /**
     * Grants permission to list existing bots
     *
     * Access Level: List
     *
     * https://docs.aws.amazon.com/lexv2/latest/dg/API_ListBots.html
     */ public toListBots ( ) { return this . to ( 'ListBots' ) ; } /**
     * Grants permission to list built-in intents
     *
     * Access Level: List
     *
     * https://docs.aws.amazon.com/lexv2/latest/dg/API_ListBuiltInIntents.html
     */ public toListBuiltInIntents ( ) { return this . to ( 'ListBuiltInIntents' ) ; } /**
     * Grants permission to list built-in slot types
     *
     * Access Level: List
     *
     * https://docs.aws.amazon.com/lexv2/latest/dg/API_ListBuiltInSlotTypes.html
     */ public toListBuiltInSlotTypes ( ) { return this . to ( 'ListBuiltInSlotTypes' ) ; } /**
     * Grants permission to list existing exports
     *
     * Access Level: List
     *
     * https://docs.aws.amazon.com/lexv2/latest/dg/API_ListExports.html
     */ public toListExports ( ) { return this . to ( 'ListExports' ) ; } /**
     * Grants permission to list existing imports
     *
     * Access Level: List
     *
     * https://docs.aws.amazon.com/lexv2/latest/dg/API_ListImports.html
     */ public toListImports ( ) { return this . to ( 'ListImports' ) ; } /**
     * Grants permission to list intents in a bot
     *
     * Access Level: List
     *
     * https://docs.aws.amazon.com/lexv2/latest/dg/API_ListIntents.html
     */ public toListIntents ( ) { return this . to ( 'ListIntents' ) ; } /**
     * Grants permission to get a list of recommended intents provided by the bot recommendation
     *
     * Access Level: List
     *
     * https://docs.aws.amazon.com/lexv2/latest/dg/API_ListRecommendedIntents.html
     */ public toListRecommendedIntents ( ) { return this . to ( 'ListRecommendedIntents' ) ; } /**
     * Grants permission to list slot types in a bot
     *
     * Access Level: List
     *
     * https://docs.aws.amazon.com/lexv2/latest/dg/API_ListSlotTypes.html
     */ public toListSlotTypes ( ) { return this . to ( 'ListSlotTypes' ) ; } /**
     * Grants permission to list slots in an intent
     *
     * Access Level: List
     *
     * https://docs.aws.amazon.com/lexv2/latest/dg/API_ListSlots.html
     */ public toListSlots ( ) { return this . to ( 'ListSlots' ) ; } /**
     * Grants permission to lists tags for a Lex resource
     *
     * Access Level: Read
     *
     * https://docs.aws.amazon.com/lexv2/latest/dg/API_ListTagsForResource.html
     */ public toListTagsForResource ( ) { return this . to ( 'ListTagsForResource' ) ; } /**
     * Grants permission to create a new session or modify an existing session for a bot alias and user ID
     *
     * Access Level: Write
     *
     * https://docs.aws.amazon.com/lexv2/latest/dg/API_runtime_PutSession.html
     */ public toPutSession ( ) { return this . to ( 'PutSession' ) ; } /**
     * Grants permission to send user input (text-only) to an bot alias
     *
     * Access Level: Write
     *
     * https://docs.aws.amazon.com/lexv2/latest/dg/API_runtime_RecognizeText.html
     */ public toRecognizeText ( ) { return this . to ( 'RecognizeText' ) ; } /**
     * Grants permission to send user input (text or speech) to an bot alias
     *
     * Access Level: Write
     *
     * https://docs.aws.amazon.com/lexv2/latest/dg/API_runtime_RecognizeUtterance.html
     */ public toRecognizeUtterance ( ) { return this . to ( 'RecognizeUtterance' ) ; } /**
     * Grants permission to search for associated transcripts that meet the specified criteria
     *
     * Access Level: List
     *
     * https://docs.aws.amazon.com/lexv2/latest/dg/API_SearchAssociatedTranscripts.html
     */ public toSearchAssociatedTranscripts ( ) { return this . to ( 'SearchAssociatedTranscripts' ) ; } /**
     * Grants permission to start a bot recommendation for an existing bot locale
     *
     * Access Level: Write
     *
     * https://docs.aws.amazon.com/lexv2/latest/dg/API_StartBotRecommendation.html
     */ public toStartBotRecommendation ( ) { return this . to ( 'StartBotRecommendation' ) ; } /**
     * Grants permission to stream user input (speech/text/DTMF) to a bot alias
     *
     * Access Level: Write
     *
     * https://docs.aws.amazon.com/lexv2/latest/dg/API_runtime_StartConversation.html
     */ public toStartConversation ( ) { return this . to ( 'StartConversation' ) ; } /**
     * Grants permission to start a new import with the uploaded import file
     *
     * Access Level: Write
     *
     * Possible conditions:
     * - .ifAwsTagKeys()
     * - .ifAwsRequestTag()
     *
     * Dependent actions:
     * - lex:CreateBot
     * - lex:CreateBotLocale
     * - lex:CreateIntent
     * - lex:CreateSlot
     * - lex:CreateSlotType
     * - lex:DeleteBotLocale
     * - lex:DeleteIntent
     * - lex:DeleteSlot
     * - lex:DeleteSlotType
     * - lex:UpdateBot
     * - lex:UpdateBotLocale
     * - lex:UpdateIntent
     * - lex:UpdateSlot
     * - lex:UpdateSlotType
     *
     * https://docs.aws.amazon.com/lexv2/latest/dg/API_StartImport.html
     */ public toStartImport ( ) { return this . to ( 'StartImport' ) ; } /**
     * Grants permission to add or overwrite tags of a Lex resource
     *
     * Access Level: Tagging
     *
     * Possible conditions:
     * - .ifAwsTagKeys()
     * - .ifAwsRequestTag()
     *
     * https://docs.aws.amazon.com/lexv2/latest/dg/API_TagResource.html
     */ public toTagResource ( ) { return this . to ( 'TagResource' ) ; } /**
     * Grants permission to remove tags from a Lex resource
     *
     * Access Level: Tagging
     *
     * Possible conditions:
     * - .ifAwsTagKeys()
     * - .ifAwsRequestTag()
     *
     * https://docs.aws.amazon.com/lexv2/latest/dg/API_UntagResource.html
     */ public toUntagResource ( ) { return this . to ( 'UntagResource' ) ; } /**
     * Grants permission to update an existing bot
     *
     * Access Level: Write
     *
     * https://docs.aws.amazon.com/lexv2/latest/dg/API_UpdateBot.html
     */ public toUpdateBot ( ) { return this . to ( 'UpdateBot' ) ; } /**
     * Grants permission to update an existing bot alias
     *
     * Access Level: Write
     *
     * https://docs.aws.amazon.com/lexv2/latest/dg/API_UpdateBotAlias.html
     */ public toUpdateBotAlias ( ) { return this . to ( 'UpdateBotAlias' ) ; } /**
     * Grants permission to update an existing bot locale
     *
     * Access Level: Write
     *
     * https://docs.aws.amazon.com/lexv2/latest/dg/API_UpdateBotLocale.html
     */ public toUpdateBotLocale ( ) { return this . to ( 'UpdateBotLocale' ) ; } /**
     * Grants permission to update an existing bot recommendation request
     *
     * Access Level: Write
     *
     * https://docs.aws.amazon.com/lexv2/latest/dg/API_UpdateBotRecommendation.html
     */ public toUpdateBotRecommendation ( ) { return this . to ( 'UpdateBotRecommendation' ) ; } /**
     * Grants permission to update an existing custom vocabulary
     *
     * Access Level: Write
     *
     * https://docs.aws.amazon.com/lexv2/latest/dg/vocab.html
     */ public toUpdateCustomVocabulary ( ) { return this . to ( 'UpdateCustomVocabulary' ) ; } /**
     * Grants permission to update an existing export
     *
     * Access Level: Write
     *
     * https://docs.aws.amazon.com/lexv2/latest/dg/API_UpdateExport.html
     */ public toUpdateExport ( ) { return this . to ( 'UpdateExport' ) ; } /**
     * Grants permission to update an existing intent
     *
     * Access Level: Write
     *
     * https://docs.aws.amazon.com/lexv2/latest/dg/API_UpdateIntent.html
     */ public toUpdateIntent ( ) { return this . to ( 'UpdateIntent' ) ; } /**
     * Grants permission to update an existing resource policy for a Lex resource
     *
     * Access Level: Write
     *
     * https://docs.aws.amazon.com/lexv2/latest/dg/API_UpdateResourcePolicy.html
     */ public toUpdateResourcePolicy ( ) { return this . to ( 'UpdateResourcePolicy' ) ; } /**
     * Grants permission to update an existing slot
     *
     * Access Level: Write
     *
     * https://docs.aws.amazon.com/lexv2/latest/dg/API_UpdateSlot.html
     */ public toUpdateSlot ( ) { return this . to ( 'UpdateSlot' ) ; } /**
     * Grants permission to update an existing slot type
     *
     * Access Level: Write
     *
     * https://docs.aws.amazon.com/lexv2/latest/dg/API_UpdateSlotType.html
     */ public toUpdateSlotType ( ) { return this . to ( 'UpdateSlotType' ) ; } protected accessLevelList : AccessLevelList = { Write : [ 'BuildBotLocale' , 'CreateBot' , 'CreateBotAlias' , 'CreateBotChannel' , 'CreateBotLocale' , 'CreateBotVersion' , 'CreateCustomVocabulary' , 'CreateExport' , 'CreateIntent' , 'CreateResourcePolicy' , 'CreateSlot' , 'CreateSlotType' , 'CreateUploadUrl' , 'DeleteBot' , 'DeleteBotAlias' , 'DeleteBotChannel' , 'DeleteBotLocale' , 'DeleteBotVersion' , 'DeleteCustomVocabulary' , 'DeleteExport' , 'DeleteImport' , 'DeleteIntent' , 'DeleteResourcePolicy' , 'DeleteSession' , 'DeleteSlot' , 'DeleteSlotType' , 'DeleteUtterances' , 'PutSession' , 'RecognizeText' , 'RecognizeUtterance' , 'StartBotRecommendation' , 'StartConversation' , 'StartImport' , 'UpdateBot' , 'UpdateBotAlias' , 'UpdateBotLocale' , 'UpdateBotRecommendation' , 'UpdateCustomVocabulary' , 'UpdateExport' , 'UpdateIntent' , 'UpdateResourcePolicy' , 'UpdateSlot' , 'UpdateSlotType' ] , Read : [ 'DescribeBot' , 'DescribeBotAlias' , 'DescribeBotChannel' , 'DescribeBotLocale' , 'DescribeBotRecommendation' , 'DescribeBotVersion' , 'DescribeCustomVocabulary' , 'DescribeCustomVocabularyMetadata' , 'DescribeExport' , 'DescribeImport' , 'DescribeIntent' , 'DescribeResourcePolicy' , 'DescribeSlot' , 'DescribeSlotType' , 'GetSession' , 'ListTagsForResource' ] , List : [ 'ListAggregatedUtterances' , 'ListBotAliases' , 'ListBotChannels' , 'ListBotLocales' , 'ListBotRecommendations' , 'ListBotVersions' , 'ListBots' , 'ListBuiltInIntents' , 'ListBuiltInSlotTypes' , 'ListExports' , 'ListImports' , 'ListIntents' , 'ListRecommendedIntents' , 'ListSlotTypes' , 'ListSlots' , 'SearchAssociatedTranscripts' ] , Tagging : [ 'TagResource' , 'UntagResource' ] } ; param botId param account param region param partition public onBot ( botId , account ? , region ? , partition ? ) { return this . on ( `arn:${ partition || 'aws' }:lex:${ region || '*' }:${ account || '*' }:bot/${ botId }` ) ; } param botId param botAliasId param account param region param partition public onBotAlias ( botId , botAliasId , account ? , region ? , partition ? ) { return this . on ( `arn:${ partition || 'aws' }:lex:${ region || '*' }:${ account || '*' }:bot-alias/${ botId }/${ botAliasId }` ) ; } }