@aws-sdk/client-rekognition 3.332.0 → 3.335.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/models/models_0.js +1 -0
- package/dist-cjs/protocols/Aws_json1_1.js +9 -1
- package/dist-es/models/models_0.js +1 -0
- package/dist-es/protocols/Aws_json1_1.js +9 -1
- package/dist-types/RekognitionClient.d.ts +3 -2
- package/dist-types/commands/DetectFacesCommand.d.ts +6 -1
- package/dist-types/commands/GetCelebrityRecognitionCommand.d.ts +5 -0
- package/dist-types/commands/GetFaceDetectionCommand.d.ts +5 -0
- package/dist-types/commands/GetFaceSearchCommand.d.ts +5 -0
- package/dist-types/commands/GetPersonTrackingCommand.d.ts +5 -0
- package/dist-types/commands/IndexFacesCommand.d.ts +11 -1
- package/dist-types/commands/UntagResourceCommand.d.ts +1 -2
- package/dist-types/endpoint/EndpointParameters.d.ts +2 -1
- package/dist-types/models/models_0.d.ts +23 -14
- package/dist-types/models/models_1.d.ts +14 -0
- package/dist-types/protocols/Aws_json1_1.d.ts +2 -2
- package/dist-types/runtimeConfig.browser.d.ts +12 -12
- package/dist-types/runtimeConfig.d.ts +9 -9
- package/dist-types/runtimeConfig.native.d.ts +13 -13
- package/dist-types/runtimeConfig.shared.d.ts +4 -4
- package/dist-types/ts3.4/RekognitionClient.d.ts +7 -5
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +4 -2
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -2
- package/dist-types/ts3.4/models/models_0.d.ts +7 -4
- package/dist-types/ts3.4/models/models_1.d.ts +4 -0
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +18 -15
- package/dist-types/ts3.4/runtimeConfig.d.ts +12 -12
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +20 -15
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -4
- package/package.json +5 -4
|
@@ -3,8 +3,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.se_StartCelebrityRecognitionCommand = exports.se_SearchFacesByImageCommand = exports.se_SearchFacesCommand = exports.se_RecognizeCelebritiesCommand = exports.se_PutProjectPolicyCommand = exports.se_ListTagsForResourceCommand = exports.se_ListStreamProcessorsCommand = exports.se_ListProjectPoliciesCommand = exports.se_ListFacesCommand = exports.se_ListDatasetLabelsCommand = exports.se_ListDatasetEntriesCommand = exports.se_ListCollectionsCommand = exports.se_IndexFacesCommand = exports.se_GetTextDetectionCommand = exports.se_GetSegmentDetectionCommand = exports.se_GetPersonTrackingCommand = exports.se_GetLabelDetectionCommand = exports.se_GetFaceSearchCommand = exports.se_GetFaceLivenessSessionResultsCommand = exports.se_GetFaceDetectionCommand = exports.se_GetContentModerationCommand = exports.se_GetCelebrityRecognitionCommand = exports.se_GetCelebrityInfoCommand = exports.se_DistributeDatasetEntriesCommand = exports.se_DetectTextCommand = exports.se_DetectProtectiveEquipmentCommand = exports.se_DetectModerationLabelsCommand = exports.se_DetectLabelsCommand = exports.se_DetectFacesCommand = exports.se_DetectCustomLabelsCommand = exports.se_DescribeStreamProcessorCommand = exports.se_DescribeProjectVersionsCommand = exports.se_DescribeProjectsCommand = exports.se_DescribeDatasetCommand = exports.se_DescribeCollectionCommand = exports.se_DeleteStreamProcessorCommand = exports.se_DeleteProjectVersionCommand = exports.se_DeleteProjectPolicyCommand = exports.se_DeleteProjectCommand = exports.se_DeleteFacesCommand = exports.se_DeleteDatasetCommand = exports.se_DeleteCollectionCommand = exports.se_CreateStreamProcessorCommand = exports.se_CreateProjectVersionCommand = exports.se_CreateProjectCommand = exports.se_CreateFaceLivenessSessionCommand = exports.se_CreateDatasetCommand = exports.se_CreateCollectionCommand = exports.se_CopyProjectVersionCommand = exports.se_CompareFacesCommand = void 0;
|
|
4
4
|
exports.de_GetPersonTrackingCommand = exports.de_GetLabelDetectionCommand = exports.de_GetFaceSearchCommand = exports.de_GetFaceLivenessSessionResultsCommand = exports.de_GetFaceDetectionCommand = exports.de_GetContentModerationCommand = exports.de_GetCelebrityRecognitionCommand = exports.de_GetCelebrityInfoCommand = exports.de_DistributeDatasetEntriesCommand = exports.de_DetectTextCommand = exports.de_DetectProtectiveEquipmentCommand = exports.de_DetectModerationLabelsCommand = exports.de_DetectLabelsCommand = exports.de_DetectFacesCommand = exports.de_DetectCustomLabelsCommand = exports.de_DescribeStreamProcessorCommand = exports.de_DescribeProjectVersionsCommand = exports.de_DescribeProjectsCommand = exports.de_DescribeDatasetCommand = exports.de_DescribeCollectionCommand = exports.de_DeleteStreamProcessorCommand = exports.de_DeleteProjectVersionCommand = exports.de_DeleteProjectPolicyCommand = exports.de_DeleteProjectCommand = exports.de_DeleteFacesCommand = exports.de_DeleteDatasetCommand = exports.de_DeleteCollectionCommand = exports.de_CreateStreamProcessorCommand = exports.de_CreateProjectVersionCommand = exports.de_CreateProjectCommand = exports.de_CreateFaceLivenessSessionCommand = exports.de_CreateDatasetCommand = exports.de_CreateCollectionCommand = exports.de_CopyProjectVersionCommand = exports.de_CompareFacesCommand = exports.se_UpdateStreamProcessorCommand = exports.se_UpdateDatasetEntriesCommand = exports.se_UntagResourceCommand = exports.se_TagResourceCommand = exports.se_StopStreamProcessorCommand = exports.se_StopProjectVersionCommand = exports.se_StartTextDetectionCommand = exports.se_StartStreamProcessorCommand = exports.se_StartSegmentDetectionCommand = exports.se_StartProjectVersionCommand = exports.se_StartPersonTrackingCommand = exports.se_StartLabelDetectionCommand = exports.se_StartFaceSearchCommand = exports.se_StartFaceDetectionCommand = exports.se_StartContentModerationCommand = void 0;
|
|
5
5
|
exports.de_UpdateStreamProcessorCommand = exports.de_UpdateDatasetEntriesCommand = exports.de_UntagResourceCommand = exports.de_TagResourceCommand = exports.de_StopStreamProcessorCommand = exports.de_StopProjectVersionCommand = exports.de_StartTextDetectionCommand = exports.de_StartStreamProcessorCommand = exports.de_StartSegmentDetectionCommand = exports.de_StartProjectVersionCommand = exports.de_StartPersonTrackingCommand = exports.de_StartLabelDetectionCommand = exports.de_StartFaceSearchCommand = exports.de_StartFaceDetectionCommand = exports.de_StartContentModerationCommand = exports.de_StartCelebrityRecognitionCommand = exports.de_SearchFacesByImageCommand = exports.de_SearchFacesCommand = exports.de_RecognizeCelebritiesCommand = exports.de_PutProjectPolicyCommand = exports.de_ListTagsForResourceCommand = exports.de_ListStreamProcessorsCommand = exports.de_ListProjectPoliciesCommand = exports.de_ListFacesCommand = exports.de_ListDatasetLabelsCommand = exports.de_ListDatasetEntriesCommand = exports.de_ListCollectionsCommand = exports.de_IndexFacesCommand = exports.de_GetTextDetectionCommand = exports.de_GetSegmentDetectionCommand = void 0;
|
|
6
|
-
const protocol_http_1 = require("@aws-sdk/protocol-http");
|
|
7
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
|
+
const protocol_http_1 = require("@smithy/protocol-http");
|
|
8
8
|
const models_0_1 = require("../models/models_0");
|
|
9
9
|
const RekognitionServiceException_1 = require("../models/RekognitionServiceException");
|
|
10
10
|
const se_CompareFacesCommand = async (input, context) => {
|
|
@@ -4734,6 +4734,13 @@ const de_EvaluationResult = (output, context) => {
|
|
|
4734
4734
|
Summary: smithy_client_1._json,
|
|
4735
4735
|
});
|
|
4736
4736
|
};
|
|
4737
|
+
const de_EyeDirection = (output, context) => {
|
|
4738
|
+
return (0, smithy_client_1.take)(output, {
|
|
4739
|
+
Confidence: smithy_client_1.limitedParseFloat32,
|
|
4740
|
+
Pitch: smithy_client_1.limitedParseFloat32,
|
|
4741
|
+
Yaw: smithy_client_1.limitedParseFloat32,
|
|
4742
|
+
});
|
|
4743
|
+
};
|
|
4737
4744
|
const de_Eyeglasses = (output, context) => {
|
|
4738
4745
|
return (0, smithy_client_1.take)(output, {
|
|
4739
4746
|
Confidence: smithy_client_1.limitedParseFloat32,
|
|
@@ -4763,6 +4770,7 @@ const de_FaceDetail = (output, context) => {
|
|
|
4763
4770
|
BoundingBox: (_) => de_BoundingBox(_, context),
|
|
4764
4771
|
Confidence: smithy_client_1.limitedParseFloat32,
|
|
4765
4772
|
Emotions: (_) => de_Emotions(_, context),
|
|
4773
|
+
EyeDirection: (_) => de_EyeDirection(_, context),
|
|
4766
4774
|
Eyeglasses: (_) => de_Eyeglasses(_, context),
|
|
4767
4775
|
EyesOpen: (_) => de_EyeOpen(_, context),
|
|
4768
4776
|
FaceOccluded: (_) => de_FaceOccluded(_, context),
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { HttpRequest as __HttpRequest } from "@aws-sdk/protocol-http";
|
|
2
1
|
import { _json, decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectLong as __expectLong, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectString as __expectString, LazyJsonString as __LazyJsonString, limitedParseFloat32 as __limitedParseFloat32, parseEpochTimestamp as __parseEpochTimestamp, serializeFloat as __serializeFloat, take, withBaseException, } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { HttpRequest as __HttpRequest } from "@smithy/protocol-http";
|
|
3
3
|
import { AccessDeniedException, HumanLoopQuotaExceededException, IdempotentParameterMismatchException, ImageTooLargeException, InternalServerError, InvalidImageFormatException, InvalidPaginationTokenException, InvalidParameterException, InvalidPolicyRevisionIdException, InvalidS3ObjectException, LimitExceededException, MalformedPolicyDocumentException, ProvisionedThroughputExceededException, ResourceAlreadyExistsException, ResourceInUseException, ResourceNotFoundException, ResourceNotReadyException, ServiceQuotaExceededException, SessionNotFoundException, ThrottlingException, VideoTooLargeException, } from "../models/models_0";
|
|
4
4
|
import { RekognitionServiceException as __BaseException } from "../models/RekognitionServiceException";
|
|
5
5
|
export const se_CompareFacesCommand = async (input, context) => {
|
|
@@ -4599,6 +4599,13 @@ const de_EvaluationResult = (output, context) => {
|
|
|
4599
4599
|
Summary: _json,
|
|
4600
4600
|
});
|
|
4601
4601
|
};
|
|
4602
|
+
const de_EyeDirection = (output, context) => {
|
|
4603
|
+
return take(output, {
|
|
4604
|
+
Confidence: __limitedParseFloat32,
|
|
4605
|
+
Pitch: __limitedParseFloat32,
|
|
4606
|
+
Yaw: __limitedParseFloat32,
|
|
4607
|
+
});
|
|
4608
|
+
};
|
|
4602
4609
|
const de_Eyeglasses = (output, context) => {
|
|
4603
4610
|
return take(output, {
|
|
4604
4611
|
Confidence: __limitedParseFloat32,
|
|
@@ -4628,6 +4635,7 @@ const de_FaceDetail = (output, context) => {
|
|
|
4628
4635
|
BoundingBox: (_) => de_BoundingBox(_, context),
|
|
4629
4636
|
Confidence: __limitedParseFloat32,
|
|
4630
4637
|
Emotions: (_) => de_Emotions(_, context),
|
|
4638
|
+
EyeDirection: (_) => de_EyeDirection(_, context),
|
|
4631
4639
|
Eyeglasses: (_) => de_Eyeglasses(_, context),
|
|
4632
4640
|
EyesOpen: (_) => de_EyeOpen(_, context),
|
|
4633
4641
|
FaceOccluded: (_) => de_FaceOccluded(_, context),
|
|
@@ -4,9 +4,10 @@ import { HostHeaderInputConfig, HostHeaderResolvedConfig } from "@aws-sdk/middle
|
|
|
4
4
|
import { RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry";
|
|
5
5
|
import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-signing";
|
|
6
6
|
import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
7
|
-
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
8
7
|
import { Client as __Client, DefaultsMode as __DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
9
|
-
import { BodyLengthCalculator as __BodyLengthCalculator, ChecksumConstructor as __ChecksumConstructor, Credentials as __Credentials,
|
|
8
|
+
import { BodyLengthCalculator as __BodyLengthCalculator, ChecksumConstructor as __ChecksumConstructor, Credentials as __Credentials, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
9
|
+
import { HttpHandler as __HttpHandler } from "@smithy/protocol-http";
|
|
10
|
+
import { Decoder as __Decoder, Encoder as __Encoder, Provider as __Provider, StreamCollector as __StreamCollector } from "@smithy/types";
|
|
10
11
|
import { CompareFacesCommandInput, CompareFacesCommandOutput } from "./commands/CompareFacesCommand";
|
|
11
12
|
import { CopyProjectVersionCommandInput, CopyProjectVersionCommandOutput } from "./commands/CopyProjectVersionCommand";
|
|
12
13
|
import { CreateCollectionCommandInput, CreateCollectionCommandOutput } from "./commands/CreateCollectionCommand";
|
|
@@ -54,7 +54,7 @@ export interface DetectFacesCommandOutput extends DetectFacesResponse, __Metadat
|
|
|
54
54
|
* },
|
|
55
55
|
* },
|
|
56
56
|
* Attributes: [ // Attributes
|
|
57
|
-
* "DEFAULT" || "ALL" || "AGE_RANGE" || "BEARD" || "EMOTIONS" || "EYEGLASSES" || "EYES_OPEN" || "GENDER" || "MOUTH_OPEN" || "MUSTACHE" || "FACE_OCCLUDED" || "SMILE" || "SUNGLASSES",
|
|
57
|
+
* "DEFAULT" || "ALL" || "AGE_RANGE" || "BEARD" || "EMOTIONS" || "EYE_DIRECTION" || "EYEGLASSES" || "EYES_OPEN" || "GENDER" || "MOUTH_OPEN" || "MUSTACHE" || "FACE_OCCLUDED" || "SMILE" || "SUNGLASSES",
|
|
58
58
|
* ],
|
|
59
59
|
* };
|
|
60
60
|
* const command = new DetectFacesCommand(input);
|
|
@@ -131,6 +131,11 @@ export interface DetectFacesCommandOutput extends DetectFacesResponse, __Metadat
|
|
|
131
131
|
* // Value: true || false,
|
|
132
132
|
* // Confidence: Number("float"),
|
|
133
133
|
* // },
|
|
134
|
+
* // EyeDirection: { // EyeDirection
|
|
135
|
+
* // Yaw: Number("float"),
|
|
136
|
+
* // Pitch: Number("float"),
|
|
137
|
+
* // Confidence: Number("float"),
|
|
138
|
+
* // },
|
|
134
139
|
* // },
|
|
135
140
|
* // ],
|
|
136
141
|
* // OrientationCorrection: "ROTATE_0" || "ROTATE_90" || "ROTATE_180" || "ROTATE_270",
|
|
@@ -171,6 +171,11 @@ export interface GetCelebrityRecognitionCommandOutput extends GetCelebrityRecogn
|
|
|
171
171
|
* // Value: true || false,
|
|
172
172
|
* // Confidence: Number("float"),
|
|
173
173
|
* // },
|
|
174
|
+
* // EyeDirection: { // EyeDirection
|
|
175
|
+
* // Yaw: Number("float"),
|
|
176
|
+
* // Pitch: Number("float"),
|
|
177
|
+
* // Confidence: Number("float"),
|
|
178
|
+
* // },
|
|
174
179
|
* // },
|
|
175
180
|
* // KnownGender: { // KnownGender
|
|
176
181
|
* // Type: "Male" || "Female" || "Nonbinary" || "Unlisted",
|
|
@@ -131,6 +131,11 @@ export interface GetFaceDetectionCommandOutput extends GetFaceDetectionResponse,
|
|
|
131
131
|
* // Value: true || false,
|
|
132
132
|
* // Confidence: Number("float"),
|
|
133
133
|
* // },
|
|
134
|
+
* // EyeDirection: { // EyeDirection
|
|
135
|
+
* // Yaw: Number("float"),
|
|
136
|
+
* // Pitch: Number("float"),
|
|
137
|
+
* // Confidence: Number("float"),
|
|
138
|
+
* // },
|
|
134
139
|
* // },
|
|
135
140
|
* // },
|
|
136
141
|
* // ],
|
|
@@ -156,6 +156,11 @@ export interface GetFaceSearchCommandOutput extends GetFaceSearchResponse, __Met
|
|
|
156
156
|
* // Value: true || false,
|
|
157
157
|
* // Confidence: Number("float"),
|
|
158
158
|
* // },
|
|
159
|
+
* // EyeDirection: { // EyeDirection
|
|
160
|
+
* // Yaw: Number("float"),
|
|
161
|
+
* // Pitch: Number("float"),
|
|
162
|
+
* // Confidence: Number("float"),
|
|
163
|
+
* // },
|
|
159
164
|
* // },
|
|
160
165
|
* // },
|
|
161
166
|
* // FaceMatches: [ // FaceMatchList
|
|
@@ -152,6 +152,11 @@ export interface GetPersonTrackingCommandOutput extends GetPersonTrackingRespons
|
|
|
152
152
|
* // Value: true || false,
|
|
153
153
|
* // Confidence: Number("float"),
|
|
154
154
|
* // },
|
|
155
|
+
* // EyeDirection: { // EyeDirection
|
|
156
|
+
* // Yaw: Number("float"),
|
|
157
|
+
* // Pitch: Number("float"),
|
|
158
|
+
* // Confidence: Number("float"),
|
|
159
|
+
* // },
|
|
155
160
|
* // },
|
|
156
161
|
* // },
|
|
157
162
|
* // },
|
|
@@ -130,7 +130,7 @@ export interface IndexFacesCommandOutput extends IndexFacesResponse, __MetadataB
|
|
|
130
130
|
* },
|
|
131
131
|
* ExternalImageId: "STRING_VALUE",
|
|
132
132
|
* DetectionAttributes: [ // Attributes
|
|
133
|
-
* "DEFAULT" || "ALL" || "AGE_RANGE" || "BEARD" || "EMOTIONS" || "EYEGLASSES" || "EYES_OPEN" || "GENDER" || "MOUTH_OPEN" || "MUSTACHE" || "FACE_OCCLUDED" || "SMILE" || "SUNGLASSES",
|
|
133
|
+
* "DEFAULT" || "ALL" || "AGE_RANGE" || "BEARD" || "EMOTIONS" || "EYE_DIRECTION" || "EYEGLASSES" || "EYES_OPEN" || "GENDER" || "MOUTH_OPEN" || "MUSTACHE" || "FACE_OCCLUDED" || "SMILE" || "SUNGLASSES",
|
|
134
134
|
* ],
|
|
135
135
|
* MaxFaces: Number("int"),
|
|
136
136
|
* QualityFilter: "NONE" || "AUTO" || "LOW" || "MEDIUM" || "HIGH",
|
|
@@ -223,6 +223,11 @@ export interface IndexFacesCommandOutput extends IndexFacesResponse, __MetadataB
|
|
|
223
223
|
* // Value: true || false,
|
|
224
224
|
* // Confidence: Number("float"),
|
|
225
225
|
* // },
|
|
226
|
+
* // EyeDirection: { // EyeDirection
|
|
227
|
+
* // Yaw: Number("float"),
|
|
228
|
+
* // Pitch: Number("float"),
|
|
229
|
+
* // Confidence: Number("float"),
|
|
230
|
+
* // },
|
|
226
231
|
* // },
|
|
227
232
|
* // },
|
|
228
233
|
* // ],
|
|
@@ -303,6 +308,11 @@ export interface IndexFacesCommandOutput extends IndexFacesResponse, __MetadataB
|
|
|
303
308
|
* // Value: true || false,
|
|
304
309
|
* // Confidence: Number("float"),
|
|
305
310
|
* // },
|
|
311
|
+
* // EyeDirection: {
|
|
312
|
+
* // Yaw: Number("float"),
|
|
313
|
+
* // Pitch: Number("float"),
|
|
314
|
+
* // Confidence: Number("float"),
|
|
315
|
+
* // },
|
|
306
316
|
* // },
|
|
307
317
|
* // },
|
|
308
318
|
* // ],
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
|
-
import { UntagResourceRequest } from "../models/
|
|
5
|
-
import { UntagResourceResponse } from "../models/models_1";
|
|
4
|
+
import { UntagResourceRequest, UntagResourceResponse } from "../models/models_1";
|
|
6
5
|
import { RekognitionClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RekognitionClient";
|
|
7
6
|
/**
|
|
8
7
|
* @public
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { EndpointParameters as __EndpointParameters, EndpointV2 } from "@aws-sdk/types";
|
|
2
|
+
import { Endpoint, Provider } from "@smithy/types";
|
|
2
3
|
export interface ClientInputEndpointParameters {
|
|
3
4
|
region?: string | Provider<string>;
|
|
4
5
|
useDualstackEndpoint?: boolean | Provider<boolean>;
|
|
@@ -99,6 +99,7 @@ export declare const Attribute: {
|
|
|
99
99
|
readonly EMOTIONS: "EMOTIONS";
|
|
100
100
|
readonly EYEGLASSES: "EYEGLASSES";
|
|
101
101
|
readonly EYES_OPEN: "EYES_OPEN";
|
|
102
|
+
readonly EYE_DIRECTION: "EYE_DIRECTION";
|
|
102
103
|
readonly FACE_OCCLUDED: "FACE_OCCLUDED";
|
|
103
104
|
readonly GENDER: "GENDER";
|
|
104
105
|
readonly MOUTH_OPEN: "MOUTH_OPEN";
|
|
@@ -591,6 +592,24 @@ export interface Celebrity {
|
|
|
591
592
|
*/
|
|
592
593
|
KnownGender?: KnownGender;
|
|
593
594
|
}
|
|
595
|
+
/**
|
|
596
|
+
* @public
|
|
597
|
+
* <p>Indicates the direction the eyes are gazing in (independent of the head pose) as determined by its pitch and yaw. </p>
|
|
598
|
+
*/
|
|
599
|
+
export interface EyeDirection {
|
|
600
|
+
/**
|
|
601
|
+
* <p>Value representing eye direction on the yaw axis.</p>
|
|
602
|
+
*/
|
|
603
|
+
Yaw?: number;
|
|
604
|
+
/**
|
|
605
|
+
* <p>Value representing eye direction on the pitch axis.</p>
|
|
606
|
+
*/
|
|
607
|
+
Pitch?: number;
|
|
608
|
+
/**
|
|
609
|
+
* <p>The confidence that the service has in its predicted eye direction.</p>
|
|
610
|
+
*/
|
|
611
|
+
Confidence?: number;
|
|
612
|
+
}
|
|
594
613
|
/**
|
|
595
614
|
* @public
|
|
596
615
|
* <p>Indicates whether or not the face is wearing eye glasses, and the confidence level in
|
|
@@ -844,6 +863,10 @@ export interface FaceDetail {
|
|
|
844
863
|
* and others. </p>
|
|
845
864
|
*/
|
|
846
865
|
FaceOccluded?: FaceOccluded;
|
|
866
|
+
/**
|
|
867
|
+
* <p>Indicates the direction the eyes are gazing in, as defined by pitch and yaw.</p>
|
|
868
|
+
*/
|
|
869
|
+
EyeDirection?: EyeDirection;
|
|
847
870
|
}
|
|
848
871
|
/**
|
|
849
872
|
* @public
|
|
@@ -6370,20 +6393,6 @@ export interface TagResourceRequest {
|
|
|
6370
6393
|
*/
|
|
6371
6394
|
export interface TagResourceResponse {
|
|
6372
6395
|
}
|
|
6373
|
-
/**
|
|
6374
|
-
* @public
|
|
6375
|
-
*/
|
|
6376
|
-
export interface UntagResourceRequest {
|
|
6377
|
-
/**
|
|
6378
|
-
* <p> Amazon Resource Name (ARN) of the model, collection, or stream processor that you want to
|
|
6379
|
-
* remove the tags from. </p>
|
|
6380
|
-
*/
|
|
6381
|
-
ResourceArn: string | undefined;
|
|
6382
|
-
/**
|
|
6383
|
-
* <p> A list of the tags that you want to remove. </p>
|
|
6384
|
-
*/
|
|
6385
|
-
TagKeys: string[] | undefined;
|
|
6386
|
-
}
|
|
6387
6396
|
/**
|
|
6388
6397
|
* @internal
|
|
6389
6398
|
*/
|
|
@@ -1,4 +1,18 @@
|
|
|
1
1
|
import { ConnectedHomeSettingsForUpdate, DatasetChanges, RegionOfInterest, StreamProcessorDataSharingPreference } from "./models_0";
|
|
2
|
+
/**
|
|
3
|
+
* @public
|
|
4
|
+
*/
|
|
5
|
+
export interface UntagResourceRequest {
|
|
6
|
+
/**
|
|
7
|
+
* <p> Amazon Resource Name (ARN) of the model, collection, or stream processor that you want to
|
|
8
|
+
* remove the tags from. </p>
|
|
9
|
+
*/
|
|
10
|
+
ResourceArn: string | undefined;
|
|
11
|
+
/**
|
|
12
|
+
* <p> A list of the tags that you want to remove. </p>
|
|
13
|
+
*/
|
|
14
|
+
TagKeys: string[] | undefined;
|
|
15
|
+
}
|
|
2
16
|
/**
|
|
3
17
|
* @public
|
|
4
18
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@
|
|
2
|
-
import { SerdeContext as __SerdeContext } from "@
|
|
1
|
+
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@smithy/protocol-http";
|
|
2
|
+
import { SerdeContext as __SerdeContext } from "@smithy/types";
|
|
3
3
|
import { CompareFacesCommandInput, CompareFacesCommandOutput } from "../commands/CompareFacesCommand";
|
|
4
4
|
import { CopyProjectVersionCommandInput, CopyProjectVersionCommandOutput } from "../commands/CopyProjectVersionCommand";
|
|
5
5
|
import { CreateCollectionCommandInput, CreateCollectionCommandOutput } from "../commands/CreateCollectionCommand";
|
|
@@ -7,26 +7,26 @@ export declare const getRuntimeConfig: (config: RekognitionClientConfig) => {
|
|
|
7
7
|
runtime: string;
|
|
8
8
|
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
9
9
|
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
10
|
-
credentialDefaultProvider: (input: any) => import("@
|
|
10
|
+
credentialDefaultProvider: (input: any) => import("@smithy/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
11
11
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
12
|
-
maxAttempts: number | import("@aws-sdk/types").Provider<number
|
|
12
|
+
maxAttempts: (number | import("@smithy/types").Provider<number>) & (number | import("@aws-sdk/types").Provider<number>);
|
|
13
13
|
region: string | import("@aws-sdk/types").Provider<any>;
|
|
14
|
-
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@
|
|
15
|
-
retryMode: string | import("@
|
|
14
|
+
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@smithy/protocol-http").HttpHandler) | RequestHandler;
|
|
15
|
+
retryMode: string | import("@smithy/types").Provider<string>;
|
|
16
16
|
sha256: import("@aws-sdk/types").HashConstructor;
|
|
17
|
-
streamCollector: import("@
|
|
18
|
-
useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean
|
|
19
|
-
useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean
|
|
17
|
+
streamCollector: import("@smithy/types").StreamCollector;
|
|
18
|
+
useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@aws-sdk/types").Provider<boolean>);
|
|
19
|
+
useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@aws-sdk/types").Provider<boolean>);
|
|
20
20
|
apiVersion: string;
|
|
21
21
|
urlParser: import("@aws-sdk/types").UrlParser;
|
|
22
|
-
base64Decoder: import("@
|
|
23
|
-
base64Encoder: import("@
|
|
24
|
-
utf8Decoder: import("@
|
|
25
|
-
utf8Encoder: import("@
|
|
22
|
+
base64Decoder: import("@smithy/types").Decoder;
|
|
23
|
+
base64Encoder: import("@smithy/types").Encoder;
|
|
24
|
+
utf8Decoder: import("@smithy/types").Decoder;
|
|
25
|
+
utf8Encoder: import("@smithy/types").Encoder;
|
|
26
26
|
disableHostPrefix: boolean;
|
|
27
27
|
serviceId: string;
|
|
28
28
|
logger: import("@aws-sdk/types").Logger;
|
|
29
|
-
endpoint?: ((string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | import("@aws-sdk/types").EndpointV2 | import("@aws-sdk/types").Provider<import("@aws-sdk/types").EndpointV2>) & (string | import("@
|
|
29
|
+
endpoint?: ((string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | import("@aws-sdk/types").EndpointV2 | import("@aws-sdk/types").Provider<import("@aws-sdk/types").EndpointV2>) & (string | import("@smithy/types").Provider<string> | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@aws-sdk/types").EndpointV2 | import("@smithy/types").Provider<import("@aws-sdk/types").EndpointV2>)) | undefined;
|
|
30
30
|
endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
|
|
31
31
|
logger?: import("@aws-sdk/types").Logger | undefined;
|
|
32
32
|
}) => import("@aws-sdk/types").EndpointV2;
|
|
@@ -7,26 +7,26 @@ export declare const getRuntimeConfig: (config: RekognitionClientConfig) => {
|
|
|
7
7
|
runtime: string;
|
|
8
8
|
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
9
9
|
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
10
|
-
credentialDefaultProvider: (input: any) => import("@
|
|
10
|
+
credentialDefaultProvider: (input: any) => import("@smithy/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
11
11
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
12
12
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
13
13
|
region: string | import("@aws-sdk/types").Provider<string>;
|
|
14
|
-
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@
|
|
15
|
-
retryMode: string | import("@
|
|
14
|
+
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@smithy/protocol-http").HttpHandler) | RequestHandler;
|
|
15
|
+
retryMode: string | import("@smithy/types").Provider<string>;
|
|
16
16
|
sha256: import("@aws-sdk/types").HashConstructor;
|
|
17
|
-
streamCollector: import("@
|
|
17
|
+
streamCollector: import("@smithy/types").StreamCollector;
|
|
18
18
|
useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
19
19
|
useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
20
20
|
apiVersion: string;
|
|
21
21
|
urlParser: import("@aws-sdk/types").UrlParser;
|
|
22
|
-
base64Decoder: import("@
|
|
23
|
-
base64Encoder: import("@
|
|
24
|
-
utf8Decoder: import("@
|
|
25
|
-
utf8Encoder: import("@
|
|
22
|
+
base64Decoder: import("@smithy/types").Decoder;
|
|
23
|
+
base64Encoder: import("@smithy/types").Encoder;
|
|
24
|
+
utf8Decoder: import("@smithy/types").Decoder;
|
|
25
|
+
utf8Encoder: import("@smithy/types").Encoder;
|
|
26
26
|
disableHostPrefix: boolean;
|
|
27
27
|
serviceId: string;
|
|
28
28
|
logger: import("@aws-sdk/types").Logger;
|
|
29
|
-
endpoint?: ((string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | import("@aws-sdk/types").EndpointV2 | import("@aws-sdk/types").Provider<import("@aws-sdk/types").EndpointV2>) & (string | import("@
|
|
29
|
+
endpoint?: ((string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | import("@aws-sdk/types").EndpointV2 | import("@aws-sdk/types").Provider<import("@aws-sdk/types").EndpointV2>) & (string | import("@smithy/types").Provider<string> | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@aws-sdk/types").EndpointV2 | import("@smithy/types").Provider<import("@aws-sdk/types").EndpointV2>)) | undefined;
|
|
30
30
|
endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
|
|
31
31
|
logger?: import("@aws-sdk/types").Logger | undefined;
|
|
32
32
|
}) => import("@aws-sdk/types").EndpointV2;
|
|
@@ -5,27 +5,27 @@ import { RekognitionClientConfig } from "./RekognitionClient";
|
|
|
5
5
|
export declare const getRuntimeConfig: (config: RekognitionClientConfig) => {
|
|
6
6
|
runtime: string;
|
|
7
7
|
sha256: import("@aws-sdk/types").HashConstructor;
|
|
8
|
-
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@
|
|
8
|
+
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@smithy/protocol-http").HttpHandler) | import("@aws-sdk/fetch-http-handler").FetchHttpHandler;
|
|
9
9
|
apiVersion: string;
|
|
10
10
|
urlParser: import("@aws-sdk/types").UrlParser;
|
|
11
11
|
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
12
|
-
streamCollector: import("@
|
|
13
|
-
base64Decoder: import("@
|
|
14
|
-
base64Encoder: import("@
|
|
15
|
-
utf8Decoder: import("@
|
|
16
|
-
utf8Encoder: import("@
|
|
12
|
+
streamCollector: import("@smithy/types").StreamCollector;
|
|
13
|
+
base64Decoder: import("@smithy/types").Decoder;
|
|
14
|
+
base64Encoder: import("@smithy/types").Encoder;
|
|
15
|
+
utf8Decoder: import("@smithy/types").Decoder;
|
|
16
|
+
utf8Encoder: import("@smithy/types").Encoder;
|
|
17
17
|
disableHostPrefix: boolean;
|
|
18
18
|
serviceId: string;
|
|
19
|
-
useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean
|
|
20
|
-
useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean
|
|
19
|
+
useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@aws-sdk/types").Provider<boolean>);
|
|
20
|
+
useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@aws-sdk/types").Provider<boolean>);
|
|
21
21
|
region: string | import("@aws-sdk/types").Provider<any>;
|
|
22
|
-
credentialDefaultProvider: (input: any) => import("@
|
|
22
|
+
credentialDefaultProvider: (input: any) => import("@smithy/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
23
23
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
24
|
-
maxAttempts: number | import("@aws-sdk/types").Provider<number
|
|
25
|
-
retryMode: string | import("@
|
|
24
|
+
maxAttempts: (number | import("@smithy/types").Provider<number>) & (number | import("@aws-sdk/types").Provider<number>);
|
|
25
|
+
retryMode: string | import("@smithy/types").Provider<string>;
|
|
26
26
|
logger: import("@aws-sdk/types").Logger;
|
|
27
|
-
defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@
|
|
28
|
-
endpoint?: string | import("@aws-sdk/types").
|
|
27
|
+
defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@smithy/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode>;
|
|
28
|
+
endpoint?: string | import("@aws-sdk/types").EndpointV2 | (import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> & import("@smithy/types").Provider<import("@smithy/types").Endpoint>) | (import("@aws-sdk/types").Endpoint & import("@smithy/types").Endpoint) | (import("@aws-sdk/types").Provider<import("@aws-sdk/types").EndpointV2> & import("@smithy/types").Provider<import("@aws-sdk/types").EndpointV2>) | undefined;
|
|
29
29
|
endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
|
|
30
30
|
logger?: import("@aws-sdk/types").Logger | undefined;
|
|
31
31
|
}) => import("@aws-sdk/types").EndpointV2;
|
|
@@ -4,8 +4,8 @@ import { RekognitionClientConfig } from "./RekognitionClient";
|
|
|
4
4
|
*/
|
|
5
5
|
export declare const getRuntimeConfig: (config: RekognitionClientConfig) => {
|
|
6
6
|
apiVersion: string;
|
|
7
|
-
base64Decoder: import("@
|
|
8
|
-
base64Encoder: import("@
|
|
7
|
+
base64Decoder: import("@smithy/types").Decoder;
|
|
8
|
+
base64Encoder: import("@smithy/types").Encoder;
|
|
9
9
|
disableHostPrefix: boolean;
|
|
10
10
|
endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
|
|
11
11
|
logger?: import("@aws-sdk/types").Logger | undefined;
|
|
@@ -13,6 +13,6 @@ export declare const getRuntimeConfig: (config: RekognitionClientConfig) => {
|
|
|
13
13
|
logger: import("@aws-sdk/types").Logger;
|
|
14
14
|
serviceId: string;
|
|
15
15
|
urlParser: import("@aws-sdk/types").UrlParser;
|
|
16
|
-
utf8Decoder: import("@
|
|
17
|
-
utf8Encoder: import("@
|
|
16
|
+
utf8Decoder: import("@smithy/types").Decoder;
|
|
17
|
+
utf8Encoder: import("@smithy/types").Encoder;
|
|
18
18
|
};
|
|
@@ -22,7 +22,6 @@ import {
|
|
|
22
22
|
UserAgentInputConfig,
|
|
23
23
|
UserAgentResolvedConfig,
|
|
24
24
|
} from "@aws-sdk/middleware-user-agent";
|
|
25
|
-
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
26
25
|
import {
|
|
27
26
|
Client as __Client,
|
|
28
27
|
DefaultsMode as __DefaultsMode,
|
|
@@ -33,17 +32,20 @@ import {
|
|
|
33
32
|
BodyLengthCalculator as __BodyLengthCalculator,
|
|
34
33
|
ChecksumConstructor as __ChecksumConstructor,
|
|
35
34
|
Credentials as __Credentials,
|
|
36
|
-
Decoder as __Decoder,
|
|
37
|
-
Encoder as __Encoder,
|
|
38
35
|
HashConstructor as __HashConstructor,
|
|
39
36
|
HttpHandlerOptions as __HttpHandlerOptions,
|
|
40
37
|
Logger as __Logger,
|
|
41
|
-
Provider as __Provider,
|
|
42
38
|
Provider,
|
|
43
|
-
StreamCollector as __StreamCollector,
|
|
44
39
|
UrlParser as __UrlParser,
|
|
45
40
|
UserAgent as __UserAgent,
|
|
46
41
|
} from "@aws-sdk/types";
|
|
42
|
+
import { HttpHandler as __HttpHandler } from "@smithy/protocol-http";
|
|
43
|
+
import {
|
|
44
|
+
Decoder as __Decoder,
|
|
45
|
+
Encoder as __Encoder,
|
|
46
|
+
Provider as __Provider,
|
|
47
|
+
StreamCollector as __StreamCollector,
|
|
48
|
+
} from "@smithy/types";
|
|
47
49
|
import {
|
|
48
50
|
CompareFacesCommandInput,
|
|
49
51
|
CompareFacesCommandOutput,
|
|
@@ -6,8 +6,10 @@ import {
|
|
|
6
6
|
MetadataBearer as __MetadataBearer,
|
|
7
7
|
MiddlewareStack,
|
|
8
8
|
} from "@aws-sdk/types";
|
|
9
|
-
import {
|
|
10
|
-
|
|
9
|
+
import {
|
|
10
|
+
UntagResourceRequest,
|
|
11
|
+
UntagResourceResponse,
|
|
12
|
+
} from "../models/models_1";
|
|
11
13
|
import {
|
|
12
14
|
RekognitionClientResolvedConfig,
|
|
13
15
|
ServiceInputTypes,
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
|
-
Endpoint,
|
|
3
2
|
EndpointParameters as __EndpointParameters,
|
|
4
3
|
EndpointV2,
|
|
5
|
-
Provider,
|
|
6
4
|
} from "@aws-sdk/types";
|
|
5
|
+
import { Endpoint, Provider } from "@smithy/types";
|
|
7
6
|
export interface ClientInputEndpointParameters {
|
|
8
7
|
region?: string | Provider<string>;
|
|
9
8
|
useDualstackEndpoint?: boolean | Provider<boolean>;
|
|
@@ -36,6 +36,7 @@ export declare const Attribute: {
|
|
|
36
36
|
readonly EMOTIONS: "EMOTIONS";
|
|
37
37
|
readonly EYEGLASSES: "EYEGLASSES";
|
|
38
38
|
readonly EYES_OPEN: "EYES_OPEN";
|
|
39
|
+
readonly EYE_DIRECTION: "EYE_DIRECTION";
|
|
39
40
|
readonly FACE_OCCLUDED: "FACE_OCCLUDED";
|
|
40
41
|
readonly GENDER: "GENDER";
|
|
41
42
|
readonly MOUTH_OPEN: "MOUTH_OPEN";
|
|
@@ -193,6 +194,11 @@ export interface Celebrity {
|
|
|
193
194
|
MatchConfidence?: number;
|
|
194
195
|
KnownGender?: KnownGender;
|
|
195
196
|
}
|
|
197
|
+
export interface EyeDirection {
|
|
198
|
+
Yaw?: number;
|
|
199
|
+
Pitch?: number;
|
|
200
|
+
Confidence?: number;
|
|
201
|
+
}
|
|
196
202
|
export interface Eyeglasses {
|
|
197
203
|
Value?: boolean;
|
|
198
204
|
Confidence?: number;
|
|
@@ -243,6 +249,7 @@ export interface FaceDetail {
|
|
|
243
249
|
Quality?: ImageQuality;
|
|
244
250
|
Confidence?: number;
|
|
245
251
|
FaceOccluded?: FaceOccluded;
|
|
252
|
+
EyeDirection?: EyeDirection;
|
|
246
253
|
}
|
|
247
254
|
export interface CelebrityDetail {
|
|
248
255
|
Urls?: string[];
|
|
@@ -1715,10 +1722,6 @@ export interface TagResourceRequest {
|
|
|
1715
1722
|
Tags: Record<string, string> | undefined;
|
|
1716
1723
|
}
|
|
1717
1724
|
export interface TagResourceResponse {}
|
|
1718
|
-
export interface UntagResourceRequest {
|
|
1719
|
-
ResourceArn: string | undefined;
|
|
1720
|
-
TagKeys: string[] | undefined;
|
|
1721
|
-
}
|
|
1722
1725
|
export declare const AuditImageFilterSensitiveLog: (obj: AuditImage) => any;
|
|
1723
1726
|
export declare const GetFaceLivenessSessionResultsResponseFilterSensitiveLog: (
|
|
1724
1727
|
obj: GetFaceLivenessSessionResultsResponse
|
|
@@ -4,6 +4,10 @@ import {
|
|
|
4
4
|
RegionOfInterest,
|
|
5
5
|
StreamProcessorDataSharingPreference,
|
|
6
6
|
} from "./models_0";
|
|
7
|
+
export interface UntagResourceRequest {
|
|
8
|
+
ResourceArn: string | undefined;
|
|
9
|
+
TagKeys: string[] | undefined;
|
|
10
|
+
}
|
|
7
11
|
export interface UntagResourceResponse {}
|
|
8
12
|
export interface UpdateDatasetEntriesRequest {
|
|
9
13
|
DatasetArn: string | undefined;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
HttpRequest as __HttpRequest,
|
|
3
3
|
HttpResponse as __HttpResponse,
|
|
4
|
-
} from "@
|
|
5
|
-
import { SerdeContext as __SerdeContext } from "@
|
|
4
|
+
} from "@smithy/protocol-http";
|
|
5
|
+
import { SerdeContext as __SerdeContext } from "@smithy/types";
|
|
6
6
|
import {
|
|
7
7
|
CompareFacesCommandInput,
|
|
8
8
|
CompareFacesCommandOutput,
|
|
@@ -8,11 +8,12 @@ export declare const getRuntimeConfig: (config: RekognitionClientConfig) => {
|
|
|
8
8
|
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
9
9
|
credentialDefaultProvider: (
|
|
10
10
|
input: any
|
|
11
|
-
) => import("@
|
|
11
|
+
) => import("@smithy/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
12
12
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<
|
|
13
13
|
import("@aws-sdk/types").UserAgent
|
|
14
14
|
>;
|
|
15
|
-
maxAttempts: number | import("@
|
|
15
|
+
maxAttempts: (number | import("@smithy/types").Provider<number>) &
|
|
16
|
+
(number | import("@aws-sdk/types").Provider<number>);
|
|
16
17
|
region: string | import("@aws-sdk/types").Provider<any>;
|
|
17
18
|
requestHandler:
|
|
18
19
|
| (import("@aws-sdk/types").RequestHandler<
|
|
@@ -20,19 +21,21 @@ export declare const getRuntimeConfig: (config: RekognitionClientConfig) => {
|
|
|
20
21
|
any,
|
|
21
22
|
import("@aws-sdk/types").HttpHandlerOptions
|
|
22
23
|
> &
|
|
23
|
-
import("@
|
|
24
|
+
import("@smithy/protocol-http").HttpHandler)
|
|
24
25
|
| RequestHandler;
|
|
25
|
-
retryMode: string | import("@
|
|
26
|
+
retryMode: string | import("@smithy/types").Provider<string>;
|
|
26
27
|
sha256: import("@aws-sdk/types").HashConstructor;
|
|
27
|
-
streamCollector: import("@
|
|
28
|
-
useDualstackEndpoint: boolean | import("@
|
|
29
|
-
|
|
28
|
+
streamCollector: import("@smithy/types").StreamCollector;
|
|
29
|
+
useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
|
|
30
|
+
(boolean | import("@aws-sdk/types").Provider<boolean>);
|
|
31
|
+
useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
|
|
32
|
+
(boolean | import("@aws-sdk/types").Provider<boolean>);
|
|
30
33
|
apiVersion: string;
|
|
31
34
|
urlParser: import("@aws-sdk/types").UrlParser;
|
|
32
|
-
base64Decoder: import("@
|
|
33
|
-
base64Encoder: import("@
|
|
34
|
-
utf8Decoder: import("@
|
|
35
|
-
utf8Encoder: import("@
|
|
35
|
+
base64Decoder: import("@smithy/types").Decoder;
|
|
36
|
+
base64Encoder: import("@smithy/types").Encoder;
|
|
37
|
+
utf8Decoder: import("@smithy/types").Decoder;
|
|
38
|
+
utf8Encoder: import("@smithy/types").Encoder;
|
|
36
39
|
disableHostPrefix: boolean;
|
|
37
40
|
serviceId: string;
|
|
38
41
|
logger: import("@aws-sdk/types").Logger;
|
|
@@ -46,11 +49,11 @@ export declare const getRuntimeConfig: (config: RekognitionClientConfig) => {
|
|
|
46
49
|
) &
|
|
47
50
|
(
|
|
48
51
|
| string
|
|
49
|
-
| import("@
|
|
50
|
-
| import("@
|
|
51
|
-
| import("@
|
|
52
|
+
| import("@smithy/types").Provider<string>
|
|
53
|
+
| import("@smithy/types").Endpoint
|
|
54
|
+
| import("@smithy/types").Provider<import("@smithy/types").Endpoint>
|
|
52
55
|
| import("@aws-sdk/types").EndpointV2
|
|
53
|
-
| import("@
|
|
56
|
+
| import("@smithy/types").Provider<
|
|
54
57
|
import("@aws-sdk/types").EndpointV2
|
|
55
58
|
>
|
|
56
59
|
))
|
|
@@ -8,7 +8,7 @@ export declare const getRuntimeConfig: (config: RekognitionClientConfig) => {
|
|
|
8
8
|
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
9
9
|
credentialDefaultProvider: (
|
|
10
10
|
input: any
|
|
11
|
-
) => import("@
|
|
11
|
+
) => import("@smithy/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
12
12
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<
|
|
13
13
|
import("@aws-sdk/types").UserAgent
|
|
14
14
|
>;
|
|
@@ -20,19 +20,19 @@ export declare const getRuntimeConfig: (config: RekognitionClientConfig) => {
|
|
|
20
20
|
any,
|
|
21
21
|
import("@aws-sdk/types").HttpHandlerOptions
|
|
22
22
|
> &
|
|
23
|
-
import("@
|
|
23
|
+
import("@smithy/protocol-http").HttpHandler)
|
|
24
24
|
| RequestHandler;
|
|
25
|
-
retryMode: string | import("@
|
|
25
|
+
retryMode: string | import("@smithy/types").Provider<string>;
|
|
26
26
|
sha256: import("@aws-sdk/types").HashConstructor;
|
|
27
|
-
streamCollector: import("@
|
|
27
|
+
streamCollector: import("@smithy/types").StreamCollector;
|
|
28
28
|
useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
29
29
|
useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
30
30
|
apiVersion: string;
|
|
31
31
|
urlParser: import("@aws-sdk/types").UrlParser;
|
|
32
|
-
base64Decoder: import("@
|
|
33
|
-
base64Encoder: import("@
|
|
34
|
-
utf8Decoder: import("@
|
|
35
|
-
utf8Encoder: import("@
|
|
32
|
+
base64Decoder: import("@smithy/types").Decoder;
|
|
33
|
+
base64Encoder: import("@smithy/types").Encoder;
|
|
34
|
+
utf8Decoder: import("@smithy/types").Decoder;
|
|
35
|
+
utf8Encoder: import("@smithy/types").Encoder;
|
|
36
36
|
disableHostPrefix: boolean;
|
|
37
37
|
serviceId: string;
|
|
38
38
|
logger: import("@aws-sdk/types").Logger;
|
|
@@ -46,11 +46,11 @@ export declare const getRuntimeConfig: (config: RekognitionClientConfig) => {
|
|
|
46
46
|
) &
|
|
47
47
|
(
|
|
48
48
|
| string
|
|
49
|
-
| import("@
|
|
50
|
-
| import("@
|
|
51
|
-
| import("@
|
|
49
|
+
| import("@smithy/types").Provider<string>
|
|
50
|
+
| import("@smithy/types").Endpoint
|
|
51
|
+
| import("@smithy/types").Provider<import("@smithy/types").Endpoint>
|
|
52
52
|
| import("@aws-sdk/types").EndpointV2
|
|
53
|
-
| import("@
|
|
53
|
+
| import("@smithy/types").Provider<
|
|
54
54
|
import("@aws-sdk/types").EndpointV2
|
|
55
55
|
>
|
|
56
56
|
))
|
|
@@ -8,41 +8,46 @@ export declare const getRuntimeConfig: (config: RekognitionClientConfig) => {
|
|
|
8
8
|
any,
|
|
9
9
|
import("@aws-sdk/types").HttpHandlerOptions
|
|
10
10
|
> &
|
|
11
|
-
import("@
|
|
11
|
+
import("@smithy/protocol-http").HttpHandler)
|
|
12
12
|
| import("@aws-sdk/fetch-http-handler").FetchHttpHandler;
|
|
13
13
|
apiVersion: string;
|
|
14
14
|
urlParser: import("@aws-sdk/types").UrlParser;
|
|
15
15
|
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
16
|
-
streamCollector: import("@
|
|
17
|
-
base64Decoder: import("@
|
|
18
|
-
base64Encoder: import("@
|
|
19
|
-
utf8Decoder: import("@
|
|
20
|
-
utf8Encoder: import("@
|
|
16
|
+
streamCollector: import("@smithy/types").StreamCollector;
|
|
17
|
+
base64Decoder: import("@smithy/types").Decoder;
|
|
18
|
+
base64Encoder: import("@smithy/types").Encoder;
|
|
19
|
+
utf8Decoder: import("@smithy/types").Decoder;
|
|
20
|
+
utf8Encoder: import("@smithy/types").Encoder;
|
|
21
21
|
disableHostPrefix: boolean;
|
|
22
22
|
serviceId: string;
|
|
23
|
-
useDualstackEndpoint: boolean | import("@
|
|
24
|
-
|
|
23
|
+
useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
|
|
24
|
+
(boolean | import("@aws-sdk/types").Provider<boolean>);
|
|
25
|
+
useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
|
|
26
|
+
(boolean | import("@aws-sdk/types").Provider<boolean>);
|
|
25
27
|
region: string | import("@aws-sdk/types").Provider<any>;
|
|
26
28
|
credentialDefaultProvider: (
|
|
27
29
|
input: any
|
|
28
|
-
) => import("@
|
|
30
|
+
) => import("@smithy/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
29
31
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<
|
|
30
32
|
import("@aws-sdk/types").UserAgent
|
|
31
33
|
>;
|
|
32
|
-
maxAttempts: number | import("@
|
|
33
|
-
|
|
34
|
+
maxAttempts: (number | import("@smithy/types").Provider<number>) &
|
|
35
|
+
(number | import("@aws-sdk/types").Provider<number>);
|
|
36
|
+
retryMode: string | import("@smithy/types").Provider<string>;
|
|
34
37
|
logger: import("@aws-sdk/types").Logger;
|
|
35
38
|
defaultsMode:
|
|
36
39
|
| import("@aws-sdk/smithy-client").DefaultsMode
|
|
37
|
-
| import("@
|
|
40
|
+
| import("@smithy/types").Provider<
|
|
38
41
|
import("@aws-sdk/smithy-client").DefaultsMode
|
|
39
42
|
>;
|
|
40
43
|
endpoint?:
|
|
41
44
|
| string
|
|
42
|
-
| import("@aws-sdk/types").Endpoint
|
|
43
|
-
| import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint>
|
|
44
45
|
| import("@aws-sdk/types").EndpointV2
|
|
45
|
-
| import("@aws-sdk/types").Provider<import("@aws-sdk/types").
|
|
46
|
+
| (import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> &
|
|
47
|
+
import("@smithy/types").Provider<import("@smithy/types").Endpoint>)
|
|
48
|
+
| (import("@aws-sdk/types").Endpoint & import("@smithy/types").Endpoint)
|
|
49
|
+
| (import("@aws-sdk/types").Provider<import("@aws-sdk/types").EndpointV2> &
|
|
50
|
+
import("@smithy/types").Provider<import("@aws-sdk/types").EndpointV2>)
|
|
46
51
|
| undefined;
|
|
47
52
|
endpointProvider: (
|
|
48
53
|
endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { RekognitionClientConfig } from "./RekognitionClient";
|
|
2
2
|
export declare const getRuntimeConfig: (config: RekognitionClientConfig) => {
|
|
3
3
|
apiVersion: string;
|
|
4
|
-
base64Decoder: import("@
|
|
5
|
-
base64Encoder: import("@
|
|
4
|
+
base64Decoder: import("@smithy/types").Decoder;
|
|
5
|
+
base64Encoder: import("@smithy/types").Encoder;
|
|
6
6
|
disableHostPrefix: boolean;
|
|
7
7
|
endpointProvider: (
|
|
8
8
|
endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
|
|
@@ -13,6 +13,6 @@ export declare const getRuntimeConfig: (config: RekognitionClientConfig) => {
|
|
|
13
13
|
logger: import("@aws-sdk/types").Logger;
|
|
14
14
|
serviceId: string;
|
|
15
15
|
urlParser: import("@aws-sdk/types").UrlParser;
|
|
16
|
-
utf8Decoder: import("@
|
|
17
|
-
utf8Encoder: import("@
|
|
16
|
+
utf8Decoder: import("@smithy/types").Decoder;
|
|
17
|
+
utf8Encoder: import("@smithy/types").Encoder;
|
|
18
18
|
};
|
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.335.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -21,9 +21,9 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.335.0",
|
|
25
25
|
"@aws-sdk/config-resolver": "3.329.0",
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.335.0",
|
|
27
27
|
"@aws-sdk/fetch-http-handler": "3.329.0",
|
|
28
28
|
"@aws-sdk/hash-node": "3.329.0",
|
|
29
29
|
"@aws-sdk/invalid-dependency": "3.329.0",
|
|
@@ -39,7 +39,6 @@
|
|
|
39
39
|
"@aws-sdk/middleware-user-agent": "3.332.0",
|
|
40
40
|
"@aws-sdk/node-config-provider": "3.329.0",
|
|
41
41
|
"@aws-sdk/node-http-handler": "3.329.0",
|
|
42
|
-
"@aws-sdk/protocol-http": "3.329.0",
|
|
43
42
|
"@aws-sdk/smithy-client": "3.329.0",
|
|
44
43
|
"@aws-sdk/types": "3.329.0",
|
|
45
44
|
"@aws-sdk/url-parser": "3.329.0",
|
|
@@ -54,6 +53,8 @@
|
|
|
54
53
|
"@aws-sdk/util-user-agent-node": "3.329.0",
|
|
55
54
|
"@aws-sdk/util-utf8": "3.310.0",
|
|
56
55
|
"@aws-sdk/util-waiter": "3.329.0",
|
|
56
|
+
"@smithy/protocol-http": "^1.0.1",
|
|
57
|
+
"@smithy/types": "^1.0.0",
|
|
57
58
|
"tslib": "^2.5.0"
|
|
58
59
|
},
|
|
59
60
|
"devDependencies": {
|