@aws-sdk/client-rekognition 3.306.0 → 3.310.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 (175) hide show
  1. package/README.md +16 -0
  2. package/dist-cjs/Rekognition.js +30 -0
  3. package/dist-cjs/commands/CompareFacesCommand.js +2 -2
  4. package/dist-cjs/commands/CopyProjectVersionCommand.js +2 -2
  5. package/dist-cjs/commands/CreateCollectionCommand.js +2 -2
  6. package/dist-cjs/commands/CreateDatasetCommand.js +2 -2
  7. package/dist-cjs/commands/CreateFaceLivenessSessionCommand.js +45 -0
  8. package/dist-cjs/commands/CreateProjectCommand.js +2 -2
  9. package/dist-cjs/commands/CreateProjectVersionCommand.js +2 -2
  10. package/dist-cjs/commands/CreateStreamProcessorCommand.js +2 -2
  11. package/dist-cjs/commands/DeleteCollectionCommand.js +2 -2
  12. package/dist-cjs/commands/DeleteDatasetCommand.js +2 -2
  13. package/dist-cjs/commands/DeleteFacesCommand.js +2 -2
  14. package/dist-cjs/commands/DeleteProjectCommand.js +2 -2
  15. package/dist-cjs/commands/DeleteProjectPolicyCommand.js +2 -2
  16. package/dist-cjs/commands/DeleteProjectVersionCommand.js +2 -2
  17. package/dist-cjs/commands/DeleteStreamProcessorCommand.js +2 -2
  18. package/dist-cjs/commands/DescribeCollectionCommand.js +2 -2
  19. package/dist-cjs/commands/DescribeDatasetCommand.js +2 -2
  20. package/dist-cjs/commands/DescribeProjectVersionsCommand.js +2 -2
  21. package/dist-cjs/commands/DescribeProjectsCommand.js +2 -2
  22. package/dist-cjs/commands/DescribeStreamProcessorCommand.js +2 -2
  23. package/dist-cjs/commands/DetectCustomLabelsCommand.js +2 -2
  24. package/dist-cjs/commands/DetectFacesCommand.js +2 -2
  25. package/dist-cjs/commands/DetectLabelsCommand.js +2 -2
  26. package/dist-cjs/commands/DetectModerationLabelsCommand.js +2 -2
  27. package/dist-cjs/commands/DetectProtectiveEquipmentCommand.js +2 -2
  28. package/dist-cjs/commands/DetectTextCommand.js +2 -2
  29. package/dist-cjs/commands/DistributeDatasetEntriesCommand.js +2 -2
  30. package/dist-cjs/commands/GetCelebrityInfoCommand.js +2 -2
  31. package/dist-cjs/commands/GetCelebrityRecognitionCommand.js +2 -2
  32. package/dist-cjs/commands/GetContentModerationCommand.js +2 -2
  33. package/dist-cjs/commands/GetFaceDetectionCommand.js +2 -2
  34. package/dist-cjs/commands/GetFaceLivenessSessionResultsCommand.js +46 -0
  35. package/dist-cjs/commands/GetFaceSearchCommand.js +2 -2
  36. package/dist-cjs/commands/GetLabelDetectionCommand.js +2 -2
  37. package/dist-cjs/commands/GetPersonTrackingCommand.js +2 -2
  38. package/dist-cjs/commands/GetSegmentDetectionCommand.js +2 -2
  39. package/dist-cjs/commands/GetTextDetectionCommand.js +2 -2
  40. package/dist-cjs/commands/IndexFacesCommand.js +2 -2
  41. package/dist-cjs/commands/ListCollectionsCommand.js +2 -2
  42. package/dist-cjs/commands/ListDatasetEntriesCommand.js +2 -2
  43. package/dist-cjs/commands/ListDatasetLabelsCommand.js +2 -2
  44. package/dist-cjs/commands/ListFacesCommand.js +2 -2
  45. package/dist-cjs/commands/ListProjectPoliciesCommand.js +2 -2
  46. package/dist-cjs/commands/ListStreamProcessorsCommand.js +2 -2
  47. package/dist-cjs/commands/ListTagsForResourceCommand.js +2 -2
  48. package/dist-cjs/commands/PutProjectPolicyCommand.js +2 -2
  49. package/dist-cjs/commands/RecognizeCelebritiesCommand.js +2 -2
  50. package/dist-cjs/commands/SearchFacesByImageCommand.js +2 -2
  51. package/dist-cjs/commands/SearchFacesCommand.js +2 -2
  52. package/dist-cjs/commands/StartCelebrityRecognitionCommand.js +2 -2
  53. package/dist-cjs/commands/StartContentModerationCommand.js +2 -2
  54. package/dist-cjs/commands/StartFaceDetectionCommand.js +2 -2
  55. package/dist-cjs/commands/StartFaceSearchCommand.js +2 -2
  56. package/dist-cjs/commands/StartLabelDetectionCommand.js +2 -2
  57. package/dist-cjs/commands/StartPersonTrackingCommand.js +2 -2
  58. package/dist-cjs/commands/StartProjectVersionCommand.js +2 -2
  59. package/dist-cjs/commands/StartSegmentDetectionCommand.js +2 -2
  60. package/dist-cjs/commands/StartStreamProcessorCommand.js +2 -2
  61. package/dist-cjs/commands/StartTextDetectionCommand.js +2 -2
  62. package/dist-cjs/commands/StopProjectVersionCommand.js +2 -2
  63. package/dist-cjs/commands/StopStreamProcessorCommand.js +2 -2
  64. package/dist-cjs/commands/TagResourceCommand.js +2 -2
  65. package/dist-cjs/commands/UntagResourceCommand.js +2 -2
  66. package/dist-cjs/commands/UpdateDatasetEntriesCommand.js +2 -2
  67. package/dist-cjs/commands/UpdateStreamProcessorCommand.js +2 -2
  68. package/dist-cjs/commands/index.js +2 -0
  69. package/dist-cjs/endpoint/ruleset.js +3 -3
  70. package/dist-cjs/models/index.js +1 -0
  71. package/dist-cjs/models/models_0.js +36 -2
  72. package/dist-cjs/models/models_1.js +2 -0
  73. package/dist-cjs/protocols/Aws_json1_1.js +1883 -1773
  74. package/dist-es/Rekognition.js +30 -0
  75. package/dist-es/commands/CompareFacesCommand.js +3 -3
  76. package/dist-es/commands/CopyProjectVersionCommand.js +3 -3
  77. package/dist-es/commands/CreateCollectionCommand.js +3 -3
  78. package/dist-es/commands/CreateDatasetCommand.js +3 -3
  79. package/dist-es/commands/CreateFaceLivenessSessionCommand.js +41 -0
  80. package/dist-es/commands/CreateProjectCommand.js +3 -3
  81. package/dist-es/commands/CreateProjectVersionCommand.js +3 -3
  82. package/dist-es/commands/CreateStreamProcessorCommand.js +3 -3
  83. package/dist-es/commands/DeleteCollectionCommand.js +3 -3
  84. package/dist-es/commands/DeleteDatasetCommand.js +3 -3
  85. package/dist-es/commands/DeleteFacesCommand.js +3 -3
  86. package/dist-es/commands/DeleteProjectCommand.js +3 -3
  87. package/dist-es/commands/DeleteProjectPolicyCommand.js +3 -3
  88. package/dist-es/commands/DeleteProjectVersionCommand.js +3 -3
  89. package/dist-es/commands/DeleteStreamProcessorCommand.js +3 -3
  90. package/dist-es/commands/DescribeCollectionCommand.js +3 -3
  91. package/dist-es/commands/DescribeDatasetCommand.js +3 -3
  92. package/dist-es/commands/DescribeProjectVersionsCommand.js +3 -3
  93. package/dist-es/commands/DescribeProjectsCommand.js +3 -3
  94. package/dist-es/commands/DescribeStreamProcessorCommand.js +3 -3
  95. package/dist-es/commands/DetectCustomLabelsCommand.js +3 -3
  96. package/dist-es/commands/DetectFacesCommand.js +3 -3
  97. package/dist-es/commands/DetectLabelsCommand.js +3 -3
  98. package/dist-es/commands/DetectModerationLabelsCommand.js +3 -3
  99. package/dist-es/commands/DetectProtectiveEquipmentCommand.js +3 -3
  100. package/dist-es/commands/DetectTextCommand.js +3 -3
  101. package/dist-es/commands/DistributeDatasetEntriesCommand.js +3 -3
  102. package/dist-es/commands/GetCelebrityInfoCommand.js +3 -3
  103. package/dist-es/commands/GetCelebrityRecognitionCommand.js +3 -3
  104. package/dist-es/commands/GetContentModerationCommand.js +3 -3
  105. package/dist-es/commands/GetFaceDetectionCommand.js +3 -3
  106. package/dist-es/commands/GetFaceLivenessSessionResultsCommand.js +42 -0
  107. package/dist-es/commands/GetFaceSearchCommand.js +3 -3
  108. package/dist-es/commands/GetLabelDetectionCommand.js +3 -3
  109. package/dist-es/commands/GetPersonTrackingCommand.js +3 -3
  110. package/dist-es/commands/GetSegmentDetectionCommand.js +3 -3
  111. package/dist-es/commands/GetTextDetectionCommand.js +3 -3
  112. package/dist-es/commands/IndexFacesCommand.js +3 -3
  113. package/dist-es/commands/ListCollectionsCommand.js +3 -3
  114. package/dist-es/commands/ListDatasetEntriesCommand.js +3 -3
  115. package/dist-es/commands/ListDatasetLabelsCommand.js +3 -3
  116. package/dist-es/commands/ListFacesCommand.js +3 -3
  117. package/dist-es/commands/ListProjectPoliciesCommand.js +3 -3
  118. package/dist-es/commands/ListStreamProcessorsCommand.js +3 -3
  119. package/dist-es/commands/ListTagsForResourceCommand.js +3 -3
  120. package/dist-es/commands/PutProjectPolicyCommand.js +3 -3
  121. package/dist-es/commands/RecognizeCelebritiesCommand.js +3 -3
  122. package/dist-es/commands/SearchFacesByImageCommand.js +3 -3
  123. package/dist-es/commands/SearchFacesCommand.js +3 -3
  124. package/dist-es/commands/StartCelebrityRecognitionCommand.js +3 -3
  125. package/dist-es/commands/StartContentModerationCommand.js +3 -3
  126. package/dist-es/commands/StartFaceDetectionCommand.js +3 -3
  127. package/dist-es/commands/StartFaceSearchCommand.js +3 -3
  128. package/dist-es/commands/StartLabelDetectionCommand.js +3 -3
  129. package/dist-es/commands/StartPersonTrackingCommand.js +3 -3
  130. package/dist-es/commands/StartProjectVersionCommand.js +3 -3
  131. package/dist-es/commands/StartSegmentDetectionCommand.js +3 -3
  132. package/dist-es/commands/StartStreamProcessorCommand.js +3 -3
  133. package/dist-es/commands/StartTextDetectionCommand.js +3 -3
  134. package/dist-es/commands/StopProjectVersionCommand.js +3 -3
  135. package/dist-es/commands/StopStreamProcessorCommand.js +3 -3
  136. package/dist-es/commands/TagResourceCommand.js +3 -3
  137. package/dist-es/commands/UntagResourceCommand.js +3 -3
  138. package/dist-es/commands/UpdateDatasetEntriesCommand.js +3 -3
  139. package/dist-es/commands/UpdateStreamProcessorCommand.js +3 -3
  140. package/dist-es/commands/index.js +2 -0
  141. package/dist-es/endpoint/ruleset.js +3 -3
  142. package/dist-es/models/index.js +1 -0
  143. package/dist-es/models/models_0.js +31 -0
  144. package/dist-es/models/models_1.js +1 -0
  145. package/dist-es/protocols/Aws_json1_1.js +1751 -1645
  146. package/dist-types/Rekognition.d.ts +51 -10
  147. package/dist-types/RekognitionClient.d.ts +4 -2
  148. package/dist-types/commands/CopyProjectVersionCommand.d.ts +1 -0
  149. package/dist-types/commands/CreateFaceLivenessSessionCommand.d.ts +94 -0
  150. package/dist-types/commands/CreateStreamProcessorCommand.d.ts +17 -7
  151. package/dist-types/commands/DeleteProjectPolicyCommand.d.ts +1 -0
  152. package/dist-types/commands/DetectLabelsCommand.d.ts +2 -3
  153. package/dist-types/commands/GetFaceLivenessSessionResultsCommand.d.ts +88 -0
  154. package/dist-types/commands/ListProjectPoliciesCommand.d.ts +1 -0
  155. package/dist-types/commands/PutProjectPolicyCommand.d.ts +1 -0
  156. package/dist-types/commands/StopProjectVersionCommand.d.ts +1 -0
  157. package/dist-types/commands/UpdateStreamProcessorCommand.d.ts +4 -1
  158. package/dist-types/commands/index.d.ts +2 -0
  159. package/dist-types/endpoint/EndpointParameters.d.ts +1 -1
  160. package/dist-types/models/index.d.ts +1 -0
  161. package/dist-types/models/models_0.d.ts +241 -106
  162. package/dist-types/models/models_1.d.ts +56 -0
  163. package/dist-types/protocols/Aws_json1_1.d.ts +522 -126
  164. package/dist-types/ts3.4/Rekognition.d.ts +34 -0
  165. package/dist-types/ts3.4/RekognitionClient.d.ts +12 -0
  166. package/dist-types/ts3.4/commands/CreateFaceLivenessSessionCommand.d.ts +41 -0
  167. package/dist-types/ts3.4/commands/GetFaceLivenessSessionResultsCommand.d.ts +41 -0
  168. package/dist-types/ts3.4/commands/UpdateStreamProcessorCommand.d.ts +1 -1
  169. package/dist-types/ts3.4/commands/index.d.ts +2 -0
  170. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -1
  171. package/dist-types/ts3.4/models/index.d.ts +1 -0
  172. package/dist-types/ts3.4/models/models_0.d.ts +59 -17
  173. package/dist-types/ts3.4/models/models_1.d.ts +17 -0
  174. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +150 -126
  175. package/package.json +36 -36
