@aws-sdk/client-lex-model-building-service 3.31.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 +39 -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/endpoints.js +72 -0
- package/dist-cjs/endpoints.js.map +1 -0
- package/dist-cjs/index.js +61 -0
- package/dist-cjs/index.js.map +1 -0
- package/dist-cjs/models/index.js +5 -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/runtimeConfig.native.js +20 -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/endpoints.js +68 -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/models/models_0.js +617 -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/protocols/Aws_restJson1.js +7027 -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/runtimeConfig.native.js +9 -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/runtimeConfig.browser.d.ts +37 -0
- package/dist-types/runtimeConfig.d.ts +37 -0
- package/dist-types/runtimeConfig.native.d.ts +36 -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/ts3.4/runtimeConfig.browser.d.ts +37 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +37 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +36 -0
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.shared.d.ts +0 -0
- package/package.json +50 -50
- 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 -3
- package/tsconfig.json +7 -7
- package/tsconfig.types.json +9 -0
- 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 +0 -72
- package/dist/cjs/endpoints.js.map +0 -1
- package/dist/cjs/index.js +0 -61
- package/dist/cjs/index.js.map +0 -1
- package/dist/cjs/models/index.js +0 -5
- 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 +0 -20
- 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 -647
- package/dist/es/LexModelBuildingService.js.map +0 -1
- package/dist/es/LexModelBuildingServiceClient.js +0 -49
- package/dist/es/LexModelBuildingServiceClient.js.map +0 -1
- package/dist/es/commands/CreateBotVersionCommand.js +0 -77
- package/dist/es/commands/CreateBotVersionCommand.js.map +0 -1
- package/dist/es/commands/CreateIntentVersionCommand.js +0 -78
- package/dist/es/commands/CreateIntentVersionCommand.js.map +0 -1
- package/dist/es/commands/CreateSlotTypeVersionCommand.js +0 -80
- package/dist/es/commands/CreateSlotTypeVersionCommand.js.map +0 -1
- package/dist/es/commands/DeleteBotAliasCommand.js +0 -73
- package/dist/es/commands/DeleteBotAliasCommand.js.map +0 -1
- package/dist/es/commands/DeleteBotChannelAssociationCommand.js +0 -68
- package/dist/es/commands/DeleteBotChannelAssociationCommand.js.map +0 -1
- package/dist/es/commands/DeleteBotCommand.js +0 -81
- package/dist/es/commands/DeleteBotCommand.js.map +0 -1
- package/dist/es/commands/DeleteBotVersionCommand.js +0 -68
- package/dist/es/commands/DeleteBotVersionCommand.js.map +0 -1
- package/dist/es/commands/DeleteIntentCommand.js +0 -82
- package/dist/es/commands/DeleteIntentCommand.js.map +0 -1
- package/dist/es/commands/DeleteIntentVersionCommand.js +0 -68
- package/dist/es/commands/DeleteIntentVersionCommand.js.map +0 -1
- package/dist/es/commands/DeleteSlotTypeCommand.js +0 -81
- package/dist/es/commands/DeleteSlotTypeCommand.js.map +0 -1
- package/dist/es/commands/DeleteSlotTypeVersionCommand.js +0 -68
- package/dist/es/commands/DeleteSlotTypeVersionCommand.js.map +0 -1
- package/dist/es/commands/DeleteUtterancesCommand.js +0 -76
- package/dist/es/commands/DeleteUtterancesCommand.js.map +0 -1
- package/dist/es/commands/GetBotAliasCommand.js +0 -68
- package/dist/es/commands/GetBotAliasCommand.js.map +0 -1
- package/dist/es/commands/GetBotAliasesCommand.js +0 -67
- package/dist/es/commands/GetBotAliasesCommand.js.map +0 -1
- package/dist/es/commands/GetBotChannelAssociationCommand.js +0 -68
- package/dist/es/commands/GetBotChannelAssociationCommand.js.map +0 -1
- package/dist/es/commands/GetBotChannelAssociationsCommand.js +0 -69
- package/dist/es/commands/GetBotChannelAssociationsCommand.js.map +0 -1
- package/dist/es/commands/GetBotCommand.js +0 -68
- package/dist/es/commands/GetBotCommand.js.map +0 -1
- package/dist/es/commands/GetBotVersionsCommand.js +0 -75
- package/dist/es/commands/GetBotVersionsCommand.js.map +0 -1
- package/dist/es/commands/GetBotsCommand.js +0 -79
- package/dist/es/commands/GetBotsCommand.js.map +0 -1
- package/dist/es/commands/GetBuiltinIntentCommand.js +0 -67
- package/dist/es/commands/GetBuiltinIntentCommand.js.map +0 -1
- package/dist/es/commands/GetBuiltinIntentsCommand.js +0 -68
- package/dist/es/commands/GetBuiltinIntentsCommand.js.map +0 -1
- package/dist/es/commands/GetBuiltinSlotTypesCommand.js +0 -71
- package/dist/es/commands/GetBuiltinSlotTypesCommand.js.map +0 -1
- package/dist/es/commands/GetExportCommand.js +0 -66
- package/dist/es/commands/GetExportCommand.js.map +0 -1
- package/dist/es/commands/GetImportCommand.js +0 -66
- package/dist/es/commands/GetImportCommand.js.map +0 -1
- package/dist/es/commands/GetIntentCommand.js +0 -68
- package/dist/es/commands/GetIntentCommand.js.map +0 -1
- package/dist/es/commands/GetIntentVersionsCommand.js +0 -75
- package/dist/es/commands/GetIntentVersionsCommand.js.map +0 -1
- package/dist/es/commands/GetIntentsCommand.js +0 -79
- package/dist/es/commands/GetIntentsCommand.js.map +0 -1
- package/dist/es/commands/GetMigrationCommand.js +0 -67
- package/dist/es/commands/GetMigrationCommand.js.map +0 -1
- package/dist/es/commands/GetMigrationsCommand.js +0 -65
- package/dist/es/commands/GetMigrationsCommand.js.map +0 -1
- package/dist/es/commands/GetSlotTypeCommand.js +0 -69
- package/dist/es/commands/GetSlotTypeCommand.js.map +0 -1
- package/dist/es/commands/GetSlotTypeVersionsCommand.js +0 -75
- package/dist/es/commands/GetSlotTypeVersionsCommand.js.map +0 -1
- package/dist/es/commands/GetSlotTypesCommand.js +0 -79
- package/dist/es/commands/GetSlotTypesCommand.js.map +0 -1
- package/dist/es/commands/GetUtterancesViewCommand.js +0 -88
- package/dist/es/commands/GetUtterancesViewCommand.js.map +0 -1
- package/dist/es/commands/ListTagsForResourceCommand.js +0 -66
- package/dist/es/commands/ListTagsForResourceCommand.js.map +0 -1
- package/dist/es/commands/PutBotAliasCommand.js +0 -70
- package/dist/es/commands/PutBotAliasCommand.js.map +0 -1
- package/dist/es/commands/PutBotCommand.js +0 -82
- package/dist/es/commands/PutBotCommand.js.map +0 -1
- package/dist/es/commands/PutIntentCommand.js +0 -122
- package/dist/es/commands/PutIntentCommand.js.map +0 -1
- package/dist/es/commands/PutSlotTypeCommand.js +0 -80
- package/dist/es/commands/PutSlotTypeCommand.js.map +0 -1
- package/dist/es/commands/StartImportCommand.js +0 -65
- package/dist/es/commands/StartImportCommand.js.map +0 -1
- package/dist/es/commands/StartMigrationCommand.js +0 -68
- package/dist/es/commands/StartMigrationCommand.js.map +0 -1
- package/dist/es/commands/TagResourceCommand.js +0 -66
- package/dist/es/commands/TagResourceCommand.js.map +0 -1
- package/dist/es/commands/UntagResourceCommand.js +0 -65
- package/dist/es/commands/UntagResourceCommand.js.map +0 -1
- package/dist/es/endpoints.js +0 -68
- 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 +0 -968
- package/dist/es/models/models_0.js.map +0 -1
- package/dist/es/package.json +0 -91
- package/dist/es/pagination/GetBotAliasesPaginator.js +0 -87
- package/dist/es/pagination/GetBotAliasesPaginator.js.map +0 -1
- package/dist/es/pagination/GetBotChannelAssociationsPaginator.js +0 -87
- package/dist/es/pagination/GetBotChannelAssociationsPaginator.js.map +0 -1
- package/dist/es/pagination/GetBotVersionsPaginator.js +0 -87
- package/dist/es/pagination/GetBotVersionsPaginator.js.map +0 -1
- package/dist/es/pagination/GetBotsPaginator.js +0 -87
- package/dist/es/pagination/GetBotsPaginator.js.map +0 -1
- package/dist/es/pagination/GetBuiltinIntentsPaginator.js +0 -87
- package/dist/es/pagination/GetBuiltinIntentsPaginator.js.map +0 -1
- package/dist/es/pagination/GetBuiltinSlotTypesPaginator.js +0 -87
- package/dist/es/pagination/GetBuiltinSlotTypesPaginator.js.map +0 -1
- package/dist/es/pagination/GetIntentVersionsPaginator.js +0 -87
- package/dist/es/pagination/GetIntentVersionsPaginator.js.map +0 -1
- package/dist/es/pagination/GetIntentsPaginator.js +0 -87
- package/dist/es/pagination/GetIntentsPaginator.js.map +0 -1
- package/dist/es/pagination/GetMigrationsPaginator.js +0 -87
- package/dist/es/pagination/GetMigrationsPaginator.js.map +0 -1
- package/dist/es/pagination/GetSlotTypeVersionsPaginator.js +0 -87
- package/dist/es/pagination/GetSlotTypeVersionsPaginator.js.map +0 -1
- package/dist/es/pagination/GetSlotTypesPaginator.js +0 -87
- 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 +0 -7032
- package/dist/es/protocols/Aws_restJson1.js.map +0 -1
- package/dist/es/runtimeConfig.browser.js +0 -20
- package/dist/es/runtimeConfig.browser.js.map +0 -1
- package/dist/es/runtimeConfig.js +0 -25
- package/dist/es/runtimeConfig.js.map +0 -1
- package/dist/es/runtimeConfig.native.js +0 -12
- package/dist/es/runtimeConfig.native.js.map +0 -1
- package/dist/es/runtimeConfig.shared.js +0 -17
- 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.browser.d.ts +0 -36
- package/dist/types/runtimeConfig.d.ts +0 -36
- package/dist/types/runtimeConfig.native.d.ts +0 -35
- 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.browser.d.ts +0 -36
- package/dist/types/ts3.4/runtimeConfig.d.ts +0 -36
- package/dist/types/ts3.4/runtimeConfig.native.d.ts +0 -35
- 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
|
@@ -0,0 +1,395 @@
|
|
|
1
|
+
import {
|
|
2
|
+
EndpointsInputConfig,
|
|
3
|
+
EndpointsResolvedConfig,
|
|
4
|
+
RegionInputConfig,
|
|
5
|
+
RegionResolvedConfig,
|
|
6
|
+
resolveEndpointsConfig,
|
|
7
|
+
resolveRegionConfig,
|
|
8
|
+
} from "@aws-sdk/config-resolver";
|
|
9
|
+
import { getContentLengthPlugin } from "@aws-sdk/middleware-content-length";
|
|
10
|
+
import {
|
|
11
|
+
getHostHeaderPlugin,
|
|
12
|
+
HostHeaderInputConfig,
|
|
13
|
+
HostHeaderResolvedConfig,
|
|
14
|
+
resolveHostHeaderConfig,
|
|
15
|
+
} from "@aws-sdk/middleware-host-header";
|
|
16
|
+
import { getLoggerPlugin } from "@aws-sdk/middleware-logger";
|
|
17
|
+
import { getRetryPlugin, resolveRetryConfig, RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry";
|
|
18
|
+
import {
|
|
19
|
+
AwsAuthInputConfig,
|
|
20
|
+
AwsAuthResolvedConfig,
|
|
21
|
+
getAwsAuthPlugin,
|
|
22
|
+
resolveAwsAuthConfig,
|
|
23
|
+
} from "@aws-sdk/middleware-signing";
|
|
24
|
+
import {
|
|
25
|
+
getUserAgentPlugin,
|
|
26
|
+
resolveUserAgentConfig,
|
|
27
|
+
UserAgentInputConfig,
|
|
28
|
+
UserAgentResolvedConfig,
|
|
29
|
+
} from "@aws-sdk/middleware-user-agent";
|
|
30
|
+
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
31
|
+
import {
|
|
32
|
+
Client as __Client,
|
|
33
|
+
SmithyConfiguration as __SmithyConfiguration,
|
|
34
|
+
SmithyResolvedConfiguration as __SmithyResolvedConfiguration,
|
|
35
|
+
} from "@aws-sdk/smithy-client";
|
|
36
|
+
import {
|
|
37
|
+
Credentials as __Credentials,
|
|
38
|
+
Decoder as __Decoder,
|
|
39
|
+
Encoder as __Encoder,
|
|
40
|
+
Hash as __Hash,
|
|
41
|
+
HashConstructor as __HashConstructor,
|
|
42
|
+
HttpHandlerOptions as __HttpHandlerOptions,
|
|
43
|
+
Logger as __Logger,
|
|
44
|
+
Provider as __Provider,
|
|
45
|
+
Provider,
|
|
46
|
+
RegionInfoProvider,
|
|
47
|
+
StreamCollector as __StreamCollector,
|
|
48
|
+
UrlParser as __UrlParser,
|
|
49
|
+
UserAgent as __UserAgent,
|
|
50
|
+
} from "@aws-sdk/types";
|
|
51
|
+
|
|
52
|
+
import { CreateBotVersionCommandInput, CreateBotVersionCommandOutput } from "./commands/CreateBotVersionCommand";
|
|
53
|
+
import {
|
|
54
|
+
CreateIntentVersionCommandInput,
|
|
55
|
+
CreateIntentVersionCommandOutput,
|
|
56
|
+
} from "./commands/CreateIntentVersionCommand";
|
|
57
|
+
import {
|
|
58
|
+
CreateSlotTypeVersionCommandInput,
|
|
59
|
+
CreateSlotTypeVersionCommandOutput,
|
|
60
|
+
} from "./commands/CreateSlotTypeVersionCommand";
|
|
61
|
+
import { DeleteBotAliasCommandInput, DeleteBotAliasCommandOutput } from "./commands/DeleteBotAliasCommand";
|
|
62
|
+
import {
|
|
63
|
+
DeleteBotChannelAssociationCommandInput,
|
|
64
|
+
DeleteBotChannelAssociationCommandOutput,
|
|
65
|
+
} from "./commands/DeleteBotChannelAssociationCommand";
|
|
66
|
+
import { DeleteBotCommandInput, DeleteBotCommandOutput } from "./commands/DeleteBotCommand";
|
|
67
|
+
import { DeleteBotVersionCommandInput, DeleteBotVersionCommandOutput } from "./commands/DeleteBotVersionCommand";
|
|
68
|
+
import { DeleteIntentCommandInput, DeleteIntentCommandOutput } from "./commands/DeleteIntentCommand";
|
|
69
|
+
import {
|
|
70
|
+
DeleteIntentVersionCommandInput,
|
|
71
|
+
DeleteIntentVersionCommandOutput,
|
|
72
|
+
} from "./commands/DeleteIntentVersionCommand";
|
|
73
|
+
import { DeleteSlotTypeCommandInput, DeleteSlotTypeCommandOutput } from "./commands/DeleteSlotTypeCommand";
|
|
74
|
+
import {
|
|
75
|
+
DeleteSlotTypeVersionCommandInput,
|
|
76
|
+
DeleteSlotTypeVersionCommandOutput,
|
|
77
|
+
} from "./commands/DeleteSlotTypeVersionCommand";
|
|
78
|
+
import { DeleteUtterancesCommandInput, DeleteUtterancesCommandOutput } from "./commands/DeleteUtterancesCommand";
|
|
79
|
+
import { GetBotAliasCommandInput, GetBotAliasCommandOutput } from "./commands/GetBotAliasCommand";
|
|
80
|
+
import { GetBotAliasesCommandInput, GetBotAliasesCommandOutput } from "./commands/GetBotAliasesCommand";
|
|
81
|
+
import {
|
|
82
|
+
GetBotChannelAssociationCommandInput,
|
|
83
|
+
GetBotChannelAssociationCommandOutput,
|
|
84
|
+
} from "./commands/GetBotChannelAssociationCommand";
|
|
85
|
+
import {
|
|
86
|
+
GetBotChannelAssociationsCommandInput,
|
|
87
|
+
GetBotChannelAssociationsCommandOutput,
|
|
88
|
+
} from "./commands/GetBotChannelAssociationsCommand";
|
|
89
|
+
import { GetBotCommandInput, GetBotCommandOutput } from "./commands/GetBotCommand";
|
|
90
|
+
import { GetBotsCommandInput, GetBotsCommandOutput } from "./commands/GetBotsCommand";
|
|
91
|
+
import { GetBotVersionsCommandInput, GetBotVersionsCommandOutput } from "./commands/GetBotVersionsCommand";
|
|
92
|
+
import { GetBuiltinIntentCommandInput, GetBuiltinIntentCommandOutput } from "./commands/GetBuiltinIntentCommand";
|
|
93
|
+
import { GetBuiltinIntentsCommandInput, GetBuiltinIntentsCommandOutput } from "./commands/GetBuiltinIntentsCommand";
|
|
94
|
+
import {
|
|
95
|
+
GetBuiltinSlotTypesCommandInput,
|
|
96
|
+
GetBuiltinSlotTypesCommandOutput,
|
|
97
|
+
} from "./commands/GetBuiltinSlotTypesCommand";
|
|
98
|
+
import { GetExportCommandInput, GetExportCommandOutput } from "./commands/GetExportCommand";
|
|
99
|
+
import { GetImportCommandInput, GetImportCommandOutput } from "./commands/GetImportCommand";
|
|
100
|
+
import { GetIntentCommandInput, GetIntentCommandOutput } from "./commands/GetIntentCommand";
|
|
101
|
+
import { GetIntentsCommandInput, GetIntentsCommandOutput } from "./commands/GetIntentsCommand";
|
|
102
|
+
import { GetIntentVersionsCommandInput, GetIntentVersionsCommandOutput } from "./commands/GetIntentVersionsCommand";
|
|
103
|
+
import { GetMigrationCommandInput, GetMigrationCommandOutput } from "./commands/GetMigrationCommand";
|
|
104
|
+
import { GetMigrationsCommandInput, GetMigrationsCommandOutput } from "./commands/GetMigrationsCommand";
|
|
105
|
+
import { GetSlotTypeCommandInput, GetSlotTypeCommandOutput } from "./commands/GetSlotTypeCommand";
|
|
106
|
+
import { GetSlotTypesCommandInput, GetSlotTypesCommandOutput } from "./commands/GetSlotTypesCommand";
|
|
107
|
+
import {
|
|
108
|
+
GetSlotTypeVersionsCommandInput,
|
|
109
|
+
GetSlotTypeVersionsCommandOutput,
|
|
110
|
+
} from "./commands/GetSlotTypeVersionsCommand";
|
|
111
|
+
import { GetUtterancesViewCommandInput, GetUtterancesViewCommandOutput } from "./commands/GetUtterancesViewCommand";
|
|
112
|
+
import {
|
|
113
|
+
ListTagsForResourceCommandInput,
|
|
114
|
+
ListTagsForResourceCommandOutput,
|
|
115
|
+
} from "./commands/ListTagsForResourceCommand";
|
|
116
|
+
import { PutBotAliasCommandInput, PutBotAliasCommandOutput } from "./commands/PutBotAliasCommand";
|
|
117
|
+
import { PutBotCommandInput, PutBotCommandOutput } from "./commands/PutBotCommand";
|
|
118
|
+
import { PutIntentCommandInput, PutIntentCommandOutput } from "./commands/PutIntentCommand";
|
|
119
|
+
import { PutSlotTypeCommandInput, PutSlotTypeCommandOutput } from "./commands/PutSlotTypeCommand";
|
|
120
|
+
import { StartImportCommandInput, StartImportCommandOutput } from "./commands/StartImportCommand";
|
|
121
|
+
import { StartMigrationCommandInput, StartMigrationCommandOutput } from "./commands/StartMigrationCommand";
|
|
122
|
+
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
123
|
+
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
124
|
+
import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
|
|
125
|
+
|
|
126
|
+
export type ServiceInputTypes =
|
|
127
|
+
| CreateBotVersionCommandInput
|
|
128
|
+
| CreateIntentVersionCommandInput
|
|
129
|
+
| CreateSlotTypeVersionCommandInput
|
|
130
|
+
| DeleteBotAliasCommandInput
|
|
131
|
+
| DeleteBotChannelAssociationCommandInput
|
|
132
|
+
| DeleteBotCommandInput
|
|
133
|
+
| DeleteBotVersionCommandInput
|
|
134
|
+
| DeleteIntentCommandInput
|
|
135
|
+
| DeleteIntentVersionCommandInput
|
|
136
|
+
| DeleteSlotTypeCommandInput
|
|
137
|
+
| DeleteSlotTypeVersionCommandInput
|
|
138
|
+
| DeleteUtterancesCommandInput
|
|
139
|
+
| GetBotAliasCommandInput
|
|
140
|
+
| GetBotAliasesCommandInput
|
|
141
|
+
| GetBotChannelAssociationCommandInput
|
|
142
|
+
| GetBotChannelAssociationsCommandInput
|
|
143
|
+
| GetBotCommandInput
|
|
144
|
+
| GetBotVersionsCommandInput
|
|
145
|
+
| GetBotsCommandInput
|
|
146
|
+
| GetBuiltinIntentCommandInput
|
|
147
|
+
| GetBuiltinIntentsCommandInput
|
|
148
|
+
| GetBuiltinSlotTypesCommandInput
|
|
149
|
+
| GetExportCommandInput
|
|
150
|
+
| GetImportCommandInput
|
|
151
|
+
| GetIntentCommandInput
|
|
152
|
+
| GetIntentVersionsCommandInput
|
|
153
|
+
| GetIntentsCommandInput
|
|
154
|
+
| GetMigrationCommandInput
|
|
155
|
+
| GetMigrationsCommandInput
|
|
156
|
+
| GetSlotTypeCommandInput
|
|
157
|
+
| GetSlotTypeVersionsCommandInput
|
|
158
|
+
| GetSlotTypesCommandInput
|
|
159
|
+
| GetUtterancesViewCommandInput
|
|
160
|
+
| ListTagsForResourceCommandInput
|
|
161
|
+
| PutBotAliasCommandInput
|
|
162
|
+
| PutBotCommandInput
|
|
163
|
+
| PutIntentCommandInput
|
|
164
|
+
| PutSlotTypeCommandInput
|
|
165
|
+
| StartImportCommandInput
|
|
166
|
+
| StartMigrationCommandInput
|
|
167
|
+
| TagResourceCommandInput
|
|
168
|
+
| UntagResourceCommandInput;
|
|
169
|
+
|
|
170
|
+
export type ServiceOutputTypes =
|
|
171
|
+
| CreateBotVersionCommandOutput
|
|
172
|
+
| CreateIntentVersionCommandOutput
|
|
173
|
+
| CreateSlotTypeVersionCommandOutput
|
|
174
|
+
| DeleteBotAliasCommandOutput
|
|
175
|
+
| DeleteBotChannelAssociationCommandOutput
|
|
176
|
+
| DeleteBotCommandOutput
|
|
177
|
+
| DeleteBotVersionCommandOutput
|
|
178
|
+
| DeleteIntentCommandOutput
|
|
179
|
+
| DeleteIntentVersionCommandOutput
|
|
180
|
+
| DeleteSlotTypeCommandOutput
|
|
181
|
+
| DeleteSlotTypeVersionCommandOutput
|
|
182
|
+
| DeleteUtterancesCommandOutput
|
|
183
|
+
| GetBotAliasCommandOutput
|
|
184
|
+
| GetBotAliasesCommandOutput
|
|
185
|
+
| GetBotChannelAssociationCommandOutput
|
|
186
|
+
| GetBotChannelAssociationsCommandOutput
|
|
187
|
+
| GetBotCommandOutput
|
|
188
|
+
| GetBotVersionsCommandOutput
|
|
189
|
+
| GetBotsCommandOutput
|
|
190
|
+
| GetBuiltinIntentCommandOutput
|
|
191
|
+
| GetBuiltinIntentsCommandOutput
|
|
192
|
+
| GetBuiltinSlotTypesCommandOutput
|
|
193
|
+
| GetExportCommandOutput
|
|
194
|
+
| GetImportCommandOutput
|
|
195
|
+
| GetIntentCommandOutput
|
|
196
|
+
| GetIntentVersionsCommandOutput
|
|
197
|
+
| GetIntentsCommandOutput
|
|
198
|
+
| GetMigrationCommandOutput
|
|
199
|
+
| GetMigrationsCommandOutput
|
|
200
|
+
| GetSlotTypeCommandOutput
|
|
201
|
+
| GetSlotTypeVersionsCommandOutput
|
|
202
|
+
| GetSlotTypesCommandOutput
|
|
203
|
+
| GetUtterancesViewCommandOutput
|
|
204
|
+
| ListTagsForResourceCommandOutput
|
|
205
|
+
| PutBotAliasCommandOutput
|
|
206
|
+
| PutBotCommandOutput
|
|
207
|
+
| PutIntentCommandOutput
|
|
208
|
+
| PutSlotTypeCommandOutput
|
|
209
|
+
| StartImportCommandOutput
|
|
210
|
+
| StartMigrationCommandOutput
|
|
211
|
+
| TagResourceCommandOutput
|
|
212
|
+
| UntagResourceCommandOutput;
|
|
213
|
+
|
|
214
|
+
export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
215
|
+
/**
|
|
216
|
+
* The HTTP handler to use. Fetch in browser and Https in Nodejs.
|
|
217
|
+
*/
|
|
218
|
+
requestHandler?: __HttpHandler;
|
|
219
|
+
|
|
220
|
+
/**
|
|
221
|
+
* A constructor for a class implementing the {@link __Hash} interface
|
|
222
|
+
* that computes the SHA-256 HMAC or checksum of a string or binary buffer.
|
|
223
|
+
* @internal
|
|
224
|
+
*/
|
|
225
|
+
sha256?: __HashConstructor;
|
|
226
|
+
|
|
227
|
+
/**
|
|
228
|
+
* The function that will be used to convert strings into HTTP endpoints.
|
|
229
|
+
* @internal
|
|
230
|
+
*/
|
|
231
|
+
urlParser?: __UrlParser;
|
|
232
|
+
|
|
233
|
+
/**
|
|
234
|
+
* A function that can calculate the length of a request body.
|
|
235
|
+
* @internal
|
|
236
|
+
*/
|
|
237
|
+
bodyLengthChecker?: (body: any) => number | undefined;
|
|
238
|
+
|
|
239
|
+
/**
|
|
240
|
+
* A function that converts a stream into an array of bytes.
|
|
241
|
+
* @internal
|
|
242
|
+
*/
|
|
243
|
+
streamCollector?: __StreamCollector;
|
|
244
|
+
|
|
245
|
+
/**
|
|
246
|
+
* The function that will be used to convert a base64-encoded string to a byte array.
|
|
247
|
+
* @internal
|
|
248
|
+
*/
|
|
249
|
+
base64Decoder?: __Decoder;
|
|
250
|
+
|
|
251
|
+
/**
|
|
252
|
+
* The function that will be used to convert binary data to a base64-encoded string.
|
|
253
|
+
* @internal
|
|
254
|
+
*/
|
|
255
|
+
base64Encoder?: __Encoder;
|
|
256
|
+
|
|
257
|
+
/**
|
|
258
|
+
* The function that will be used to convert a UTF8-encoded string to a byte array.
|
|
259
|
+
* @internal
|
|
260
|
+
*/
|
|
261
|
+
utf8Decoder?: __Decoder;
|
|
262
|
+
|
|
263
|
+
/**
|
|
264
|
+
* The function that will be used to convert binary data to a UTF-8 encoded string.
|
|
265
|
+
* @internal
|
|
266
|
+
*/
|
|
267
|
+
utf8Encoder?: __Encoder;
|
|
268
|
+
|
|
269
|
+
/**
|
|
270
|
+
* The runtime environment.
|
|
271
|
+
* @internal
|
|
272
|
+
*/
|
|
273
|
+
runtime?: string;
|
|
274
|
+
|
|
275
|
+
/**
|
|
276
|
+
* Disable dyanamically changing the endpoint of the client based on the hostPrefix
|
|
277
|
+
* trait of an operation.
|
|
278
|
+
*/
|
|
279
|
+
disableHostPrefix?: boolean;
|
|
280
|
+
|
|
281
|
+
/**
|
|
282
|
+
* Value for how many times a request will be made at most in case of retry.
|
|
283
|
+
*/
|
|
284
|
+
maxAttempts?: number | __Provider<number>;
|
|
285
|
+
|
|
286
|
+
/**
|
|
287
|
+
* Specifies which retry algorithm to use.
|
|
288
|
+
*/
|
|
289
|
+
retryMode?: string | __Provider<string>;
|
|
290
|
+
|
|
291
|
+
/**
|
|
292
|
+
* Optional logger for logging debug/info/warn/error.
|
|
293
|
+
*/
|
|
294
|
+
logger?: __Logger;
|
|
295
|
+
|
|
296
|
+
/**
|
|
297
|
+
* Unique service identifier.
|
|
298
|
+
* @internal
|
|
299
|
+
*/
|
|
300
|
+
serviceId?: string;
|
|
301
|
+
|
|
302
|
+
/**
|
|
303
|
+
* The AWS region to which this client will send requests
|
|
304
|
+
*/
|
|
305
|
+
region?: string | __Provider<string>;
|
|
306
|
+
|
|
307
|
+
/**
|
|
308
|
+
* Default credentials provider; Not available in browser runtime.
|
|
309
|
+
* @internal
|
|
310
|
+
*/
|
|
311
|
+
credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
|
|
312
|
+
|
|
313
|
+
/**
|
|
314
|
+
* Fetch related hostname, signing name or signing region with given region.
|
|
315
|
+
* @internal
|
|
316
|
+
*/
|
|
317
|
+
regionInfoProvider?: RegionInfoProvider;
|
|
318
|
+
|
|
319
|
+
/**
|
|
320
|
+
* The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header
|
|
321
|
+
* @internal
|
|
322
|
+
*/
|
|
323
|
+
defaultUserAgentProvider?: Provider<__UserAgent>;
|
|
324
|
+
}
|
|
325
|
+
|
|
326
|
+
type LexModelBuildingServiceClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> &
|
|
327
|
+
ClientDefaults &
|
|
328
|
+
RegionInputConfig &
|
|
329
|
+
EndpointsInputConfig &
|
|
330
|
+
RetryInputConfig &
|
|
331
|
+
HostHeaderInputConfig &
|
|
332
|
+
AwsAuthInputConfig &
|
|
333
|
+
UserAgentInputConfig;
|
|
334
|
+
/**
|
|
335
|
+
* The configuration interface of LexModelBuildingServiceClient class constructor that set the region, credentials and other options.
|
|
336
|
+
*/
|
|
337
|
+
export interface LexModelBuildingServiceClientConfig extends LexModelBuildingServiceClientConfigType {}
|
|
338
|
+
|
|
339
|
+
type LexModelBuildingServiceClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> &
|
|
340
|
+
Required<ClientDefaults> &
|
|
341
|
+
RegionResolvedConfig &
|
|
342
|
+
EndpointsResolvedConfig &
|
|
343
|
+
RetryResolvedConfig &
|
|
344
|
+
HostHeaderResolvedConfig &
|
|
345
|
+
AwsAuthResolvedConfig &
|
|
346
|
+
UserAgentResolvedConfig;
|
|
347
|
+
/**
|
|
348
|
+
* The resolved configuration interface of LexModelBuildingServiceClient class. This is resolved and normalized from the {@link LexModelBuildingServiceClientConfig | constructor configuration interface}.
|
|
349
|
+
*/
|
|
350
|
+
export interface LexModelBuildingServiceClientResolvedConfig extends LexModelBuildingServiceClientResolvedConfigType {}
|
|
351
|
+
|
|
352
|
+
/**
|
|
353
|
+
* <fullname>Amazon Lex Build-Time Actions</fullname>
|
|
354
|
+
* <p> Amazon Lex is an AWS service for building conversational voice and text
|
|
355
|
+
* interfaces. Use these actions to create, update, and delete conversational
|
|
356
|
+
* bots for new and existing client applications. </p>
|
|
357
|
+
*/
|
|
358
|
+
export class LexModelBuildingServiceClient extends __Client<
|
|
359
|
+
__HttpHandlerOptions,
|
|
360
|
+
ServiceInputTypes,
|
|
361
|
+
ServiceOutputTypes,
|
|
362
|
+
LexModelBuildingServiceClientResolvedConfig
|
|
363
|
+
> {
|
|
364
|
+
/**
|
|
365
|
+
* The resolved configuration of LexModelBuildingServiceClient class. This is resolved and normalized from the {@link LexModelBuildingServiceClientConfig | constructor configuration interface}.
|
|
366
|
+
*/
|
|
367
|
+
readonly config: LexModelBuildingServiceClientResolvedConfig;
|
|
368
|
+
|
|
369
|
+
constructor(configuration: LexModelBuildingServiceClientConfig) {
|
|
370
|
+
const _config_0 = __getRuntimeConfig(configuration);
|
|
371
|
+
const _config_1 = resolveRegionConfig(_config_0);
|
|
372
|
+
const _config_2 = resolveEndpointsConfig(_config_1);
|
|
373
|
+
const _config_3 = resolveRetryConfig(_config_2);
|
|
374
|
+
const _config_4 = resolveHostHeaderConfig(_config_3);
|
|
375
|
+
const _config_5 = resolveAwsAuthConfig(_config_4);
|
|
376
|
+
const _config_6 = resolveUserAgentConfig(_config_5);
|
|
377
|
+
super(_config_6);
|
|
378
|
+
this.config = _config_6;
|
|
379
|
+
this.middlewareStack.use(getRetryPlugin(this.config));
|
|
380
|
+
this.middlewareStack.use(getContentLengthPlugin(this.config));
|
|
381
|
+
this.middlewareStack.use(getHostHeaderPlugin(this.config));
|
|
382
|
+
this.middlewareStack.use(getLoggerPlugin(this.config));
|
|
383
|
+
this.middlewareStack.use(getAwsAuthPlugin(this.config));
|
|
384
|
+
this.middlewareStack.use(getUserAgentPlugin(this.config));
|
|
385
|
+
}
|
|
386
|
+
|
|
387
|
+
/**
|
|
388
|
+
* Destroy underlying resources, like sockets. It's usually not necessary to do this.
|
|
389
|
+
* However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
|
|
390
|
+
* Otherwise, sockets might stay open for quite a long time before the server terminates them.
|
|
391
|
+
*/
|
|
392
|
+
destroy(): void {
|
|
393
|
+
super.destroy();
|
|
394
|
+
}
|
|
395
|
+
}
|
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
|
+
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import {
|
|
5
|
+
FinalizeHandlerArguments,
|
|
6
|
+
Handler,
|
|
7
|
+
HandlerExecutionContext,
|
|
8
|
+
HttpHandlerOptions as __HttpHandlerOptions,
|
|
9
|
+
MetadataBearer as __MetadataBearer,
|
|
10
|
+
MiddlewareStack,
|
|
11
|
+
SerdeContext as __SerdeContext,
|
|
12
|
+
} from "@aws-sdk/types";
|
|
13
|
+
|
|
14
|
+
import {
|
|
15
|
+
LexModelBuildingServiceClientResolvedConfig,
|
|
16
|
+
ServiceInputTypes,
|
|
17
|
+
ServiceOutputTypes,
|
|
18
|
+
} from "../LexModelBuildingServiceClient";
|
|
19
|
+
import { CreateBotVersionRequest, CreateBotVersionResponse } from "../models/models_0";
|
|
20
|
+
import {
|
|
21
|
+
deserializeAws_restJson1CreateBotVersionCommand,
|
|
22
|
+
serializeAws_restJson1CreateBotVersionCommand,
|
|
23
|
+
} from "../protocols/Aws_restJson1";
|
|
24
|
+
|
|
25
|
+
export interface CreateBotVersionCommandInput extends CreateBotVersionRequest {}
|
|
26
|
+
export interface CreateBotVersionCommandOutput extends CreateBotVersionResponse, __MetadataBearer {}
|
|
27
|
+
|
|
28
|
+
/**
|
|
29
|
+
* <p>Creates a new version of the bot based on the <code>$LATEST</code>
|
|
30
|
+
* version. If the <code>$LATEST</code> version of this resource hasn't
|
|
31
|
+
* changed since you created the last version, Amazon Lex doesn't create a new
|
|
32
|
+
* version. It returns the last created version.</p>
|
|
33
|
+
* <note>
|
|
34
|
+
* <p>You can update only the <code>$LATEST</code> version of the bot.
|
|
35
|
+
* You can't update the numbered versions that you create with the
|
|
36
|
+
* <code>CreateBotVersion</code> operation.</p>
|
|
37
|
+
* </note>
|
|
38
|
+
* <p> When you create the first version of a bot, Amazon Lex sets the version
|
|
39
|
+
* to 1. Subsequent versions increment by 1. For more information, see <a>versioning-intro</a>. </p>
|
|
40
|
+
* <p> This operation requires permission for the
|
|
41
|
+
* <code>lex:CreateBotVersion</code> action. </p>
|
|
42
|
+
* @example
|
|
43
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
44
|
+
* ```javascript
|
|
45
|
+
* import { LexModelBuildingServiceClient, CreateBotVersionCommand } from "@aws-sdk/client-lex-model-building-service"; // ES Modules import
|
|
46
|
+
* // const { LexModelBuildingServiceClient, CreateBotVersionCommand } = require("@aws-sdk/client-lex-model-building-service"); // CommonJS import
|
|
47
|
+
* const client = new LexModelBuildingServiceClient(config);
|
|
48
|
+
* const command = new CreateBotVersionCommand(input);
|
|
49
|
+
* const response = await client.send(command);
|
|
50
|
+
* ```
|
|
51
|
+
*
|
|
52
|
+
* @see {@link CreateBotVersionCommandInput} for command's `input` shape.
|
|
53
|
+
* @see {@link CreateBotVersionCommandOutput} for command's `response` shape.
|
|
54
|
+
* @see {@link LexModelBuildingServiceClientResolvedConfig | config} for command's `input` shape.
|
|
55
|
+
*
|
|
56
|
+
*/
|
|
57
|
+
export class CreateBotVersionCommand extends $Command<
|
|
58
|
+
CreateBotVersionCommandInput,
|
|
59
|
+
CreateBotVersionCommandOutput,
|
|
60
|
+
LexModelBuildingServiceClientResolvedConfig
|
|
61
|
+
> {
|
|
62
|
+
// Start section: command_properties
|
|
63
|
+
// End section: command_properties
|
|
64
|
+
|
|
65
|
+
constructor(readonly input: CreateBotVersionCommandInput) {
|
|
66
|
+
// Start section: command_constructor
|
|
67
|
+
super();
|
|
68
|
+
// End section: command_constructor
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
/**
|
|
72
|
+
* @internal
|
|
73
|
+
*/
|
|
74
|
+
resolveMiddleware(
|
|
75
|
+
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
76
|
+
configuration: LexModelBuildingServiceClientResolvedConfig,
|
|
77
|
+
options?: __HttpHandlerOptions
|
|
78
|
+
): Handler<CreateBotVersionCommandInput, CreateBotVersionCommandOutput> {
|
|
79
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
80
|
+
|
|
81
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
82
|
+
|
|
83
|
+
const { logger } = configuration;
|
|
84
|
+
const clientName = "LexModelBuildingServiceClient";
|
|
85
|
+
const commandName = "CreateBotVersionCommand";
|
|
86
|
+
const handlerExecutionContext: HandlerExecutionContext = {
|
|
87
|
+
logger,
|
|
88
|
+
clientName,
|
|
89
|
+
commandName,
|
|
90
|
+
inputFilterSensitiveLog: CreateBotVersionRequest.filterSensitiveLog,
|
|
91
|
+
outputFilterSensitiveLog: CreateBotVersionResponse.filterSensitiveLog,
|
|
92
|
+
};
|
|
93
|
+
const { requestHandler } = configuration;
|
|
94
|
+
return stack.resolve(
|
|
95
|
+
(request: FinalizeHandlerArguments<any>) =>
|
|
96
|
+
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
97
|
+
handlerExecutionContext
|
|
98
|
+
);
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
private serialize(input: CreateBotVersionCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
102
|
+
return serializeAws_restJson1CreateBotVersionCommand(input, context);
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<CreateBotVersionCommandOutput> {
|
|
106
|
+
return deserializeAws_restJson1CreateBotVersionCommand(output, context);
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
// Start section: command_body_extra
|
|
110
|
+
// End section: command_body_extra
|
|
111
|
+
}
|
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
|
+
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import {
|
|
5
|
+
FinalizeHandlerArguments,
|
|
6
|
+
Handler,
|
|
7
|
+
HandlerExecutionContext,
|
|
8
|
+
HttpHandlerOptions as __HttpHandlerOptions,
|
|
9
|
+
MetadataBearer as __MetadataBearer,
|
|
10
|
+
MiddlewareStack,
|
|
11
|
+
SerdeContext as __SerdeContext,
|
|
12
|
+
} from "@aws-sdk/types";
|
|
13
|
+
|
|
14
|
+
import {
|
|
15
|
+
LexModelBuildingServiceClientResolvedConfig,
|
|
16
|
+
ServiceInputTypes,
|
|
17
|
+
ServiceOutputTypes,
|
|
18
|
+
} from "../LexModelBuildingServiceClient";
|
|
19
|
+
import { CreateIntentVersionRequest, CreateIntentVersionResponse } from "../models/models_0";
|
|
20
|
+
import {
|
|
21
|
+
deserializeAws_restJson1CreateIntentVersionCommand,
|
|
22
|
+
serializeAws_restJson1CreateIntentVersionCommand,
|
|
23
|
+
} from "../protocols/Aws_restJson1";
|
|
24
|
+
|
|
25
|
+
export interface CreateIntentVersionCommandInput extends CreateIntentVersionRequest {}
|
|
26
|
+
export interface CreateIntentVersionCommandOutput extends CreateIntentVersionResponse, __MetadataBearer {}
|
|
27
|
+
|
|
28
|
+
/**
|
|
29
|
+
* <p>Creates a new version of an intent based on the
|
|
30
|
+
* <code>$LATEST</code> version of the intent. If the <code>$LATEST</code>
|
|
31
|
+
* version of this intent hasn't changed since you last updated it, Amazon Lex
|
|
32
|
+
* doesn't create a new version. It returns the last version you
|
|
33
|
+
* created.</p>
|
|
34
|
+
* <note>
|
|
35
|
+
* <p>You can update only the <code>$LATEST</code> version of the
|
|
36
|
+
* intent. You can't update the numbered versions that you create with the
|
|
37
|
+
* <code>CreateIntentVersion</code> operation.</p>
|
|
38
|
+
* </note>
|
|
39
|
+
* <p> When you create a version of an intent, Amazon Lex sets the version to
|
|
40
|
+
* 1. Subsequent versions increment by 1. For more information, see <a>versioning-intro</a>. </p>
|
|
41
|
+
* <p>This operation requires permissions to perform the
|
|
42
|
+
* <code>lex:CreateIntentVersion</code> action. </p>
|
|
43
|
+
* @example
|
|
44
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
45
|
+
* ```javascript
|
|
46
|
+
* import { LexModelBuildingServiceClient, CreateIntentVersionCommand } from "@aws-sdk/client-lex-model-building-service"; // ES Modules import
|
|
47
|
+
* // const { LexModelBuildingServiceClient, CreateIntentVersionCommand } = require("@aws-sdk/client-lex-model-building-service"); // CommonJS import
|
|
48
|
+
* const client = new LexModelBuildingServiceClient(config);
|
|
49
|
+
* const command = new CreateIntentVersionCommand(input);
|
|
50
|
+
* const response = await client.send(command);
|
|
51
|
+
* ```
|
|
52
|
+
*
|
|
53
|
+
* @see {@link CreateIntentVersionCommandInput} for command's `input` shape.
|
|
54
|
+
* @see {@link CreateIntentVersionCommandOutput} for command's `response` shape.
|
|
55
|
+
* @see {@link LexModelBuildingServiceClientResolvedConfig | config} for command's `input` shape.
|
|
56
|
+
*
|
|
57
|
+
*/
|
|
58
|
+
export class CreateIntentVersionCommand extends $Command<
|
|
59
|
+
CreateIntentVersionCommandInput,
|
|
60
|
+
CreateIntentVersionCommandOutput,
|
|
61
|
+
LexModelBuildingServiceClientResolvedConfig
|
|
62
|
+
> {
|
|
63
|
+
// Start section: command_properties
|
|
64
|
+
// End section: command_properties
|
|
65
|
+
|
|
66
|
+
constructor(readonly input: CreateIntentVersionCommandInput) {
|
|
67
|
+
// Start section: command_constructor
|
|
68
|
+
super();
|
|
69
|
+
// End section: command_constructor
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
/**
|
|
73
|
+
* @internal
|
|
74
|
+
*/
|
|
75
|
+
resolveMiddleware(
|
|
76
|
+
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
77
|
+
configuration: LexModelBuildingServiceClientResolvedConfig,
|
|
78
|
+
options?: __HttpHandlerOptions
|
|
79
|
+
): Handler<CreateIntentVersionCommandInput, CreateIntentVersionCommandOutput> {
|
|
80
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
81
|
+
|
|
82
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
83
|
+
|
|
84
|
+
const { logger } = configuration;
|
|
85
|
+
const clientName = "LexModelBuildingServiceClient";
|
|
86
|
+
const commandName = "CreateIntentVersionCommand";
|
|
87
|
+
const handlerExecutionContext: HandlerExecutionContext = {
|
|
88
|
+
logger,
|
|
89
|
+
clientName,
|
|
90
|
+
commandName,
|
|
91
|
+
inputFilterSensitiveLog: CreateIntentVersionRequest.filterSensitiveLog,
|
|
92
|
+
outputFilterSensitiveLog: CreateIntentVersionResponse.filterSensitiveLog,
|
|
93
|
+
};
|
|
94
|
+
const { requestHandler } = configuration;
|
|
95
|
+
return stack.resolve(
|
|
96
|
+
(request: FinalizeHandlerArguments<any>) =>
|
|
97
|
+
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
98
|
+
handlerExecutionContext
|
|
99
|
+
);
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
private serialize(input: CreateIntentVersionCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
103
|
+
return serializeAws_restJson1CreateIntentVersionCommand(input, context);
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<CreateIntentVersionCommandOutput> {
|
|
107
|
+
return deserializeAws_restJson1CreateIntentVersionCommand(output, context);
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
// Start section: command_body_extra
|
|
111
|
+
// End section: command_body_extra
|
|
112
|
+
}
|