@aws-sdk/client-rekognition 3.975.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 +105 -81
- package/dist-es/Rekognition.js +45 -1
- package/dist-types/Rekognition.d.ts +140 -1
- package/dist-types/ts3.4/Rekognition.d.ts +151 -1
- package/package.json +17 -17
package/dist-cjs/index.js
CHANGED
|
@@ -4205,87 +4205,6 @@ class UpdateStreamProcessorCommand extends smithyClient.Command
|
|
|
4205
4205
|
.build() {
|
|
4206
4206
|
}
|
|
4207
4207
|
|
|
4208
|
-
const commands = {
|
|
4209
|
-
AssociateFacesCommand,
|
|
4210
|
-
CompareFacesCommand,
|
|
4211
|
-
CopyProjectVersionCommand,
|
|
4212
|
-
CreateCollectionCommand,
|
|
4213
|
-
CreateDatasetCommand,
|
|
4214
|
-
CreateFaceLivenessSessionCommand,
|
|
4215
|
-
CreateProjectCommand,
|
|
4216
|
-
CreateProjectVersionCommand,
|
|
4217
|
-
CreateStreamProcessorCommand,
|
|
4218
|
-
CreateUserCommand,
|
|
4219
|
-
DeleteCollectionCommand,
|
|
4220
|
-
DeleteDatasetCommand,
|
|
4221
|
-
DeleteFacesCommand,
|
|
4222
|
-
DeleteProjectCommand,
|
|
4223
|
-
DeleteProjectPolicyCommand,
|
|
4224
|
-
DeleteProjectVersionCommand,
|
|
4225
|
-
DeleteStreamProcessorCommand,
|
|
4226
|
-
DeleteUserCommand,
|
|
4227
|
-
DescribeCollectionCommand,
|
|
4228
|
-
DescribeDatasetCommand,
|
|
4229
|
-
DescribeProjectsCommand,
|
|
4230
|
-
DescribeProjectVersionsCommand,
|
|
4231
|
-
DescribeStreamProcessorCommand,
|
|
4232
|
-
DetectCustomLabelsCommand,
|
|
4233
|
-
DetectFacesCommand,
|
|
4234
|
-
DetectLabelsCommand,
|
|
4235
|
-
DetectModerationLabelsCommand,
|
|
4236
|
-
DetectProtectiveEquipmentCommand,
|
|
4237
|
-
DetectTextCommand,
|
|
4238
|
-
DisassociateFacesCommand,
|
|
4239
|
-
DistributeDatasetEntriesCommand,
|
|
4240
|
-
GetCelebrityInfoCommand,
|
|
4241
|
-
GetCelebrityRecognitionCommand,
|
|
4242
|
-
GetContentModerationCommand,
|
|
4243
|
-
GetFaceDetectionCommand,
|
|
4244
|
-
GetFaceLivenessSessionResultsCommand,
|
|
4245
|
-
GetFaceSearchCommand,
|
|
4246
|
-
GetLabelDetectionCommand,
|
|
4247
|
-
GetMediaAnalysisJobCommand,
|
|
4248
|
-
GetPersonTrackingCommand,
|
|
4249
|
-
GetSegmentDetectionCommand,
|
|
4250
|
-
GetTextDetectionCommand,
|
|
4251
|
-
IndexFacesCommand,
|
|
4252
|
-
ListCollectionsCommand,
|
|
4253
|
-
ListDatasetEntriesCommand,
|
|
4254
|
-
ListDatasetLabelsCommand,
|
|
4255
|
-
ListFacesCommand,
|
|
4256
|
-
ListMediaAnalysisJobsCommand,
|
|
4257
|
-
ListProjectPoliciesCommand,
|
|
4258
|
-
ListStreamProcessorsCommand,
|
|
4259
|
-
ListTagsForResourceCommand,
|
|
4260
|
-
ListUsersCommand,
|
|
4261
|
-
PutProjectPolicyCommand,
|
|
4262
|
-
RecognizeCelebritiesCommand,
|
|
4263
|
-
SearchFacesCommand,
|
|
4264
|
-
SearchFacesByImageCommand,
|
|
4265
|
-
SearchUsersCommand,
|
|
4266
|
-
SearchUsersByImageCommand,
|
|
4267
|
-
StartCelebrityRecognitionCommand,
|
|
4268
|
-
StartContentModerationCommand,
|
|
4269
|
-
StartFaceDetectionCommand,
|
|
4270
|
-
StartFaceSearchCommand,
|
|
4271
|
-
StartLabelDetectionCommand,
|
|
4272
|
-
StartMediaAnalysisJobCommand,
|
|
4273
|
-
StartPersonTrackingCommand,
|
|
4274
|
-
StartProjectVersionCommand,
|
|
4275
|
-
StartSegmentDetectionCommand,
|
|
4276
|
-
StartStreamProcessorCommand,
|
|
4277
|
-
StartTextDetectionCommand,
|
|
4278
|
-
StopProjectVersionCommand,
|
|
4279
|
-
StopStreamProcessorCommand,
|
|
4280
|
-
TagResourceCommand,
|
|
4281
|
-
UntagResourceCommand,
|
|
4282
|
-
UpdateDatasetEntriesCommand,
|
|
4283
|
-
UpdateStreamProcessorCommand,
|
|
4284
|
-
};
|
|
4285
|
-
class Rekognition extends RekognitionClient {
|
|
4286
|
-
}
|
|
4287
|
-
smithyClient.createAggregatedClient(commands, Rekognition);
|
|
4288
|
-
|
|
4289
4208
|
const paginateDescribeProjects = core.createPaginator(RekognitionClient, DescribeProjectsCommand, "NextToken", "NextToken", "MaxResults");
|
|
4290
4209
|
|
|
4291
4210
|
const paginateDescribeProjectVersions = core.createPaginator(RekognitionClient, DescribeProjectVersionsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -4428,6 +4347,111 @@ const waitUntilProjectVersionTrainingCompleted = async (params, input) => {
|
|
|
4428
4347
|
return utilWaiter.checkExceptions(result);
|
|
4429
4348
|
};
|
|
4430
4349
|
|
|
4350
|
+
const commands = {
|
|
4351
|
+
AssociateFacesCommand,
|
|
4352
|
+
CompareFacesCommand,
|
|
4353
|
+
CopyProjectVersionCommand,
|
|
4354
|
+
CreateCollectionCommand,
|
|
4355
|
+
CreateDatasetCommand,
|
|
4356
|
+
CreateFaceLivenessSessionCommand,
|
|
4357
|
+
CreateProjectCommand,
|
|
4358
|
+
CreateProjectVersionCommand,
|
|
4359
|
+
CreateStreamProcessorCommand,
|
|
4360
|
+
CreateUserCommand,
|
|
4361
|
+
DeleteCollectionCommand,
|
|
4362
|
+
DeleteDatasetCommand,
|
|
4363
|
+
DeleteFacesCommand,
|
|
4364
|
+
DeleteProjectCommand,
|
|
4365
|
+
DeleteProjectPolicyCommand,
|
|
4366
|
+
DeleteProjectVersionCommand,
|
|
4367
|
+
DeleteStreamProcessorCommand,
|
|
4368
|
+
DeleteUserCommand,
|
|
4369
|
+
DescribeCollectionCommand,
|
|
4370
|
+
DescribeDatasetCommand,
|
|
4371
|
+
DescribeProjectsCommand,
|
|
4372
|
+
DescribeProjectVersionsCommand,
|
|
4373
|
+
DescribeStreamProcessorCommand,
|
|
4374
|
+
DetectCustomLabelsCommand,
|
|
4375
|
+
DetectFacesCommand,
|
|
4376
|
+
DetectLabelsCommand,
|
|
4377
|
+
DetectModerationLabelsCommand,
|
|
4378
|
+
DetectProtectiveEquipmentCommand,
|
|
4379
|
+
DetectTextCommand,
|
|
4380
|
+
DisassociateFacesCommand,
|
|
4381
|
+
DistributeDatasetEntriesCommand,
|
|
4382
|
+
GetCelebrityInfoCommand,
|
|
4383
|
+
GetCelebrityRecognitionCommand,
|
|
4384
|
+
GetContentModerationCommand,
|
|
4385
|
+
GetFaceDetectionCommand,
|
|
4386
|
+
GetFaceLivenessSessionResultsCommand,
|
|
4387
|
+
GetFaceSearchCommand,
|
|
4388
|
+
GetLabelDetectionCommand,
|
|
4389
|
+
GetMediaAnalysisJobCommand,
|
|
4390
|
+
GetPersonTrackingCommand,
|
|
4391
|
+
GetSegmentDetectionCommand,
|
|
4392
|
+
GetTextDetectionCommand,
|
|
4393
|
+
IndexFacesCommand,
|
|
4394
|
+
ListCollectionsCommand,
|
|
4395
|
+
ListDatasetEntriesCommand,
|
|
4396
|
+
ListDatasetLabelsCommand,
|
|
4397
|
+
ListFacesCommand,
|
|
4398
|
+
ListMediaAnalysisJobsCommand,
|
|
4399
|
+
ListProjectPoliciesCommand,
|
|
4400
|
+
ListStreamProcessorsCommand,
|
|
4401
|
+
ListTagsForResourceCommand,
|
|
4402
|
+
ListUsersCommand,
|
|
4403
|
+
PutProjectPolicyCommand,
|
|
4404
|
+
RecognizeCelebritiesCommand,
|
|
4405
|
+
SearchFacesCommand,
|
|
4406
|
+
SearchFacesByImageCommand,
|
|
4407
|
+
SearchUsersCommand,
|
|
4408
|
+
SearchUsersByImageCommand,
|
|
4409
|
+
StartCelebrityRecognitionCommand,
|
|
4410
|
+
StartContentModerationCommand,
|
|
4411
|
+
StartFaceDetectionCommand,
|
|
4412
|
+
StartFaceSearchCommand,
|
|
4413
|
+
StartLabelDetectionCommand,
|
|
4414
|
+
StartMediaAnalysisJobCommand,
|
|
4415
|
+
StartPersonTrackingCommand,
|
|
4416
|
+
StartProjectVersionCommand,
|
|
4417
|
+
StartSegmentDetectionCommand,
|
|
4418
|
+
StartStreamProcessorCommand,
|
|
4419
|
+
StartTextDetectionCommand,
|
|
4420
|
+
StopProjectVersionCommand,
|
|
4421
|
+
StopStreamProcessorCommand,
|
|
4422
|
+
TagResourceCommand,
|
|
4423
|
+
UntagResourceCommand,
|
|
4424
|
+
UpdateDatasetEntriesCommand,
|
|
4425
|
+
UpdateStreamProcessorCommand,
|
|
4426
|
+
};
|
|
4427
|
+
const paginators = {
|
|
4428
|
+
paginateDescribeProjects,
|
|
4429
|
+
paginateDescribeProjectVersions,
|
|
4430
|
+
paginateGetCelebrityRecognition,
|
|
4431
|
+
paginateGetContentModeration,
|
|
4432
|
+
paginateGetFaceDetection,
|
|
4433
|
+
paginateGetFaceSearch,
|
|
4434
|
+
paginateGetLabelDetection,
|
|
4435
|
+
paginateGetPersonTracking,
|
|
4436
|
+
paginateGetSegmentDetection,
|
|
4437
|
+
paginateGetTextDetection,
|
|
4438
|
+
paginateListCollections,
|
|
4439
|
+
paginateListDatasetEntries,
|
|
4440
|
+
paginateListDatasetLabels,
|
|
4441
|
+
paginateListFaces,
|
|
4442
|
+
paginateListMediaAnalysisJobs,
|
|
4443
|
+
paginateListProjectPolicies,
|
|
4444
|
+
paginateListStreamProcessors,
|
|
4445
|
+
paginateListUsers,
|
|
4446
|
+
};
|
|
4447
|
+
const waiters = {
|
|
4448
|
+
waitUntilProjectVersionRunning,
|
|
4449
|
+
waitUntilProjectVersionTrainingCompleted,
|
|
4450
|
+
};
|
|
4451
|
+
class Rekognition extends RekognitionClient {
|
|
4452
|
+
}
|
|
4453
|
+
smithyClient.createAggregatedClient(commands, Rekognition, { paginators, waiters });
|
|
4454
|
+
|
|
4431
4455
|
const UnsuccessfulFaceAssociationReason = {
|
|
4432
4456
|
ASSOCIATED_TO_A_DIFFERENT_USER: "ASSOCIATED_TO_A_DIFFERENT_USER",
|
|
4433
4457
|
FACE_NOT_FOUND: "FACE_NOT_FOUND",
|
package/dist-es/Rekognition.js
CHANGED
|
@@ -74,7 +74,27 @@ import { TagResourceCommand } from "./commands/TagResourceCommand";
|
|
|
74
74
|
import { UntagResourceCommand, } from "./commands/UntagResourceCommand";
|
|
75
75
|
import { UpdateDatasetEntriesCommand, } from "./commands/UpdateDatasetEntriesCommand";
|
|
76
76
|
import { UpdateStreamProcessorCommand, } from "./commands/UpdateStreamProcessorCommand";
|
|
77
|
+
import { paginateDescribeProjects } from "./pagination/DescribeProjectsPaginator";
|
|
78
|
+
import { paginateDescribeProjectVersions } from "./pagination/DescribeProjectVersionsPaginator";
|
|
79
|
+
import { paginateGetCelebrityRecognition } from "./pagination/GetCelebrityRecognitionPaginator";
|
|
80
|
+
import { paginateGetContentModeration } from "./pagination/GetContentModerationPaginator";
|
|
81
|
+
import { paginateGetFaceDetection } from "./pagination/GetFaceDetectionPaginator";
|
|
82
|
+
import { paginateGetFaceSearch } from "./pagination/GetFaceSearchPaginator";
|
|
83
|
+
import { paginateGetLabelDetection } from "./pagination/GetLabelDetectionPaginator";
|
|
84
|
+
import { paginateGetPersonTracking } from "./pagination/GetPersonTrackingPaginator";
|
|
85
|
+
import { paginateGetSegmentDetection } from "./pagination/GetSegmentDetectionPaginator";
|
|
86
|
+
import { paginateGetTextDetection } from "./pagination/GetTextDetectionPaginator";
|
|
87
|
+
import { paginateListCollections } from "./pagination/ListCollectionsPaginator";
|
|
88
|
+
import { paginateListDatasetEntries } from "./pagination/ListDatasetEntriesPaginator";
|
|
89
|
+
import { paginateListDatasetLabels } from "./pagination/ListDatasetLabelsPaginator";
|
|
90
|
+
import { paginateListFaces } from "./pagination/ListFacesPaginator";
|
|
91
|
+
import { paginateListMediaAnalysisJobs } from "./pagination/ListMediaAnalysisJobsPaginator";
|
|
92
|
+
import { paginateListProjectPolicies } from "./pagination/ListProjectPoliciesPaginator";
|
|
93
|
+
import { paginateListStreamProcessors } from "./pagination/ListStreamProcessorsPaginator";
|
|
94
|
+
import { paginateListUsers } from "./pagination/ListUsersPaginator";
|
|
77
95
|
import { RekognitionClient } from "./RekognitionClient";
|
|
96
|
+
import { waitUntilProjectVersionRunning } from "./waiters/waitForProjectVersionRunning";
|
|
97
|
+
import { waitUntilProjectVersionTrainingCompleted } from "./waiters/waitForProjectVersionTrainingCompleted";
|
|
78
98
|
const commands = {
|
|
79
99
|
AssociateFacesCommand,
|
|
80
100
|
CompareFacesCommand,
|
|
@@ -152,6 +172,30 @@ const commands = {
|
|
|
152
172
|
UpdateDatasetEntriesCommand,
|
|
153
173
|
UpdateStreamProcessorCommand,
|
|
154
174
|
};
|
|
175
|
+
const paginators = {
|
|
176
|
+
paginateDescribeProjects,
|
|
177
|
+
paginateDescribeProjectVersions,
|
|
178
|
+
paginateGetCelebrityRecognition,
|
|
179
|
+
paginateGetContentModeration,
|
|
180
|
+
paginateGetFaceDetection,
|
|
181
|
+
paginateGetFaceSearch,
|
|
182
|
+
paginateGetLabelDetection,
|
|
183
|
+
paginateGetPersonTracking,
|
|
184
|
+
paginateGetSegmentDetection,
|
|
185
|
+
paginateGetTextDetection,
|
|
186
|
+
paginateListCollections,
|
|
187
|
+
paginateListDatasetEntries,
|
|
188
|
+
paginateListDatasetLabels,
|
|
189
|
+
paginateListFaces,
|
|
190
|
+
paginateListMediaAnalysisJobs,
|
|
191
|
+
paginateListProjectPolicies,
|
|
192
|
+
paginateListStreamProcessors,
|
|
193
|
+
paginateListUsers,
|
|
194
|
+
};
|
|
195
|
+
const waiters = {
|
|
196
|
+
waitUntilProjectVersionRunning,
|
|
197
|
+
waitUntilProjectVersionTrainingCompleted,
|
|
198
|
+
};
|
|
155
199
|
export class Rekognition extends RekognitionClient {
|
|
156
200
|
}
|
|
157
|
-
createAggregatedClient(commands, Rekognition);
|
|
201
|
+
createAggregatedClient(commands, Rekognition, { 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 { AssociateFacesCommandInput, AssociateFacesCommandOutput } from "./commands/AssociateFacesCommand";
|
|
3
4
|
import { CompareFacesCommandInput, CompareFacesCommandOutput } from "./commands/CompareFacesCommand";
|
|
4
5
|
import { CopyProjectVersionCommandInput, CopyProjectVersionCommandOutput } from "./commands/CopyProjectVersionCommand";
|
|
@@ -531,6 +532,144 @@ export interface Rekognition {
|
|
|
531
532
|
updateStreamProcessor(args: UpdateStreamProcessorCommandInput, options?: __HttpHandlerOptions): Promise<UpdateStreamProcessorCommandOutput>;
|
|
532
533
|
updateStreamProcessor(args: UpdateStreamProcessorCommandInput, cb: (err: any, data?: UpdateStreamProcessorCommandOutput) => void): void;
|
|
533
534
|
updateStreamProcessor(args: UpdateStreamProcessorCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateStreamProcessorCommandOutput) => void): void;
|
|
535
|
+
/**
|
|
536
|
+
* @see {@link DescribeProjectsCommand}
|
|
537
|
+
* @param args - command input.
|
|
538
|
+
* @param paginationConfig - optional pagination config.
|
|
539
|
+
* @returns AsyncIterable of {@link DescribeProjectsCommandOutput}.
|
|
540
|
+
*/
|
|
541
|
+
paginateDescribeProjects(args?: DescribeProjectsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<DescribeProjectsCommandOutput>;
|
|
542
|
+
/**
|
|
543
|
+
* @see {@link DescribeProjectVersionsCommand}
|
|
544
|
+
* @param args - command input.
|
|
545
|
+
* @param paginationConfig - optional pagination config.
|
|
546
|
+
* @returns AsyncIterable of {@link DescribeProjectVersionsCommandOutput}.
|
|
547
|
+
*/
|
|
548
|
+
paginateDescribeProjectVersions(args: DescribeProjectVersionsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<DescribeProjectVersionsCommandOutput>;
|
|
549
|
+
/**
|
|
550
|
+
* @see {@link GetCelebrityRecognitionCommand}
|
|
551
|
+
* @param args - command input.
|
|
552
|
+
* @param paginationConfig - optional pagination config.
|
|
553
|
+
* @returns AsyncIterable of {@link GetCelebrityRecognitionCommandOutput}.
|
|
554
|
+
*/
|
|
555
|
+
paginateGetCelebrityRecognition(args: GetCelebrityRecognitionCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<GetCelebrityRecognitionCommandOutput>;
|
|
556
|
+
/**
|
|
557
|
+
* @see {@link GetContentModerationCommand}
|
|
558
|
+
* @param args - command input.
|
|
559
|
+
* @param paginationConfig - optional pagination config.
|
|
560
|
+
* @returns AsyncIterable of {@link GetContentModerationCommandOutput}.
|
|
561
|
+
*/
|
|
562
|
+
paginateGetContentModeration(args: GetContentModerationCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<GetContentModerationCommandOutput>;
|
|
563
|
+
/**
|
|
564
|
+
* @see {@link GetFaceDetectionCommand}
|
|
565
|
+
* @param args - command input.
|
|
566
|
+
* @param paginationConfig - optional pagination config.
|
|
567
|
+
* @returns AsyncIterable of {@link GetFaceDetectionCommandOutput}.
|
|
568
|
+
*/
|
|
569
|
+
paginateGetFaceDetection(args: GetFaceDetectionCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<GetFaceDetectionCommandOutput>;
|
|
570
|
+
/**
|
|
571
|
+
* @see {@link GetFaceSearchCommand}
|
|
572
|
+
* @param args - command input.
|
|
573
|
+
* @param paginationConfig - optional pagination config.
|
|
574
|
+
* @returns AsyncIterable of {@link GetFaceSearchCommandOutput}.
|
|
575
|
+
*/
|
|
576
|
+
paginateGetFaceSearch(args: GetFaceSearchCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<GetFaceSearchCommandOutput>;
|
|
577
|
+
/**
|
|
578
|
+
* @see {@link GetLabelDetectionCommand}
|
|
579
|
+
* @param args - command input.
|
|
580
|
+
* @param paginationConfig - optional pagination config.
|
|
581
|
+
* @returns AsyncIterable of {@link GetLabelDetectionCommandOutput}.
|
|
582
|
+
*/
|
|
583
|
+
paginateGetLabelDetection(args: GetLabelDetectionCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<GetLabelDetectionCommandOutput>;
|
|
584
|
+
/**
|
|
585
|
+
* @see {@link GetPersonTrackingCommand}
|
|
586
|
+
* @param args - command input.
|
|
587
|
+
* @param paginationConfig - optional pagination config.
|
|
588
|
+
* @returns AsyncIterable of {@link GetPersonTrackingCommandOutput}.
|
|
589
|
+
*/
|
|
590
|
+
paginateGetPersonTracking(args: GetPersonTrackingCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<GetPersonTrackingCommandOutput>;
|
|
591
|
+
/**
|
|
592
|
+
* @see {@link GetSegmentDetectionCommand}
|
|
593
|
+
* @param args - command input.
|
|
594
|
+
* @param paginationConfig - optional pagination config.
|
|
595
|
+
* @returns AsyncIterable of {@link GetSegmentDetectionCommandOutput}.
|
|
596
|
+
*/
|
|
597
|
+
paginateGetSegmentDetection(args: GetSegmentDetectionCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<GetSegmentDetectionCommandOutput>;
|
|
598
|
+
/**
|
|
599
|
+
* @see {@link GetTextDetectionCommand}
|
|
600
|
+
* @param args - command input.
|
|
601
|
+
* @param paginationConfig - optional pagination config.
|
|
602
|
+
* @returns AsyncIterable of {@link GetTextDetectionCommandOutput}.
|
|
603
|
+
*/
|
|
604
|
+
paginateGetTextDetection(args: GetTextDetectionCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<GetTextDetectionCommandOutput>;
|
|
605
|
+
/**
|
|
606
|
+
* @see {@link ListCollectionsCommand}
|
|
607
|
+
* @param args - command input.
|
|
608
|
+
* @param paginationConfig - optional pagination config.
|
|
609
|
+
* @returns AsyncIterable of {@link ListCollectionsCommandOutput}.
|
|
610
|
+
*/
|
|
611
|
+
paginateListCollections(args?: ListCollectionsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListCollectionsCommandOutput>;
|
|
612
|
+
/**
|
|
613
|
+
* @see {@link ListDatasetEntriesCommand}
|
|
614
|
+
* @param args - command input.
|
|
615
|
+
* @param paginationConfig - optional pagination config.
|
|
616
|
+
* @returns AsyncIterable of {@link ListDatasetEntriesCommandOutput}.
|
|
617
|
+
*/
|
|
618
|
+
paginateListDatasetEntries(args: ListDatasetEntriesCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListDatasetEntriesCommandOutput>;
|
|
619
|
+
/**
|
|
620
|
+
* @see {@link ListDatasetLabelsCommand}
|
|
621
|
+
* @param args - command input.
|
|
622
|
+
* @param paginationConfig - optional pagination config.
|
|
623
|
+
* @returns AsyncIterable of {@link ListDatasetLabelsCommandOutput}.
|
|
624
|
+
*/
|
|
625
|
+
paginateListDatasetLabels(args: ListDatasetLabelsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListDatasetLabelsCommandOutput>;
|
|
626
|
+
/**
|
|
627
|
+
* @see {@link ListFacesCommand}
|
|
628
|
+
* @param args - command input.
|
|
629
|
+
* @param paginationConfig - optional pagination config.
|
|
630
|
+
* @returns AsyncIterable of {@link ListFacesCommandOutput}.
|
|
631
|
+
*/
|
|
632
|
+
paginateListFaces(args: ListFacesCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListFacesCommandOutput>;
|
|
633
|
+
/**
|
|
634
|
+
* @see {@link ListMediaAnalysisJobsCommand}
|
|
635
|
+
* @param args - command input.
|
|
636
|
+
* @param paginationConfig - optional pagination config.
|
|
637
|
+
* @returns AsyncIterable of {@link ListMediaAnalysisJobsCommandOutput}.
|
|
638
|
+
*/
|
|
639
|
+
paginateListMediaAnalysisJobs(args?: ListMediaAnalysisJobsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListMediaAnalysisJobsCommandOutput>;
|
|
640
|
+
/**
|
|
641
|
+
* @see {@link ListProjectPoliciesCommand}
|
|
642
|
+
* @param args - command input.
|
|
643
|
+
* @param paginationConfig - optional pagination config.
|
|
644
|
+
* @returns AsyncIterable of {@link ListProjectPoliciesCommandOutput}.
|
|
645
|
+
*/
|
|
646
|
+
paginateListProjectPolicies(args: ListProjectPoliciesCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListProjectPoliciesCommandOutput>;
|
|
647
|
+
/**
|
|
648
|
+
* @see {@link ListStreamProcessorsCommand}
|
|
649
|
+
* @param args - command input.
|
|
650
|
+
* @param paginationConfig - optional pagination config.
|
|
651
|
+
* @returns AsyncIterable of {@link ListStreamProcessorsCommandOutput}.
|
|
652
|
+
*/
|
|
653
|
+
paginateListStreamProcessors(args?: ListStreamProcessorsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListStreamProcessorsCommandOutput>;
|
|
654
|
+
/**
|
|
655
|
+
* @see {@link ListUsersCommand}
|
|
656
|
+
* @param args - command input.
|
|
657
|
+
* @param paginationConfig - optional pagination config.
|
|
658
|
+
* @returns AsyncIterable of {@link ListUsersCommandOutput}.
|
|
659
|
+
*/
|
|
660
|
+
paginateListUsers(args: ListUsersCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListUsersCommandOutput>;
|
|
661
|
+
/**
|
|
662
|
+
* @see {@link DescribeProjectVersionsCommand}
|
|
663
|
+
* @param args - command input.
|
|
664
|
+
* @param waiterConfig - `maxWaitTime` in seconds or waiter config object.
|
|
665
|
+
*/
|
|
666
|
+
waitUntilProjectVersionRunning(args: DescribeProjectVersionsCommandInput, waiterConfig: number | Omit<WaiterConfiguration<Rekognition>, "client">): Promise<WaiterResult>;
|
|
667
|
+
/**
|
|
668
|
+
* @see {@link DescribeProjectVersionsCommand}
|
|
669
|
+
* @param args - command input.
|
|
670
|
+
* @param waiterConfig - `maxWaitTime` in seconds or waiter config object.
|
|
671
|
+
*/
|
|
672
|
+
waitUntilProjectVersionTrainingCompleted(args: DescribeProjectVersionsCommandInput, waiterConfig: number | Omit<WaiterConfiguration<Rekognition>, "client">): Promise<WaiterResult>;
|
|
534
673
|
}
|
|
535
674
|
/**
|
|
536
675
|
* <p>This is the API Reference for <a href="https://docs.aws.amazon.com/rekognition/latest/dg/images.html">Amazon Rekognition Image</a>, <a href="https://docs.aws.amazon.com/rekognition/latest/customlabels-dg/what-is.html">Amazon Rekognition Custom Labels</a>,
|
|
@@ -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
|
AssociateFacesCommandInput,
|
|
4
10
|
AssociateFacesCommandOutput,
|
|
@@ -1281,6 +1287,150 @@ export interface Rekognition {
|
|
|
1281
1287
|
options: __HttpHandlerOptions,
|
|
1282
1288
|
cb: (err: any, data?: UpdateStreamProcessorCommandOutput) => void
|
|
1283
1289
|
): void;
|
|
1290
|
+
paginateDescribeProjects(
|
|
1291
|
+
args?: DescribeProjectsCommandInput,
|
|
1292
|
+
paginationConfig?: Pick<
|
|
1293
|
+
PaginationConfiguration,
|
|
1294
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
1295
|
+
>
|
|
1296
|
+
): Paginator<DescribeProjectsCommandOutput>;
|
|
1297
|
+
paginateDescribeProjectVersions(
|
|
1298
|
+
args: DescribeProjectVersionsCommandInput,
|
|
1299
|
+
paginationConfig?: Pick<
|
|
1300
|
+
PaginationConfiguration,
|
|
1301
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
1302
|
+
>
|
|
1303
|
+
): Paginator<DescribeProjectVersionsCommandOutput>;
|
|
1304
|
+
paginateGetCelebrityRecognition(
|
|
1305
|
+
args: GetCelebrityRecognitionCommandInput,
|
|
1306
|
+
paginationConfig?: Pick<
|
|
1307
|
+
PaginationConfiguration,
|
|
1308
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
1309
|
+
>
|
|
1310
|
+
): Paginator<GetCelebrityRecognitionCommandOutput>;
|
|
1311
|
+
paginateGetContentModeration(
|
|
1312
|
+
args: GetContentModerationCommandInput,
|
|
1313
|
+
paginationConfig?: Pick<
|
|
1314
|
+
PaginationConfiguration,
|
|
1315
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
1316
|
+
>
|
|
1317
|
+
): Paginator<GetContentModerationCommandOutput>;
|
|
1318
|
+
paginateGetFaceDetection(
|
|
1319
|
+
args: GetFaceDetectionCommandInput,
|
|
1320
|
+
paginationConfig?: Pick<
|
|
1321
|
+
PaginationConfiguration,
|
|
1322
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
1323
|
+
>
|
|
1324
|
+
): Paginator<GetFaceDetectionCommandOutput>;
|
|
1325
|
+
paginateGetFaceSearch(
|
|
1326
|
+
args: GetFaceSearchCommandInput,
|
|
1327
|
+
paginationConfig?: Pick<
|
|
1328
|
+
PaginationConfiguration,
|
|
1329
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
1330
|
+
>
|
|
1331
|
+
): Paginator<GetFaceSearchCommandOutput>;
|
|
1332
|
+
paginateGetLabelDetection(
|
|
1333
|
+
args: GetLabelDetectionCommandInput,
|
|
1334
|
+
paginationConfig?: Pick<
|
|
1335
|
+
PaginationConfiguration,
|
|
1336
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
1337
|
+
>
|
|
1338
|
+
): Paginator<GetLabelDetectionCommandOutput>;
|
|
1339
|
+
paginateGetPersonTracking(
|
|
1340
|
+
args: GetPersonTrackingCommandInput,
|
|
1341
|
+
paginationConfig?: Pick<
|
|
1342
|
+
PaginationConfiguration,
|
|
1343
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
1344
|
+
>
|
|
1345
|
+
): Paginator<GetPersonTrackingCommandOutput>;
|
|
1346
|
+
paginateGetSegmentDetection(
|
|
1347
|
+
args: GetSegmentDetectionCommandInput,
|
|
1348
|
+
paginationConfig?: Pick<
|
|
1349
|
+
PaginationConfiguration,
|
|
1350
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
1351
|
+
>
|
|
1352
|
+
): Paginator<GetSegmentDetectionCommandOutput>;
|
|
1353
|
+
paginateGetTextDetection(
|
|
1354
|
+
args: GetTextDetectionCommandInput,
|
|
1355
|
+
paginationConfig?: Pick<
|
|
1356
|
+
PaginationConfiguration,
|
|
1357
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
1358
|
+
>
|
|
1359
|
+
): Paginator<GetTextDetectionCommandOutput>;
|
|
1360
|
+
paginateListCollections(
|
|
1361
|
+
args?: ListCollectionsCommandInput,
|
|
1362
|
+
paginationConfig?: Pick<
|
|
1363
|
+
PaginationConfiguration,
|
|
1364
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
1365
|
+
>
|
|
1366
|
+
): Paginator<ListCollectionsCommandOutput>;
|
|
1367
|
+
paginateListDatasetEntries(
|
|
1368
|
+
args: ListDatasetEntriesCommandInput,
|
|
1369
|
+
paginationConfig?: Pick<
|
|
1370
|
+
PaginationConfiguration,
|
|
1371
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
1372
|
+
>
|
|
1373
|
+
): Paginator<ListDatasetEntriesCommandOutput>;
|
|
1374
|
+
paginateListDatasetLabels(
|
|
1375
|
+
args: ListDatasetLabelsCommandInput,
|
|
1376
|
+
paginationConfig?: Pick<
|
|
1377
|
+
PaginationConfiguration,
|
|
1378
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
1379
|
+
>
|
|
1380
|
+
): Paginator<ListDatasetLabelsCommandOutput>;
|
|
1381
|
+
paginateListFaces(
|
|
1382
|
+
args: ListFacesCommandInput,
|
|
1383
|
+
paginationConfig?: Pick<
|
|
1384
|
+
PaginationConfiguration,
|
|
1385
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
1386
|
+
>
|
|
1387
|
+
): Paginator<ListFacesCommandOutput>;
|
|
1388
|
+
paginateListMediaAnalysisJobs(
|
|
1389
|
+
args?: ListMediaAnalysisJobsCommandInput,
|
|
1390
|
+
paginationConfig?: Pick<
|
|
1391
|
+
PaginationConfiguration,
|
|
1392
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
1393
|
+
>
|
|
1394
|
+
): Paginator<ListMediaAnalysisJobsCommandOutput>;
|
|
1395
|
+
paginateListProjectPolicies(
|
|
1396
|
+
args: ListProjectPoliciesCommandInput,
|
|
1397
|
+
paginationConfig?: Pick<
|
|
1398
|
+
PaginationConfiguration,
|
|
1399
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
1400
|
+
>
|
|
1401
|
+
): Paginator<ListProjectPoliciesCommandOutput>;
|
|
1402
|
+
paginateListStreamProcessors(
|
|
1403
|
+
args?: ListStreamProcessorsCommandInput,
|
|
1404
|
+
paginationConfig?: Pick<
|
|
1405
|
+
PaginationConfiguration,
|
|
1406
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
1407
|
+
>
|
|
1408
|
+
): Paginator<ListStreamProcessorsCommandOutput>;
|
|
1409
|
+
paginateListUsers(
|
|
1410
|
+
args: ListUsersCommandInput,
|
|
1411
|
+
paginationConfig?: Pick<
|
|
1412
|
+
PaginationConfiguration,
|
|
1413
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
1414
|
+
>
|
|
1415
|
+
): Paginator<ListUsersCommandOutput>;
|
|
1416
|
+
waitUntilProjectVersionRunning(
|
|
1417
|
+
args: DescribeProjectVersionsCommandInput,
|
|
1418
|
+
waiterConfig:
|
|
1419
|
+
| number
|
|
1420
|
+
| Pick<
|
|
1421
|
+
WaiterConfiguration<Rekognition>,
|
|
1422
|
+
Exclude<keyof WaiterConfiguration<Rekognition>, "client">
|
|
1423
|
+
>
|
|
1424
|
+
): Promise<WaiterResult>;
|
|
1425
|
+
waitUntilProjectVersionTrainingCompleted(
|
|
1426
|
+
args: DescribeProjectVersionsCommandInput,
|
|
1427
|
+
waiterConfig:
|
|
1428
|
+
| number
|
|
1429
|
+
| Pick<
|
|
1430
|
+
WaiterConfiguration<Rekognition>,
|
|
1431
|
+
Exclude<keyof WaiterConfiguration<Rekognition>, "client">
|
|
1432
|
+
>
|
|
1433
|
+
): Promise<WaiterResult>;
|
|
1284
1434
|
}
|
|
1285
1435
|
export declare class Rekognition
|
|
1286
1436
|
extends RekognitionClient
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-rekognition",
|
|
3
3
|
"description": "AWS SDK for JavaScript Rekognition Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.978.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-rekognition",
|
|
@@ -21,38 +21,38 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
24
|
-
"@aws-sdk/core": "^3.973.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
26
|
-
"@aws-sdk/middleware-host-header": "^3.972.
|
|
27
|
-
"@aws-sdk/middleware-logger": "^3.972.
|
|
28
|
-
"@aws-sdk/middleware-recursion-detection": "^3.972.
|
|
29
|
-
"@aws-sdk/middleware-user-agent": "^3.972.
|
|
30
|
-
"@aws-sdk/region-config-resolver": "^3.972.
|
|
31
|
-
"@aws-sdk/types": "^3.973.
|
|
24
|
+
"@aws-sdk/core": "^3.973.4",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "^3.972.2",
|
|
26
|
+
"@aws-sdk/middleware-host-header": "^3.972.2",
|
|
27
|
+
"@aws-sdk/middleware-logger": "^3.972.2",
|
|
28
|
+
"@aws-sdk/middleware-recursion-detection": "^3.972.2",
|
|
29
|
+
"@aws-sdk/middleware-user-agent": "^3.972.4",
|
|
30
|
+
"@aws-sdk/region-config-resolver": "^3.972.2",
|
|
31
|
+
"@aws-sdk/types": "^3.973.1",
|
|
32
32
|
"@aws-sdk/util-endpoints": "3.972.0",
|
|
33
|
-
"@aws-sdk/util-user-agent-browser": "^3.972.
|
|
34
|
-
"@aws-sdk/util-user-agent-node": "^3.972.
|
|
33
|
+
"@aws-sdk/util-user-agent-browser": "^3.972.2",
|
|
34
|
+
"@aws-sdk/util-user-agent-node": "^3.972.2",
|
|
35
35
|
"@smithy/config-resolver": "^4.4.6",
|
|
36
|
-
"@smithy/core": "^3.
|
|
36
|
+
"@smithy/core": "^3.22.0",
|
|
37
37
|
"@smithy/fetch-http-handler": "^5.3.9",
|
|
38
38
|
"@smithy/hash-node": "^4.2.8",
|
|
39
39
|
"@smithy/invalid-dependency": "^4.2.8",
|
|
40
40
|
"@smithy/middleware-content-length": "^4.2.8",
|
|
41
|
-
"@smithy/middleware-endpoint": "^4.4.
|
|
42
|
-
"@smithy/middleware-retry": "^4.4.
|
|
41
|
+
"@smithy/middleware-endpoint": "^4.4.12",
|
|
42
|
+
"@smithy/middleware-retry": "^4.4.29",
|
|
43
43
|
"@smithy/middleware-serde": "^4.2.9",
|
|
44
44
|
"@smithy/middleware-stack": "^4.2.8",
|
|
45
45
|
"@smithy/node-config-provider": "^4.3.8",
|
|
46
46
|
"@smithy/node-http-handler": "^4.4.8",
|
|
47
47
|
"@smithy/protocol-http": "^5.3.8",
|
|
48
|
-
"@smithy/smithy-client": "^4.
|
|
48
|
+
"@smithy/smithy-client": "^4.11.1",
|
|
49
49
|
"@smithy/types": "^4.12.0",
|
|
50
50
|
"@smithy/url-parser": "^4.2.8",
|
|
51
51
|
"@smithy/util-base64": "^4.3.0",
|
|
52
52
|
"@smithy/util-body-length-browser": "^4.2.0",
|
|
53
53
|
"@smithy/util-body-length-node": "^4.2.1",
|
|
54
|
-
"@smithy/util-defaults-mode-browser": "^4.3.
|
|
55
|
-
"@smithy/util-defaults-mode-node": "^4.2.
|
|
54
|
+
"@smithy/util-defaults-mode-browser": "^4.3.28",
|
|
55
|
+
"@smithy/util-defaults-mode-node": "^4.2.31",
|
|
56
56
|
"@smithy/util-endpoints": "^3.2.8",
|
|
57
57
|
"@smithy/util-middleware": "^4.2.8",
|
|
58
58
|
"@smithy/util-retry": "^4.2.8",
|