@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 { DeleteIntentVersionRequest } from "../models/models_0";
|
|
7
|
-
import {
|
|
8
|
-
deserializeAws_restJson1DeleteIntentVersionCommand,
|
|
9
|
-
serializeAws_restJson1DeleteIntentVersionCommand,
|
|
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 DeleteIntentVersionCommandInput extends DeleteIntentVersionRequest {}
|
|
25
|
-
export interface DeleteIntentVersionCommandOutput extends __MetadataBearer {}
|
|
26
|
-
|
|
27
|
-
/**
|
|
28
|
-
* <p>Deletes a specific version of an intent. To delete all versions of
|
|
29
|
-
* a intent, use the <a>DeleteIntent</a> operation. </p>
|
|
30
|
-
* <p>This operation requires permissions for the
|
|
31
|
-
* <code>lex:DeleteIntentVersion</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, DeleteIntentVersionCommand } from "@aws-sdk/client-lex-model-building-service"; // ES Modules import
|
|
36
|
-
* // const { LexModelBuildingServiceClient, DeleteIntentVersionCommand } = require("@aws-sdk/client-lex-model-building-service"); // CommonJS import
|
|
37
|
-
* const client = new LexModelBuildingServiceClient(config);
|
|
38
|
-
* const command = new DeleteIntentVersionCommand(input);
|
|
39
|
-
* const response = await client.send(command);
|
|
40
|
-
* ```
|
|
41
|
-
*
|
|
42
|
-
* @see {@link DeleteIntentVersionCommandInput} for command's `input` shape.
|
|
43
|
-
* @see {@link DeleteIntentVersionCommandOutput} for command's `response` shape.
|
|
44
|
-
* @see {@link LexModelBuildingServiceClientResolvedConfig | config} for command's `input` shape.
|
|
45
|
-
*
|
|
46
|
-
*/
|
|
47
|
-
export class DeleteIntentVersionCommand extends $Command<
|
|
48
|
-
DeleteIntentVersionCommandInput,
|
|
49
|
-
DeleteIntentVersionCommandOutput,
|
|
50
|
-
LexModelBuildingServiceClientResolvedConfig
|
|
51
|
-
> {
|
|
52
|
-
// Start section: command_properties
|
|
53
|
-
// End section: command_properties
|
|
54
|
-
|
|
55
|
-
constructor(readonly input: DeleteIntentVersionCommandInput) {
|
|
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<DeleteIntentVersionCommandInput, DeleteIntentVersionCommandOutput> {
|
|
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 = "DeleteIntentVersionCommand";
|
|
76
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
77
|
-
logger,
|
|
78
|
-
clientName,
|
|
79
|
-
commandName,
|
|
80
|
-
inputFilterSensitiveLog: DeleteIntentVersionRequest.filterSensitiveLog,
|
|
81
|
-
outputFilterSensitiveLog: (output: any) => output,
|
|
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: DeleteIntentVersionCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
92
|
-
return serializeAws_restJson1DeleteIntentVersionCommand(input, context);
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DeleteIntentVersionCommandOutput> {
|
|
96
|
-
return deserializeAws_restJson1DeleteIntentVersionCommand(output, context);
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
// Start section: command_body_extra
|
|
100
|
-
// End section: command_body_extra
|
|
101
|
-
}
|
|
@@ -1,114 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
LexModelBuildingServiceClientResolvedConfig,
|
|
3
|
-
ServiceInputTypes,
|
|
4
|
-
ServiceOutputTypes,
|
|
5
|
-
} from "../LexModelBuildingServiceClient";
|
|
6
|
-
import { DeleteSlotTypeRequest } from "../models/models_0";
|
|
7
|
-
import {
|
|
8
|
-
deserializeAws_restJson1DeleteSlotTypeCommand,
|
|
9
|
-
serializeAws_restJson1DeleteSlotTypeCommand,
|
|
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 DeleteSlotTypeCommandInput extends DeleteSlotTypeRequest {}
|
|
25
|
-
export interface DeleteSlotTypeCommandOutput extends __MetadataBearer {}
|
|
26
|
-
|
|
27
|
-
/**
|
|
28
|
-
* <p>Deletes all versions of the slot type, including the
|
|
29
|
-
* <code>$LATEST</code> version. To delete a specific version of the slot
|
|
30
|
-
* type, use the <a>DeleteSlotTypeVersion</a> operation.</p>
|
|
31
|
-
* <p> You can delete a version of a slot type only if it is not
|
|
32
|
-
* referenced. To delete a slot type that is referred to in one or more
|
|
33
|
-
* intents, you must remove those references first. </p>
|
|
34
|
-
* <note>
|
|
35
|
-
* <p> If you get the <code>ResourceInUseException</code> exception,
|
|
36
|
-
* the exception provides an example reference that shows the intent where
|
|
37
|
-
* the slot type is referenced. To remove the reference to the slot type,
|
|
38
|
-
* either update the intent or delete it. If you get the same exception
|
|
39
|
-
* when you attempt to delete the slot type again, repeat until the slot
|
|
40
|
-
* type has no references and the <code>DeleteSlotType</code> call is
|
|
41
|
-
* successful. </p>
|
|
42
|
-
* </note>
|
|
43
|
-
* <p>This operation requires permission for the
|
|
44
|
-
* <code>lex:DeleteSlotType</code> action.</p>
|
|
45
|
-
* @example
|
|
46
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
47
|
-
* ```javascript
|
|
48
|
-
* import { LexModelBuildingServiceClient, DeleteSlotTypeCommand } from "@aws-sdk/client-lex-model-building-service"; // ES Modules import
|
|
49
|
-
* // const { LexModelBuildingServiceClient, DeleteSlotTypeCommand } = require("@aws-sdk/client-lex-model-building-service"); // CommonJS import
|
|
50
|
-
* const client = new LexModelBuildingServiceClient(config);
|
|
51
|
-
* const command = new DeleteSlotTypeCommand(input);
|
|
52
|
-
* const response = await client.send(command);
|
|
53
|
-
* ```
|
|
54
|
-
*
|
|
55
|
-
* @see {@link DeleteSlotTypeCommandInput} for command's `input` shape.
|
|
56
|
-
* @see {@link DeleteSlotTypeCommandOutput} for command's `response` shape.
|
|
57
|
-
* @see {@link LexModelBuildingServiceClientResolvedConfig | config} for command's `input` shape.
|
|
58
|
-
*
|
|
59
|
-
*/
|
|
60
|
-
export class DeleteSlotTypeCommand extends $Command<
|
|
61
|
-
DeleteSlotTypeCommandInput,
|
|
62
|
-
DeleteSlotTypeCommandOutput,
|
|
63
|
-
LexModelBuildingServiceClientResolvedConfig
|
|
64
|
-
> {
|
|
65
|
-
// Start section: command_properties
|
|
66
|
-
// End section: command_properties
|
|
67
|
-
|
|
68
|
-
constructor(readonly input: DeleteSlotTypeCommandInput) {
|
|
69
|
-
// Start section: command_constructor
|
|
70
|
-
super();
|
|
71
|
-
// End section: command_constructor
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
/**
|
|
75
|
-
* @internal
|
|
76
|
-
*/
|
|
77
|
-
resolveMiddleware(
|
|
78
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
79
|
-
configuration: LexModelBuildingServiceClientResolvedConfig,
|
|
80
|
-
options?: __HttpHandlerOptions
|
|
81
|
-
): Handler<DeleteSlotTypeCommandInput, DeleteSlotTypeCommandOutput> {
|
|
82
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
83
|
-
|
|
84
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
85
|
-
|
|
86
|
-
const { logger } = configuration;
|
|
87
|
-
const clientName = "LexModelBuildingServiceClient";
|
|
88
|
-
const commandName = "DeleteSlotTypeCommand";
|
|
89
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
90
|
-
logger,
|
|
91
|
-
clientName,
|
|
92
|
-
commandName,
|
|
93
|
-
inputFilterSensitiveLog: DeleteSlotTypeRequest.filterSensitiveLog,
|
|
94
|
-
outputFilterSensitiveLog: (output: any) => output,
|
|
95
|
-
};
|
|
96
|
-
const { requestHandler } = configuration;
|
|
97
|
-
return stack.resolve(
|
|
98
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
99
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
100
|
-
handlerExecutionContext
|
|
101
|
-
);
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
private serialize(input: DeleteSlotTypeCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
105
|
-
return serializeAws_restJson1DeleteSlotTypeCommand(input, context);
|
|
106
|
-
}
|
|
107
|
-
|
|
108
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DeleteSlotTypeCommandOutput> {
|
|
109
|
-
return deserializeAws_restJson1DeleteSlotTypeCommand(output, context);
|
|
110
|
-
}
|
|
111
|
-
|
|
112
|
-
// Start section: command_body_extra
|
|
113
|
-
// End section: command_body_extra
|
|
114
|
-
}
|
|
@@ -1,101 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
LexModelBuildingServiceClientResolvedConfig,
|
|
3
|
-
ServiceInputTypes,
|
|
4
|
-
ServiceOutputTypes,
|
|
5
|
-
} from "../LexModelBuildingServiceClient";
|
|
6
|
-
import { DeleteSlotTypeVersionRequest } from "../models/models_0";
|
|
7
|
-
import {
|
|
8
|
-
deserializeAws_restJson1DeleteSlotTypeVersionCommand,
|
|
9
|
-
serializeAws_restJson1DeleteSlotTypeVersionCommand,
|
|
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 DeleteSlotTypeVersionCommandInput extends DeleteSlotTypeVersionRequest {}
|
|
25
|
-
export interface DeleteSlotTypeVersionCommandOutput extends __MetadataBearer {}
|
|
26
|
-
|
|
27
|
-
/**
|
|
28
|
-
* <p>Deletes a specific version of a slot type. To delete all versions
|
|
29
|
-
* of a slot type, use the <a>DeleteSlotType</a> operation. </p>
|
|
30
|
-
* <p>This operation requires permissions for the
|
|
31
|
-
* <code>lex:DeleteSlotTypeVersion</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, DeleteSlotTypeVersionCommand } from "@aws-sdk/client-lex-model-building-service"; // ES Modules import
|
|
36
|
-
* // const { LexModelBuildingServiceClient, DeleteSlotTypeVersionCommand } = require("@aws-sdk/client-lex-model-building-service"); // CommonJS import
|
|
37
|
-
* const client = new LexModelBuildingServiceClient(config);
|
|
38
|
-
* const command = new DeleteSlotTypeVersionCommand(input);
|
|
39
|
-
* const response = await client.send(command);
|
|
40
|
-
* ```
|
|
41
|
-
*
|
|
42
|
-
* @see {@link DeleteSlotTypeVersionCommandInput} for command's `input` shape.
|
|
43
|
-
* @see {@link DeleteSlotTypeVersionCommandOutput} for command's `response` shape.
|
|
44
|
-
* @see {@link LexModelBuildingServiceClientResolvedConfig | config} for command's `input` shape.
|
|
45
|
-
*
|
|
46
|
-
*/
|
|
47
|
-
export class DeleteSlotTypeVersionCommand extends $Command<
|
|
48
|
-
DeleteSlotTypeVersionCommandInput,
|
|
49
|
-
DeleteSlotTypeVersionCommandOutput,
|
|
50
|
-
LexModelBuildingServiceClientResolvedConfig
|
|
51
|
-
> {
|
|
52
|
-
// Start section: command_properties
|
|
53
|
-
// End section: command_properties
|
|
54
|
-
|
|
55
|
-
constructor(readonly input: DeleteSlotTypeVersionCommandInput) {
|
|
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<DeleteSlotTypeVersionCommandInput, DeleteSlotTypeVersionCommandOutput> {
|
|
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 = "DeleteSlotTypeVersionCommand";
|
|
76
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
77
|
-
logger,
|
|
78
|
-
clientName,
|
|
79
|
-
commandName,
|
|
80
|
-
inputFilterSensitiveLog: DeleteSlotTypeVersionRequest.filterSensitiveLog,
|
|
81
|
-
outputFilterSensitiveLog: (output: any) => output,
|
|
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: DeleteSlotTypeVersionCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
92
|
-
return serializeAws_restJson1DeleteSlotTypeVersionCommand(input, context);
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DeleteSlotTypeVersionCommandOutput> {
|
|
96
|
-
return deserializeAws_restJson1DeleteSlotTypeVersionCommand(output, context);
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
// Start section: command_body_extra
|
|
100
|
-
// End section: command_body_extra
|
|
101
|
-
}
|
|
@@ -1,109 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
LexModelBuildingServiceClientResolvedConfig,
|
|
3
|
-
ServiceInputTypes,
|
|
4
|
-
ServiceOutputTypes,
|
|
5
|
-
} from "../LexModelBuildingServiceClient";
|
|
6
|
-
import { DeleteUtterancesRequest } from "../models/models_0";
|
|
7
|
-
import {
|
|
8
|
-
deserializeAws_restJson1DeleteUtterancesCommand,
|
|
9
|
-
serializeAws_restJson1DeleteUtterancesCommand,
|
|
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 DeleteUtterancesCommandInput extends DeleteUtterancesRequest {}
|
|
25
|
-
export interface DeleteUtterancesCommandOutput extends __MetadataBearer {}
|
|
26
|
-
|
|
27
|
-
/**
|
|
28
|
-
* <p>Deletes stored utterances.</p>
|
|
29
|
-
* <p>Amazon Lex stores the utterances that users send to your bot. Utterances
|
|
30
|
-
* are stored for 15 days for use with the <a>GetUtterancesView</a> operation, and then stored indefinitely for use in improving the
|
|
31
|
-
* ability of your bot to respond to user input.</p>
|
|
32
|
-
* <p>Use the <code>DeleteUtterances</code> operation to manually delete
|
|
33
|
-
* stored utterances for a specific user. When you use the
|
|
34
|
-
* <code>DeleteUtterances</code> operation, utterances stored for improving
|
|
35
|
-
* your bot's ability to respond to user input are deleted immediately.
|
|
36
|
-
* Utterances stored for use with the <code>GetUtterancesView</code>
|
|
37
|
-
* operation are deleted after 15 days.</p>
|
|
38
|
-
* <p>This operation requires permissions for the
|
|
39
|
-
* <code>lex:DeleteUtterances</code> action.</p>
|
|
40
|
-
* @example
|
|
41
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
42
|
-
* ```javascript
|
|
43
|
-
* import { LexModelBuildingServiceClient, DeleteUtterancesCommand } from "@aws-sdk/client-lex-model-building-service"; // ES Modules import
|
|
44
|
-
* // const { LexModelBuildingServiceClient, DeleteUtterancesCommand } = require("@aws-sdk/client-lex-model-building-service"); // CommonJS import
|
|
45
|
-
* const client = new LexModelBuildingServiceClient(config);
|
|
46
|
-
* const command = new DeleteUtterancesCommand(input);
|
|
47
|
-
* const response = await client.send(command);
|
|
48
|
-
* ```
|
|
49
|
-
*
|
|
50
|
-
* @see {@link DeleteUtterancesCommandInput} for command's `input` shape.
|
|
51
|
-
* @see {@link DeleteUtterancesCommandOutput} for command's `response` shape.
|
|
52
|
-
* @see {@link LexModelBuildingServiceClientResolvedConfig | config} for command's `input` shape.
|
|
53
|
-
*
|
|
54
|
-
*/
|
|
55
|
-
export class DeleteUtterancesCommand extends $Command<
|
|
56
|
-
DeleteUtterancesCommandInput,
|
|
57
|
-
DeleteUtterancesCommandOutput,
|
|
58
|
-
LexModelBuildingServiceClientResolvedConfig
|
|
59
|
-
> {
|
|
60
|
-
// Start section: command_properties
|
|
61
|
-
// End section: command_properties
|
|
62
|
-
|
|
63
|
-
constructor(readonly input: DeleteUtterancesCommandInput) {
|
|
64
|
-
// Start section: command_constructor
|
|
65
|
-
super();
|
|
66
|
-
// End section: command_constructor
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
/**
|
|
70
|
-
* @internal
|
|
71
|
-
*/
|
|
72
|
-
resolveMiddleware(
|
|
73
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
74
|
-
configuration: LexModelBuildingServiceClientResolvedConfig,
|
|
75
|
-
options?: __HttpHandlerOptions
|
|
76
|
-
): Handler<DeleteUtterancesCommandInput, DeleteUtterancesCommandOutput> {
|
|
77
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
78
|
-
|
|
79
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
80
|
-
|
|
81
|
-
const { logger } = configuration;
|
|
82
|
-
const clientName = "LexModelBuildingServiceClient";
|
|
83
|
-
const commandName = "DeleteUtterancesCommand";
|
|
84
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
85
|
-
logger,
|
|
86
|
-
clientName,
|
|
87
|
-
commandName,
|
|
88
|
-
inputFilterSensitiveLog: DeleteUtterancesRequest.filterSensitiveLog,
|
|
89
|
-
outputFilterSensitiveLog: (output: any) => output,
|
|
90
|
-
};
|
|
91
|
-
const { requestHandler } = configuration;
|
|
92
|
-
return stack.resolve(
|
|
93
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
94
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
95
|
-
handlerExecutionContext
|
|
96
|
-
);
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
private serialize(input: DeleteUtterancesCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
100
|
-
return serializeAws_restJson1DeleteUtterancesCommand(input, context);
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DeleteUtterancesCommandOutput> {
|
|
104
|
-
return deserializeAws_restJson1DeleteUtterancesCommand(output, context);
|
|
105
|
-
}
|
|
106
|
-
|
|
107
|
-
// Start section: command_body_extra
|
|
108
|
-
// End section: command_body_extra
|
|
109
|
-
}
|
|
@@ -1,101 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
LexModelBuildingServiceClientResolvedConfig,
|
|
3
|
-
ServiceInputTypes,
|
|
4
|
-
ServiceOutputTypes,
|
|
5
|
-
} from "../LexModelBuildingServiceClient";
|
|
6
|
-
import { GetBotAliasRequest, GetBotAliasResponse } from "../models/models_0";
|
|
7
|
-
import {
|
|
8
|
-
deserializeAws_restJson1GetBotAliasCommand,
|
|
9
|
-
serializeAws_restJson1GetBotAliasCommand,
|
|
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 GetBotAliasCommandInput extends GetBotAliasRequest {}
|
|
25
|
-
export interface GetBotAliasCommandOutput extends GetBotAliasResponse, __MetadataBearer {}
|
|
26
|
-
|
|
27
|
-
/**
|
|
28
|
-
* <p>Returns information about an Amazon Lex bot alias. For more information
|
|
29
|
-
* about aliases, see <a>versioning-aliases</a>.</p>
|
|
30
|
-
* <p>This operation requires permissions for the
|
|
31
|
-
* <code>lex:GetBotAlias</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, GetBotAliasCommand } from "@aws-sdk/client-lex-model-building-service"; // ES Modules import
|
|
36
|
-
* // const { LexModelBuildingServiceClient, GetBotAliasCommand } = require("@aws-sdk/client-lex-model-building-service"); // CommonJS import
|
|
37
|
-
* const client = new LexModelBuildingServiceClient(config);
|
|
38
|
-
* const command = new GetBotAliasCommand(input);
|
|
39
|
-
* const response = await client.send(command);
|
|
40
|
-
* ```
|
|
41
|
-
*
|
|
42
|
-
* @see {@link GetBotAliasCommandInput} for command's `input` shape.
|
|
43
|
-
* @see {@link GetBotAliasCommandOutput} for command's `response` shape.
|
|
44
|
-
* @see {@link LexModelBuildingServiceClientResolvedConfig | config} for command's `input` shape.
|
|
45
|
-
*
|
|
46
|
-
*/
|
|
47
|
-
export class GetBotAliasCommand extends $Command<
|
|
48
|
-
GetBotAliasCommandInput,
|
|
49
|
-
GetBotAliasCommandOutput,
|
|
50
|
-
LexModelBuildingServiceClientResolvedConfig
|
|
51
|
-
> {
|
|
52
|
-
// Start section: command_properties
|
|
53
|
-
// End section: command_properties
|
|
54
|
-
|
|
55
|
-
constructor(readonly input: GetBotAliasCommandInput) {
|
|
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<GetBotAliasCommandInput, GetBotAliasCommandOutput> {
|
|
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 = "GetBotAliasCommand";
|
|
76
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
77
|
-
logger,
|
|
78
|
-
clientName,
|
|
79
|
-
commandName,
|
|
80
|
-
inputFilterSensitiveLog: GetBotAliasRequest.filterSensitiveLog,
|
|
81
|
-
outputFilterSensitiveLog: GetBotAliasResponse.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: GetBotAliasCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
92
|
-
return serializeAws_restJson1GetBotAliasCommand(input, context);
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<GetBotAliasCommandOutput> {
|
|
96
|
-
return deserializeAws_restJson1GetBotAliasCommand(output, context);
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
// Start section: command_body_extra
|
|
100
|
-
// End section: command_body_extra
|
|
101
|
-
}
|
|
@@ -1,100 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
LexModelBuildingServiceClientResolvedConfig,
|
|
3
|
-
ServiceInputTypes,
|
|
4
|
-
ServiceOutputTypes,
|
|
5
|
-
} from "../LexModelBuildingServiceClient";
|
|
6
|
-
import { GetBotAliasesRequest, GetBotAliasesResponse } from "../models/models_0";
|
|
7
|
-
import {
|
|
8
|
-
deserializeAws_restJson1GetBotAliasesCommand,
|
|
9
|
-
serializeAws_restJson1GetBotAliasesCommand,
|
|
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 GetBotAliasesCommandInput extends GetBotAliasesRequest {}
|
|
25
|
-
export interface GetBotAliasesCommandOutput extends GetBotAliasesResponse, __MetadataBearer {}
|
|
26
|
-
|
|
27
|
-
/**
|
|
28
|
-
* <p>Returns a list of aliases for a specified Amazon Lex bot.</p>
|
|
29
|
-
* <p>This operation requires permissions for the
|
|
30
|
-
* <code>lex:GetBotAliases</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, GetBotAliasesCommand } from "@aws-sdk/client-lex-model-building-service"; // ES Modules import
|
|
35
|
-
* // const { LexModelBuildingServiceClient, GetBotAliasesCommand } = require("@aws-sdk/client-lex-model-building-service"); // CommonJS import
|
|
36
|
-
* const client = new LexModelBuildingServiceClient(config);
|
|
37
|
-
* const command = new GetBotAliasesCommand(input);
|
|
38
|
-
* const response = await client.send(command);
|
|
39
|
-
* ```
|
|
40
|
-
*
|
|
41
|
-
* @see {@link GetBotAliasesCommandInput} for command's `input` shape.
|
|
42
|
-
* @see {@link GetBotAliasesCommandOutput} for command's `response` shape.
|
|
43
|
-
* @see {@link LexModelBuildingServiceClientResolvedConfig | config} for command's `input` shape.
|
|
44
|
-
*
|
|
45
|
-
*/
|
|
46
|
-
export class GetBotAliasesCommand extends $Command<
|
|
47
|
-
GetBotAliasesCommandInput,
|
|
48
|
-
GetBotAliasesCommandOutput,
|
|
49
|
-
LexModelBuildingServiceClientResolvedConfig
|
|
50
|
-
> {
|
|
51
|
-
// Start section: command_properties
|
|
52
|
-
// End section: command_properties
|
|
53
|
-
|
|
54
|
-
constructor(readonly input: GetBotAliasesCommandInput) {
|
|
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<GetBotAliasesCommandInput, GetBotAliasesCommandOutput> {
|
|
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 = "GetBotAliasesCommand";
|
|
75
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
76
|
-
logger,
|
|
77
|
-
clientName,
|
|
78
|
-
commandName,
|
|
79
|
-
inputFilterSensitiveLog: GetBotAliasesRequest.filterSensitiveLog,
|
|
80
|
-
outputFilterSensitiveLog: GetBotAliasesResponse.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: GetBotAliasesCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
91
|
-
return serializeAws_restJson1GetBotAliasesCommand(input, context);
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<GetBotAliasesCommandOutput> {
|
|
95
|
-
return deserializeAws_restJson1GetBotAliasesCommand(output, context);
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
// Start section: command_body_extra
|
|
99
|
-
// End section: command_body_extra
|
|
100
|
-
}
|