@aws-sdk/client-lex-model-building-service 3.34.0 → 3.35.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 +12 -0
- package/dist-cjs/LexModelBuildingService.js +644 -0
- package/dist-cjs/LexModelBuildingService.js.map +1 -0
- package/dist-cjs/LexModelBuildingServiceClient.js +47 -0
- package/dist-cjs/LexModelBuildingServiceClient.js.map +1 -0
- package/dist-cjs/commands/CreateBotVersionCommand.js +73 -0
- package/dist-cjs/commands/CreateBotVersionCommand.js.map +1 -0
- package/dist-cjs/commands/CreateIntentVersionCommand.js +74 -0
- package/dist-cjs/commands/CreateIntentVersionCommand.js.map +1 -0
- package/dist-cjs/commands/CreateSlotTypeVersionCommand.js +76 -0
- package/dist-cjs/commands/CreateSlotTypeVersionCommand.js.map +1 -0
- package/dist-cjs/commands/DeleteBotAliasCommand.js +69 -0
- package/dist-cjs/commands/DeleteBotAliasCommand.js.map +1 -0
- package/dist-cjs/commands/DeleteBotChannelAssociationCommand.js +64 -0
- package/dist-cjs/commands/DeleteBotChannelAssociationCommand.js.map +1 -0
- package/dist-cjs/commands/DeleteBotCommand.js +77 -0
- package/dist-cjs/commands/DeleteBotCommand.js.map +1 -0
- package/dist-cjs/commands/DeleteBotVersionCommand.js +64 -0
- package/dist-cjs/commands/DeleteBotVersionCommand.js.map +1 -0
- package/dist-cjs/commands/DeleteIntentCommand.js +78 -0
- package/dist-cjs/commands/DeleteIntentCommand.js.map +1 -0
- package/dist-cjs/commands/DeleteIntentVersionCommand.js +64 -0
- package/dist-cjs/commands/DeleteIntentVersionCommand.js.map +1 -0
- package/dist-cjs/commands/DeleteSlotTypeCommand.js +77 -0
- package/dist-cjs/commands/DeleteSlotTypeCommand.js.map +1 -0
- package/dist-cjs/commands/DeleteSlotTypeVersionCommand.js +64 -0
- package/dist-cjs/commands/DeleteSlotTypeVersionCommand.js.map +1 -0
- package/dist-cjs/commands/DeleteUtterancesCommand.js +72 -0
- package/dist-cjs/commands/DeleteUtterancesCommand.js.map +1 -0
- package/dist-cjs/commands/GetBotAliasCommand.js +64 -0
- package/dist-cjs/commands/GetBotAliasCommand.js.map +1 -0
- package/dist-cjs/commands/GetBotAliasesCommand.js +63 -0
- package/dist-cjs/commands/GetBotAliasesCommand.js.map +1 -0
- package/dist-cjs/commands/GetBotChannelAssociationCommand.js +64 -0
- package/dist-cjs/commands/GetBotChannelAssociationCommand.js.map +1 -0
- package/dist-cjs/commands/GetBotChannelAssociationsCommand.js +65 -0
- package/dist-cjs/commands/GetBotChannelAssociationsCommand.js.map +1 -0
- package/dist-cjs/commands/GetBotCommand.js +64 -0
- package/dist-cjs/commands/GetBotCommand.js.map +1 -0
- package/dist-cjs/commands/GetBotVersionsCommand.js +71 -0
- package/dist-cjs/commands/GetBotVersionsCommand.js.map +1 -0
- package/dist-cjs/commands/GetBotsCommand.js +75 -0
- package/dist-cjs/commands/GetBotsCommand.js.map +1 -0
- package/dist-cjs/commands/GetBuiltinIntentCommand.js +63 -0
- package/dist-cjs/commands/GetBuiltinIntentCommand.js.map +1 -0
- package/dist-cjs/commands/GetBuiltinIntentsCommand.js +64 -0
- package/dist-cjs/commands/GetBuiltinIntentsCommand.js.map +1 -0
- package/dist-cjs/commands/GetBuiltinSlotTypesCommand.js +67 -0
- package/dist-cjs/commands/GetBuiltinSlotTypesCommand.js.map +1 -0
- package/dist-cjs/commands/GetExportCommand.js +62 -0
- package/dist-cjs/commands/GetExportCommand.js.map +1 -0
- package/dist-cjs/commands/GetImportCommand.js +62 -0
- package/dist-cjs/commands/GetImportCommand.js.map +1 -0
- package/dist-cjs/commands/GetIntentCommand.js +64 -0
- package/dist-cjs/commands/GetIntentCommand.js.map +1 -0
- package/dist-cjs/commands/GetIntentVersionsCommand.js +71 -0
- package/dist-cjs/commands/GetIntentVersionsCommand.js.map +1 -0
- package/dist-cjs/commands/GetIntentsCommand.js +75 -0
- package/dist-cjs/commands/GetIntentsCommand.js.map +1 -0
- package/dist-cjs/commands/GetMigrationCommand.js +63 -0
- package/dist-cjs/commands/GetMigrationCommand.js.map +1 -0
- package/dist-cjs/commands/GetMigrationsCommand.js +61 -0
- package/dist-cjs/commands/GetMigrationsCommand.js.map +1 -0
- package/dist-cjs/commands/GetSlotTypeCommand.js +65 -0
- package/dist-cjs/commands/GetSlotTypeCommand.js.map +1 -0
- package/dist-cjs/commands/GetSlotTypeVersionsCommand.js +71 -0
- package/dist-cjs/commands/GetSlotTypeVersionsCommand.js.map +1 -0
- package/dist-cjs/commands/GetSlotTypesCommand.js +75 -0
- package/dist-cjs/commands/GetSlotTypesCommand.js.map +1 -0
- package/dist-cjs/commands/GetUtterancesViewCommand.js +84 -0
- package/dist-cjs/commands/GetUtterancesViewCommand.js.map +1 -0
- package/dist-cjs/commands/ListTagsForResourceCommand.js +62 -0
- package/dist-cjs/commands/ListTagsForResourceCommand.js.map +1 -0
- package/dist-cjs/commands/PutBotAliasCommand.js +66 -0
- package/dist-cjs/commands/PutBotAliasCommand.js.map +1 -0
- package/dist-cjs/commands/PutBotCommand.js +78 -0
- package/dist-cjs/commands/PutBotCommand.js.map +1 -0
- package/dist-cjs/commands/PutIntentCommand.js +118 -0
- package/dist-cjs/commands/PutIntentCommand.js.map +1 -0
- package/dist-cjs/commands/PutSlotTypeCommand.js +76 -0
- package/dist-cjs/commands/PutSlotTypeCommand.js.map +1 -0
- package/dist-cjs/commands/StartImportCommand.js +61 -0
- package/dist-cjs/commands/StartImportCommand.js.map +1 -0
- package/dist-cjs/commands/StartMigrationCommand.js +64 -0
- package/dist-cjs/commands/StartMigrationCommand.js.map +1 -0
- package/dist-cjs/commands/TagResourceCommand.js +62 -0
- package/dist-cjs/commands/TagResourceCommand.js.map +1 -0
- package/dist-cjs/commands/UntagResourceCommand.js +61 -0
- package/dist-cjs/commands/UntagResourceCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/endpoints.js +0 -0
- package/dist-cjs/endpoints.js.map +1 -0
- package/{dist/cjs → dist-cjs}/index.js +0 -0
- package/dist-cjs/index.js.map +1 -0
- package/{dist/cjs → dist-cjs}/models/index.js +0 -0
- package/dist-cjs/models/index.js.map +1 -0
- package/{dist/cjs → dist-cjs}/models/models_0.js +0 -0
- package/dist-cjs/models/models_0.js.map +1 -0
- package/dist-cjs/pagination/GetBotAliasesPaginator.js +46 -0
- package/dist-cjs/pagination/GetBotAliasesPaginator.js.map +1 -0
- package/dist-cjs/pagination/GetBotChannelAssociationsPaginator.js +46 -0
- package/dist-cjs/pagination/GetBotChannelAssociationsPaginator.js.map +1 -0
- package/dist-cjs/pagination/GetBotVersionsPaginator.js +46 -0
- package/dist-cjs/pagination/GetBotVersionsPaginator.js.map +1 -0
- package/dist-cjs/pagination/GetBotsPaginator.js +46 -0
- package/dist-cjs/pagination/GetBotsPaginator.js.map +1 -0
- package/dist-cjs/pagination/GetBuiltinIntentsPaginator.js +46 -0
- package/dist-cjs/pagination/GetBuiltinIntentsPaginator.js.map +1 -0
- package/dist-cjs/pagination/GetBuiltinSlotTypesPaginator.js +46 -0
- package/dist-cjs/pagination/GetBuiltinSlotTypesPaginator.js.map +1 -0
- package/dist-cjs/pagination/GetIntentVersionsPaginator.js +46 -0
- package/dist-cjs/pagination/GetIntentVersionsPaginator.js.map +1 -0
- package/dist-cjs/pagination/GetIntentsPaginator.js +46 -0
- package/dist-cjs/pagination/GetIntentsPaginator.js.map +1 -0
- package/dist-cjs/pagination/GetMigrationsPaginator.js +46 -0
- package/dist-cjs/pagination/GetMigrationsPaginator.js.map +1 -0
- package/dist-cjs/pagination/GetSlotTypeVersionsPaginator.js +46 -0
- package/dist-cjs/pagination/GetSlotTypeVersionsPaginator.js.map +1 -0
- package/dist-cjs/pagination/GetSlotTypesPaginator.js +46 -0
- package/dist-cjs/pagination/GetSlotTypesPaginator.js.map +1 -0
- package/{dist/cjs → dist-cjs}/pagination/Interfaces.js +0 -0
- package/dist-cjs/pagination/Interfaces.js.map +1 -0
- package/dist-cjs/protocols/Aws_restJson1.js +6418 -0
- package/dist-cjs/protocols/Aws_restJson1.js.map +1 -0
- package/dist-cjs/runtimeConfig.browser.js +42 -0
- package/dist-cjs/runtimeConfig.browser.js.map +1 -0
- package/dist-cjs/runtimeConfig.js +47 -0
- package/dist-cjs/runtimeConfig.js.map +1 -0
- package/{dist/cjs → dist-cjs}/runtimeConfig.native.js +0 -0
- package/dist-cjs/runtimeConfig.native.js.map +1 -0
- package/dist-cjs/runtimeConfig.shared.js +21 -0
- package/dist-cjs/runtimeConfig.shared.js.map +1 -0
- package/dist-es/LexModelBuildingService.js +641 -0
- package/dist-es/LexModelBuildingService.js.map +1 -0
- package/dist-es/LexModelBuildingServiceClient.js +38 -0
- package/dist-es/LexModelBuildingServiceClient.js.map +1 -0
- package/dist-es/commands/CreateBotVersionCommand.js +40 -0
- package/dist-es/commands/CreateBotVersionCommand.js.map +1 -0
- package/dist-es/commands/CreateIntentVersionCommand.js +40 -0
- package/dist-es/commands/CreateIntentVersionCommand.js.map +1 -0
- package/dist-es/commands/CreateSlotTypeVersionCommand.js +40 -0
- package/dist-es/commands/CreateSlotTypeVersionCommand.js.map +1 -0
- package/dist-es/commands/DeleteBotAliasCommand.js +40 -0
- package/dist-es/commands/DeleteBotAliasCommand.js.map +1 -0
- package/dist-es/commands/DeleteBotChannelAssociationCommand.js +40 -0
- package/dist-es/commands/DeleteBotChannelAssociationCommand.js.map +1 -0
- package/dist-es/commands/DeleteBotCommand.js +40 -0
- package/dist-es/commands/DeleteBotCommand.js.map +1 -0
- package/dist-es/commands/DeleteBotVersionCommand.js +40 -0
- package/dist-es/commands/DeleteBotVersionCommand.js.map +1 -0
- package/dist-es/commands/DeleteIntentCommand.js +40 -0
- package/dist-es/commands/DeleteIntentCommand.js.map +1 -0
- package/dist-es/commands/DeleteIntentVersionCommand.js +40 -0
- package/dist-es/commands/DeleteIntentVersionCommand.js.map +1 -0
- package/dist-es/commands/DeleteSlotTypeCommand.js +40 -0
- package/dist-es/commands/DeleteSlotTypeCommand.js.map +1 -0
- package/dist-es/commands/DeleteSlotTypeVersionCommand.js +40 -0
- package/dist-es/commands/DeleteSlotTypeVersionCommand.js.map +1 -0
- package/dist-es/commands/DeleteUtterancesCommand.js +40 -0
- package/dist-es/commands/DeleteUtterancesCommand.js.map +1 -0
- package/dist-es/commands/GetBotAliasCommand.js +40 -0
- package/dist-es/commands/GetBotAliasCommand.js.map +1 -0
- package/dist-es/commands/GetBotAliasesCommand.js +40 -0
- package/dist-es/commands/GetBotAliasesCommand.js.map +1 -0
- package/dist-es/commands/GetBotChannelAssociationCommand.js +40 -0
- package/dist-es/commands/GetBotChannelAssociationCommand.js.map +1 -0
- package/dist-es/commands/GetBotChannelAssociationsCommand.js +40 -0
- package/dist-es/commands/GetBotChannelAssociationsCommand.js.map +1 -0
- package/dist-es/commands/GetBotCommand.js +40 -0
- package/dist-es/commands/GetBotCommand.js.map +1 -0
- package/dist-es/commands/GetBotVersionsCommand.js +40 -0
- package/dist-es/commands/GetBotVersionsCommand.js.map +1 -0
- package/dist-es/commands/GetBotsCommand.js +40 -0
- package/dist-es/commands/GetBotsCommand.js.map +1 -0
- package/dist-es/commands/GetBuiltinIntentCommand.js +40 -0
- package/dist-es/commands/GetBuiltinIntentCommand.js.map +1 -0
- package/dist-es/commands/GetBuiltinIntentsCommand.js +40 -0
- package/dist-es/commands/GetBuiltinIntentsCommand.js.map +1 -0
- package/dist-es/commands/GetBuiltinSlotTypesCommand.js +40 -0
- package/dist-es/commands/GetBuiltinSlotTypesCommand.js.map +1 -0
- package/dist-es/commands/GetExportCommand.js +40 -0
- package/dist-es/commands/GetExportCommand.js.map +1 -0
- package/dist-es/commands/GetImportCommand.js +40 -0
- package/dist-es/commands/GetImportCommand.js.map +1 -0
- package/dist-es/commands/GetIntentCommand.js +40 -0
- package/dist-es/commands/GetIntentCommand.js.map +1 -0
- package/dist-es/commands/GetIntentVersionsCommand.js +40 -0
- package/dist-es/commands/GetIntentVersionsCommand.js.map +1 -0
- package/dist-es/commands/GetIntentsCommand.js +40 -0
- package/dist-es/commands/GetIntentsCommand.js.map +1 -0
- package/dist-es/commands/GetMigrationCommand.js +40 -0
- package/dist-es/commands/GetMigrationCommand.js.map +1 -0
- package/dist-es/commands/GetMigrationsCommand.js +40 -0
- package/dist-es/commands/GetMigrationsCommand.js.map +1 -0
- package/dist-es/commands/GetSlotTypeCommand.js +40 -0
- package/dist-es/commands/GetSlotTypeCommand.js.map +1 -0
- package/dist-es/commands/GetSlotTypeVersionsCommand.js +40 -0
- package/dist-es/commands/GetSlotTypeVersionsCommand.js.map +1 -0
- package/dist-es/commands/GetSlotTypesCommand.js +40 -0
- package/dist-es/commands/GetSlotTypesCommand.js.map +1 -0
- package/dist-es/commands/GetUtterancesViewCommand.js +40 -0
- package/dist-es/commands/GetUtterancesViewCommand.js.map +1 -0
- package/dist-es/commands/ListTagsForResourceCommand.js +40 -0
- package/dist-es/commands/ListTagsForResourceCommand.js.map +1 -0
- package/dist-es/commands/PutBotAliasCommand.js +40 -0
- package/dist-es/commands/PutBotAliasCommand.js.map +1 -0
- package/dist-es/commands/PutBotCommand.js +40 -0
- package/dist-es/commands/PutBotCommand.js.map +1 -0
- package/dist-es/commands/PutIntentCommand.js +40 -0
- package/dist-es/commands/PutIntentCommand.js.map +1 -0
- package/dist-es/commands/PutSlotTypeCommand.js +40 -0
- package/dist-es/commands/PutSlotTypeCommand.js.map +1 -0
- package/dist-es/commands/StartImportCommand.js +40 -0
- package/dist-es/commands/StartImportCommand.js.map +1 -0
- package/dist-es/commands/StartMigrationCommand.js +40 -0
- package/dist-es/commands/StartMigrationCommand.js.map +1 -0
- package/dist-es/commands/TagResourceCommand.js +40 -0
- package/dist-es/commands/TagResourceCommand.js.map +1 -0
- package/dist-es/commands/UntagResourceCommand.js +40 -0
- package/dist-es/commands/UntagResourceCommand.js.map +1 -0
- package/{dist/es → dist-es}/endpoints.js +0 -0
- package/dist-es/endpoints.js.map +1 -0
- package/{dist/es → dist-es}/index.js +0 -0
- package/dist-es/index.js.map +1 -0
- package/{dist/es → dist-es}/models/index.js +0 -0
- package/dist-es/models/index.js.map +1 -0
- package/{dist/es → dist-es}/models/models_0.js +0 -0
- package/dist-es/models/models_0.js.map +1 -0
- package/dist-es/pagination/GetBotAliasesPaginator.js +75 -0
- package/dist-es/pagination/GetBotAliasesPaginator.js.map +1 -0
- package/dist-es/pagination/GetBotChannelAssociationsPaginator.js +75 -0
- package/dist-es/pagination/GetBotChannelAssociationsPaginator.js.map +1 -0
- package/dist-es/pagination/GetBotVersionsPaginator.js +75 -0
- package/dist-es/pagination/GetBotVersionsPaginator.js.map +1 -0
- package/dist-es/pagination/GetBotsPaginator.js +75 -0
- package/dist-es/pagination/GetBotsPaginator.js.map +1 -0
- package/dist-es/pagination/GetBuiltinIntentsPaginator.js +75 -0
- package/dist-es/pagination/GetBuiltinIntentsPaginator.js.map +1 -0
- package/dist-es/pagination/GetBuiltinSlotTypesPaginator.js +75 -0
- package/dist-es/pagination/GetBuiltinSlotTypesPaginator.js.map +1 -0
- package/dist-es/pagination/GetIntentVersionsPaginator.js +75 -0
- package/dist-es/pagination/GetIntentVersionsPaginator.js.map +1 -0
- package/dist-es/pagination/GetIntentsPaginator.js +75 -0
- package/dist-es/pagination/GetIntentsPaginator.js.map +1 -0
- package/dist-es/pagination/GetMigrationsPaginator.js +75 -0
- package/dist-es/pagination/GetMigrationsPaginator.js.map +1 -0
- package/dist-es/pagination/GetSlotTypeVersionsPaginator.js +75 -0
- package/dist-es/pagination/GetSlotTypeVersionsPaginator.js.map +1 -0
- package/dist-es/pagination/GetSlotTypesPaginator.js +75 -0
- package/dist-es/pagination/GetSlotTypesPaginator.js.map +1 -0
- package/{dist/es → dist-es}/pagination/Interfaces.js +0 -0
- package/dist-es/pagination/Interfaces.js.map +1 -0
- package/{dist/es → dist-es}/protocols/Aws_restJson1.js +0 -0
- package/dist-es/protocols/Aws_restJson1.js.map +1 -0
- package/dist-es/runtimeConfig.browser.js +17 -0
- package/dist-es/runtimeConfig.browser.js.map +1 -0
- package/dist-es/runtimeConfig.js +22 -0
- package/dist-es/runtimeConfig.js.map +1 -0
- package/{dist/es → dist-es}/runtimeConfig.native.js +0 -0
- package/dist-es/runtimeConfig.native.js.map +1 -0
- package/dist-es/runtimeConfig.shared.js +14 -0
- package/dist-es/runtimeConfig.shared.js.map +1 -0
- package/dist-types/LexModelBuildingService.d.ts +655 -0
- package/dist-types/LexModelBuildingServiceClient.d.ts +177 -0
- package/dist-types/commands/CreateBotVersionCommand.d.ts +47 -0
- package/dist-types/commands/CreateIntentVersionCommand.d.ts +48 -0
- package/dist-types/commands/CreateSlotTypeVersionCommand.d.ts +50 -0
- package/dist-types/commands/DeleteBotAliasCommand.d.ts +43 -0
- package/dist-types/commands/DeleteBotChannelAssociationCommand.d.ts +38 -0
- package/dist-types/commands/DeleteBotCommand.d.ts +51 -0
- package/dist-types/commands/DeleteBotVersionCommand.d.ts +38 -0
- package/dist-types/commands/DeleteIntentCommand.d.ts +52 -0
- package/dist-types/commands/DeleteIntentVersionCommand.d.ts +38 -0
- package/dist-types/commands/DeleteSlotTypeCommand.d.ts +51 -0
- package/dist-types/commands/DeleteSlotTypeVersionCommand.d.ts +38 -0
- package/dist-types/commands/DeleteUtterancesCommand.d.ts +46 -0
- package/dist-types/commands/GetBotAliasCommand.d.ts +38 -0
- package/dist-types/commands/GetBotAliasesCommand.d.ts +37 -0
- package/dist-types/commands/GetBotChannelAssociationCommand.d.ts +38 -0
- package/dist-types/commands/GetBotChannelAssociationsCommand.d.ts +39 -0
- package/dist-types/commands/GetBotCommand.d.ts +38 -0
- package/dist-types/commands/GetBotVersionsCommand.d.ts +45 -0
- package/dist-types/commands/GetBotsCommand.d.ts +49 -0
- package/dist-types/commands/GetBuiltinIntentCommand.d.ts +37 -0
- package/dist-types/commands/GetBuiltinIntentsCommand.d.ts +38 -0
- package/dist-types/commands/GetBuiltinSlotTypesCommand.d.ts +41 -0
- package/dist-types/commands/GetExportCommand.d.ts +36 -0
- package/dist-types/commands/GetImportCommand.d.ts +36 -0
- package/dist-types/commands/GetIntentCommand.d.ts +38 -0
- package/dist-types/commands/GetIntentVersionsCommand.d.ts +45 -0
- package/dist-types/commands/GetIntentsCommand.d.ts +49 -0
- package/dist-types/commands/GetMigrationCommand.d.ts +37 -0
- package/dist-types/commands/GetMigrationsCommand.d.ts +35 -0
- package/dist-types/commands/GetSlotTypeCommand.d.ts +39 -0
- package/dist-types/commands/GetSlotTypeVersionsCommand.d.ts +45 -0
- package/dist-types/commands/GetSlotTypesCommand.d.ts +49 -0
- package/dist-types/commands/GetUtterancesViewCommand.d.ts +58 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +36 -0
- package/dist-types/commands/PutBotAliasCommand.d.ts +40 -0
- package/dist-types/commands/PutBotCommand.d.ts +52 -0
- package/dist-types/commands/PutIntentCommand.d.ts +92 -0
- package/dist-types/commands/PutSlotTypeCommand.d.ts +50 -0
- package/dist-types/commands/StartImportCommand.d.ts +35 -0
- package/dist-types/commands/StartMigrationCommand.d.ts +38 -0
- package/dist-types/commands/TagResourceCommand.d.ts +36 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +35 -0
- package/{dist/types → dist-types}/endpoints.d.ts +0 -0
- package/{dist/types → dist-types}/index.d.ts +0 -0
- package/{dist/types → dist-types}/models/index.d.ts +0 -0
- package/{dist/types → dist-types}/models/models_0.d.ts +0 -0
- package/dist-types/pagination/GetBotAliasesPaginator.d.ts +4 -0
- package/dist-types/pagination/GetBotChannelAssociationsPaginator.d.ts +4 -0
- package/dist-types/pagination/GetBotVersionsPaginator.d.ts +4 -0
- package/dist-types/pagination/GetBotsPaginator.d.ts +4 -0
- package/dist-types/pagination/GetBuiltinIntentsPaginator.d.ts +4 -0
- package/dist-types/pagination/GetBuiltinSlotTypesPaginator.d.ts +4 -0
- package/dist-types/pagination/GetIntentVersionsPaginator.d.ts +4 -0
- package/dist-types/pagination/GetIntentsPaginator.d.ts +4 -0
- package/dist-types/pagination/GetMigrationsPaginator.d.ts +4 -0
- package/dist-types/pagination/GetSlotTypeVersionsPaginator.d.ts +4 -0
- package/dist-types/pagination/GetSlotTypesPaginator.d.ts +4 -0
- package/dist-types/pagination/Interfaces.d.ts +6 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +128 -0
- package/{dist/types → dist-types}/runtimeConfig.browser.d.ts +0 -0
- package/dist-types/runtimeConfig.d.ts +37 -0
- 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 +655 -0
- package/dist-types/ts3.4/LexModelBuildingServiceClient.d.ts +177 -0
- package/dist-types/ts3.4/commands/CreateBotVersionCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/CreateIntentVersionCommand.d.ts +48 -0
- package/dist-types/ts3.4/commands/CreateSlotTypeVersionCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/DeleteBotAliasCommand.d.ts +43 -0
- package/dist-types/ts3.4/commands/DeleteBotChannelAssociationCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/DeleteBotCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeleteBotVersionCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/DeleteIntentCommand.d.ts +52 -0
- package/dist-types/ts3.4/commands/DeleteIntentVersionCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/DeleteSlotTypeCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeleteSlotTypeVersionCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/DeleteUtterancesCommand.d.ts +46 -0
- package/dist-types/ts3.4/commands/GetBotAliasCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/GetBotAliasesCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/GetBotChannelAssociationCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/GetBotChannelAssociationsCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/GetBotCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/GetBotVersionsCommand.d.ts +45 -0
- package/dist-types/ts3.4/commands/GetBotsCommand.d.ts +49 -0
- package/dist-types/ts3.4/commands/GetBuiltinIntentCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/GetBuiltinIntentsCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/GetBuiltinSlotTypesCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/GetExportCommand.d.ts +36 -0
- package/dist-types/ts3.4/commands/GetImportCommand.d.ts +36 -0
- package/dist-types/ts3.4/commands/GetIntentCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/GetIntentVersionsCommand.d.ts +45 -0
- package/dist-types/ts3.4/commands/GetIntentsCommand.d.ts +49 -0
- package/dist-types/ts3.4/commands/GetMigrationCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/GetMigrationsCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/GetSlotTypeCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/GetSlotTypeVersionsCommand.d.ts +45 -0
- package/dist-types/ts3.4/commands/GetSlotTypesCommand.d.ts +49 -0
- package/dist-types/ts3.4/commands/GetUtterancesViewCommand.d.ts +58 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +36 -0
- package/dist-types/ts3.4/commands/PutBotAliasCommand.d.ts +40 -0
- package/dist-types/ts3.4/commands/PutBotCommand.d.ts +52 -0
- package/dist-types/ts3.4/commands/PutIntentCommand.d.ts +92 -0
- package/dist-types/ts3.4/commands/PutSlotTypeCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/StartImportCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/StartMigrationCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +36 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +35 -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 → dist-types}/ts3.4/models/models_0.d.ts +0 -0
- package/dist-types/ts3.4/pagination/GetBotAliasesPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/GetBotChannelAssociationsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/GetBotVersionsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/GetBotsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/GetBuiltinIntentsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/GetBuiltinSlotTypesPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/GetIntentVersionsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/GetIntentsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/GetMigrationsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/GetSlotTypeVersionsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/GetSlotTypesPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +128 -0
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.browser.d.ts +0 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +37 -0
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.native.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.shared.d.ts +0 -0
- package/package.json +42 -42
- package/src/LexModelBuildingService.ts +1757 -0
- package/src/LexModelBuildingServiceClient.ts +395 -0
- package/src/commands/CreateBotVersionCommand.ts +111 -0
- package/src/commands/CreateIntentVersionCommand.ts +112 -0
- package/src/commands/CreateSlotTypeVersionCommand.ts +114 -0
- package/src/commands/DeleteBotAliasCommand.ts +107 -0
- package/src/commands/DeleteBotChannelAssociationCommand.ts +105 -0
- package/src/commands/DeleteBotCommand.ts +115 -0
- package/src/commands/DeleteBotVersionCommand.ts +102 -0
- package/src/commands/DeleteIntentCommand.ts +116 -0
- package/src/commands/DeleteIntentVersionCommand.ts +102 -0
- package/src/commands/DeleteSlotTypeCommand.ts +115 -0
- package/src/commands/DeleteSlotTypeVersionCommand.ts +102 -0
- package/src/commands/DeleteUtterancesCommand.ts +110 -0
- package/src/commands/GetBotAliasCommand.ts +102 -0
- package/src/commands/GetBotAliasesCommand.ts +101 -0
- package/src/commands/GetBotChannelAssociationCommand.ts +102 -0
- package/src/commands/GetBotChannelAssociationsCommand.ts +106 -0
- package/src/commands/GetBotCommand.ts +99 -0
- package/src/commands/GetBotVersionsCommand.ts +109 -0
- package/src/commands/GetBotsCommand.ts +113 -0
- package/src/commands/GetBuiltinIntentCommand.ts +101 -0
- package/src/commands/GetBuiltinIntentsCommand.ts +102 -0
- package/src/commands/GetBuiltinSlotTypesCommand.ts +105 -0
- package/src/commands/GetExportCommand.ts +100 -0
- package/src/commands/GetImportCommand.ts +100 -0
- package/src/commands/GetIntentCommand.ts +102 -0
- package/src/commands/GetIntentVersionsCommand.ts +109 -0
- package/src/commands/GetIntentsCommand.ts +113 -0
- package/src/commands/GetMigrationCommand.ts +101 -0
- package/src/commands/GetMigrationsCommand.ts +99 -0
- package/src/commands/GetSlotTypeCommand.ts +103 -0
- package/src/commands/GetSlotTypeVersionsCommand.ts +109 -0
- package/src/commands/GetSlotTypesCommand.ts +113 -0
- package/src/commands/GetUtterancesViewCommand.ts +122 -0
- package/src/commands/ListTagsForResourceCommand.ts +100 -0
- package/src/commands/PutBotAliasCommand.ts +104 -0
- package/src/commands/PutBotCommand.ts +113 -0
- package/src/commands/PutIntentCommand.ts +156 -0
- package/src/commands/PutSlotTypeCommand.ts +114 -0
- package/src/commands/StartImportCommand.ts +99 -0
- package/src/commands/StartMigrationCommand.ts +102 -0
- package/src/commands/TagResourceCommand.ts +100 -0
- package/src/commands/UntagResourceCommand.ts +99 -0
- package/src/endpoints.ts +72 -0
- package/{index.ts → src/index.ts} +0 -0
- package/{models → src/models}/index.ts +0 -0
- package/{models → src/models}/models_0.ts +0 -0
- package/src/pagination/GetBotAliasesPaginator.ts +59 -0
- package/src/pagination/GetBotChannelAssociationsPaginator.ts +59 -0
- package/src/pagination/GetBotVersionsPaginator.ts +59 -0
- package/src/pagination/GetBotsPaginator.ts +55 -0
- package/src/pagination/GetBuiltinIntentsPaginator.ts +59 -0
- package/src/pagination/GetBuiltinSlotTypesPaginator.ts +59 -0
- package/src/pagination/GetIntentVersionsPaginator.ts +59 -0
- package/src/pagination/GetIntentsPaginator.ts +55 -0
- package/src/pagination/GetMigrationsPaginator.ts +59 -0
- package/src/pagination/GetSlotTypeVersionsPaginator.ts +59 -0
- package/src/pagination/GetSlotTypesPaginator.ts +59 -0
- package/src/pagination/Interfaces.ts +8 -0
- package/src/protocols/Aws_restJson1.ts +7155 -0
- package/src/runtimeConfig.browser.ts +41 -0
- package/src/runtimeConfig.native.ts +17 -0
- package/src/runtimeConfig.shared.ts +17 -0
- package/src/runtimeConfig.ts +46 -0
- package/tsconfig.es.json +1 -1
- package/tsconfig.json +4 -2
- package/tsconfig.types.json +3 -2
- 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 +0 -644
- package/dist/cjs/LexModelBuildingService.js.map +0 -1
- package/dist/cjs/LexModelBuildingServiceClient.js +0 -47
- 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 +0 -64
- 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 +0 -64
- 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 +0 -64
- 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 +0 -64
- 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 +0 -64
- package/dist/cjs/commands/GetBotAliasCommand.js.map +0 -1
- package/dist/cjs/commands/GetBotAliasesCommand.js +0 -63
- package/dist/cjs/commands/GetBotAliasesCommand.js.map +0 -1
- package/dist/cjs/commands/GetBotChannelAssociationCommand.js +0 -64
- package/dist/cjs/commands/GetBotChannelAssociationCommand.js.map +0 -1
- package/dist/cjs/commands/GetBotChannelAssociationsCommand.js +0 -65
- package/dist/cjs/commands/GetBotChannelAssociationsCommand.js.map +0 -1
- package/dist/cjs/commands/GetBotCommand.js +0 -64
- 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 +0 -63
- package/dist/cjs/commands/GetBuiltinIntentCommand.js.map +0 -1
- package/dist/cjs/commands/GetBuiltinIntentsCommand.js +0 -64
- package/dist/cjs/commands/GetBuiltinIntentsCommand.js.map +0 -1
- package/dist/cjs/commands/GetBuiltinSlotTypesCommand.js +0 -67
- package/dist/cjs/commands/GetBuiltinSlotTypesCommand.js.map +0 -1
- package/dist/cjs/commands/GetExportCommand.js +0 -62
- package/dist/cjs/commands/GetExportCommand.js.map +0 -1
- package/dist/cjs/commands/GetImportCommand.js +0 -62
- package/dist/cjs/commands/GetImportCommand.js.map +0 -1
- package/dist/cjs/commands/GetIntentCommand.js +0 -64
- 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 +0 -63
- package/dist/cjs/commands/GetMigrationCommand.js.map +0 -1
- package/dist/cjs/commands/GetMigrationsCommand.js +0 -61
- package/dist/cjs/commands/GetMigrationsCommand.js.map +0 -1
- package/dist/cjs/commands/GetSlotTypeCommand.js +0 -65
- 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 +0 -62
- package/dist/cjs/commands/ListTagsForResourceCommand.js.map +0 -1
- package/dist/cjs/commands/PutBotAliasCommand.js +0 -66
- 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 +0 -61
- package/dist/cjs/commands/StartImportCommand.js.map +0 -1
- package/dist/cjs/commands/StartMigrationCommand.js +0 -64
- package/dist/cjs/commands/StartMigrationCommand.js.map +0 -1
- package/dist/cjs/commands/TagResourceCommand.js +0 -62
- package/dist/cjs/commands/TagResourceCommand.js.map +0 -1
- package/dist/cjs/commands/UntagResourceCommand.js +0 -61
- 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 +0 -46
- package/dist/cjs/pagination/GetBotAliasesPaginator.js.map +0 -1
- package/dist/cjs/pagination/GetBotChannelAssociationsPaginator.js +0 -46
- package/dist/cjs/pagination/GetBotChannelAssociationsPaginator.js.map +0 -1
- package/dist/cjs/pagination/GetBotVersionsPaginator.js +0 -46
- package/dist/cjs/pagination/GetBotVersionsPaginator.js.map +0 -1
- package/dist/cjs/pagination/GetBotsPaginator.js +0 -46
- package/dist/cjs/pagination/GetBotsPaginator.js.map +0 -1
- package/dist/cjs/pagination/GetBuiltinIntentsPaginator.js +0 -46
- package/dist/cjs/pagination/GetBuiltinIntentsPaginator.js.map +0 -1
- package/dist/cjs/pagination/GetBuiltinSlotTypesPaginator.js +0 -46
- package/dist/cjs/pagination/GetBuiltinSlotTypesPaginator.js.map +0 -1
- package/dist/cjs/pagination/GetIntentVersionsPaginator.js +0 -46
- package/dist/cjs/pagination/GetIntentVersionsPaginator.js.map +0 -1
- package/dist/cjs/pagination/GetIntentsPaginator.js +0 -46
- package/dist/cjs/pagination/GetIntentsPaginator.js.map +0 -1
- package/dist/cjs/pagination/GetMigrationsPaginator.js +0 -46
- package/dist/cjs/pagination/GetMigrationsPaginator.js.map +0 -1
- package/dist/cjs/pagination/GetSlotTypeVersionsPaginator.js +0 -46
- package/dist/cjs/pagination/GetSlotTypeVersionsPaginator.js.map +0 -1
- package/dist/cjs/pagination/GetSlotTypesPaginator.js +0 -46
- 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 +0 -6418
- package/dist/cjs/protocols/Aws_restJson1.js.map +0 -1
- package/dist/cjs/runtimeConfig.browser.js +0 -41
- package/dist/cjs/runtimeConfig.browser.js.map +0 -1
- package/dist/cjs/runtimeConfig.js +0 -46
- package/dist/cjs/runtimeConfig.js.map +0 -1
- package/dist/cjs/runtimeConfig.native.js.map +0 -1
- package/dist/cjs/runtimeConfig.shared.js +0 -21
- package/dist/cjs/runtimeConfig.shared.js.map +0 -1
- package/dist/es/LexModelBuildingService.js +0 -641
- package/dist/es/LexModelBuildingService.js.map +0 -1
- package/dist/es/LexModelBuildingServiceClient.js +0 -38
- package/dist/es/LexModelBuildingServiceClient.js.map +0 -1
- package/dist/es/commands/CreateBotVersionCommand.js +0 -40
- package/dist/es/commands/CreateBotVersionCommand.js.map +0 -1
- package/dist/es/commands/CreateIntentVersionCommand.js +0 -40
- package/dist/es/commands/CreateIntentVersionCommand.js.map +0 -1
- package/dist/es/commands/CreateSlotTypeVersionCommand.js +0 -40
- package/dist/es/commands/CreateSlotTypeVersionCommand.js.map +0 -1
- package/dist/es/commands/DeleteBotAliasCommand.js +0 -40
- package/dist/es/commands/DeleteBotAliasCommand.js.map +0 -1
- package/dist/es/commands/DeleteBotChannelAssociationCommand.js +0 -40
- package/dist/es/commands/DeleteBotChannelAssociationCommand.js.map +0 -1
- package/dist/es/commands/DeleteBotCommand.js +0 -40
- package/dist/es/commands/DeleteBotCommand.js.map +0 -1
- package/dist/es/commands/DeleteBotVersionCommand.js +0 -40
- package/dist/es/commands/DeleteBotVersionCommand.js.map +0 -1
- package/dist/es/commands/DeleteIntentCommand.js +0 -40
- package/dist/es/commands/DeleteIntentCommand.js.map +0 -1
- package/dist/es/commands/DeleteIntentVersionCommand.js +0 -40
- package/dist/es/commands/DeleteIntentVersionCommand.js.map +0 -1
- package/dist/es/commands/DeleteSlotTypeCommand.js +0 -40
- package/dist/es/commands/DeleteSlotTypeCommand.js.map +0 -1
- package/dist/es/commands/DeleteSlotTypeVersionCommand.js +0 -40
- package/dist/es/commands/DeleteSlotTypeVersionCommand.js.map +0 -1
- package/dist/es/commands/DeleteUtterancesCommand.js +0 -40
- package/dist/es/commands/DeleteUtterancesCommand.js.map +0 -1
- package/dist/es/commands/GetBotAliasCommand.js +0 -40
- package/dist/es/commands/GetBotAliasCommand.js.map +0 -1
- package/dist/es/commands/GetBotAliasesCommand.js +0 -40
- package/dist/es/commands/GetBotAliasesCommand.js.map +0 -1
- package/dist/es/commands/GetBotChannelAssociationCommand.js +0 -40
- package/dist/es/commands/GetBotChannelAssociationCommand.js.map +0 -1
- package/dist/es/commands/GetBotChannelAssociationsCommand.js +0 -40
- package/dist/es/commands/GetBotChannelAssociationsCommand.js.map +0 -1
- package/dist/es/commands/GetBotCommand.js +0 -40
- package/dist/es/commands/GetBotCommand.js.map +0 -1
- package/dist/es/commands/GetBotVersionsCommand.js +0 -40
- package/dist/es/commands/GetBotVersionsCommand.js.map +0 -1
- package/dist/es/commands/GetBotsCommand.js +0 -40
- package/dist/es/commands/GetBotsCommand.js.map +0 -1
- package/dist/es/commands/GetBuiltinIntentCommand.js +0 -40
- package/dist/es/commands/GetBuiltinIntentCommand.js.map +0 -1
- package/dist/es/commands/GetBuiltinIntentsCommand.js +0 -40
- package/dist/es/commands/GetBuiltinIntentsCommand.js.map +0 -1
- package/dist/es/commands/GetBuiltinSlotTypesCommand.js +0 -40
- package/dist/es/commands/GetBuiltinSlotTypesCommand.js.map +0 -1
- package/dist/es/commands/GetExportCommand.js +0 -40
- package/dist/es/commands/GetExportCommand.js.map +0 -1
- package/dist/es/commands/GetImportCommand.js +0 -40
- package/dist/es/commands/GetImportCommand.js.map +0 -1
- package/dist/es/commands/GetIntentCommand.js +0 -40
- package/dist/es/commands/GetIntentCommand.js.map +0 -1
- package/dist/es/commands/GetIntentVersionsCommand.js +0 -40
- package/dist/es/commands/GetIntentVersionsCommand.js.map +0 -1
- package/dist/es/commands/GetIntentsCommand.js +0 -40
- package/dist/es/commands/GetIntentsCommand.js.map +0 -1
- package/dist/es/commands/GetMigrationCommand.js +0 -40
- package/dist/es/commands/GetMigrationCommand.js.map +0 -1
- package/dist/es/commands/GetMigrationsCommand.js +0 -40
- package/dist/es/commands/GetMigrationsCommand.js.map +0 -1
- package/dist/es/commands/GetSlotTypeCommand.js +0 -40
- package/dist/es/commands/GetSlotTypeCommand.js.map +0 -1
- package/dist/es/commands/GetSlotTypeVersionsCommand.js +0 -40
- package/dist/es/commands/GetSlotTypeVersionsCommand.js.map +0 -1
- package/dist/es/commands/GetSlotTypesCommand.js +0 -40
- package/dist/es/commands/GetSlotTypesCommand.js.map +0 -1
- package/dist/es/commands/GetUtterancesViewCommand.js +0 -40
- package/dist/es/commands/GetUtterancesViewCommand.js.map +0 -1
- package/dist/es/commands/ListTagsForResourceCommand.js +0 -40
- package/dist/es/commands/ListTagsForResourceCommand.js.map +0 -1
- package/dist/es/commands/PutBotAliasCommand.js +0 -40
- package/dist/es/commands/PutBotAliasCommand.js.map +0 -1
- package/dist/es/commands/PutBotCommand.js +0 -40
- package/dist/es/commands/PutBotCommand.js.map +0 -1
- package/dist/es/commands/PutIntentCommand.js +0 -40
- package/dist/es/commands/PutIntentCommand.js.map +0 -1
- package/dist/es/commands/PutSlotTypeCommand.js +0 -40
- package/dist/es/commands/PutSlotTypeCommand.js.map +0 -1
- package/dist/es/commands/StartImportCommand.js +0 -40
- package/dist/es/commands/StartImportCommand.js.map +0 -1
- package/dist/es/commands/StartMigrationCommand.js +0 -40
- package/dist/es/commands/StartMigrationCommand.js.map +0 -1
- package/dist/es/commands/TagResourceCommand.js +0 -40
- package/dist/es/commands/TagResourceCommand.js.map +0 -1
- package/dist/es/commands/UntagResourceCommand.js +0 -40
- package/dist/es/commands/UntagResourceCommand.js.map +0 -1
- package/dist/es/endpoints.js.map +0 -1
- package/dist/es/index.js.map +0 -1
- 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 +0 -75
- package/dist/es/pagination/GetBotAliasesPaginator.js.map +0 -1
- package/dist/es/pagination/GetBotChannelAssociationsPaginator.js +0 -75
- package/dist/es/pagination/GetBotChannelAssociationsPaginator.js.map +0 -1
- package/dist/es/pagination/GetBotVersionsPaginator.js +0 -75
- package/dist/es/pagination/GetBotVersionsPaginator.js.map +0 -1
- package/dist/es/pagination/GetBotsPaginator.js +0 -75
- package/dist/es/pagination/GetBotsPaginator.js.map +0 -1
- package/dist/es/pagination/GetBuiltinIntentsPaginator.js +0 -75
- package/dist/es/pagination/GetBuiltinIntentsPaginator.js.map +0 -1
- package/dist/es/pagination/GetBuiltinSlotTypesPaginator.js +0 -75
- package/dist/es/pagination/GetBuiltinSlotTypesPaginator.js.map +0 -1
- package/dist/es/pagination/GetIntentVersionsPaginator.js +0 -75
- package/dist/es/pagination/GetIntentVersionsPaginator.js.map +0 -1
- package/dist/es/pagination/GetIntentsPaginator.js +0 -75
- package/dist/es/pagination/GetIntentsPaginator.js.map +0 -1
- package/dist/es/pagination/GetMigrationsPaginator.js +0 -75
- package/dist/es/pagination/GetMigrationsPaginator.js.map +0 -1
- package/dist/es/pagination/GetSlotTypeVersionsPaginator.js +0 -75
- package/dist/es/pagination/GetSlotTypeVersionsPaginator.js.map +0 -1
- package/dist/es/pagination/GetSlotTypesPaginator.js +0 -75
- package/dist/es/pagination/GetSlotTypesPaginator.js.map +0 -1
- 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 +0 -17
- package/dist/es/runtimeConfig.browser.js.map +0 -1
- package/dist/es/runtimeConfig.js +0 -22
- package/dist/es/runtimeConfig.js.map +0 -1
- package/dist/es/runtimeConfig.native.js.map +0 -1
- package/dist/es/runtimeConfig.shared.js +0 -14
- package/dist/es/runtimeConfig.shared.js.map +0 -1
- package/dist/types/LexModelBuildingService.d.ts +0 -655
- package/dist/types/LexModelBuildingServiceClient.d.ts +0 -177
- package/dist/types/commands/CreateBotVersionCommand.d.ts +0 -47
- package/dist/types/commands/CreateIntentVersionCommand.d.ts +0 -48
- package/dist/types/commands/CreateSlotTypeVersionCommand.d.ts +0 -50
- package/dist/types/commands/DeleteBotAliasCommand.d.ts +0 -43
- package/dist/types/commands/DeleteBotChannelAssociationCommand.d.ts +0 -38
- package/dist/types/commands/DeleteBotCommand.d.ts +0 -51
- package/dist/types/commands/DeleteBotVersionCommand.d.ts +0 -38
- package/dist/types/commands/DeleteIntentCommand.d.ts +0 -52
- package/dist/types/commands/DeleteIntentVersionCommand.d.ts +0 -38
- package/dist/types/commands/DeleteSlotTypeCommand.d.ts +0 -51
- package/dist/types/commands/DeleteSlotTypeVersionCommand.d.ts +0 -38
- package/dist/types/commands/DeleteUtterancesCommand.d.ts +0 -46
- package/dist/types/commands/GetBotAliasCommand.d.ts +0 -38
- package/dist/types/commands/GetBotAliasesCommand.d.ts +0 -37
- package/dist/types/commands/GetBotChannelAssociationCommand.d.ts +0 -38
- package/dist/types/commands/GetBotChannelAssociationsCommand.d.ts +0 -39
- package/dist/types/commands/GetBotCommand.d.ts +0 -38
- package/dist/types/commands/GetBotVersionsCommand.d.ts +0 -45
- package/dist/types/commands/GetBotsCommand.d.ts +0 -49
- package/dist/types/commands/GetBuiltinIntentCommand.d.ts +0 -37
- package/dist/types/commands/GetBuiltinIntentsCommand.d.ts +0 -38
- package/dist/types/commands/GetBuiltinSlotTypesCommand.d.ts +0 -41
- package/dist/types/commands/GetExportCommand.d.ts +0 -36
- package/dist/types/commands/GetImportCommand.d.ts +0 -36
- package/dist/types/commands/GetIntentCommand.d.ts +0 -38
- package/dist/types/commands/GetIntentVersionsCommand.d.ts +0 -45
- package/dist/types/commands/GetIntentsCommand.d.ts +0 -49
- package/dist/types/commands/GetMigrationCommand.d.ts +0 -37
- package/dist/types/commands/GetMigrationsCommand.d.ts +0 -35
- package/dist/types/commands/GetSlotTypeCommand.d.ts +0 -39
- package/dist/types/commands/GetSlotTypeVersionsCommand.d.ts +0 -45
- package/dist/types/commands/GetSlotTypesCommand.d.ts +0 -49
- package/dist/types/commands/GetUtterancesViewCommand.d.ts +0 -58
- package/dist/types/commands/ListTagsForResourceCommand.d.ts +0 -36
- package/dist/types/commands/PutBotAliasCommand.d.ts +0 -40
- package/dist/types/commands/PutBotCommand.d.ts +0 -52
- package/dist/types/commands/PutIntentCommand.d.ts +0 -92
- package/dist/types/commands/PutSlotTypeCommand.d.ts +0 -50
- package/dist/types/commands/StartImportCommand.d.ts +0 -35
- package/dist/types/commands/StartMigrationCommand.d.ts +0 -38
- package/dist/types/commands/TagResourceCommand.d.ts +0 -36
- package/dist/types/commands/UntagResourceCommand.d.ts +0 -35
- package/dist/types/pagination/GetBotAliasesPaginator.d.ts +0 -4
- package/dist/types/pagination/GetBotChannelAssociationsPaginator.d.ts +0 -4
- package/dist/types/pagination/GetBotVersionsPaginator.d.ts +0 -4
- package/dist/types/pagination/GetBotsPaginator.d.ts +0 -4
- package/dist/types/pagination/GetBuiltinIntentsPaginator.d.ts +0 -4
- package/dist/types/pagination/GetBuiltinSlotTypesPaginator.d.ts +0 -4
- package/dist/types/pagination/GetIntentVersionsPaginator.d.ts +0 -4
- package/dist/types/pagination/GetIntentsPaginator.d.ts +0 -4
- package/dist/types/pagination/GetMigrationsPaginator.d.ts +0 -4
- package/dist/types/pagination/GetSlotTypeVersionsPaginator.d.ts +0 -4
- package/dist/types/pagination/GetSlotTypesPaginator.d.ts +0 -4
- package/dist/types/pagination/Interfaces.d.ts +0 -6
- package/dist/types/protocols/Aws_restJson1.d.ts +0 -128
- package/dist/types/runtimeConfig.d.ts +0 -37
- package/dist/types/ts3.4/LexModelBuildingService.d.ts +0 -655
- package/dist/types/ts3.4/LexModelBuildingServiceClient.d.ts +0 -177
- 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/pagination/GetBotAliasesPaginator.d.ts +0 -4
- package/dist/types/ts3.4/pagination/GetBotChannelAssociationsPaginator.d.ts +0 -4
- package/dist/types/ts3.4/pagination/GetBotVersionsPaginator.d.ts +0 -4
- package/dist/types/ts3.4/pagination/GetBotsPaginator.d.ts +0 -4
- package/dist/types/ts3.4/pagination/GetBuiltinIntentsPaginator.d.ts +0 -4
- package/dist/types/ts3.4/pagination/GetBuiltinSlotTypesPaginator.d.ts +0 -4
- package/dist/types/ts3.4/pagination/GetIntentVersionsPaginator.d.ts +0 -4
- package/dist/types/ts3.4/pagination/GetIntentsPaginator.d.ts +0 -4
- package/dist/types/ts3.4/pagination/GetMigrationsPaginator.d.ts +0 -4
- package/dist/types/ts3.4/pagination/GetSlotTypeVersionsPaginator.d.ts +0 -4
- package/dist/types/ts3.4/pagination/GetSlotTypesPaginator.d.ts +0 -4
- package/dist/types/ts3.4/pagination/Interfaces.d.ts +0 -6
- package/dist/types/ts3.4/protocols/Aws_restJson1.d.ts +0 -128
- package/dist/types/ts3.4/runtimeConfig.d.ts +0 -37
- package/endpoints.ts +0 -72
- 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
|
@@ -1,113 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
LexModelBuildingServiceClientResolvedConfig,
|
|
3
|
-
ServiceInputTypes,
|
|
4
|
-
ServiceOutputTypes,
|
|
5
|
-
} from "../LexModelBuildingServiceClient";
|
|
6
|
-
import { CreateSlotTypeVersionRequest, CreateSlotTypeVersionResponse } from "../models/models_0";
|
|
7
|
-
import {
|
|
8
|
-
deserializeAws_restJson1CreateSlotTypeVersionCommand,
|
|
9
|
-
serializeAws_restJson1CreateSlotTypeVersionCommand,
|
|
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 CreateSlotTypeVersionCommandInput extends CreateSlotTypeVersionRequest {}
|
|
25
|
-
export interface CreateSlotTypeVersionCommandOutput extends CreateSlotTypeVersionResponse, __MetadataBearer {}
|
|
26
|
-
|
|
27
|
-
/**
|
|
28
|
-
* <p>Creates a new version of a slot type based on the
|
|
29
|
-
* <code>$LATEST</code> version of the specified slot type. If the
|
|
30
|
-
* <code>$LATEST</code> version of this resource has not changed since the
|
|
31
|
-
* last version that you created, Amazon Lex doesn't create a new version. It
|
|
32
|
-
* returns the last version that you created. </p>
|
|
33
|
-
* <note>
|
|
34
|
-
* <p>You can update only the <code>$LATEST</code> version of a slot
|
|
35
|
-
* type. You can't update the numbered versions that you create with the
|
|
36
|
-
* <code>CreateSlotTypeVersion</code> operation.</p>
|
|
37
|
-
* </note>
|
|
38
|
-
*
|
|
39
|
-
* <p>When you create a version of a slot type, Amazon Lex sets the version to
|
|
40
|
-
* 1. Subsequent versions increment by 1. For more information, see <a>versioning-intro</a>. </p>
|
|
41
|
-
*
|
|
42
|
-
* <p>This operation requires permissions for the
|
|
43
|
-
* <code>lex:CreateSlotTypeVersion</code> action.</p>
|
|
44
|
-
* @example
|
|
45
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
46
|
-
* ```javascript
|
|
47
|
-
* import { LexModelBuildingServiceClient, CreateSlotTypeVersionCommand } from "@aws-sdk/client-lex-model-building-service"; // ES Modules import
|
|
48
|
-
* // const { LexModelBuildingServiceClient, CreateSlotTypeVersionCommand } = require("@aws-sdk/client-lex-model-building-service"); // CommonJS import
|
|
49
|
-
* const client = new LexModelBuildingServiceClient(config);
|
|
50
|
-
* const command = new CreateSlotTypeVersionCommand(input);
|
|
51
|
-
* const response = await client.send(command);
|
|
52
|
-
* ```
|
|
53
|
-
*
|
|
54
|
-
* @see {@link CreateSlotTypeVersionCommandInput} for command's `input` shape.
|
|
55
|
-
* @see {@link CreateSlotTypeVersionCommandOutput} for command's `response` shape.
|
|
56
|
-
* @see {@link LexModelBuildingServiceClientResolvedConfig | config} for command's `input` shape.
|
|
57
|
-
*
|
|
58
|
-
*/
|
|
59
|
-
export class CreateSlotTypeVersionCommand extends $Command<
|
|
60
|
-
CreateSlotTypeVersionCommandInput,
|
|
61
|
-
CreateSlotTypeVersionCommandOutput,
|
|
62
|
-
LexModelBuildingServiceClientResolvedConfig
|
|
63
|
-
> {
|
|
64
|
-
// Start section: command_properties
|
|
65
|
-
// End section: command_properties
|
|
66
|
-
|
|
67
|
-
constructor(readonly input: CreateSlotTypeVersionCommandInput) {
|
|
68
|
-
// Start section: command_constructor
|
|
69
|
-
super();
|
|
70
|
-
// End section: command_constructor
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
/**
|
|
74
|
-
* @internal
|
|
75
|
-
*/
|
|
76
|
-
resolveMiddleware(
|
|
77
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
78
|
-
configuration: LexModelBuildingServiceClientResolvedConfig,
|
|
79
|
-
options?: __HttpHandlerOptions
|
|
80
|
-
): Handler<CreateSlotTypeVersionCommandInput, CreateSlotTypeVersionCommandOutput> {
|
|
81
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
82
|
-
|
|
83
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
84
|
-
|
|
85
|
-
const { logger } = configuration;
|
|
86
|
-
const clientName = "LexModelBuildingServiceClient";
|
|
87
|
-
const commandName = "CreateSlotTypeVersionCommand";
|
|
88
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
89
|
-
logger,
|
|
90
|
-
clientName,
|
|
91
|
-
commandName,
|
|
92
|
-
inputFilterSensitiveLog: CreateSlotTypeVersionRequest.filterSensitiveLog,
|
|
93
|
-
outputFilterSensitiveLog: CreateSlotTypeVersionResponse.filterSensitiveLog,
|
|
94
|
-
};
|
|
95
|
-
const { requestHandler } = configuration;
|
|
96
|
-
return stack.resolve(
|
|
97
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
98
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
99
|
-
handlerExecutionContext
|
|
100
|
-
);
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
private serialize(input: CreateSlotTypeVersionCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
104
|
-
return serializeAws_restJson1CreateSlotTypeVersionCommand(input, context);
|
|
105
|
-
}
|
|
106
|
-
|
|
107
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<CreateSlotTypeVersionCommandOutput> {
|
|
108
|
-
return deserializeAws_restJson1CreateSlotTypeVersionCommand(output, context);
|
|
109
|
-
}
|
|
110
|
-
|
|
111
|
-
// Start section: command_body_extra
|
|
112
|
-
// End section: command_body_extra
|
|
113
|
-
}
|
|
@@ -1,106 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
LexModelBuildingServiceClientResolvedConfig,
|
|
3
|
-
ServiceInputTypes,
|
|
4
|
-
ServiceOutputTypes,
|
|
5
|
-
} from "../LexModelBuildingServiceClient";
|
|
6
|
-
import { DeleteBotAliasRequest } from "../models/models_0";
|
|
7
|
-
import {
|
|
8
|
-
deserializeAws_restJson1DeleteBotAliasCommand,
|
|
9
|
-
serializeAws_restJson1DeleteBotAliasCommand,
|
|
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 DeleteBotAliasCommandInput extends DeleteBotAliasRequest {}
|
|
25
|
-
export interface DeleteBotAliasCommandOutput extends __MetadataBearer {}
|
|
26
|
-
|
|
27
|
-
/**
|
|
28
|
-
* <p>Deletes an alias for the specified bot. </p>
|
|
29
|
-
* <p>You can't delete an alias that is used in the association between a
|
|
30
|
-
* bot and a messaging channel. If an alias is used in a channel association,
|
|
31
|
-
* the <code>DeleteBot</code> operation returns a
|
|
32
|
-
* <code>ResourceInUseException</code> exception that includes a reference
|
|
33
|
-
* to the channel association that refers to the bot. You can remove the
|
|
34
|
-
* reference to the alias by deleting the channel association. If you get the
|
|
35
|
-
* same exception again, delete the referring association until the
|
|
36
|
-
* <code>DeleteBotAlias</code> operation is successful.</p>
|
|
37
|
-
* @example
|
|
38
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
39
|
-
* ```javascript
|
|
40
|
-
* import { LexModelBuildingServiceClient, DeleteBotAliasCommand } from "@aws-sdk/client-lex-model-building-service"; // ES Modules import
|
|
41
|
-
* // const { LexModelBuildingServiceClient, DeleteBotAliasCommand } = require("@aws-sdk/client-lex-model-building-service"); // CommonJS import
|
|
42
|
-
* const client = new LexModelBuildingServiceClient(config);
|
|
43
|
-
* const command = new DeleteBotAliasCommand(input);
|
|
44
|
-
* const response = await client.send(command);
|
|
45
|
-
* ```
|
|
46
|
-
*
|
|
47
|
-
* @see {@link DeleteBotAliasCommandInput} for command's `input` shape.
|
|
48
|
-
* @see {@link DeleteBotAliasCommandOutput} for command's `response` shape.
|
|
49
|
-
* @see {@link LexModelBuildingServiceClientResolvedConfig | config} for command's `input` shape.
|
|
50
|
-
*
|
|
51
|
-
*/
|
|
52
|
-
export class DeleteBotAliasCommand extends $Command<
|
|
53
|
-
DeleteBotAliasCommandInput,
|
|
54
|
-
DeleteBotAliasCommandOutput,
|
|
55
|
-
LexModelBuildingServiceClientResolvedConfig
|
|
56
|
-
> {
|
|
57
|
-
// Start section: command_properties
|
|
58
|
-
// End section: command_properties
|
|
59
|
-
|
|
60
|
-
constructor(readonly input: DeleteBotAliasCommandInput) {
|
|
61
|
-
// Start section: command_constructor
|
|
62
|
-
super();
|
|
63
|
-
// End section: command_constructor
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
/**
|
|
67
|
-
* @internal
|
|
68
|
-
*/
|
|
69
|
-
resolveMiddleware(
|
|
70
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
71
|
-
configuration: LexModelBuildingServiceClientResolvedConfig,
|
|
72
|
-
options?: __HttpHandlerOptions
|
|
73
|
-
): Handler<DeleteBotAliasCommandInput, DeleteBotAliasCommandOutput> {
|
|
74
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
75
|
-
|
|
76
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
77
|
-
|
|
78
|
-
const { logger } = configuration;
|
|
79
|
-
const clientName = "LexModelBuildingServiceClient";
|
|
80
|
-
const commandName = "DeleteBotAliasCommand";
|
|
81
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
82
|
-
logger,
|
|
83
|
-
clientName,
|
|
84
|
-
commandName,
|
|
85
|
-
inputFilterSensitiveLog: DeleteBotAliasRequest.filterSensitiveLog,
|
|
86
|
-
outputFilterSensitiveLog: (output: any) => output,
|
|
87
|
-
};
|
|
88
|
-
const { requestHandler } = configuration;
|
|
89
|
-
return stack.resolve(
|
|
90
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
91
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
92
|
-
handlerExecutionContext
|
|
93
|
-
);
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
private serialize(input: DeleteBotAliasCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
97
|
-
return serializeAws_restJson1DeleteBotAliasCommand(input, context);
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DeleteBotAliasCommandOutput> {
|
|
101
|
-
return deserializeAws_restJson1DeleteBotAliasCommand(output, context);
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
// Start section: command_body_extra
|
|
105
|
-
// End section: command_body_extra
|
|
106
|
-
}
|
|
@@ -1,104 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
LexModelBuildingServiceClientResolvedConfig,
|
|
3
|
-
ServiceInputTypes,
|
|
4
|
-
ServiceOutputTypes,
|
|
5
|
-
} from "../LexModelBuildingServiceClient";
|
|
6
|
-
import { DeleteBotChannelAssociationRequest } from "../models/models_0";
|
|
7
|
-
import {
|
|
8
|
-
deserializeAws_restJson1DeleteBotChannelAssociationCommand,
|
|
9
|
-
serializeAws_restJson1DeleteBotChannelAssociationCommand,
|
|
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 DeleteBotChannelAssociationCommandInput extends DeleteBotChannelAssociationRequest {}
|
|
25
|
-
export interface DeleteBotChannelAssociationCommandOutput extends __MetadataBearer {}
|
|
26
|
-
|
|
27
|
-
/**
|
|
28
|
-
* <p>Deletes the association between an Amazon Lex bot and a messaging
|
|
29
|
-
* platform.</p>
|
|
30
|
-
* <p>This operation requires permission for the
|
|
31
|
-
* <code>lex:DeleteBotChannelAssociation</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, DeleteBotChannelAssociationCommand } from "@aws-sdk/client-lex-model-building-service"; // ES Modules import
|
|
36
|
-
* // const { LexModelBuildingServiceClient, DeleteBotChannelAssociationCommand } = require("@aws-sdk/client-lex-model-building-service"); // CommonJS import
|
|
37
|
-
* const client = new LexModelBuildingServiceClient(config);
|
|
38
|
-
* const command = new DeleteBotChannelAssociationCommand(input);
|
|
39
|
-
* const response = await client.send(command);
|
|
40
|
-
* ```
|
|
41
|
-
*
|
|
42
|
-
* @see {@link DeleteBotChannelAssociationCommandInput} for command's `input` shape.
|
|
43
|
-
* @see {@link DeleteBotChannelAssociationCommandOutput} for command's `response` shape.
|
|
44
|
-
* @see {@link LexModelBuildingServiceClientResolvedConfig | config} for command's `input` shape.
|
|
45
|
-
*
|
|
46
|
-
*/
|
|
47
|
-
export class DeleteBotChannelAssociationCommand extends $Command<
|
|
48
|
-
DeleteBotChannelAssociationCommandInput,
|
|
49
|
-
DeleteBotChannelAssociationCommandOutput,
|
|
50
|
-
LexModelBuildingServiceClientResolvedConfig
|
|
51
|
-
> {
|
|
52
|
-
// Start section: command_properties
|
|
53
|
-
// End section: command_properties
|
|
54
|
-
|
|
55
|
-
constructor(readonly input: DeleteBotChannelAssociationCommandInput) {
|
|
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<DeleteBotChannelAssociationCommandInput, DeleteBotChannelAssociationCommandOutput> {
|
|
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 = "DeleteBotChannelAssociationCommand";
|
|
76
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
77
|
-
logger,
|
|
78
|
-
clientName,
|
|
79
|
-
commandName,
|
|
80
|
-
inputFilterSensitiveLog: DeleteBotChannelAssociationRequest.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: DeleteBotChannelAssociationCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
92
|
-
return serializeAws_restJson1DeleteBotChannelAssociationCommand(input, context);
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
private deserialize(
|
|
96
|
-
output: __HttpResponse,
|
|
97
|
-
context: __SerdeContext
|
|
98
|
-
): Promise<DeleteBotChannelAssociationCommandOutput> {
|
|
99
|
-
return deserializeAws_restJson1DeleteBotChannelAssociationCommand(output, context);
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
// Start section: command_body_extra
|
|
103
|
-
// End section: command_body_extra
|
|
104
|
-
}
|
|
@@ -1,114 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
LexModelBuildingServiceClientResolvedConfig,
|
|
3
|
-
ServiceInputTypes,
|
|
4
|
-
ServiceOutputTypes,
|
|
5
|
-
} from "../LexModelBuildingServiceClient";
|
|
6
|
-
import { DeleteBotRequest } from "../models/models_0";
|
|
7
|
-
import {
|
|
8
|
-
deserializeAws_restJson1DeleteBotCommand,
|
|
9
|
-
serializeAws_restJson1DeleteBotCommand,
|
|
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 DeleteBotCommandInput extends DeleteBotRequest {}
|
|
25
|
-
export interface DeleteBotCommandOutput extends __MetadataBearer {}
|
|
26
|
-
|
|
27
|
-
/**
|
|
28
|
-
* <p>Deletes all versions of the bot, including the <code>$LATEST</code>
|
|
29
|
-
* version. To delete a specific version of the bot, use the <a>DeleteBotVersion</a> operation. The <code>DeleteBot</code>
|
|
30
|
-
* operation doesn't immediately remove the bot schema. Instead, it is marked
|
|
31
|
-
* for deletion and removed later.</p>
|
|
32
|
-
* <p>Amazon Lex stores utterances indefinitely for improving the ability of
|
|
33
|
-
* your bot to respond to user inputs. These utterances are not removed when
|
|
34
|
-
* the bot is deleted. To remove the utterances, use the <a>DeleteUtterances</a> operation.</p>
|
|
35
|
-
* <p>If a bot has an alias, you can't delete it. Instead, the
|
|
36
|
-
* <code>DeleteBot</code> operation returns a
|
|
37
|
-
* <code>ResourceInUseException</code> exception that includes a reference
|
|
38
|
-
* to the alias that refers to the bot. To remove the reference to the bot,
|
|
39
|
-
* delete the alias. If you get the same exception again, delete the
|
|
40
|
-
* referring alias until the <code>DeleteBot</code> operation is
|
|
41
|
-
* successful.</p>
|
|
42
|
-
*
|
|
43
|
-
* <p>This operation requires permissions for the
|
|
44
|
-
* <code>lex:DeleteBot</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, DeleteBotCommand } from "@aws-sdk/client-lex-model-building-service"; // ES Modules import
|
|
49
|
-
* // const { LexModelBuildingServiceClient, DeleteBotCommand } = require("@aws-sdk/client-lex-model-building-service"); // CommonJS import
|
|
50
|
-
* const client = new LexModelBuildingServiceClient(config);
|
|
51
|
-
* const command = new DeleteBotCommand(input);
|
|
52
|
-
* const response = await client.send(command);
|
|
53
|
-
* ```
|
|
54
|
-
*
|
|
55
|
-
* @see {@link DeleteBotCommandInput} for command's `input` shape.
|
|
56
|
-
* @see {@link DeleteBotCommandOutput} for command's `response` shape.
|
|
57
|
-
* @see {@link LexModelBuildingServiceClientResolvedConfig | config} for command's `input` shape.
|
|
58
|
-
*
|
|
59
|
-
*/
|
|
60
|
-
export class DeleteBotCommand extends $Command<
|
|
61
|
-
DeleteBotCommandInput,
|
|
62
|
-
DeleteBotCommandOutput,
|
|
63
|
-
LexModelBuildingServiceClientResolvedConfig
|
|
64
|
-
> {
|
|
65
|
-
// Start section: command_properties
|
|
66
|
-
// End section: command_properties
|
|
67
|
-
|
|
68
|
-
constructor(readonly input: DeleteBotCommandInput) {
|
|
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<DeleteBotCommandInput, DeleteBotCommandOutput> {
|
|
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 = "DeleteBotCommand";
|
|
89
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
90
|
-
logger,
|
|
91
|
-
clientName,
|
|
92
|
-
commandName,
|
|
93
|
-
inputFilterSensitiveLog: DeleteBotRequest.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: DeleteBotCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
105
|
-
return serializeAws_restJson1DeleteBotCommand(input, context);
|
|
106
|
-
}
|
|
107
|
-
|
|
108
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DeleteBotCommandOutput> {
|
|
109
|
-
return deserializeAws_restJson1DeleteBotCommand(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 { DeleteBotVersionRequest } from "../models/models_0";
|
|
7
|
-
import {
|
|
8
|
-
deserializeAws_restJson1DeleteBotVersionCommand,
|
|
9
|
-
serializeAws_restJson1DeleteBotVersionCommand,
|
|
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 DeleteBotVersionCommandInput extends DeleteBotVersionRequest {}
|
|
25
|
-
export interface DeleteBotVersionCommandOutput extends __MetadataBearer {}
|
|
26
|
-
|
|
27
|
-
/**
|
|
28
|
-
* <p>Deletes a specific version of a bot. To delete all versions of a
|
|
29
|
-
* bot, use the <a>DeleteBot</a> operation. </p>
|
|
30
|
-
* <p>This operation requires permissions for the
|
|
31
|
-
* <code>lex:DeleteBotVersion</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, DeleteBotVersionCommand } from "@aws-sdk/client-lex-model-building-service"; // ES Modules import
|
|
36
|
-
* // const { LexModelBuildingServiceClient, DeleteBotVersionCommand } = require("@aws-sdk/client-lex-model-building-service"); // CommonJS import
|
|
37
|
-
* const client = new LexModelBuildingServiceClient(config);
|
|
38
|
-
* const command = new DeleteBotVersionCommand(input);
|
|
39
|
-
* const response = await client.send(command);
|
|
40
|
-
* ```
|
|
41
|
-
*
|
|
42
|
-
* @see {@link DeleteBotVersionCommandInput} for command's `input` shape.
|
|
43
|
-
* @see {@link DeleteBotVersionCommandOutput} for command's `response` shape.
|
|
44
|
-
* @see {@link LexModelBuildingServiceClientResolvedConfig | config} for command's `input` shape.
|
|
45
|
-
*
|
|
46
|
-
*/
|
|
47
|
-
export class DeleteBotVersionCommand extends $Command<
|
|
48
|
-
DeleteBotVersionCommandInput,
|
|
49
|
-
DeleteBotVersionCommandOutput,
|
|
50
|
-
LexModelBuildingServiceClientResolvedConfig
|
|
51
|
-
> {
|
|
52
|
-
// Start section: command_properties
|
|
53
|
-
// End section: command_properties
|
|
54
|
-
|
|
55
|
-
constructor(readonly input: DeleteBotVersionCommandInput) {
|
|
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<DeleteBotVersionCommandInput, DeleteBotVersionCommandOutput> {
|
|
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 = "DeleteBotVersionCommand";
|
|
76
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
77
|
-
logger,
|
|
78
|
-
clientName,
|
|
79
|
-
commandName,
|
|
80
|
-
inputFilterSensitiveLog: DeleteBotVersionRequest.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: DeleteBotVersionCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
92
|
-
return serializeAws_restJson1DeleteBotVersionCommand(input, context);
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DeleteBotVersionCommandOutput> {
|
|
96
|
-
return deserializeAws_restJson1DeleteBotVersionCommand(output, context);
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
// Start section: command_body_extra
|
|
100
|
-
// End section: command_body_extra
|
|
101
|
-
}
|
|
@@ -1,115 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
LexModelBuildingServiceClientResolvedConfig,
|
|
3
|
-
ServiceInputTypes,
|
|
4
|
-
ServiceOutputTypes,
|
|
5
|
-
} from "../LexModelBuildingServiceClient";
|
|
6
|
-
import { DeleteIntentRequest } from "../models/models_0";
|
|
7
|
-
import {
|
|
8
|
-
deserializeAws_restJson1DeleteIntentCommand,
|
|
9
|
-
serializeAws_restJson1DeleteIntentCommand,
|
|
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 DeleteIntentCommandInput extends DeleteIntentRequest {}
|
|
25
|
-
export interface DeleteIntentCommandOutput extends __MetadataBearer {}
|
|
26
|
-
|
|
27
|
-
/**
|
|
28
|
-
* <p>Deletes all versions of the intent, including the
|
|
29
|
-
* <code>$LATEST</code> version. To delete a specific version of the
|
|
30
|
-
* intent, use the <a>DeleteIntentVersion</a> operation.</p>
|
|
31
|
-
* <p> You can delete a version of an intent only if it is not
|
|
32
|
-
* referenced. To delete an intent that is referred to in one or more bots
|
|
33
|
-
* (see <a>how-it-works</a>), you must remove those references
|
|
34
|
-
* first. </p>
|
|
35
|
-
* <note>
|
|
36
|
-
* <p> If you get the <code>ResourceInUseException</code> exception, it
|
|
37
|
-
* provides an example reference that shows where the intent is referenced.
|
|
38
|
-
* To remove the reference to the intent, either update the bot or delete
|
|
39
|
-
* it. If you get the same exception when you attempt to delete the intent
|
|
40
|
-
* again, repeat until the intent has no references and the call to
|
|
41
|
-
* <code>DeleteIntent</code> is successful. </p>
|
|
42
|
-
* </note>
|
|
43
|
-
*
|
|
44
|
-
* <p> This operation requires permission for the
|
|
45
|
-
* <code>lex:DeleteIntent</code> action. </p>
|
|
46
|
-
* @example
|
|
47
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
48
|
-
* ```javascript
|
|
49
|
-
* import { LexModelBuildingServiceClient, DeleteIntentCommand } from "@aws-sdk/client-lex-model-building-service"; // ES Modules import
|
|
50
|
-
* // const { LexModelBuildingServiceClient, DeleteIntentCommand } = require("@aws-sdk/client-lex-model-building-service"); // CommonJS import
|
|
51
|
-
* const client = new LexModelBuildingServiceClient(config);
|
|
52
|
-
* const command = new DeleteIntentCommand(input);
|
|
53
|
-
* const response = await client.send(command);
|
|
54
|
-
* ```
|
|
55
|
-
*
|
|
56
|
-
* @see {@link DeleteIntentCommandInput} for command's `input` shape.
|
|
57
|
-
* @see {@link DeleteIntentCommandOutput} for command's `response` shape.
|
|
58
|
-
* @see {@link LexModelBuildingServiceClientResolvedConfig | config} for command's `input` shape.
|
|
59
|
-
*
|
|
60
|
-
*/
|
|
61
|
-
export class DeleteIntentCommand extends $Command<
|
|
62
|
-
DeleteIntentCommandInput,
|
|
63
|
-
DeleteIntentCommandOutput,
|
|
64
|
-
LexModelBuildingServiceClientResolvedConfig
|
|
65
|
-
> {
|
|
66
|
-
// Start section: command_properties
|
|
67
|
-
// End section: command_properties
|
|
68
|
-
|
|
69
|
-
constructor(readonly input: DeleteIntentCommandInput) {
|
|
70
|
-
// Start section: command_constructor
|
|
71
|
-
super();
|
|
72
|
-
// End section: command_constructor
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
/**
|
|
76
|
-
* @internal
|
|
77
|
-
*/
|
|
78
|
-
resolveMiddleware(
|
|
79
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
80
|
-
configuration: LexModelBuildingServiceClientResolvedConfig,
|
|
81
|
-
options?: __HttpHandlerOptions
|
|
82
|
-
): Handler<DeleteIntentCommandInput, DeleteIntentCommandOutput> {
|
|
83
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
84
|
-
|
|
85
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
86
|
-
|
|
87
|
-
const { logger } = configuration;
|
|
88
|
-
const clientName = "LexModelBuildingServiceClient";
|
|
89
|
-
const commandName = "DeleteIntentCommand";
|
|
90
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
91
|
-
logger,
|
|
92
|
-
clientName,
|
|
93
|
-
commandName,
|
|
94
|
-
inputFilterSensitiveLog: DeleteIntentRequest.filterSensitiveLog,
|
|
95
|
-
outputFilterSensitiveLog: (output: any) => output,
|
|
96
|
-
};
|
|
97
|
-
const { requestHandler } = configuration;
|
|
98
|
-
return stack.resolve(
|
|
99
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
100
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
101
|
-
handlerExecutionContext
|
|
102
|
-
);
|
|
103
|
-
}
|
|
104
|
-
|
|
105
|
-
private serialize(input: DeleteIntentCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
106
|
-
return serializeAws_restJson1DeleteIntentCommand(input, context);
|
|
107
|
-
}
|
|
108
|
-
|
|
109
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DeleteIntentCommandOutput> {
|
|
110
|
-
return deserializeAws_restJson1DeleteIntentCommand(output, context);
|
|
111
|
-
}
|
|
112
|
-
|
|
113
|
-
// Start section: command_body_extra
|
|
114
|
-
// End section: command_body_extra
|
|
115
|
-
}
|