@aws-sdk/client-rekognition 3.529.1 → 3.533.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.
@@ -85,7 +85,7 @@ declare const CompareFacesCommand_base: {
85
85
  * const client = new RekognitionClient(config);
86
86
  * const input = { // CompareFacesRequest
87
87
  * SourceImage: { // Image
88
- * Bytes: "BLOB_VALUE",
88
+ * Bytes: new Uint8Array(), // e.g. Buffer.from("") or new TextEncoder().encode("")
89
89
  * S3Object: { // S3Object
90
90
  * Bucket: "STRING_VALUE",
91
91
  * Name: "STRING_VALUE",
@@ -93,7 +93,7 @@ declare const CompareFacesCommand_base: {
93
93
  * },
94
94
  * },
95
95
  * TargetImage: {
96
- * Bytes: "BLOB_VALUE",
96
+ * Bytes: new Uint8Array(), // e.g. Buffer.from("") or new TextEncoder().encode("")
97
97
  * S3Object: {
98
98
  * Bucket: "STRING_VALUE",
99
99
  * Name: "STRING_VALUE",
@@ -72,7 +72,7 @@ declare const DetectCustomLabelsCommand_base: {
72
72
  * const input = { // DetectCustomLabelsRequest
73
73
  * ProjectVersionArn: "STRING_VALUE", // required
74
74
  * Image: { // Image
75
- * Bytes: "BLOB_VALUE",
75
+ * Bytes: new Uint8Array(), // e.g. Buffer.from("") or new TextEncoder().encode("")
76
76
  * S3Object: { // S3Object
77
77
  * Bucket: "STRING_VALUE",
78
78
  * Name: "STRING_VALUE",
@@ -53,7 +53,7 @@ declare const DetectFacesCommand_base: {
53
53
  * const client = new RekognitionClient(config);
54
54
  * const input = { // DetectFacesRequest
55
55
  * Image: { // Image
56
- * Bytes: "BLOB_VALUE",
56
+ * Bytes: new Uint8Array(), // e.g. Buffer.from("") or new TextEncoder().encode("")
57
57
  * S3Object: { // S3Object
58
58
  * Bucket: "STRING_VALUE",
59
59
  * Name: "STRING_VALUE",
@@ -150,7 +150,7 @@ declare const DetectLabelsCommand_base: {
150
150
  * const client = new RekognitionClient(config);
151
151
  * const input = { // DetectLabelsRequest
152
152
  * Image: { // Image
153
- * Bytes: "BLOB_VALUE",
153
+ * Bytes: new Uint8Array(), // e.g. Buffer.from("") or new TextEncoder().encode("")
154
154
  * S3Object: { // S3Object
155
155
  * Bucket: "STRING_VALUE",
156
156
  * Name: "STRING_VALUE",
@@ -49,7 +49,7 @@ declare const DetectModerationLabelsCommand_base: {
49
49
  * const client = new RekognitionClient(config);
50
50
  * const input = { // DetectModerationLabelsRequest
51
51
  * Image: { // Image
52
- * Bytes: "BLOB_VALUE",
52
+ * Bytes: new Uint8Array(), // e.g. Buffer.from("") or new TextEncoder().encode("")
53
53
  * S3Object: { // S3Object
54
54
  * Bucket: "STRING_VALUE",
55
55
  * Name: "STRING_VALUE",
@@ -71,7 +71,7 @@ declare const DetectProtectiveEquipmentCommand_base: {
71
71
  * const client = new RekognitionClient(config);
72
72
  * const input = { // DetectProtectiveEquipmentRequest
73
73
  * Image: { // Image
74
- * Bytes: "BLOB_VALUE",
74
+ * Bytes: new Uint8Array(), // e.g. Buffer.from("") or new TextEncoder().encode("")
75
75
  * S3Object: { // S3Object
76
76
  * Bucket: "STRING_VALUE",
77
77
  * Name: "STRING_VALUE",
@@ -57,7 +57,7 @@ declare const DetectTextCommand_base: {
57
57
  * const client = new RekognitionClient(config);
58
58
  * const input = { // DetectTextRequest
59
59
  * Image: { // Image
60
- * Bytes: "BLOB_VALUE",
60
+ * Bytes: new Uint8Array(), // e.g. Buffer.from("") or new TextEncoder().encode("")
61
61
  * S3Object: { // S3Object
62
62
  * Bucket: "STRING_VALUE",
63
63
  * Name: "STRING_VALUE",
@@ -51,7 +51,7 @@ declare const GetFaceLivenessSessionResultsCommand_base: {
51
51
  * // Status: "CREATED" || "IN_PROGRESS" || "SUCCEEDED" || "FAILED" || "EXPIRED", // required
52
52
  * // Confidence: Number("float"),
53
53
  * // ReferenceImage: { // AuditImage
54
- * // Bytes: "BLOB_VALUE",
54
+ * // Bytes: new Uint8Array(),
55
55
  * // S3Object: { // S3Object
56
56
  * // Bucket: "STRING_VALUE",
57
57
  * // Name: "STRING_VALUE",
@@ -66,7 +66,7 @@ declare const GetFaceLivenessSessionResultsCommand_base: {
66
66
  * // },
67
67
  * // AuditImages: [ // AuditImages
68
68
  * // {
69
- * // Bytes: "BLOB_VALUE",
69
+ * // Bytes: new Uint8Array(),
70
70
  * // S3Object: {
71
71
  * // Bucket: "STRING_VALUE",
72
72
  * // Name: "STRING_VALUE",
@@ -128,7 +128,7 @@ declare const IndexFacesCommand_base: {
128
128
  * const input = { // IndexFacesRequest
129
129
  * CollectionId: "STRING_VALUE", // required
130
130
  * Image: { // Image
131
- * Bytes: "BLOB_VALUE",
131
+ * Bytes: new Uint8Array(), // e.g. Buffer.from("") or new TextEncoder().encode("")
132
132
  * S3Object: { // S3Object
133
133
  * Bucket: "STRING_VALUE",
134
134
  * Name: "STRING_VALUE",
@@ -61,7 +61,7 @@ declare const RecognizeCelebritiesCommand_base: {
61
61
  * const client = new RekognitionClient(config);
62
62
  * const input = { // RecognizeCelebritiesRequest
63
63
  * Image: { // Image
64
- * Bytes: "BLOB_VALUE",
64
+ * Bytes: new Uint8Array(), // e.g. Buffer.from("") or new TextEncoder().encode("")
65
65
  * S3Object: { // S3Object
66
66
  * Bucket: "STRING_VALUE",
67
67
  * Name: "STRING_VALUE",
@@ -72,7 +72,7 @@ declare const SearchFacesByImageCommand_base: {
72
72
  * const input = { // SearchFacesByImageRequest
73
73
  * CollectionId: "STRING_VALUE", // required
74
74
  * Image: { // Image
75
- * Bytes: "BLOB_VALUE",
75
+ * Bytes: new Uint8Array(), // e.g. Buffer.from("") or new TextEncoder().encode("")
76
76
  * S3Object: { // S3Object
77
77
  * Bucket: "STRING_VALUE",
78
78
  * Name: "STRING_VALUE",
@@ -44,7 +44,7 @@ declare const SearchUsersByImageCommand_base: {
44
44
  * const input = { // SearchUsersByImageRequest
45
45
  * CollectionId: "STRING_VALUE", // required
46
46
  * Image: { // Image
47
- * Bytes: "BLOB_VALUE",
47
+ * Bytes: new Uint8Array(), // e.g. Buffer.from("") or new TextEncoder().encode("")
48
48
  * S3Object: { // S3Object
49
49
  * Bucket: "STRING_VALUE",
50
50
  * Name: "STRING_VALUE",
@@ -60,7 +60,7 @@ declare const UpdateDatasetEntriesCommand_base: {
60
60
  * const input = { // UpdateDatasetEntriesRequest
61
61
  * DatasetArn: "STRING_VALUE", // required
62
62
  * Changes: { // DatasetChanges
63
- * GroundTruth: "BLOB_VALUE", // required
63
+ * GroundTruth: new Uint8Array(), // e.g. Buffer.from("") or new TextEncoder().encode("") // required
64
64
  * },
65
65
  * };
66
66
  * const command = new UpdateDatasetEntriesCommand(input);
@@ -20,9 +20,9 @@ export declare const getRuntimeConfig: (config: RekognitionClientConfig) => {
20
20
  apiVersion: string;
21
21
  urlParser: import("@smithy/types").UrlParser;
22
22
  base64Decoder: import("@smithy/types").Decoder;
23
- base64Encoder: import("@smithy/types").Encoder;
23
+ base64Encoder: (_input: string | Uint8Array) => string;
24
24
  utf8Decoder: import("@smithy/types").Decoder;
25
- utf8Encoder: import("@smithy/types").Encoder;
25
+ utf8Encoder: (input: string | Uint8Array) => string;
26
26
  disableHostPrefix: boolean;
27
27
  serviceId: string;
28
28
  logger: import("@smithy/types").Logger;
@@ -20,9 +20,9 @@ export declare const getRuntimeConfig: (config: RekognitionClientConfig) => {
20
20
  apiVersion: string;
21
21
  urlParser: import("@smithy/types").UrlParser;
22
22
  base64Decoder: import("@smithy/types").Decoder;
23
- base64Encoder: import("@smithy/types").Encoder;
23
+ base64Encoder: (_input: string | Uint8Array) => string;
24
24
  utf8Decoder: import("@smithy/types").Decoder;
25
- utf8Encoder: import("@smithy/types").Encoder;
25
+ utf8Encoder: (input: string | Uint8Array) => string;
26
26
  disableHostPrefix: boolean;
27
27
  serviceId: string;
28
28
  logger: import("@smithy/types").Logger;
@@ -11,9 +11,9 @@ export declare const getRuntimeConfig: (config: RekognitionClientConfig) => {
11
11
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
12
12
  streamCollector: import("@smithy/types").StreamCollector;
13
13
  base64Decoder: import("@smithy/types").Decoder;
14
- base64Encoder: import("@smithy/types").Encoder;
14
+ base64Encoder: (_input: string | Uint8Array) => string;
15
15
  utf8Decoder: import("@smithy/types").Decoder;
16
- utf8Encoder: import("@smithy/types").Encoder;
16
+ utf8Encoder: (input: string | Uint8Array) => string;
17
17
  disableHostPrefix: boolean;
18
18
  serviceId: string;
19
19
  useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
@@ -5,7 +5,7 @@ import { RekognitionClientConfig } from "./RekognitionClient";
5
5
  export declare const getRuntimeConfig: (config: RekognitionClientConfig) => {
6
6
  apiVersion: string;
7
7
  base64Decoder: import("@smithy/types").Decoder;
8
- base64Encoder: import("@smithy/types").Encoder;
8
+ base64Encoder: (_input: string | Uint8Array) => string;
9
9
  disableHostPrefix: boolean;
10
10
  endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
11
11
  logger?: import("@smithy/types").Logger | undefined;
@@ -17,5 +17,5 @@ export declare const getRuntimeConfig: (config: RekognitionClientConfig) => {
17
17
  serviceId: string;
18
18
  urlParser: import("@smithy/types").UrlParser;
19
19
  utf8Decoder: import("@smithy/types").Decoder;
20
- utf8Encoder: import("@smithy/types").Encoder;
20
+ utf8Encoder: (input: string | Uint8Array) => string;
21
21
  };
@@ -25,9 +25,9 @@ export declare const getRuntimeConfig: (config: RekognitionClientConfig) => {
25
25
  apiVersion: string;
26
26
  urlParser: import("@smithy/types").UrlParser;
27
27
  base64Decoder: import("@smithy/types").Decoder;
28
- base64Encoder: import("@smithy/types").Encoder;
28
+ base64Encoder: (_input: string | Uint8Array) => string;
29
29
  utf8Decoder: import("@smithy/types").Decoder;
30
- utf8Encoder: import("@smithy/types").Encoder;
30
+ utf8Encoder: (input: string | Uint8Array) => string;
31
31
  disableHostPrefix: boolean;
32
32
  serviceId: string;
33
33
  logger: import("@smithy/types").Logger;
@@ -29,9 +29,9 @@ export declare const getRuntimeConfig: (config: RekognitionClientConfig) => {
29
29
  apiVersion: string;
30
30
  urlParser: import("@smithy/types").UrlParser;
31
31
  base64Decoder: import("@smithy/types").Decoder;
32
- base64Encoder: import("@smithy/types").Encoder;
32
+ base64Encoder: (_input: string | Uint8Array) => string;
33
33
  utf8Decoder: import("@smithy/types").Decoder;
34
- utf8Encoder: import("@smithy/types").Encoder;
34
+ utf8Encoder: (input: string | Uint8Array) => string;
35
35
  disableHostPrefix: boolean;
36
36
  serviceId: string;
37
37
  logger: import("@smithy/types").Logger;
@@ -13,9 +13,9 @@ export declare const getRuntimeConfig: (config: RekognitionClientConfig) => {
13
13
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
14
14
  streamCollector: import("@smithy/types").StreamCollector;
15
15
  base64Decoder: import("@smithy/types").Decoder;
16
- base64Encoder: import("@smithy/types").Encoder;
16
+ base64Encoder: (_input: string | Uint8Array) => string;
17
17
  utf8Decoder: import("@smithy/types").Decoder;
18
- utf8Encoder: import("@smithy/types").Encoder;
18
+ utf8Encoder: (input: string | Uint8Array) => string;
19
19
  disableHostPrefix: boolean;
20
20
  serviceId: string;
21
21
  useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
@@ -2,7 +2,7 @@ import { RekognitionClientConfig } from "./RekognitionClient";
2
2
  export declare const getRuntimeConfig: (config: RekognitionClientConfig) => {
3
3
  apiVersion: string;
4
4
  base64Decoder: import("@smithy/types").Decoder;
5
- base64Encoder: import("@smithy/types").Encoder;
5
+ base64Encoder: (_input: string | Uint8Array) => string;
6
6
  disableHostPrefix: boolean;
7
7
  endpointProvider: (
8
8
  endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
@@ -17,5 +17,5 @@ export declare const getRuntimeConfig: (config: RekognitionClientConfig) => {
17
17
  serviceId: string;
18
18
  urlParser: import("@smithy/types").UrlParser;
19
19
  utf8Decoder: import("@smithy/types").Decoder;
20
- utf8Encoder: import("@smithy/types").Encoder;
20
+ utf8Encoder: (input: string | Uint8Array) => string;
21
21
  };
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.529.1",
4
+ "version": "3.533.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,44 +20,44 @@
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.529.1",
24
- "@aws-sdk/core": "3.529.1",
25
- "@aws-sdk/credential-provider-node": "3.529.1",
26
- "@aws-sdk/middleware-host-header": "3.523.0",
27
- "@aws-sdk/middleware-logger": "3.523.0",
28
- "@aws-sdk/middleware-recursion-detection": "3.523.0",
29
- "@aws-sdk/middleware-user-agent": "3.525.0",
30
- "@aws-sdk/region-config-resolver": "3.525.0",
31
- "@aws-sdk/types": "3.523.0",
32
- "@aws-sdk/util-endpoints": "3.525.0",
33
- "@aws-sdk/util-user-agent-browser": "3.523.0",
34
- "@aws-sdk/util-user-agent-node": "3.525.0",
35
- "@smithy/config-resolver": "^2.1.4",
36
- "@smithy/core": "^1.3.5",
37
- "@smithy/fetch-http-handler": "^2.4.3",
38
- "@smithy/hash-node": "^2.1.3",
39
- "@smithy/invalid-dependency": "^2.1.3",
40
- "@smithy/middleware-content-length": "^2.1.3",
41
- "@smithy/middleware-endpoint": "^2.4.4",
42
- "@smithy/middleware-retry": "^2.1.4",
43
- "@smithy/middleware-serde": "^2.1.3",
44
- "@smithy/middleware-stack": "^2.1.3",
45
- "@smithy/node-config-provider": "^2.2.4",
46
- "@smithy/node-http-handler": "^2.4.1",
47
- "@smithy/protocol-http": "^3.2.1",
48
- "@smithy/smithy-client": "^2.4.2",
49
- "@smithy/types": "^2.10.1",
50
- "@smithy/url-parser": "^2.1.3",
51
- "@smithy/util-base64": "^2.1.1",
23
+ "@aws-sdk/client-sts": "3.533.0",
24
+ "@aws-sdk/core": "3.533.0",
25
+ "@aws-sdk/credential-provider-node": "3.533.0",
26
+ "@aws-sdk/middleware-host-header": "3.533.0",
27
+ "@aws-sdk/middleware-logger": "3.533.0",
28
+ "@aws-sdk/middleware-recursion-detection": "3.533.0",
29
+ "@aws-sdk/middleware-user-agent": "3.533.0",
30
+ "@aws-sdk/region-config-resolver": "3.533.0",
31
+ "@aws-sdk/types": "3.533.0",
32
+ "@aws-sdk/util-endpoints": "3.533.0",
33
+ "@aws-sdk/util-user-agent-browser": "3.533.0",
34
+ "@aws-sdk/util-user-agent-node": "3.533.0",
35
+ "@smithy/config-resolver": "^2.1.5",
36
+ "@smithy/core": "^1.3.8",
37
+ "@smithy/fetch-http-handler": "^2.4.5",
38
+ "@smithy/hash-node": "^2.1.4",
39
+ "@smithy/invalid-dependency": "^2.1.4",
40
+ "@smithy/middleware-content-length": "^2.1.4",
41
+ "@smithy/middleware-endpoint": "^2.4.6",
42
+ "@smithy/middleware-retry": "^2.1.7",
43
+ "@smithy/middleware-serde": "^2.2.1",
44
+ "@smithy/middleware-stack": "^2.1.4",
45
+ "@smithy/node-config-provider": "^2.2.5",
46
+ "@smithy/node-http-handler": "^2.4.3",
47
+ "@smithy/protocol-http": "^3.2.2",
48
+ "@smithy/smithy-client": "^2.4.5",
49
+ "@smithy/types": "^2.11.0",
50
+ "@smithy/url-parser": "^2.1.4",
51
+ "@smithy/util-base64": "^2.2.1",
52
52
  "@smithy/util-body-length-browser": "^2.1.1",
53
- "@smithy/util-body-length-node": "^2.2.1",
54
- "@smithy/util-defaults-mode-browser": "^2.1.4",
55
- "@smithy/util-defaults-mode-node": "^2.2.3",
56
- "@smithy/util-endpoints": "^1.1.4",
57
- "@smithy/util-middleware": "^2.1.3",
58
- "@smithy/util-retry": "^2.1.3",
59
- "@smithy/util-utf8": "^2.1.1",
60
- "@smithy/util-waiter": "^2.1.3",
53
+ "@smithy/util-body-length-node": "^2.2.2",
54
+ "@smithy/util-defaults-mode-browser": "^2.1.7",
55
+ "@smithy/util-defaults-mode-node": "^2.2.7",
56
+ "@smithy/util-endpoints": "^1.1.5",
57
+ "@smithy/util-middleware": "^2.1.4",
58
+ "@smithy/util-retry": "^2.1.4",
59
+ "@smithy/util-utf8": "^2.2.0",
60
+ "@smithy/util-waiter": "^2.1.4",
61
61
  "tslib": "^2.5.0",
62
62
  "uuid": "^9.0.1"
63
63
  },