@aws-sdk/client-lex-models-v2 3.974.0 → 3.978.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/index.js +247 -207
- package/dist-es/LexModelsV2.js +77 -1
- package/dist-types/LexModelsV2.d.ts +246 -1
- package/dist-types/ts3.4/LexModelsV2.d.ts +275 -1
- package/package.json +17 -17
package/dist-es/LexModelsV2.js
CHANGED
|
@@ -102,6 +102,42 @@ import { UpdateSlotCommand } from "./commands/UpdateSlotCommand";
|
|
|
102
102
|
import { UpdateSlotTypeCommand, } from "./commands/UpdateSlotTypeCommand";
|
|
103
103
|
import { UpdateTestSetCommand, } from "./commands/UpdateTestSetCommand";
|
|
104
104
|
import { LexModelsV2Client } from "./LexModelsV2Client";
|
|
105
|
+
import { paginateListAggregatedUtterances } from "./pagination/ListAggregatedUtterancesPaginator";
|
|
106
|
+
import { paginateListBotAliases } from "./pagination/ListBotAliasesPaginator";
|
|
107
|
+
import { paginateListBotAliasReplicas } from "./pagination/ListBotAliasReplicasPaginator";
|
|
108
|
+
import { paginateListBotLocales } from "./pagination/ListBotLocalesPaginator";
|
|
109
|
+
import { paginateListBotRecommendations } from "./pagination/ListBotRecommendationsPaginator";
|
|
110
|
+
import { paginateListBotResourceGenerations } from "./pagination/ListBotResourceGenerationsPaginator";
|
|
111
|
+
import { paginateListBots } from "./pagination/ListBotsPaginator";
|
|
112
|
+
import { paginateListBotVersionReplicas } from "./pagination/ListBotVersionReplicasPaginator";
|
|
113
|
+
import { paginateListBotVersions } from "./pagination/ListBotVersionsPaginator";
|
|
114
|
+
import { paginateListBuiltInIntents } from "./pagination/ListBuiltInIntentsPaginator";
|
|
115
|
+
import { paginateListBuiltInSlotTypes } from "./pagination/ListBuiltInSlotTypesPaginator";
|
|
116
|
+
import { paginateListCustomVocabularyItems } from "./pagination/ListCustomVocabularyItemsPaginator";
|
|
117
|
+
import { paginateListExports } from "./pagination/ListExportsPaginator";
|
|
118
|
+
import { paginateListImports } from "./pagination/ListImportsPaginator";
|
|
119
|
+
import { paginateListIntentMetrics } from "./pagination/ListIntentMetricsPaginator";
|
|
120
|
+
import { paginateListIntents } from "./pagination/ListIntentsPaginator";
|
|
121
|
+
import { paginateListIntentStageMetrics } from "./pagination/ListIntentStageMetricsPaginator";
|
|
122
|
+
import { paginateListRecommendedIntents } from "./pagination/ListRecommendedIntentsPaginator";
|
|
123
|
+
import { paginateListSessionAnalyticsData } from "./pagination/ListSessionAnalyticsDataPaginator";
|
|
124
|
+
import { paginateListSessionMetrics } from "./pagination/ListSessionMetricsPaginator";
|
|
125
|
+
import { paginateListSlots } from "./pagination/ListSlotsPaginator";
|
|
126
|
+
import { paginateListSlotTypes } from "./pagination/ListSlotTypesPaginator";
|
|
127
|
+
import { paginateListTestExecutionResultItems } from "./pagination/ListTestExecutionResultItemsPaginator";
|
|
128
|
+
import { paginateListTestExecutions } from "./pagination/ListTestExecutionsPaginator";
|
|
129
|
+
import { paginateListTestSetRecords } from "./pagination/ListTestSetRecordsPaginator";
|
|
130
|
+
import { paginateListTestSets } from "./pagination/ListTestSetsPaginator";
|
|
131
|
+
import { paginateListUtteranceAnalyticsData } from "./pagination/ListUtteranceAnalyticsDataPaginator";
|
|
132
|
+
import { paginateListUtteranceMetrics } from "./pagination/ListUtteranceMetricsPaginator";
|
|
133
|
+
import { waitUntilBotAliasAvailable } from "./waiters/waitForBotAliasAvailable";
|
|
134
|
+
import { waitUntilBotAvailable } from "./waiters/waitForBotAvailable";
|
|
135
|
+
import { waitUntilBotExportCompleted } from "./waiters/waitForBotExportCompleted";
|
|
136
|
+
import { waitUntilBotImportCompleted } from "./waiters/waitForBotImportCompleted";
|
|
137
|
+
import { waitUntilBotLocaleBuilt } from "./waiters/waitForBotLocaleBuilt";
|
|
138
|
+
import { waitUntilBotLocaleCreated } from "./waiters/waitForBotLocaleCreated";
|
|
139
|
+
import { waitUntilBotLocaleExpressTestingAvailable } from "./waiters/waitForBotLocaleExpressTestingAvailable";
|
|
140
|
+
import { waitUntilBotVersionAvailable } from "./waiters/waitForBotVersionAvailable";
|
|
105
141
|
const commands = {
|
|
106
142
|
BatchCreateCustomVocabularyItemCommand,
|
|
107
143
|
BatchDeleteCustomVocabularyItemCommand,
|
|
@@ -206,6 +242,46 @@ const commands = {
|
|
|
206
242
|
UpdateSlotTypeCommand,
|
|
207
243
|
UpdateTestSetCommand,
|
|
208
244
|
};
|
|
245
|
+
const paginators = {
|
|
246
|
+
paginateListAggregatedUtterances,
|
|
247
|
+
paginateListBotAliases,
|
|
248
|
+
paginateListBotAliasReplicas,
|
|
249
|
+
paginateListBotLocales,
|
|
250
|
+
paginateListBotRecommendations,
|
|
251
|
+
paginateListBotResourceGenerations,
|
|
252
|
+
paginateListBots,
|
|
253
|
+
paginateListBotVersionReplicas,
|
|
254
|
+
paginateListBotVersions,
|
|
255
|
+
paginateListBuiltInIntents,
|
|
256
|
+
paginateListBuiltInSlotTypes,
|
|
257
|
+
paginateListCustomVocabularyItems,
|
|
258
|
+
paginateListExports,
|
|
259
|
+
paginateListImports,
|
|
260
|
+
paginateListIntentMetrics,
|
|
261
|
+
paginateListIntents,
|
|
262
|
+
paginateListIntentStageMetrics,
|
|
263
|
+
paginateListRecommendedIntents,
|
|
264
|
+
paginateListSessionAnalyticsData,
|
|
265
|
+
paginateListSessionMetrics,
|
|
266
|
+
paginateListSlots,
|
|
267
|
+
paginateListSlotTypes,
|
|
268
|
+
paginateListTestExecutionResultItems,
|
|
269
|
+
paginateListTestExecutions,
|
|
270
|
+
paginateListTestSetRecords,
|
|
271
|
+
paginateListTestSets,
|
|
272
|
+
paginateListUtteranceAnalyticsData,
|
|
273
|
+
paginateListUtteranceMetrics,
|
|
274
|
+
};
|
|
275
|
+
const waiters = {
|
|
276
|
+
waitUntilBotAvailable,
|
|
277
|
+
waitUntilBotAliasAvailable,
|
|
278
|
+
waitUntilBotLocaleBuilt,
|
|
279
|
+
waitUntilBotLocaleCreated,
|
|
280
|
+
waitUntilBotLocaleExpressTestingAvailable,
|
|
281
|
+
waitUntilBotVersionAvailable,
|
|
282
|
+
waitUntilBotExportCompleted,
|
|
283
|
+
waitUntilBotImportCompleted,
|
|
284
|
+
};
|
|
209
285
|
export class LexModelsV2 extends LexModelsV2Client {
|
|
210
286
|
}
|
|
211
|
-
createAggregatedClient(commands, LexModelsV2);
|
|
287
|
+
createAggregatedClient(commands, LexModelsV2, { paginators, waiters });
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import type { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
|
|
1
|
+
import type { HttpHandlerOptions as __HttpHandlerOptions, PaginationConfiguration, Paginator, WaiterConfiguration } from "@smithy/types";
|
|
2
|
+
import type { WaiterResult } from "@smithy/util-waiter";
|
|
2
3
|
import { BatchCreateCustomVocabularyItemCommandInput, BatchCreateCustomVocabularyItemCommandOutput } from "./commands/BatchCreateCustomVocabularyItemCommand";
|
|
3
4
|
import { BatchDeleteCustomVocabularyItemCommandInput, BatchDeleteCustomVocabularyItemCommandOutput } from "./commands/BatchDeleteCustomVocabularyItemCommand";
|
|
4
5
|
import { BatchUpdateCustomVocabularyItemCommandInput, BatchUpdateCustomVocabularyItemCommandOutput } from "./commands/BatchUpdateCustomVocabularyItemCommand";
|
|
@@ -721,6 +722,250 @@ export interface LexModelsV2 {
|
|
|
721
722
|
updateTestSet(args: UpdateTestSetCommandInput, options?: __HttpHandlerOptions): Promise<UpdateTestSetCommandOutput>;
|
|
722
723
|
updateTestSet(args: UpdateTestSetCommandInput, cb: (err: any, data?: UpdateTestSetCommandOutput) => void): void;
|
|
723
724
|
updateTestSet(args: UpdateTestSetCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateTestSetCommandOutput) => void): void;
|
|
725
|
+
/**
|
|
726
|
+
* @see {@link ListAggregatedUtterancesCommand}
|
|
727
|
+
* @param args - command input.
|
|
728
|
+
* @param paginationConfig - optional pagination config.
|
|
729
|
+
* @returns AsyncIterable of {@link ListAggregatedUtterancesCommandOutput}.
|
|
730
|
+
*/
|
|
731
|
+
paginateListAggregatedUtterances(args: ListAggregatedUtterancesCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListAggregatedUtterancesCommandOutput>;
|
|
732
|
+
/**
|
|
733
|
+
* @see {@link ListBotAliasesCommand}
|
|
734
|
+
* @param args - command input.
|
|
735
|
+
* @param paginationConfig - optional pagination config.
|
|
736
|
+
* @returns AsyncIterable of {@link ListBotAliasesCommandOutput}.
|
|
737
|
+
*/
|
|
738
|
+
paginateListBotAliases(args: ListBotAliasesCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListBotAliasesCommandOutput>;
|
|
739
|
+
/**
|
|
740
|
+
* @see {@link ListBotAliasReplicasCommand}
|
|
741
|
+
* @param args - command input.
|
|
742
|
+
* @param paginationConfig - optional pagination config.
|
|
743
|
+
* @returns AsyncIterable of {@link ListBotAliasReplicasCommandOutput}.
|
|
744
|
+
*/
|
|
745
|
+
paginateListBotAliasReplicas(args: ListBotAliasReplicasCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListBotAliasReplicasCommandOutput>;
|
|
746
|
+
/**
|
|
747
|
+
* @see {@link ListBotLocalesCommand}
|
|
748
|
+
* @param args - command input.
|
|
749
|
+
* @param paginationConfig - optional pagination config.
|
|
750
|
+
* @returns AsyncIterable of {@link ListBotLocalesCommandOutput}.
|
|
751
|
+
*/
|
|
752
|
+
paginateListBotLocales(args: ListBotLocalesCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListBotLocalesCommandOutput>;
|
|
753
|
+
/**
|
|
754
|
+
* @see {@link ListBotRecommendationsCommand}
|
|
755
|
+
* @param args - command input.
|
|
756
|
+
* @param paginationConfig - optional pagination config.
|
|
757
|
+
* @returns AsyncIterable of {@link ListBotRecommendationsCommandOutput}.
|
|
758
|
+
*/
|
|
759
|
+
paginateListBotRecommendations(args: ListBotRecommendationsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListBotRecommendationsCommandOutput>;
|
|
760
|
+
/**
|
|
761
|
+
* @see {@link ListBotResourceGenerationsCommand}
|
|
762
|
+
* @param args - command input.
|
|
763
|
+
* @param paginationConfig - optional pagination config.
|
|
764
|
+
* @returns AsyncIterable of {@link ListBotResourceGenerationsCommandOutput}.
|
|
765
|
+
*/
|
|
766
|
+
paginateListBotResourceGenerations(args: ListBotResourceGenerationsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListBotResourceGenerationsCommandOutput>;
|
|
767
|
+
/**
|
|
768
|
+
* @see {@link ListBotsCommand}
|
|
769
|
+
* @param args - command input.
|
|
770
|
+
* @param paginationConfig - optional pagination config.
|
|
771
|
+
* @returns AsyncIterable of {@link ListBotsCommandOutput}.
|
|
772
|
+
*/
|
|
773
|
+
paginateListBots(args?: ListBotsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListBotsCommandOutput>;
|
|
774
|
+
/**
|
|
775
|
+
* @see {@link ListBotVersionReplicasCommand}
|
|
776
|
+
* @param args - command input.
|
|
777
|
+
* @param paginationConfig - optional pagination config.
|
|
778
|
+
* @returns AsyncIterable of {@link ListBotVersionReplicasCommandOutput}.
|
|
779
|
+
*/
|
|
780
|
+
paginateListBotVersionReplicas(args: ListBotVersionReplicasCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListBotVersionReplicasCommandOutput>;
|
|
781
|
+
/**
|
|
782
|
+
* @see {@link ListBotVersionsCommand}
|
|
783
|
+
* @param args - command input.
|
|
784
|
+
* @param paginationConfig - optional pagination config.
|
|
785
|
+
* @returns AsyncIterable of {@link ListBotVersionsCommandOutput}.
|
|
786
|
+
*/
|
|
787
|
+
paginateListBotVersions(args: ListBotVersionsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListBotVersionsCommandOutput>;
|
|
788
|
+
/**
|
|
789
|
+
* @see {@link ListBuiltInIntentsCommand}
|
|
790
|
+
* @param args - command input.
|
|
791
|
+
* @param paginationConfig - optional pagination config.
|
|
792
|
+
* @returns AsyncIterable of {@link ListBuiltInIntentsCommandOutput}.
|
|
793
|
+
*/
|
|
794
|
+
paginateListBuiltInIntents(args: ListBuiltInIntentsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListBuiltInIntentsCommandOutput>;
|
|
795
|
+
/**
|
|
796
|
+
* @see {@link ListBuiltInSlotTypesCommand}
|
|
797
|
+
* @param args - command input.
|
|
798
|
+
* @param paginationConfig - optional pagination config.
|
|
799
|
+
* @returns AsyncIterable of {@link ListBuiltInSlotTypesCommandOutput}.
|
|
800
|
+
*/
|
|
801
|
+
paginateListBuiltInSlotTypes(args: ListBuiltInSlotTypesCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListBuiltInSlotTypesCommandOutput>;
|
|
802
|
+
/**
|
|
803
|
+
* @see {@link ListCustomVocabularyItemsCommand}
|
|
804
|
+
* @param args - command input.
|
|
805
|
+
* @param paginationConfig - optional pagination config.
|
|
806
|
+
* @returns AsyncIterable of {@link ListCustomVocabularyItemsCommandOutput}.
|
|
807
|
+
*/
|
|
808
|
+
paginateListCustomVocabularyItems(args: ListCustomVocabularyItemsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListCustomVocabularyItemsCommandOutput>;
|
|
809
|
+
/**
|
|
810
|
+
* @see {@link ListExportsCommand}
|
|
811
|
+
* @param args - command input.
|
|
812
|
+
* @param paginationConfig - optional pagination config.
|
|
813
|
+
* @returns AsyncIterable of {@link ListExportsCommandOutput}.
|
|
814
|
+
*/
|
|
815
|
+
paginateListExports(args?: ListExportsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListExportsCommandOutput>;
|
|
816
|
+
/**
|
|
817
|
+
* @see {@link ListImportsCommand}
|
|
818
|
+
* @param args - command input.
|
|
819
|
+
* @param paginationConfig - optional pagination config.
|
|
820
|
+
* @returns AsyncIterable of {@link ListImportsCommandOutput}.
|
|
821
|
+
*/
|
|
822
|
+
paginateListImports(args?: ListImportsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListImportsCommandOutput>;
|
|
823
|
+
/**
|
|
824
|
+
* @see {@link ListIntentMetricsCommand}
|
|
825
|
+
* @param args - command input.
|
|
826
|
+
* @param paginationConfig - optional pagination config.
|
|
827
|
+
* @returns AsyncIterable of {@link ListIntentMetricsCommandOutput}.
|
|
828
|
+
*/
|
|
829
|
+
paginateListIntentMetrics(args: ListIntentMetricsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListIntentMetricsCommandOutput>;
|
|
830
|
+
/**
|
|
831
|
+
* @see {@link ListIntentsCommand}
|
|
832
|
+
* @param args - command input.
|
|
833
|
+
* @param paginationConfig - optional pagination config.
|
|
834
|
+
* @returns AsyncIterable of {@link ListIntentsCommandOutput}.
|
|
835
|
+
*/
|
|
836
|
+
paginateListIntents(args: ListIntentsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListIntentsCommandOutput>;
|
|
837
|
+
/**
|
|
838
|
+
* @see {@link ListIntentStageMetricsCommand}
|
|
839
|
+
* @param args - command input.
|
|
840
|
+
* @param paginationConfig - optional pagination config.
|
|
841
|
+
* @returns AsyncIterable of {@link ListIntentStageMetricsCommandOutput}.
|
|
842
|
+
*/
|
|
843
|
+
paginateListIntentStageMetrics(args: ListIntentStageMetricsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListIntentStageMetricsCommandOutput>;
|
|
844
|
+
/**
|
|
845
|
+
* @see {@link ListRecommendedIntentsCommand}
|
|
846
|
+
* @param args - command input.
|
|
847
|
+
* @param paginationConfig - optional pagination config.
|
|
848
|
+
* @returns AsyncIterable of {@link ListRecommendedIntentsCommandOutput}.
|
|
849
|
+
*/
|
|
850
|
+
paginateListRecommendedIntents(args: ListRecommendedIntentsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListRecommendedIntentsCommandOutput>;
|
|
851
|
+
/**
|
|
852
|
+
* @see {@link ListSessionAnalyticsDataCommand}
|
|
853
|
+
* @param args - command input.
|
|
854
|
+
* @param paginationConfig - optional pagination config.
|
|
855
|
+
* @returns AsyncIterable of {@link ListSessionAnalyticsDataCommandOutput}.
|
|
856
|
+
*/
|
|
857
|
+
paginateListSessionAnalyticsData(args: ListSessionAnalyticsDataCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListSessionAnalyticsDataCommandOutput>;
|
|
858
|
+
/**
|
|
859
|
+
* @see {@link ListSessionMetricsCommand}
|
|
860
|
+
* @param args - command input.
|
|
861
|
+
* @param paginationConfig - optional pagination config.
|
|
862
|
+
* @returns AsyncIterable of {@link ListSessionMetricsCommandOutput}.
|
|
863
|
+
*/
|
|
864
|
+
paginateListSessionMetrics(args: ListSessionMetricsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListSessionMetricsCommandOutput>;
|
|
865
|
+
/**
|
|
866
|
+
* @see {@link ListSlotsCommand}
|
|
867
|
+
* @param args - command input.
|
|
868
|
+
* @param paginationConfig - optional pagination config.
|
|
869
|
+
* @returns AsyncIterable of {@link ListSlotsCommandOutput}.
|
|
870
|
+
*/
|
|
871
|
+
paginateListSlots(args: ListSlotsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListSlotsCommandOutput>;
|
|
872
|
+
/**
|
|
873
|
+
* @see {@link ListSlotTypesCommand}
|
|
874
|
+
* @param args - command input.
|
|
875
|
+
* @param paginationConfig - optional pagination config.
|
|
876
|
+
* @returns AsyncIterable of {@link ListSlotTypesCommandOutput}.
|
|
877
|
+
*/
|
|
878
|
+
paginateListSlotTypes(args: ListSlotTypesCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListSlotTypesCommandOutput>;
|
|
879
|
+
/**
|
|
880
|
+
* @see {@link ListTestExecutionResultItemsCommand}
|
|
881
|
+
* @param args - command input.
|
|
882
|
+
* @param paginationConfig - optional pagination config.
|
|
883
|
+
* @returns AsyncIterable of {@link ListTestExecutionResultItemsCommandOutput}.
|
|
884
|
+
*/
|
|
885
|
+
paginateListTestExecutionResultItems(args: ListTestExecutionResultItemsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListTestExecutionResultItemsCommandOutput>;
|
|
886
|
+
/**
|
|
887
|
+
* @see {@link ListTestExecutionsCommand}
|
|
888
|
+
* @param args - command input.
|
|
889
|
+
* @param paginationConfig - optional pagination config.
|
|
890
|
+
* @returns AsyncIterable of {@link ListTestExecutionsCommandOutput}.
|
|
891
|
+
*/
|
|
892
|
+
paginateListTestExecutions(args?: ListTestExecutionsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListTestExecutionsCommandOutput>;
|
|
893
|
+
/**
|
|
894
|
+
* @see {@link ListTestSetRecordsCommand}
|
|
895
|
+
* @param args - command input.
|
|
896
|
+
* @param paginationConfig - optional pagination config.
|
|
897
|
+
* @returns AsyncIterable of {@link ListTestSetRecordsCommandOutput}.
|
|
898
|
+
*/
|
|
899
|
+
paginateListTestSetRecords(args: ListTestSetRecordsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListTestSetRecordsCommandOutput>;
|
|
900
|
+
/**
|
|
901
|
+
* @see {@link ListTestSetsCommand}
|
|
902
|
+
* @param args - command input.
|
|
903
|
+
* @param paginationConfig - optional pagination config.
|
|
904
|
+
* @returns AsyncIterable of {@link ListTestSetsCommandOutput}.
|
|
905
|
+
*/
|
|
906
|
+
paginateListTestSets(args?: ListTestSetsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListTestSetsCommandOutput>;
|
|
907
|
+
/**
|
|
908
|
+
* @see {@link ListUtteranceAnalyticsDataCommand}
|
|
909
|
+
* @param args - command input.
|
|
910
|
+
* @param paginationConfig - optional pagination config.
|
|
911
|
+
* @returns AsyncIterable of {@link ListUtteranceAnalyticsDataCommandOutput}.
|
|
912
|
+
*/
|
|
913
|
+
paginateListUtteranceAnalyticsData(args: ListUtteranceAnalyticsDataCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListUtteranceAnalyticsDataCommandOutput>;
|
|
914
|
+
/**
|
|
915
|
+
* @see {@link ListUtteranceMetricsCommand}
|
|
916
|
+
* @param args - command input.
|
|
917
|
+
* @param paginationConfig - optional pagination config.
|
|
918
|
+
* @returns AsyncIterable of {@link ListUtteranceMetricsCommandOutput}.
|
|
919
|
+
*/
|
|
920
|
+
paginateListUtteranceMetrics(args: ListUtteranceMetricsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListUtteranceMetricsCommandOutput>;
|
|
921
|
+
/**
|
|
922
|
+
* @see {@link DescribeBotCommand}
|
|
923
|
+
* @param args - command input.
|
|
924
|
+
* @param waiterConfig - `maxWaitTime` in seconds or waiter config object.
|
|
925
|
+
*/
|
|
926
|
+
waitUntilBotAvailable(args: DescribeBotCommandInput, waiterConfig: number | Omit<WaiterConfiguration<LexModelsV2>, "client">): Promise<WaiterResult>;
|
|
927
|
+
/**
|
|
928
|
+
* @see {@link DescribeBotAliasCommand}
|
|
929
|
+
* @param args - command input.
|
|
930
|
+
* @param waiterConfig - `maxWaitTime` in seconds or waiter config object.
|
|
931
|
+
*/
|
|
932
|
+
waitUntilBotAliasAvailable(args: DescribeBotAliasCommandInput, waiterConfig: number | Omit<WaiterConfiguration<LexModelsV2>, "client">): Promise<WaiterResult>;
|
|
933
|
+
/**
|
|
934
|
+
* @see {@link DescribeBotLocaleCommand}
|
|
935
|
+
* @param args - command input.
|
|
936
|
+
* @param waiterConfig - `maxWaitTime` in seconds or waiter config object.
|
|
937
|
+
*/
|
|
938
|
+
waitUntilBotLocaleBuilt(args: DescribeBotLocaleCommandInput, waiterConfig: number | Omit<WaiterConfiguration<LexModelsV2>, "client">): Promise<WaiterResult>;
|
|
939
|
+
/**
|
|
940
|
+
* @see {@link DescribeBotLocaleCommand}
|
|
941
|
+
* @param args - command input.
|
|
942
|
+
* @param waiterConfig - `maxWaitTime` in seconds or waiter config object.
|
|
943
|
+
*/
|
|
944
|
+
waitUntilBotLocaleCreated(args: DescribeBotLocaleCommandInput, waiterConfig: number | Omit<WaiterConfiguration<LexModelsV2>, "client">): Promise<WaiterResult>;
|
|
945
|
+
/**
|
|
946
|
+
* @see {@link DescribeBotLocaleCommand}
|
|
947
|
+
* @param args - command input.
|
|
948
|
+
* @param waiterConfig - `maxWaitTime` in seconds or waiter config object.
|
|
949
|
+
*/
|
|
950
|
+
waitUntilBotLocaleExpressTestingAvailable(args: DescribeBotLocaleCommandInput, waiterConfig: number | Omit<WaiterConfiguration<LexModelsV2>, "client">): Promise<WaiterResult>;
|
|
951
|
+
/**
|
|
952
|
+
* @see {@link DescribeBotVersionCommand}
|
|
953
|
+
* @param args - command input.
|
|
954
|
+
* @param waiterConfig - `maxWaitTime` in seconds or waiter config object.
|
|
955
|
+
*/
|
|
956
|
+
waitUntilBotVersionAvailable(args: DescribeBotVersionCommandInput, waiterConfig: number | Omit<WaiterConfiguration<LexModelsV2>, "client">): Promise<WaiterResult>;
|
|
957
|
+
/**
|
|
958
|
+
* @see {@link DescribeExportCommand}
|
|
959
|
+
* @param args - command input.
|
|
960
|
+
* @param waiterConfig - `maxWaitTime` in seconds or waiter config object.
|
|
961
|
+
*/
|
|
962
|
+
waitUntilBotExportCompleted(args: DescribeExportCommandInput, waiterConfig: number | Omit<WaiterConfiguration<LexModelsV2>, "client">): Promise<WaiterResult>;
|
|
963
|
+
/**
|
|
964
|
+
* @see {@link DescribeImportCommand}
|
|
965
|
+
* @param args - command input.
|
|
966
|
+
* @param waiterConfig - `maxWaitTime` in seconds or waiter config object.
|
|
967
|
+
*/
|
|
968
|
+
waitUntilBotImportCompleted(args: DescribeImportCommandInput, waiterConfig: number | Omit<WaiterConfiguration<LexModelsV2>, "client">): Promise<WaiterResult>;
|
|
724
969
|
}
|
|
725
970
|
/**
|
|
726
971
|
* <p>Amazon Lex Model Building Service provides APIs for creating, managing, and deploying conversational bots and their components.</p>
|
|
@@ -1,4 +1,10 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import {
|
|
2
|
+
HttpHandlerOptions as __HttpHandlerOptions,
|
|
3
|
+
PaginationConfiguration,
|
|
4
|
+
Paginator,
|
|
5
|
+
WaiterConfiguration,
|
|
6
|
+
} from "@smithy/types";
|
|
7
|
+
import { WaiterResult } from "@smithy/util-waiter";
|
|
2
8
|
import {
|
|
3
9
|
BatchCreateCustomVocabularyItemCommandInput,
|
|
4
10
|
BatchCreateCustomVocabularyItemCommandOutput,
|
|
@@ -1741,6 +1747,274 @@ export interface LexModelsV2 {
|
|
|
1741
1747
|
options: __HttpHandlerOptions,
|
|
1742
1748
|
cb: (err: any, data?: UpdateTestSetCommandOutput) => void
|
|
1743
1749
|
): void;
|
|
1750
|
+
paginateListAggregatedUtterances(
|
|
1751
|
+
args: ListAggregatedUtterancesCommandInput,
|
|
1752
|
+
paginationConfig?: Pick<
|
|
1753
|
+
PaginationConfiguration,
|
|
1754
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
1755
|
+
>
|
|
1756
|
+
): Paginator<ListAggregatedUtterancesCommandOutput>;
|
|
1757
|
+
paginateListBotAliases(
|
|
1758
|
+
args: ListBotAliasesCommandInput,
|
|
1759
|
+
paginationConfig?: Pick<
|
|
1760
|
+
PaginationConfiguration,
|
|
1761
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
1762
|
+
>
|
|
1763
|
+
): Paginator<ListBotAliasesCommandOutput>;
|
|
1764
|
+
paginateListBotAliasReplicas(
|
|
1765
|
+
args: ListBotAliasReplicasCommandInput,
|
|
1766
|
+
paginationConfig?: Pick<
|
|
1767
|
+
PaginationConfiguration,
|
|
1768
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
1769
|
+
>
|
|
1770
|
+
): Paginator<ListBotAliasReplicasCommandOutput>;
|
|
1771
|
+
paginateListBotLocales(
|
|
1772
|
+
args: ListBotLocalesCommandInput,
|
|
1773
|
+
paginationConfig?: Pick<
|
|
1774
|
+
PaginationConfiguration,
|
|
1775
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
1776
|
+
>
|
|
1777
|
+
): Paginator<ListBotLocalesCommandOutput>;
|
|
1778
|
+
paginateListBotRecommendations(
|
|
1779
|
+
args: ListBotRecommendationsCommandInput,
|
|
1780
|
+
paginationConfig?: Pick<
|
|
1781
|
+
PaginationConfiguration,
|
|
1782
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
1783
|
+
>
|
|
1784
|
+
): Paginator<ListBotRecommendationsCommandOutput>;
|
|
1785
|
+
paginateListBotResourceGenerations(
|
|
1786
|
+
args: ListBotResourceGenerationsCommandInput,
|
|
1787
|
+
paginationConfig?: Pick<
|
|
1788
|
+
PaginationConfiguration,
|
|
1789
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
1790
|
+
>
|
|
1791
|
+
): Paginator<ListBotResourceGenerationsCommandOutput>;
|
|
1792
|
+
paginateListBots(
|
|
1793
|
+
args?: ListBotsCommandInput,
|
|
1794
|
+
paginationConfig?: Pick<
|
|
1795
|
+
PaginationConfiguration,
|
|
1796
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
1797
|
+
>
|
|
1798
|
+
): Paginator<ListBotsCommandOutput>;
|
|
1799
|
+
paginateListBotVersionReplicas(
|
|
1800
|
+
args: ListBotVersionReplicasCommandInput,
|
|
1801
|
+
paginationConfig?: Pick<
|
|
1802
|
+
PaginationConfiguration,
|
|
1803
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
1804
|
+
>
|
|
1805
|
+
): Paginator<ListBotVersionReplicasCommandOutput>;
|
|
1806
|
+
paginateListBotVersions(
|
|
1807
|
+
args: ListBotVersionsCommandInput,
|
|
1808
|
+
paginationConfig?: Pick<
|
|
1809
|
+
PaginationConfiguration,
|
|
1810
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
1811
|
+
>
|
|
1812
|
+
): Paginator<ListBotVersionsCommandOutput>;
|
|
1813
|
+
paginateListBuiltInIntents(
|
|
1814
|
+
args: ListBuiltInIntentsCommandInput,
|
|
1815
|
+
paginationConfig?: Pick<
|
|
1816
|
+
PaginationConfiguration,
|
|
1817
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
1818
|
+
>
|
|
1819
|
+
): Paginator<ListBuiltInIntentsCommandOutput>;
|
|
1820
|
+
paginateListBuiltInSlotTypes(
|
|
1821
|
+
args: ListBuiltInSlotTypesCommandInput,
|
|
1822
|
+
paginationConfig?: Pick<
|
|
1823
|
+
PaginationConfiguration,
|
|
1824
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
1825
|
+
>
|
|
1826
|
+
): Paginator<ListBuiltInSlotTypesCommandOutput>;
|
|
1827
|
+
paginateListCustomVocabularyItems(
|
|
1828
|
+
args: ListCustomVocabularyItemsCommandInput,
|
|
1829
|
+
paginationConfig?: Pick<
|
|
1830
|
+
PaginationConfiguration,
|
|
1831
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
1832
|
+
>
|
|
1833
|
+
): Paginator<ListCustomVocabularyItemsCommandOutput>;
|
|
1834
|
+
paginateListExports(
|
|
1835
|
+
args?: ListExportsCommandInput,
|
|
1836
|
+
paginationConfig?: Pick<
|
|
1837
|
+
PaginationConfiguration,
|
|
1838
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
1839
|
+
>
|
|
1840
|
+
): Paginator<ListExportsCommandOutput>;
|
|
1841
|
+
paginateListImports(
|
|
1842
|
+
args?: ListImportsCommandInput,
|
|
1843
|
+
paginationConfig?: Pick<
|
|
1844
|
+
PaginationConfiguration,
|
|
1845
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
1846
|
+
>
|
|
1847
|
+
): Paginator<ListImportsCommandOutput>;
|
|
1848
|
+
paginateListIntentMetrics(
|
|
1849
|
+
args: ListIntentMetricsCommandInput,
|
|
1850
|
+
paginationConfig?: Pick<
|
|
1851
|
+
PaginationConfiguration,
|
|
1852
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
1853
|
+
>
|
|
1854
|
+
): Paginator<ListIntentMetricsCommandOutput>;
|
|
1855
|
+
paginateListIntents(
|
|
1856
|
+
args: ListIntentsCommandInput,
|
|
1857
|
+
paginationConfig?: Pick<
|
|
1858
|
+
PaginationConfiguration,
|
|
1859
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
1860
|
+
>
|
|
1861
|
+
): Paginator<ListIntentsCommandOutput>;
|
|
1862
|
+
paginateListIntentStageMetrics(
|
|
1863
|
+
args: ListIntentStageMetricsCommandInput,
|
|
1864
|
+
paginationConfig?: Pick<
|
|
1865
|
+
PaginationConfiguration,
|
|
1866
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
1867
|
+
>
|
|
1868
|
+
): Paginator<ListIntentStageMetricsCommandOutput>;
|
|
1869
|
+
paginateListRecommendedIntents(
|
|
1870
|
+
args: ListRecommendedIntentsCommandInput,
|
|
1871
|
+
paginationConfig?: Pick<
|
|
1872
|
+
PaginationConfiguration,
|
|
1873
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
1874
|
+
>
|
|
1875
|
+
): Paginator<ListRecommendedIntentsCommandOutput>;
|
|
1876
|
+
paginateListSessionAnalyticsData(
|
|
1877
|
+
args: ListSessionAnalyticsDataCommandInput,
|
|
1878
|
+
paginationConfig?: Pick<
|
|
1879
|
+
PaginationConfiguration,
|
|
1880
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
1881
|
+
>
|
|
1882
|
+
): Paginator<ListSessionAnalyticsDataCommandOutput>;
|
|
1883
|
+
paginateListSessionMetrics(
|
|
1884
|
+
args: ListSessionMetricsCommandInput,
|
|
1885
|
+
paginationConfig?: Pick<
|
|
1886
|
+
PaginationConfiguration,
|
|
1887
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
1888
|
+
>
|
|
1889
|
+
): Paginator<ListSessionMetricsCommandOutput>;
|
|
1890
|
+
paginateListSlots(
|
|
1891
|
+
args: ListSlotsCommandInput,
|
|
1892
|
+
paginationConfig?: Pick<
|
|
1893
|
+
PaginationConfiguration,
|
|
1894
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
1895
|
+
>
|
|
1896
|
+
): Paginator<ListSlotsCommandOutput>;
|
|
1897
|
+
paginateListSlotTypes(
|
|
1898
|
+
args: ListSlotTypesCommandInput,
|
|
1899
|
+
paginationConfig?: Pick<
|
|
1900
|
+
PaginationConfiguration,
|
|
1901
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
1902
|
+
>
|
|
1903
|
+
): Paginator<ListSlotTypesCommandOutput>;
|
|
1904
|
+
paginateListTestExecutionResultItems(
|
|
1905
|
+
args: ListTestExecutionResultItemsCommandInput,
|
|
1906
|
+
paginationConfig?: Pick<
|
|
1907
|
+
PaginationConfiguration,
|
|
1908
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
1909
|
+
>
|
|
1910
|
+
): Paginator<ListTestExecutionResultItemsCommandOutput>;
|
|
1911
|
+
paginateListTestExecutions(
|
|
1912
|
+
args?: ListTestExecutionsCommandInput,
|
|
1913
|
+
paginationConfig?: Pick<
|
|
1914
|
+
PaginationConfiguration,
|
|
1915
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
1916
|
+
>
|
|
1917
|
+
): Paginator<ListTestExecutionsCommandOutput>;
|
|
1918
|
+
paginateListTestSetRecords(
|
|
1919
|
+
args: ListTestSetRecordsCommandInput,
|
|
1920
|
+
paginationConfig?: Pick<
|
|
1921
|
+
PaginationConfiguration,
|
|
1922
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
1923
|
+
>
|
|
1924
|
+
): Paginator<ListTestSetRecordsCommandOutput>;
|
|
1925
|
+
paginateListTestSets(
|
|
1926
|
+
args?: ListTestSetsCommandInput,
|
|
1927
|
+
paginationConfig?: Pick<
|
|
1928
|
+
PaginationConfiguration,
|
|
1929
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
1930
|
+
>
|
|
1931
|
+
): Paginator<ListTestSetsCommandOutput>;
|
|
1932
|
+
paginateListUtteranceAnalyticsData(
|
|
1933
|
+
args: ListUtteranceAnalyticsDataCommandInput,
|
|
1934
|
+
paginationConfig?: Pick<
|
|
1935
|
+
PaginationConfiguration,
|
|
1936
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
1937
|
+
>
|
|
1938
|
+
): Paginator<ListUtteranceAnalyticsDataCommandOutput>;
|
|
1939
|
+
paginateListUtteranceMetrics(
|
|
1940
|
+
args: ListUtteranceMetricsCommandInput,
|
|
1941
|
+
paginationConfig?: Pick<
|
|
1942
|
+
PaginationConfiguration,
|
|
1943
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
1944
|
+
>
|
|
1945
|
+
): Paginator<ListUtteranceMetricsCommandOutput>;
|
|
1946
|
+
waitUntilBotAvailable(
|
|
1947
|
+
args: DescribeBotCommandInput,
|
|
1948
|
+
waiterConfig:
|
|
1949
|
+
| number
|
|
1950
|
+
| Pick<
|
|
1951
|
+
WaiterConfiguration<LexModelsV2>,
|
|
1952
|
+
Exclude<keyof WaiterConfiguration<LexModelsV2>, "client">
|
|
1953
|
+
>
|
|
1954
|
+
): Promise<WaiterResult>;
|
|
1955
|
+
waitUntilBotAliasAvailable(
|
|
1956
|
+
args: DescribeBotAliasCommandInput,
|
|
1957
|
+
waiterConfig:
|
|
1958
|
+
| number
|
|
1959
|
+
| Pick<
|
|
1960
|
+
WaiterConfiguration<LexModelsV2>,
|
|
1961
|
+
Exclude<keyof WaiterConfiguration<LexModelsV2>, "client">
|
|
1962
|
+
>
|
|
1963
|
+
): Promise<WaiterResult>;
|
|
1964
|
+
waitUntilBotLocaleBuilt(
|
|
1965
|
+
args: DescribeBotLocaleCommandInput,
|
|
1966
|
+
waiterConfig:
|
|
1967
|
+
| number
|
|
1968
|
+
| Pick<
|
|
1969
|
+
WaiterConfiguration<LexModelsV2>,
|
|
1970
|
+
Exclude<keyof WaiterConfiguration<LexModelsV2>, "client">
|
|
1971
|
+
>
|
|
1972
|
+
): Promise<WaiterResult>;
|
|
1973
|
+
waitUntilBotLocaleCreated(
|
|
1974
|
+
args: DescribeBotLocaleCommandInput,
|
|
1975
|
+
waiterConfig:
|
|
1976
|
+
| number
|
|
1977
|
+
| Pick<
|
|
1978
|
+
WaiterConfiguration<LexModelsV2>,
|
|
1979
|
+
Exclude<keyof WaiterConfiguration<LexModelsV2>, "client">
|
|
1980
|
+
>
|
|
1981
|
+
): Promise<WaiterResult>;
|
|
1982
|
+
waitUntilBotLocaleExpressTestingAvailable(
|
|
1983
|
+
args: DescribeBotLocaleCommandInput,
|
|
1984
|
+
waiterConfig:
|
|
1985
|
+
| number
|
|
1986
|
+
| Pick<
|
|
1987
|
+
WaiterConfiguration<LexModelsV2>,
|
|
1988
|
+
Exclude<keyof WaiterConfiguration<LexModelsV2>, "client">
|
|
1989
|
+
>
|
|
1990
|
+
): Promise<WaiterResult>;
|
|
1991
|
+
waitUntilBotVersionAvailable(
|
|
1992
|
+
args: DescribeBotVersionCommandInput,
|
|
1993
|
+
waiterConfig:
|
|
1994
|
+
| number
|
|
1995
|
+
| Pick<
|
|
1996
|
+
WaiterConfiguration<LexModelsV2>,
|
|
1997
|
+
Exclude<keyof WaiterConfiguration<LexModelsV2>, "client">
|
|
1998
|
+
>
|
|
1999
|
+
): Promise<WaiterResult>;
|
|
2000
|
+
waitUntilBotExportCompleted(
|
|
2001
|
+
args: DescribeExportCommandInput,
|
|
2002
|
+
waiterConfig:
|
|
2003
|
+
| number
|
|
2004
|
+
| Pick<
|
|
2005
|
+
WaiterConfiguration<LexModelsV2>,
|
|
2006
|
+
Exclude<keyof WaiterConfiguration<LexModelsV2>, "client">
|
|
2007
|
+
>
|
|
2008
|
+
): Promise<WaiterResult>;
|
|
2009
|
+
waitUntilBotImportCompleted(
|
|
2010
|
+
args: DescribeImportCommandInput,
|
|
2011
|
+
waiterConfig:
|
|
2012
|
+
| number
|
|
2013
|
+
| Pick<
|
|
2014
|
+
WaiterConfiguration<LexModelsV2>,
|
|
2015
|
+
Exclude<keyof WaiterConfiguration<LexModelsV2>, "client">
|
|
2016
|
+
>
|
|
2017
|
+
): Promise<WaiterResult>;
|
|
1744
2018
|
}
|
|
1745
2019
|
export declare class LexModelsV2
|
|
1746
2020
|
extends LexModelsV2Client
|