@aws-sdk/client-personalize 3.42.0 → 3.47.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +50 -0
- package/dist-cjs/Personalize.js +120 -0
- package/dist-cjs/commands/CreateBatchSegmentJobCommand.js +36 -0
- package/dist-cjs/commands/CreateRecommenderCommand.js +36 -0
- package/dist-cjs/commands/DeleteRecommenderCommand.js +36 -0
- package/dist-cjs/commands/DescribeBatchSegmentJobCommand.js +36 -0
- package/dist-cjs/commands/DescribeRecommenderCommand.js +36 -0
- package/dist-cjs/commands/ListBatchSegmentJobsCommand.js +36 -0
- package/dist-cjs/commands/ListRecommendersCommand.js +36 -0
- package/dist-cjs/commands/UpdateRecommenderCommand.js +36 -0
- package/dist-cjs/commands/index.js +8 -0
- package/dist-cjs/endpoints.js +1 -0
- package/dist-cjs/models/models_0.js +139 -31
- package/dist-cjs/pagination/ListBatchSegmentJobsPaginator.js +35 -0
- package/dist-cjs/pagination/ListRecommendersPaginator.js +35 -0
- package/dist-cjs/pagination/index.js +2 -0
- package/dist-cjs/protocols/Aws_json1_1.js +891 -28
- package/dist-cjs/runtimeConfig.browser.js +7 -2
- package/dist-cjs/runtimeConfig.js +9 -3
- package/dist-es/Personalize.js +120 -0
- package/dist-es/commands/CreateBatchSegmentJobCommand.js +39 -0
- package/dist-es/commands/CreateRecommenderCommand.js +39 -0
- package/dist-es/commands/DeleteRecommenderCommand.js +39 -0
- package/dist-es/commands/DescribeBatchSegmentJobCommand.js +39 -0
- package/dist-es/commands/DescribeRecommenderCommand.js +39 -0
- package/dist-es/commands/ListBatchSegmentJobsCommand.js +39 -0
- package/dist-es/commands/ListRecommendersCommand.js +39 -0
- package/dist-es/commands/UpdateRecommenderCommand.js +39 -0
- package/dist-es/commands/index.js +8 -0
- package/dist-es/endpoints.js +1 -0
- package/dist-es/models/models_0.js +97 -24
- package/dist-es/pagination/ListBatchSegmentJobsPaginator.js +74 -0
- package/dist-es/pagination/ListRecommendersPaginator.js +74 -0
- package/dist-es/pagination/index.js +2 -0
- package/dist-es/protocols/Aws_json1_1.js +944 -38
- package/dist-es/runtimeConfig.browser.js +12 -3
- package/dist-es/runtimeConfig.js +13 -6
- package/dist-types/Personalize.d.ts +137 -8
- package/dist-types/PersonalizeClient.d.ts +15 -3
- package/dist-types/commands/CreateBatchSegmentJobCommand.d.ts +36 -0
- package/dist-types/commands/CreateCampaignCommand.d.ts +1 -1
- package/dist-types/commands/CreateDatasetGroupCommand.d.ts +8 -5
- package/dist-types/commands/CreateRecommenderCommand.d.ts +84 -0
- package/dist-types/commands/CreateSchemaCommand.d.ts +2 -1
- package/dist-types/commands/CreateSolutionVersionCommand.d.ts +1 -1
- package/dist-types/commands/DeleteRecommenderCommand.d.ts +36 -0
- package/dist-types/commands/DescribeBatchSegmentJobCommand.d.ts +37 -0
- package/dist-types/commands/DescribeRecommenderCommand.d.ts +47 -0
- package/dist-types/commands/ListBatchSegmentJobsCommand.d.ts +36 -0
- package/dist-types/commands/ListRecommendersCommand.d.ts +38 -0
- package/dist-types/commands/UpdateRecommenderCommand.d.ts +35 -0
- package/dist-types/commands/index.d.ts +8 -0
- package/dist-types/models/models_0.d.ts +630 -35
- package/dist-types/pagination/ListBatchSegmentJobsPaginator.d.ts +4 -0
- package/dist-types/pagination/ListRecommendersPaginator.d.ts +4 -0
- package/dist-types/pagination/index.d.ts +2 -0
- package/dist-types/protocols/Aws_json1_1.d.ts +24 -0
- package/dist-types/runtimeConfig.browser.d.ts +3 -2
- package/dist-types/runtimeConfig.d.ts +4 -3
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/dist-types/ts3.4/Personalize.d.ts +40 -0
- package/dist-types/ts3.4/PersonalizeClient.d.ts +13 -3
- package/dist-types/ts3.4/commands/CreateBatchSegmentJobCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateRecommenderCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteRecommenderCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribeBatchSegmentJobCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribeRecommenderCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListBatchSegmentJobsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListRecommendersCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateRecommenderCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/index.d.ts +8 -0
- package/dist-types/ts3.4/models/models_0.d.ts +320 -22
- package/dist-types/ts3.4/pagination/ListBatchSegmentJobsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListRecommendersPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/index.d.ts +2 -0
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +24 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +3 -2
- package/dist-types/ts3.4/runtimeConfig.d.ts +4 -3
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -0
- package/package.json +38 -45
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
export * from "./CreateBatchInferenceJobCommand";
|
|
2
|
+
export * from "./CreateBatchSegmentJobCommand";
|
|
2
3
|
export * from "./CreateCampaignCommand";
|
|
3
4
|
export * from "./CreateDatasetCommand";
|
|
4
5
|
export * from "./CreateDatasetExportJobCommand";
|
|
@@ -6,6 +7,7 @@ export * from "./CreateDatasetGroupCommand";
|
|
|
6
7
|
export * from "./CreateDatasetImportJobCommand";
|
|
7
8
|
export * from "./CreateEventTrackerCommand";
|
|
8
9
|
export * from "./CreateFilterCommand";
|
|
10
|
+
export * from "./CreateRecommenderCommand";
|
|
9
11
|
export * from "./CreateSchemaCommand";
|
|
10
12
|
export * from "./CreateSolutionCommand";
|
|
11
13
|
export * from "./CreateSolutionVersionCommand";
|
|
@@ -14,10 +16,12 @@ export * from "./DeleteDatasetCommand";
|
|
|
14
16
|
export * from "./DeleteDatasetGroupCommand";
|
|
15
17
|
export * from "./DeleteEventTrackerCommand";
|
|
16
18
|
export * from "./DeleteFilterCommand";
|
|
19
|
+
export * from "./DeleteRecommenderCommand";
|
|
17
20
|
export * from "./DeleteSchemaCommand";
|
|
18
21
|
export * from "./DeleteSolutionCommand";
|
|
19
22
|
export * from "./DescribeAlgorithmCommand";
|
|
20
23
|
export * from "./DescribeBatchInferenceJobCommand";
|
|
24
|
+
export * from "./DescribeBatchSegmentJobCommand";
|
|
21
25
|
export * from "./DescribeCampaignCommand";
|
|
22
26
|
export * from "./DescribeDatasetCommand";
|
|
23
27
|
export * from "./DescribeDatasetExportJobCommand";
|
|
@@ -27,11 +31,13 @@ export * from "./DescribeEventTrackerCommand";
|
|
|
27
31
|
export * from "./DescribeFeatureTransformationCommand";
|
|
28
32
|
export * from "./DescribeFilterCommand";
|
|
29
33
|
export * from "./DescribeRecipeCommand";
|
|
34
|
+
export * from "./DescribeRecommenderCommand";
|
|
30
35
|
export * from "./DescribeSchemaCommand";
|
|
31
36
|
export * from "./DescribeSolutionCommand";
|
|
32
37
|
export * from "./DescribeSolutionVersionCommand";
|
|
33
38
|
export * from "./GetSolutionMetricsCommand";
|
|
34
39
|
export * from "./ListBatchInferenceJobsCommand";
|
|
40
|
+
export * from "./ListBatchSegmentJobsCommand";
|
|
35
41
|
export * from "./ListCampaignsCommand";
|
|
36
42
|
export * from "./ListDatasetExportJobsCommand";
|
|
37
43
|
export * from "./ListDatasetGroupsCommand";
|
|
@@ -40,8 +46,10 @@ export * from "./ListDatasetsCommand";
|
|
|
40
46
|
export * from "./ListEventTrackersCommand";
|
|
41
47
|
export * from "./ListFiltersCommand";
|
|
42
48
|
export * from "./ListRecipesCommand";
|
|
49
|
+
export * from "./ListRecommendersCommand";
|
|
43
50
|
export * from "./ListSchemasCommand";
|
|
44
51
|
export * from "./ListSolutionVersionsCommand";
|
|
45
52
|
export * from "./ListSolutionsCommand";
|
|
46
53
|
export * from "./StopSolutionVersionCreationCommand";
|
|
47
54
|
export * from "./UpdateCampaignCommand";
|
|
55
|
+
export * from "./UpdateRecommenderCommand";
|
package/dist-es/endpoints.js
CHANGED
|
@@ -48,26 +48,22 @@ export var CreateBatchInferenceJobResponse;
|
|
|
48
48
|
(function (CreateBatchInferenceJobResponse) {
|
|
49
49
|
CreateBatchInferenceJobResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
50
50
|
})(CreateBatchInferenceJobResponse || (CreateBatchInferenceJobResponse = {}));
|
|
51
|
-
export var
|
|
52
|
-
(function (
|
|
53
|
-
|
|
54
|
-
})(
|
|
55
|
-
export var
|
|
56
|
-
(function (
|
|
57
|
-
|
|
58
|
-
})(
|
|
59
|
-
export var
|
|
60
|
-
(function (
|
|
61
|
-
|
|
62
|
-
})(
|
|
63
|
-
export var
|
|
64
|
-
(function (
|
|
65
|
-
|
|
66
|
-
})(
|
|
67
|
-
export var ResourceNotFoundException;
|
|
68
|
-
(function (ResourceNotFoundException) {
|
|
69
|
-
ResourceNotFoundException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
70
|
-
})(ResourceNotFoundException || (ResourceNotFoundException = {}));
|
|
51
|
+
export var BatchSegmentJobInput;
|
|
52
|
+
(function (BatchSegmentJobInput) {
|
|
53
|
+
BatchSegmentJobInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
54
|
+
})(BatchSegmentJobInput || (BatchSegmentJobInput = {}));
|
|
55
|
+
export var BatchSegmentJobOutput;
|
|
56
|
+
(function (BatchSegmentJobOutput) {
|
|
57
|
+
BatchSegmentJobOutput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
58
|
+
})(BatchSegmentJobOutput || (BatchSegmentJobOutput = {}));
|
|
59
|
+
export var CreateBatchSegmentJobRequest;
|
|
60
|
+
(function (CreateBatchSegmentJobRequest) {
|
|
61
|
+
CreateBatchSegmentJobRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
62
|
+
})(CreateBatchSegmentJobRequest || (CreateBatchSegmentJobRequest = {}));
|
|
63
|
+
export var CreateBatchSegmentJobResponse;
|
|
64
|
+
(function (CreateBatchSegmentJobResponse) {
|
|
65
|
+
CreateBatchSegmentJobResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
66
|
+
})(CreateBatchSegmentJobResponse || (CreateBatchSegmentJobResponse = {}));
|
|
71
67
|
export var CampaignConfig;
|
|
72
68
|
(function (CampaignConfig) {
|
|
73
69
|
CampaignConfig.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -106,6 +102,11 @@ export var CreateDatasetExportJobResponse;
|
|
|
106
102
|
(function (CreateDatasetExportJobResponse) {
|
|
107
103
|
CreateDatasetExportJobResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
108
104
|
})(CreateDatasetExportJobResponse || (CreateDatasetExportJobResponse = {}));
|
|
105
|
+
export var Domain;
|
|
106
|
+
(function (Domain) {
|
|
107
|
+
Domain["ECOMMERCE"] = "ECOMMERCE";
|
|
108
|
+
Domain["VIDEO_ON_DEMAND"] = "VIDEO_ON_DEMAND";
|
|
109
|
+
})(Domain || (Domain = {}));
|
|
109
110
|
export var CreateDatasetGroupRequest;
|
|
110
111
|
(function (CreateDatasetGroupRequest) {
|
|
111
112
|
CreateDatasetGroupRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -142,6 +143,18 @@ export var CreateFilterResponse;
|
|
|
142
143
|
(function (CreateFilterResponse) {
|
|
143
144
|
CreateFilterResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
144
145
|
})(CreateFilterResponse || (CreateFilterResponse = {}));
|
|
146
|
+
export var RecommenderConfig;
|
|
147
|
+
(function (RecommenderConfig) {
|
|
148
|
+
RecommenderConfig.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
149
|
+
})(RecommenderConfig || (RecommenderConfig = {}));
|
|
150
|
+
export var CreateRecommenderRequest;
|
|
151
|
+
(function (CreateRecommenderRequest) {
|
|
152
|
+
CreateRecommenderRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
153
|
+
})(CreateRecommenderRequest || (CreateRecommenderRequest = {}));
|
|
154
|
+
export var CreateRecommenderResponse;
|
|
155
|
+
(function (CreateRecommenderResponse) {
|
|
156
|
+
CreateRecommenderResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
157
|
+
})(CreateRecommenderResponse || (CreateRecommenderResponse = {}));
|
|
145
158
|
export var CreateSchemaRequest;
|
|
146
159
|
(function (CreateSchemaRequest) {
|
|
147
160
|
CreateSchemaRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -238,6 +251,10 @@ export var DeleteFilterRequest;
|
|
|
238
251
|
(function (DeleteFilterRequest) {
|
|
239
252
|
DeleteFilterRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
240
253
|
})(DeleteFilterRequest || (DeleteFilterRequest = {}));
|
|
254
|
+
export var DeleteRecommenderRequest;
|
|
255
|
+
(function (DeleteRecommenderRequest) {
|
|
256
|
+
DeleteRecommenderRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
257
|
+
})(DeleteRecommenderRequest || (DeleteRecommenderRequest = {}));
|
|
241
258
|
export var DeleteSchemaRequest;
|
|
242
259
|
(function (DeleteSchemaRequest) {
|
|
243
260
|
DeleteSchemaRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -266,6 +283,18 @@ export var DescribeBatchInferenceJobResponse;
|
|
|
266
283
|
(function (DescribeBatchInferenceJobResponse) {
|
|
267
284
|
DescribeBatchInferenceJobResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
268
285
|
})(DescribeBatchInferenceJobResponse || (DescribeBatchInferenceJobResponse = {}));
|
|
286
|
+
export var DescribeBatchSegmentJobRequest;
|
|
287
|
+
(function (DescribeBatchSegmentJobRequest) {
|
|
288
|
+
DescribeBatchSegmentJobRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
289
|
+
})(DescribeBatchSegmentJobRequest || (DescribeBatchSegmentJobRequest = {}));
|
|
290
|
+
export var BatchSegmentJob;
|
|
291
|
+
(function (BatchSegmentJob) {
|
|
292
|
+
BatchSegmentJob.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
293
|
+
})(BatchSegmentJob || (BatchSegmentJob = {}));
|
|
294
|
+
export var DescribeBatchSegmentJobResponse;
|
|
295
|
+
(function (DescribeBatchSegmentJobResponse) {
|
|
296
|
+
DescribeBatchSegmentJobResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
297
|
+
})(DescribeBatchSegmentJobResponse || (DescribeBatchSegmentJobResponse = {}));
|
|
269
298
|
export var DescribeCampaignRequest;
|
|
270
299
|
(function (DescribeCampaignRequest) {
|
|
271
300
|
DescribeCampaignRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -378,6 +407,22 @@ export var DescribeRecipeResponse;
|
|
|
378
407
|
(function (DescribeRecipeResponse) {
|
|
379
408
|
DescribeRecipeResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
380
409
|
})(DescribeRecipeResponse || (DescribeRecipeResponse = {}));
|
|
410
|
+
export var DescribeRecommenderRequest;
|
|
411
|
+
(function (DescribeRecommenderRequest) {
|
|
412
|
+
DescribeRecommenderRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
413
|
+
})(DescribeRecommenderRequest || (DescribeRecommenderRequest = {}));
|
|
414
|
+
export var RecommenderUpdateSummary;
|
|
415
|
+
(function (RecommenderUpdateSummary) {
|
|
416
|
+
RecommenderUpdateSummary.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
417
|
+
})(RecommenderUpdateSummary || (RecommenderUpdateSummary = {}));
|
|
418
|
+
export var Recommender;
|
|
419
|
+
(function (Recommender) {
|
|
420
|
+
Recommender.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
421
|
+
})(Recommender || (Recommender = {}));
|
|
422
|
+
export var DescribeRecommenderResponse;
|
|
423
|
+
(function (DescribeRecommenderResponse) {
|
|
424
|
+
DescribeRecommenderResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
425
|
+
})(DescribeRecommenderResponse || (DescribeRecommenderResponse = {}));
|
|
381
426
|
export var DescribeSchemaRequest;
|
|
382
427
|
(function (DescribeSchemaRequest) {
|
|
383
428
|
DescribeSchemaRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -434,10 +479,6 @@ export var GetSolutionMetricsResponse;
|
|
|
434
479
|
(function (GetSolutionMetricsResponse) {
|
|
435
480
|
GetSolutionMetricsResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
436
481
|
})(GetSolutionMetricsResponse || (GetSolutionMetricsResponse = {}));
|
|
437
|
-
export var InvalidNextTokenException;
|
|
438
|
-
(function (InvalidNextTokenException) {
|
|
439
|
-
InvalidNextTokenException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
440
|
-
})(InvalidNextTokenException || (InvalidNextTokenException = {}));
|
|
441
482
|
export var ListBatchInferenceJobsRequest;
|
|
442
483
|
(function (ListBatchInferenceJobsRequest) {
|
|
443
484
|
ListBatchInferenceJobsRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -450,6 +491,18 @@ export var ListBatchInferenceJobsResponse;
|
|
|
450
491
|
(function (ListBatchInferenceJobsResponse) {
|
|
451
492
|
ListBatchInferenceJobsResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
452
493
|
})(ListBatchInferenceJobsResponse || (ListBatchInferenceJobsResponse = {}));
|
|
494
|
+
export var ListBatchSegmentJobsRequest;
|
|
495
|
+
(function (ListBatchSegmentJobsRequest) {
|
|
496
|
+
ListBatchSegmentJobsRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
497
|
+
})(ListBatchSegmentJobsRequest || (ListBatchSegmentJobsRequest = {}));
|
|
498
|
+
export var BatchSegmentJobSummary;
|
|
499
|
+
(function (BatchSegmentJobSummary) {
|
|
500
|
+
BatchSegmentJobSummary.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
501
|
+
})(BatchSegmentJobSummary || (BatchSegmentJobSummary = {}));
|
|
502
|
+
export var ListBatchSegmentJobsResponse;
|
|
503
|
+
(function (ListBatchSegmentJobsResponse) {
|
|
504
|
+
ListBatchSegmentJobsResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
505
|
+
})(ListBatchSegmentJobsResponse || (ListBatchSegmentJobsResponse = {}));
|
|
453
506
|
export var ListCampaignsRequest;
|
|
454
507
|
(function (ListCampaignsRequest) {
|
|
455
508
|
ListCampaignsRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -550,6 +603,18 @@ export var ListRecipesResponse;
|
|
|
550
603
|
(function (ListRecipesResponse) {
|
|
551
604
|
ListRecipesResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
552
605
|
})(ListRecipesResponse || (ListRecipesResponse = {}));
|
|
606
|
+
export var ListRecommendersRequest;
|
|
607
|
+
(function (ListRecommendersRequest) {
|
|
608
|
+
ListRecommendersRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
609
|
+
})(ListRecommendersRequest || (ListRecommendersRequest = {}));
|
|
610
|
+
export var RecommenderSummary;
|
|
611
|
+
(function (RecommenderSummary) {
|
|
612
|
+
RecommenderSummary.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
613
|
+
})(RecommenderSummary || (RecommenderSummary = {}));
|
|
614
|
+
export var ListRecommendersResponse;
|
|
615
|
+
(function (ListRecommendersResponse) {
|
|
616
|
+
ListRecommendersResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
617
|
+
})(ListRecommendersResponse || (ListRecommendersResponse = {}));
|
|
553
618
|
export var ListSchemasRequest;
|
|
554
619
|
(function (ListSchemasRequest) {
|
|
555
620
|
ListSchemasRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -594,3 +659,11 @@ export var UpdateCampaignResponse;
|
|
|
594
659
|
(function (UpdateCampaignResponse) {
|
|
595
660
|
UpdateCampaignResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
596
661
|
})(UpdateCampaignResponse || (UpdateCampaignResponse = {}));
|
|
662
|
+
export var UpdateRecommenderRequest;
|
|
663
|
+
(function (UpdateRecommenderRequest) {
|
|
664
|
+
UpdateRecommenderRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
665
|
+
})(UpdateRecommenderRequest || (UpdateRecommenderRequest = {}));
|
|
666
|
+
export var UpdateRecommenderResponse;
|
|
667
|
+
(function (UpdateRecommenderResponse) {
|
|
668
|
+
UpdateRecommenderResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
669
|
+
})(UpdateRecommenderResponse || (UpdateRecommenderResponse = {}));
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
import { __asyncGenerator, __await, __awaiter, __generator, __read, __spreadArray } from "tslib";
|
|
2
|
+
import { ListBatchSegmentJobsCommand, } from "../commands/ListBatchSegmentJobsCommand";
|
|
3
|
+
import { Personalize } from "../Personalize";
|
|
4
|
+
import { PersonalizeClient } from "../PersonalizeClient";
|
|
5
|
+
var makePagedClientRequest = function (client, input) {
|
|
6
|
+
var args = [];
|
|
7
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
8
|
+
args[_i - 2] = arguments[_i];
|
|
9
|
+
}
|
|
10
|
+
return __awaiter(void 0, void 0, void 0, function () {
|
|
11
|
+
return __generator(this, function (_a) {
|
|
12
|
+
switch (_a.label) {
|
|
13
|
+
case 0: return [4, client.send.apply(client, __spreadArray([new ListBatchSegmentJobsCommand(input)], __read(args)))];
|
|
14
|
+
case 1: return [2, _a.sent()];
|
|
15
|
+
}
|
|
16
|
+
});
|
|
17
|
+
});
|
|
18
|
+
};
|
|
19
|
+
var makePagedRequest = function (client, input) {
|
|
20
|
+
var args = [];
|
|
21
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
22
|
+
args[_i - 2] = arguments[_i];
|
|
23
|
+
}
|
|
24
|
+
return __awaiter(void 0, void 0, void 0, function () {
|
|
25
|
+
return __generator(this, function (_a) {
|
|
26
|
+
switch (_a.label) {
|
|
27
|
+
case 0: return [4, client.listBatchSegmentJobs.apply(client, __spreadArray([input], __read(args)))];
|
|
28
|
+
case 1: return [2, _a.sent()];
|
|
29
|
+
}
|
|
30
|
+
});
|
|
31
|
+
});
|
|
32
|
+
};
|
|
33
|
+
export function paginateListBatchSegmentJobs(config, input) {
|
|
34
|
+
var additionalArguments = [];
|
|
35
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
36
|
+
additionalArguments[_i - 2] = arguments[_i];
|
|
37
|
+
}
|
|
38
|
+
return __asyncGenerator(this, arguments, function paginateListBatchSegmentJobs_1() {
|
|
39
|
+
var token, hasNext, page;
|
|
40
|
+
return __generator(this, function (_a) {
|
|
41
|
+
switch (_a.label) {
|
|
42
|
+
case 0:
|
|
43
|
+
token = config.startingToken || undefined;
|
|
44
|
+
hasNext = true;
|
|
45
|
+
_a.label = 1;
|
|
46
|
+
case 1:
|
|
47
|
+
if (!hasNext) return [3, 9];
|
|
48
|
+
input.nextToken = token;
|
|
49
|
+
input["maxResults"] = config.pageSize;
|
|
50
|
+
if (!(config.client instanceof Personalize)) return [3, 3];
|
|
51
|
+
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
52
|
+
case 2:
|
|
53
|
+
page = _a.sent();
|
|
54
|
+
return [3, 6];
|
|
55
|
+
case 3:
|
|
56
|
+
if (!(config.client instanceof PersonalizeClient)) return [3, 5];
|
|
57
|
+
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
58
|
+
case 4:
|
|
59
|
+
page = _a.sent();
|
|
60
|
+
return [3, 6];
|
|
61
|
+
case 5: throw new Error("Invalid client, expected Personalize | PersonalizeClient");
|
|
62
|
+
case 6: return [4, __await(page)];
|
|
63
|
+
case 7: return [4, _a.sent()];
|
|
64
|
+
case 8:
|
|
65
|
+
_a.sent();
|
|
66
|
+
token = page.nextToken;
|
|
67
|
+
hasNext = !!token;
|
|
68
|
+
return [3, 1];
|
|
69
|
+
case 9: return [4, __await(undefined)];
|
|
70
|
+
case 10: return [2, _a.sent()];
|
|
71
|
+
}
|
|
72
|
+
});
|
|
73
|
+
});
|
|
74
|
+
}
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
import { __asyncGenerator, __await, __awaiter, __generator, __read, __spreadArray } from "tslib";
|
|
2
|
+
import { ListRecommendersCommand, } from "../commands/ListRecommendersCommand";
|
|
3
|
+
import { Personalize } from "../Personalize";
|
|
4
|
+
import { PersonalizeClient } from "../PersonalizeClient";
|
|
5
|
+
var makePagedClientRequest = function (client, input) {
|
|
6
|
+
var args = [];
|
|
7
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
8
|
+
args[_i - 2] = arguments[_i];
|
|
9
|
+
}
|
|
10
|
+
return __awaiter(void 0, void 0, void 0, function () {
|
|
11
|
+
return __generator(this, function (_a) {
|
|
12
|
+
switch (_a.label) {
|
|
13
|
+
case 0: return [4, client.send.apply(client, __spreadArray([new ListRecommendersCommand(input)], __read(args)))];
|
|
14
|
+
case 1: return [2, _a.sent()];
|
|
15
|
+
}
|
|
16
|
+
});
|
|
17
|
+
});
|
|
18
|
+
};
|
|
19
|
+
var makePagedRequest = function (client, input) {
|
|
20
|
+
var args = [];
|
|
21
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
22
|
+
args[_i - 2] = arguments[_i];
|
|
23
|
+
}
|
|
24
|
+
return __awaiter(void 0, void 0, void 0, function () {
|
|
25
|
+
return __generator(this, function (_a) {
|
|
26
|
+
switch (_a.label) {
|
|
27
|
+
case 0: return [4, client.listRecommenders.apply(client, __spreadArray([input], __read(args)))];
|
|
28
|
+
case 1: return [2, _a.sent()];
|
|
29
|
+
}
|
|
30
|
+
});
|
|
31
|
+
});
|
|
32
|
+
};
|
|
33
|
+
export function paginateListRecommenders(config, input) {
|
|
34
|
+
var additionalArguments = [];
|
|
35
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
36
|
+
additionalArguments[_i - 2] = arguments[_i];
|
|
37
|
+
}
|
|
38
|
+
return __asyncGenerator(this, arguments, function paginateListRecommenders_1() {
|
|
39
|
+
var token, hasNext, page;
|
|
40
|
+
return __generator(this, function (_a) {
|
|
41
|
+
switch (_a.label) {
|
|
42
|
+
case 0:
|
|
43
|
+
token = config.startingToken || undefined;
|
|
44
|
+
hasNext = true;
|
|
45
|
+
_a.label = 1;
|
|
46
|
+
case 1:
|
|
47
|
+
if (!hasNext) return [3, 9];
|
|
48
|
+
input.nextToken = token;
|
|
49
|
+
input["maxResults"] = config.pageSize;
|
|
50
|
+
if (!(config.client instanceof Personalize)) return [3, 3];
|
|
51
|
+
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
52
|
+
case 2:
|
|
53
|
+
page = _a.sent();
|
|
54
|
+
return [3, 6];
|
|
55
|
+
case 3:
|
|
56
|
+
if (!(config.client instanceof PersonalizeClient)) return [3, 5];
|
|
57
|
+
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
58
|
+
case 4:
|
|
59
|
+
page = _a.sent();
|
|
60
|
+
return [3, 6];
|
|
61
|
+
case 5: throw new Error("Invalid client, expected Personalize | PersonalizeClient");
|
|
62
|
+
case 6: return [4, __await(page)];
|
|
63
|
+
case 7: return [4, _a.sent()];
|
|
64
|
+
case 8:
|
|
65
|
+
_a.sent();
|
|
66
|
+
token = page.nextToken;
|
|
67
|
+
hasNext = !!token;
|
|
68
|
+
return [3, 1];
|
|
69
|
+
case 9: return [4, __await(undefined)];
|
|
70
|
+
case 10: return [2, _a.sent()];
|
|
71
|
+
}
|
|
72
|
+
});
|
|
73
|
+
});
|
|
74
|
+
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
export * from "./Interfaces";
|
|
2
2
|
export * from "./ListBatchInferenceJobsPaginator";
|
|
3
|
+
export * from "./ListBatchSegmentJobsPaginator";
|
|
3
4
|
export * from "./ListCampaignsPaginator";
|
|
4
5
|
export * from "./ListDatasetExportJobsPaginator";
|
|
5
6
|
export * from "./ListDatasetGroupsPaginator";
|
|
@@ -8,6 +9,7 @@ export * from "./ListDatasetsPaginator";
|
|
|
8
9
|
export * from "./ListEventTrackersPaginator";
|
|
9
10
|
export * from "./ListFiltersPaginator";
|
|
10
11
|
export * from "./ListRecipesPaginator";
|
|
12
|
+
export * from "./ListRecommendersPaginator";
|
|
11
13
|
export * from "./ListSchemasPaginator";
|
|
12
14
|
export * from "./ListSolutionVersionsPaginator";
|
|
13
15
|
export * from "./ListSolutionsPaginator";
|