@aws-sdk/client-lex-model-building-service 3.34.0 → 3.37.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +47 -0
- package/{dist/cjs → dist-cjs}/LexModelBuildingService.js +4 -11
- package/{dist/cjs → dist-cjs}/LexModelBuildingServiceClient.js +8 -20
- package/dist-cjs/commands/CreateBotVersionCommand.js +36 -0
- package/dist-cjs/commands/CreateIntentVersionCommand.js +36 -0
- package/dist-cjs/commands/CreateSlotTypeVersionCommand.js +36 -0
- package/dist-cjs/commands/DeleteBotAliasCommand.js +36 -0
- package/{dist/cjs → dist-cjs}/commands/DeleteBotChannelAssociationCommand.js +2 -30
- package/dist-cjs/commands/DeleteBotCommand.js +36 -0
- package/{dist/cjs → dist-cjs}/commands/DeleteBotVersionCommand.js +2 -30
- package/dist-cjs/commands/DeleteIntentCommand.js +36 -0
- package/{dist/cjs → dist-cjs}/commands/DeleteIntentVersionCommand.js +2 -30
- package/dist-cjs/commands/DeleteSlotTypeCommand.js +36 -0
- package/{dist/cjs → dist-cjs}/commands/DeleteSlotTypeVersionCommand.js +2 -30
- package/dist-cjs/commands/DeleteUtterancesCommand.js +36 -0
- package/{dist/cjs → dist-cjs}/commands/GetBotAliasCommand.js +2 -30
- package/{dist/cjs → dist-cjs}/commands/GetBotAliasesCommand.js +2 -29
- package/{dist/cjs → dist-cjs}/commands/GetBotChannelAssociationCommand.js +2 -30
- package/{dist/cjs → dist-cjs}/commands/GetBotChannelAssociationsCommand.js +2 -31
- package/{dist/cjs → dist-cjs}/commands/GetBotCommand.js +2 -30
- package/dist-cjs/commands/GetBotVersionsCommand.js +36 -0
- package/dist-cjs/commands/GetBotsCommand.js +36 -0
- package/{dist/cjs → dist-cjs}/commands/GetBuiltinIntentCommand.js +2 -29
- package/{dist/cjs → dist-cjs}/commands/GetBuiltinIntentsCommand.js +2 -30
- package/{dist/cjs → dist-cjs}/commands/GetBuiltinSlotTypesCommand.js +2 -33
- package/{dist/cjs → dist-cjs}/commands/GetExportCommand.js +2 -28
- package/{dist/cjs → dist-cjs}/commands/GetImportCommand.js +2 -28
- package/{dist/cjs → dist-cjs}/commands/GetIntentCommand.js +2 -30
- package/dist-cjs/commands/GetIntentVersionsCommand.js +36 -0
- package/dist-cjs/commands/GetIntentsCommand.js +36 -0
- package/{dist/cjs → dist-cjs}/commands/GetMigrationCommand.js +2 -29
- package/{dist/cjs → dist-cjs}/commands/GetMigrationsCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/GetSlotTypeCommand.js +2 -31
- package/dist-cjs/commands/GetSlotTypeVersionsCommand.js +36 -0
- package/dist-cjs/commands/GetSlotTypesCommand.js +36 -0
- package/dist-cjs/commands/GetUtterancesViewCommand.js +36 -0
- package/{dist/cjs → dist-cjs}/commands/ListTagsForResourceCommand.js +2 -28
- package/{dist/cjs → dist-cjs}/commands/PutBotAliasCommand.js +2 -32
- package/dist-cjs/commands/PutBotCommand.js +36 -0
- package/dist-cjs/commands/PutIntentCommand.js +36 -0
- package/dist-cjs/commands/PutSlotTypeCommand.js +36 -0
- package/{dist/cjs → dist-cjs}/commands/StartImportCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/StartMigrationCommand.js +2 -30
- package/{dist/cjs → dist-cjs}/commands/TagResourceCommand.js +2 -28
- package/{dist/cjs → dist-cjs}/commands/UntagResourceCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/endpoints.js +1 -2
- package/{dist/cjs → dist-cjs}/index.js +0 -1
- package/{dist/cjs → dist-cjs}/models/index.js +0 -1
- package/{dist/cjs → dist-cjs}/models/models_0.js +0 -352
- package/{dist/cjs → dist-cjs}/pagination/GetBotAliasesPaginator.js +1 -12
- package/{dist/cjs → dist-cjs}/pagination/GetBotChannelAssociationsPaginator.js +1 -12
- package/{dist/cjs → dist-cjs}/pagination/GetBotVersionsPaginator.js +1 -12
- package/{dist/cjs → dist-cjs}/pagination/GetBotsPaginator.js +1 -12
- package/{dist/cjs → dist-cjs}/pagination/GetBuiltinIntentsPaginator.js +1 -12
- package/{dist/cjs → dist-cjs}/pagination/GetBuiltinSlotTypesPaginator.js +1 -12
- package/{dist/cjs → dist-cjs}/pagination/GetIntentVersionsPaginator.js +1 -12
- package/{dist/cjs → dist-cjs}/pagination/GetIntentsPaginator.js +1 -12
- package/{dist/cjs → dist-cjs}/pagination/GetMigrationsPaginator.js +1 -12
- package/{dist/cjs → dist-cjs}/pagination/GetSlotTypeVersionsPaginator.js +1 -12
- package/{dist/cjs → dist-cjs}/pagination/GetSlotTypesPaginator.js +1 -12
- package/{dist/cjs → dist-cjs}/pagination/Interfaces.js +0 -1
- package/{dist/cjs → dist-cjs}/protocols/Aws_restJson1.js +9 -15
- package/{dist/cjs → dist-cjs}/runtimeConfig.browser.js +1 -5
- package/{dist/cjs → dist-cjs}/runtimeConfig.js +1 -5
- package/{dist/cjs → dist-cjs}/runtimeConfig.native.js +0 -4
- package/{dist/cjs → dist-cjs}/runtimeConfig.shared.js +1 -5
- package/{dist/es → dist-es}/LexModelBuildingService.js +4 -5
- package/{dist/es → dist-es}/LexModelBuildingServiceClient.js +1 -2
- package/{dist/es → dist-es}/commands/CreateBotVersionCommand.js +2 -3
- package/{dist/es → dist-es}/commands/CreateIntentVersionCommand.js +2 -3
- package/{dist/es → dist-es}/commands/CreateSlotTypeVersionCommand.js +2 -3
- package/{dist/es → dist-es}/commands/DeleteBotAliasCommand.js +2 -3
- package/{dist/es → dist-es}/commands/DeleteBotChannelAssociationCommand.js +2 -3
- package/{dist/es → dist-es}/commands/DeleteBotCommand.js +2 -3
- package/{dist/es → dist-es}/commands/DeleteBotVersionCommand.js +2 -3
- package/{dist/es → dist-es}/commands/DeleteIntentCommand.js +2 -3
- package/{dist/es → dist-es}/commands/DeleteIntentVersionCommand.js +2 -3
- package/{dist/es → dist-es}/commands/DeleteSlotTypeCommand.js +2 -3
- package/{dist/es → dist-es}/commands/DeleteSlotTypeVersionCommand.js +2 -3
- package/{dist/es → dist-es}/commands/DeleteUtterancesCommand.js +2 -3
- package/{dist/es → dist-es}/commands/GetBotAliasCommand.js +2 -3
- package/{dist/es → dist-es}/commands/GetBotAliasesCommand.js +2 -3
- package/{dist/es → dist-es}/commands/GetBotChannelAssociationCommand.js +2 -3
- package/{dist/es → dist-es}/commands/GetBotChannelAssociationsCommand.js +2 -3
- package/{dist/es → dist-es}/commands/GetBotCommand.js +2 -3
- package/{dist/es → dist-es}/commands/GetBotVersionsCommand.js +2 -3
- package/{dist/es → dist-es}/commands/GetBotsCommand.js +2 -3
- package/{dist/es → dist-es}/commands/GetBuiltinIntentCommand.js +2 -3
- package/{dist/es → dist-es}/commands/GetBuiltinIntentsCommand.js +2 -3
- package/{dist/es → dist-es}/commands/GetBuiltinSlotTypesCommand.js +2 -3
- package/{dist/es → dist-es}/commands/GetExportCommand.js +2 -3
- package/{dist/es → dist-es}/commands/GetImportCommand.js +2 -3
- package/{dist/es → dist-es}/commands/GetIntentCommand.js +2 -3
- package/{dist/es → dist-es}/commands/GetIntentVersionsCommand.js +2 -3
- package/{dist/es → dist-es}/commands/GetIntentsCommand.js +2 -3
- package/{dist/es → dist-es}/commands/GetMigrationCommand.js +2 -3
- package/{dist/es → dist-es}/commands/GetMigrationsCommand.js +2 -3
- package/{dist/es → dist-es}/commands/GetSlotTypeCommand.js +2 -3
- package/{dist/es → dist-es}/commands/GetSlotTypeVersionsCommand.js +2 -3
- package/{dist/es → dist-es}/commands/GetSlotTypesCommand.js +2 -3
- package/{dist/es → dist-es}/commands/GetUtterancesViewCommand.js +2 -3
- package/{dist/es → dist-es}/commands/ListTagsForResourceCommand.js +2 -3
- package/{dist/es → dist-es}/commands/PutBotAliasCommand.js +2 -3
- package/{dist/es → dist-es}/commands/PutBotCommand.js +2 -3
- package/{dist/es → dist-es}/commands/PutIntentCommand.js +2 -3
- package/{dist/es → dist-es}/commands/PutSlotTypeCommand.js +2 -3
- package/{dist/es → dist-es}/commands/StartImportCommand.js +2 -3
- package/{dist/es → dist-es}/commands/StartMigrationCommand.js +2 -3
- package/{dist/es → dist-es}/commands/TagResourceCommand.js +2 -3
- package/{dist/es → dist-es}/commands/UntagResourceCommand.js +2 -3
- package/{dist/es → dist-es}/endpoints.js +1 -2
- package/{dist/types/index.d.ts → dist-es/index.js} +0 -0
- package/{dist/types/models/index.d.ts → dist-es/models/index.js} +0 -0
- package/{dist/es → dist-es}/models/models_0.js +0 -1
- package/{dist/es → dist-es}/pagination/GetBotAliasesPaginator.js +1 -2
- package/{dist/es → dist-es}/pagination/GetBotChannelAssociationsPaginator.js +1 -2
- package/{dist/es → dist-es}/pagination/GetBotVersionsPaginator.js +1 -2
- package/{dist/es → dist-es}/pagination/GetBotsPaginator.js +1 -2
- package/{dist/es → dist-es}/pagination/GetBuiltinIntentsPaginator.js +1 -2
- package/{dist/es → dist-es}/pagination/GetBuiltinSlotTypesPaginator.js +1 -2
- package/{dist/es → dist-es}/pagination/GetIntentVersionsPaginator.js +1 -2
- package/{dist/es → dist-es}/pagination/GetIntentsPaginator.js +1 -2
- package/{dist/es → dist-es}/pagination/GetMigrationsPaginator.js +1 -2
- package/{dist/es → dist-es}/pagination/GetSlotTypeVersionsPaginator.js +1 -2
- package/{dist/es → dist-es}/pagination/GetSlotTypesPaginator.js +1 -2
- package/dist-es/pagination/Interfaces.js +1 -0
- package/{dist/es → dist-es}/protocols/Aws_restJson1.js +0 -1
- package/{dist/es → dist-es}/runtimeConfig.browser.js +1 -2
- package/{dist/es → dist-es}/runtimeConfig.js +1 -2
- package/{dist/es → dist-es}/runtimeConfig.native.js +0 -1
- package/{dist/es → dist-es}/runtimeConfig.shared.js +1 -2
- package/{dist/types → dist-types}/LexModelBuildingService.d.ts +5 -5
- package/{dist/types → dist-types}/LexModelBuildingServiceClient.d.ts +11 -11
- package/{dist/types → dist-types}/commands/CreateBotVersionCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/CreateIntentVersionCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/CreateSlotTypeVersionCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DeleteBotAliasCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DeleteBotChannelAssociationCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DeleteBotCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DeleteBotVersionCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DeleteIntentCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DeleteIntentVersionCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DeleteSlotTypeCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DeleteSlotTypeVersionCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DeleteUtterancesCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/GetBotAliasCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/GetBotAliasesCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/GetBotChannelAssociationCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/GetBotChannelAssociationsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/GetBotCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/GetBotVersionsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/GetBotsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/GetBuiltinIntentCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/GetBuiltinIntentsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/GetBuiltinSlotTypesCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/GetExportCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/GetImportCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/GetIntentCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/GetIntentVersionsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/GetIntentsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/GetMigrationCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/GetMigrationsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/GetSlotTypeCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/GetSlotTypeVersionsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/GetSlotTypesCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/GetUtterancesViewCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ListTagsForResourceCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/PutBotAliasCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/PutBotCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/PutIntentCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/PutSlotTypeCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/StartImportCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/StartMigrationCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/TagResourceCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/UntagResourceCommand.d.ts +2 -2
- package/{dist/types → dist-types}/endpoints.d.ts +0 -0
- package/{index.ts → dist-types/index.d.ts} +0 -0
- package/{models/index.ts → dist-types/models/index.d.ts} +0 -0
- package/{dist/types → dist-types}/models/models_0.d.ts +0 -0
- package/{dist/types → dist-types}/pagination/GetBotAliasesPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/GetBotChannelAssociationsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/GetBotVersionsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/GetBotsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/GetBuiltinIntentsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/GetBuiltinSlotTypesPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/GetIntentVersionsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/GetIntentsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/GetMigrationsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/GetSlotTypeVersionsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/GetSlotTypesPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/Interfaces.d.ts +1 -1
- package/{dist/types → dist-types}/protocols/Aws_restJson1.d.ts +5 -5
- package/{dist/types → dist-types}/runtimeConfig.browser.d.ts +3 -0
- package/{dist/types → dist-types}/runtimeConfig.d.ts +1 -1
- package/{dist/types → dist-types}/runtimeConfig.native.d.ts +0 -0
- package/{dist/types → dist-types}/runtimeConfig.shared.d.ts +0 -0
- package/dist-types/ts3.4/LexModelBuildingService.d.ts +215 -0
- package/{dist/types → dist-types}/ts3.4/LexModelBuildingServiceClient.d.ts +35 -103
- package/dist-types/ts3.4/commands/CreateBotVersionCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateIntentVersionCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateSlotTypeVersionCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteBotAliasCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteBotChannelAssociationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteBotCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteBotVersionCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteIntentCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteIntentVersionCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteSlotTypeCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteSlotTypeVersionCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteUtterancesCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetBotAliasCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetBotAliasesCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetBotChannelAssociationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetBotChannelAssociationsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetBotCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetBotVersionsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetBotsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetBuiltinIntentCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetBuiltinIntentsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetBuiltinSlotTypesCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetExportCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetImportCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetIntentCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetIntentVersionsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetIntentsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetMigrationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetMigrationsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetSlotTypeCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetSlotTypeVersionsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetSlotTypesCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetUtterancesViewCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/PutBotAliasCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/PutBotCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/PutIntentCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/PutSlotTypeCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/StartImportCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/StartMigrationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +17 -0
- package/{dist/types → dist-types}/ts3.4/endpoints.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/index.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/models/index.d.ts +0 -0
- package/dist-types/ts3.4/models/models_0.d.ts +1884 -0
- package/{dist/types → dist-types}/ts3.4/pagination/GetBotAliasesPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/GetBotChannelAssociationsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/GetBotVersionsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/GetBotsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/GetBuiltinIntentsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/GetBuiltinSlotTypesPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/GetIntentVersionsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/GetIntentsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/GetMigrationsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/GetSlotTypeVersionsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/GetSlotTypesPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/Interfaces.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/protocols/Aws_restJson1.d.ts +5 -5
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.browser.d.ts +2 -3
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.d.ts +2 -4
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.native.d.ts +1 -3
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.shared.d.ts +1 -3
- package/package.json +45 -42
- package/LexModelBuildingService.ts +0 -1756
- package/LexModelBuildingServiceClient.ts +0 -394
- package/commands/CreateBotVersionCommand.ts +0 -110
- package/commands/CreateIntentVersionCommand.ts +0 -111
- package/commands/CreateSlotTypeVersionCommand.ts +0 -113
- package/commands/DeleteBotAliasCommand.ts +0 -106
- package/commands/DeleteBotChannelAssociationCommand.ts +0 -104
- package/commands/DeleteBotCommand.ts +0 -114
- package/commands/DeleteBotVersionCommand.ts +0 -101
- package/commands/DeleteIntentCommand.ts +0 -115
- package/commands/DeleteIntentVersionCommand.ts +0 -101
- package/commands/DeleteSlotTypeCommand.ts +0 -114
- package/commands/DeleteSlotTypeVersionCommand.ts +0 -101
- package/commands/DeleteUtterancesCommand.ts +0 -109
- package/commands/GetBotAliasCommand.ts +0 -101
- package/commands/GetBotAliasesCommand.ts +0 -100
- package/commands/GetBotChannelAssociationCommand.ts +0 -101
- package/commands/GetBotChannelAssociationsCommand.ts +0 -105
- package/commands/GetBotCommand.ts +0 -98
- package/commands/GetBotVersionsCommand.ts +0 -108
- package/commands/GetBotsCommand.ts +0 -112
- package/commands/GetBuiltinIntentCommand.ts +0 -100
- package/commands/GetBuiltinIntentsCommand.ts +0 -101
- package/commands/GetBuiltinSlotTypesCommand.ts +0 -104
- package/commands/GetExportCommand.ts +0 -99
- package/commands/GetImportCommand.ts +0 -99
- package/commands/GetIntentCommand.ts +0 -101
- package/commands/GetIntentVersionsCommand.ts +0 -108
- package/commands/GetIntentsCommand.ts +0 -112
- package/commands/GetMigrationCommand.ts +0 -100
- package/commands/GetMigrationsCommand.ts +0 -98
- package/commands/GetSlotTypeCommand.ts +0 -102
- package/commands/GetSlotTypeVersionsCommand.ts +0 -108
- package/commands/GetSlotTypesCommand.ts +0 -112
- package/commands/GetUtterancesViewCommand.ts +0 -121
- package/commands/ListTagsForResourceCommand.ts +0 -99
- package/commands/PutBotAliasCommand.ts +0 -103
- package/commands/PutBotCommand.ts +0 -112
- package/commands/PutIntentCommand.ts +0 -155
- package/commands/PutSlotTypeCommand.ts +0 -113
- package/commands/StartImportCommand.ts +0 -98
- package/commands/StartMigrationCommand.ts +0 -101
- package/commands/TagResourceCommand.ts +0 -99
- package/commands/UntagResourceCommand.ts +0 -98
- package/dist/cjs/LexModelBuildingService.js.map +0 -1
- package/dist/cjs/LexModelBuildingServiceClient.js.map +0 -1
- package/dist/cjs/commands/CreateBotVersionCommand.js +0 -73
- package/dist/cjs/commands/CreateBotVersionCommand.js.map +0 -1
- package/dist/cjs/commands/CreateIntentVersionCommand.js +0 -74
- package/dist/cjs/commands/CreateIntentVersionCommand.js.map +0 -1
- package/dist/cjs/commands/CreateSlotTypeVersionCommand.js +0 -76
- package/dist/cjs/commands/CreateSlotTypeVersionCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteBotAliasCommand.js +0 -69
- package/dist/cjs/commands/DeleteBotAliasCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteBotChannelAssociationCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteBotCommand.js +0 -77
- package/dist/cjs/commands/DeleteBotCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteBotVersionCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteIntentCommand.js +0 -78
- package/dist/cjs/commands/DeleteIntentCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteIntentVersionCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteSlotTypeCommand.js +0 -77
- package/dist/cjs/commands/DeleteSlotTypeCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteSlotTypeVersionCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteUtterancesCommand.js +0 -72
- package/dist/cjs/commands/DeleteUtterancesCommand.js.map +0 -1
- package/dist/cjs/commands/GetBotAliasCommand.js.map +0 -1
- package/dist/cjs/commands/GetBotAliasesCommand.js.map +0 -1
- package/dist/cjs/commands/GetBotChannelAssociationCommand.js.map +0 -1
- package/dist/cjs/commands/GetBotChannelAssociationsCommand.js.map +0 -1
- package/dist/cjs/commands/GetBotCommand.js.map +0 -1
- package/dist/cjs/commands/GetBotVersionsCommand.js +0 -71
- package/dist/cjs/commands/GetBotVersionsCommand.js.map +0 -1
- package/dist/cjs/commands/GetBotsCommand.js +0 -75
- package/dist/cjs/commands/GetBotsCommand.js.map +0 -1
- package/dist/cjs/commands/GetBuiltinIntentCommand.js.map +0 -1
- package/dist/cjs/commands/GetBuiltinIntentsCommand.js.map +0 -1
- package/dist/cjs/commands/GetBuiltinSlotTypesCommand.js.map +0 -1
- package/dist/cjs/commands/GetExportCommand.js.map +0 -1
- package/dist/cjs/commands/GetImportCommand.js.map +0 -1
- package/dist/cjs/commands/GetIntentCommand.js.map +0 -1
- package/dist/cjs/commands/GetIntentVersionsCommand.js +0 -71
- package/dist/cjs/commands/GetIntentVersionsCommand.js.map +0 -1
- package/dist/cjs/commands/GetIntentsCommand.js +0 -75
- package/dist/cjs/commands/GetIntentsCommand.js.map +0 -1
- package/dist/cjs/commands/GetMigrationCommand.js.map +0 -1
- package/dist/cjs/commands/GetMigrationsCommand.js.map +0 -1
- package/dist/cjs/commands/GetSlotTypeCommand.js.map +0 -1
- package/dist/cjs/commands/GetSlotTypeVersionsCommand.js +0 -71
- package/dist/cjs/commands/GetSlotTypeVersionsCommand.js.map +0 -1
- package/dist/cjs/commands/GetSlotTypesCommand.js +0 -75
- package/dist/cjs/commands/GetSlotTypesCommand.js.map +0 -1
- package/dist/cjs/commands/GetUtterancesViewCommand.js +0 -84
- package/dist/cjs/commands/GetUtterancesViewCommand.js.map +0 -1
- package/dist/cjs/commands/ListTagsForResourceCommand.js.map +0 -1
- package/dist/cjs/commands/PutBotAliasCommand.js.map +0 -1
- package/dist/cjs/commands/PutBotCommand.js +0 -78
- package/dist/cjs/commands/PutBotCommand.js.map +0 -1
- package/dist/cjs/commands/PutIntentCommand.js +0 -118
- package/dist/cjs/commands/PutIntentCommand.js.map +0 -1
- package/dist/cjs/commands/PutSlotTypeCommand.js +0 -76
- package/dist/cjs/commands/PutSlotTypeCommand.js.map +0 -1
- package/dist/cjs/commands/StartImportCommand.js.map +0 -1
- package/dist/cjs/commands/StartMigrationCommand.js.map +0 -1
- package/dist/cjs/commands/TagResourceCommand.js.map +0 -1
- package/dist/cjs/commands/UntagResourceCommand.js.map +0 -1
- package/dist/cjs/endpoints.js.map +0 -1
- package/dist/cjs/index.js.map +0 -1
- package/dist/cjs/models/index.js.map +0 -1
- package/dist/cjs/models/models_0.js.map +0 -1
- package/dist/cjs/package.json +0 -91
- package/dist/cjs/pagination/GetBotAliasesPaginator.js.map +0 -1
- package/dist/cjs/pagination/GetBotChannelAssociationsPaginator.js.map +0 -1
- package/dist/cjs/pagination/GetBotVersionsPaginator.js.map +0 -1
- package/dist/cjs/pagination/GetBotsPaginator.js.map +0 -1
- package/dist/cjs/pagination/GetBuiltinIntentsPaginator.js.map +0 -1
- package/dist/cjs/pagination/GetBuiltinSlotTypesPaginator.js.map +0 -1
- package/dist/cjs/pagination/GetIntentVersionsPaginator.js.map +0 -1
- package/dist/cjs/pagination/GetIntentsPaginator.js.map +0 -1
- package/dist/cjs/pagination/GetMigrationsPaginator.js.map +0 -1
- package/dist/cjs/pagination/GetSlotTypeVersionsPaginator.js.map +0 -1
- package/dist/cjs/pagination/GetSlotTypesPaginator.js.map +0 -1
- package/dist/cjs/pagination/Interfaces.js.map +0 -1
- package/dist/cjs/protocols/Aws_restJson1.js.map +0 -1
- package/dist/cjs/runtimeConfig.browser.js.map +0 -1
- package/dist/cjs/runtimeConfig.js.map +0 -1
- package/dist/cjs/runtimeConfig.native.js.map +0 -1
- package/dist/cjs/runtimeConfig.shared.js.map +0 -1
- package/dist/es/LexModelBuildingService.js.map +0 -1
- package/dist/es/LexModelBuildingServiceClient.js.map +0 -1
- package/dist/es/commands/CreateBotVersionCommand.js.map +0 -1
- package/dist/es/commands/CreateIntentVersionCommand.js.map +0 -1
- package/dist/es/commands/CreateSlotTypeVersionCommand.js.map +0 -1
- package/dist/es/commands/DeleteBotAliasCommand.js.map +0 -1
- package/dist/es/commands/DeleteBotChannelAssociationCommand.js.map +0 -1
- package/dist/es/commands/DeleteBotCommand.js.map +0 -1
- package/dist/es/commands/DeleteBotVersionCommand.js.map +0 -1
- package/dist/es/commands/DeleteIntentCommand.js.map +0 -1
- package/dist/es/commands/DeleteIntentVersionCommand.js.map +0 -1
- package/dist/es/commands/DeleteSlotTypeCommand.js.map +0 -1
- package/dist/es/commands/DeleteSlotTypeVersionCommand.js.map +0 -1
- package/dist/es/commands/DeleteUtterancesCommand.js.map +0 -1
- package/dist/es/commands/GetBotAliasCommand.js.map +0 -1
- package/dist/es/commands/GetBotAliasesCommand.js.map +0 -1
- package/dist/es/commands/GetBotChannelAssociationCommand.js.map +0 -1
- package/dist/es/commands/GetBotChannelAssociationsCommand.js.map +0 -1
- package/dist/es/commands/GetBotCommand.js.map +0 -1
- package/dist/es/commands/GetBotVersionsCommand.js.map +0 -1
- package/dist/es/commands/GetBotsCommand.js.map +0 -1
- package/dist/es/commands/GetBuiltinIntentCommand.js.map +0 -1
- package/dist/es/commands/GetBuiltinIntentsCommand.js.map +0 -1
- package/dist/es/commands/GetBuiltinSlotTypesCommand.js.map +0 -1
- package/dist/es/commands/GetExportCommand.js.map +0 -1
- package/dist/es/commands/GetImportCommand.js.map +0 -1
- package/dist/es/commands/GetIntentCommand.js.map +0 -1
- package/dist/es/commands/GetIntentVersionsCommand.js.map +0 -1
- package/dist/es/commands/GetIntentsCommand.js.map +0 -1
- package/dist/es/commands/GetMigrationCommand.js.map +0 -1
- package/dist/es/commands/GetMigrationsCommand.js.map +0 -1
- package/dist/es/commands/GetSlotTypeCommand.js.map +0 -1
- package/dist/es/commands/GetSlotTypeVersionsCommand.js.map +0 -1
- package/dist/es/commands/GetSlotTypesCommand.js.map +0 -1
- package/dist/es/commands/GetUtterancesViewCommand.js.map +0 -1
- package/dist/es/commands/ListTagsForResourceCommand.js.map +0 -1
- package/dist/es/commands/PutBotAliasCommand.js.map +0 -1
- package/dist/es/commands/PutBotCommand.js.map +0 -1
- package/dist/es/commands/PutIntentCommand.js.map +0 -1
- package/dist/es/commands/PutSlotTypeCommand.js.map +0 -1
- package/dist/es/commands/StartImportCommand.js.map +0 -1
- package/dist/es/commands/StartMigrationCommand.js.map +0 -1
- package/dist/es/commands/TagResourceCommand.js.map +0 -1
- package/dist/es/commands/UntagResourceCommand.js.map +0 -1
- package/dist/es/endpoints.js.map +0 -1
- package/dist/es/index.js +0 -58
- package/dist/es/index.js.map +0 -1
- package/dist/es/models/index.js +0 -2
- package/dist/es/models/index.js.map +0 -1
- package/dist/es/models/models_0.js.map +0 -1
- package/dist/es/package.json +0 -91
- package/dist/es/pagination/GetBotAliasesPaginator.js.map +0 -1
- package/dist/es/pagination/GetBotChannelAssociationsPaginator.js.map +0 -1
- package/dist/es/pagination/GetBotVersionsPaginator.js.map +0 -1
- package/dist/es/pagination/GetBotsPaginator.js.map +0 -1
- package/dist/es/pagination/GetBuiltinIntentsPaginator.js.map +0 -1
- package/dist/es/pagination/GetBuiltinSlotTypesPaginator.js.map +0 -1
- package/dist/es/pagination/GetIntentVersionsPaginator.js.map +0 -1
- package/dist/es/pagination/GetIntentsPaginator.js.map +0 -1
- package/dist/es/pagination/GetMigrationsPaginator.js.map +0 -1
- package/dist/es/pagination/GetSlotTypeVersionsPaginator.js.map +0 -1
- package/dist/es/pagination/GetSlotTypesPaginator.js.map +0 -1
- package/dist/es/pagination/Interfaces.js +0 -2
- package/dist/es/pagination/Interfaces.js.map +0 -1
- package/dist/es/protocols/Aws_restJson1.js.map +0 -1
- package/dist/es/runtimeConfig.browser.js.map +0 -1
- package/dist/es/runtimeConfig.js.map +0 -1
- package/dist/es/runtimeConfig.native.js.map +0 -1
- package/dist/es/runtimeConfig.shared.js.map +0 -1
- package/dist/types/ts3.4/LexModelBuildingService.d.ts +0 -655
- package/dist/types/ts3.4/commands/CreateBotVersionCommand.d.ts +0 -47
- package/dist/types/ts3.4/commands/CreateIntentVersionCommand.d.ts +0 -48
- package/dist/types/ts3.4/commands/CreateSlotTypeVersionCommand.d.ts +0 -50
- package/dist/types/ts3.4/commands/DeleteBotAliasCommand.d.ts +0 -43
- package/dist/types/ts3.4/commands/DeleteBotChannelAssociationCommand.d.ts +0 -38
- package/dist/types/ts3.4/commands/DeleteBotCommand.d.ts +0 -51
- package/dist/types/ts3.4/commands/DeleteBotVersionCommand.d.ts +0 -38
- package/dist/types/ts3.4/commands/DeleteIntentCommand.d.ts +0 -52
- package/dist/types/ts3.4/commands/DeleteIntentVersionCommand.d.ts +0 -38
- package/dist/types/ts3.4/commands/DeleteSlotTypeCommand.d.ts +0 -51
- package/dist/types/ts3.4/commands/DeleteSlotTypeVersionCommand.d.ts +0 -38
- package/dist/types/ts3.4/commands/DeleteUtterancesCommand.d.ts +0 -46
- package/dist/types/ts3.4/commands/GetBotAliasCommand.d.ts +0 -38
- package/dist/types/ts3.4/commands/GetBotAliasesCommand.d.ts +0 -37
- package/dist/types/ts3.4/commands/GetBotChannelAssociationCommand.d.ts +0 -38
- package/dist/types/ts3.4/commands/GetBotChannelAssociationsCommand.d.ts +0 -39
- package/dist/types/ts3.4/commands/GetBotCommand.d.ts +0 -38
- package/dist/types/ts3.4/commands/GetBotVersionsCommand.d.ts +0 -45
- package/dist/types/ts3.4/commands/GetBotsCommand.d.ts +0 -49
- package/dist/types/ts3.4/commands/GetBuiltinIntentCommand.d.ts +0 -37
- package/dist/types/ts3.4/commands/GetBuiltinIntentsCommand.d.ts +0 -38
- package/dist/types/ts3.4/commands/GetBuiltinSlotTypesCommand.d.ts +0 -41
- package/dist/types/ts3.4/commands/GetExportCommand.d.ts +0 -36
- package/dist/types/ts3.4/commands/GetImportCommand.d.ts +0 -36
- package/dist/types/ts3.4/commands/GetIntentCommand.d.ts +0 -38
- package/dist/types/ts3.4/commands/GetIntentVersionsCommand.d.ts +0 -45
- package/dist/types/ts3.4/commands/GetIntentsCommand.d.ts +0 -49
- package/dist/types/ts3.4/commands/GetMigrationCommand.d.ts +0 -37
- package/dist/types/ts3.4/commands/GetMigrationsCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/GetSlotTypeCommand.d.ts +0 -39
- package/dist/types/ts3.4/commands/GetSlotTypeVersionsCommand.d.ts +0 -45
- package/dist/types/ts3.4/commands/GetSlotTypesCommand.d.ts +0 -49
- package/dist/types/ts3.4/commands/GetUtterancesViewCommand.d.ts +0 -58
- package/dist/types/ts3.4/commands/ListTagsForResourceCommand.d.ts +0 -36
- package/dist/types/ts3.4/commands/PutBotAliasCommand.d.ts +0 -40
- package/dist/types/ts3.4/commands/PutBotCommand.d.ts +0 -52
- package/dist/types/ts3.4/commands/PutIntentCommand.d.ts +0 -92
- package/dist/types/ts3.4/commands/PutSlotTypeCommand.d.ts +0 -50
- package/dist/types/ts3.4/commands/StartImportCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/StartMigrationCommand.d.ts +0 -38
- package/dist/types/ts3.4/commands/TagResourceCommand.d.ts +0 -36
- package/dist/types/ts3.4/commands/UntagResourceCommand.d.ts +0 -35
- package/dist/types/ts3.4/models/models_0.d.ts +0 -4362
- package/endpoints.ts +0 -72
- package/jest.config.js +0 -4
- package/models/models_0.ts +0 -5241
- package/pagination/GetBotAliasesPaginator.ts +0 -58
- package/pagination/GetBotChannelAssociationsPaginator.ts +0 -58
- package/pagination/GetBotVersionsPaginator.ts +0 -58
- package/pagination/GetBotsPaginator.ts +0 -54
- package/pagination/GetBuiltinIntentsPaginator.ts +0 -58
- package/pagination/GetBuiltinSlotTypesPaginator.ts +0 -58
- package/pagination/GetIntentVersionsPaginator.ts +0 -58
- package/pagination/GetIntentsPaginator.ts +0 -54
- package/pagination/GetMigrationsPaginator.ts +0 -58
- package/pagination/GetSlotTypeVersionsPaginator.ts +0 -58
- package/pagination/GetSlotTypesPaginator.ts +0 -58
- package/pagination/Interfaces.ts +0 -7
- package/protocols/Aws_restJson1.ts +0 -7154
- package/runtimeConfig.browser.ts +0 -40
- package/runtimeConfig.native.ts +0 -16
- package/runtimeConfig.shared.ts +0 -16
- package/runtimeConfig.ts +0 -45
- package/tsconfig.es.json +0 -10
- package/tsconfig.json +0 -31
- package/tsconfig.types.json +0 -8
|
@@ -1,112 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
LexModelBuildingServiceClientResolvedConfig,
|
|
3
|
-
ServiceInputTypes,
|
|
4
|
-
ServiceOutputTypes,
|
|
5
|
-
} from "../LexModelBuildingServiceClient";
|
|
6
|
-
import { GetIntentsRequest, GetIntentsResponse } from "../models/models_0";
|
|
7
|
-
import {
|
|
8
|
-
deserializeAws_restJson1GetIntentsCommand,
|
|
9
|
-
serializeAws_restJson1GetIntentsCommand,
|
|
10
|
-
} from "../protocols/Aws_restJson1";
|
|
11
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
12
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
13
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
14
|
-
import {
|
|
15
|
-
FinalizeHandlerArguments,
|
|
16
|
-
Handler,
|
|
17
|
-
HandlerExecutionContext,
|
|
18
|
-
MiddlewareStack,
|
|
19
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
20
|
-
MetadataBearer as __MetadataBearer,
|
|
21
|
-
SerdeContext as __SerdeContext,
|
|
22
|
-
} from "@aws-sdk/types";
|
|
23
|
-
|
|
24
|
-
export interface GetIntentsCommandInput extends GetIntentsRequest {}
|
|
25
|
-
export interface GetIntentsCommandOutput extends GetIntentsResponse, __MetadataBearer {}
|
|
26
|
-
|
|
27
|
-
/**
|
|
28
|
-
* <p>Returns intent information as follows: </p>
|
|
29
|
-
* <ul>
|
|
30
|
-
* <li>
|
|
31
|
-
* <p>If you specify the <code>nameContains</code> field, returns the
|
|
32
|
-
* <code>$LATEST</code> version of all intents that contain the
|
|
33
|
-
* specified string.</p>
|
|
34
|
-
* </li>
|
|
35
|
-
* <li>
|
|
36
|
-
* <p> If you don't specify the <code>nameContains</code> field,
|
|
37
|
-
* returns information about the <code>$LATEST</code> version of all
|
|
38
|
-
* intents. </p>
|
|
39
|
-
* </li>
|
|
40
|
-
* </ul>
|
|
41
|
-
* <p> The operation requires permission for the
|
|
42
|
-
* <code>lex:GetIntents</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, GetIntentsCommand } from "@aws-sdk/client-lex-model-building-service"; // ES Modules import
|
|
47
|
-
* // const { LexModelBuildingServiceClient, GetIntentsCommand } = require("@aws-sdk/client-lex-model-building-service"); // CommonJS import
|
|
48
|
-
* const client = new LexModelBuildingServiceClient(config);
|
|
49
|
-
* const command = new GetIntentsCommand(input);
|
|
50
|
-
* const response = await client.send(command);
|
|
51
|
-
* ```
|
|
52
|
-
*
|
|
53
|
-
* @see {@link GetIntentsCommandInput} for command's `input` shape.
|
|
54
|
-
* @see {@link GetIntentsCommandOutput} for command's `response` shape.
|
|
55
|
-
* @see {@link LexModelBuildingServiceClientResolvedConfig | config} for command's `input` shape.
|
|
56
|
-
*
|
|
57
|
-
*/
|
|
58
|
-
export class GetIntentsCommand extends $Command<
|
|
59
|
-
GetIntentsCommandInput,
|
|
60
|
-
GetIntentsCommandOutput,
|
|
61
|
-
LexModelBuildingServiceClientResolvedConfig
|
|
62
|
-
> {
|
|
63
|
-
// Start section: command_properties
|
|
64
|
-
// End section: command_properties
|
|
65
|
-
|
|
66
|
-
constructor(readonly input: GetIntentsCommandInput) {
|
|
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<GetIntentsCommandInput, GetIntentsCommandOutput> {
|
|
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 = "GetIntentsCommand";
|
|
87
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
88
|
-
logger,
|
|
89
|
-
clientName,
|
|
90
|
-
commandName,
|
|
91
|
-
inputFilterSensitiveLog: GetIntentsRequest.filterSensitiveLog,
|
|
92
|
-
outputFilterSensitiveLog: GetIntentsResponse.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: GetIntentsCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
103
|
-
return serializeAws_restJson1GetIntentsCommand(input, context);
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<GetIntentsCommandOutput> {
|
|
107
|
-
return deserializeAws_restJson1GetIntentsCommand(output, context);
|
|
108
|
-
}
|
|
109
|
-
|
|
110
|
-
// Start section: command_body_extra
|
|
111
|
-
// End section: command_body_extra
|
|
112
|
-
}
|
|
@@ -1,100 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
LexModelBuildingServiceClientResolvedConfig,
|
|
3
|
-
ServiceInputTypes,
|
|
4
|
-
ServiceOutputTypes,
|
|
5
|
-
} from "../LexModelBuildingServiceClient";
|
|
6
|
-
import { GetMigrationRequest, GetMigrationResponse } from "../models/models_0";
|
|
7
|
-
import {
|
|
8
|
-
deserializeAws_restJson1GetMigrationCommand,
|
|
9
|
-
serializeAws_restJson1GetMigrationCommand,
|
|
10
|
-
} from "../protocols/Aws_restJson1";
|
|
11
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
12
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
13
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
14
|
-
import {
|
|
15
|
-
FinalizeHandlerArguments,
|
|
16
|
-
Handler,
|
|
17
|
-
HandlerExecutionContext,
|
|
18
|
-
MiddlewareStack,
|
|
19
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
20
|
-
MetadataBearer as __MetadataBearer,
|
|
21
|
-
SerdeContext as __SerdeContext,
|
|
22
|
-
} from "@aws-sdk/types";
|
|
23
|
-
|
|
24
|
-
export interface GetMigrationCommandInput extends GetMigrationRequest {}
|
|
25
|
-
export interface GetMigrationCommandOutput extends GetMigrationResponse, __MetadataBearer {}
|
|
26
|
-
|
|
27
|
-
/**
|
|
28
|
-
* <p>Provides details about an ongoing or complete migration from an
|
|
29
|
-
* Amazon Lex V1 bot to an Amazon Lex V2 bot. Use this operation to view the migration
|
|
30
|
-
* alerts and warnings related to the migration.</p>
|
|
31
|
-
* @example
|
|
32
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
-
* ```javascript
|
|
34
|
-
* import { LexModelBuildingServiceClient, GetMigrationCommand } from "@aws-sdk/client-lex-model-building-service"; // ES Modules import
|
|
35
|
-
* // const { LexModelBuildingServiceClient, GetMigrationCommand } = require("@aws-sdk/client-lex-model-building-service"); // CommonJS import
|
|
36
|
-
* const client = new LexModelBuildingServiceClient(config);
|
|
37
|
-
* const command = new GetMigrationCommand(input);
|
|
38
|
-
* const response = await client.send(command);
|
|
39
|
-
* ```
|
|
40
|
-
*
|
|
41
|
-
* @see {@link GetMigrationCommandInput} for command's `input` shape.
|
|
42
|
-
* @see {@link GetMigrationCommandOutput} for command's `response` shape.
|
|
43
|
-
* @see {@link LexModelBuildingServiceClientResolvedConfig | config} for command's `input` shape.
|
|
44
|
-
*
|
|
45
|
-
*/
|
|
46
|
-
export class GetMigrationCommand extends $Command<
|
|
47
|
-
GetMigrationCommandInput,
|
|
48
|
-
GetMigrationCommandOutput,
|
|
49
|
-
LexModelBuildingServiceClientResolvedConfig
|
|
50
|
-
> {
|
|
51
|
-
// Start section: command_properties
|
|
52
|
-
// End section: command_properties
|
|
53
|
-
|
|
54
|
-
constructor(readonly input: GetMigrationCommandInput) {
|
|
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<GetMigrationCommandInput, GetMigrationCommandOutput> {
|
|
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 = "GetMigrationCommand";
|
|
75
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
76
|
-
logger,
|
|
77
|
-
clientName,
|
|
78
|
-
commandName,
|
|
79
|
-
inputFilterSensitiveLog: GetMigrationRequest.filterSensitiveLog,
|
|
80
|
-
outputFilterSensitiveLog: GetMigrationResponse.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: GetMigrationCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
91
|
-
return serializeAws_restJson1GetMigrationCommand(input, context);
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<GetMigrationCommandOutput> {
|
|
95
|
-
return deserializeAws_restJson1GetMigrationCommand(output, context);
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
// Start section: command_body_extra
|
|
99
|
-
// End section: command_body_extra
|
|
100
|
-
}
|
|
@@ -1,98 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
LexModelBuildingServiceClientResolvedConfig,
|
|
3
|
-
ServiceInputTypes,
|
|
4
|
-
ServiceOutputTypes,
|
|
5
|
-
} from "../LexModelBuildingServiceClient";
|
|
6
|
-
import { GetMigrationsRequest, GetMigrationsResponse } from "../models/models_0";
|
|
7
|
-
import {
|
|
8
|
-
deserializeAws_restJson1GetMigrationsCommand,
|
|
9
|
-
serializeAws_restJson1GetMigrationsCommand,
|
|
10
|
-
} from "../protocols/Aws_restJson1";
|
|
11
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
12
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
13
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
14
|
-
import {
|
|
15
|
-
FinalizeHandlerArguments,
|
|
16
|
-
Handler,
|
|
17
|
-
HandlerExecutionContext,
|
|
18
|
-
MiddlewareStack,
|
|
19
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
20
|
-
MetadataBearer as __MetadataBearer,
|
|
21
|
-
SerdeContext as __SerdeContext,
|
|
22
|
-
} from "@aws-sdk/types";
|
|
23
|
-
|
|
24
|
-
export interface GetMigrationsCommandInput extends GetMigrationsRequest {}
|
|
25
|
-
export interface GetMigrationsCommandOutput extends GetMigrationsResponse, __MetadataBearer {}
|
|
26
|
-
|
|
27
|
-
/**
|
|
28
|
-
* <p>Gets a list of migrations between Amazon Lex V1 and Amazon Lex V2.</p>
|
|
29
|
-
* @example
|
|
30
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
31
|
-
* ```javascript
|
|
32
|
-
* import { LexModelBuildingServiceClient, GetMigrationsCommand } from "@aws-sdk/client-lex-model-building-service"; // ES Modules import
|
|
33
|
-
* // const { LexModelBuildingServiceClient, GetMigrationsCommand } = require("@aws-sdk/client-lex-model-building-service"); // CommonJS import
|
|
34
|
-
* const client = new LexModelBuildingServiceClient(config);
|
|
35
|
-
* const command = new GetMigrationsCommand(input);
|
|
36
|
-
* const response = await client.send(command);
|
|
37
|
-
* ```
|
|
38
|
-
*
|
|
39
|
-
* @see {@link GetMigrationsCommandInput} for command's `input` shape.
|
|
40
|
-
* @see {@link GetMigrationsCommandOutput} for command's `response` shape.
|
|
41
|
-
* @see {@link LexModelBuildingServiceClientResolvedConfig | config} for command's `input` shape.
|
|
42
|
-
*
|
|
43
|
-
*/
|
|
44
|
-
export class GetMigrationsCommand extends $Command<
|
|
45
|
-
GetMigrationsCommandInput,
|
|
46
|
-
GetMigrationsCommandOutput,
|
|
47
|
-
LexModelBuildingServiceClientResolvedConfig
|
|
48
|
-
> {
|
|
49
|
-
// Start section: command_properties
|
|
50
|
-
// End section: command_properties
|
|
51
|
-
|
|
52
|
-
constructor(readonly input: GetMigrationsCommandInput) {
|
|
53
|
-
// Start section: command_constructor
|
|
54
|
-
super();
|
|
55
|
-
// End section: command_constructor
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
/**
|
|
59
|
-
* @internal
|
|
60
|
-
*/
|
|
61
|
-
resolveMiddleware(
|
|
62
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
63
|
-
configuration: LexModelBuildingServiceClientResolvedConfig,
|
|
64
|
-
options?: __HttpHandlerOptions
|
|
65
|
-
): Handler<GetMigrationsCommandInput, GetMigrationsCommandOutput> {
|
|
66
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
67
|
-
|
|
68
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
69
|
-
|
|
70
|
-
const { logger } = configuration;
|
|
71
|
-
const clientName = "LexModelBuildingServiceClient";
|
|
72
|
-
const commandName = "GetMigrationsCommand";
|
|
73
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
74
|
-
logger,
|
|
75
|
-
clientName,
|
|
76
|
-
commandName,
|
|
77
|
-
inputFilterSensitiveLog: GetMigrationsRequest.filterSensitiveLog,
|
|
78
|
-
outputFilterSensitiveLog: GetMigrationsResponse.filterSensitiveLog,
|
|
79
|
-
};
|
|
80
|
-
const { requestHandler } = configuration;
|
|
81
|
-
return stack.resolve(
|
|
82
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
83
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
84
|
-
handlerExecutionContext
|
|
85
|
-
);
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
private serialize(input: GetMigrationsCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
89
|
-
return serializeAws_restJson1GetMigrationsCommand(input, context);
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<GetMigrationsCommandOutput> {
|
|
93
|
-
return deserializeAws_restJson1GetMigrationsCommand(output, context);
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
// Start section: command_body_extra
|
|
97
|
-
// End section: command_body_extra
|
|
98
|
-
}
|
|
@@ -1,102 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
LexModelBuildingServiceClientResolvedConfig,
|
|
3
|
-
ServiceInputTypes,
|
|
4
|
-
ServiceOutputTypes,
|
|
5
|
-
} from "../LexModelBuildingServiceClient";
|
|
6
|
-
import { GetSlotTypeRequest, GetSlotTypeResponse } from "../models/models_0";
|
|
7
|
-
import {
|
|
8
|
-
deserializeAws_restJson1GetSlotTypeCommand,
|
|
9
|
-
serializeAws_restJson1GetSlotTypeCommand,
|
|
10
|
-
} from "../protocols/Aws_restJson1";
|
|
11
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
12
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
13
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
14
|
-
import {
|
|
15
|
-
FinalizeHandlerArguments,
|
|
16
|
-
Handler,
|
|
17
|
-
HandlerExecutionContext,
|
|
18
|
-
MiddlewareStack,
|
|
19
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
20
|
-
MetadataBearer as __MetadataBearer,
|
|
21
|
-
SerdeContext as __SerdeContext,
|
|
22
|
-
} from "@aws-sdk/types";
|
|
23
|
-
|
|
24
|
-
export interface GetSlotTypeCommandInput extends GetSlotTypeRequest {}
|
|
25
|
-
export interface GetSlotTypeCommandOutput extends GetSlotTypeResponse, __MetadataBearer {}
|
|
26
|
-
|
|
27
|
-
/**
|
|
28
|
-
* <p>Returns information about a specific version of a slot type. In
|
|
29
|
-
* addition to specifying the slot type name, you must specify the slot type
|
|
30
|
-
* version.</p>
|
|
31
|
-
* <p>This operation requires permissions for the
|
|
32
|
-
* <code>lex:GetSlotType</code> action.</p>
|
|
33
|
-
* @example
|
|
34
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
35
|
-
* ```javascript
|
|
36
|
-
* import { LexModelBuildingServiceClient, GetSlotTypeCommand } from "@aws-sdk/client-lex-model-building-service"; // ES Modules import
|
|
37
|
-
* // const { LexModelBuildingServiceClient, GetSlotTypeCommand } = require("@aws-sdk/client-lex-model-building-service"); // CommonJS import
|
|
38
|
-
* const client = new LexModelBuildingServiceClient(config);
|
|
39
|
-
* const command = new GetSlotTypeCommand(input);
|
|
40
|
-
* const response = await client.send(command);
|
|
41
|
-
* ```
|
|
42
|
-
*
|
|
43
|
-
* @see {@link GetSlotTypeCommandInput} for command's `input` shape.
|
|
44
|
-
* @see {@link GetSlotTypeCommandOutput} for command's `response` shape.
|
|
45
|
-
* @see {@link LexModelBuildingServiceClientResolvedConfig | config} for command's `input` shape.
|
|
46
|
-
*
|
|
47
|
-
*/
|
|
48
|
-
export class GetSlotTypeCommand extends $Command<
|
|
49
|
-
GetSlotTypeCommandInput,
|
|
50
|
-
GetSlotTypeCommandOutput,
|
|
51
|
-
LexModelBuildingServiceClientResolvedConfig
|
|
52
|
-
> {
|
|
53
|
-
// Start section: command_properties
|
|
54
|
-
// End section: command_properties
|
|
55
|
-
|
|
56
|
-
constructor(readonly input: GetSlotTypeCommandInput) {
|
|
57
|
-
// Start section: command_constructor
|
|
58
|
-
super();
|
|
59
|
-
// End section: command_constructor
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
/**
|
|
63
|
-
* @internal
|
|
64
|
-
*/
|
|
65
|
-
resolveMiddleware(
|
|
66
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
67
|
-
configuration: LexModelBuildingServiceClientResolvedConfig,
|
|
68
|
-
options?: __HttpHandlerOptions
|
|
69
|
-
): Handler<GetSlotTypeCommandInput, GetSlotTypeCommandOutput> {
|
|
70
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
71
|
-
|
|
72
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
73
|
-
|
|
74
|
-
const { logger } = configuration;
|
|
75
|
-
const clientName = "LexModelBuildingServiceClient";
|
|
76
|
-
const commandName = "GetSlotTypeCommand";
|
|
77
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
78
|
-
logger,
|
|
79
|
-
clientName,
|
|
80
|
-
commandName,
|
|
81
|
-
inputFilterSensitiveLog: GetSlotTypeRequest.filterSensitiveLog,
|
|
82
|
-
outputFilterSensitiveLog: GetSlotTypeResponse.filterSensitiveLog,
|
|
83
|
-
};
|
|
84
|
-
const { requestHandler } = configuration;
|
|
85
|
-
return stack.resolve(
|
|
86
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
87
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
88
|
-
handlerExecutionContext
|
|
89
|
-
);
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
private serialize(input: GetSlotTypeCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
93
|
-
return serializeAws_restJson1GetSlotTypeCommand(input, context);
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<GetSlotTypeCommandOutput> {
|
|
97
|
-
return deserializeAws_restJson1GetSlotTypeCommand(output, context);
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
// Start section: command_body_extra
|
|
101
|
-
// End section: command_body_extra
|
|
102
|
-
}
|
|
@@ -1,108 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
LexModelBuildingServiceClientResolvedConfig,
|
|
3
|
-
ServiceInputTypes,
|
|
4
|
-
ServiceOutputTypes,
|
|
5
|
-
} from "../LexModelBuildingServiceClient";
|
|
6
|
-
import { GetSlotTypeVersionsRequest, GetSlotTypeVersionsResponse } from "../models/models_0";
|
|
7
|
-
import {
|
|
8
|
-
deserializeAws_restJson1GetSlotTypeVersionsCommand,
|
|
9
|
-
serializeAws_restJson1GetSlotTypeVersionsCommand,
|
|
10
|
-
} from "../protocols/Aws_restJson1";
|
|
11
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
12
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
13
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
14
|
-
import {
|
|
15
|
-
FinalizeHandlerArguments,
|
|
16
|
-
Handler,
|
|
17
|
-
HandlerExecutionContext,
|
|
18
|
-
MiddlewareStack,
|
|
19
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
20
|
-
MetadataBearer as __MetadataBearer,
|
|
21
|
-
SerdeContext as __SerdeContext,
|
|
22
|
-
} from "@aws-sdk/types";
|
|
23
|
-
|
|
24
|
-
export interface GetSlotTypeVersionsCommandInput extends GetSlotTypeVersionsRequest {}
|
|
25
|
-
export interface GetSlotTypeVersionsCommandOutput extends GetSlotTypeVersionsResponse, __MetadataBearer {}
|
|
26
|
-
|
|
27
|
-
/**
|
|
28
|
-
* <p>Gets information about all versions of a slot type.</p>
|
|
29
|
-
* <p>The <code>GetSlotTypeVersions</code> operation returns a
|
|
30
|
-
* <code>SlotTypeMetadata</code> object for each version of a slot type.
|
|
31
|
-
* For example, if a slot type has three numbered versions, the
|
|
32
|
-
* <code>GetSlotTypeVersions</code> operation returns four
|
|
33
|
-
* <code>SlotTypeMetadata</code> objects in the response, one for each
|
|
34
|
-
* numbered version and one for the <code>$LATEST</code> version. </p>
|
|
35
|
-
* <p>The <code>GetSlotTypeVersions</code> operation always returns at
|
|
36
|
-
* least one version, the <code>$LATEST</code> version.</p>
|
|
37
|
-
* <p>This operation requires permissions for the
|
|
38
|
-
* <code>lex:GetSlotTypeVersions</code> action.</p>
|
|
39
|
-
* @example
|
|
40
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
41
|
-
* ```javascript
|
|
42
|
-
* import { LexModelBuildingServiceClient, GetSlotTypeVersionsCommand } from "@aws-sdk/client-lex-model-building-service"; // ES Modules import
|
|
43
|
-
* // const { LexModelBuildingServiceClient, GetSlotTypeVersionsCommand } = require("@aws-sdk/client-lex-model-building-service"); // CommonJS import
|
|
44
|
-
* const client = new LexModelBuildingServiceClient(config);
|
|
45
|
-
* const command = new GetSlotTypeVersionsCommand(input);
|
|
46
|
-
* const response = await client.send(command);
|
|
47
|
-
* ```
|
|
48
|
-
*
|
|
49
|
-
* @see {@link GetSlotTypeVersionsCommandInput} for command's `input` shape.
|
|
50
|
-
* @see {@link GetSlotTypeVersionsCommandOutput} for command's `response` shape.
|
|
51
|
-
* @see {@link LexModelBuildingServiceClientResolvedConfig | config} for command's `input` shape.
|
|
52
|
-
*
|
|
53
|
-
*/
|
|
54
|
-
export class GetSlotTypeVersionsCommand extends $Command<
|
|
55
|
-
GetSlotTypeVersionsCommandInput,
|
|
56
|
-
GetSlotTypeVersionsCommandOutput,
|
|
57
|
-
LexModelBuildingServiceClientResolvedConfig
|
|
58
|
-
> {
|
|
59
|
-
// Start section: command_properties
|
|
60
|
-
// End section: command_properties
|
|
61
|
-
|
|
62
|
-
constructor(readonly input: GetSlotTypeVersionsCommandInput) {
|
|
63
|
-
// Start section: command_constructor
|
|
64
|
-
super();
|
|
65
|
-
// End section: command_constructor
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
/**
|
|
69
|
-
* @internal
|
|
70
|
-
*/
|
|
71
|
-
resolveMiddleware(
|
|
72
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
73
|
-
configuration: LexModelBuildingServiceClientResolvedConfig,
|
|
74
|
-
options?: __HttpHandlerOptions
|
|
75
|
-
): Handler<GetSlotTypeVersionsCommandInput, GetSlotTypeVersionsCommandOutput> {
|
|
76
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
77
|
-
|
|
78
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
79
|
-
|
|
80
|
-
const { logger } = configuration;
|
|
81
|
-
const clientName = "LexModelBuildingServiceClient";
|
|
82
|
-
const commandName = "GetSlotTypeVersionsCommand";
|
|
83
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
84
|
-
logger,
|
|
85
|
-
clientName,
|
|
86
|
-
commandName,
|
|
87
|
-
inputFilterSensitiveLog: GetSlotTypeVersionsRequest.filterSensitiveLog,
|
|
88
|
-
outputFilterSensitiveLog: GetSlotTypeVersionsResponse.filterSensitiveLog,
|
|
89
|
-
};
|
|
90
|
-
const { requestHandler } = configuration;
|
|
91
|
-
return stack.resolve(
|
|
92
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
93
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
94
|
-
handlerExecutionContext
|
|
95
|
-
);
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
private serialize(input: GetSlotTypeVersionsCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
99
|
-
return serializeAws_restJson1GetSlotTypeVersionsCommand(input, context);
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<GetSlotTypeVersionsCommandOutput> {
|
|
103
|
-
return deserializeAws_restJson1GetSlotTypeVersionsCommand(output, context);
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
// Start section: command_body_extra
|
|
107
|
-
// End section: command_body_extra
|
|
108
|
-
}
|
|
@@ -1,112 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
LexModelBuildingServiceClientResolvedConfig,
|
|
3
|
-
ServiceInputTypes,
|
|
4
|
-
ServiceOutputTypes,
|
|
5
|
-
} from "../LexModelBuildingServiceClient";
|
|
6
|
-
import { GetSlotTypesRequest, GetSlotTypesResponse } from "../models/models_0";
|
|
7
|
-
import {
|
|
8
|
-
deserializeAws_restJson1GetSlotTypesCommand,
|
|
9
|
-
serializeAws_restJson1GetSlotTypesCommand,
|
|
10
|
-
} from "../protocols/Aws_restJson1";
|
|
11
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
12
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
13
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
14
|
-
import {
|
|
15
|
-
FinalizeHandlerArguments,
|
|
16
|
-
Handler,
|
|
17
|
-
HandlerExecutionContext,
|
|
18
|
-
MiddlewareStack,
|
|
19
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
20
|
-
MetadataBearer as __MetadataBearer,
|
|
21
|
-
SerdeContext as __SerdeContext,
|
|
22
|
-
} from "@aws-sdk/types";
|
|
23
|
-
|
|
24
|
-
export interface GetSlotTypesCommandInput extends GetSlotTypesRequest {}
|
|
25
|
-
export interface GetSlotTypesCommandOutput extends GetSlotTypesResponse, __MetadataBearer {}
|
|
26
|
-
|
|
27
|
-
/**
|
|
28
|
-
* <p>Returns slot type information as follows: </p>
|
|
29
|
-
* <ul>
|
|
30
|
-
* <li>
|
|
31
|
-
* <p>If you specify the <code>nameContains</code> field, returns the
|
|
32
|
-
* <code>$LATEST</code> version of all slot types that contain the
|
|
33
|
-
* specified string.</p>
|
|
34
|
-
* </li>
|
|
35
|
-
* <li>
|
|
36
|
-
* <p> If you don't specify the <code>nameContains</code> field,
|
|
37
|
-
* returns information about the <code>$LATEST</code> version of all slot
|
|
38
|
-
* types. </p>
|
|
39
|
-
* </li>
|
|
40
|
-
* </ul>
|
|
41
|
-
* <p> The operation requires permission for the
|
|
42
|
-
* <code>lex:GetSlotTypes</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, GetSlotTypesCommand } from "@aws-sdk/client-lex-model-building-service"; // ES Modules import
|
|
47
|
-
* // const { LexModelBuildingServiceClient, GetSlotTypesCommand } = require("@aws-sdk/client-lex-model-building-service"); // CommonJS import
|
|
48
|
-
* const client = new LexModelBuildingServiceClient(config);
|
|
49
|
-
* const command = new GetSlotTypesCommand(input);
|
|
50
|
-
* const response = await client.send(command);
|
|
51
|
-
* ```
|
|
52
|
-
*
|
|
53
|
-
* @see {@link GetSlotTypesCommandInput} for command's `input` shape.
|
|
54
|
-
* @see {@link GetSlotTypesCommandOutput} for command's `response` shape.
|
|
55
|
-
* @see {@link LexModelBuildingServiceClientResolvedConfig | config} for command's `input` shape.
|
|
56
|
-
*
|
|
57
|
-
*/
|
|
58
|
-
export class GetSlotTypesCommand extends $Command<
|
|
59
|
-
GetSlotTypesCommandInput,
|
|
60
|
-
GetSlotTypesCommandOutput,
|
|
61
|
-
LexModelBuildingServiceClientResolvedConfig
|
|
62
|
-
> {
|
|
63
|
-
// Start section: command_properties
|
|
64
|
-
// End section: command_properties
|
|
65
|
-
|
|
66
|
-
constructor(readonly input: GetSlotTypesCommandInput) {
|
|
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<GetSlotTypesCommandInput, GetSlotTypesCommandOutput> {
|
|
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 = "GetSlotTypesCommand";
|
|
87
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
88
|
-
logger,
|
|
89
|
-
clientName,
|
|
90
|
-
commandName,
|
|
91
|
-
inputFilterSensitiveLog: GetSlotTypesRequest.filterSensitiveLog,
|
|
92
|
-
outputFilterSensitiveLog: GetSlotTypesResponse.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: GetSlotTypesCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
103
|
-
return serializeAws_restJson1GetSlotTypesCommand(input, context);
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<GetSlotTypesCommandOutput> {
|
|
107
|
-
return deserializeAws_restJson1GetSlotTypesCommand(output, context);
|
|
108
|
-
}
|
|
109
|
-
|
|
110
|
-
// Start section: command_body_extra
|
|
111
|
-
// End section: command_body_extra
|
|
112
|
-
}
|