@aws-sdk/client-sqs 3.529.0 → 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.
@@ -110,12 +110,12 @@ declare const ReceiveMessageCommand_base: {
110
110
  * // MessageAttributes: { // MessageBodyAttributeMap
111
111
  * // "<keys>": { // MessageAttributeValue
112
112
  * // StringValue: "STRING_VALUE",
113
- * // BinaryValue: "BLOB_VALUE",
113
+ * // BinaryValue: new Uint8Array(),
114
114
  * // StringListValues: [ // StringList
115
115
  * // "STRING_VALUE",
116
116
  * // ],
117
117
  * // BinaryListValues: [ // BinaryList
118
- * // "BLOB_VALUE",
118
+ * // new Uint8Array(),
119
119
  * // ],
120
120
  * // DataType: "STRING_VALUE", // required
121
121
  * // },
@@ -68,12 +68,12 @@ declare const SendMessageBatchCommand_base: {
68
68
  * MessageAttributes: { // MessageBodyAttributeMap
69
69
  * "<keys>": { // MessageAttributeValue
70
70
  * StringValue: "STRING_VALUE",
71
- * BinaryValue: "BLOB_VALUE",
71
+ * BinaryValue: new Uint8Array(), // e.g. Buffer.from("") or new TextEncoder().encode("")
72
72
  * StringListValues: [ // StringList
73
73
  * "STRING_VALUE",
74
74
  * ],
75
75
  * BinaryListValues: [ // BinaryList
76
- * "BLOB_VALUE",
76
+ * new Uint8Array(), // e.g. Buffer.from("") or new TextEncoder().encode("")
77
77
  * ],
78
78
  * DataType: "STRING_VALUE", // required
79
79
  * },
@@ -81,12 +81,12 @@ declare const SendMessageBatchCommand_base: {
81
81
  * MessageSystemAttributes: { // MessageBodySystemAttributeMap
82
82
  * "<keys>": { // MessageSystemAttributeValue
83
83
  * StringValue: "STRING_VALUE",
84
- * BinaryValue: "BLOB_VALUE",
84
+ * BinaryValue: new Uint8Array(), // e.g. Buffer.from("") or new TextEncoder().encode("")
85
85
  * StringListValues: [
86
86
  * "STRING_VALUE",
87
87
  * ],
88
88
  * BinaryListValues: [
89
- * "BLOB_VALUE",
89
+ * new Uint8Array(), // e.g. Buffer.from("") or new TextEncoder().encode("")
90
90
  * ],
91
91
  * DataType: "STRING_VALUE", // required
92
92
  * },
@@ -52,12 +52,12 @@ declare const SendMessageCommand_base: {
52
52
  * MessageAttributes: { // MessageBodyAttributeMap
53
53
  * "<keys>": { // MessageAttributeValue
54
54
  * StringValue: "STRING_VALUE",
55
- * BinaryValue: "BLOB_VALUE",
55
+ * BinaryValue: new Uint8Array(), // e.g. Buffer.from("") or new TextEncoder().encode("")
56
56
  * StringListValues: [ // StringList
57
57
  * "STRING_VALUE",
58
58
  * ],
59
59
  * BinaryListValues: [ // BinaryList
60
- * "BLOB_VALUE",
60
+ * new Uint8Array(), // e.g. Buffer.from("") or new TextEncoder().encode("")
61
61
  * ],
62
62
  * DataType: "STRING_VALUE", // required
63
63
  * },
@@ -65,12 +65,12 @@ declare const SendMessageCommand_base: {
65
65
  * MessageSystemAttributes: { // MessageBodySystemAttributeMap
66
66
  * "<keys>": { // MessageSystemAttributeValue
67
67
  * StringValue: "STRING_VALUE",
68
- * BinaryValue: "BLOB_VALUE",
68
+ * BinaryValue: new Uint8Array(), // e.g. Buffer.from("") or new TextEncoder().encode("")
69
69
  * StringListValues: [
70
70
  * "STRING_VALUE",
71
71
  * ],
72
72
  * BinaryListValues: [
73
- * "BLOB_VALUE",
73
+ * new Uint8Array(), // e.g. Buffer.from("") or new TextEncoder().encode("")
74
74
  * ],
75
75
  * DataType: "STRING_VALUE", // required
76
76
  * },
@@ -21,9 +21,9 @@ export declare const getRuntimeConfig: (config: SQSClientConfig) => {
21
21
  apiVersion: string;
22
22
  urlParser: import("@smithy/types").UrlParser;
23
23
  base64Decoder: import("@smithy/types").Decoder;
24
- base64Encoder: import("@smithy/types").Encoder;
24
+ base64Encoder: (_input: string | Uint8Array) => string;
25
25
  utf8Decoder: import("@smithy/types").Decoder;
26
- utf8Encoder: import("@smithy/types").Encoder;
26
+ utf8Encoder: (input: string | Uint8Array) => string;
27
27
  disableHostPrefix: boolean;
28
28
  serviceId: string;
29
29
  logger: import("@smithy/types").Logger;
@@ -22,9 +22,9 @@ export declare const getRuntimeConfig: (config: SQSClientConfig) => {
22
22
  apiVersion: string;
23
23
  urlParser: import("@smithy/types").UrlParser;
24
24
  base64Decoder: import("@smithy/types").Decoder;
25
- base64Encoder: import("@smithy/types").Encoder;
25
+ base64Encoder: (_input: string | Uint8Array) => string;
26
26
  utf8Decoder: import("@smithy/types").Decoder;
27
- utf8Encoder: import("@smithy/types").Encoder;
27
+ utf8Encoder: (input: string | Uint8Array) => string;
28
28
  disableHostPrefix: boolean;
29
29
  serviceId: string;
30
30
  logger: import("@smithy/types").Logger;
@@ -11,9 +11,9 @@ export declare const getRuntimeConfig: (config: SQSClientConfig) => {
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 { SQSClientConfig } from "./SQSClient";
5
5
  export declare const getRuntimeConfig: (config: SQSClientConfig) => {
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: SQSClientConfig) => {
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
  };
@@ -26,9 +26,9 @@ export declare const getRuntimeConfig: (config: SQSClientConfig) => {
26
26
  apiVersion: string;
27
27
  urlParser: import("@smithy/types").UrlParser;
28
28
  base64Decoder: import("@smithy/types").Decoder;
29
- base64Encoder: import("@smithy/types").Encoder;
29
+ base64Encoder: (_input: string | Uint8Array) => string;
30
30
  utf8Decoder: import("@smithy/types").Decoder;
31
- utf8Encoder: import("@smithy/types").Encoder;
31
+ utf8Encoder: (input: string | Uint8Array) => string;
32
32
  disableHostPrefix: boolean;
33
33
  serviceId: string;
34
34
  logger: import("@smithy/types").Logger;
@@ -31,9 +31,9 @@ export declare const getRuntimeConfig: (config: SQSClientConfig) => {
31
31
  apiVersion: string;
32
32
  urlParser: import("@smithy/types").UrlParser;
33
33
  base64Decoder: import("@smithy/types").Decoder;
34
- base64Encoder: import("@smithy/types").Encoder;
34
+ base64Encoder: (_input: string | Uint8Array) => string;
35
35
  utf8Decoder: import("@smithy/types").Decoder;
36
- utf8Encoder: import("@smithy/types").Encoder;
36
+ utf8Encoder: (input: string | Uint8Array) => string;
37
37
  disableHostPrefix: boolean;
38
38
  serviceId: string;
39
39
  logger: import("@smithy/types").Logger;
@@ -13,9 +13,9 @@ export declare const getRuntimeConfig: (config: SQSClientConfig) => {
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 { SQSClientConfig } from "./SQSClient";
2
2
  export declare const getRuntimeConfig: (config: SQSClientConfig) => {
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: SQSClientConfig) => {
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-sqs",
3
3
  "description": "AWS SDK for JavaScript Sqs Client for Node.js, Browser and React Native",
4
- "version": "3.529.0",
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-sqs",
@@ -20,45 +20,45 @@
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.0",
24
- "@aws-sdk/core": "3.529.0",
25
- "@aws-sdk/credential-provider-node": "3.529.0",
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-sdk-sqs": "3.525.0",
30
- "@aws-sdk/middleware-user-agent": "3.525.0",
31
- "@aws-sdk/region-config-resolver": "3.525.0",
32
- "@aws-sdk/types": "3.523.0",
33
- "@aws-sdk/util-endpoints": "3.525.0",
34
- "@aws-sdk/util-user-agent-browser": "3.523.0",
35
- "@aws-sdk/util-user-agent-node": "3.525.0",
36
- "@smithy/config-resolver": "^2.1.4",
37
- "@smithy/core": "^1.3.5",
38
- "@smithy/fetch-http-handler": "^2.4.3",
39
- "@smithy/hash-node": "^2.1.3",
40
- "@smithy/invalid-dependency": "^2.1.3",
41
- "@smithy/md5-js": "^2.1.3",
42
- "@smithy/middleware-content-length": "^2.1.3",
43
- "@smithy/middleware-endpoint": "^2.4.4",
44
- "@smithy/middleware-retry": "^2.1.4",
45
- "@smithy/middleware-serde": "^2.1.3",
46
- "@smithy/middleware-stack": "^2.1.3",
47
- "@smithy/node-config-provider": "^2.2.4",
48
- "@smithy/node-http-handler": "^2.4.1",
49
- "@smithy/protocol-http": "^3.2.1",
50
- "@smithy/smithy-client": "^2.4.2",
51
- "@smithy/types": "^2.10.1",
52
- "@smithy/url-parser": "^2.1.3",
53
- "@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-sdk-sqs": "3.533.0",
30
+ "@aws-sdk/middleware-user-agent": "3.533.0",
31
+ "@aws-sdk/region-config-resolver": "3.533.0",
32
+ "@aws-sdk/types": "3.533.0",
33
+ "@aws-sdk/util-endpoints": "3.533.0",
34
+ "@aws-sdk/util-user-agent-browser": "3.533.0",
35
+ "@aws-sdk/util-user-agent-node": "3.533.0",
36
+ "@smithy/config-resolver": "^2.1.5",
37
+ "@smithy/core": "^1.3.8",
38
+ "@smithy/fetch-http-handler": "^2.4.5",
39
+ "@smithy/hash-node": "^2.1.4",
40
+ "@smithy/invalid-dependency": "^2.1.4",
41
+ "@smithy/md5-js": "^2.1.4",
42
+ "@smithy/middleware-content-length": "^2.1.4",
43
+ "@smithy/middleware-endpoint": "^2.4.6",
44
+ "@smithy/middleware-retry": "^2.1.7",
45
+ "@smithy/middleware-serde": "^2.2.1",
46
+ "@smithy/middleware-stack": "^2.1.4",
47
+ "@smithy/node-config-provider": "^2.2.5",
48
+ "@smithy/node-http-handler": "^2.4.3",
49
+ "@smithy/protocol-http": "^3.2.2",
50
+ "@smithy/smithy-client": "^2.4.5",
51
+ "@smithy/types": "^2.11.0",
52
+ "@smithy/url-parser": "^2.1.4",
53
+ "@smithy/util-base64": "^2.2.1",
54
54
  "@smithy/util-body-length-browser": "^2.1.1",
55
- "@smithy/util-body-length-node": "^2.2.1",
56
- "@smithy/util-defaults-mode-browser": "^2.1.4",
57
- "@smithy/util-defaults-mode-node": "^2.2.3",
58
- "@smithy/util-endpoints": "^1.1.4",
59
- "@smithy/util-middleware": "^2.1.3",
60
- "@smithy/util-retry": "^2.1.3",
61
- "@smithy/util-utf8": "^2.1.1",
55
+ "@smithy/util-body-length-node": "^2.2.2",
56
+ "@smithy/util-defaults-mode-browser": "^2.1.7",
57
+ "@smithy/util-defaults-mode-node": "^2.2.7",
58
+ "@smithy/util-endpoints": "^1.1.5",
59
+ "@smithy/util-middleware": "^2.1.4",
60
+ "@smithy/util-retry": "^2.1.4",
61
+ "@smithy/util-utf8": "^2.2.0",
62
62
  "tslib": "^2.5.0"
63
63
  },
64
64
  "devDependencies": {