@aws-sdk/client-rekognition 3.350.0 → 3.352.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/README.md +98 -7
- package/dist-cjs/Rekognition.js +14 -0
- package/dist-cjs/commands/AssociateFacesCommand.js +46 -0
- package/dist-cjs/commands/CreateUserCommand.js +46 -0
- package/dist-cjs/commands/DeleteUserCommand.js +46 -0
- package/dist-cjs/commands/DisassociateFacesCommand.js +46 -0
- package/dist-cjs/commands/ListUsersCommand.js +46 -0
- package/dist-cjs/commands/SearchUsersByImageCommand.js +46 -0
- package/dist-cjs/commands/SearchUsersCommand.js +46 -0
- package/dist-cjs/commands/index.js +7 -0
- package/dist-cjs/models/models_0.js +159 -130
- package/dist-cjs/models/models_1.js +18 -1
- package/dist-cjs/pagination/ListUsersPaginator.js +29 -0
- package/dist-cjs/pagination/index.js +1 -0
- package/dist-cjs/protocols/Aws_json1_1.js +565 -4
- package/dist-es/Rekognition.js +14 -0
- package/dist-es/commands/AssociateFacesCommand.js +42 -0
- package/dist-es/commands/CreateUserCommand.js +42 -0
- package/dist-es/commands/DeleteUserCommand.js +42 -0
- package/dist-es/commands/DisassociateFacesCommand.js +42 -0
- package/dist-es/commands/ListUsersCommand.js +42 -0
- package/dist-es/commands/SearchUsersByImageCommand.js +42 -0
- package/dist-es/commands/SearchUsersCommand.js +42 -0
- package/dist-es/commands/index.js +7 -0
- package/dist-es/models/models_0.js +149 -120
- package/dist-es/models/models_1.js +16 -0
- package/dist-es/pagination/ListUsersPaginator.js +25 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_json1_1.js +548 -1
- package/dist-types/Rekognition.d.ts +84 -0
- package/dist-types/RekognitionClient.d.ts +44 -2
- package/dist-types/commands/AssociateFacesCommand.d.ts +203 -0
- package/dist-types/commands/CreateUserCommand.d.ts +126 -0
- package/dist-types/commands/DeleteFacesCommand.d.ts +9 -0
- package/dist-types/commands/DeleteUserCommand.d.ts +119 -0
- package/dist-types/commands/DescribeCollectionCommand.d.ts +1 -0
- package/dist-types/commands/DisassociateFacesCommand.d.ts +164 -0
- package/dist-types/commands/GetFaceSearchCommand.d.ts +1 -0
- package/dist-types/commands/IndexFacesCommand.d.ts +1 -0
- package/dist-types/commands/ListFacesCommand.d.ts +5 -0
- package/dist-types/commands/ListUsersCommand.d.ts +134 -0
- package/dist-types/commands/SearchFacesByImageCommand.d.ts +1 -0
- package/dist-types/commands/SearchFacesCommand.d.ts +1 -0
- package/dist-types/commands/SearchUsersByImageCommand.d.ts +366 -0
- package/dist-types/commands/SearchUsersCommand.d.ts +148 -0
- package/dist-types/commands/StartCelebrityRecognitionCommand.d.ts +2 -1
- package/dist-types/commands/StartContentModerationCommand.d.ts +1 -1
- package/dist-types/commands/StartFaceDetectionCommand.d.ts +1 -1
- package/dist-types/commands/StartFaceSearchCommand.d.ts +1 -1
- package/dist-types/commands/StartLabelDetectionCommand.d.ts +1 -1
- package/dist-types/commands/StartPersonTrackingCommand.d.ts +1 -1
- package/dist-types/commands/StartProjectVersionCommand.d.ts +1 -1
- package/dist-types/commands/StartSegmentDetectionCommand.d.ts +1 -1
- package/dist-types/commands/StartStreamProcessorCommand.d.ts +1 -1
- package/dist-types/commands/StartTextDetectionCommand.d.ts +1 -1
- package/dist-types/commands/StopProjectVersionCommand.d.ts +1 -1
- package/dist-types/commands/StopStreamProcessorCommand.d.ts +1 -1
- package/dist-types/commands/TagResourceCommand.d.ts +1 -1
- package/dist-types/commands/index.d.ts +7 -0
- package/dist-types/index.d.ts +35 -0
- package/dist-types/models/models_0.d.ts +668 -604
- package/dist-types/models/models_1.d.ts +562 -1
- package/dist-types/pagination/ListUsersPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/protocols/Aws_json1_1.d.ts +63 -0
- package/dist-types/ts3.4/Rekognition.d.ts +119 -0
- package/dist-types/ts3.4/RekognitionClient.d.ts +42 -0
- package/dist-types/ts3.4/commands/AssociateFacesCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/CreateUserCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/DeleteUserCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/DisassociateFacesCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/ListUsersCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/SearchUsersByImageCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/SearchUsersCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/StartCelebrityRecognitionCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/StartContentModerationCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/StartFaceDetectionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/StartFaceSearchCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/StartLabelDetectionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/StartPersonTrackingCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/StartProjectVersionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/StartSegmentDetectionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/StartStreamProcessorCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/StartTextDetectionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/StopProjectVersionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/StopStreamProcessorCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/index.d.ts +7 -0
- package/dist-types/ts3.4/models/models_0.d.ts +236 -206
- package/dist-types/ts3.4/models/models_1.d.ts +150 -0
- package/dist-types/ts3.4/pagination/ListUsersPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +84 -0
- package/package.json +8 -6
|
@@ -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
|
-
|
|
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,
|
|
@@ -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/
|
|
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";
|