@aws-sdk/client-rekognition 3.350.0 → 3.351.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 (94) hide show
  1. package/README.md +98 -7
  2. package/dist-cjs/Rekognition.js +14 -0
  3. package/dist-cjs/commands/AssociateFacesCommand.js +46 -0
  4. package/dist-cjs/commands/CreateUserCommand.js +46 -0
  5. package/dist-cjs/commands/DeleteUserCommand.js +46 -0
  6. package/dist-cjs/commands/DisassociateFacesCommand.js +46 -0
  7. package/dist-cjs/commands/ListUsersCommand.js +46 -0
  8. package/dist-cjs/commands/SearchUsersByImageCommand.js +46 -0
  9. package/dist-cjs/commands/SearchUsersCommand.js +46 -0
  10. package/dist-cjs/commands/index.js +7 -0
  11. package/dist-cjs/models/models_0.js +159 -130
  12. package/dist-cjs/models/models_1.js +18 -1
  13. package/dist-cjs/pagination/ListUsersPaginator.js +29 -0
  14. package/dist-cjs/pagination/index.js +1 -0
  15. package/dist-cjs/protocols/Aws_json1_1.js +565 -4
  16. package/dist-es/Rekognition.js +14 -0
  17. package/dist-es/commands/AssociateFacesCommand.js +42 -0
  18. package/dist-es/commands/CreateUserCommand.js +42 -0
  19. package/dist-es/commands/DeleteUserCommand.js +42 -0
  20. package/dist-es/commands/DisassociateFacesCommand.js +42 -0
  21. package/dist-es/commands/ListUsersCommand.js +42 -0
  22. package/dist-es/commands/SearchUsersByImageCommand.js +42 -0
  23. package/dist-es/commands/SearchUsersCommand.js +42 -0
  24. package/dist-es/commands/index.js +7 -0
  25. package/dist-es/models/models_0.js +149 -120
  26. package/dist-es/models/models_1.js +16 -0
  27. package/dist-es/pagination/ListUsersPaginator.js +25 -0
  28. package/dist-es/pagination/index.js +1 -0
  29. package/dist-es/protocols/Aws_json1_1.js +548 -1
  30. package/dist-types/Rekognition.d.ts +84 -0
  31. package/dist-types/RekognitionClient.d.ts +44 -2
  32. package/dist-types/commands/AssociateFacesCommand.d.ts +158 -0
  33. package/dist-types/commands/CreateUserCommand.d.ts +114 -0
  34. package/dist-types/commands/DeleteFacesCommand.d.ts +9 -0
  35. package/dist-types/commands/DeleteUserCommand.d.ts +106 -0
  36. package/dist-types/commands/DescribeCollectionCommand.d.ts +1 -0
  37. package/dist-types/commands/DisassociateFacesCommand.d.ts +128 -0
  38. package/dist-types/commands/GetFaceSearchCommand.d.ts +1 -0
  39. package/dist-types/commands/IndexFacesCommand.d.ts +1 -0
  40. package/dist-types/commands/ListFacesCommand.d.ts +5 -0
  41. package/dist-types/commands/ListUsersCommand.d.ts +108 -0
  42. package/dist-types/commands/SearchFacesByImageCommand.d.ts +1 -0
  43. package/dist-types/commands/SearchFacesCommand.d.ts +1 -0
  44. package/dist-types/commands/SearchUsersByImageCommand.d.ts +294 -0
  45. package/dist-types/commands/SearchUsersCommand.d.ts +117 -0
  46. package/dist-types/commands/StartCelebrityRecognitionCommand.d.ts +2 -1
  47. package/dist-types/commands/StartContentModerationCommand.d.ts +1 -1
  48. package/dist-types/commands/StartFaceDetectionCommand.d.ts +1 -1
  49. package/dist-types/commands/StartFaceSearchCommand.d.ts +1 -1
  50. package/dist-types/commands/StartLabelDetectionCommand.d.ts +1 -1
  51. package/dist-types/commands/StartPersonTrackingCommand.d.ts +1 -1
  52. package/dist-types/commands/StartProjectVersionCommand.d.ts +1 -1
  53. package/dist-types/commands/StartSegmentDetectionCommand.d.ts +1 -1
  54. package/dist-types/commands/StartStreamProcessorCommand.d.ts +1 -1
  55. package/dist-types/commands/StartTextDetectionCommand.d.ts +1 -1
  56. package/dist-types/commands/StopProjectVersionCommand.d.ts +1 -1
  57. package/dist-types/commands/StopStreamProcessorCommand.d.ts +1 -1
  58. package/dist-types/commands/TagResourceCommand.d.ts +1 -1
  59. package/dist-types/commands/index.d.ts +7 -0
  60. package/dist-types/index.d.ts +35 -0
  61. package/dist-types/models/models_0.d.ts +668 -604
  62. package/dist-types/models/models_1.d.ts +562 -1
  63. package/dist-types/pagination/ListUsersPaginator.d.ts +7 -0
  64. package/dist-types/pagination/index.d.ts +1 -0
  65. package/dist-types/protocols/Aws_json1_1.d.ts +63 -0
  66. package/dist-types/ts3.4/Rekognition.d.ts +119 -0
  67. package/dist-types/ts3.4/RekognitionClient.d.ts +42 -0
  68. package/dist-types/ts3.4/commands/AssociateFacesCommand.d.ts +38 -0
  69. package/dist-types/ts3.4/commands/CreateUserCommand.d.ts +35 -0
  70. package/dist-types/ts3.4/commands/DeleteUserCommand.d.ts +35 -0
  71. package/dist-types/ts3.4/commands/DisassociateFacesCommand.d.ts +39 -0
  72. package/dist-types/ts3.4/commands/ListUsersCommand.d.ts +35 -0
  73. package/dist-types/ts3.4/commands/SearchUsersByImageCommand.d.ts +39 -0
  74. package/dist-types/ts3.4/commands/SearchUsersCommand.d.ts +35 -0
  75. package/dist-types/ts3.4/commands/StartCelebrityRecognitionCommand.d.ts +2 -4
  76. package/dist-types/ts3.4/commands/StartContentModerationCommand.d.ts +1 -1
  77. package/dist-types/ts3.4/commands/StartFaceDetectionCommand.d.ts +1 -1
  78. package/dist-types/ts3.4/commands/StartFaceSearchCommand.d.ts +1 -1
  79. package/dist-types/ts3.4/commands/StartLabelDetectionCommand.d.ts +1 -1
  80. package/dist-types/ts3.4/commands/StartPersonTrackingCommand.d.ts +1 -1
  81. package/dist-types/ts3.4/commands/StartProjectVersionCommand.d.ts +1 -1
  82. package/dist-types/ts3.4/commands/StartSegmentDetectionCommand.d.ts +1 -1
  83. package/dist-types/ts3.4/commands/StartStreamProcessorCommand.d.ts +1 -1
  84. package/dist-types/ts3.4/commands/StartTextDetectionCommand.d.ts +1 -1
  85. package/dist-types/ts3.4/commands/StopProjectVersionCommand.d.ts +1 -1
  86. package/dist-types/ts3.4/commands/StopStreamProcessorCommand.d.ts +1 -1
  87. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +1 -1
  88. package/dist-types/ts3.4/commands/index.d.ts +7 -0
  89. package/dist-types/ts3.4/models/models_0.d.ts +236 -206
  90. package/dist-types/ts3.4/models/models_1.d.ts +150 -0
  91. package/dist-types/ts3.4/pagination/ListUsersPaginator.d.ts +11 -0
  92. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  93. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +84 -0
  94. package/package.json +4 -2