@@ -15,6 +15,10 @@ import {
15
15
  CreateDatasetCommandInput,
16
16
  CreateDatasetCommandOutput,
17
17
  } from "./commands/CreateDatasetCommand";
18
+ import {
19
+ CreateFaceLivenessSessionCommandInput,
20
+ CreateFaceLivenessSessionCommandOutput,
21
+ } from "./commands/CreateFaceLivenessSessionCommand";
18
22
  import {
19
23
  CreateProjectCommandInput,
20
24
  CreateProjectCommandOutput,
@@ -119,6 +123,10 @@ import {
119
123
  GetFaceDetectionCommandInput,
120
124
  GetFaceDetectionCommandOutput,
121
125
  } from "./commands/GetFaceDetectionCommand";
126
+ import {
127
+ GetFaceLivenessSessionResultsCommandInput,
128
+ GetFaceLivenessSessionResultsCommandOutput,
129
+ } from "./commands/GetFaceLivenessSessionResultsCommand";
122
130
  import {
123
131
  GetFaceSearchCommandInput,
124
132
  GetFaceSearchCommandOutput,
@@ -305,6 +313,19 @@ export declare class Rekognition extends RekognitionClient {
305
313
  options: __HttpHandlerOptions,
306
314
  cb: (err: any, data?: CreateDatasetCommandOutput) => void
307
315
  ): void;
316
+ createFaceLivenessSession(
317
+ args: CreateFaceLivenessSessionCommandInput,
318
+ options?: __HttpHandlerOptions
319
+ ): Promise<CreateFaceLivenessSessionCommandOutput>;
320
+ createFaceLivenessSession(
321
+ args: CreateFaceLivenessSessionCommandInput,
322
+ cb: (err: any, data?: CreateFaceLivenessSessionCommandOutput) => void
323
+ ): void;
324
+ createFaceLivenessSession(
325
+ args: CreateFaceLivenessSessionCommandInput,
326
+ options: __HttpHandlerOptions,
327
+ cb: (err: any, data?: CreateFaceLivenessSessionCommandOutput) => void
328
+ ): void;
308
329
  createProject(
309
330
  args: CreateProjectCommandInput,
310
331
  options?: __HttpHandlerOptions
@@ -643,6 +664,19 @@ export declare class Rekognition extends RekognitionClient {
643
664
  options: __HttpHandlerOptions,
644
665
  cb: (err: any, data?: GetFaceDetectionCommandOutput) => void
645
666
  ): void;
667
+ getFaceLivenessSessionResults(
668
+ args: GetFaceLivenessSessionResultsCommandInput,
669
+ options?: __HttpHandlerOptions
670
+ ): Promise<GetFaceLivenessSessionResultsCommandOutput>;
671
+ getFaceLivenessSessionResults(
672
+ args: GetFaceLivenessSessionResultsCommandInput,
673
+ cb: (err: any, data?: GetFaceLivenessSessionResultsCommandOutput) => void
674
+ ): void;
675
+ getFaceLivenessSessionResults(
676
+ args: GetFaceLivenessSessionResultsCommandInput,
677
+ options: __HttpHandlerOptions,
678
+ cb: (err: any, data?: GetFaceLivenessSessionResultsCommandOutput) => void
679
+ ): void;
646
680
  getFaceSearch(
647
681
  args: GetFaceSearchCommandInput,
648
682
  options?: __HttpHandlerOptions
@@ -60,6 +60,10 @@ import {
60
60
  CreateDatasetCommandInput,
61
61
  CreateDatasetCommandOutput,
62
62
  } from "./commands/CreateDatasetCommand";
63
+ import {
64
+ CreateFaceLivenessSessionCommandInput,
65
+ CreateFaceLivenessSessionCommandOutput,
66
+ } from "./commands/CreateFaceLivenessSessionCommand";
63
67
  import {
64
68
  CreateProjectCommandInput,
65
69
  CreateProjectCommandOutput,
@@ -164,6 +168,10 @@ import {
164
168
  GetFaceDetectionCommandInput,
165
169
  GetFaceDetectionCommandOutput,
166
170
  } from "./commands/GetFaceDetectionCommand";
171
+ import {
172
+ GetFaceLivenessSessionResultsCommandInput,
173
+ GetFaceLivenessSessionResultsCommandOutput,
174
+ } from "./commands/GetFaceLivenessSessionResultsCommand";
167
175
  import {
168
176
  GetFaceSearchCommandInput,
169
177
  GetFaceSearchCommandOutput,
@@ -306,6 +314,7 @@ export type ServiceInputTypes =
306
314
  | CopyProjectVersionCommandInput
307
315
  | CreateCollectionCommandInput
308
316
  | CreateDatasetCommandInput
317
+ | CreateFaceLivenessSessionCommandInput
309
318
  | CreateProjectCommandInput
310
319
  | CreateProjectVersionCommandInput
311
320
  | CreateStreamProcessorCommandInput
@@ -332,6 +341,7 @@ export type ServiceInputTypes =
332
341
  | GetCelebrityRecognitionCommandInput
333
342
  | GetContentModerationCommandInput
334
343
  | GetFaceDetectionCommandInput
344
+ | GetFaceLivenessSessionResultsCommandInput
335
345
  | GetFaceSearchCommandInput
336
346
  | GetLabelDetectionCommandInput
337
347
  | GetPersonTrackingCommandInput
@@ -370,6 +380,7 @@ export type ServiceOutputTypes =
370
380
  | CopyProjectVersionCommandOutput
371
381
  | CreateCollectionCommandOutput
372
382
  | CreateDatasetCommandOutput
383
+ | CreateFaceLivenessSessionCommandOutput
373
384
  | CreateProjectCommandOutput
374
385
  | CreateProjectVersionCommandOutput
375
386
  | CreateStreamProcessorCommandOutput
@@ -396,6 +407,7 @@ export type ServiceOutputTypes =
396
407
  | GetCelebrityRecognitionCommandOutput
397
408
  | GetContentModerationCommandOutput
398
409
  | GetFaceDetectionCommandOutput
410
+ | GetFaceLivenessSessionResultsCommandOutput
399
411
  | GetFaceSearchCommandOutput
400
412
  | GetLabelDetectionCommandOutput
401
413
  | GetPersonTrackingCommandOutput
@@ -0,0 +1,41 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
3
+ import {
4
+ Handler,
5
+ HttpHandlerOptions as __HttpHandlerOptions,
6
+ MetadataBearer as __MetadataBearer,
7
+ MiddlewareStack,
8
+ } from "@aws-sdk/types";
9
+ import {
10
+ CreateFaceLivenessSessionRequest,
11
+ CreateFaceLivenessSessionResponse,
12
+ } from "../models/models_0";
13
+ import {
14
+ RekognitionClientResolvedConfig,
15
+ ServiceInputTypes,
16
+ ServiceOutputTypes,
17
+ } from "../RekognitionClient";
18
+ export interface CreateFaceLivenessSessionCommandInput
19
+ extends CreateFaceLivenessSessionRequest {}
20
+ export interface CreateFaceLivenessSessionCommandOutput
21
+ extends CreateFaceLivenessSessionResponse,
22
+ __MetadataBearer {}
23
+ export declare class CreateFaceLivenessSessionCommand extends $Command<
24
+ CreateFaceLivenessSessionCommandInput,
25
+ CreateFaceLivenessSessionCommandOutput,
26
+ RekognitionClientResolvedConfig
27
+ > {
28
+ readonly input: CreateFaceLivenessSessionCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
30
+ constructor(input: CreateFaceLivenessSessionCommandInput);
31
+ resolveMiddleware(
32
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
33
+ configuration: RekognitionClientResolvedConfig,
34
+ options?: __HttpHandlerOptions
35
+ ): Handler<
36
+ CreateFaceLivenessSessionCommandInput,
37
+ CreateFaceLivenessSessionCommandOutput
38
+ >;
39
+ private serialize;
40
+ private deserialize;
41
+ }
@@ -0,0 +1,41 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
3
+ import {
4
+ Handler,
5
+ HttpHandlerOptions as __HttpHandlerOptions,
6
+ MetadataBearer as __MetadataBearer,
7
+ MiddlewareStack,
8
+ } from "@aws-sdk/types";
9
+ import {
10
+ GetFaceLivenessSessionResultsRequest,
11
+ GetFaceLivenessSessionResultsResponse,
12
+ } from "../models/models_0";
13
+ import {
14
+ RekognitionClientResolvedConfig,
15
+ ServiceInputTypes,
16
+ ServiceOutputTypes,
17
+ } from "../RekognitionClient";
18
+ export interface GetFaceLivenessSessionResultsCommandInput
19
+ extends GetFaceLivenessSessionResultsRequest {}
20
+ export interface GetFaceLivenessSessionResultsCommandOutput
21
+ extends GetFaceLivenessSessionResultsResponse,
22
+ __MetadataBearer {}
23
+ export declare class GetFaceLivenessSessionResultsCommand extends $Command<
24
+ GetFaceLivenessSessionResultsCommandInput,
25
+ GetFaceLivenessSessionResultsCommandOutput,
26
+ RekognitionClientResolvedConfig
27
+ > {
28
+ readonly input: GetFaceLivenessSessionResultsCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
30
+ constructor(input: GetFaceLivenessSessionResultsCommandInput);
31
+ resolveMiddleware(
32
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
33
+ configuration: RekognitionClientResolvedConfig,
34
+ options?: __HttpHandlerOptions
35
+ ): Handler<
36
+ GetFaceLivenessSessionResultsCommandInput,
37
+ GetFaceLivenessSessionResultsCommandOutput
38
+ >;
39
+ private serialize;
40
+ private deserialize;
41
+ }
@@ -9,7 +9,7 @@ import {
9
9
  import {
10
10
  UpdateStreamProcessorRequest,
11
11
  UpdateStreamProcessorResponse,
12
- } from "../models/models_0";
12
+ } from "../models/models_1";
13
13
  import {
14
14
  RekognitionClientResolvedConfig,
15
15
  ServiceInputTypes,
@@ -2,6 +2,7 @@ export * from "./CompareFacesCommand";
2
2
  export * from "./CopyProjectVersionCommand";
3
3
  export * from "./CreateCollectionCommand";
4
4
  export * from "./CreateDatasetCommand";
5
+ export * from "./CreateFaceLivenessSessionCommand";
5
6
  export * from "./CreateProjectCommand";
6
7
  export * from "./CreateProjectVersionCommand";
7
8
  export * from "./CreateStreamProcessorCommand";
@@ -28,6 +29,7 @@ export * from "./GetCelebrityInfoCommand";
28
29
  export * from "./GetCelebrityRecognitionCommand";
29
30
  export * from "./GetContentModerationCommand";
30
31
  export * from "./GetFaceDetectionCommand";
32
+ export * from "./GetFaceLivenessSessionResultsCommand";
31
33
  export * from "./GetFaceSearchCommand";
32
34
  export * from "./GetLabelDetectionCommand";
33
35
  export * from "./GetPersonTrackingCommand";
@@ -26,7 +26,7 @@ export declare const resolveClientEndpointParameters: <T>(
26
26
  defaultSigningName: string;
27
27
  };
28
28
  export interface EndpointParameters extends __EndpointParameters {
29
- Region: string;
29
+ Region?: string;
30
30
  UseDualStack?: boolean;
31
31
  UseFIPS?: boolean;
32
32
  Endpoint?: string;
@@ -1 +1,2 @@
1
1
  export * from "./models_0";
2
+ export * from "./models_1";
@@ -39,6 +39,17 @@ export interface AudioMetadata {
39
39
  SampleRate?: number;
40
40
  NumberOfChannels?: number;
41
41
  }
42
+ export interface BoundingBox {
43
+ Width?: number;
44
+ Height?: number;
45
+ Left?: number;
46
+ Top?: number;
47
+ }
48
+ export interface AuditImage {
49
+ Bytes?: Uint8Array;
50
+ S3Object?: S3Object;
51
+ BoundingBox?: BoundingBox;
52
+ }
42
53
  export interface Beard {
43
54
  Value?: boolean;
44
55
  Confidence?: number;
@@ -54,12 +65,6 @@ export declare const BodyPart: {
54
65
  readonly RIGHT_HAND: "RIGHT_HAND";
55
66
  };
56
67
  export type BodyPart = (typeof BodyPart)[keyof typeof BodyPart];
57
- export interface BoundingBox {
58
- Width?: number;
59
- Height?: number;
60
- Left?: number;
61
- Top?: number;
62
- }
63
68
  export interface CoversBodyPart {
64
69
  Confidence?: number;
65
70
  Value?: boolean;
@@ -477,6 +482,22 @@ export interface CreateDatasetRequest {
477
482
  export interface CreateDatasetResponse {
478
483
  DatasetArn?: string;
479
484
  }
485
+ export interface LivenessOutputConfig {
486
+ S3Bucket: string | undefined;
487
+ S3KeyPrefix?: string;
488
+ }
489
+ export interface CreateFaceLivenessSessionRequestSettings {
490
+ OutputConfig?: LivenessOutputConfig;
491
+ AuditImagesLimit?: number;
492
+ }
493
+ export interface CreateFaceLivenessSessionRequest {
494
+ KmsKeyId?: string;
495
+ Settings?: CreateFaceLivenessSessionRequestSettings;
496
+ ClientRequestToken?: string;
497
+ }
498
+ export interface CreateFaceLivenessSessionResponse {
499
+ SessionId: string | undefined;
500
+ }
480
501
  export interface CreateProjectRequest {
481
502
  ProjectName: string | undefined;
482
503
  }
@@ -1118,6 +1139,34 @@ export interface GetFaceDetectionResponse {
1118
1139
  NextToken?: string;
1119
1140
  Faces?: FaceDetection[];
1120
1141
  }
1142
+ export interface GetFaceLivenessSessionResultsRequest {
1143
+ SessionId: string | undefined;
1144
+ }
1145
+ export declare const LivenessSessionStatus: {
1146
+ readonly CREATED: "CREATED";
1147
+ readonly FAILED: "FAILED";
1148
+ readonly IN_PROGRESS: "IN_PROGRESS";
1149
+ readonly SUCCEEDED: "SUCCEEDED";
1150
+ };
1151
+ export type LivenessSessionStatus =
1152
+ (typeof LivenessSessionStatus)[keyof typeof LivenessSessionStatus];
1153
+ export interface GetFaceLivenessSessionResultsResponse {
1154
+ SessionId: string | undefined;
1155
+ Status: LivenessSessionStatus | string | undefined;
1156
+ Confidence?: number;
1157
+ ReferenceImage?: AuditImage;
1158
+ AuditImages?: AuditImage[];
1159
+ }
1160
+ export declare class SessionNotFoundException extends __BaseException {
1161
+ readonly name: "SessionNotFoundException";
1162
+ readonly $fault: "client";
1163
+ Message?: string;
1164
+ Code?: string;
1165
+ Logref?: string;
1166
+ constructor(
1167
+ opts: __ExceptionOptionType<SessionNotFoundException, __BaseException>
1168
+ );
1169
+ }
1121
1170
  export interface GetFaceSearchRequest {
1122
1171
  JobId: string | undefined;
1123
1172
  MaxResults?: number;
@@ -1621,14 +1670,7 @@ export declare const StreamProcessorParameterToDelete: {
1621
1670
  };
1622
1671
  export type StreamProcessorParameterToDelete =
1623
1672
  (typeof StreamProcessorParameterToDelete)[keyof typeof StreamProcessorParameterToDelete];
1624
- export interface StreamProcessorSettingsForUpdate {
1625
- ConnectedHomeForUpdate?: ConnectedHomeSettingsForUpdate;
1626
- }
1627
- export interface UpdateStreamProcessorRequest {
1628
- Name: string | undefined;
1629
- SettingsForUpdate?: StreamProcessorSettingsForUpdate;
1630
- RegionsOfInterestForUpdate?: RegionOfInterest[];
1631
- DataSharingPreferenceForUpdate?: StreamProcessorDataSharingPreference;
1632
- ParametersToDelete?: (StreamProcessorParameterToDelete | string)[];
1633
- }
1634
- export interface UpdateStreamProcessorResponse {}
1673
+ export declare const AuditImageFilterSensitiveLog: (obj: AuditImage) => any;
1674
+ export declare const GetFaceLivenessSessionResultsResponseFilterSensitiveLog: (
1675
+ obj: GetFaceLivenessSessionResultsResponse
1676
+ ) => any;
@@ -0,0 +1,17 @@
1
+ import {
2
+ ConnectedHomeSettingsForUpdate,
3
+ RegionOfInterest,
4
+ StreamProcessorDataSharingPreference,
5
+ StreamProcessorParameterToDelete,
6
+ } from "./models_0";
7
+ export interface StreamProcessorSettingsForUpdate {
8
+ ConnectedHomeForUpdate?: ConnectedHomeSettingsForUpdate;
9
+ }
10
+ export interface UpdateStreamProcessorRequest {
11
+ Name: string | undefined;
12
+ SettingsForUpdate?: StreamProcessorSettingsForUpdate;
13
+ RegionsOfInterestForUpdate?: RegionOfInterest[];
14
+ DataSharingPreferenceForUpdate?: StreamProcessorDataSharingPreference;
15
+ ParametersToDelete?: (StreamProcessorParameterToDelete | string)[];
16
+ }
17
+ export interface UpdateStreamProcessorResponse {}