@aws-sdk/client-rekognition 3.76.0 → 3.80.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 +30 -0
- package/README.md +198 -1
- package/dist-cjs/Rekognition.js +15 -0
- package/dist-cjs/commands/UpdateStreamProcessorCommand.js +36 -0
- package/dist-cjs/commands/index.js +1 -0
- package/dist-cjs/models/models_0.js +89 -17
- package/dist-cjs/pagination/DescribeProjectVersionsPaginator.js +2 -1
- package/dist-cjs/pagination/DescribeProjectsPaginator.js +2 -1
- package/dist-cjs/pagination/GetCelebrityRecognitionPaginator.js +2 -1
- package/dist-cjs/pagination/GetContentModerationPaginator.js +2 -1
- package/dist-cjs/pagination/GetFaceDetectionPaginator.js +2 -1
- package/dist-cjs/pagination/GetFaceSearchPaginator.js +2 -1
- package/dist-cjs/pagination/GetLabelDetectionPaginator.js +2 -1
- package/dist-cjs/pagination/GetPersonTrackingPaginator.js +2 -1
- package/dist-cjs/pagination/GetSegmentDetectionPaginator.js +2 -1
- package/dist-cjs/pagination/GetTextDetectionPaginator.js +2 -1
- package/dist-cjs/pagination/ListCollectionsPaginator.js +2 -1
- package/dist-cjs/pagination/ListDatasetEntriesPaginator.js +2 -1
- package/dist-cjs/pagination/ListDatasetLabelsPaginator.js +2 -1
- package/dist-cjs/pagination/ListFacesPaginator.js +2 -1
- package/dist-cjs/pagination/ListStreamProcessorsPaginator.js +2 -1
- package/dist-cjs/protocols/Aws_json1_1.js +291 -3
- package/dist-es/Rekognition.js +15 -0
- package/dist-es/commands/UpdateStreamProcessorCommand.js +39 -0
- package/dist-es/commands/index.js +1 -0
- package/dist-es/models/models_0.js +58 -8
- package/dist-es/pagination/DescribeProjectVersionsPaginator.js +3 -2
- package/dist-es/pagination/DescribeProjectsPaginator.js +3 -2
- package/dist-es/pagination/GetCelebrityRecognitionPaginator.js +3 -2
- package/dist-es/pagination/GetContentModerationPaginator.js +3 -2
- package/dist-es/pagination/GetFaceDetectionPaginator.js +3 -2
- package/dist-es/pagination/GetFaceSearchPaginator.js +3 -2
- package/dist-es/pagination/GetLabelDetectionPaginator.js +3 -2
- package/dist-es/pagination/GetPersonTrackingPaginator.js +3 -2
- package/dist-es/pagination/GetSegmentDetectionPaginator.js +3 -2
- package/dist-es/pagination/GetTextDetectionPaginator.js +3 -2
- package/dist-es/pagination/ListCollectionsPaginator.js +3 -2
- package/dist-es/pagination/ListDatasetEntriesPaginator.js +3 -2
- package/dist-es/pagination/ListDatasetLabelsPaginator.js +3 -2
- package/dist-es/pagination/ListFacesPaginator.js +3 -2
- package/dist-es/pagination/ListStreamProcessorsPaginator.js +3 -2
- package/dist-es/protocols/Aws_json1_1.js +277 -9
- package/dist-types/Rekognition.d.ts +247 -24
- package/dist-types/RekognitionClient.d.ts +205 -3
- package/dist-types/commands/CreateStreamProcessorCommand.d.ts +17 -6
- package/dist-types/commands/DeleteCollectionCommand.d.ts +1 -1
- package/dist-types/commands/DetectLabelsCommand.d.ts +1 -1
- package/dist-types/commands/DetectTextCommand.d.ts +1 -1
- package/dist-types/commands/GetCelebrityInfoCommand.d.ts +1 -1
- package/dist-types/commands/GetContentModerationCommand.d.ts +1 -1
- package/dist-types/commands/GetSegmentDetectionCommand.d.ts +1 -1
- package/dist-types/commands/IndexFacesCommand.d.ts +2 -2
- package/dist-types/commands/ListCollectionsCommand.d.ts +1 -1
- package/dist-types/commands/RecognizeCelebritiesCommand.d.ts +2 -2
- package/dist-types/commands/SearchFacesCommand.d.ts +1 -1
- package/dist-types/commands/StartCelebrityRecognitionCommand.d.ts +1 -1
- package/dist-types/commands/StartContentModerationCommand.d.ts +1 -1
- package/dist-types/commands/StartFaceDetectionCommand.d.ts +1 -1
- package/dist-types/commands/StartFaceSearchCommand.d.ts +2 -1
- package/dist-types/commands/StartSegmentDetectionCommand.d.ts +1 -1
- package/dist-types/commands/StartStreamProcessorCommand.d.ts +1 -0
- package/dist-types/commands/UpdateStreamProcessorCommand.d.ts +37 -0
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +450 -84
- package/dist-types/protocols/Aws_json1_1.d.ts +3 -0
- package/dist-types/ts3.4/Rekognition.d.ts +5 -0
- package/dist-types/ts3.4/RekognitionClient.d.ts +3 -2
- package/dist-types/ts3.4/commands/UpdateStreamProcessorCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +165 -21
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +3 -0
- package/package.json +26 -26
|
@@ -335,6 +335,14 @@ var ThrottlingException = (function (_super) {
|
|
|
335
335
|
return ThrottlingException;
|
|
336
336
|
}(__BaseException));
|
|
337
337
|
export { ThrottlingException };
|
|
338
|
+
export var ConnectedHomeSettings;
|
|
339
|
+
(function (ConnectedHomeSettings) {
|
|
340
|
+
ConnectedHomeSettings.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
341
|
+
})(ConnectedHomeSettings || (ConnectedHomeSettings = {}));
|
|
342
|
+
export var ConnectedHomeSettingsForUpdate;
|
|
343
|
+
(function (ConnectedHomeSettingsForUpdate) {
|
|
344
|
+
ConnectedHomeSettingsForUpdate.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
345
|
+
})(ConnectedHomeSettingsForUpdate || (ConnectedHomeSettingsForUpdate = {}));
|
|
338
346
|
export var ContentClassifier;
|
|
339
347
|
(function (ContentClassifier) {
|
|
340
348
|
ContentClassifier["FREE_OF_ADULT_CONTENT"] = "FreeOfAdultContent";
|
|
@@ -481,6 +489,10 @@ export var CreateProjectVersionResponse;
|
|
|
481
489
|
(function (CreateProjectVersionResponse) {
|
|
482
490
|
CreateProjectVersionResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
483
491
|
})(CreateProjectVersionResponse || (CreateProjectVersionResponse = {}));
|
|
492
|
+
export var StreamProcessorDataSharingPreference;
|
|
493
|
+
(function (StreamProcessorDataSharingPreference) {
|
|
494
|
+
StreamProcessorDataSharingPreference.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
495
|
+
})(StreamProcessorDataSharingPreference || (StreamProcessorDataSharingPreference = {}));
|
|
484
496
|
export var KinesisVideoStream;
|
|
485
497
|
(function (KinesisVideoStream) {
|
|
486
498
|
KinesisVideoStream.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -489,14 +501,30 @@ export var StreamProcessorInput;
|
|
|
489
501
|
(function (StreamProcessorInput) {
|
|
490
502
|
StreamProcessorInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
491
503
|
})(StreamProcessorInput || (StreamProcessorInput = {}));
|
|
504
|
+
export var StreamProcessorNotificationChannel;
|
|
505
|
+
(function (StreamProcessorNotificationChannel) {
|
|
506
|
+
StreamProcessorNotificationChannel.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
507
|
+
})(StreamProcessorNotificationChannel || (StreamProcessorNotificationChannel = {}));
|
|
492
508
|
export var KinesisDataStream;
|
|
493
509
|
(function (KinesisDataStream) {
|
|
494
510
|
KinesisDataStream.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
495
511
|
})(KinesisDataStream || (KinesisDataStream = {}));
|
|
512
|
+
export var S3Destination;
|
|
513
|
+
(function (S3Destination) {
|
|
514
|
+
S3Destination.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
515
|
+
})(S3Destination || (S3Destination = {}));
|
|
496
516
|
export var StreamProcessorOutput;
|
|
497
517
|
(function (StreamProcessorOutput) {
|
|
498
518
|
StreamProcessorOutput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
499
519
|
})(StreamProcessorOutput || (StreamProcessorOutput = {}));
|
|
520
|
+
export var Point;
|
|
521
|
+
(function (Point) {
|
|
522
|
+
Point.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
523
|
+
})(Point || (Point = {}));
|
|
524
|
+
export var RegionOfInterest;
|
|
525
|
+
(function (RegionOfInterest) {
|
|
526
|
+
RegionOfInterest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
527
|
+
})(RegionOfInterest || (RegionOfInterest = {}));
|
|
500
528
|
export var FaceSearchSettings;
|
|
501
529
|
(function (FaceSearchSettings) {
|
|
502
530
|
FaceSearchSettings.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -513,10 +541,6 @@ export var CreateStreamProcessorResponse;
|
|
|
513
541
|
(function (CreateStreamProcessorResponse) {
|
|
514
542
|
CreateStreamProcessorResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
515
543
|
})(CreateStreamProcessorResponse || (CreateStreamProcessorResponse = {}));
|
|
516
|
-
export var Point;
|
|
517
|
-
(function (Point) {
|
|
518
|
-
Point.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
519
|
-
})(Point || (Point = {}));
|
|
520
544
|
export var Geometry;
|
|
521
545
|
(function (Geometry) {
|
|
522
546
|
Geometry.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -717,6 +741,7 @@ export var StreamProcessorStatus;
|
|
|
717
741
|
StreamProcessorStatus["STARTING"] = "STARTING";
|
|
718
742
|
StreamProcessorStatus["STOPPED"] = "STOPPED";
|
|
719
743
|
StreamProcessorStatus["STOPPING"] = "STOPPING";
|
|
744
|
+
StreamProcessorStatus["UPDATING"] = "UPDATING";
|
|
720
745
|
})(StreamProcessorStatus || (StreamProcessorStatus = {}));
|
|
721
746
|
export var DescribeStreamProcessorResponse;
|
|
722
747
|
(function (DescribeStreamProcessorResponse) {
|
|
@@ -835,10 +860,6 @@ export var DetectProtectiveEquipmentResponse;
|
|
|
835
860
|
(function (DetectProtectiveEquipmentResponse) {
|
|
836
861
|
DetectProtectiveEquipmentResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
837
862
|
})(DetectProtectiveEquipmentResponse || (DetectProtectiveEquipmentResponse = {}));
|
|
838
|
-
export var RegionOfInterest;
|
|
839
|
-
(function (RegionOfInterest) {
|
|
840
|
-
RegionOfInterest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
841
|
-
})(RegionOfInterest || (RegionOfInterest = {}));
|
|
842
863
|
export var DetectTextFilters;
|
|
843
864
|
(function (DetectTextFilters) {
|
|
844
865
|
DetectTextFilters.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -1083,6 +1104,10 @@ export var IndexFacesResponse;
|
|
|
1083
1104
|
(function (IndexFacesResponse) {
|
|
1084
1105
|
IndexFacesResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
1085
1106
|
})(IndexFacesResponse || (IndexFacesResponse = {}));
|
|
1107
|
+
export var KinesisVideoStreamStartSelector;
|
|
1108
|
+
(function (KinesisVideoStreamStartSelector) {
|
|
1109
|
+
KinesisVideoStreamStartSelector.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
1110
|
+
})(KinesisVideoStreamStartSelector || (KinesisVideoStreamStartSelector = {}));
|
|
1086
1111
|
export var ListCollectionsRequest;
|
|
1087
1112
|
(function (ListCollectionsRequest) {
|
|
1088
1113
|
ListCollectionsRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -1258,6 +1283,14 @@ export var StartSegmentDetectionResponse;
|
|
|
1258
1283
|
(function (StartSegmentDetectionResponse) {
|
|
1259
1284
|
StartSegmentDetectionResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
1260
1285
|
})(StartSegmentDetectionResponse || (StartSegmentDetectionResponse = {}));
|
|
1286
|
+
export var StreamProcessingStartSelector;
|
|
1287
|
+
(function (StreamProcessingStartSelector) {
|
|
1288
|
+
StreamProcessingStartSelector.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
1289
|
+
})(StreamProcessingStartSelector || (StreamProcessingStartSelector = {}));
|
|
1290
|
+
export var StreamProcessingStopSelector;
|
|
1291
|
+
(function (StreamProcessingStopSelector) {
|
|
1292
|
+
StreamProcessingStopSelector.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
1293
|
+
})(StreamProcessingStopSelector || (StreamProcessingStopSelector = {}));
|
|
1261
1294
|
export var StartStreamProcessorRequest;
|
|
1262
1295
|
(function (StartStreamProcessorRequest) {
|
|
1263
1296
|
StartStreamProcessorRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -1318,3 +1351,20 @@ export var UpdateDatasetEntriesResponse;
|
|
|
1318
1351
|
(function (UpdateDatasetEntriesResponse) {
|
|
1319
1352
|
UpdateDatasetEntriesResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
1320
1353
|
})(UpdateDatasetEntriesResponse || (UpdateDatasetEntriesResponse = {}));
|
|
1354
|
+
export var StreamProcessorParameterToDelete;
|
|
1355
|
+
(function (StreamProcessorParameterToDelete) {
|
|
1356
|
+
StreamProcessorParameterToDelete["ConnectedHomeMinConfidence"] = "ConnectedHomeMinConfidence";
|
|
1357
|
+
StreamProcessorParameterToDelete["RegionsOfInterest"] = "RegionsOfInterest";
|
|
1358
|
+
})(StreamProcessorParameterToDelete || (StreamProcessorParameterToDelete = {}));
|
|
1359
|
+
export var StreamProcessorSettingsForUpdate;
|
|
1360
|
+
(function (StreamProcessorSettingsForUpdate) {
|
|
1361
|
+
StreamProcessorSettingsForUpdate.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
1362
|
+
})(StreamProcessorSettingsForUpdate || (StreamProcessorSettingsForUpdate = {}));
|
|
1363
|
+
export var UpdateStreamProcessorRequest;
|
|
1364
|
+
(function (UpdateStreamProcessorRequest) {
|
|
1365
|
+
UpdateStreamProcessorRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
1366
|
+
})(UpdateStreamProcessorRequest || (UpdateStreamProcessorRequest = {}));
|
|
1367
|
+
export var UpdateStreamProcessorResponse;
|
|
1368
|
+
(function (UpdateStreamProcessorResponse) {
|
|
1369
|
+
UpdateStreamProcessorResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
1370
|
+
})(UpdateStreamProcessorResponse || (UpdateStreamProcessorResponse = {}));
|
|
@@ -36,7 +36,7 @@ export function paginateDescribeProjectVersions(config, input) {
|
|
|
36
36
|
additionalArguments[_i - 2] = arguments[_i];
|
|
37
37
|
}
|
|
38
38
|
return __asyncGenerator(this, arguments, function paginateDescribeProjectVersions_1() {
|
|
39
|
-
var token, hasNext, page;
|
|
39
|
+
var token, hasNext, page, prevToken;
|
|
40
40
|
return __generator(this, function (_a) {
|
|
41
41
|
switch (_a.label) {
|
|
42
42
|
case 0:
|
|
@@ -63,8 +63,9 @@ export function paginateDescribeProjectVersions(config, input) {
|
|
|
63
63
|
case 7: return [4, _a.sent()];
|
|
64
64
|
case 8:
|
|
65
65
|
_a.sent();
|
|
66
|
+
prevToken = token;
|
|
66
67
|
token = page.NextToken;
|
|
67
|
-
hasNext = !!token;
|
|
68
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
68
69
|
return [3, 1];
|
|
69
70
|
case 9: return [4, __await(undefined)];
|
|
70
71
|
case 10: return [2, _a.sent()];
|
|
@@ -36,7 +36,7 @@ export function paginateDescribeProjects(config, input) {
|
|
|
36
36
|
additionalArguments[_i - 2] = arguments[_i];
|
|
37
37
|
}
|
|
38
38
|
return __asyncGenerator(this, arguments, function paginateDescribeProjects_1() {
|
|
39
|
-
var token, hasNext, page;
|
|
39
|
+
var token, hasNext, page, prevToken;
|
|
40
40
|
return __generator(this, function (_a) {
|
|
41
41
|
switch (_a.label) {
|
|
42
42
|
case 0:
|
|
@@ -63,8 +63,9 @@ export function paginateDescribeProjects(config, input) {
|
|
|
63
63
|
case 7: return [4, _a.sent()];
|
|
64
64
|
case 8:
|
|
65
65
|
_a.sent();
|
|
66
|
+
prevToken = token;
|
|
66
67
|
token = page.NextToken;
|
|
67
|
-
hasNext = !!token;
|
|
68
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
68
69
|
return [3, 1];
|
|
69
70
|
case 9: return [4, __await(undefined)];
|
|
70
71
|
case 10: return [2, _a.sent()];
|
|
@@ -36,7 +36,7 @@ export function paginateGetCelebrityRecognition(config, input) {
|
|
|
36
36
|
additionalArguments[_i - 2] = arguments[_i];
|
|
37
37
|
}
|
|
38
38
|
return __asyncGenerator(this, arguments, function paginateGetCelebrityRecognition_1() {
|
|
39
|
-
var token, hasNext, page;
|
|
39
|
+
var token, hasNext, page, prevToken;
|
|
40
40
|
return __generator(this, function (_a) {
|
|
41
41
|
switch (_a.label) {
|
|
42
42
|
case 0:
|
|
@@ -63,8 +63,9 @@ export function paginateGetCelebrityRecognition(config, input) {
|
|
|
63
63
|
case 7: return [4, _a.sent()];
|
|
64
64
|
case 8:
|
|
65
65
|
_a.sent();
|
|
66
|
+
prevToken = token;
|
|
66
67
|
token = page.NextToken;
|
|
67
|
-
hasNext = !!token;
|
|
68
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
68
69
|
return [3, 1];
|
|
69
70
|
case 9: return [4, __await(undefined)];
|
|
70
71
|
case 10: return [2, _a.sent()];
|
|
@@ -36,7 +36,7 @@ export function paginateGetContentModeration(config, input) {
|
|
|
36
36
|
additionalArguments[_i - 2] = arguments[_i];
|
|
37
37
|
}
|
|
38
38
|
return __asyncGenerator(this, arguments, function paginateGetContentModeration_1() {
|
|
39
|
-
var token, hasNext, page;
|
|
39
|
+
var token, hasNext, page, prevToken;
|
|
40
40
|
return __generator(this, function (_a) {
|
|
41
41
|
switch (_a.label) {
|
|
42
42
|
case 0:
|
|
@@ -63,8 +63,9 @@ export function paginateGetContentModeration(config, input) {
|
|
|
63
63
|
case 7: return [4, _a.sent()];
|
|
64
64
|
case 8:
|
|
65
65
|
_a.sent();
|
|
66
|
+
prevToken = token;
|
|
66
67
|
token = page.NextToken;
|
|
67
|
-
hasNext = !!token;
|
|
68
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
68
69
|
return [3, 1];
|
|
69
70
|
case 9: return [4, __await(undefined)];
|
|
70
71
|
case 10: return [2, _a.sent()];
|
|
@@ -36,7 +36,7 @@ export function paginateGetFaceDetection(config, input) {
|
|
|
36
36
|
additionalArguments[_i - 2] = arguments[_i];
|
|
37
37
|
}
|
|
38
38
|
return __asyncGenerator(this, arguments, function paginateGetFaceDetection_1() {
|
|
39
|
-
var token, hasNext, page;
|
|
39
|
+
var token, hasNext, page, prevToken;
|
|
40
40
|
return __generator(this, function (_a) {
|
|
41
41
|
switch (_a.label) {
|
|
42
42
|
case 0:
|
|
@@ -63,8 +63,9 @@ export function paginateGetFaceDetection(config, input) {
|
|
|
63
63
|
case 7: return [4, _a.sent()];
|
|
64
64
|
case 8:
|
|
65
65
|
_a.sent();
|
|
66
|
+
prevToken = token;
|
|
66
67
|
token = page.NextToken;
|
|
67
|
-
hasNext = !!token;
|
|
68
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
68
69
|
return [3, 1];
|
|
69
70
|
case 9: return [4, __await(undefined)];
|
|
70
71
|
case 10: return [2, _a.sent()];
|
|
@@ -36,7 +36,7 @@ export function paginateGetFaceSearch(config, input) {
|
|
|
36
36
|
additionalArguments[_i - 2] = arguments[_i];
|
|
37
37
|
}
|
|
38
38
|
return __asyncGenerator(this, arguments, function paginateGetFaceSearch_1() {
|
|
39
|
-
var token, hasNext, page;
|
|
39
|
+
var token, hasNext, page, prevToken;
|
|
40
40
|
return __generator(this, function (_a) {
|
|
41
41
|
switch (_a.label) {
|
|
42
42
|
case 0:
|
|
@@ -63,8 +63,9 @@ export function paginateGetFaceSearch(config, input) {
|
|
|
63
63
|
case 7: return [4, _a.sent()];
|
|
64
64
|
case 8:
|
|
65
65
|
_a.sent();
|
|
66
|
+
prevToken = token;
|
|
66
67
|
token = page.NextToken;
|
|
67
|
-
hasNext = !!token;
|
|
68
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
68
69
|
return [3, 1];
|
|
69
70
|
case 9: return [4, __await(undefined)];
|
|
70
71
|
case 10: return [2, _a.sent()];
|
|
@@ -36,7 +36,7 @@ export function paginateGetLabelDetection(config, input) {
|
|
|
36
36
|
additionalArguments[_i - 2] = arguments[_i];
|
|
37
37
|
}
|
|
38
38
|
return __asyncGenerator(this, arguments, function paginateGetLabelDetection_1() {
|
|
39
|
-
var token, hasNext, page;
|
|
39
|
+
var token, hasNext, page, prevToken;
|
|
40
40
|
return __generator(this, function (_a) {
|
|
41
41
|
switch (_a.label) {
|
|
42
42
|
case 0:
|
|
@@ -63,8 +63,9 @@ export function paginateGetLabelDetection(config, input) {
|
|
|
63
63
|
case 7: return [4, _a.sent()];
|
|
64
64
|
case 8:
|
|
65
65
|
_a.sent();
|
|
66
|
+
prevToken = token;
|
|
66
67
|
token = page.NextToken;
|
|
67
|
-
hasNext = !!token;
|
|
68
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
68
69
|
return [3, 1];
|
|
69
70
|
case 9: return [4, __await(undefined)];
|
|
70
71
|
case 10: return [2, _a.sent()];
|
|
@@ -36,7 +36,7 @@ export function paginateGetPersonTracking(config, input) {
|
|
|
36
36
|
additionalArguments[_i - 2] = arguments[_i];
|
|
37
37
|
}
|
|
38
38
|
return __asyncGenerator(this, arguments, function paginateGetPersonTracking_1() {
|
|
39
|
-
var token, hasNext, page;
|
|
39
|
+
var token, hasNext, page, prevToken;
|
|
40
40
|
return __generator(this, function (_a) {
|
|
41
41
|
switch (_a.label) {
|
|
42
42
|
case 0:
|
|
@@ -63,8 +63,9 @@ export function paginateGetPersonTracking(config, input) {
|
|
|
63
63
|
case 7: return [4, _a.sent()];
|
|
64
64
|
case 8:
|
|
65
65
|
_a.sent();
|
|
66
|
+
prevToken = token;
|
|
66
67
|
token = page.NextToken;
|
|
67
|
-
hasNext = !!token;
|
|
68
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
68
69
|
return [3, 1];
|
|
69
70
|
case 9: return [4, __await(undefined)];
|
|
70
71
|
case 10: return [2, _a.sent()];
|
|
@@ -36,7 +36,7 @@ export function paginateGetSegmentDetection(config, input) {
|
|
|
36
36
|
additionalArguments[_i - 2] = arguments[_i];
|
|
37
37
|
}
|
|
38
38
|
return __asyncGenerator(this, arguments, function paginateGetSegmentDetection_1() {
|
|
39
|
-
var token, hasNext, page;
|
|
39
|
+
var token, hasNext, page, prevToken;
|
|
40
40
|
return __generator(this, function (_a) {
|
|
41
41
|
switch (_a.label) {
|
|
42
42
|
case 0:
|
|
@@ -63,8 +63,9 @@ export function paginateGetSegmentDetection(config, input) {
|
|
|
63
63
|
case 7: return [4, _a.sent()];
|
|
64
64
|
case 8:
|
|
65
65
|
_a.sent();
|
|
66
|
+
prevToken = token;
|
|
66
67
|
token = page.NextToken;
|
|
67
|
-
hasNext = !!token;
|
|
68
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
68
69
|
return [3, 1];
|
|
69
70
|
case 9: return [4, __await(undefined)];
|
|
70
71
|
case 10: return [2, _a.sent()];
|
|
@@ -36,7 +36,7 @@ export function paginateGetTextDetection(config, input) {
|
|
|
36
36
|
additionalArguments[_i - 2] = arguments[_i];
|
|
37
37
|
}
|
|
38
38
|
return __asyncGenerator(this, arguments, function paginateGetTextDetection_1() {
|
|
39
|
-
var token, hasNext, page;
|
|
39
|
+
var token, hasNext, page, prevToken;
|
|
40
40
|
return __generator(this, function (_a) {
|
|
41
41
|
switch (_a.label) {
|
|
42
42
|
case 0:
|
|
@@ -63,8 +63,9 @@ export function paginateGetTextDetection(config, input) {
|
|
|
63
63
|
case 7: return [4, _a.sent()];
|
|
64
64
|
case 8:
|
|
65
65
|
_a.sent();
|
|
66
|
+
prevToken = token;
|
|
66
67
|
token = page.NextToken;
|
|
67
|
-
hasNext = !!token;
|
|
68
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
68
69
|
return [3, 1];
|
|
69
70
|
case 9: return [4, __await(undefined)];
|
|
70
71
|
case 10: return [2, _a.sent()];
|
|
@@ -36,7 +36,7 @@ export function paginateListCollections(config, input) {
|
|
|
36
36
|
additionalArguments[_i - 2] = arguments[_i];
|
|
37
37
|
}
|
|
38
38
|
return __asyncGenerator(this, arguments, function paginateListCollections_1() {
|
|
39
|
-
var token, hasNext, page;
|
|
39
|
+
var token, hasNext, page, prevToken;
|
|
40
40
|
return __generator(this, function (_a) {
|
|
41
41
|
switch (_a.label) {
|
|
42
42
|
case 0:
|
|
@@ -63,8 +63,9 @@ export function paginateListCollections(config, input) {
|
|
|
63
63
|
case 7: return [4, _a.sent()];
|
|
64
64
|
case 8:
|
|
65
65
|
_a.sent();
|
|
66
|
+
prevToken = token;
|
|
66
67
|
token = page.NextToken;
|
|
67
|
-
hasNext = !!token;
|
|
68
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
68
69
|
return [3, 1];
|
|
69
70
|
case 9: return [4, __await(undefined)];
|
|
70
71
|
case 10: return [2, _a.sent()];
|
|
@@ -36,7 +36,7 @@ export function paginateListDatasetEntries(config, input) {
|
|
|
36
36
|
additionalArguments[_i - 2] = arguments[_i];
|
|
37
37
|
}
|
|
38
38
|
return __asyncGenerator(this, arguments, function paginateListDatasetEntries_1() {
|
|
39
|
-
var token, hasNext, page;
|
|
39
|
+
var token, hasNext, page, prevToken;
|
|
40
40
|
return __generator(this, function (_a) {
|
|
41
41
|
switch (_a.label) {
|
|
42
42
|
case 0:
|
|
@@ -63,8 +63,9 @@ export function paginateListDatasetEntries(config, input) {
|
|
|
63
63
|
case 7: return [4, _a.sent()];
|
|
64
64
|
case 8:
|
|
65
65
|
_a.sent();
|
|
66
|
+
prevToken = token;
|
|
66
67
|
token = page.NextToken;
|
|
67
|
-
hasNext = !!token;
|
|
68
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
68
69
|
return [3, 1];
|
|
69
70
|
case 9: return [4, __await(undefined)];
|
|
70
71
|
case 10: return [2, _a.sent()];
|
|
@@ -36,7 +36,7 @@ export function paginateListDatasetLabels(config, input) {
|
|
|
36
36
|
additionalArguments[_i - 2] = arguments[_i];
|
|
37
37
|
}
|
|
38
38
|
return __asyncGenerator(this, arguments, function paginateListDatasetLabels_1() {
|
|
39
|
-
var token, hasNext, page;
|
|
39
|
+
var token, hasNext, page, prevToken;
|
|
40
40
|
return __generator(this, function (_a) {
|
|
41
41
|
switch (_a.label) {
|
|
42
42
|
case 0:
|
|
@@ -63,8 +63,9 @@ export function paginateListDatasetLabels(config, input) {
|
|
|
63
63
|
case 7: return [4, _a.sent()];
|
|
64
64
|
case 8:
|
|
65
65
|
_a.sent();
|
|
66
|
+
prevToken = token;
|
|
66
67
|
token = page.NextToken;
|
|
67
|
-
hasNext = !!token;
|
|
68
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
68
69
|
return [3, 1];
|
|
69
70
|
case 9: return [4, __await(undefined)];
|
|
70
71
|
case 10: return [2, _a.sent()];
|
|
@@ -36,7 +36,7 @@ export function paginateListFaces(config, input) {
|
|
|
36
36
|
additionalArguments[_i - 2] = arguments[_i];
|
|
37
37
|
}
|
|
38
38
|
return __asyncGenerator(this, arguments, function paginateListFaces_1() {
|
|
39
|
-
var token, hasNext, page;
|
|
39
|
+
var token, hasNext, page, prevToken;
|
|
40
40
|
return __generator(this, function (_a) {
|
|
41
41
|
switch (_a.label) {
|
|
42
42
|
case 0:
|
|
@@ -63,8 +63,9 @@ export function paginateListFaces(config, input) {
|
|
|
63
63
|
case 7: return [4, _a.sent()];
|
|
64
64
|
case 8:
|
|
65
65
|
_a.sent();
|
|
66
|
+
prevToken = token;
|
|
66
67
|
token = page.NextToken;
|
|
67
|
-
hasNext = !!token;
|
|
68
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
68
69
|
return [3, 1];
|
|
69
70
|
case 9: return [4, __await(undefined)];
|
|
70
71
|
case 10: return [2, _a.sent()];
|
|
@@ -36,7 +36,7 @@ export function paginateListStreamProcessors(config, input) {
|
|
|
36
36
|
additionalArguments[_i - 2] = arguments[_i];
|
|
37
37
|
}
|
|
38
38
|
return __asyncGenerator(this, arguments, function paginateListStreamProcessors_1() {
|
|
39
|
-
var token, hasNext, page;
|
|
39
|
+
var token, hasNext, page, prevToken;
|
|
40
40
|
return __generator(this, function (_a) {
|
|
41
41
|
switch (_a.label) {
|
|
42
42
|
case 0:
|
|
@@ -63,8 +63,9 @@ export function paginateListStreamProcessors(config, input) {
|
|
|
63
63
|
case 7: return [4, _a.sent()];
|
|
64
64
|
case 8:
|
|
65
65
|
_a.sent();
|
|
66
|
+
prevToken = token;
|
|
66
67
|
token = page.NextToken;
|
|
67
|
-
hasNext = !!token;
|
|
68
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
68
69
|
return [3, 1];
|
|
69
70
|
case 9: return [4, __await(undefined)];
|
|
70
71
|
case 10: return [2, _a.sent()];
|