@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,122 @@
|
|
|
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 { GetUtterancesViewRequest, GetUtterancesViewResponse } from "../models/models_0";
|
|
20
|
+
import {
|
|
21
|
+
deserializeAws_restJson1GetUtterancesViewCommand,
|
|
22
|
+
serializeAws_restJson1GetUtterancesViewCommand,
|
|
23
|
+
} from "../protocols/Aws_restJson1";
|
|
24
|
+
|
|
25
|
+
export interface GetUtterancesViewCommandInput extends GetUtterancesViewRequest {}
|
|
26
|
+
export interface GetUtterancesViewCommandOutput extends GetUtterancesViewResponse, __MetadataBearer {}
|
|
27
|
+
|
|
28
|
+
/**
|
|
29
|
+
* <p>Use the <code>GetUtterancesView</code> operation to get information
|
|
30
|
+
* about the utterances that your users have made to your bot. You can use
|
|
31
|
+
* this list to tune the utterances that your bot responds to.</p>
|
|
32
|
+
* <p>For example, say that you have created a bot to order flowers.
|
|
33
|
+
* After your users have used your bot for a while, use the
|
|
34
|
+
* <code>GetUtterancesView</code> operation to see the requests that they
|
|
35
|
+
* have made and whether they have been successful. You might find that the
|
|
36
|
+
* utterance "I want flowers" is not being recognized. You could add this
|
|
37
|
+
* utterance to the <code>OrderFlowers</code> intent so that your bot
|
|
38
|
+
* recognizes that utterance.</p>
|
|
39
|
+
* <p>After you publish a new version of a bot, you can get information
|
|
40
|
+
* about the old version and the new so that you can compare the performance
|
|
41
|
+
* across the two versions. </p>
|
|
42
|
+
* <p>Utterance statistics are generated once a day. Data is available
|
|
43
|
+
* for the last 15 days. You can request information for up to 5 versions of
|
|
44
|
+
* your bot in each request. Amazon Lex returns the most frequent utterances
|
|
45
|
+
* received by the bot in the last 15 days. The response contains information
|
|
46
|
+
* about a maximum of 100 utterances for each version.</p>
|
|
47
|
+
* <p>If you set <code>childDirected</code> field to true when you
|
|
48
|
+
* created your bot, if you are using slot obfuscation with one or more
|
|
49
|
+
* slots, or if you opted out of participating in improving Amazon Lex, utterances
|
|
50
|
+
* are not available.</p>
|
|
51
|
+
* <p>This operation requires permissions for the
|
|
52
|
+
* <code>lex:GetUtterancesView</code> action.</p>
|
|
53
|
+
* @example
|
|
54
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
55
|
+
* ```javascript
|
|
56
|
+
* import { LexModelBuildingServiceClient, GetUtterancesViewCommand } from "@aws-sdk/client-lex-model-building-service"; // ES Modules import
|
|
57
|
+
* // const { LexModelBuildingServiceClient, GetUtterancesViewCommand } = require("@aws-sdk/client-lex-model-building-service"); // CommonJS import
|
|
58
|
+
* const client = new LexModelBuildingServiceClient(config);
|
|
59
|
+
* const command = new GetUtterancesViewCommand(input);
|
|
60
|
+
* const response = await client.send(command);
|
|
61
|
+
* ```
|
|
62
|
+
*
|
|
63
|
+
* @see {@link GetUtterancesViewCommandInput} for command's `input` shape.
|
|
64
|
+
* @see {@link GetUtterancesViewCommandOutput} for command's `response` shape.
|
|
65
|
+
* @see {@link LexModelBuildingServiceClientResolvedConfig | config} for command's `input` shape.
|
|
66
|
+
*
|
|
67
|
+
*/
|
|
68
|
+
export class GetUtterancesViewCommand extends $Command<
|
|
69
|
+
GetUtterancesViewCommandInput,
|
|
70
|
+
GetUtterancesViewCommandOutput,
|
|
71
|
+
LexModelBuildingServiceClientResolvedConfig
|
|
72
|
+
> {
|
|
73
|
+
// Start section: command_properties
|
|
74
|
+
// End section: command_properties
|
|
75
|
+
|
|
76
|
+
constructor(readonly input: GetUtterancesViewCommandInput) {
|
|
77
|
+
// Start section: command_constructor
|
|
78
|
+
super();
|
|
79
|
+
// End section: command_constructor
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
/**
|
|
83
|
+
* @internal
|
|
84
|
+
*/
|
|
85
|
+
resolveMiddleware(
|
|
86
|
+
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
87
|
+
configuration: LexModelBuildingServiceClientResolvedConfig,
|
|
88
|
+
options?: __HttpHandlerOptions
|
|
89
|
+
): Handler<GetUtterancesViewCommandInput, GetUtterancesViewCommandOutput> {
|
|
90
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
91
|
+
|
|
92
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
93
|
+
|
|
94
|
+
const { logger } = configuration;
|
|
95
|
+
const clientName = "LexModelBuildingServiceClient";
|
|
96
|
+
const commandName = "GetUtterancesViewCommand";
|
|
97
|
+
const handlerExecutionContext: HandlerExecutionContext = {
|
|
98
|
+
logger,
|
|
99
|
+
clientName,
|
|
100
|
+
commandName,
|
|
101
|
+
inputFilterSensitiveLog: GetUtterancesViewRequest.filterSensitiveLog,
|
|
102
|
+
outputFilterSensitiveLog: GetUtterancesViewResponse.filterSensitiveLog,
|
|
103
|
+
};
|
|
104
|
+
const { requestHandler } = configuration;
|
|
105
|
+
return stack.resolve(
|
|
106
|
+
(request: FinalizeHandlerArguments<any>) =>
|
|
107
|
+
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
108
|
+
handlerExecutionContext
|
|
109
|
+
);
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
private serialize(input: GetUtterancesViewCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
113
|
+
return serializeAws_restJson1GetUtterancesViewCommand(input, context);
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<GetUtterancesViewCommandOutput> {
|
|
117
|
+
return deserializeAws_restJson1GetUtterancesViewCommand(output, context);
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
// Start section: command_body_extra
|
|
121
|
+
// End section: command_body_extra
|
|
122
|
+
}
|
|
@@ -0,0 +1,100 @@
|
|
|
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 { ListTagsForResourceRequest, ListTagsForResourceResponse } from "../models/models_0";
|
|
20
|
+
import {
|
|
21
|
+
deserializeAws_restJson1ListTagsForResourceCommand,
|
|
22
|
+
serializeAws_restJson1ListTagsForResourceCommand,
|
|
23
|
+
} from "../protocols/Aws_restJson1";
|
|
24
|
+
|
|
25
|
+
export interface ListTagsForResourceCommandInput extends ListTagsForResourceRequest {}
|
|
26
|
+
export interface ListTagsForResourceCommandOutput extends ListTagsForResourceResponse, __MetadataBearer {}
|
|
27
|
+
|
|
28
|
+
/**
|
|
29
|
+
* <p>Gets a list of tags associated with the specified resource. Only bots,
|
|
30
|
+
* bot aliases, and bot channels can have tags associated with them.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { LexModelBuildingServiceClient, ListTagsForResourceCommand } from "@aws-sdk/client-lex-model-building-service"; // ES Modules import
|
|
35
|
+
* // const { LexModelBuildingServiceClient, ListTagsForResourceCommand } = require("@aws-sdk/client-lex-model-building-service"); // CommonJS import
|
|
36
|
+
* const client = new LexModelBuildingServiceClient(config);
|
|
37
|
+
* const command = new ListTagsForResourceCommand(input);
|
|
38
|
+
* const response = await client.send(command);
|
|
39
|
+
* ```
|
|
40
|
+
*
|
|
41
|
+
* @see {@link ListTagsForResourceCommandInput} for command's `input` shape.
|
|
42
|
+
* @see {@link ListTagsForResourceCommandOutput} for command's `response` shape.
|
|
43
|
+
* @see {@link LexModelBuildingServiceClientResolvedConfig | config} for command's `input` shape.
|
|
44
|
+
*
|
|
45
|
+
*/
|
|
46
|
+
export class ListTagsForResourceCommand extends $Command<
|
|
47
|
+
ListTagsForResourceCommandInput,
|
|
48
|
+
ListTagsForResourceCommandOutput,
|
|
49
|
+
LexModelBuildingServiceClientResolvedConfig
|
|
50
|
+
> {
|
|
51
|
+
// Start section: command_properties
|
|
52
|
+
// End section: command_properties
|
|
53
|
+
|
|
54
|
+
constructor(readonly input: ListTagsForResourceCommandInput) {
|
|
55
|
+
// Start section: command_constructor
|
|
56
|
+
super();
|
|
57
|
+
// End section: command_constructor
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
/**
|
|
61
|
+
* @internal
|
|
62
|
+
*/
|
|
63
|
+
resolveMiddleware(
|
|
64
|
+
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
65
|
+
configuration: LexModelBuildingServiceClientResolvedConfig,
|
|
66
|
+
options?: __HttpHandlerOptions
|
|
67
|
+
): Handler<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput> {
|
|
68
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
69
|
+
|
|
70
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
71
|
+
|
|
72
|
+
const { logger } = configuration;
|
|
73
|
+
const clientName = "LexModelBuildingServiceClient";
|
|
74
|
+
const commandName = "ListTagsForResourceCommand";
|
|
75
|
+
const handlerExecutionContext: HandlerExecutionContext = {
|
|
76
|
+
logger,
|
|
77
|
+
clientName,
|
|
78
|
+
commandName,
|
|
79
|
+
inputFilterSensitiveLog: ListTagsForResourceRequest.filterSensitiveLog,
|
|
80
|
+
outputFilterSensitiveLog: ListTagsForResourceResponse.filterSensitiveLog,
|
|
81
|
+
};
|
|
82
|
+
const { requestHandler } = configuration;
|
|
83
|
+
return stack.resolve(
|
|
84
|
+
(request: FinalizeHandlerArguments<any>) =>
|
|
85
|
+
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
86
|
+
handlerExecutionContext
|
|
87
|
+
);
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
private serialize(input: ListTagsForResourceCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
91
|
+
return serializeAws_restJson1ListTagsForResourceCommand(input, context);
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<ListTagsForResourceCommandOutput> {
|
|
95
|
+
return deserializeAws_restJson1ListTagsForResourceCommand(output, context);
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
// Start section: command_body_extra
|
|
99
|
+
// End section: command_body_extra
|
|
100
|
+
}
|
|
@@ -0,0 +1,104 @@
|
|
|
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 { PutBotAliasRequest, PutBotAliasResponse } from "../models/models_0";
|
|
20
|
+
import {
|
|
21
|
+
deserializeAws_restJson1PutBotAliasCommand,
|
|
22
|
+
serializeAws_restJson1PutBotAliasCommand,
|
|
23
|
+
} from "../protocols/Aws_restJson1";
|
|
24
|
+
|
|
25
|
+
export interface PutBotAliasCommandInput extends PutBotAliasRequest {}
|
|
26
|
+
export interface PutBotAliasCommandOutput extends PutBotAliasResponse, __MetadataBearer {}
|
|
27
|
+
|
|
28
|
+
/**
|
|
29
|
+
* <p>Creates an alias for the specified version of the bot or replaces
|
|
30
|
+
* an alias for the specified bot. To change the version of the bot that the
|
|
31
|
+
* alias points to, replace the alias. For more information about aliases,
|
|
32
|
+
* see <a>versioning-aliases</a>.</p>
|
|
33
|
+
* <p>This operation requires permissions for the
|
|
34
|
+
* <code>lex:PutBotAlias</code> action. </p>
|
|
35
|
+
* @example
|
|
36
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
37
|
+
* ```javascript
|
|
38
|
+
* import { LexModelBuildingServiceClient, PutBotAliasCommand } from "@aws-sdk/client-lex-model-building-service"; // ES Modules import
|
|
39
|
+
* // const { LexModelBuildingServiceClient, PutBotAliasCommand } = require("@aws-sdk/client-lex-model-building-service"); // CommonJS import
|
|
40
|
+
* const client = new LexModelBuildingServiceClient(config);
|
|
41
|
+
* const command = new PutBotAliasCommand(input);
|
|
42
|
+
* const response = await client.send(command);
|
|
43
|
+
* ```
|
|
44
|
+
*
|
|
45
|
+
* @see {@link PutBotAliasCommandInput} for command's `input` shape.
|
|
46
|
+
* @see {@link PutBotAliasCommandOutput} for command's `response` shape.
|
|
47
|
+
* @see {@link LexModelBuildingServiceClientResolvedConfig | config} for command's `input` shape.
|
|
48
|
+
*
|
|
49
|
+
*/
|
|
50
|
+
export class PutBotAliasCommand extends $Command<
|
|
51
|
+
PutBotAliasCommandInput,
|
|
52
|
+
PutBotAliasCommandOutput,
|
|
53
|
+
LexModelBuildingServiceClientResolvedConfig
|
|
54
|
+
> {
|
|
55
|
+
// Start section: command_properties
|
|
56
|
+
// End section: command_properties
|
|
57
|
+
|
|
58
|
+
constructor(readonly input: PutBotAliasCommandInput) {
|
|
59
|
+
// Start section: command_constructor
|
|
60
|
+
super();
|
|
61
|
+
// End section: command_constructor
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
/**
|
|
65
|
+
* @internal
|
|
66
|
+
*/
|
|
67
|
+
resolveMiddleware(
|
|
68
|
+
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
69
|
+
configuration: LexModelBuildingServiceClientResolvedConfig,
|
|
70
|
+
options?: __HttpHandlerOptions
|
|
71
|
+
): Handler<PutBotAliasCommandInput, PutBotAliasCommandOutput> {
|
|
72
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
73
|
+
|
|
74
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
75
|
+
|
|
76
|
+
const { logger } = configuration;
|
|
77
|
+
const clientName = "LexModelBuildingServiceClient";
|
|
78
|
+
const commandName = "PutBotAliasCommand";
|
|
79
|
+
const handlerExecutionContext: HandlerExecutionContext = {
|
|
80
|
+
logger,
|
|
81
|
+
clientName,
|
|
82
|
+
commandName,
|
|
83
|
+
inputFilterSensitiveLog: PutBotAliasRequest.filterSensitiveLog,
|
|
84
|
+
outputFilterSensitiveLog: PutBotAliasResponse.filterSensitiveLog,
|
|
85
|
+
};
|
|
86
|
+
const { requestHandler } = configuration;
|
|
87
|
+
return stack.resolve(
|
|
88
|
+
(request: FinalizeHandlerArguments<any>) =>
|
|
89
|
+
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
90
|
+
handlerExecutionContext
|
|
91
|
+
);
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
private serialize(input: PutBotAliasCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
95
|
+
return serializeAws_restJson1PutBotAliasCommand(input, context);
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<PutBotAliasCommandOutput> {
|
|
99
|
+
return deserializeAws_restJson1PutBotAliasCommand(output, context);
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
// Start section: command_body_extra
|
|
103
|
+
// End section: command_body_extra
|
|
104
|
+
}
|
|
@@ -0,0 +1,113 @@
|
|
|
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 { PutBotRequest, PutBotResponse } from "../models/models_0";
|
|
20
|
+
import { deserializeAws_restJson1PutBotCommand, serializeAws_restJson1PutBotCommand } from "../protocols/Aws_restJson1";
|
|
21
|
+
|
|
22
|
+
export interface PutBotCommandInput extends PutBotRequest {}
|
|
23
|
+
export interface PutBotCommandOutput extends PutBotResponse, __MetadataBearer {}
|
|
24
|
+
|
|
25
|
+
/**
|
|
26
|
+
* <p>Creates an Amazon Lex conversational bot or replaces an existing bot.
|
|
27
|
+
* When you create or update a bot you are only required to specify a name, a
|
|
28
|
+
* locale, and whether the bot is directed toward children under age 13. You
|
|
29
|
+
* can use this to add intents later, or to remove intents from an existing
|
|
30
|
+
* bot. When you create a bot with the minimum information, the bot is
|
|
31
|
+
* created or updated but Amazon Lex returns the <code></code> response
|
|
32
|
+
* <code>FAILED</code>. You can build the bot after you add one or more
|
|
33
|
+
* intents. For more information about Amazon Lex bots, see <a>how-it-works</a>. </p>
|
|
34
|
+
* <p>If you specify the name of an existing bot, the fields in the
|
|
35
|
+
* request replace the existing values in the <code>$LATEST</code> version of
|
|
36
|
+
* the bot. Amazon Lex removes any fields that you don't provide values for in the
|
|
37
|
+
* request, except for the <code>idleTTLInSeconds</code> and
|
|
38
|
+
* <code>privacySettings</code> fields, which are set to their default
|
|
39
|
+
* values. If you don't specify values for required fields, Amazon Lex throws an
|
|
40
|
+
* exception.</p>
|
|
41
|
+
*
|
|
42
|
+
* <p>This operation requires permissions for the <code>lex:PutBot</code>
|
|
43
|
+
* action. For more information, see <a>security-iam</a>.</p>
|
|
44
|
+
* @example
|
|
45
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
46
|
+
* ```javascript
|
|
47
|
+
* import { LexModelBuildingServiceClient, PutBotCommand } from "@aws-sdk/client-lex-model-building-service"; // ES Modules import
|
|
48
|
+
* // const { LexModelBuildingServiceClient, PutBotCommand } = require("@aws-sdk/client-lex-model-building-service"); // CommonJS import
|
|
49
|
+
* const client = new LexModelBuildingServiceClient(config);
|
|
50
|
+
* const command = new PutBotCommand(input);
|
|
51
|
+
* const response = await client.send(command);
|
|
52
|
+
* ```
|
|
53
|
+
*
|
|
54
|
+
* @see {@link PutBotCommandInput} for command's `input` shape.
|
|
55
|
+
* @see {@link PutBotCommandOutput} for command's `response` shape.
|
|
56
|
+
* @see {@link LexModelBuildingServiceClientResolvedConfig | config} for command's `input` shape.
|
|
57
|
+
*
|
|
58
|
+
*/
|
|
59
|
+
export class PutBotCommand extends $Command<
|
|
60
|
+
PutBotCommandInput,
|
|
61
|
+
PutBotCommandOutput,
|
|
62
|
+
LexModelBuildingServiceClientResolvedConfig
|
|
63
|
+
> {
|
|
64
|
+
// Start section: command_properties
|
|
65
|
+
// End section: command_properties
|
|
66
|
+
|
|
67
|
+
constructor(readonly input: PutBotCommandInput) {
|
|
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<PutBotCommandInput, PutBotCommandOutput> {
|
|
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 = "PutBotCommand";
|
|
88
|
+
const handlerExecutionContext: HandlerExecutionContext = {
|
|
89
|
+
logger,
|
|
90
|
+
clientName,
|
|
91
|
+
commandName,
|
|
92
|
+
inputFilterSensitiveLog: PutBotRequest.filterSensitiveLog,
|
|
93
|
+
outputFilterSensitiveLog: PutBotResponse.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: PutBotCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
104
|
+
return serializeAws_restJson1PutBotCommand(input, context);
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<PutBotCommandOutput> {
|
|
108
|
+
return deserializeAws_restJson1PutBotCommand(output, context);
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
// Start section: command_body_extra
|
|
112
|
+
// End section: command_body_extra
|
|
113
|
+
}
|
|
@@ -0,0 +1,156 @@
|
|
|
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 { PutIntentRequest, PutIntentResponse } from "../models/models_0";
|
|
20
|
+
import {
|
|
21
|
+
deserializeAws_restJson1PutIntentCommand,
|
|
22
|
+
serializeAws_restJson1PutIntentCommand,
|
|
23
|
+
} from "../protocols/Aws_restJson1";
|
|
24
|
+
|
|
25
|
+
export interface PutIntentCommandInput extends PutIntentRequest {}
|
|
26
|
+
export interface PutIntentCommandOutput extends PutIntentResponse, __MetadataBearer {}
|
|
27
|
+
|
|
28
|
+
/**
|
|
29
|
+
* <p>Creates an intent or replaces an existing intent.</p>
|
|
30
|
+
* <p>To define the interaction between the user and your bot, you use
|
|
31
|
+
* one or more intents. For a pizza ordering bot, for example, you would
|
|
32
|
+
* create an <code>OrderPizza</code> intent. </p>
|
|
33
|
+
* <p>To create an intent or replace an existing intent, you must provide
|
|
34
|
+
* the following:</p>
|
|
35
|
+
* <ul>
|
|
36
|
+
* <li>
|
|
37
|
+
* <p>Intent name. For example, <code>OrderPizza</code>.</p>
|
|
38
|
+
* </li>
|
|
39
|
+
* <li>
|
|
40
|
+
* <p>Sample utterances. For example, "Can I order a pizza, please."
|
|
41
|
+
* and "I want to order a pizza."</p>
|
|
42
|
+
* </li>
|
|
43
|
+
* <li>
|
|
44
|
+
* <p>Information to be gathered. You specify slot types for the
|
|
45
|
+
* information that your bot will request from the user. You can specify
|
|
46
|
+
* standard slot types, such as a date or a time, or custom slot types
|
|
47
|
+
* such as the size and crust of a pizza.</p>
|
|
48
|
+
* </li>
|
|
49
|
+
* <li>
|
|
50
|
+
* <p>How the intent will be fulfilled. You can provide a Lambda
|
|
51
|
+
* function or configure the intent to return the intent information to
|
|
52
|
+
* the client application. If you use a Lambda function, when all of the
|
|
53
|
+
* intent information is available, Amazon Lex invokes your Lambda function.
|
|
54
|
+
* If you configure your intent to return the intent information to the
|
|
55
|
+
* client application. </p>
|
|
56
|
+
* </li>
|
|
57
|
+
* </ul>
|
|
58
|
+
* <p>You can specify other optional information in the request, such
|
|
59
|
+
* as:</p>
|
|
60
|
+
*
|
|
61
|
+
* <ul>
|
|
62
|
+
* <li>
|
|
63
|
+
* <p>A confirmation prompt to ask the user to confirm an intent. For
|
|
64
|
+
* example, "Shall I order your pizza?"</p>
|
|
65
|
+
* </li>
|
|
66
|
+
* <li>
|
|
67
|
+
* <p>A conclusion statement to send to the user after the intent has
|
|
68
|
+
* been fulfilled. For example, "I placed your pizza order."</p>
|
|
69
|
+
* </li>
|
|
70
|
+
* <li>
|
|
71
|
+
* <p>A follow-up prompt that asks the user for additional activity.
|
|
72
|
+
* For example, asking "Do you want to order a drink with your
|
|
73
|
+
* pizza?"</p>
|
|
74
|
+
* </li>
|
|
75
|
+
* </ul>
|
|
76
|
+
* <p>If you specify an existing intent name to update the intent, Amazon Lex
|
|
77
|
+
* replaces the values in the <code>$LATEST</code> version of the intent with
|
|
78
|
+
* the values in the request. Amazon Lex removes fields that you don't provide in
|
|
79
|
+
* the request. If you don't specify the required fields, Amazon Lex throws an
|
|
80
|
+
* exception. When you update the <code>$LATEST</code> version of an intent,
|
|
81
|
+
* the <code>status</code> field of any bot that uses the
|
|
82
|
+
* <code>$LATEST</code> version of the intent is set to
|
|
83
|
+
* <code>NOT_BUILT</code>.</p>
|
|
84
|
+
* <p>For more information, see <a>how-it-works</a>.</p>
|
|
85
|
+
* <p>This operation requires permissions for the
|
|
86
|
+
* <code>lex:PutIntent</code> action.</p>
|
|
87
|
+
* @example
|
|
88
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
89
|
+
* ```javascript
|
|
90
|
+
* import { LexModelBuildingServiceClient, PutIntentCommand } from "@aws-sdk/client-lex-model-building-service"; // ES Modules import
|
|
91
|
+
* // const { LexModelBuildingServiceClient, PutIntentCommand } = require("@aws-sdk/client-lex-model-building-service"); // CommonJS import
|
|
92
|
+
* const client = new LexModelBuildingServiceClient(config);
|
|
93
|
+
* const command = new PutIntentCommand(input);
|
|
94
|
+
* const response = await client.send(command);
|
|
95
|
+
* ```
|
|
96
|
+
*
|
|
97
|
+
* @see {@link PutIntentCommandInput} for command's `input` shape.
|
|
98
|
+
* @see {@link PutIntentCommandOutput} for command's `response` shape.
|
|
99
|
+
* @see {@link LexModelBuildingServiceClientResolvedConfig | config} for command's `input` shape.
|
|
100
|
+
*
|
|
101
|
+
*/
|
|
102
|
+
export class PutIntentCommand extends $Command<
|
|
103
|
+
PutIntentCommandInput,
|
|
104
|
+
PutIntentCommandOutput,
|
|
105
|
+
LexModelBuildingServiceClientResolvedConfig
|
|
106
|
+
> {
|
|
107
|
+
// Start section: command_properties
|
|
108
|
+
// End section: command_properties
|
|
109
|
+
|
|
110
|
+
constructor(readonly input: PutIntentCommandInput) {
|
|
111
|
+
// Start section: command_constructor
|
|
112
|
+
super();
|
|
113
|
+
// End section: command_constructor
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
/**
|
|
117
|
+
* @internal
|
|
118
|
+
*/
|
|
119
|
+
resolveMiddleware(
|
|
120
|
+
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
121
|
+
configuration: LexModelBuildingServiceClientResolvedConfig,
|
|
122
|
+
options?: __HttpHandlerOptions
|
|
123
|
+
): Handler<PutIntentCommandInput, PutIntentCommandOutput> {
|
|
124
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
125
|
+
|
|
126
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
127
|
+
|
|
128
|
+
const { logger } = configuration;
|
|
129
|
+
const clientName = "LexModelBuildingServiceClient";
|
|
130
|
+
const commandName = "PutIntentCommand";
|
|
131
|
+
const handlerExecutionContext: HandlerExecutionContext = {
|
|
132
|
+
logger,
|
|
133
|
+
clientName,
|
|
134
|
+
commandName,
|
|
135
|
+
inputFilterSensitiveLog: PutIntentRequest.filterSensitiveLog,
|
|
136
|
+
outputFilterSensitiveLog: PutIntentResponse.filterSensitiveLog,
|
|
137
|
+
};
|
|
138
|
+
const { requestHandler } = configuration;
|
|
139
|
+
return stack.resolve(
|
|
140
|
+
(request: FinalizeHandlerArguments<any>) =>
|
|
141
|
+
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
142
|
+
handlerExecutionContext
|
|
143
|
+
);
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
private serialize(input: PutIntentCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
147
|
+
return serializeAws_restJson1PutIntentCommand(input, context);
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<PutIntentCommandOutput> {
|
|
151
|
+
return deserializeAws_restJson1PutIntentCommand(output, context);
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
// Start section: command_body_extra
|
|
155
|
+
// End section: command_body_extra
|
|
156
|
+
}
|