@@ -0,0 +1,35 @@
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 { ListUsersRequest, ListUsersResponse } from "../models/models_0";
10
+ import {
11
+ RekognitionClientResolvedConfig,
12
+ ServiceInputTypes,
13
+ ServiceOutputTypes,
14
+ } from "../RekognitionClient";
15
+ export { __MetadataBearer, $Command };
16
+ export interface ListUsersCommandInput extends ListUsersRequest {}
17
+ export interface ListUsersCommandOutput
18
+ extends ListUsersResponse,
19
+ __MetadataBearer {}
20
+ export declare class ListUsersCommand extends $Command<
21
+ ListUsersCommandInput,
22
+ ListUsersCommandOutput,
23
+ RekognitionClientResolvedConfig
24
+ > {
25
+ readonly input: ListUsersCommandInput;
26
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
27
+ constructor(input: ListUsersCommandInput);
28
+ resolveMiddleware(
29
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
30
+ configuration: RekognitionClientResolvedConfig,
31
+ options?: __HttpHandlerOptions
32
+ ): Handler<ListUsersCommandInput, ListUsersCommandOutput>;
33
+ private serialize;
34
+ private deserialize;
35
+ }
@@ -0,0 +1,39 @@
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
+ SearchUsersByImageRequest,
11
+ SearchUsersByImageResponse,
12
+ } from "../models/models_0";
13
+ import {
14
+ RekognitionClientResolvedConfig,
15
+ ServiceInputTypes,
16
+ ServiceOutputTypes,
17
+ } from "../RekognitionClient";
18
+ export { __MetadataBearer, $Command };
19
+ export interface SearchUsersByImageCommandInput
20
+ extends SearchUsersByImageRequest {}
21
+ export interface SearchUsersByImageCommandOutput
22
+ extends SearchUsersByImageResponse,
23
+ __MetadataBearer {}
24
+ export declare class SearchUsersByImageCommand extends $Command<
25
+ SearchUsersByImageCommandInput,
26
+ SearchUsersByImageCommandOutput,
27
+ RekognitionClientResolvedConfig
28
+ > {
29
+ readonly input: SearchUsersByImageCommandInput;
30
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
31
+ constructor(input: SearchUsersByImageCommandInput);
32
+ resolveMiddleware(
33
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
34
+ configuration: RekognitionClientResolvedConfig,
35
+ options?: __HttpHandlerOptions
36
+ ): Handler<SearchUsersByImageCommandInput, SearchUsersByImageCommandOutput>;
37
+ private serialize;
38
+ private deserialize;
39
+ }
@@ -0,0 +1,35 @@
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 { SearchUsersRequest, SearchUsersResponse } from "../models/models_0";
10
+ import {
11
+ RekognitionClientResolvedConfig,
12
+ ServiceInputTypes,
13
+ ServiceOutputTypes,
14
+ } from "../RekognitionClient";
15
+ export { __MetadataBearer, $Command };
16
+ export interface SearchUsersCommandInput extends SearchUsersRequest {}
17
+ export interface SearchUsersCommandOutput
18
+ extends SearchUsersResponse,
19
+ __MetadataBearer {}
20
+ export declare class SearchUsersCommand extends $Command<
21
+ SearchUsersCommandInput,
22
+ SearchUsersCommandOutput,
23
+ RekognitionClientResolvedConfig
24
+ > {
25
+ readonly input: SearchUsersCommandInput;
26
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
27
+ constructor(input: SearchUsersCommandInput);
28
+ resolveMiddleware(
29
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
30
+ configuration: RekognitionClientResolvedConfig,
31
+ options?: __HttpHandlerOptions
32
+ ): Handler<SearchUsersCommandInput, SearchUsersCommandOutput>;
33
+ private serialize;
34
+ private deserialize;
35
+ }
@@ -6,10 +6,8 @@ import {
6
6
  MetadataBearer as __MetadataBearer,
7
7
  MiddlewareStack,
8
8
  } from "@aws-sdk/types";
