@aws-sdk/client-lex-models-v2 3.477.0 → 3.481.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/dist-cjs/commands/BatchCreateCustomVocabularyItemCommand.js +18 -41
- package/dist-cjs/commands/BatchDeleteCustomVocabularyItemCommand.js +18 -41
- package/dist-cjs/commands/BatchUpdateCustomVocabularyItemCommand.js +18 -41
- package/dist-cjs/commands/BuildBotLocaleCommand.js +18 -41
- package/dist-cjs/commands/CreateBotAliasCommand.js +18 -41
- package/dist-cjs/commands/CreateBotCommand.js +18 -41
- package/dist-cjs/commands/CreateBotLocaleCommand.js +18 -41
- package/dist-cjs/commands/CreateBotVersionCommand.js +18 -41
- package/dist-cjs/commands/CreateExportCommand.js +18 -41
- package/dist-cjs/commands/CreateIntentCommand.js +18 -41
- package/dist-cjs/commands/CreateResourcePolicyCommand.js +18 -41
- package/dist-cjs/commands/CreateResourcePolicyStatementCommand.js +18 -41
- package/dist-cjs/commands/CreateSlotCommand.js +18 -41
- package/dist-cjs/commands/CreateSlotTypeCommand.js +18 -41
- package/dist-cjs/commands/CreateTestSetDiscrepancyReportCommand.js +18 -41
- package/dist-cjs/commands/CreateUploadUrlCommand.js +18 -41
- package/dist-cjs/commands/DeleteBotAliasCommand.js +18 -41
- package/dist-cjs/commands/DeleteBotCommand.js +18 -41
- package/dist-cjs/commands/DeleteBotLocaleCommand.js +18 -41
- package/dist-cjs/commands/DeleteBotVersionCommand.js +18 -41
- package/dist-cjs/commands/DeleteCustomVocabularyCommand.js +18 -41
- package/dist-cjs/commands/DeleteExportCommand.js +18 -41
- package/dist-cjs/commands/DeleteImportCommand.js +18 -41
- package/dist-cjs/commands/DeleteIntentCommand.js +18 -41
- package/dist-cjs/commands/DeleteResourcePolicyCommand.js +18 -41
- package/dist-cjs/commands/DeleteResourcePolicyStatementCommand.js +18 -41
- package/dist-cjs/commands/DeleteSlotCommand.js +18 -41
- package/dist-cjs/commands/DeleteSlotTypeCommand.js +18 -41
- package/dist-cjs/commands/DeleteTestSetCommand.js +18 -41
- package/dist-cjs/commands/DeleteUtterancesCommand.js +18 -41
- package/dist-cjs/commands/DescribeBotAliasCommand.js +18 -41
- package/dist-cjs/commands/DescribeBotCommand.js +18 -41
- package/dist-cjs/commands/DescribeBotLocaleCommand.js +18 -41
- package/dist-cjs/commands/DescribeBotRecommendationCommand.js +18 -41
- package/dist-cjs/commands/DescribeBotResourceGenerationCommand.js +18 -41
- package/dist-cjs/commands/DescribeBotVersionCommand.js +18 -41
- package/dist-cjs/commands/DescribeCustomVocabularyMetadataCommand.js +18 -41
- package/dist-cjs/commands/DescribeExportCommand.js +18 -41
- package/dist-cjs/commands/DescribeImportCommand.js +18 -41
- package/dist-cjs/commands/DescribeIntentCommand.js +18 -41
- package/dist-cjs/commands/DescribeResourcePolicyCommand.js +18 -41
- package/dist-cjs/commands/DescribeSlotCommand.js +18 -41
- package/dist-cjs/commands/DescribeSlotTypeCommand.js +18 -41
- package/dist-cjs/commands/DescribeTestExecutionCommand.js +18 -41
- package/dist-cjs/commands/DescribeTestSetCommand.js +18 -41
- package/dist-cjs/commands/DescribeTestSetDiscrepancyReportCommand.js +18 -41
- package/dist-cjs/commands/DescribeTestSetGenerationCommand.js +18 -41
- package/dist-cjs/commands/GenerateBotElementCommand.js +18 -41
- package/dist-cjs/commands/GetTestExecutionArtifactsUrlCommand.js +18 -41
- package/dist-cjs/commands/ListAggregatedUtterancesCommand.js +18 -41
- package/dist-cjs/commands/ListBotAliasesCommand.js +18 -41
- package/dist-cjs/commands/ListBotLocalesCommand.js +18 -41
- package/dist-cjs/commands/ListBotRecommendationsCommand.js +18 -41
- package/dist-cjs/commands/ListBotResourceGenerationsCommand.js +18 -41
- package/dist-cjs/commands/ListBotVersionsCommand.js +18 -41
- package/dist-cjs/commands/ListBotsCommand.js +18 -41
- package/dist-cjs/commands/ListBuiltInIntentsCommand.js +18 -41
- package/dist-cjs/commands/ListBuiltInSlotTypesCommand.js +18 -41
- package/dist-cjs/commands/ListCustomVocabularyItemsCommand.js +18 -41
- package/dist-cjs/commands/ListExportsCommand.js +18 -41
- package/dist-cjs/commands/ListImportsCommand.js +18 -41
- package/dist-cjs/commands/ListIntentMetricsCommand.js +18 -41
- package/dist-cjs/commands/ListIntentPathsCommand.js +18 -41
- package/dist-cjs/commands/ListIntentStageMetricsCommand.js +18 -41
- package/dist-cjs/commands/ListIntentsCommand.js +18 -41
- package/dist-cjs/commands/ListRecommendedIntentsCommand.js +18 -41
- package/dist-cjs/commands/ListSessionAnalyticsDataCommand.js +18 -41
- package/dist-cjs/commands/ListSessionMetricsCommand.js +18 -41
- package/dist-cjs/commands/ListSlotTypesCommand.js +18 -41
- package/dist-cjs/commands/ListSlotsCommand.js +18 -41
- package/dist-cjs/commands/ListTagsForResourceCommand.js +18 -41
- package/dist-cjs/commands/ListTestExecutionResultItemsCommand.js +18 -41
- package/dist-cjs/commands/ListTestExecutionsCommand.js +18 -41
- package/dist-cjs/commands/ListTestSetRecordsCommand.js +18 -41
- package/dist-cjs/commands/ListTestSetsCommand.js +18 -41
- package/dist-cjs/commands/ListUtteranceAnalyticsDataCommand.js +18 -41
- package/dist-cjs/commands/ListUtteranceMetricsCommand.js +18 -41
- package/dist-cjs/commands/SearchAssociatedTranscriptsCommand.js +18 -41
- package/dist-cjs/commands/StartBotRecommendationCommand.js +18 -41
- package/dist-cjs/commands/StartBotResourceGenerationCommand.js +18 -41
- package/dist-cjs/commands/StartImportCommand.js +18 -41
- package/dist-cjs/commands/StartTestExecutionCommand.js +18 -41
- package/dist-cjs/commands/StartTestSetGenerationCommand.js +18 -41
- package/dist-cjs/commands/StopBotRecommendationCommand.js +18 -41
- package/dist-cjs/commands/TagResourceCommand.js +18 -41
- package/dist-cjs/commands/UntagResourceCommand.js +18 -41
- package/dist-cjs/commands/UpdateBotAliasCommand.js +18 -41
- package/dist-cjs/commands/UpdateBotCommand.js +18 -41
- package/dist-cjs/commands/UpdateBotLocaleCommand.js +18 -41
- package/dist-cjs/commands/UpdateBotRecommendationCommand.js +18 -41
- package/dist-cjs/commands/UpdateExportCommand.js +18 -41
- package/dist-cjs/commands/UpdateIntentCommand.js +18 -41
- package/dist-cjs/commands/UpdateResourcePolicyCommand.js +18 -41
- package/dist-cjs/commands/UpdateSlotCommand.js +18 -41
- package/dist-cjs/commands/UpdateSlotTypeCommand.js +18 -41
- package/dist-cjs/commands/UpdateTestSetCommand.js +18 -41
- package/dist-cjs/endpoint/EndpointParameters.js +7 -1
- package/dist-cjs/pagination/ListAggregatedUtterancesPaginator.js +2 -24
- package/dist-cjs/pagination/ListBotAliasesPaginator.js +2 -24
- package/dist-cjs/pagination/ListBotLocalesPaginator.js +2 -24
- package/dist-cjs/pagination/ListBotRecommendationsPaginator.js +2 -24
- package/dist-cjs/pagination/ListBotResourceGenerationsPaginator.js +2 -24
- package/dist-cjs/pagination/ListBotVersionsPaginator.js +2 -24
- package/dist-cjs/pagination/ListBotsPaginator.js +2 -24
- package/dist-cjs/pagination/ListBuiltInIntentsPaginator.js +2 -24
- package/dist-cjs/pagination/ListBuiltInSlotTypesPaginator.js +2 -24
- package/dist-cjs/pagination/ListCustomVocabularyItemsPaginator.js +2 -24
- package/dist-cjs/pagination/ListExportsPaginator.js +2 -24
- package/dist-cjs/pagination/ListImportsPaginator.js +2 -24
- package/dist-cjs/pagination/ListIntentMetricsPaginator.js +2 -24
- package/dist-cjs/pagination/ListIntentStageMetricsPaginator.js +2 -24
- package/dist-cjs/pagination/ListIntentsPaginator.js +2 -24
- package/dist-cjs/pagination/ListRecommendedIntentsPaginator.js +2 -24
- package/dist-cjs/pagination/ListSessionAnalyticsDataPaginator.js +2 -24
- package/dist-cjs/pagination/ListSessionMetricsPaginator.js +2 -24
- package/dist-cjs/pagination/ListSlotTypesPaginator.js +2 -24
- package/dist-cjs/pagination/ListSlotsPaginator.js +2 -24
- package/dist-cjs/pagination/ListTestExecutionResultItemsPaginator.js +2 -24
- package/dist-cjs/pagination/ListTestExecutionsPaginator.js +2 -24
- package/dist-cjs/pagination/ListTestSetRecordsPaginator.js +2 -24
- package/dist-cjs/pagination/ListTestSetsPaginator.js +2 -24
- package/dist-cjs/pagination/ListUtteranceAnalyticsDataPaginator.js +2 -24
- package/dist-cjs/pagination/ListUtteranceMetricsPaginator.js +2 -24
- package/dist-es/commands/BatchCreateCustomVocabularyItemCommand.js +18 -41
- package/dist-es/commands/BatchDeleteCustomVocabularyItemCommand.js +18 -41
- package/dist-es/commands/BatchUpdateCustomVocabularyItemCommand.js +18 -41
- package/dist-es/commands/BuildBotLocaleCommand.js +18 -41
- package/dist-es/commands/CreateBotAliasCommand.js +18 -41
- package/dist-es/commands/CreateBotCommand.js +18 -41
- package/dist-es/commands/CreateBotLocaleCommand.js +18 -41
- package/dist-es/commands/CreateBotVersionCommand.js +18 -41
- package/dist-es/commands/CreateExportCommand.js +18 -41
- package/dist-es/commands/CreateIntentCommand.js +18 -41
- package/dist-es/commands/CreateResourcePolicyCommand.js +18 -41
- package/dist-es/commands/CreateResourcePolicyStatementCommand.js +18 -41
- package/dist-es/commands/CreateSlotCommand.js +18 -41
- package/dist-es/commands/CreateSlotTypeCommand.js +18 -41
- package/dist-es/commands/CreateTestSetDiscrepancyReportCommand.js +18 -41
- package/dist-es/commands/CreateUploadUrlCommand.js +18 -41
- package/dist-es/commands/DeleteBotAliasCommand.js +18 -41
- package/dist-es/commands/DeleteBotCommand.js +18 -41
- package/dist-es/commands/DeleteBotLocaleCommand.js +18 -41
- package/dist-es/commands/DeleteBotVersionCommand.js +18 -41
- package/dist-es/commands/DeleteCustomVocabularyCommand.js +18 -41
- package/dist-es/commands/DeleteExportCommand.js +18 -41
- package/dist-es/commands/DeleteImportCommand.js +18 -41
- package/dist-es/commands/DeleteIntentCommand.js +18 -41
- package/dist-es/commands/DeleteResourcePolicyCommand.js +18 -41
- package/dist-es/commands/DeleteResourcePolicyStatementCommand.js +18 -41
- package/dist-es/commands/DeleteSlotCommand.js +18 -41
- package/dist-es/commands/DeleteSlotTypeCommand.js +18 -41
- package/dist-es/commands/DeleteTestSetCommand.js +18 -41
- package/dist-es/commands/DeleteUtterancesCommand.js +18 -41
- package/dist-es/commands/DescribeBotAliasCommand.js +18 -41
- package/dist-es/commands/DescribeBotCommand.js +18 -41
- package/dist-es/commands/DescribeBotLocaleCommand.js +18 -41
- package/dist-es/commands/DescribeBotRecommendationCommand.js +18 -41
- package/dist-es/commands/DescribeBotResourceGenerationCommand.js +18 -41
- package/dist-es/commands/DescribeBotVersionCommand.js +18 -41
- package/dist-es/commands/DescribeCustomVocabularyMetadataCommand.js +18 -41
- package/dist-es/commands/DescribeExportCommand.js +18 -41
- package/dist-es/commands/DescribeImportCommand.js +18 -41
- package/dist-es/commands/DescribeIntentCommand.js +18 -41
- package/dist-es/commands/DescribeResourcePolicyCommand.js +18 -41
- package/dist-es/commands/DescribeSlotCommand.js +18 -41
- package/dist-es/commands/DescribeSlotTypeCommand.js +18 -41
- package/dist-es/commands/DescribeTestExecutionCommand.js +18 -41
- package/dist-es/commands/DescribeTestSetCommand.js +18 -41
- package/dist-es/commands/DescribeTestSetDiscrepancyReportCommand.js +18 -41
- package/dist-es/commands/DescribeTestSetGenerationCommand.js +18 -41
- package/dist-es/commands/GenerateBotElementCommand.js +18 -41
- package/dist-es/commands/GetTestExecutionArtifactsUrlCommand.js +18 -41
- package/dist-es/commands/ListAggregatedUtterancesCommand.js +18 -41
- package/dist-es/commands/ListBotAliasesCommand.js +18 -41
- package/dist-es/commands/ListBotLocalesCommand.js +18 -41
- package/dist-es/commands/ListBotRecommendationsCommand.js +18 -41
- package/dist-es/commands/ListBotResourceGenerationsCommand.js +18 -41
- package/dist-es/commands/ListBotVersionsCommand.js +18 -41
- package/dist-es/commands/ListBotsCommand.js +18 -41
- package/dist-es/commands/ListBuiltInIntentsCommand.js +18 -41
- package/dist-es/commands/ListBuiltInSlotTypesCommand.js +18 -41
- package/dist-es/commands/ListCustomVocabularyItemsCommand.js +18 -41
- package/dist-es/commands/ListExportsCommand.js +18 -41
- package/dist-es/commands/ListImportsCommand.js +18 -41
- package/dist-es/commands/ListIntentMetricsCommand.js +18 -41
- package/dist-es/commands/ListIntentPathsCommand.js +18 -41
- package/dist-es/commands/ListIntentStageMetricsCommand.js +18 -41
- package/dist-es/commands/ListIntentsCommand.js +18 -41
- package/dist-es/commands/ListRecommendedIntentsCommand.js +18 -41
- package/dist-es/commands/ListSessionAnalyticsDataCommand.js +18 -41
- package/dist-es/commands/ListSessionMetricsCommand.js +18 -41
- package/dist-es/commands/ListSlotTypesCommand.js +18 -41
- package/dist-es/commands/ListSlotsCommand.js +18 -41
- package/dist-es/commands/ListTagsForResourceCommand.js +18 -41
- package/dist-es/commands/ListTestExecutionResultItemsCommand.js +18 -41
- package/dist-es/commands/ListTestExecutionsCommand.js +18 -41
- package/dist-es/commands/ListTestSetRecordsCommand.js +18 -41
- package/dist-es/commands/ListTestSetsCommand.js +18 -41
- package/dist-es/commands/ListUtteranceAnalyticsDataCommand.js +18 -41
- package/dist-es/commands/ListUtteranceMetricsCommand.js +18 -41
- package/dist-es/commands/SearchAssociatedTranscriptsCommand.js +18 -41
- package/dist-es/commands/StartBotRecommendationCommand.js +18 -41
- package/dist-es/commands/StartBotResourceGenerationCommand.js +18 -41
- package/dist-es/commands/StartImportCommand.js +18 -41
- package/dist-es/commands/StartTestExecutionCommand.js +18 -41
- package/dist-es/commands/StartTestSetGenerationCommand.js +18 -41
- package/dist-es/commands/StopBotRecommendationCommand.js +18 -41
- package/dist-es/commands/TagResourceCommand.js +18 -41
- package/dist-es/commands/UntagResourceCommand.js +18 -41
- package/dist-es/commands/UpdateBotAliasCommand.js +18 -41
- package/dist-es/commands/UpdateBotCommand.js +18 -41
- package/dist-es/commands/UpdateBotLocaleCommand.js +18 -41
- package/dist-es/commands/UpdateBotRecommendationCommand.js +18 -41
- package/dist-es/commands/UpdateExportCommand.js +18 -41
- package/dist-es/commands/UpdateIntentCommand.js +18 -41
- package/dist-es/commands/UpdateResourcePolicyCommand.js +18 -41
- package/dist-es/commands/UpdateSlotCommand.js +18 -41
- package/dist-es/commands/UpdateSlotTypeCommand.js +18 -41
- package/dist-es/commands/UpdateTestSetCommand.js +18 -41
- package/dist-es/endpoint/EndpointParameters.js +6 -0
- package/dist-es/pagination/ListAggregatedUtterancesPaginator.js +2 -23
- package/dist-es/pagination/ListBotAliasesPaginator.js +2 -23
- package/dist-es/pagination/ListBotLocalesPaginator.js +2 -23
- package/dist-es/pagination/ListBotRecommendationsPaginator.js +2 -23
- package/dist-es/pagination/ListBotResourceGenerationsPaginator.js +2 -23
- package/dist-es/pagination/ListBotVersionsPaginator.js +2 -23
- package/dist-es/pagination/ListBotsPaginator.js +2 -23
- package/dist-es/pagination/ListBuiltInIntentsPaginator.js +2 -23
- package/dist-es/pagination/ListBuiltInSlotTypesPaginator.js +2 -23
- package/dist-es/pagination/ListCustomVocabularyItemsPaginator.js +2 -23
- package/dist-es/pagination/ListExportsPaginator.js +2 -23
- package/dist-es/pagination/ListImportsPaginator.js +2 -23
- package/dist-es/pagination/ListIntentMetricsPaginator.js +2 -23
- package/dist-es/pagination/ListIntentStageMetricsPaginator.js +2 -23
- package/dist-es/pagination/ListIntentsPaginator.js +2 -23
- package/dist-es/pagination/ListRecommendedIntentsPaginator.js +2 -23
- package/dist-es/pagination/ListSessionAnalyticsDataPaginator.js +2 -23
- package/dist-es/pagination/ListSessionMetricsPaginator.js +2 -23
- package/dist-es/pagination/ListSlotTypesPaginator.js +2 -23
- package/dist-es/pagination/ListSlotsPaginator.js +2 -23
- package/dist-es/pagination/ListTestExecutionResultItemsPaginator.js +2 -23
- package/dist-es/pagination/ListTestExecutionsPaginator.js +2 -23
- package/dist-es/pagination/ListTestSetRecordsPaginator.js +2 -23
- package/dist-es/pagination/ListTestSetsPaginator.js +2 -23
- package/dist-es/pagination/ListUtteranceAnalyticsDataPaginator.js +2 -23
- package/dist-es/pagination/ListUtteranceMetricsPaginator.js +2 -23
- package/dist-types/commands/BatchCreateCustomVocabularyItemCommand.d.ts +6 -21
- package/dist-types/commands/BatchDeleteCustomVocabularyItemCommand.d.ts +6 -21
- package/dist-types/commands/BatchUpdateCustomVocabularyItemCommand.d.ts +6 -21
- package/dist-types/commands/BuildBotLocaleCommand.d.ts +6 -21
- package/dist-types/commands/CreateBotAliasCommand.d.ts +6 -21
- package/dist-types/commands/CreateBotCommand.d.ts +6 -21
- package/dist-types/commands/CreateBotLocaleCommand.d.ts +6 -21
- package/dist-types/commands/CreateBotVersionCommand.d.ts +6 -21
- package/dist-types/commands/CreateExportCommand.d.ts +6 -21
- package/dist-types/commands/CreateIntentCommand.d.ts +6 -21
- package/dist-types/commands/CreateResourcePolicyCommand.d.ts +6 -21
- package/dist-types/commands/CreateResourcePolicyStatementCommand.d.ts +6 -21
- package/dist-types/commands/CreateSlotCommand.d.ts +6 -21
- package/dist-types/commands/CreateSlotTypeCommand.d.ts +6 -21
- package/dist-types/commands/CreateTestSetDiscrepancyReportCommand.d.ts +6 -21
- package/dist-types/commands/CreateUploadUrlCommand.d.ts +6 -21
- package/dist-types/commands/DeleteBotAliasCommand.d.ts +6 -21
- package/dist-types/commands/DeleteBotCommand.d.ts +6 -21
- package/dist-types/commands/DeleteBotLocaleCommand.d.ts +6 -21
- package/dist-types/commands/DeleteBotVersionCommand.d.ts +6 -21
- package/dist-types/commands/DeleteCustomVocabularyCommand.d.ts +6 -21
- package/dist-types/commands/DeleteExportCommand.d.ts +6 -21
- package/dist-types/commands/DeleteImportCommand.d.ts +6 -21
- package/dist-types/commands/DeleteIntentCommand.d.ts +6 -21
- package/dist-types/commands/DeleteResourcePolicyCommand.d.ts +6 -21
- package/dist-types/commands/DeleteResourcePolicyStatementCommand.d.ts +6 -21
- package/dist-types/commands/DeleteSlotCommand.d.ts +6 -21
- package/dist-types/commands/DeleteSlotTypeCommand.d.ts +6 -21
- package/dist-types/commands/DeleteTestSetCommand.d.ts +6 -21
- package/dist-types/commands/DeleteUtterancesCommand.d.ts +6 -21
- package/dist-types/commands/DescribeBotAliasCommand.d.ts +6 -21
- package/dist-types/commands/DescribeBotCommand.d.ts +6 -21
- package/dist-types/commands/DescribeBotLocaleCommand.d.ts +6 -21
- package/dist-types/commands/DescribeBotRecommendationCommand.d.ts +6 -21
- package/dist-types/commands/DescribeBotResourceGenerationCommand.d.ts +6 -21
- package/dist-types/commands/DescribeBotVersionCommand.d.ts +6 -21
- package/dist-types/commands/DescribeCustomVocabularyMetadataCommand.d.ts +6 -21
- package/dist-types/commands/DescribeExportCommand.d.ts +6 -21
- package/dist-types/commands/DescribeImportCommand.d.ts +6 -21
- package/dist-types/commands/DescribeIntentCommand.d.ts +6 -21
- package/dist-types/commands/DescribeResourcePolicyCommand.d.ts +6 -21
- package/dist-types/commands/DescribeSlotCommand.d.ts +6 -21
- package/dist-types/commands/DescribeSlotTypeCommand.d.ts +6 -21
- package/dist-types/commands/DescribeTestExecutionCommand.d.ts +6 -21
- package/dist-types/commands/DescribeTestSetCommand.d.ts +6 -21
- package/dist-types/commands/DescribeTestSetDiscrepancyReportCommand.d.ts +6 -21
- package/dist-types/commands/DescribeTestSetGenerationCommand.d.ts +6 -21
- package/dist-types/commands/GenerateBotElementCommand.d.ts +6 -21
- package/dist-types/commands/GetTestExecutionArtifactsUrlCommand.d.ts +6 -21
- package/dist-types/commands/ListAggregatedUtterancesCommand.d.ts +6 -21
- package/dist-types/commands/ListBotAliasesCommand.d.ts +6 -21
- package/dist-types/commands/ListBotLocalesCommand.d.ts +6 -21
- package/dist-types/commands/ListBotRecommendationsCommand.d.ts +6 -21
- package/dist-types/commands/ListBotResourceGenerationsCommand.d.ts +6 -21
- package/dist-types/commands/ListBotVersionsCommand.d.ts +6 -21
- package/dist-types/commands/ListBotsCommand.d.ts +6 -21
- package/dist-types/commands/ListBuiltInIntentsCommand.d.ts +6 -21
- package/dist-types/commands/ListBuiltInSlotTypesCommand.d.ts +6 -21
- package/dist-types/commands/ListCustomVocabularyItemsCommand.d.ts +6 -21
- package/dist-types/commands/ListExportsCommand.d.ts +6 -21
- package/dist-types/commands/ListImportsCommand.d.ts +6 -21
- package/dist-types/commands/ListIntentMetricsCommand.d.ts +6 -21
- package/dist-types/commands/ListIntentPathsCommand.d.ts +6 -21
- package/dist-types/commands/ListIntentStageMetricsCommand.d.ts +6 -21
- package/dist-types/commands/ListIntentsCommand.d.ts +6 -21
- package/dist-types/commands/ListRecommendedIntentsCommand.d.ts +6 -21
- package/dist-types/commands/ListSessionAnalyticsDataCommand.d.ts +6 -21
- package/dist-types/commands/ListSessionMetricsCommand.d.ts +6 -21
- package/dist-types/commands/ListSlotTypesCommand.d.ts +6 -21
- package/dist-types/commands/ListSlotsCommand.d.ts +6 -21
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +6 -21
- package/dist-types/commands/ListTestExecutionResultItemsCommand.d.ts +6 -21
- package/dist-types/commands/ListTestExecutionsCommand.d.ts +6 -21
- package/dist-types/commands/ListTestSetRecordsCommand.d.ts +6 -21
- package/dist-types/commands/ListTestSetsCommand.d.ts +6 -21
- package/dist-types/commands/ListUtteranceAnalyticsDataCommand.d.ts +6 -21
- package/dist-types/commands/ListUtteranceMetricsCommand.d.ts +6 -21
- package/dist-types/commands/SearchAssociatedTranscriptsCommand.d.ts +6 -21
- package/dist-types/commands/StartBotRecommendationCommand.d.ts +6 -21
- package/dist-types/commands/StartBotResourceGenerationCommand.d.ts +6 -21
- package/dist-types/commands/StartImportCommand.d.ts +6 -21
- package/dist-types/commands/StartTestExecutionCommand.d.ts +6 -21
- package/dist-types/commands/StartTestSetGenerationCommand.d.ts +6 -21
- package/dist-types/commands/StopBotRecommendationCommand.d.ts +6 -21
- package/dist-types/commands/TagResourceCommand.d.ts +6 -21
- package/dist-types/commands/UntagResourceCommand.d.ts +6 -21
- package/dist-types/commands/UpdateBotAliasCommand.d.ts +6 -21
- package/dist-types/commands/UpdateBotCommand.d.ts +6 -21
- package/dist-types/commands/UpdateBotLocaleCommand.d.ts +6 -21
- package/dist-types/commands/UpdateBotRecommendationCommand.d.ts +6 -21
- package/dist-types/commands/UpdateExportCommand.d.ts +6 -21
- package/dist-types/commands/UpdateIntentCommand.d.ts +6 -21
- package/dist-types/commands/UpdateResourcePolicyCommand.d.ts +6 -21
- package/dist-types/commands/UpdateSlotCommand.d.ts +6 -21
- package/dist-types/commands/UpdateSlotTypeCommand.d.ts +6 -21
- package/dist-types/commands/UpdateTestSetCommand.d.ts +6 -21
- package/dist-types/endpoint/EndpointParameters.d.ts +18 -0
- package/dist-types/pagination/ListAggregatedUtterancesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListBotAliasesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListBotLocalesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListBotRecommendationsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListBotResourceGenerationsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListBotVersionsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListBotsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListBuiltInIntentsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListBuiltInSlotTypesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListCustomVocabularyItemsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListExportsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListImportsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListIntentMetricsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListIntentStageMetricsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListIntentsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListRecommendedIntentsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListSessionAnalyticsDataPaginator.d.ts +1 -1
- package/dist-types/pagination/ListSessionMetricsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListSlotTypesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListSlotsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListTestExecutionResultItemsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListTestExecutionsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListTestSetRecordsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListTestSetsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListUtteranceAnalyticsDataPaginator.d.ts +1 -1
- package/dist-types/pagination/ListUtteranceMetricsPaginator.d.ts +1 -1
- package/dist-types/ts3.4/commands/BatchCreateCustomVocabularyItemCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/BatchDeleteCustomVocabularyItemCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/BatchUpdateCustomVocabularyItemCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/BuildBotLocaleCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/CreateBotAliasCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/CreateBotCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/CreateBotLocaleCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/CreateBotVersionCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/CreateExportCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/CreateIntentCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/CreateResourcePolicyCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/CreateResourcePolicyStatementCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/CreateSlotCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/CreateSlotTypeCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/CreateTestSetDiscrepancyReportCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/CreateUploadUrlCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeleteBotAliasCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeleteBotCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeleteBotLocaleCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeleteBotVersionCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeleteCustomVocabularyCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DeleteExportCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeleteImportCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeleteIntentCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeleteResourcePolicyCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DeleteResourcePolicyStatementCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DeleteSlotCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeleteSlotTypeCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeleteTestSetCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeleteUtterancesCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DescribeBotAliasCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DescribeBotCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DescribeBotLocaleCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DescribeBotRecommendationCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DescribeBotResourceGenerationCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DescribeBotVersionCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DescribeCustomVocabularyMetadataCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DescribeExportCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DescribeImportCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DescribeIntentCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DescribeResourcePolicyCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DescribeSlotCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DescribeSlotTypeCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DescribeTestExecutionCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DescribeTestSetCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DescribeTestSetDiscrepancyReportCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DescribeTestSetGenerationCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/GenerateBotElementCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetTestExecutionArtifactsUrlCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListAggregatedUtterancesCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListBotAliasesCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListBotLocalesCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListBotRecommendationsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListBotResourceGenerationsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListBotVersionsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListBotsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListBuiltInIntentsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListBuiltInSlotTypesCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListCustomVocabularyItemsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListExportsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListImportsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListIntentMetricsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListIntentPathsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListIntentStageMetricsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListIntentsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListRecommendedIntentsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListSessionAnalyticsDataCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListSessionMetricsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListSlotTypesCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListSlotsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListTestExecutionResultItemsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListTestExecutionsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListTestSetRecordsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListTestSetsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListUtteranceAnalyticsDataCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListUtteranceMetricsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/SearchAssociatedTranscriptsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/StartBotRecommendationCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/StartBotResourceGenerationCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/StartImportCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/StartTestExecutionCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/StartTestSetGenerationCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/StopBotRecommendationCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UpdateBotAliasCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UpdateBotCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UpdateBotLocaleCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UpdateBotRecommendationCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/UpdateExportCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UpdateIntentCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UpdateResourcePolicyCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/UpdateSlotCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UpdateSlotTypeCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UpdateTestSetCommand.d.ts +14 -23
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +18 -0
- package/dist-types/ts3.4/pagination/ListAggregatedUtterancesPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListBotAliasesPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListBotLocalesPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListBotRecommendationsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListBotResourceGenerationsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListBotVersionsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListBotsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListBuiltInIntentsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListBuiltInSlotTypesPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListCustomVocabularyItemsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListExportsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListImportsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListIntentMetricsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListIntentStageMetricsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListIntentsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListRecommendedIntentsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListSessionAnalyticsDataPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListSessionMetricsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListSlotTypesPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListSlotsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListTestExecutionResultItemsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListTestExecutionsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListTestSetRecordsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListTestSetsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListUtteranceAnalyticsDataPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListUtteranceMetricsPaginator.d.ts +3 -3
- package/package.json +11 -11
|
@@ -1,48 +1,25 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { UpdateExportRequestFilterSensitiveLog } from "../models/models_1";
|
|
6
6
|
import { de_UpdateExportCommand, se_UpdateExportCommand } from "../protocols/Aws_restJson1";
|
|
7
7
|
export { $Command };
|
|
8
|
-
export class UpdateExportCommand extends $Command
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
const { logger } = configuration;
|
|
26
|
-
const clientName = "LexModelsV2Client";
|
|
27
|
-
const commandName = "UpdateExportCommand";
|
|
28
|
-
const handlerExecutionContext = {
|
|
29
|
-
logger,
|
|
30
|
-
clientName,
|
|
31
|
-
commandName,
|
|
32
|
-
inputFilterSensitiveLog: UpdateExportRequestFilterSensitiveLog,
|
|
33
|
-
outputFilterSensitiveLog: (_) => _,
|
|
34
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
35
|
-
service: "LexModelBuildingServiceV2",
|
|
36
|
-
operation: "UpdateExport",
|
|
37
|
-
},
|
|
38
|
-
};
|
|
39
|
-
const { requestHandler } = configuration;
|
|
40
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
41
|
-
}
|
|
42
|
-
serialize(input, context) {
|
|
43
|
-
return se_UpdateExportCommand(input, context);
|
|
44
|
-
}
|
|
45
|
-
deserialize(output, context) {
|
|
46
|
-
return de_UpdateExportCommand(output, context);
|
|
47
|
-
}
|
|
8
|
+
export class UpdateExportCommand extends $Command
|
|
9
|
+
.classBuilder()
|
|
10
|
+
.ep({
|
|
11
|
+
...commonParams,
|
|
12
|
+
})
|
|
13
|
+
.m(function (Command, cs, config, o) {
|
|
14
|
+
return [
|
|
15
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
16
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
17
|
+
];
|
|
18
|
+
})
|
|
19
|
+
.s("LexModelBuildingServiceV2", "UpdateExport", {})
|
|
20
|
+
.n("LexModelsV2Client", "UpdateExportCommand")
|
|
21
|
+
.f(UpdateExportRequestFilterSensitiveLog, void 0)
|
|
22
|
+
.ser(se_UpdateExportCommand)
|
|
23
|
+
.de(de_UpdateExportCommand)
|
|
24
|
+
.build() {
|
|
48
25
|
}
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_UpdateIntentCommand, se_UpdateIntentCommand } from "../protocols/Aws_restJson1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class UpdateIntentCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "LexModelsV2Client";
|
|
26
|
-
const commandName = "UpdateIntentCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "LexModelBuildingServiceV2",
|
|
35
|
-
operation: "UpdateIntent",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_UpdateIntentCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_UpdateIntentCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class UpdateIntentCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("LexModelBuildingServiceV2", "UpdateIntent", {})
|
|
19
|
+
.n("LexModelsV2Client", "UpdateIntentCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_UpdateIntentCommand)
|
|
22
|
+
.de(de_UpdateIntentCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_UpdateResourcePolicyCommand, se_UpdateResourcePolicyCommand } from "../protocols/Aws_restJson1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class UpdateResourcePolicyCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "LexModelsV2Client";
|
|
26
|
-
const commandName = "UpdateResourcePolicyCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "LexModelBuildingServiceV2",
|
|
35
|
-
operation: "UpdateResourcePolicy",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_UpdateResourcePolicyCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_UpdateResourcePolicyCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class UpdateResourcePolicyCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("LexModelBuildingServiceV2", "UpdateResourcePolicy", {})
|
|
19
|
+
.n("LexModelsV2Client", "UpdateResourcePolicyCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_UpdateResourcePolicyCommand)
|
|
22
|
+
.de(de_UpdateResourcePolicyCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_UpdateSlotCommand, se_UpdateSlotCommand } from "../protocols/Aws_restJson1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class UpdateSlotCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "LexModelsV2Client";
|
|
26
|
-
const commandName = "UpdateSlotCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "LexModelBuildingServiceV2",
|
|
35
|
-
operation: "UpdateSlot",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_UpdateSlotCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_UpdateSlotCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class UpdateSlotCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("LexModelBuildingServiceV2", "UpdateSlot", {})
|
|
19
|
+
.n("LexModelsV2Client", "UpdateSlotCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_UpdateSlotCommand)
|
|
22
|
+
.de(de_UpdateSlotCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_UpdateSlotTypeCommand, se_UpdateSlotTypeCommand } from "../protocols/Aws_restJson1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class UpdateSlotTypeCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "LexModelsV2Client";
|
|
26
|
-
const commandName = "UpdateSlotTypeCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "LexModelBuildingServiceV2",
|
|
35
|
-
operation: "UpdateSlotType",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_UpdateSlotTypeCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_UpdateSlotTypeCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class UpdateSlotTypeCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("LexModelBuildingServiceV2", "UpdateSlotType", {})
|
|
19
|
+
.n("LexModelsV2Client", "UpdateSlotTypeCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_UpdateSlotTypeCommand)
|
|
22
|
+
.de(de_UpdateSlotTypeCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_UpdateTestSetCommand, se_UpdateTestSetCommand } from "../protocols/Aws_restJson1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class UpdateTestSetCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "LexModelsV2Client";
|
|
26
|
-
const commandName = "UpdateTestSetCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "LexModelBuildingServiceV2",
|
|
35
|
-
operation: "UpdateTestSet",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_UpdateTestSetCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_UpdateTestSetCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class UpdateTestSetCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("LexModelBuildingServiceV2", "UpdateTestSet", {})
|
|
19
|
+
.n("LexModelsV2Client", "UpdateTestSetCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_UpdateTestSetCommand)
|
|
22
|
+
.de(de_UpdateTestSetCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -6,3 +6,9 @@ export const resolveClientEndpointParameters = (options) => {
|
|
|
6
6
|
defaultSigningName: "lex",
|
|
7
7
|
};
|
|
8
8
|
};
|
|
9
|
+
export const commonParams = {
|
|
10
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
11
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
12
|
+
Region: { type: "builtInParams", name: "region" },
|
|
13
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
14
|
+
};
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListAggregatedUtterancesCommand, } from "../commands/ListAggregatedUtterancesCommand";
|
|
2
3
|
import { LexModelsV2Client } from "../LexModelsV2Client";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListAggregatedUtterancesCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListAggregatedUtterances(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.nextToken = token;
|
|
12
|
-
input["maxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof LexModelsV2Client) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected LexModelsV2 | LexModelsV2Client");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.nextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListAggregatedUtterances = createPaginator(LexModelsV2Client, ListAggregatedUtterancesCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListBotAliasesCommand, } from "../commands/ListBotAliasesCommand";
|
|
2
3
|
import { LexModelsV2Client } from "../LexModelsV2Client";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListBotAliasesCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListBotAliases(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.nextToken = token;
|
|
12
|
-
input["maxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof LexModelsV2Client) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected LexModelsV2 | LexModelsV2Client");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.nextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListBotAliases = createPaginator(LexModelsV2Client, ListBotAliasesCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListBotLocalesCommand, } from "../commands/ListBotLocalesCommand";
|
|
2
3
|
import { LexModelsV2Client } from "../LexModelsV2Client";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListBotLocalesCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListBotLocales(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.nextToken = token;
|
|
12
|
-
input["maxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof LexModelsV2Client) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected LexModelsV2 | LexModelsV2Client");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.nextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListBotLocales = createPaginator(LexModelsV2Client, ListBotLocalesCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListBotRecommendationsCommand, } from "../commands/ListBotRecommendationsCommand";
|
|
2
3
|
import { LexModelsV2Client } from "../LexModelsV2Client";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListBotRecommendationsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListBotRecommendations(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.nextToken = token;
|
|
12
|
-
input["maxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof LexModelsV2Client) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected LexModelsV2 | LexModelsV2Client");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.nextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListBotRecommendations = createPaginator(LexModelsV2Client, ListBotRecommendationsCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListBotResourceGenerationsCommand, } from "../commands/ListBotResourceGenerationsCommand";
|
|
2
3
|
import { LexModelsV2Client } from "../LexModelsV2Client";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListBotResourceGenerationsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListBotResourceGenerations(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.nextToken = token;
|
|
12
|
-
input["maxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof LexModelsV2Client) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected LexModelsV2 | LexModelsV2Client");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.nextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListBotResourceGenerations = createPaginator(LexModelsV2Client, ListBotResourceGenerationsCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListBotVersionsCommand, } from "../commands/ListBotVersionsCommand";
|
|
2
3
|
import { LexModelsV2Client } from "../LexModelsV2Client";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListBotVersionsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListBotVersions(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.nextToken = token;
|
|
12
|
-
input["maxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof LexModelsV2Client) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected LexModelsV2 | LexModelsV2Client");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.nextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListBotVersions = createPaginator(LexModelsV2Client, ListBotVersionsCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListBotsCommand } from "../commands/ListBotsCommand";
|
|
2
3
|
import { LexModelsV2Client } from "../LexModelsV2Client";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListBotsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListBots(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.nextToken = token;
|
|
12
|
-
input["maxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof LexModelsV2Client) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected LexModelsV2 | LexModelsV2Client");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.nextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListBots = createPaginator(LexModelsV2Client, ListBotsCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListBuiltInIntentsCommand, } from "../commands/ListBuiltInIntentsCommand";
|
|
2
3
|
import { LexModelsV2Client } from "../LexModelsV2Client";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListBuiltInIntentsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListBuiltInIntents(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.nextToken = token;
|
|
12
|
-
input["maxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof LexModelsV2Client) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected LexModelsV2 | LexModelsV2Client");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.nextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListBuiltInIntents = createPaginator(LexModelsV2Client, ListBuiltInIntentsCommand, "nextToken", "nextToken", "maxResults");
|