@aws-sdk/client-rekognition 3.431.0 → 3.434.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.
Files changed (56) hide show
  1. package/README.md +24 -0
  2. package/dist-cjs/Rekognition.js +6 -0
  3. package/dist-cjs/commands/GetMediaAnalysisJobCommand.js +51 -0
  4. package/dist-cjs/commands/ListMediaAnalysisJobsCommand.js +51 -0
  5. package/dist-cjs/commands/StartMediaAnalysisJobCommand.js +51 -0
  6. package/dist-cjs/commands/index.js +3 -0
  7. package/dist-cjs/endpoint/ruleset.js +3 -3
  8. package/dist-cjs/models/models_0.js +35 -1
  9. package/dist-cjs/pagination/ListMediaAnalysisJobsPaginator.js +29 -0
  10. package/dist-cjs/pagination/index.js +1 -0
  11. package/dist-cjs/protocols/Aws_json1_1.js +270 -3
  12. package/dist-es/Rekognition.js +6 -0
  13. package/dist-es/commands/GetMediaAnalysisJobCommand.js +47 -0
  14. package/dist-es/commands/ListMediaAnalysisJobsCommand.js +47 -0
  15. package/dist-es/commands/StartMediaAnalysisJobCommand.js +47 -0
  16. package/dist-es/commands/index.js +3 -0
  17. package/dist-es/endpoint/ruleset.js +3 -3
  18. package/dist-es/models/models_0.js +33 -0
  19. package/dist-es/pagination/ListMediaAnalysisJobsPaginator.js +25 -0
  20. package/dist-es/pagination/index.js +1 -0
  21. package/dist-es/protocols/Aws_json1_1.js +262 -1
  22. package/dist-types/Rekognition.d.ts +21 -0
  23. package/dist-types/RekognitionClient.d.ts +5 -2
  24. package/dist-types/commands/GetMediaAnalysisJobCommand.d.ts +134 -0
  25. package/dist-types/commands/ListMediaAnalysisJobsCommand.d.ts +139 -0
  26. package/dist-types/commands/PutProjectPolicyCommand.d.ts +1 -1
  27. package/dist-types/commands/RecognizeCelebritiesCommand.d.ts +1 -1
  28. package/dist-types/commands/SearchFacesByImageCommand.d.ts +1 -1
  29. package/dist-types/commands/SearchFacesCommand.d.ts +1 -1
  30. package/dist-types/commands/SearchUsersByImageCommand.d.ts +1 -2
  31. package/dist-types/commands/SearchUsersCommand.d.ts +1 -1
  32. package/dist-types/commands/StartMediaAnalysisJobCommand.d.ts +135 -0
  33. package/dist-types/commands/index.d.ts +3 -0
  34. package/dist-types/models/models_0.d.ts +336 -406
  35. package/dist-types/models/models_1.d.ts +457 -1
  36. package/dist-types/pagination/ListMediaAnalysisJobsPaginator.d.ts +7 -0
  37. package/dist-types/pagination/index.d.ts +1 -0
  38. package/dist-types/protocols/Aws_json1_1.d.ts +27 -0
  39. package/dist-types/ts3.4/Rekognition.d.ts +51 -0
  40. package/dist-types/ts3.4/RekognitionClient.d.ts +18 -0
  41. package/dist-types/ts3.4/commands/GetMediaAnalysisJobCommand.d.ts +39 -0
  42. package/dist-types/ts3.4/commands/ListMediaAnalysisJobsCommand.d.ts +42 -0
  43. package/dist-types/ts3.4/commands/PutProjectPolicyCommand.d.ts +1 -1
  44. package/dist-types/ts3.4/commands/RecognizeCelebritiesCommand.d.ts +1 -1
  45. package/dist-types/ts3.4/commands/SearchFacesByImageCommand.d.ts +1 -1
  46. package/dist-types/ts3.4/commands/SearchFacesCommand.d.ts +1 -1
  47. package/dist-types/ts3.4/commands/SearchUsersByImageCommand.d.ts +4 -2
  48. package/dist-types/ts3.4/commands/SearchUsersCommand.d.ts +1 -1
  49. package/dist-types/ts3.4/commands/StartMediaAnalysisJobCommand.d.ts +42 -0
  50. package/dist-types/ts3.4/commands/index.d.ts +3 -0
  51. package/dist-types/ts3.4/models/models_0.d.ts +95 -74
  52. package/dist-types/ts3.4/models/models_1.d.ts +96 -2
  53. package/dist-types/ts3.4/pagination/ListMediaAnalysisJobsPaginator.d.ts +11 -0
  54. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  55. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +36 -0
  56. package/package.json +32 -32