9
- import {
10
- StartCelebrityRecognitionRequest,
11
- StartCelebrityRecognitionResponse,
12
- } from "../models/models_0";
9
+ import { StartCelebrityRecognitionRequest } from "../models/models_0";
10
+ import { StartCelebrityRecognitionResponse } from "../models/models_1";
13
11
  import {
14
12
  RekognitionClientResolvedConfig,
15
13
  ServiceInputTypes,
@@ -9,7 +9,7 @@ import {
9
9
  import {
10
10
  StartContentModerationRequest,
11
11
  StartContentModerationResponse,
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
  StartFaceDetectionRequest,
11
11
  StartFaceDetectionResponse,
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
  StartFaceSearchRequest,
11
11
  StartFaceSearchResponse,
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
  StartLabelDetectionRequest,
11
11
  StartLabelDetectionResponse,
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
  StartPersonTrackingRequest,
11
11
  StartPersonTrackingResponse,
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
  StartProjectVersionRequest,
11
11
  StartProjectVersionResponse,
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
  StartSegmentDetectionRequest,
11
11
  StartSegmentDetectionResponse,
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
  StartStreamProcessorRequest,
11
11
  StartStreamProcessorResponse,
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
  StartTextDetectionRequest,
11
11
  StartTextDetectionResponse,
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
  StopProjectVersionRequest,
11
11
  StopProjectVersionResponse,
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
  StopStreamProcessorRequest,
11
11
  StopStreamProcessorResponse,
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 "@aws-sdk/types";
9
- import { TagResourceRequest, TagResourceResponse } from "../models/models_0";
9
+ import { TagResourceRequest, TagResourceResponse } from "../models/models_1";
10
10
  import {
11
11
  RekognitionClientResolvedConfig,
12
12
  ServiceInputTypes,
@@ -1,3 +1,4 @@
1
+ export * from "./AssociateFacesCommand";
1
2
  export * from "./CompareFacesCommand";
2
3
  export * from "./CopyProjectVersionCommand";
3
4
  export * from "./CreateCollectionCommand";
@@ -6,6 +7,7 @@ export * from "./CreateFaceLivenessSessionCommand";
6
7
  export * from "./CreateProjectCommand";
7
8
  export * from "./CreateProjectVersionCommand";
8
9
  export * from "./CreateStreamProcessorCommand";
10
+ export * from "./CreateUserCommand";
9
11
  export * from "./DeleteCollectionCommand";
10
12
  export * from "./DeleteDatasetCommand";
11
13
  export * from "./DeleteFacesCommand";
@@ -13,6 +15,7 @@ export * from "./DeleteProjectCommand";
13
15
  export * from "./DeleteProjectPolicyCommand";
14
16
  export * from "./DeleteProjectVersionCommand";
15
17
  export * from "./DeleteStreamProcessorCommand";
18
+ export * from "./DeleteUserCommand";
16
19
  export * from "./DescribeCollectionCommand";
17
20
  export * from "./DescribeDatasetCommand";
18
21
  export * from "./DescribeProjectVersionsCommand";
@@ -24,6 +27,7 @@ export * from "./DetectLabelsCommand";
24
27
  export * from "./DetectModerationLabelsCommand";
25
28
  export * from "./DetectProtectiveEquipmentCommand";
26
29
  export * from "./DetectTextCommand";
30
+ export * from "./DisassociateFacesCommand";
27
31
  export * from "./DistributeDatasetEntriesCommand";
28
32
  export * from "./GetCelebrityInfoCommand";
29
33
  export * from "./GetCelebrityRecognitionCommand";
@@ -43,10 +47,13 @@ export * from "./ListFacesCommand";
43
47
  export * from "./ListProjectPoliciesCommand";
44
48
  export * from "./ListStreamProcessorsCommand";
45
49
  export * from "./ListTagsForResourceCommand";
50
+ export * from "./ListUsersCommand";
46
51
  export * from "./PutProjectPolicyCommand";
47
52
  export * from "./RecognizeCelebritiesCommand";
48
53
  export * from "./SearchFacesByImageCommand";
49
54
  export * from "./SearchFacesCommand";
55
+ export * from "./SearchUsersByImageCommand";
56
+ export * from "./SearchUsersCommand";
50
57
  export * from "./StartCelebrityRecognitionCommand";
51
58
  export * from "./StartContentModerationCommand";
52
59
  export * from "./StartFaceDetectionCommand";