@aws-sdk/client-rekognition 3.552.0 → 3.554.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
CHANGED
|
@@ -3355,6 +3355,7 @@ var de_ConnectedHomeSettings = /* @__PURE__ */ __name((output, context) => {
|
|
|
3355
3355
|
}, "de_ConnectedHomeSettings");
|
|
3356
3356
|
var de_ContentModerationDetection = /* @__PURE__ */ __name((output, context) => {
|
|
3357
3357
|
return (0, import_smithy_client.take)(output, {
|
|
3358
|
+
ContentTypes: (_) => de_ContentTypes(_, context),
|
|
3358
3359
|
DurationMillis: import_smithy_client.expectLong,
|
|
3359
3360
|
EndTimestampMillis: import_smithy_client.expectLong,
|
|
3360
3361
|
ModerationLabel: (_) => de_ModerationLabel(_, context),
|
|
@@ -2249,6 +2249,7 @@ const de_ConnectedHomeSettings = (output, context) => {
|
|
|
2249
2249
|
};
|
|
2250
2250
|
const de_ContentModerationDetection = (output, context) => {
|
|
2251
2251
|
return take(output, {
|
|
2252
|
+
ContentTypes: (_) => de_ContentTypes(_, context),
|
|
2252
2253
|
DurationMillis: __expectLong,
|
|
2253
2254
|
EndTimestampMillis: __expectLong,
|
|
2254
2255
|
ModerationLabel: (_) => de_ModerationLabel(_, context),
|
|
@@ -92,6 +92,12 @@ declare const GetContentModerationCommand_base: {
|
|
|
92
92
|
* // StartTimestampMillis: Number("long"),
|
|
93
93
|
* // EndTimestampMillis: Number("long"),
|
|
94
94
|
* // DurationMillis: Number("long"),
|
|
95
|
+
* // ContentTypes: [ // ContentTypes
|
|
96
|
+
* // { // ContentType
|
|
97
|
+
* // Confidence: Number("float"),
|
|
98
|
+
* // Name: "STRING_VALUE",
|
|
99
|
+
* // },
|
|
100
|
+
* // ],
|
|
95
101
|
* // },
|
|
96
102
|
* // ],
|
|
97
103
|
* // NextToken: "STRING_VALUE",
|
|
@@ -1644,6 +1644,22 @@ export declare const ContentModerationAggregateBy: {
|
|
|
1644
1644
|
* @public
|
|
1645
1645
|
*/
|
|
1646
1646
|
export type ContentModerationAggregateBy = (typeof ContentModerationAggregateBy)[keyof typeof ContentModerationAggregateBy];
|
|
1647
|
+
/**
|
|
1648
|
+
* <p>Contains information regarding the confidence and name of a detected content type.</p>
|
|
1649
|
+
* @public
|
|
1650
|
+
*/
|
|
1651
|
+
export interface ContentType {
|
|
1652
|
+
/**
|
|
1653
|
+
* <p>The confidence level of the label given</p>
|
|
1654
|
+
* @public
|
|
1655
|
+
*/
|
|
1656
|
+
Confidence?: number;
|
|
1657
|
+
/**
|
|
1658
|
+
* <p>The name of the label</p>
|
|
1659
|
+
* @public
|
|
1660
|
+
*/
|
|
1661
|
+
Name?: string;
|
|
1662
|
+
}
|
|
1647
1663
|
/**
|
|
1648
1664
|
* <p>Provides information about a single type of inappropriate, unwanted, or
|
|
1649
1665
|
* offensive content found in an image or video. Each type of moderated content has a label
|
|
@@ -1712,6 +1728,12 @@ export interface ContentModerationDetection {
|
|
|
1712
1728
|
* @public
|
|
1713
1729
|
*/
|
|
1714
1730
|
DurationMillis?: number;
|
|
1731
|
+
/**
|
|
1732
|
+
* <p>A list of predicted results for the type of content an image contains. For example,
|
|
1733
|
+
* the image content might be from animation, sports, or a video game.</p>
|
|
1734
|
+
* @public
|
|
1735
|
+
*/
|
|
1736
|
+
ContentTypes?: ContentType[];
|
|
1715
1737
|
}
|
|
1716
1738
|
/**
|
|
1717
1739
|
* @public
|
|
@@ -1725,22 +1747,6 @@ export declare const ContentModerationSortBy: {
|
|
|
1725
1747
|
* @public
|
|
1726
1748
|
*/
|
|
1727
1749
|
export type ContentModerationSortBy = (typeof ContentModerationSortBy)[keyof typeof ContentModerationSortBy];
|
|
1728
|
-
/**
|
|
1729
|
-
* <p>Contains information regarding the confidence and name of a detected content type.</p>
|
|
1730
|
-
* @public
|
|
1731
|
-
*/
|
|
1732
|
-
export interface ContentType {
|
|
1733
|
-
/**
|
|
1734
|
-
* <p>The confidence level of the label given</p>
|
|
1735
|
-
* @public
|
|
1736
|
-
*/
|
|
1737
|
-
Confidence?: number;
|
|
1738
|
-
/**
|
|
1739
|
-
* <p>The name of the label</p>
|
|
1740
|
-
* @public
|
|
1741
|
-
*/
|
|
1742
|
-
Name?: string;
|
|
1743
|
-
}
|
|
1744
1750
|
/**
|
|
1745
1751
|
* <p>The S3 bucket and folder location where training output is placed.</p>
|
|
1746
1752
|
* @public
|
|
@@ -2081,7 +2087,11 @@ export interface CreateFaceLivenessSessionRequest {
|
|
|
2081
2087
|
*/
|
|
2082
2088
|
export interface CreateFaceLivenessSessionResponse {
|
|
2083
2089
|
/**
|
|
2084
|
-
* <p>A unique 128-bit UUID identifying a Face Liveness session
|
|
2090
|
+
* <p>A unique 128-bit UUID identifying a Face Liveness session.
|
|
2091
|
+
* A new sessionID must be used for every Face Liveness check. If a given sessionID is used for subsequent
|
|
2092
|
+
* Face Liveness checks, the checks will fail. Additionally, a SessionId expires 3 minutes after it's sent,
|
|
2093
|
+
* making all Liveness data associated with the session (e.g., sessionID, reference image, audit images, etc.) unavailable.
|
|
2094
|
+
* </p>
|
|
2085
2095
|
* @public
|
|
2086
2096
|
*/
|
|
2087
2097
|
SessionId: string | undefined;
|
|
@@ -480,6 +480,10 @@ export declare const ContentModerationAggregateBy: {
|
|
|
480
480
|
};
|
|
481
481
|
export type ContentModerationAggregateBy =
|
|
482
482
|
(typeof ContentModerationAggregateBy)[keyof typeof ContentModerationAggregateBy];
|
|
483
|
+
export interface ContentType {
|
|
484
|
+
Confidence?: number;
|
|
485
|
+
Name?: string;
|
|
486
|
+
}
|
|
483
487
|
export interface ModerationLabel {
|
|
484
488
|
Confidence?: number;
|
|
485
489
|
Name?: string;
|
|
@@ -492,6 +496,7 @@ export interface ContentModerationDetection {
|
|
|
492
496
|
StartTimestampMillis?: number;
|
|
493
497
|
EndTimestampMillis?: number;
|
|
494
498
|
DurationMillis?: number;
|
|
499
|
+
ContentTypes?: ContentType[];
|
|
495
500
|
}
|
|
496
501
|
export declare const ContentModerationSortBy: {
|
|
497
502
|
readonly NAME: "NAME";
|
|
@@ -499,10 +504,6 @@ export declare const ContentModerationSortBy: {
|
|
|
499
504
|
};
|
|
500
505
|
export type ContentModerationSortBy =
|
|
501
506
|
(typeof ContentModerationSortBy)[keyof typeof ContentModerationSortBy];
|
|
502
|
-
export interface ContentType {
|
|
503
|
-
Confidence?: number;
|
|
504
|
-
Name?: string;
|
|
505
|
-
}
|
|
506
507
|
export interface OutputConfig {
|
|
507
508
|
S3Bucket?: string;
|
|
508
509
|
S3KeyPrefix?: string;
|
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.554.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,9 +20,9 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
23
|
-
"@aws-sdk/client-sts": "3.
|
|
24
|
-
"@aws-sdk/core": "3.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
23
|
+
"@aws-sdk/client-sts": "3.554.0",
|
|
24
|
+
"@aws-sdk/core": "3.554.0",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.554.0",
|
|
26
26
|
"@aws-sdk/middleware-host-header": "3.535.0",
|
|
27
27
|
"@aws-sdk/middleware-logger": "3.535.0",
|
|
28
28
|
"@aws-sdk/middleware-recursion-detection": "3.535.0",
|