@@ -197,6 +197,10 @@ import {
197
197
  GetLabelDetectionCommandInput,
198
198
  GetLabelDetectionCommandOutput,
199
199
  } from "./commands/GetLabelDetectionCommand";
200
+ import {
201
+ GetMediaAnalysisJobCommandInput,
202
+ GetMediaAnalysisJobCommandOutput,
203
+ } from "./commands/GetMediaAnalysisJobCommand";
200
204
  import {
201
205
  GetPersonTrackingCommandInput,
202
206
  GetPersonTrackingCommandOutput,
@@ -229,6 +233,10 @@ import {
229
233
  ListFacesCommandInput,
230
234
  ListFacesCommandOutput,
231
235
  } from "./commands/ListFacesCommand";
236
+ import {
237
+ ListMediaAnalysisJobsCommandInput,
238
+ ListMediaAnalysisJobsCommandOutput,
239
+ } from "./commands/ListMediaAnalysisJobsCommand";
232
240
  import {
233
241
  ListProjectPoliciesCommandInput,
234
242
  ListProjectPoliciesCommandOutput,
@@ -289,6 +297,10 @@ import {
289
297
  StartLabelDetectionCommandInput,
290
298
  StartLabelDetectionCommandOutput,
291
299
  } from "./commands/StartLabelDetectionCommand";
300
+ import {
301
+ StartMediaAnalysisJobCommandInput,
302
+ StartMediaAnalysisJobCommandOutput,
303
+ } from "./commands/StartMediaAnalysisJobCommand";
292
304
  import {
293
305
  StartPersonTrackingCommandInput,
294
306
  StartPersonTrackingCommandOutput,
@@ -379,6 +391,7 @@ export type ServiceInputTypes =
379
391
  | GetFaceLivenessSessionResultsCommandInput
380
392
  | GetFaceSearchCommandInput
381
393
  | GetLabelDetectionCommandInput
394
+ | GetMediaAnalysisJobCommandInput
382
395
  | GetPersonTrackingCommandInput
383
396
  | GetSegmentDetectionCommandInput
384
397
  | GetTextDetectionCommandInput
@@ -387,6 +400,7 @@ export type ServiceInputTypes =
387
400
  | ListDatasetEntriesCommandInput
388
401
  | ListDatasetLabelsCommandInput
389
402
  | ListFacesCommandInput
403
+ | ListMediaAnalysisJobsCommandInput
390
404
  | ListProjectPoliciesCommandInput
391
405
  | ListStreamProcessorsCommandInput
392
406
  | ListTagsForResourceCommandInput
@@ -402,6 +416,7 @@ export type ServiceInputTypes =
402
416
  | StartFaceDetectionCommandInput
403
417
  | StartFaceSearchCommandInput
404
418
  | StartLabelDetectionCommandInput
419
+ | StartMediaAnalysisJobCommandInput
405
420
  | StartPersonTrackingCommandInput
406
421
  | StartProjectVersionCommandInput
407
422
  | StartSegmentDetectionCommandInput
@@ -452,6 +467,7 @@ export type ServiceOutputTypes =
452
467
  | GetFaceLivenessSessionResultsCommandOutput
453
468
  | GetFaceSearchCommandOutput
454
469
  | GetLabelDetectionCommandOutput
470
+ | GetMediaAnalysisJobCommandOutput
455
471
  | GetPersonTrackingCommandOutput
456
472
  | GetSegmentDetectionCommandOutput
457
473
  | GetTextDetectionCommandOutput
@@ -460,6 +476,7 @@ export type ServiceOutputTypes =
460
476
  | ListDatasetEntriesCommandOutput
461
477
  | ListDatasetLabelsCommandOutput
462
478
  | ListFacesCommandOutput
479
+ | ListMediaAnalysisJobsCommandOutput
463
480
  | ListProjectPoliciesCommandOutput
464
481
  | ListStreamProcessorsCommandOutput
465
482
  | ListTagsForResourceCommandOutput
@@ -475,6 +492,7 @@ export type ServiceOutputTypes =
475
492
  | StartFaceDetectionCommandOutput
476
493
  | StartFaceSearchCommandOutput
477
494
  | StartLabelDetectionCommandOutput
495
+ | StartMediaAnalysisJobCommandOutput
478
496
  | StartPersonTrackingCommandOutput
479
497
  | StartProjectVersionCommandOutput
480
498
  | StartSegmentDetectionCommandOutput
@@ -0,0 +1,39 @@
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import {
4
+ Handler,
5
+ HttpHandlerOptions as __HttpHandlerOptions,
6
+ MetadataBearer as __MetadataBearer,
7
+ MiddlewareStack,
8
+ } from "@smithy/types";
9
+ import {
10
+ GetMediaAnalysisJobRequest,
11
+ GetMediaAnalysisJobResponse,
12
+ } from "../models/models_0";
13
+ import {
14
+ RekognitionClientResolvedConfig,
15
+ ServiceInputTypes,
16
+ ServiceOutputTypes,
17
+ } from "../RekognitionClient";
18
+ export { __MetadataBearer, $Command };
19
+ export interface GetMediaAnalysisJobCommandInput
20
+ extends GetMediaAnalysisJobRequest {}
21
+ export interface GetMediaAnalysisJobCommandOutput
22
+ extends GetMediaAnalysisJobResponse,
23
+ __MetadataBearer {}
24
+ export declare class GetMediaAnalysisJobCommand extends $Command<
25
+ GetMediaAnalysisJobCommandInput,
26
+ GetMediaAnalysisJobCommandOutput,
27
+ RekognitionClientResolvedConfig
28
+ > {
29
+ readonly input: GetMediaAnalysisJobCommandInput;
30
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
31
+ constructor(input: GetMediaAnalysisJobCommandInput);
32
+ resolveMiddleware(
33
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
34
+ configuration: RekognitionClientResolvedConfig,
35
+ options?: __HttpHandlerOptions
36
+ ): Handler<GetMediaAnalysisJobCommandInput, GetMediaAnalysisJobCommandOutput>;
37
+ private serialize;
38
+ private deserialize;
39
+ }
@@ -0,0 +1,42 @@
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import {
4
+ Handler,
5
+ HttpHandlerOptions as __HttpHandlerOptions,
6
+ MetadataBearer as __MetadataBearer,
7
+ MiddlewareStack,
8
+ } from "@smithy/types";
9
+ import {
10
+ ListMediaAnalysisJobsRequest,
11
+ ListMediaAnalysisJobsResponse,
12
+ } from "../models/models_0";
13
+ import {
14
+ RekognitionClientResolvedConfig,
15
+ ServiceInputTypes,
16
+ ServiceOutputTypes,
17
+ } from "../RekognitionClient";
18
+ export { __MetadataBearer, $Command };
19
+ export interface ListMediaAnalysisJobsCommandInput
20
+ extends ListMediaAnalysisJobsRequest {}
21
+ export interface ListMediaAnalysisJobsCommandOutput
22
+ extends ListMediaAnalysisJobsResponse,
23
+ __MetadataBearer {}
24
+ export declare class ListMediaAnalysisJobsCommand extends $Command<
25
+ ListMediaAnalysisJobsCommandInput,
26
+ ListMediaAnalysisJobsCommandOutput,
27
+ RekognitionClientResolvedConfig
28
+ > {
29
+ readonly input: ListMediaAnalysisJobsCommandInput;
30
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
31
+ constructor(input: ListMediaAnalysisJobsCommandInput);
32
+ resolveMiddleware(
33
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
34
+ configuration: RekognitionClientResolvedConfig,
35
+ options?: __HttpHandlerOptions
36
+ ): Handler<
37
+ ListMediaAnalysisJobsCommandInput,
38
+ ListMediaAnalysisJobsCommandOutput
39
+ >;
40
+ private serialize;
41
+ private deserialize;
42
+ }
@@ -9,7 +9,7 @@ import {
9
9
  import {
10
10
  PutProjectPolicyRequest,
11
11
  PutProjectPolicyResponse,
12
- } from "../models/models_0";
12
+ } from "../models/models_1";
13
13
  import {
14
14
  RekognitionClientResolvedConfig,
15
15
  ServiceInputTypes,
@@ -9,7 +9,7 @@ import {
9
9
  import {
10
10
  RecognizeCelebritiesRequest,
11
11
  RecognizeCelebritiesResponse,
12
- } from "../models/models_0";
12
+ } from "../models/models_1";
13
13
  import {
14
14
  RekognitionClientResolvedConfig,
15
15
  ServiceInputTypes,
@@ -9,7 +9,7 @@ import {
9
9
  import {
10
10
  SearchFacesByImageRequest,
11
11
  SearchFacesByImageResponse,
12
- } from "../models/models_0";
12
+ } from "../models/models_1";
13
13
  import {
14
14
  RekognitionClientResolvedConfig,
15
15
  ServiceInputTypes,
@@ -6,7 +6,7 @@ import {
6
6
  MetadataBearer as __MetadataBearer,
7
7
  MiddlewareStack,
8
8
  } from "@smithy/types";
9
- import { SearchFacesRequest, SearchFacesResponse } from "../models/models_0";
9
+ import { SearchFacesRequest, SearchFacesResponse } from "../models/models_1";
10
10
  import {
11
11
  RekognitionClientResolvedConfig,
12
12
  ServiceInputTypes,
@@ -6,8 +6,10 @@ import {
6
6
  MetadataBearer as __MetadataBearer,
7
7
  MiddlewareStack,
8
8
  } from "@smithy/types";
9
- import { SearchUsersByImageRequest } from "../models/models_0";
10
- import { SearchUsersByImageResponse } from "../models/models_1";
9
+ import {
10
+ SearchUsersByImageRequest,
11
+ SearchUsersByImageResponse,
12
+ } from "../models/models_1";
11
13
  import {
12
14
  RekognitionClientResolvedConfig,
13
15
  ServiceInputTypes,
@@ -6,7 +6,7 @@ import {
6
6
  MetadataBearer as __MetadataBearer,
7
7
  MiddlewareStack,
8
8
  } from "@smithy/types";
9
- import { SearchUsersRequest, SearchUsersResponse } from "../models/models_0";
9
+ import { SearchUsersRequest, SearchUsersResponse } from "../models/models_1";
10
10
  import {
11
11
  RekognitionClientResolvedConfig,
12
12
  ServiceInputTypes,
@@ -0,0 +1,42 @@
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import {
4
+ Handler,
5
+ HttpHandlerOptions as __HttpHandlerOptions,
6
+ MetadataBearer as __MetadataBearer,
7
+ MiddlewareStack,
8
+ } from "@smithy/types";
9
+ import {
10
+ StartMediaAnalysisJobRequest,
11
+ StartMediaAnalysisJobResponse,
12
+ } from "../models/models_1";
13
+ import {
14
+ RekognitionClientResolvedConfig,
15
+ ServiceInputTypes,
16
+ ServiceOutputTypes,
17
+ } from "../RekognitionClient";
18
+ export { __MetadataBearer, $Command };
19
+ export interface StartMediaAnalysisJobCommandInput
20
+ extends StartMediaAnalysisJobRequest {}
21
+ export interface StartMediaAnalysisJobCommandOutput
22
+ extends StartMediaAnalysisJobResponse,
23
+ __MetadataBearer {}
24
+ export declare class StartMediaAnalysisJobCommand extends $Command<
25
+ StartMediaAnalysisJobCommandInput,
26
+ StartMediaAnalysisJobCommandOutput,
27
+ RekognitionClientResolvedConfig
28
+ > {
29
+ readonly input: StartMediaAnalysisJobCommandInput;
30
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
31
+ constructor(input: StartMediaAnalysisJobCommandInput);
32
+ resolveMiddleware(
33
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
34
+ configuration: RekognitionClientResolvedConfig,
35
+ options?: __HttpHandlerOptions
36
+ ): Handler<
37
+ StartMediaAnalysisJobCommandInput,
38
+ StartMediaAnalysisJobCommandOutput
39
+ >;
40
+ private serialize;
41
+ private deserialize;
42
+ }
@@ -36,6 +36,7 @@ export * from "./GetFaceDetectionCommand";
36
36
  export * from "./GetFaceLivenessSessionResultsCommand";
37
37
  export * from "./GetFaceSearchCommand";
38
38
  export * from "./GetLabelDetectionCommand";
39
+ export * from "./GetMediaAnalysisJobCommand";
39
40
  export * from "./GetPersonTrackingCommand";
40
41
  export * from "./GetSegmentDetectionCommand";
41
42
  export * from "./GetTextDetectionCommand";
@@ -44,6 +45,7 @@ export * from "./ListCollectionsCommand";
44
45
  export * from "./ListDatasetEntriesCommand";
45
46
  export * from "./ListDatasetLabelsCommand";
46
47
  export * from "./ListFacesCommand";
48
+ export * from "./ListMediaAnalysisJobsCommand";
47
49
  export * from "./ListProjectPoliciesCommand";
48
50
  export * from "./ListStreamProcessorsCommand";
49
51
  export * from "./ListTagsForResourceCommand";
@@ -59,6 +61,7 @@ export * from "./StartContentModerationCommand";
59
61
  export * from "./StartFaceDetectionCommand";
60
62
  export * from "./StartFaceSearchCommand";
61
63
  export * from "./StartLabelDetectionCommand";
64
+ export * from "./StartMediaAnalysisJobCommand";
62
65
  export * from "./StartPersonTrackingCommand";
63
66
  export * from "./StartProjectVersionCommand";
64
67
  export * from "./StartSegmentDetectionCommand";
@@ -1426,6 +1426,69 @@ export interface GetLabelDetectionResponse {
1426
1426
  JobTag?: string;
1427
1427
  GetRequestMetadata?: GetLabelDetectionRequestMetadata;
1428
1428
  }
1429
+ export interface GetMediaAnalysisJobRequest {
1430
+ JobId: string | undefined;
1431
+ }
1432
+ export declare const MediaAnalysisJobFailureCode: {
1433
+ readonly ACCESS_DENIED: "ACCESS_DENIED";
1434
+ readonly INTERNAL_ERROR: "INTERNAL_ERROR";
1435
+ readonly INVALID_KMS_KEY: "INVALID_KMS_KEY";
1436
+ readonly INVALID_MANIFEST: "INVALID_MANIFEST";
1437
+ readonly INVALID_OUTPUT_CONFIG: "INVALID_OUTPUT_CONFIG";
1438
+ readonly INVALID_S3_OBJECT: "INVALID_S3_OBJECT";
1439
+ readonly RESOURCE_NOT_FOUND: "RESOURCE_NOT_FOUND";
1440
+ readonly RESOURCE_NOT_READY: "RESOURCE_NOT_READY";
1441
+ readonly THROTTLED: "THROTTLED";
1442
+ };
1443
+ export type MediaAnalysisJobFailureCode =
1444
+ (typeof MediaAnalysisJobFailureCode)[keyof typeof MediaAnalysisJobFailureCode];
1445
+ export interface MediaAnalysisJobFailureDetails {
1446
+ Code?: MediaAnalysisJobFailureCode;
1447
+ Message?: string;
1448
+ }
1449
+ export interface MediaAnalysisInput {
1450
+ S3Object: S3Object | undefined;
1451
+ }
1452
+ export interface MediaAnalysisManifestSummary {
1453
+ S3Object?: S3Object;
1454
+ }
1455
+ export interface MediaAnalysisDetectModerationLabelsConfig {
1456
+ MinConfidence?: number;
1457
+ ProjectVersion?: string;
1458
+ }
1459
+ export interface MediaAnalysisOperationsConfig {
1460
+ DetectModerationLabels?: MediaAnalysisDetectModerationLabelsConfig;
1461
+ }
1462
+ export interface MediaAnalysisOutputConfig {
1463
+ S3Bucket: string | undefined;
1464
+ S3KeyPrefix?: string;
1465
+ }
1466
+ export interface MediaAnalysisResults {
1467
+ S3Object?: S3Object;
1468
+ }
1469
+ export declare const MediaAnalysisJobStatus: {
1470
+ readonly CREATED: "CREATED";
1471
+ readonly FAILED: "FAILED";
1472
+ readonly IN_PROGRESS: "IN_PROGRESS";
1473
+ readonly QUEUED: "QUEUED";
1474
+ readonly SUCCEEDED: "SUCCEEDED";
1475
+ };
1476
+ export type MediaAnalysisJobStatus =
1477
+ (typeof MediaAnalysisJobStatus)[keyof typeof MediaAnalysisJobStatus];
1478
+ export interface GetMediaAnalysisJobResponse {
1479
+ JobId: string | undefined;
1480
+ JobName?: string;
1481
+ OperationsConfig: MediaAnalysisOperationsConfig | undefined;
1482
+ Status: MediaAnalysisJobStatus | undefined;
1483
+ FailureDetails?: MediaAnalysisJobFailureDetails;
1484
+ CreationTimestamp: Date | undefined;
1485
+ CompletionTimestamp?: Date;
1486
+ Input: MediaAnalysisInput | undefined;
1487
+ OutputConfig: MediaAnalysisOutputConfig | undefined;
1488
+ KmsKeyId?: string;
1489
+ Results?: MediaAnalysisResults;
1490
+ ManifestSummary?: MediaAnalysisManifestSummary;
1491
+ }
1429
1492
  export declare const PersonTrackingSortBy: {
1430
1493
  readonly INDEX: "INDEX";
1431
1494
  readonly TIMESTAMP: "TIMESTAMP";
@@ -1559,6 +1622,16 @@ export interface IndexFacesResponse {
1559
1622
  FaceModelVersion?: string;
1560
1623
  UnindexedFaces?: UnindexedFace[];
1561
1624
  }
1625
+ export declare class InvalidManifestException extends __BaseException {
1626
+ readonly name: "InvalidManifestException";
1627
+ readonly $fault: "client";
1628
+ Message?: string;
1629
+ Code?: string;
1630
+ Logref?: string;
1631
+ constructor(
1632
+ opts: __ExceptionOptionType<InvalidManifestException, __BaseException>
1633
+ );
1634
+ }
1562
1635
  export interface KinesisVideoStreamStartSelector {
1563
1636
  ProducerTimestamp?: number;
1564
1637
  FragmentNumber?: string;
@@ -1614,6 +1687,28 @@ export interface ListFacesResponse {
1614
1687
  NextToken?: string;
1615
1688
  FaceModelVersion?: string;
1616
1689
  }
1690
+ export interface ListMediaAnalysisJobsRequest {
1691
+ NextToken?: string;
1692
+ MaxResults?: number;
1693
+ }
1694
+ export interface MediaAnalysisJobDescription {
1695
+ JobId: string | undefined;
1696
+ JobName?: string;
1697
+ OperationsConfig: MediaAnalysisOperationsConfig | undefined;
1698
+ Status: MediaAnalysisJobStatus | undefined;
1699
+ FailureDetails?: MediaAnalysisJobFailureDetails;
1700
+ CreationTimestamp: Date | undefined;
1701
+ CompletionTimestamp?: Date;
1702
+ Input: MediaAnalysisInput | undefined;
1703
+ OutputConfig: MediaAnalysisOutputConfig | undefined;
1704
+ KmsKeyId?: string;
1705
+ Results?: MediaAnalysisResults;
1706
+ ManifestSummary?: MediaAnalysisManifestSummary;
1707
+ }
1708
+ export interface ListMediaAnalysisJobsResponse {
1709
+ NextToken?: string;
1710
+ MediaAnalysisJobs: MediaAnalysisJobDescription[] | undefined;
1711
+ }
1617
1712
  export interface ListProjectPoliciesRequest {
1618
1713
  ProjectArn: string | undefined;
1619
1714
  NextToken?: string;
@@ -1683,80 +1778,6 @@ export interface NotificationChannel {
1683
1778
  SNSTopicArn: string | undefined;
1684
1779
  RoleArn: string | undefined;
1685
1780
  }
1686
- export interface PutProjectPolicyRequest {
1687
- ProjectArn: string | undefined;
1688
- PolicyName: string | undefined;
1689
- PolicyRevisionId?: string;
1690
- PolicyDocument: string | undefined;
1691
- }
1692
- export interface PutProjectPolicyResponse {
1693
- PolicyRevisionId?: string;
1694
- }
1695
- export interface RecognizeCelebritiesRequest {
1696
- Image: Image | undefined;
1697
- }
1698
- export interface RecognizeCelebritiesResponse {
1699
- CelebrityFaces?: Celebrity[];
1700
- UnrecognizedFaces?: ComparedFace[];
1701
- OrientationCorrection?: OrientationCorrection;
1702
- }
1703
- export interface SearchFacesRequest {
1704
- CollectionId: string | undefined;
1705
- FaceId: string | undefined;
1706
- MaxFaces?: number;
1707
- FaceMatchThreshold?: number;
1708
- }
1709
- export interface SearchFacesResponse {
1710
- SearchedFaceId?: string;
1711
- FaceMatches?: FaceMatch[];
1712
- FaceModelVersion?: string;
1713
- }
1714
- export interface SearchFacesByImageRequest {
1715
- CollectionId: string | undefined;
1716
- Image: Image | undefined;
1717
- MaxFaces?: number;
1718
- FaceMatchThreshold?: number;
1719
- QualityFilter?: QualityFilter;
1720
- }
1721
- export interface SearchFacesByImageResponse {
1722
- SearchedFaceBoundingBox?: BoundingBox;
1723
- SearchedFaceConfidence?: number;
1724
- FaceMatches?: FaceMatch[];
1725
- FaceModelVersion?: string;
1726
- }
1727
- export interface SearchUsersRequest {
1728
- CollectionId: string | undefined;
1729
- UserId?: string;
1730
- FaceId?: string;
1731
- UserMatchThreshold?: number;
1732
- MaxUsers?: number;
1733
- }
1734
- export interface SearchedFace {
1735
- FaceId?: string;
1736
- }
1737
- export interface SearchedUser {
1738
- UserId?: string;
1739
- }
1740
- export interface UserMatch {
1741
- Similarity?: number;
1742
- User?: MatchedUser;
1743
- }
1744
- export interface SearchUsersResponse {
1745
- UserMatches?: UserMatch[];
1746
- FaceModelVersion?: string;
1747
- SearchedFace?: SearchedFace;
1748
- SearchedUser?: SearchedUser;
1749
- }
1750
- export interface SearchUsersByImageRequest {
1751
- CollectionId: string | undefined;
1752
- Image: Image | undefined;
1753
- UserMatchThreshold?: number;
1754
- MaxUsers?: number;
1755
- QualityFilter?: QualityFilter;
1756
- }
1757
- export interface SearchedFaceDetails {
1758
- FaceDetail?: FaceDetail;
1759
- }
1760
1781
  export declare const AuditImageFilterSensitiveLog: (obj: AuditImage) => any;
1761
1782
  export declare const GetFaceLivenessSessionResultsResponseFilterSensitiveLog: (
1762
1783
  obj: GetFaceLivenessSessionResultsResponse
@@ -1,24 +1,107 @@
1
1
  import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
2
  import {
3
3
  BlackFrame,
4
+ BoundingBox,
5
+ Celebrity,
6
+ ComparedFace,
4
7
  ConnectedHomeSettingsForUpdate,
5
8
  DatasetChanges,
6
9
  DetectionFilter,
7
10
  FaceAttributes,
8
11
  FaceDetail,
12
+ FaceMatch,
13
+ Image,
9
14
  KinesisVideoStreamStartSelector,
10
15
  LabelDetectionFeatureName,
11
16
  LabelDetectionSettings,
17
+ MatchedUser,
18
+ MediaAnalysisInput,
19
+ MediaAnalysisOperationsConfig,
20
+ MediaAnalysisOutputConfig,
12
21
  NotificationChannel,
22
+ OrientationCorrection,
13
23
  ProjectVersionStatus,
24
+ QualityFilter,
14
25
  RegionOfInterest,
15
- SearchedFaceDetails,
16
26
  SegmentType,
17
27
  StreamProcessorDataSharingPreference,
18
- UserMatch,
19
28
  Video,
20
29
  } from "./models_0";
21
30
  import { RekognitionServiceException as __BaseException } from "./RekognitionServiceException";
31
+ export interface PutProjectPolicyRequest {
32
+ ProjectArn: string | undefined;
33
+ PolicyName: string | undefined;
34
+ PolicyRevisionId?: string;
35
+ PolicyDocument: string | undefined;
36
+ }
37
+ export interface PutProjectPolicyResponse {
38
+ PolicyRevisionId?: string;
39
+ }
40
+ export interface RecognizeCelebritiesRequest {
41
+ Image: Image | undefined;
42
+ }
43
+ export interface RecognizeCelebritiesResponse {
44
+ CelebrityFaces?: Celebrity[];
45
+ UnrecognizedFaces?: ComparedFace[];
46
+ OrientationCorrection?: OrientationCorrection;
47
+ }
48
+ export interface SearchFacesRequest {
49
+ CollectionId: string | undefined;
50
+ FaceId: string | undefined;
51
+ MaxFaces?: number;
52
+ FaceMatchThreshold?: number;
53
+ }
54
+ export interface SearchFacesResponse {
55
+ SearchedFaceId?: string;
56
+ FaceMatches?: FaceMatch[];
57
+ FaceModelVersion?: string;
58
+ }
59
+ export interface SearchFacesByImageRequest {
60
+ CollectionId: string | undefined;
61
+ Image: Image | undefined;
62
+ MaxFaces?: number;
63
+ FaceMatchThreshold?: number;
64
+ QualityFilter?: QualityFilter;
65
+ }
66
+ export interface SearchFacesByImageResponse {
67
+ SearchedFaceBoundingBox?: BoundingBox;
68
+ SearchedFaceConfidence?: number;
69
+ FaceMatches?: FaceMatch[];
70
+ FaceModelVersion?: string;
71
+ }
72
+ export interface SearchUsersRequest {
73
+ CollectionId: string | undefined;
74
+ UserId?: string;
75
+ FaceId?: string;
76
+ UserMatchThreshold?: number;
77
+ MaxUsers?: number;
78
+ }
79
+ export interface SearchedFace {
80
+ FaceId?: string;
81
+ }
82
+ export interface SearchedUser {
83
+ UserId?: string;
84
+ }
85
+ export interface UserMatch {
86
+ Similarity?: number;
87
+ User?: MatchedUser;
88
+ }
89
+ export interface SearchUsersResponse {
90
+ UserMatches?: UserMatch[];
91
+ FaceModelVersion?: string;
92
+ SearchedFace?: SearchedFace;
93
+ SearchedUser?: SearchedUser;
94
+ }
95
+ export interface SearchUsersByImageRequest {
96
+ CollectionId: string | undefined;
97
+ Image: Image | undefined;
98
+ UserMatchThreshold?: number;
99
+ MaxUsers?: number;
100
+ QualityFilter?: QualityFilter;
101
+ }
102
+ export interface SearchedFaceDetails {
103
+ FaceDetail?: FaceDetail;
104
+ }
22
105
  export declare const UnsearchedFaceReason: {
23
106
  readonly EXCEEDS_MAX_FACES: "EXCEEDS_MAX_FACES";
24
107
  readonly EXTREME_POSE: "EXTREME_POSE";
@@ -103,6 +186,17 @@ export interface StartLabelDetectionRequest {
103
186
  export interface StartLabelDetectionResponse {
104
187
  JobId?: string;
105
188
  }
189
+ export interface StartMediaAnalysisJobRequest {
190
+ ClientRequestToken?: string;
191
+ JobName?: string;
192
+ OperationsConfig: MediaAnalysisOperationsConfig | undefined;
193
+ Input: MediaAnalysisInput | undefined;
194
+ OutputConfig: MediaAnalysisOutputConfig | undefined;
195
+ KmsKeyId?: string;
196
+ }
197
+ export interface StartMediaAnalysisJobResponse {
198
+ JobId: string | undefined;
199
+ }
106
200
  export interface StartPersonTrackingRequest {
107
201
  Video: Video | undefined;
108
202
  ClientRequestToken?: string;
@@ -0,0 +1,11 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import {
3
+ ListMediaAnalysisJobsCommandInput,
4
+ ListMediaAnalysisJobsCommandOutput,
5
+ } from "../commands/ListMediaAnalysisJobsCommand";
6
+ import { RekognitionPaginationConfiguration } from "./Interfaces";
7
+ export declare function paginateListMediaAnalysisJobs(
8
+ config: RekognitionPaginationConfiguration,
9
+ input: ListMediaAnalysisJobsCommandInput,
10
+ ...additionalArguments: any
11
+ ): Paginator<ListMediaAnalysisJobsCommandOutput>;
@@ -13,6 +13,7 @@ export * from "./ListCollectionsPaginator";
13
13
  export * from "./ListDatasetEntriesPaginator";
14
14
  export * from "./ListDatasetLabelsPaginator";
15
15
  export * from "./ListFacesPaginator";
16
+ export * from "./ListMediaAnalysisJobsPaginator";
16
17
  export * from "./ListProjectPoliciesPaginator";
17
18
  export * from "./ListStreamProcessorsPaginator";
18
19
  export * from "./ListUsersPaginator";