@aws-sdk/client-rekognition 3.649.0 → 3.650.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 +75 -225
- package/dist-es/commands/AssociateFacesCommand.js +1 -3
- package/dist-es/commands/CompareFacesCommand.js +1 -3
- package/dist-es/commands/CopyProjectVersionCommand.js +1 -3
- package/dist-es/commands/CreateCollectionCommand.js +1 -3
- package/dist-es/commands/CreateDatasetCommand.js +1 -3
- package/dist-es/commands/CreateFaceLivenessSessionCommand.js +1 -3
- package/dist-es/commands/CreateProjectCommand.js +1 -3
- package/dist-es/commands/CreateProjectVersionCommand.js +1 -3
- package/dist-es/commands/CreateStreamProcessorCommand.js +1 -3
- package/dist-es/commands/CreateUserCommand.js +1 -3
- package/dist-es/commands/DeleteCollectionCommand.js +1 -3
- package/dist-es/commands/DeleteDatasetCommand.js +1 -3
- package/dist-es/commands/DeleteFacesCommand.js +1 -3
- package/dist-es/commands/DeleteProjectCommand.js +1 -3
- package/dist-es/commands/DeleteProjectPolicyCommand.js +1 -3
- package/dist-es/commands/DeleteProjectVersionCommand.js +1 -3
- package/dist-es/commands/DeleteStreamProcessorCommand.js +1 -3
- package/dist-es/commands/DeleteUserCommand.js +1 -3
- package/dist-es/commands/DescribeCollectionCommand.js +1 -3
- package/dist-es/commands/DescribeDatasetCommand.js +1 -3
- package/dist-es/commands/DescribeProjectVersionsCommand.js +1 -3
- package/dist-es/commands/DescribeProjectsCommand.js +1 -3
- package/dist-es/commands/DescribeStreamProcessorCommand.js +1 -3
- package/dist-es/commands/DetectCustomLabelsCommand.js +1 -3
- package/dist-es/commands/DetectFacesCommand.js +1 -3
- package/dist-es/commands/DetectLabelsCommand.js +1 -3
- package/dist-es/commands/DetectModerationLabelsCommand.js +1 -3
- package/dist-es/commands/DetectProtectiveEquipmentCommand.js +1 -3
- package/dist-es/commands/DetectTextCommand.js +1 -3
- package/dist-es/commands/DisassociateFacesCommand.js +1 -3
- package/dist-es/commands/DistributeDatasetEntriesCommand.js +1 -3
- package/dist-es/commands/GetCelebrityInfoCommand.js +1 -3
- package/dist-es/commands/GetCelebrityRecognitionCommand.js +1 -3
- package/dist-es/commands/GetContentModerationCommand.js +1 -3
- package/dist-es/commands/GetFaceDetectionCommand.js +1 -3
- package/dist-es/commands/GetFaceLivenessSessionResultsCommand.js +1 -3
- package/dist-es/commands/GetFaceSearchCommand.js +1 -3
- package/dist-es/commands/GetLabelDetectionCommand.js +1 -3
- package/dist-es/commands/GetMediaAnalysisJobCommand.js +1 -3
- package/dist-es/commands/GetPersonTrackingCommand.js +1 -3
- package/dist-es/commands/GetSegmentDetectionCommand.js +1 -3
- package/dist-es/commands/GetTextDetectionCommand.js +1 -3
- package/dist-es/commands/IndexFacesCommand.js +1 -3
- package/dist-es/commands/ListCollectionsCommand.js +1 -3
- package/dist-es/commands/ListDatasetEntriesCommand.js +1 -3
- package/dist-es/commands/ListDatasetLabelsCommand.js +1 -3
- package/dist-es/commands/ListFacesCommand.js +1 -3
- package/dist-es/commands/ListMediaAnalysisJobsCommand.js +1 -3
- package/dist-es/commands/ListProjectPoliciesCommand.js +1 -3
- package/dist-es/commands/ListStreamProcessorsCommand.js +1 -3
- package/dist-es/commands/ListTagsForResourceCommand.js +1 -3
- package/dist-es/commands/ListUsersCommand.js +1 -3
- package/dist-es/commands/PutProjectPolicyCommand.js +1 -3
- package/dist-es/commands/RecognizeCelebritiesCommand.js +1 -3
- package/dist-es/commands/SearchFacesByImageCommand.js +1 -3
- package/dist-es/commands/SearchFacesCommand.js +1 -3
- package/dist-es/commands/SearchUsersByImageCommand.js +1 -3
- package/dist-es/commands/SearchUsersCommand.js +1 -3
- package/dist-es/commands/StartCelebrityRecognitionCommand.js +1 -3
- package/dist-es/commands/StartContentModerationCommand.js +1 -3
- package/dist-es/commands/StartFaceDetectionCommand.js +1 -3
- package/dist-es/commands/StartFaceSearchCommand.js +1 -3
- package/dist-es/commands/StartLabelDetectionCommand.js +1 -3
- package/dist-es/commands/StartMediaAnalysisJobCommand.js +1 -3
- package/dist-es/commands/StartPersonTrackingCommand.js +1 -3
- package/dist-es/commands/StartProjectVersionCommand.js +1 -3
- package/dist-es/commands/StartSegmentDetectionCommand.js +1 -3
- package/dist-es/commands/StartStreamProcessorCommand.js +1 -3
- package/dist-es/commands/StartTextDetectionCommand.js +1 -3
- package/dist-es/commands/StopProjectVersionCommand.js +1 -3
- package/dist-es/commands/StopStreamProcessorCommand.js +1 -3
- package/dist-es/commands/TagResourceCommand.js +1 -3
- package/dist-es/commands/UntagResourceCommand.js +1 -3
- package/dist-es/commands/UpdateDatasetEntriesCommand.js +1 -3
- package/dist-es/commands/UpdateStreamProcessorCommand.js +1 -3
- package/dist-es/endpoint/endpointResolver.js +7 -3
- package/package.json +4 -4
- package/dist-types/tsdoc-metadata.json +0 -11
|
@@ -6,9 +6,7 @@ import { de_RecognizeCelebritiesCommand, se_RecognizeCelebritiesCommand } from "
|
|
|
6
6
|
export { $Command };
|
|
7
7
|
export class RecognizeCelebritiesCommand extends $Command
|
|
8
8
|
.classBuilder()
|
|
9
|
-
.ep(
|
|
10
|
-
...commonParams,
|
|
11
|
-
})
|
|
9
|
+
.ep(commonParams)
|
|
12
10
|
.m(function (Command, cs, config, o) {
|
|
13
11
|
return [
|
|
14
12
|
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
@@ -6,9 +6,7 @@ import { de_SearchFacesByImageCommand, se_SearchFacesByImageCommand } from "../p
|
|
|
6
6
|
export { $Command };
|
|
7
7
|
export class SearchFacesByImageCommand extends $Command
|
|
8
8
|
.classBuilder()
|
|
9
|
-
.ep(
|
|
10
|
-
...commonParams,
|
|
11
|
-
})
|
|
9
|
+
.ep(commonParams)
|
|
12
10
|
.m(function (Command, cs, config, o) {
|
|
13
11
|
return [
|
|
14
12
|
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
@@ -6,9 +6,7 @@ import { de_SearchFacesCommand, se_SearchFacesCommand } from "../protocols/Aws_j
|
|
|
6
6
|
export { $Command };
|
|
7
7
|
export class SearchFacesCommand extends $Command
|
|
8
8
|
.classBuilder()
|
|
9
|
-
.ep(
|
|
10
|
-
...commonParams,
|
|
11
|
-
})
|
|
9
|
+
.ep(commonParams)
|
|
12
10
|
.m(function (Command, cs, config, o) {
|
|
13
11
|
return [
|
|
14
12
|
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
@@ -6,9 +6,7 @@ import { de_SearchUsersByImageCommand, se_SearchUsersByImageCommand } from "../p
|
|
|
6
6
|
export { $Command };
|
|
7
7
|
export class SearchUsersByImageCommand extends $Command
|
|
8
8
|
.classBuilder()
|
|
9
|
-
.ep(
|
|
10
|
-
...commonParams,
|
|
11
|
-
})
|
|
9
|
+
.ep(commonParams)
|
|
12
10
|
.m(function (Command, cs, config, o) {
|
|
13
11
|
return [
|
|
14
12
|
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
@@ -6,9 +6,7 @@ import { de_SearchUsersCommand, se_SearchUsersCommand } from "../protocols/Aws_j
|
|
|
6
6
|
export { $Command };
|
|
7
7
|
export class SearchUsersCommand extends $Command
|
|
8
8
|
.classBuilder()
|
|
9
|
-
.ep(
|
|
10
|
-
...commonParams,
|
|
11
|
-
})
|
|
9
|
+
.ep(commonParams)
|
|
12
10
|
.m(function (Command, cs, config, o) {
|
|
13
11
|
return [
|
|
14
12
|
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
@@ -6,9 +6,7 @@ import { de_StartCelebrityRecognitionCommand, se_StartCelebrityRecognitionComman
|
|
|
6
6
|
export { $Command };
|
|
7
7
|
export class StartCelebrityRecognitionCommand extends $Command
|
|
8
8
|
.classBuilder()
|
|
9
|
-
.ep(
|
|
10
|
-
...commonParams,
|
|
11
|
-
})
|
|
9
|
+
.ep(commonParams)
|
|
12
10
|
.m(function (Command, cs, config, o) {
|
|
13
11
|
return [
|
|
14
12
|
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
@@ -6,9 +6,7 @@ import { de_StartContentModerationCommand, se_StartContentModerationCommand } fr
|
|
|
6
6
|
export { $Command };
|
|
7
7
|
export class StartContentModerationCommand extends $Command
|
|
8
8
|
.classBuilder()
|
|
9
|
-
.ep(
|
|
10
|
-
...commonParams,
|
|
11
|
-
})
|
|
9
|
+
.ep(commonParams)
|
|
12
10
|
.m(function (Command, cs, config, o) {
|
|
13
11
|
return [
|
|
14
12
|
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
@@ -6,9 +6,7 @@ import { de_StartFaceDetectionCommand, se_StartFaceDetectionCommand } from "../p
|
|
|
6
6
|
export { $Command };
|
|
7
7
|
export class StartFaceDetectionCommand extends $Command
|
|
8
8
|
.classBuilder()
|
|
9
|
-
.ep(
|
|
10
|
-
...commonParams,
|
|
11
|
-
})
|
|
9
|
+
.ep(commonParams)
|
|
12
10
|
.m(function (Command, cs, config, o) {
|
|
13
11
|
return [
|
|
14
12
|
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
@@ -6,9 +6,7 @@ import { de_StartFaceSearchCommand, se_StartFaceSearchCommand } from "../protoco
|
|
|
6
6
|
export { $Command };
|
|
7
7
|
export class StartFaceSearchCommand extends $Command
|
|
8
8
|
.classBuilder()
|
|
9
|
-
.ep(
|
|
10
|
-
...commonParams,
|
|
11
|
-
})
|
|
9
|
+
.ep(commonParams)
|
|
12
10
|
.m(function (Command, cs, config, o) {
|
|
13
11
|
return [
|
|
14
12
|
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
@@ -6,9 +6,7 @@ import { de_StartLabelDetectionCommand, se_StartLabelDetectionCommand } from "..
|
|
|
6
6
|
export { $Command };
|
|
7
7
|
export class StartLabelDetectionCommand extends $Command
|
|
8
8
|
.classBuilder()
|
|
9
|
-
.ep(
|
|
10
|
-
...commonParams,
|
|
11
|
-
})
|
|
9
|
+
.ep(commonParams)
|
|
12
10
|
.m(function (Command, cs, config, o) {
|
|
13
11
|
return [
|
|
14
12
|
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
@@ -6,9 +6,7 @@ import { de_StartMediaAnalysisJobCommand, se_StartMediaAnalysisJobCommand } from
|
|
|
6
6
|
export { $Command };
|
|
7
7
|
export class StartMediaAnalysisJobCommand extends $Command
|
|
8
8
|
.classBuilder()
|
|
9
|
-
.ep(
|
|
10
|
-
...commonParams,
|
|
11
|
-
})
|
|
9
|
+
.ep(commonParams)
|
|
12
10
|
.m(function (Command, cs, config, o) {
|
|
13
11
|
return [
|
|
14
12
|
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
@@ -6,9 +6,7 @@ import { de_StartPersonTrackingCommand, se_StartPersonTrackingCommand } from "..
|
|
|
6
6
|
export { $Command };
|
|
7
7
|
export class StartPersonTrackingCommand extends $Command
|
|
8
8
|
.classBuilder()
|
|
9
|
-
.ep(
|
|
10
|
-
...commonParams,
|
|
11
|
-
})
|
|
9
|
+
.ep(commonParams)
|
|
12
10
|
.m(function (Command, cs, config, o) {
|
|
13
11
|
return [
|
|
14
12
|
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
@@ -6,9 +6,7 @@ import { de_StartProjectVersionCommand, se_StartProjectVersionCommand } from "..
|
|
|
6
6
|
export { $Command };
|
|
7
7
|
export class StartProjectVersionCommand extends $Command
|
|
8
8
|
.classBuilder()
|
|
9
|
-
.ep(
|
|
10
|
-
...commonParams,
|
|
11
|
-
})
|
|
9
|
+
.ep(commonParams)
|
|
12
10
|
.m(function (Command, cs, config, o) {
|
|
13
11
|
return [
|
|
14
12
|
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
@@ -6,9 +6,7 @@ import { de_StartSegmentDetectionCommand, se_StartSegmentDetectionCommand } from
|
|
|
6
6
|
export { $Command };
|
|
7
7
|
export class StartSegmentDetectionCommand extends $Command
|
|
8
8
|
.classBuilder()
|
|
9
|
-
.ep(
|
|
10
|
-
...commonParams,
|
|
11
|
-
})
|
|
9
|
+
.ep(commonParams)
|
|
12
10
|
.m(function (Command, cs, config, o) {
|
|
13
11
|
return [
|
|
14
12
|
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
@@ -6,9 +6,7 @@ import { de_StartStreamProcessorCommand, se_StartStreamProcessorCommand } from "
|
|
|
6
6
|
export { $Command };
|
|
7
7
|
export class StartStreamProcessorCommand extends $Command
|
|
8
8
|
.classBuilder()
|
|
9
|
-
.ep(
|
|
10
|
-
...commonParams,
|
|
11
|
-
})
|
|
9
|
+
.ep(commonParams)
|
|
12
10
|
.m(function (Command, cs, config, o) {
|
|
13
11
|
return [
|
|
14
12
|
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
@@ -6,9 +6,7 @@ import { de_StartTextDetectionCommand, se_StartTextDetectionCommand } from "../p
|
|
|
6
6
|
export { $Command };
|
|
7
7
|
export class StartTextDetectionCommand extends $Command
|
|
8
8
|
.classBuilder()
|
|
9
|
-
.ep(
|
|
10
|
-
...commonParams,
|
|
11
|
-
})
|
|
9
|
+
.ep(commonParams)
|
|
12
10
|
.m(function (Command, cs, config, o) {
|
|
13
11
|
return [
|
|
14
12
|
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
@@ -6,9 +6,7 @@ import { de_StopProjectVersionCommand, se_StopProjectVersionCommand } from "../p
|
|
|
6
6
|
export { $Command };
|
|
7
7
|
export class StopProjectVersionCommand extends $Command
|
|
8
8
|
.classBuilder()
|
|
9
|
-
.ep(
|
|
10
|
-
...commonParams,
|
|
11
|
-
})
|
|
9
|
+
.ep(commonParams)
|
|
12
10
|
.m(function (Command, cs, config, o) {
|
|
13
11
|
return [
|
|
14
12
|
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
@@ -6,9 +6,7 @@ import { de_StopStreamProcessorCommand, se_StopStreamProcessorCommand } from "..
|
|
|
6
6
|
export { $Command };
|
|
7
7
|
export class StopStreamProcessorCommand extends $Command
|
|
8
8
|
.classBuilder()
|
|
9
|
-
.ep(
|
|
10
|
-
...commonParams,
|
|
11
|
-
})
|
|
9
|
+
.ep(commonParams)
|
|
12
10
|
.m(function (Command, cs, config, o) {
|
|
13
11
|
return [
|
|
14
12
|
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
@@ -6,9 +6,7 @@ import { de_TagResourceCommand, se_TagResourceCommand } from "../protocols/Aws_j
|
|
|
6
6
|
export { $Command };
|
|
7
7
|
export class TagResourceCommand extends $Command
|
|
8
8
|
.classBuilder()
|
|
9
|
-
.ep(
|
|
10
|
-
...commonParams,
|
|
11
|
-
})
|
|
9
|
+
.ep(commonParams)
|
|
12
10
|
.m(function (Command, cs, config, o) {
|
|
13
11
|
return [
|
|
14
12
|
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
@@ -6,9 +6,7 @@ import { de_UntagResourceCommand, se_UntagResourceCommand } from "../protocols/A
|
|
|
6
6
|
export { $Command };
|
|
7
7
|
export class UntagResourceCommand extends $Command
|
|
8
8
|
.classBuilder()
|
|
9
|
-
.ep(
|
|
10
|
-
...commonParams,
|
|
11
|
-
})
|
|
9
|
+
.ep(commonParams)
|
|
12
10
|
.m(function (Command, cs, config, o) {
|
|
13
11
|
return [
|
|
14
12
|
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
@@ -6,9 +6,7 @@ import { de_UpdateDatasetEntriesCommand, se_UpdateDatasetEntriesCommand } from "
|
|
|
6
6
|
export { $Command };
|
|
7
7
|
export class UpdateDatasetEntriesCommand extends $Command
|
|
8
8
|
.classBuilder()
|
|
9
|
-
.ep(
|
|
10
|
-
...commonParams,
|
|
11
|
-
})
|
|
9
|
+
.ep(commonParams)
|
|
12
10
|
.m(function (Command, cs, config, o) {
|
|
13
11
|
return [
|
|
14
12
|
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
@@ -6,9 +6,7 @@ import { de_UpdateStreamProcessorCommand, se_UpdateStreamProcessorCommand } from
|
|
|
6
6
|
export { $Command };
|
|
7
7
|
export class UpdateStreamProcessorCommand extends $Command
|
|
8
8
|
.classBuilder()
|
|
9
|
-
.ep(
|
|
10
|
-
...commonParams,
|
|
11
|
-
})
|
|
9
|
+
.ep(commonParams)
|
|
12
10
|
.m(function (Command, cs, config, o) {
|
|
13
11
|
return [
|
|
14
12
|
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
@@ -1,10 +1,14 @@
|
|
|
1
1
|
import { awsEndpointFunctions } from "@aws-sdk/util-endpoints";
|
|
2
|
-
import { customEndpointFunctions, resolveEndpoint } from "@smithy/util-endpoints";
|
|
2
|
+
import { customEndpointFunctions, EndpointCache, resolveEndpoint } from "@smithy/util-endpoints";
|
|
3
3
|
import { ruleSet } from "./ruleset";
|
|
4
|
+
const cache = new EndpointCache({
|
|
5
|
+
size: 50,
|
|
6
|
+
params: ["Endpoint", "Region", "UseDualStack", "UseFIPS"],
|
|
7
|
+
});
|
|
4
8
|
export const defaultEndpointResolver = (endpointParams, context = {}) => {
|
|
5
|
-
return resolveEndpoint(ruleSet, {
|
|
9
|
+
return cache.get(endpointParams, () => resolveEndpoint(ruleSet, {
|
|
6
10
|
endpointParams: endpointParams,
|
|
7
11
|
logger: context.logger,
|
|
8
|
-
});
|
|
12
|
+
}));
|
|
9
13
|
};
|
|
10
14
|
customEndpointFunctions.aws = awsEndpointFunctions;
|
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.650.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-rekognition",
|
|
@@ -20,10 +20,10 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/client-sso-oidc": "3.
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
23
|
+
"@aws-sdk/client-sso-oidc": "3.650.0",
|
|
24
|
+
"@aws-sdk/client-sts": "3.650.0",
|
|
25
25
|
"@aws-sdk/core": "3.649.0",
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.650.0",
|
|
27
27
|
"@aws-sdk/middleware-host-header": "3.649.0",
|
|
28
28
|
"@aws-sdk/middleware-logger": "3.649.0",
|
|
29
29
|
"@aws-sdk/middleware-recursion-detection": "3.649.0",
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
// This file is read by tools that parse documentation comments conforming to the TSDoc standard.
|
|
2
|
-
// It should be published with your NPM package. It should not be tracked by Git.
|
|
3
|
-
{
|
|
4
|
-
"tsdocVersion": "0.12",
|
|
5
|
-
"toolPackages": [
|
|
6
|
-
{
|
|
7
|
-
"packageName": "@microsoft/api-extractor",
|
|
8
|
-
"packageVersion": "7.34.4"
|
|
9
|
-
}
|
|
10
|
-
]
|
|
11
|
-
}
|