@aws-sdk/client-lex-model-building-service 3.34.0 → 3.37.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +47 -0
- package/{dist/cjs → dist-cjs}/LexModelBuildingService.js +4 -11
- package/{dist/cjs → dist-cjs}/LexModelBuildingServiceClient.js +8 -20
- package/dist-cjs/commands/CreateBotVersionCommand.js +36 -0
- package/dist-cjs/commands/CreateIntentVersionCommand.js +36 -0
- package/dist-cjs/commands/CreateSlotTypeVersionCommand.js +36 -0
- package/dist-cjs/commands/DeleteBotAliasCommand.js +36 -0
- package/{dist/cjs → dist-cjs}/commands/DeleteBotChannelAssociationCommand.js +2 -30
- package/dist-cjs/commands/DeleteBotCommand.js +36 -0
- package/{dist/cjs → dist-cjs}/commands/DeleteBotVersionCommand.js +2 -30
- package/dist-cjs/commands/DeleteIntentCommand.js +36 -0
- package/{dist/cjs → dist-cjs}/commands/DeleteIntentVersionCommand.js +2 -30
- package/dist-cjs/commands/DeleteSlotTypeCommand.js +36 -0
- package/{dist/cjs → dist-cjs}/commands/DeleteSlotTypeVersionCommand.js +2 -30
- package/dist-cjs/commands/DeleteUtterancesCommand.js +36 -0
- package/{dist/cjs → dist-cjs}/commands/GetBotAliasCommand.js +2 -30
- package/{dist/cjs → dist-cjs}/commands/GetBotAliasesCommand.js +2 -29
- package/{dist/cjs → dist-cjs}/commands/GetBotChannelAssociationCommand.js +2 -30
- package/{dist/cjs → dist-cjs}/commands/GetBotChannelAssociationsCommand.js +2 -31
- package/{dist/cjs → dist-cjs}/commands/GetBotCommand.js +2 -30
- package/dist-cjs/commands/GetBotVersionsCommand.js +36 -0
- package/dist-cjs/commands/GetBotsCommand.js +36 -0
- package/{dist/cjs → dist-cjs}/commands/GetBuiltinIntentCommand.js +2 -29
- package/{dist/cjs → dist-cjs}/commands/GetBuiltinIntentsCommand.js +2 -30
- package/{dist/cjs → dist-cjs}/commands/GetBuiltinSlotTypesCommand.js +2 -33
- package/{dist/cjs → dist-cjs}/commands/GetExportCommand.js +2 -28
- package/{dist/cjs → dist-cjs}/commands/GetImportCommand.js +2 -28
- package/{dist/cjs → dist-cjs}/commands/GetIntentCommand.js +2 -30
- package/dist-cjs/commands/GetIntentVersionsCommand.js +36 -0
- package/dist-cjs/commands/GetIntentsCommand.js +36 -0
- package/{dist/cjs → dist-cjs}/commands/GetMigrationCommand.js +2 -29
- package/{dist/cjs → dist-cjs}/commands/GetMigrationsCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/GetSlotTypeCommand.js +2 -31
- package/dist-cjs/commands/GetSlotTypeVersionsCommand.js +36 -0
- package/dist-cjs/commands/GetSlotTypesCommand.js +36 -0
- package/dist-cjs/commands/GetUtterancesViewCommand.js +36 -0
- package/{dist/cjs → dist-cjs}/commands/ListTagsForResourceCommand.js +2 -28
- package/{dist/cjs → dist-cjs}/commands/PutBotAliasCommand.js +2 -32
- package/dist-cjs/commands/PutBotCommand.js +36 -0
- package/dist-cjs/commands/PutIntentCommand.js +36 -0
- package/dist-cjs/commands/PutSlotTypeCommand.js +36 -0
- package/{dist/cjs → dist-cjs}/commands/StartImportCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/StartMigrationCommand.js +2 -30
- package/{dist/cjs → dist-cjs}/commands/TagResourceCommand.js +2 -28
- package/{dist/cjs → dist-cjs}/commands/UntagResourceCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/endpoints.js +1 -2
- package/{dist/cjs → dist-cjs}/index.js +0 -1
- package/{dist/cjs → dist-cjs}/models/index.js +0 -1
- package/{dist/cjs → dist-cjs}/models/models_0.js +0 -352
- package/{dist/cjs → dist-cjs}/pagination/GetBotAliasesPaginator.js +1 -12
- package/{dist/cjs → dist-cjs}/pagination/GetBotChannelAssociationsPaginator.js +1 -12
- package/{dist/cjs → dist-cjs}/pagination/GetBotVersionsPaginator.js +1 -12
- package/{dist/cjs → dist-cjs}/pagination/GetBotsPaginator.js +1 -12
- package/{dist/cjs → dist-cjs}/pagination/GetBuiltinIntentsPaginator.js +1 -12
- package/{dist/cjs → dist-cjs}/pagination/GetBuiltinSlotTypesPaginator.js +1 -12
- package/{dist/cjs → dist-cjs}/pagination/GetIntentVersionsPaginator.js +1 -12
- package/{dist/cjs → dist-cjs}/pagination/GetIntentsPaginator.js +1 -12
- package/{dist/cjs → dist-cjs}/pagination/GetMigrationsPaginator.js +1 -12
- package/{dist/cjs → dist-cjs}/pagination/GetSlotTypeVersionsPaginator.js +1 -12
- package/{dist/cjs → dist-cjs}/pagination/GetSlotTypesPaginator.js +1 -12
- package/{dist/cjs → dist-cjs}/pagination/Interfaces.js +0 -1
- package/{dist/cjs → dist-cjs}/protocols/Aws_restJson1.js +9 -15
- package/{dist/cjs → dist-cjs}/runtimeConfig.browser.js +1 -5
- package/{dist/cjs → dist-cjs}/runtimeConfig.js +1 -5
- package/{dist/cjs → dist-cjs}/runtimeConfig.native.js +0 -4
- package/{dist/cjs → dist-cjs}/runtimeConfig.shared.js +1 -5
- package/{dist/es → dist-es}/LexModelBuildingService.js +4 -5
- package/{dist/es → dist-es}/LexModelBuildingServiceClient.js +1 -2
- package/{dist/es → dist-es}/commands/CreateBotVersionCommand.js +2 -3
- package/{dist/es → dist-es}/commands/CreateIntentVersionCommand.js +2 -3
- package/{dist/es → dist-es}/commands/CreateSlotTypeVersionCommand.js +2 -3
- package/{dist/es → dist-es}/commands/DeleteBotAliasCommand.js +2 -3
- package/{dist/es → dist-es}/commands/DeleteBotChannelAssociationCommand.js +2 -3
- package/{dist/es → dist-es}/commands/DeleteBotCommand.js +2 -3
- package/{dist/es → dist-es}/commands/DeleteBotVersionCommand.js +2 -3
- package/{dist/es → dist-es}/commands/DeleteIntentCommand.js +2 -3
- package/{dist/es → dist-es}/commands/DeleteIntentVersionCommand.js +2 -3
- package/{dist/es → dist-es}/commands/DeleteSlotTypeCommand.js +2 -3
- package/{dist/es → dist-es}/commands/DeleteSlotTypeVersionCommand.js +2 -3
- package/{dist/es → dist-es}/commands/DeleteUtterancesCommand.js +2 -3
- package/{dist/es → dist-es}/commands/GetBotAliasCommand.js +2 -3
- package/{dist/es → dist-es}/commands/GetBotAliasesCommand.js +2 -3
- package/{dist/es → dist-es}/commands/GetBotChannelAssociationCommand.js +2 -3
- package/{dist/es → dist-es}/commands/GetBotChannelAssociationsCommand.js +2 -3
- package/{dist/es → dist-es}/commands/GetBotCommand.js +2 -3
- package/{dist/es → dist-es}/commands/GetBotVersionsCommand.js +2 -3
- package/{dist/es → dist-es}/commands/GetBotsCommand.js +2 -3
- package/{dist/es → dist-es}/commands/GetBuiltinIntentCommand.js +2 -3
- package/{dist/es → dist-es}/commands/GetBuiltinIntentsCommand.js +2 -3
- package/{dist/es → dist-es}/commands/GetBuiltinSlotTypesCommand.js +2 -3
- package/{dist/es → dist-es}/commands/GetExportCommand.js +2 -3
- package/{dist/es → dist-es}/commands/GetImportCommand.js +2 -3
- package/{dist/es → dist-es}/commands/GetIntentCommand.js +2 -3
- package/{dist/es → dist-es}/commands/GetIntentVersionsCommand.js +2 -3
- package/{dist/es → dist-es}/commands/GetIntentsCommand.js +2 -3
- package/{dist/es → dist-es}/commands/GetMigrationCommand.js +2 -3
- package/{dist/es → dist-es}/commands/GetMigrationsCommand.js +2 -3
- package/{dist/es → dist-es}/commands/GetSlotTypeCommand.js +2 -3
- package/{dist/es → dist-es}/commands/GetSlotTypeVersionsCommand.js +2 -3
- package/{dist/es → dist-es}/commands/GetSlotTypesCommand.js +2 -3
- package/{dist/es → dist-es}/commands/GetUtterancesViewCommand.js +2 -3
- package/{dist/es → dist-es}/commands/ListTagsForResourceCommand.js +2 -3
- package/{dist/es → dist-es}/commands/PutBotAliasCommand.js +2 -3
- package/{dist/es → dist-es}/commands/PutBotCommand.js +2 -3
- package/{dist/es → dist-es}/commands/PutIntentCommand.js +2 -3
- package/{dist/es → dist-es}/commands/PutSlotTypeCommand.js +2 -3
- package/{dist/es → dist-es}/commands/StartImportCommand.js +2 -3
- package/{dist/es → dist-es}/commands/StartMigrationCommand.js +2 -3
- package/{dist/es → dist-es}/commands/TagResourceCommand.js +2 -3
- package/{dist/es → dist-es}/commands/UntagResourceCommand.js +2 -3
- package/{dist/es → dist-es}/endpoints.js +1 -2
- package/{dist/types/index.d.ts → dist-es/index.js} +0 -0
- package/{dist/types/models/index.d.ts → dist-es/models/index.js} +0 -0
- package/{dist/es → dist-es}/models/models_0.js +0 -1
- package/{dist/es → dist-es}/pagination/GetBotAliasesPaginator.js +1 -2
- package/{dist/es → dist-es}/pagination/GetBotChannelAssociationsPaginator.js +1 -2
- package/{dist/es → dist-es}/pagination/GetBotVersionsPaginator.js +1 -2
- package/{dist/es → dist-es}/pagination/GetBotsPaginator.js +1 -2
- package/{dist/es → dist-es}/pagination/GetBuiltinIntentsPaginator.js +1 -2
- package/{dist/es → dist-es}/pagination/GetBuiltinSlotTypesPaginator.js +1 -2
- package/{dist/es → dist-es}/pagination/GetIntentVersionsPaginator.js +1 -2
- package/{dist/es → dist-es}/pagination/GetIntentsPaginator.js +1 -2
- package/{dist/es → dist-es}/pagination/GetMigrationsPaginator.js +1 -2
- package/{dist/es → dist-es}/pagination/GetSlotTypeVersionsPaginator.js +1 -2
- package/{dist/es → dist-es}/pagination/GetSlotTypesPaginator.js +1 -2
- package/dist-es/pagination/Interfaces.js +1 -0
- package/{dist/es → dist-es}/protocols/Aws_restJson1.js +0 -1
- package/{dist/es → dist-es}/runtimeConfig.browser.js +1 -2
- package/{dist/es → dist-es}/runtimeConfig.js +1 -2
- package/{dist/es → dist-es}/runtimeConfig.native.js +0 -1
- package/{dist/es → dist-es}/runtimeConfig.shared.js +1 -2
- package/{dist/types → dist-types}/LexModelBuildingService.d.ts +5 -5
- package/{dist/types → dist-types}/LexModelBuildingServiceClient.d.ts +11 -11
- package/{dist/types → dist-types}/commands/CreateBotVersionCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/CreateIntentVersionCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/CreateSlotTypeVersionCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DeleteBotAliasCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DeleteBotChannelAssociationCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DeleteBotCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DeleteBotVersionCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DeleteIntentCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DeleteIntentVersionCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DeleteSlotTypeCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DeleteSlotTypeVersionCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DeleteUtterancesCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/GetBotAliasCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/GetBotAliasesCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/GetBotChannelAssociationCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/GetBotChannelAssociationsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/GetBotCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/GetBotVersionsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/GetBotsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/GetBuiltinIntentCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/GetBuiltinIntentsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/GetBuiltinSlotTypesCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/GetExportCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/GetImportCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/GetIntentCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/GetIntentVersionsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/GetIntentsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/GetMigrationCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/GetMigrationsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/GetSlotTypeCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/GetSlotTypeVersionsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/GetSlotTypesCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/GetUtterancesViewCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ListTagsForResourceCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/PutBotAliasCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/PutBotCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/PutIntentCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/PutSlotTypeCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/StartImportCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/StartMigrationCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/TagResourceCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/UntagResourceCommand.d.ts +2 -2
- package/{dist/types → dist-types}/endpoints.d.ts +0 -0
- package/{index.ts → dist-types/index.d.ts} +0 -0
- package/{models/index.ts → dist-types/models/index.d.ts} +0 -0
- package/{dist/types → dist-types}/models/models_0.d.ts +0 -0
- package/{dist/types → dist-types}/pagination/GetBotAliasesPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/GetBotChannelAssociationsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/GetBotVersionsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/GetBotsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/GetBuiltinIntentsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/GetBuiltinSlotTypesPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/GetIntentVersionsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/GetIntentsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/GetMigrationsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/GetSlotTypeVersionsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/GetSlotTypesPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/Interfaces.d.ts +1 -1
- package/{dist/types → dist-types}/protocols/Aws_restJson1.d.ts +5 -5
- package/{dist/types → dist-types}/runtimeConfig.browser.d.ts +3 -0
- package/{dist/types → dist-types}/runtimeConfig.d.ts +1 -1
- package/{dist/types → dist-types}/runtimeConfig.native.d.ts +0 -0
- package/{dist/types → dist-types}/runtimeConfig.shared.d.ts +0 -0
- package/dist-types/ts3.4/LexModelBuildingService.d.ts +215 -0
- package/{dist/types → dist-types}/ts3.4/LexModelBuildingServiceClient.d.ts +35 -103
- package/dist-types/ts3.4/commands/CreateBotVersionCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateIntentVersionCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateSlotTypeVersionCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteBotAliasCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteBotChannelAssociationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteBotCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteBotVersionCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteIntentCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteIntentVersionCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteSlotTypeCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteSlotTypeVersionCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteUtterancesCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetBotAliasCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetBotAliasesCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetBotChannelAssociationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetBotChannelAssociationsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetBotCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetBotVersionsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetBotsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetBuiltinIntentCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetBuiltinIntentsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetBuiltinSlotTypesCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetExportCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetImportCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetIntentCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetIntentVersionsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetIntentsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetMigrationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetMigrationsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetSlotTypeCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetSlotTypeVersionsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetSlotTypesCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetUtterancesViewCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/PutBotAliasCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/PutBotCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/PutIntentCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/PutSlotTypeCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/StartImportCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/StartMigrationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +17 -0
- package/{dist/types → dist-types}/ts3.4/endpoints.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/index.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/models/index.d.ts +0 -0
- package/dist-types/ts3.4/models/models_0.d.ts +1884 -0
- package/{dist/types → dist-types}/ts3.4/pagination/GetBotAliasesPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/GetBotChannelAssociationsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/GetBotVersionsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/GetBotsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/GetBuiltinIntentsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/GetBuiltinSlotTypesPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/GetIntentVersionsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/GetIntentsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/GetMigrationsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/GetSlotTypeVersionsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/GetSlotTypesPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/Interfaces.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/protocols/Aws_restJson1.d.ts +5 -5
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.browser.d.ts +2 -3
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.d.ts +2 -4
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.native.d.ts +1 -3
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.shared.d.ts +1 -3
- package/package.json +45 -42
- package/LexModelBuildingService.ts +0 -1756
- package/LexModelBuildingServiceClient.ts +0 -394
- package/commands/CreateBotVersionCommand.ts +0 -110
- package/commands/CreateIntentVersionCommand.ts +0 -111
- package/commands/CreateSlotTypeVersionCommand.ts +0 -113
- package/commands/DeleteBotAliasCommand.ts +0 -106
- package/commands/DeleteBotChannelAssociationCommand.ts +0 -104
- package/commands/DeleteBotCommand.ts +0 -114
- package/commands/DeleteBotVersionCommand.ts +0 -101
- package/commands/DeleteIntentCommand.ts +0 -115
- package/commands/DeleteIntentVersionCommand.ts +0 -101
- package/commands/DeleteSlotTypeCommand.ts +0 -114
- package/commands/DeleteSlotTypeVersionCommand.ts +0 -101
- package/commands/DeleteUtterancesCommand.ts +0 -109
- package/commands/GetBotAliasCommand.ts +0 -101
- package/commands/GetBotAliasesCommand.ts +0 -100
- package/commands/GetBotChannelAssociationCommand.ts +0 -101
- package/commands/GetBotChannelAssociationsCommand.ts +0 -105
- package/commands/GetBotCommand.ts +0 -98
- package/commands/GetBotVersionsCommand.ts +0 -108
- package/commands/GetBotsCommand.ts +0 -112
- package/commands/GetBuiltinIntentCommand.ts +0 -100
- package/commands/GetBuiltinIntentsCommand.ts +0 -101
- package/commands/GetBuiltinSlotTypesCommand.ts +0 -104
- package/commands/GetExportCommand.ts +0 -99
- package/commands/GetImportCommand.ts +0 -99
- package/commands/GetIntentCommand.ts +0 -101
- package/commands/GetIntentVersionsCommand.ts +0 -108
- package/commands/GetIntentsCommand.ts +0 -112
- package/commands/GetMigrationCommand.ts +0 -100
- package/commands/GetMigrationsCommand.ts +0 -98
- package/commands/GetSlotTypeCommand.ts +0 -102
- package/commands/GetSlotTypeVersionsCommand.ts +0 -108
- package/commands/GetSlotTypesCommand.ts +0 -112
- package/commands/GetUtterancesViewCommand.ts +0 -121
- package/commands/ListTagsForResourceCommand.ts +0 -99
- package/commands/PutBotAliasCommand.ts +0 -103
- package/commands/PutBotCommand.ts +0 -112
- package/commands/PutIntentCommand.ts +0 -155
- package/commands/PutSlotTypeCommand.ts +0 -113
- package/commands/StartImportCommand.ts +0 -98
- package/commands/StartMigrationCommand.ts +0 -101
- package/commands/TagResourceCommand.ts +0 -99
- package/commands/UntagResourceCommand.ts +0 -98
- package/dist/cjs/LexModelBuildingService.js.map +0 -1
- package/dist/cjs/LexModelBuildingServiceClient.js.map +0 -1
- package/dist/cjs/commands/CreateBotVersionCommand.js +0 -73
- package/dist/cjs/commands/CreateBotVersionCommand.js.map +0 -1
- package/dist/cjs/commands/CreateIntentVersionCommand.js +0 -74
- package/dist/cjs/commands/CreateIntentVersionCommand.js.map +0 -1
- package/dist/cjs/commands/CreateSlotTypeVersionCommand.js +0 -76
- package/dist/cjs/commands/CreateSlotTypeVersionCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteBotAliasCommand.js +0 -69
- package/dist/cjs/commands/DeleteBotAliasCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteBotChannelAssociationCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteBotCommand.js +0 -77
- package/dist/cjs/commands/DeleteBotCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteBotVersionCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteIntentCommand.js +0 -78
- package/dist/cjs/commands/DeleteIntentCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteIntentVersionCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteSlotTypeCommand.js +0 -77
- package/dist/cjs/commands/DeleteSlotTypeCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteSlotTypeVersionCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteUtterancesCommand.js +0 -72
- package/dist/cjs/commands/DeleteUtterancesCommand.js.map +0 -1
- package/dist/cjs/commands/GetBotAliasCommand.js.map +0 -1
- package/dist/cjs/commands/GetBotAliasesCommand.js.map +0 -1
- package/dist/cjs/commands/GetBotChannelAssociationCommand.js.map +0 -1
- package/dist/cjs/commands/GetBotChannelAssociationsCommand.js.map +0 -1
- package/dist/cjs/commands/GetBotCommand.js.map +0 -1
- package/dist/cjs/commands/GetBotVersionsCommand.js +0 -71
- package/dist/cjs/commands/GetBotVersionsCommand.js.map +0 -1
- package/dist/cjs/commands/GetBotsCommand.js +0 -75
- package/dist/cjs/commands/GetBotsCommand.js.map +0 -1
- package/dist/cjs/commands/GetBuiltinIntentCommand.js.map +0 -1
- package/dist/cjs/commands/GetBuiltinIntentsCommand.js.map +0 -1
- package/dist/cjs/commands/GetBuiltinSlotTypesCommand.js.map +0 -1
- package/dist/cjs/commands/GetExportCommand.js.map +0 -1
- package/dist/cjs/commands/GetImportCommand.js.map +0 -1
- package/dist/cjs/commands/GetIntentCommand.js.map +0 -1
- package/dist/cjs/commands/GetIntentVersionsCommand.js +0 -71
- package/dist/cjs/commands/GetIntentVersionsCommand.js.map +0 -1
- package/dist/cjs/commands/GetIntentsCommand.js +0 -75
- package/dist/cjs/commands/GetIntentsCommand.js.map +0 -1
- package/dist/cjs/commands/GetMigrationCommand.js.map +0 -1
- package/dist/cjs/commands/GetMigrationsCommand.js.map +0 -1
- package/dist/cjs/commands/GetSlotTypeCommand.js.map +0 -1
- package/dist/cjs/commands/GetSlotTypeVersionsCommand.js +0 -71
- package/dist/cjs/commands/GetSlotTypeVersionsCommand.js.map +0 -1
- package/dist/cjs/commands/GetSlotTypesCommand.js +0 -75
- package/dist/cjs/commands/GetSlotTypesCommand.js.map +0 -1
- package/dist/cjs/commands/GetUtterancesViewCommand.js +0 -84
- package/dist/cjs/commands/GetUtterancesViewCommand.js.map +0 -1
- package/dist/cjs/commands/ListTagsForResourceCommand.js.map +0 -1
- package/dist/cjs/commands/PutBotAliasCommand.js.map +0 -1
- package/dist/cjs/commands/PutBotCommand.js +0 -78
- package/dist/cjs/commands/PutBotCommand.js.map +0 -1
- package/dist/cjs/commands/PutIntentCommand.js +0 -118
- package/dist/cjs/commands/PutIntentCommand.js.map +0 -1
- package/dist/cjs/commands/PutSlotTypeCommand.js +0 -76
- package/dist/cjs/commands/PutSlotTypeCommand.js.map +0 -1
- package/dist/cjs/commands/StartImportCommand.js.map +0 -1
- package/dist/cjs/commands/StartMigrationCommand.js.map +0 -1
- package/dist/cjs/commands/TagResourceCommand.js.map +0 -1
- package/dist/cjs/commands/UntagResourceCommand.js.map +0 -1
- package/dist/cjs/endpoints.js.map +0 -1
- package/dist/cjs/index.js.map +0 -1
- package/dist/cjs/models/index.js.map +0 -1
- package/dist/cjs/models/models_0.js.map +0 -1
- package/dist/cjs/package.json +0 -91
- package/dist/cjs/pagination/GetBotAliasesPaginator.js.map +0 -1
- package/dist/cjs/pagination/GetBotChannelAssociationsPaginator.js.map +0 -1
- package/dist/cjs/pagination/GetBotVersionsPaginator.js.map +0 -1
- package/dist/cjs/pagination/GetBotsPaginator.js.map +0 -1
- package/dist/cjs/pagination/GetBuiltinIntentsPaginator.js.map +0 -1
- package/dist/cjs/pagination/GetBuiltinSlotTypesPaginator.js.map +0 -1
- package/dist/cjs/pagination/GetIntentVersionsPaginator.js.map +0 -1
- package/dist/cjs/pagination/GetIntentsPaginator.js.map +0 -1
- package/dist/cjs/pagination/GetMigrationsPaginator.js.map +0 -1
- package/dist/cjs/pagination/GetSlotTypeVersionsPaginator.js.map +0 -1
- package/dist/cjs/pagination/GetSlotTypesPaginator.js.map +0 -1
- package/dist/cjs/pagination/Interfaces.js.map +0 -1
- package/dist/cjs/protocols/Aws_restJson1.js.map +0 -1
- package/dist/cjs/runtimeConfig.browser.js.map +0 -1
- package/dist/cjs/runtimeConfig.js.map +0 -1
- package/dist/cjs/runtimeConfig.native.js.map +0 -1
- package/dist/cjs/runtimeConfig.shared.js.map +0 -1
- package/dist/es/LexModelBuildingService.js.map +0 -1
- package/dist/es/LexModelBuildingServiceClient.js.map +0 -1
- package/dist/es/commands/CreateBotVersionCommand.js.map +0 -1
- package/dist/es/commands/CreateIntentVersionCommand.js.map +0 -1
- package/dist/es/commands/CreateSlotTypeVersionCommand.js.map +0 -1
- package/dist/es/commands/DeleteBotAliasCommand.js.map +0 -1
- package/dist/es/commands/DeleteBotChannelAssociationCommand.js.map +0 -1
- package/dist/es/commands/DeleteBotCommand.js.map +0 -1
- package/dist/es/commands/DeleteBotVersionCommand.js.map +0 -1
- package/dist/es/commands/DeleteIntentCommand.js.map +0 -1
- package/dist/es/commands/DeleteIntentVersionCommand.js.map +0 -1
- package/dist/es/commands/DeleteSlotTypeCommand.js.map +0 -1
- package/dist/es/commands/DeleteSlotTypeVersionCommand.js.map +0 -1
- package/dist/es/commands/DeleteUtterancesCommand.js.map +0 -1
- package/dist/es/commands/GetBotAliasCommand.js.map +0 -1
- package/dist/es/commands/GetBotAliasesCommand.js.map +0 -1
- package/dist/es/commands/GetBotChannelAssociationCommand.js.map +0 -1
- package/dist/es/commands/GetBotChannelAssociationsCommand.js.map +0 -1
- package/dist/es/commands/GetBotCommand.js.map +0 -1
- package/dist/es/commands/GetBotVersionsCommand.js.map +0 -1
- package/dist/es/commands/GetBotsCommand.js.map +0 -1
- package/dist/es/commands/GetBuiltinIntentCommand.js.map +0 -1
- package/dist/es/commands/GetBuiltinIntentsCommand.js.map +0 -1
- package/dist/es/commands/GetBuiltinSlotTypesCommand.js.map +0 -1
- package/dist/es/commands/GetExportCommand.js.map +0 -1
- package/dist/es/commands/GetImportCommand.js.map +0 -1
- package/dist/es/commands/GetIntentCommand.js.map +0 -1
- package/dist/es/commands/GetIntentVersionsCommand.js.map +0 -1
- package/dist/es/commands/GetIntentsCommand.js.map +0 -1
- package/dist/es/commands/GetMigrationCommand.js.map +0 -1
- package/dist/es/commands/GetMigrationsCommand.js.map +0 -1
- package/dist/es/commands/GetSlotTypeCommand.js.map +0 -1
- package/dist/es/commands/GetSlotTypeVersionsCommand.js.map +0 -1
- package/dist/es/commands/GetSlotTypesCommand.js.map +0 -1
- package/dist/es/commands/GetUtterancesViewCommand.js.map +0 -1
- package/dist/es/commands/ListTagsForResourceCommand.js.map +0 -1
- package/dist/es/commands/PutBotAliasCommand.js.map +0 -1
- package/dist/es/commands/PutBotCommand.js.map +0 -1
- package/dist/es/commands/PutIntentCommand.js.map +0 -1
- package/dist/es/commands/PutSlotTypeCommand.js.map +0 -1
- package/dist/es/commands/StartImportCommand.js.map +0 -1
- package/dist/es/commands/StartMigrationCommand.js.map +0 -1
- package/dist/es/commands/TagResourceCommand.js.map +0 -1
- package/dist/es/commands/UntagResourceCommand.js.map +0 -1
- package/dist/es/endpoints.js.map +0 -1
- package/dist/es/index.js +0 -58
- package/dist/es/index.js.map +0 -1
- package/dist/es/models/index.js +0 -2
- package/dist/es/models/index.js.map +0 -1
- package/dist/es/models/models_0.js.map +0 -1
- package/dist/es/package.json +0 -91
- package/dist/es/pagination/GetBotAliasesPaginator.js.map +0 -1
- package/dist/es/pagination/GetBotChannelAssociationsPaginator.js.map +0 -1
- package/dist/es/pagination/GetBotVersionsPaginator.js.map +0 -1
- package/dist/es/pagination/GetBotsPaginator.js.map +0 -1
- package/dist/es/pagination/GetBuiltinIntentsPaginator.js.map +0 -1
- package/dist/es/pagination/GetBuiltinSlotTypesPaginator.js.map +0 -1
- package/dist/es/pagination/GetIntentVersionsPaginator.js.map +0 -1
- package/dist/es/pagination/GetIntentsPaginator.js.map +0 -1
- package/dist/es/pagination/GetMigrationsPaginator.js.map +0 -1
- package/dist/es/pagination/GetSlotTypeVersionsPaginator.js.map +0 -1
- package/dist/es/pagination/GetSlotTypesPaginator.js.map +0 -1
- package/dist/es/pagination/Interfaces.js +0 -2
- package/dist/es/pagination/Interfaces.js.map +0 -1
- package/dist/es/protocols/Aws_restJson1.js.map +0 -1
- package/dist/es/runtimeConfig.browser.js.map +0 -1
- package/dist/es/runtimeConfig.js.map +0 -1
- package/dist/es/runtimeConfig.native.js.map +0 -1
- package/dist/es/runtimeConfig.shared.js.map +0 -1
- package/dist/types/ts3.4/LexModelBuildingService.d.ts +0 -655
- package/dist/types/ts3.4/commands/CreateBotVersionCommand.d.ts +0 -47
- package/dist/types/ts3.4/commands/CreateIntentVersionCommand.d.ts +0 -48
- package/dist/types/ts3.4/commands/CreateSlotTypeVersionCommand.d.ts +0 -50
- package/dist/types/ts3.4/commands/DeleteBotAliasCommand.d.ts +0 -43
- package/dist/types/ts3.4/commands/DeleteBotChannelAssociationCommand.d.ts +0 -38
- package/dist/types/ts3.4/commands/DeleteBotCommand.d.ts +0 -51
- package/dist/types/ts3.4/commands/DeleteBotVersionCommand.d.ts +0 -38
- package/dist/types/ts3.4/commands/DeleteIntentCommand.d.ts +0 -52
- package/dist/types/ts3.4/commands/DeleteIntentVersionCommand.d.ts +0 -38
- package/dist/types/ts3.4/commands/DeleteSlotTypeCommand.d.ts +0 -51
- package/dist/types/ts3.4/commands/DeleteSlotTypeVersionCommand.d.ts +0 -38
- package/dist/types/ts3.4/commands/DeleteUtterancesCommand.d.ts +0 -46
- package/dist/types/ts3.4/commands/GetBotAliasCommand.d.ts +0 -38
- package/dist/types/ts3.4/commands/GetBotAliasesCommand.d.ts +0 -37
- package/dist/types/ts3.4/commands/GetBotChannelAssociationCommand.d.ts +0 -38
- package/dist/types/ts3.4/commands/GetBotChannelAssociationsCommand.d.ts +0 -39
- package/dist/types/ts3.4/commands/GetBotCommand.d.ts +0 -38
- package/dist/types/ts3.4/commands/GetBotVersionsCommand.d.ts +0 -45
- package/dist/types/ts3.4/commands/GetBotsCommand.d.ts +0 -49
- package/dist/types/ts3.4/commands/GetBuiltinIntentCommand.d.ts +0 -37
- package/dist/types/ts3.4/commands/GetBuiltinIntentsCommand.d.ts +0 -38
- package/dist/types/ts3.4/commands/GetBuiltinSlotTypesCommand.d.ts +0 -41
- package/dist/types/ts3.4/commands/GetExportCommand.d.ts +0 -36
- package/dist/types/ts3.4/commands/GetImportCommand.d.ts +0 -36
- package/dist/types/ts3.4/commands/GetIntentCommand.d.ts +0 -38
- package/dist/types/ts3.4/commands/GetIntentVersionsCommand.d.ts +0 -45
- package/dist/types/ts3.4/commands/GetIntentsCommand.d.ts +0 -49
- package/dist/types/ts3.4/commands/GetMigrationCommand.d.ts +0 -37
- package/dist/types/ts3.4/commands/GetMigrationsCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/GetSlotTypeCommand.d.ts +0 -39
- package/dist/types/ts3.4/commands/GetSlotTypeVersionsCommand.d.ts +0 -45
- package/dist/types/ts3.4/commands/GetSlotTypesCommand.d.ts +0 -49
- package/dist/types/ts3.4/commands/GetUtterancesViewCommand.d.ts +0 -58
- package/dist/types/ts3.4/commands/ListTagsForResourceCommand.d.ts +0 -36
- package/dist/types/ts3.4/commands/PutBotAliasCommand.d.ts +0 -40
- package/dist/types/ts3.4/commands/PutBotCommand.d.ts +0 -52
- package/dist/types/ts3.4/commands/PutIntentCommand.d.ts +0 -92
- package/dist/types/ts3.4/commands/PutSlotTypeCommand.d.ts +0 -50
- package/dist/types/ts3.4/commands/StartImportCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/StartMigrationCommand.d.ts +0 -38
- package/dist/types/ts3.4/commands/TagResourceCommand.d.ts +0 -36
- package/dist/types/ts3.4/commands/UntagResourceCommand.d.ts +0 -35
- package/dist/types/ts3.4/models/models_0.d.ts +0 -4362
- package/endpoints.ts +0 -72
- package/jest.config.js +0 -4
- package/models/models_0.ts +0 -5241
- package/pagination/GetBotAliasesPaginator.ts +0 -58
- package/pagination/GetBotChannelAssociationsPaginator.ts +0 -58
- package/pagination/GetBotVersionsPaginator.ts +0 -58
- package/pagination/GetBotsPaginator.ts +0 -54
- package/pagination/GetBuiltinIntentsPaginator.ts +0 -58
- package/pagination/GetBuiltinSlotTypesPaginator.ts +0 -58
- package/pagination/GetIntentVersionsPaginator.ts +0 -58
- package/pagination/GetIntentsPaginator.ts +0 -54
- package/pagination/GetMigrationsPaginator.ts +0 -58
- package/pagination/GetSlotTypeVersionsPaginator.ts +0 -58
- package/pagination/GetSlotTypesPaginator.ts +0 -58
- package/pagination/Interfaces.ts +0 -7
- package/protocols/Aws_restJson1.ts +0 -7154
- package/runtimeConfig.browser.ts +0 -40
- package/runtimeConfig.native.ts +0 -16
- package/runtimeConfig.shared.ts +0 -16
- package/runtimeConfig.ts +0 -45
- package/tsconfig.es.json +0 -10
- package/tsconfig.json +0 -31
- package/tsconfig.types.json +0 -8
|
@@ -1,101 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
LexModelBuildingServiceClientResolvedConfig,
|
|
3
|
-
ServiceInputTypes,
|
|
4
|
-
ServiceOutputTypes,
|
|
5
|
-
} from "../LexModelBuildingServiceClient";
|
|
6
|
-
import { GetBotChannelAssociationRequest, GetBotChannelAssociationResponse } from "../models/models_0";
|
|
7
|
-
import {
|
|
8
|
-
deserializeAws_restJson1GetBotChannelAssociationCommand,
|
|
9
|
-
serializeAws_restJson1GetBotChannelAssociationCommand,
|
|
10
|
-
} from "../protocols/Aws_restJson1";
|
|
11
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
12
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
13
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
14
|
-
import {
|
|
15
|
-
FinalizeHandlerArguments,
|
|
16
|
-
Handler,
|
|
17
|
-
HandlerExecutionContext,
|
|
18
|
-
MiddlewareStack,
|
|
19
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
20
|
-
MetadataBearer as __MetadataBearer,
|
|
21
|
-
SerdeContext as __SerdeContext,
|
|
22
|
-
} from "@aws-sdk/types";
|
|
23
|
-
|
|
24
|
-
export interface GetBotChannelAssociationCommandInput extends GetBotChannelAssociationRequest {}
|
|
25
|
-
export interface GetBotChannelAssociationCommandOutput extends GetBotChannelAssociationResponse, __MetadataBearer {}
|
|
26
|
-
|
|
27
|
-
/**
|
|
28
|
-
* <p>Returns information about the association between an Amazon Lex bot and
|
|
29
|
-
* a messaging platform.</p>
|
|
30
|
-
* <p>This operation requires permissions for the
|
|
31
|
-
* <code>lex:GetBotChannelAssociation</code> action.</p>
|
|
32
|
-
* @example
|
|
33
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
34
|
-
* ```javascript
|
|
35
|
-
* import { LexModelBuildingServiceClient, GetBotChannelAssociationCommand } from "@aws-sdk/client-lex-model-building-service"; // ES Modules import
|
|
36
|
-
* // const { LexModelBuildingServiceClient, GetBotChannelAssociationCommand } = require("@aws-sdk/client-lex-model-building-service"); // CommonJS import
|
|
37
|
-
* const client = new LexModelBuildingServiceClient(config);
|
|
38
|
-
* const command = new GetBotChannelAssociationCommand(input);
|
|
39
|
-
* const response = await client.send(command);
|
|
40
|
-
* ```
|
|
41
|
-
*
|
|
42
|
-
* @see {@link GetBotChannelAssociationCommandInput} for command's `input` shape.
|
|
43
|
-
* @see {@link GetBotChannelAssociationCommandOutput} for command's `response` shape.
|
|
44
|
-
* @see {@link LexModelBuildingServiceClientResolvedConfig | config} for command's `input` shape.
|
|
45
|
-
*
|
|
46
|
-
*/
|
|
47
|
-
export class GetBotChannelAssociationCommand extends $Command<
|
|
48
|
-
GetBotChannelAssociationCommandInput,
|
|
49
|
-
GetBotChannelAssociationCommandOutput,
|
|
50
|
-
LexModelBuildingServiceClientResolvedConfig
|
|
51
|
-
> {
|
|
52
|
-
// Start section: command_properties
|
|
53
|
-
// End section: command_properties
|
|
54
|
-
|
|
55
|
-
constructor(readonly input: GetBotChannelAssociationCommandInput) {
|
|
56
|
-
// Start section: command_constructor
|
|
57
|
-
super();
|
|
58
|
-
// End section: command_constructor
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
/**
|
|
62
|
-
* @internal
|
|
63
|
-
*/
|
|
64
|
-
resolveMiddleware(
|
|
65
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
66
|
-
configuration: LexModelBuildingServiceClientResolvedConfig,
|
|
67
|
-
options?: __HttpHandlerOptions
|
|
68
|
-
): Handler<GetBotChannelAssociationCommandInput, GetBotChannelAssociationCommandOutput> {
|
|
69
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
70
|
-
|
|
71
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
72
|
-
|
|
73
|
-
const { logger } = configuration;
|
|
74
|
-
const clientName = "LexModelBuildingServiceClient";
|
|
75
|
-
const commandName = "GetBotChannelAssociationCommand";
|
|
76
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
77
|
-
logger,
|
|
78
|
-
clientName,
|
|
79
|
-
commandName,
|
|
80
|
-
inputFilterSensitiveLog: GetBotChannelAssociationRequest.filterSensitiveLog,
|
|
81
|
-
outputFilterSensitiveLog: GetBotChannelAssociationResponse.filterSensitiveLog,
|
|
82
|
-
};
|
|
83
|
-
const { requestHandler } = configuration;
|
|
84
|
-
return stack.resolve(
|
|
85
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
86
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
87
|
-
handlerExecutionContext
|
|
88
|
-
);
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
private serialize(input: GetBotChannelAssociationCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
92
|
-
return serializeAws_restJson1GetBotChannelAssociationCommand(input, context);
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<GetBotChannelAssociationCommandOutput> {
|
|
96
|
-
return deserializeAws_restJson1GetBotChannelAssociationCommand(output, context);
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
// Start section: command_body_extra
|
|
100
|
-
// End section: command_body_extra
|
|
101
|
-
}
|
|
@@ -1,105 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
LexModelBuildingServiceClientResolvedConfig,
|
|
3
|
-
ServiceInputTypes,
|
|
4
|
-
ServiceOutputTypes,
|
|
5
|
-
} from "../LexModelBuildingServiceClient";
|
|
6
|
-
import { GetBotChannelAssociationsRequest, GetBotChannelAssociationsResponse } from "../models/models_0";
|
|
7
|
-
import {
|
|
8
|
-
deserializeAws_restJson1GetBotChannelAssociationsCommand,
|
|
9
|
-
serializeAws_restJson1GetBotChannelAssociationsCommand,
|
|
10
|
-
} from "../protocols/Aws_restJson1";
|
|
11
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
12
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
13
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
14
|
-
import {
|
|
15
|
-
FinalizeHandlerArguments,
|
|
16
|
-
Handler,
|
|
17
|
-
HandlerExecutionContext,
|
|
18
|
-
MiddlewareStack,
|
|
19
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
20
|
-
MetadataBearer as __MetadataBearer,
|
|
21
|
-
SerdeContext as __SerdeContext,
|
|
22
|
-
} from "@aws-sdk/types";
|
|
23
|
-
|
|
24
|
-
export interface GetBotChannelAssociationsCommandInput extends GetBotChannelAssociationsRequest {}
|
|
25
|
-
export interface GetBotChannelAssociationsCommandOutput extends GetBotChannelAssociationsResponse, __MetadataBearer {}
|
|
26
|
-
|
|
27
|
-
/**
|
|
28
|
-
* <p> Returns a list of all of the channels associated with the
|
|
29
|
-
* specified bot. </p>
|
|
30
|
-
* <p>The <code>GetBotChannelAssociations</code> operation requires
|
|
31
|
-
* permissions for the <code>lex:GetBotChannelAssociations</code>
|
|
32
|
-
* action.</p>
|
|
33
|
-
* @example
|
|
34
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
35
|
-
* ```javascript
|
|
36
|
-
* import { LexModelBuildingServiceClient, GetBotChannelAssociationsCommand } from "@aws-sdk/client-lex-model-building-service"; // ES Modules import
|
|
37
|
-
* // const { LexModelBuildingServiceClient, GetBotChannelAssociationsCommand } = require("@aws-sdk/client-lex-model-building-service"); // CommonJS import
|
|
38
|
-
* const client = new LexModelBuildingServiceClient(config);
|
|
39
|
-
* const command = new GetBotChannelAssociationsCommand(input);
|
|
40
|
-
* const response = await client.send(command);
|
|
41
|
-
* ```
|
|
42
|
-
*
|
|
43
|
-
* @see {@link GetBotChannelAssociationsCommandInput} for command's `input` shape.
|
|
44
|
-
* @see {@link GetBotChannelAssociationsCommandOutput} for command's `response` shape.
|
|
45
|
-
* @see {@link LexModelBuildingServiceClientResolvedConfig | config} for command's `input` shape.
|
|
46
|
-
*
|
|
47
|
-
*/
|
|
48
|
-
export class GetBotChannelAssociationsCommand extends $Command<
|
|
49
|
-
GetBotChannelAssociationsCommandInput,
|
|
50
|
-
GetBotChannelAssociationsCommandOutput,
|
|
51
|
-
LexModelBuildingServiceClientResolvedConfig
|
|
52
|
-
> {
|
|
53
|
-
// Start section: command_properties
|
|
54
|
-
// End section: command_properties
|
|
55
|
-
|
|
56
|
-
constructor(readonly input: GetBotChannelAssociationsCommandInput) {
|
|
57
|
-
// Start section: command_constructor
|
|
58
|
-
super();
|
|
59
|
-
// End section: command_constructor
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
/**
|
|
63
|
-
* @internal
|
|
64
|
-
*/
|
|
65
|
-
resolveMiddleware(
|
|
66
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
67
|
-
configuration: LexModelBuildingServiceClientResolvedConfig,
|
|
68
|
-
options?: __HttpHandlerOptions
|
|
69
|
-
): Handler<GetBotChannelAssociationsCommandInput, GetBotChannelAssociationsCommandOutput> {
|
|
70
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
71
|
-
|
|
72
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
73
|
-
|
|
74
|
-
const { logger } = configuration;
|
|
75
|
-
const clientName = "LexModelBuildingServiceClient";
|
|
76
|
-
const commandName = "GetBotChannelAssociationsCommand";
|
|
77
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
78
|
-
logger,
|
|
79
|
-
clientName,
|
|
80
|
-
commandName,
|
|
81
|
-
inputFilterSensitiveLog: GetBotChannelAssociationsRequest.filterSensitiveLog,
|
|
82
|
-
outputFilterSensitiveLog: GetBotChannelAssociationsResponse.filterSensitiveLog,
|
|
83
|
-
};
|
|
84
|
-
const { requestHandler } = configuration;
|
|
85
|
-
return stack.resolve(
|
|
86
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
87
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
88
|
-
handlerExecutionContext
|
|
89
|
-
);
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
private serialize(input: GetBotChannelAssociationsCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
93
|
-
return serializeAws_restJson1GetBotChannelAssociationsCommand(input, context);
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
private deserialize(
|
|
97
|
-
output: __HttpResponse,
|
|
98
|
-
context: __SerdeContext
|
|
99
|
-
): Promise<GetBotChannelAssociationsCommandOutput> {
|
|
100
|
-
return deserializeAws_restJson1GetBotChannelAssociationsCommand(output, context);
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
// Start section: command_body_extra
|
|
104
|
-
// End section: command_body_extra
|
|
105
|
-
}
|
|
@@ -1,98 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
LexModelBuildingServiceClientResolvedConfig,
|
|
3
|
-
ServiceInputTypes,
|
|
4
|
-
ServiceOutputTypes,
|
|
5
|
-
} from "../LexModelBuildingServiceClient";
|
|
6
|
-
import { GetBotRequest, GetBotResponse } from "../models/models_0";
|
|
7
|
-
import { deserializeAws_restJson1GetBotCommand, serializeAws_restJson1GetBotCommand } from "../protocols/Aws_restJson1";
|
|
8
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
9
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
10
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
11
|
-
import {
|
|
12
|
-
FinalizeHandlerArguments,
|
|
13
|
-
Handler,
|
|
14
|
-
HandlerExecutionContext,
|
|
15
|
-
MiddlewareStack,
|
|
16
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
17
|
-
MetadataBearer as __MetadataBearer,
|
|
18
|
-
SerdeContext as __SerdeContext,
|
|
19
|
-
} from "@aws-sdk/types";
|
|
20
|
-
|
|
21
|
-
export interface GetBotCommandInput extends GetBotRequest {}
|
|
22
|
-
export interface GetBotCommandOutput extends GetBotResponse, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Returns metadata information for a specific bot. You must provide
|
|
26
|
-
* the bot name and the bot version or alias. </p>
|
|
27
|
-
* <p> This operation requires permissions for the
|
|
28
|
-
* <code>lex:GetBot</code> action. </p>
|
|
29
|
-
* @example
|
|
30
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
31
|
-
* ```javascript
|
|
32
|
-
* import { LexModelBuildingServiceClient, GetBotCommand } from "@aws-sdk/client-lex-model-building-service"; // ES Modules import
|
|
33
|
-
* // const { LexModelBuildingServiceClient, GetBotCommand } = require("@aws-sdk/client-lex-model-building-service"); // CommonJS import
|
|
34
|
-
* const client = new LexModelBuildingServiceClient(config);
|
|
35
|
-
* const command = new GetBotCommand(input);
|
|
36
|
-
* const response = await client.send(command);
|
|
37
|
-
* ```
|
|
38
|
-
*
|
|
39
|
-
* @see {@link GetBotCommandInput} for command's `input` shape.
|
|
40
|
-
* @see {@link GetBotCommandOutput} for command's `response` shape.
|
|
41
|
-
* @see {@link LexModelBuildingServiceClientResolvedConfig | config} for command's `input` shape.
|
|
42
|
-
*
|
|
43
|
-
*/
|
|
44
|
-
export class GetBotCommand extends $Command<
|
|
45
|
-
GetBotCommandInput,
|
|
46
|
-
GetBotCommandOutput,
|
|
47
|
-
LexModelBuildingServiceClientResolvedConfig
|
|
48
|
-
> {
|
|
49
|
-
// Start section: command_properties
|
|
50
|
-
// End section: command_properties
|
|
51
|
-
|
|
52
|
-
constructor(readonly input: GetBotCommandInput) {
|
|
53
|
-
// Start section: command_constructor
|
|
54
|
-
super();
|
|
55
|
-
// End section: command_constructor
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
/**
|
|
59
|
-
* @internal
|
|
60
|
-
*/
|
|
61
|
-
resolveMiddleware(
|
|
62
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
63
|
-
configuration: LexModelBuildingServiceClientResolvedConfig,
|
|
64
|
-
options?: __HttpHandlerOptions
|
|
65
|
-
): Handler<GetBotCommandInput, GetBotCommandOutput> {
|
|
66
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
67
|
-
|
|
68
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
69
|
-
|
|
70
|
-
const { logger } = configuration;
|
|
71
|
-
const clientName = "LexModelBuildingServiceClient";
|
|
72
|
-
const commandName = "GetBotCommand";
|
|
73
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
74
|
-
logger,
|
|
75
|
-
clientName,
|
|
76
|
-
commandName,
|
|
77
|
-
inputFilterSensitiveLog: GetBotRequest.filterSensitiveLog,
|
|
78
|
-
outputFilterSensitiveLog: GetBotResponse.filterSensitiveLog,
|
|
79
|
-
};
|
|
80
|
-
const { requestHandler } = configuration;
|
|
81
|
-
return stack.resolve(
|
|
82
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
83
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
84
|
-
handlerExecutionContext
|
|
85
|
-
);
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
private serialize(input: GetBotCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
89
|
-
return serializeAws_restJson1GetBotCommand(input, context);
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<GetBotCommandOutput> {
|
|
93
|
-
return deserializeAws_restJson1GetBotCommand(output, context);
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
// Start section: command_body_extra
|
|
97
|
-
// End section: command_body_extra
|
|
98
|
-
}
|
|
@@ -1,108 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
LexModelBuildingServiceClientResolvedConfig,
|
|
3
|
-
ServiceInputTypes,
|
|
4
|
-
ServiceOutputTypes,
|
|
5
|
-
} from "../LexModelBuildingServiceClient";
|
|
6
|
-
import { GetBotVersionsRequest, GetBotVersionsResponse } from "../models/models_0";
|
|
7
|
-
import {
|
|
8
|
-
deserializeAws_restJson1GetBotVersionsCommand,
|
|
9
|
-
serializeAws_restJson1GetBotVersionsCommand,
|
|
10
|
-
} from "../protocols/Aws_restJson1";
|
|
11
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
12
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
13
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
14
|
-
import {
|
|
15
|
-
FinalizeHandlerArguments,
|
|
16
|
-
Handler,
|
|
17
|
-
HandlerExecutionContext,
|
|
18
|
-
MiddlewareStack,
|
|
19
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
20
|
-
MetadataBearer as __MetadataBearer,
|
|
21
|
-
SerdeContext as __SerdeContext,
|
|
22
|
-
} from "@aws-sdk/types";
|
|
23
|
-
|
|
24
|
-
export interface GetBotVersionsCommandInput extends GetBotVersionsRequest {}
|
|
25
|
-
export interface GetBotVersionsCommandOutput extends GetBotVersionsResponse, __MetadataBearer {}
|
|
26
|
-
|
|
27
|
-
/**
|
|
28
|
-
* <p>Gets information about all of the versions of a bot.</p>
|
|
29
|
-
* <p>The <code>GetBotVersions</code> operation returns a
|
|
30
|
-
* <code>BotMetadata</code> object for each version of a bot. For example,
|
|
31
|
-
* if a bot has three numbered versions, the <code>GetBotVersions</code>
|
|
32
|
-
* operation returns four <code>BotMetadata</code> objects in the response,
|
|
33
|
-
* one for each numbered version and one for the <code>$LATEST</code>
|
|
34
|
-
* version. </p>
|
|
35
|
-
* <p>The <code>GetBotVersions</code> operation always returns at least
|
|
36
|
-
* one version, the <code>$LATEST</code> version.</p>
|
|
37
|
-
* <p>This operation requires permissions for the
|
|
38
|
-
* <code>lex:GetBotVersions</code> action.</p>
|
|
39
|
-
* @example
|
|
40
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
41
|
-
* ```javascript
|
|
42
|
-
* import { LexModelBuildingServiceClient, GetBotVersionsCommand } from "@aws-sdk/client-lex-model-building-service"; // ES Modules import
|
|
43
|
-
* // const { LexModelBuildingServiceClient, GetBotVersionsCommand } = require("@aws-sdk/client-lex-model-building-service"); // CommonJS import
|
|
44
|
-
* const client = new LexModelBuildingServiceClient(config);
|
|
45
|
-
* const command = new GetBotVersionsCommand(input);
|
|
46
|
-
* const response = await client.send(command);
|
|
47
|
-
* ```
|
|
48
|
-
*
|
|
49
|
-
* @see {@link GetBotVersionsCommandInput} for command's `input` shape.
|
|
50
|
-
* @see {@link GetBotVersionsCommandOutput} for command's `response` shape.
|
|
51
|
-
* @see {@link LexModelBuildingServiceClientResolvedConfig | config} for command's `input` shape.
|
|
52
|
-
*
|
|
53
|
-
*/
|
|
54
|
-
export class GetBotVersionsCommand extends $Command<
|
|
55
|
-
GetBotVersionsCommandInput,
|
|
56
|
-
GetBotVersionsCommandOutput,
|
|
57
|
-
LexModelBuildingServiceClientResolvedConfig
|
|
58
|
-
> {
|
|
59
|
-
// Start section: command_properties
|
|
60
|
-
// End section: command_properties
|
|
61
|
-
|
|
62
|
-
constructor(readonly input: GetBotVersionsCommandInput) {
|
|
63
|
-
// Start section: command_constructor
|
|
64
|
-
super();
|
|
65
|
-
// End section: command_constructor
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
/**
|
|
69
|
-
* @internal
|
|
70
|
-
*/
|
|
71
|
-
resolveMiddleware(
|
|
72
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
73
|
-
configuration: LexModelBuildingServiceClientResolvedConfig,
|
|
74
|
-
options?: __HttpHandlerOptions
|
|
75
|
-
): Handler<GetBotVersionsCommandInput, GetBotVersionsCommandOutput> {
|
|
76
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
77
|
-
|
|
78
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
79
|
-
|
|
80
|
-
const { logger } = configuration;
|
|
81
|
-
const clientName = "LexModelBuildingServiceClient";
|
|
82
|
-
const commandName = "GetBotVersionsCommand";
|
|
83
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
84
|
-
logger,
|
|
85
|
-
clientName,
|
|
86
|
-
commandName,
|
|
87
|
-
inputFilterSensitiveLog: GetBotVersionsRequest.filterSensitiveLog,
|
|
88
|
-
outputFilterSensitiveLog: GetBotVersionsResponse.filterSensitiveLog,
|
|
89
|
-
};
|
|
90
|
-
const { requestHandler } = configuration;
|
|
91
|
-
return stack.resolve(
|
|
92
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
93
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
94
|
-
handlerExecutionContext
|
|
95
|
-
);
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
private serialize(input: GetBotVersionsCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
99
|
-
return serializeAws_restJson1GetBotVersionsCommand(input, context);
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<GetBotVersionsCommandOutput> {
|
|
103
|
-
return deserializeAws_restJson1GetBotVersionsCommand(output, context);
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
// Start section: command_body_extra
|
|
107
|
-
// End section: command_body_extra
|
|
108
|
-
}
|
|
@@ -1,112 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
LexModelBuildingServiceClientResolvedConfig,
|
|
3
|
-
ServiceInputTypes,
|
|
4
|
-
ServiceOutputTypes,
|
|
5
|
-
} from "../LexModelBuildingServiceClient";
|
|
6
|
-
import { GetBotsRequest, GetBotsResponse } from "../models/models_0";
|
|
7
|
-
import {
|
|
8
|
-
deserializeAws_restJson1GetBotsCommand,
|
|
9
|
-
serializeAws_restJson1GetBotsCommand,
|
|
10
|
-
} from "../protocols/Aws_restJson1";
|
|
11
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
12
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
13
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
14
|
-
import {
|
|
15
|
-
FinalizeHandlerArguments,
|
|
16
|
-
Handler,
|
|
17
|
-
HandlerExecutionContext,
|
|
18
|
-
MiddlewareStack,
|
|
19
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
20
|
-
MetadataBearer as __MetadataBearer,
|
|
21
|
-
SerdeContext as __SerdeContext,
|
|
22
|
-
} from "@aws-sdk/types";
|
|
23
|
-
|
|
24
|
-
export interface GetBotsCommandInput extends GetBotsRequest {}
|
|
25
|
-
export interface GetBotsCommandOutput extends GetBotsResponse, __MetadataBearer {}
|
|
26
|
-
|
|
27
|
-
/**
|
|
28
|
-
* <p>Returns bot information as follows: </p>
|
|
29
|
-
* <ul>
|
|
30
|
-
* <li>
|
|
31
|
-
* <p>If you provide the <code>nameContains</code> field, the
|
|
32
|
-
* response includes information for the <code>$LATEST</code> version of
|
|
33
|
-
* all bots whose name contains the specified string.</p>
|
|
34
|
-
* </li>
|
|
35
|
-
* <li>
|
|
36
|
-
* <p>If you don't specify the <code>nameContains</code> field, the
|
|
37
|
-
* operation returns information about the <code>$LATEST</code> version
|
|
38
|
-
* of all of your bots.</p>
|
|
39
|
-
* </li>
|
|
40
|
-
* </ul>
|
|
41
|
-
* <p>This operation requires permission for the <code>lex:GetBots</code>
|
|
42
|
-
* action.</p>
|
|
43
|
-
* @example
|
|
44
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
45
|
-
* ```javascript
|
|
46
|
-
* import { LexModelBuildingServiceClient, GetBotsCommand } from "@aws-sdk/client-lex-model-building-service"; // ES Modules import
|
|
47
|
-
* // const { LexModelBuildingServiceClient, GetBotsCommand } = require("@aws-sdk/client-lex-model-building-service"); // CommonJS import
|
|
48
|
-
* const client = new LexModelBuildingServiceClient(config);
|
|
49
|
-
* const command = new GetBotsCommand(input);
|
|
50
|
-
* const response = await client.send(command);
|
|
51
|
-
* ```
|
|
52
|
-
*
|
|
53
|
-
* @see {@link GetBotsCommandInput} for command's `input` shape.
|
|
54
|
-
* @see {@link GetBotsCommandOutput} for command's `response` shape.
|
|
55
|
-
* @see {@link LexModelBuildingServiceClientResolvedConfig | config} for command's `input` shape.
|
|
56
|
-
*
|
|
57
|
-
*/
|
|
58
|
-
export class GetBotsCommand extends $Command<
|
|
59
|
-
GetBotsCommandInput,
|
|
60
|
-
GetBotsCommandOutput,
|
|
61
|
-
LexModelBuildingServiceClientResolvedConfig
|
|
62
|
-
> {
|
|
63
|
-
// Start section: command_properties
|
|
64
|
-
// End section: command_properties
|
|
65
|
-
|
|
66
|
-
constructor(readonly input: GetBotsCommandInput) {
|
|
67
|
-
// Start section: command_constructor
|
|
68
|
-
super();
|
|
69
|
-
// End section: command_constructor
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
/**
|
|
73
|
-
* @internal
|
|
74
|
-
*/
|
|
75
|
-
resolveMiddleware(
|
|
76
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
77
|
-
configuration: LexModelBuildingServiceClientResolvedConfig,
|
|
78
|
-
options?: __HttpHandlerOptions
|
|
79
|
-
): Handler<GetBotsCommandInput, GetBotsCommandOutput> {
|
|
80
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
81
|
-
|
|
82
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
83
|
-
|
|
84
|
-
const { logger } = configuration;
|
|
85
|
-
const clientName = "LexModelBuildingServiceClient";
|
|
86
|
-
const commandName = "GetBotsCommand";
|
|
87
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
88
|
-
logger,
|
|
89
|
-
clientName,
|
|
90
|
-
commandName,
|
|
91
|
-
inputFilterSensitiveLog: GetBotsRequest.filterSensitiveLog,
|
|
92
|
-
outputFilterSensitiveLog: GetBotsResponse.filterSensitiveLog,
|
|
93
|
-
};
|
|
94
|
-
const { requestHandler } = configuration;
|
|
95
|
-
return stack.resolve(
|
|
96
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
97
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
98
|
-
handlerExecutionContext
|
|
99
|
-
);
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
private serialize(input: GetBotsCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
103
|
-
return serializeAws_restJson1GetBotsCommand(input, context);
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<GetBotsCommandOutput> {
|
|
107
|
-
return deserializeAws_restJson1GetBotsCommand(output, context);
|
|
108
|
-
}
|
|
109
|
-
|
|
110
|
-
// Start section: command_body_extra
|
|
111
|
-
// End section: command_body_extra
|
|
112
|
-
}
|
|
@@ -1,100 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
LexModelBuildingServiceClientResolvedConfig,
|
|
3
|
-
ServiceInputTypes,
|
|
4
|
-
ServiceOutputTypes,
|
|
5
|
-
} from "../LexModelBuildingServiceClient";
|
|
6
|
-
import { GetBuiltinIntentRequest, GetBuiltinIntentResponse } from "../models/models_0";
|
|
7
|
-
import {
|
|
8
|
-
deserializeAws_restJson1GetBuiltinIntentCommand,
|
|
9
|
-
serializeAws_restJson1GetBuiltinIntentCommand,
|
|
10
|
-
} from "../protocols/Aws_restJson1";
|
|
11
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
12
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
13
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
14
|
-
import {
|
|
15
|
-
FinalizeHandlerArguments,
|
|
16
|
-
Handler,
|
|
17
|
-
HandlerExecutionContext,
|
|
18
|
-
MiddlewareStack,
|
|
19
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
20
|
-
MetadataBearer as __MetadataBearer,
|
|
21
|
-
SerdeContext as __SerdeContext,
|
|
22
|
-
} from "@aws-sdk/types";
|
|
23
|
-
|
|
24
|
-
export interface GetBuiltinIntentCommandInput extends GetBuiltinIntentRequest {}
|
|
25
|
-
export interface GetBuiltinIntentCommandOutput extends GetBuiltinIntentResponse, __MetadataBearer {}
|
|
26
|
-
|
|
27
|
-
/**
|
|
28
|
-
* <p>Returns information about a built-in intent.</p>
|
|
29
|
-
* <p>This operation requires permission for the
|
|
30
|
-
* <code>lex:GetBuiltinIntent</code> action.</p>
|
|
31
|
-
* @example
|
|
32
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
-
* ```javascript
|
|
34
|
-
* import { LexModelBuildingServiceClient, GetBuiltinIntentCommand } from "@aws-sdk/client-lex-model-building-service"; // ES Modules import
|
|
35
|
-
* // const { LexModelBuildingServiceClient, GetBuiltinIntentCommand } = require("@aws-sdk/client-lex-model-building-service"); // CommonJS import
|
|
36
|
-
* const client = new LexModelBuildingServiceClient(config);
|
|
37
|
-
* const command = new GetBuiltinIntentCommand(input);
|
|
38
|
-
* const response = await client.send(command);
|
|
39
|
-
* ```
|
|
40
|
-
*
|
|
41
|
-
* @see {@link GetBuiltinIntentCommandInput} for command's `input` shape.
|
|
42
|
-
* @see {@link GetBuiltinIntentCommandOutput} for command's `response` shape.
|
|
43
|
-
* @see {@link LexModelBuildingServiceClientResolvedConfig | config} for command's `input` shape.
|
|
44
|
-
*
|
|
45
|
-
*/
|
|
46
|
-
export class GetBuiltinIntentCommand extends $Command<
|
|
47
|
-
GetBuiltinIntentCommandInput,
|
|
48
|
-
GetBuiltinIntentCommandOutput,
|
|
49
|
-
LexModelBuildingServiceClientResolvedConfig
|
|
50
|
-
> {
|
|
51
|
-
// Start section: command_properties
|
|
52
|
-
// End section: command_properties
|
|
53
|
-
|
|
54
|
-
constructor(readonly input: GetBuiltinIntentCommandInput) {
|
|
55
|
-
// Start section: command_constructor
|
|
56
|
-
super();
|
|
57
|
-
// End section: command_constructor
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
/**
|
|
61
|
-
* @internal
|
|
62
|
-
*/
|
|
63
|
-
resolveMiddleware(
|
|
64
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
65
|
-
configuration: LexModelBuildingServiceClientResolvedConfig,
|
|
66
|
-
options?: __HttpHandlerOptions
|
|
67
|
-
): Handler<GetBuiltinIntentCommandInput, GetBuiltinIntentCommandOutput> {
|
|
68
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
69
|
-
|
|
70
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
71
|
-
|
|
72
|
-
const { logger } = configuration;
|
|
73
|
-
const clientName = "LexModelBuildingServiceClient";
|
|
74
|
-
const commandName = "GetBuiltinIntentCommand";
|
|
75
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
76
|
-
logger,
|
|
77
|
-
clientName,
|
|
78
|
-
commandName,
|
|
79
|
-
inputFilterSensitiveLog: GetBuiltinIntentRequest.filterSensitiveLog,
|
|
80
|
-
outputFilterSensitiveLog: GetBuiltinIntentResponse.filterSensitiveLog,
|
|
81
|
-
};
|
|
82
|
-
const { requestHandler } = configuration;
|
|
83
|
-
return stack.resolve(
|
|
84
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
85
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
86
|
-
handlerExecutionContext
|
|
87
|
-
);
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
private serialize(input: GetBuiltinIntentCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
91
|
-
return serializeAws_restJson1GetBuiltinIntentCommand(input, context);
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<GetBuiltinIntentCommandOutput> {
|
|
95
|
-
return deserializeAws_restJson1GetBuiltinIntentCommand(output, context);
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
// Start section: command_body_extra
|
|
99
|
-
// End section: command_body_extra
|
|
100
|
-
}
|