@aws-sdk/client-sqs 3.99.0 → 3.107.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/CHANGELOG.md +30 -0
- package/dist-cjs/SQSClient.js +2 -0
- package/dist-cjs/protocols/Aws_query.js +15 -15
- package/dist-es/SQSClient.js +2 -0
- package/dist-es/protocols/Aws_query.js +15 -15
- package/dist-types/models/models_0.d.ts +12 -36
- package/dist-types/ts3.4/models/models_0.d.ts +12 -36
- package/package.json +4 -3
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,36 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [3.107.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.106.0...v3.107.0) (2022-06-08)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* **clients:** handle empty xml tags ([#3623](https://github.com/aws/aws-sdk-js-v3/issues/3623)) ([543a0ce](https://github.com/aws/aws-sdk-js-v3/commit/543a0ce13bebc6e8a5f4cc8e1bd4de67692d4034))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
# [3.105.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.104.0...v3.105.0) (2022-06-06)
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
### Features
|
|
21
|
+
|
|
22
|
+
* **clients:** support recursion detection in Lambda ([#3654](https://github.com/aws/aws-sdk-js-v3/issues/3654)) ([ecfe46e](https://github.com/aws/aws-sdk-js-v3/commit/ecfe46ea1fd8b6e3812b75b3dc6c03554fb4b3fa))
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
# [3.100.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.99.0...v3.100.0) (2022-05-26)
|
|
29
|
+
|
|
30
|
+
**Note:** Version bump only for package @aws-sdk/client-sqs
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
|
|
6
36
|
# [3.99.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.98.0...v3.99.0) (2022-05-25)
|
|
7
37
|
|
|
8
38
|
**Note:** Version bump only for package @aws-sdk/client-sqs
|
package/dist-cjs/SQSClient.js
CHANGED
|
@@ -5,6 +5,7 @@ const config_resolver_1 = require("@aws-sdk/config-resolver");
|
|
|
5
5
|
const middleware_content_length_1 = require("@aws-sdk/middleware-content-length");
|
|
6
6
|
const middleware_host_header_1 = require("@aws-sdk/middleware-host-header");
|
|
7
7
|
const middleware_logger_1 = require("@aws-sdk/middleware-logger");
|
|
8
|
+
const middleware_recursion_detection_1 = require("@aws-sdk/middleware-recursion-detection");
|
|
8
9
|
const middleware_retry_1 = require("@aws-sdk/middleware-retry");
|
|
9
10
|
const middleware_signing_1 = require("@aws-sdk/middleware-signing");
|
|
10
11
|
const middleware_user_agent_1 = require("@aws-sdk/middleware-user-agent");
|
|
@@ -25,6 +26,7 @@ class SQSClient extends smithy_client_1.Client {
|
|
|
25
26
|
this.middlewareStack.use((0, middleware_content_length_1.getContentLengthPlugin)(this.config));
|
|
26
27
|
this.middlewareStack.use((0, middleware_host_header_1.getHostHeaderPlugin)(this.config));
|
|
27
28
|
this.middlewareStack.use((0, middleware_logger_1.getLoggerPlugin)(this.config));
|
|
29
|
+
this.middlewareStack.use((0, middleware_recursion_detection_1.getRecursionDetectionPlugin)(this.config));
|
|
28
30
|
this.middlewareStack.use((0, middleware_signing_1.getAwsAuthPlugin)(this.config));
|
|
29
31
|
this.middlewareStack.use((0, middleware_user_agent_1.getUserAgentPlugin)(this.config));
|
|
30
32
|
}
|
|
@@ -1783,13 +1783,13 @@ const deserializeAws_queryChangeMessageVisibilityBatchResult = (output, context)
|
|
|
1783
1783
|
if (output.ChangeMessageVisibilityBatchResultEntry === "") {
|
|
1784
1784
|
contents.Successful = [];
|
|
1785
1785
|
}
|
|
1786
|
-
if (output["ChangeMessageVisibilityBatchResultEntry"] !== undefined) {
|
|
1786
|
+
else if (output["ChangeMessageVisibilityBatchResultEntry"] !== undefined) {
|
|
1787
1787
|
contents.Successful = deserializeAws_queryChangeMessageVisibilityBatchResultEntryList((0, smithy_client_1.getArrayIfSingleItem)(output["ChangeMessageVisibilityBatchResultEntry"]), context);
|
|
1788
1788
|
}
|
|
1789
1789
|
if (output.BatchResultErrorEntry === "") {
|
|
1790
1790
|
contents.Failed = [];
|
|
1791
1791
|
}
|
|
1792
|
-
if (output["BatchResultErrorEntry"] !== undefined) {
|
|
1792
|
+
else if (output["BatchResultErrorEntry"] !== undefined) {
|
|
1793
1793
|
contents.Failed = deserializeAws_queryBatchResultErrorEntryList((0, smithy_client_1.getArrayIfSingleItem)(output["BatchResultErrorEntry"]), context);
|
|
1794
1794
|
}
|
|
1795
1795
|
return contents;
|
|
@@ -1830,13 +1830,13 @@ const deserializeAws_queryDeleteMessageBatchResult = (output, context) => {
|
|
|
1830
1830
|
if (output.DeleteMessageBatchResultEntry === "") {
|
|
1831
1831
|
contents.Successful = [];
|
|
1832
1832
|
}
|
|
1833
|
-
if (output["DeleteMessageBatchResultEntry"] !== undefined) {
|
|
1833
|
+
else if (output["DeleteMessageBatchResultEntry"] !== undefined) {
|
|
1834
1834
|
contents.Successful = deserializeAws_queryDeleteMessageBatchResultEntryList((0, smithy_client_1.getArrayIfSingleItem)(output["DeleteMessageBatchResultEntry"]), context);
|
|
1835
1835
|
}
|
|
1836
1836
|
if (output.BatchResultErrorEntry === "") {
|
|
1837
1837
|
contents.Failed = [];
|
|
1838
1838
|
}
|
|
1839
|
-
if (output["BatchResultErrorEntry"] !== undefined) {
|
|
1839
|
+
else if (output["BatchResultErrorEntry"] !== undefined) {
|
|
1840
1840
|
contents.Failed = deserializeAws_queryBatchResultErrorEntryList((0, smithy_client_1.getArrayIfSingleItem)(output["BatchResultErrorEntry"]), context);
|
|
1841
1841
|
}
|
|
1842
1842
|
return contents;
|
|
@@ -1871,7 +1871,7 @@ const deserializeAws_queryGetQueueAttributesResult = (output, context) => {
|
|
|
1871
1871
|
if (output.Attribute === "") {
|
|
1872
1872
|
contents.Attributes = {};
|
|
1873
1873
|
}
|
|
1874
|
-
if (output["Attribute"] !== undefined) {
|
|
1874
|
+
else if (output["Attribute"] !== undefined) {
|
|
1875
1875
|
contents.Attributes = deserializeAws_queryQueueAttributeMap((0, smithy_client_1.getArrayIfSingleItem)(output["Attribute"]), context);
|
|
1876
1876
|
}
|
|
1877
1877
|
return contents;
|
|
@@ -1909,7 +1909,7 @@ const deserializeAws_queryListDeadLetterSourceQueuesResult = (output, context) =
|
|
|
1909
1909
|
if (output.QueueUrl === "") {
|
|
1910
1910
|
contents.queueUrls = [];
|
|
1911
1911
|
}
|
|
1912
|
-
if (output["QueueUrl"] !== undefined) {
|
|
1912
|
+
else if (output["QueueUrl"] !== undefined) {
|
|
1913
1913
|
contents.queueUrls = deserializeAws_queryQueueUrlList((0, smithy_client_1.getArrayIfSingleItem)(output["QueueUrl"]), context);
|
|
1914
1914
|
}
|
|
1915
1915
|
if (output["NextToken"] !== undefined) {
|
|
@@ -1928,7 +1928,7 @@ const deserializeAws_queryListQueuesResult = (output, context) => {
|
|
|
1928
1928
|
if (output.QueueUrl === "") {
|
|
1929
1929
|
contents.QueueUrls = [];
|
|
1930
1930
|
}
|
|
1931
|
-
if (output["QueueUrl"] !== undefined) {
|
|
1931
|
+
else if (output["QueueUrl"] !== undefined) {
|
|
1932
1932
|
contents.QueueUrls = deserializeAws_queryQueueUrlList((0, smithy_client_1.getArrayIfSingleItem)(output["QueueUrl"]), context);
|
|
1933
1933
|
}
|
|
1934
1934
|
return contents;
|
|
@@ -1940,7 +1940,7 @@ const deserializeAws_queryListQueueTagsResult = (output, context) => {
|
|
|
1940
1940
|
if (output.Tag === "") {
|
|
1941
1941
|
contents.Tags = {};
|
|
1942
1942
|
}
|
|
1943
|
-
if (output["Tag"] !== undefined) {
|
|
1943
|
+
else if (output["Tag"] !== undefined) {
|
|
1944
1944
|
contents.Tags = deserializeAws_queryTagMap((0, smithy_client_1.getArrayIfSingleItem)(output["Tag"]), context);
|
|
1945
1945
|
}
|
|
1946
1946
|
return contents;
|
|
@@ -1970,7 +1970,7 @@ const deserializeAws_queryMessage = (output, context) => {
|
|
|
1970
1970
|
if (output.Attribute === "") {
|
|
1971
1971
|
contents.Attributes = {};
|
|
1972
1972
|
}
|
|
1973
|
-
if (output["Attribute"] !== undefined) {
|
|
1973
|
+
else if (output["Attribute"] !== undefined) {
|
|
1974
1974
|
contents.Attributes = deserializeAws_queryMessageSystemAttributeMap((0, smithy_client_1.getArrayIfSingleItem)(output["Attribute"]), context);
|
|
1975
1975
|
}
|
|
1976
1976
|
if (output["MD5OfMessageAttributes"] !== undefined) {
|
|
@@ -1979,7 +1979,7 @@ const deserializeAws_queryMessage = (output, context) => {
|
|
|
1979
1979
|
if (output.MessageAttribute === "") {
|
|
1980
1980
|
contents.MessageAttributes = {};
|
|
1981
1981
|
}
|
|
1982
|
-
if (output["MessageAttribute"] !== undefined) {
|
|
1982
|
+
else if (output["MessageAttribute"] !== undefined) {
|
|
1983
1983
|
contents.MessageAttributes = deserializeAws_queryMessageBodyAttributeMap((0, smithy_client_1.getArrayIfSingleItem)(output["MessageAttribute"]), context);
|
|
1984
1984
|
}
|
|
1985
1985
|
return contents;
|
|
@@ -2001,13 +2001,13 @@ const deserializeAws_queryMessageAttributeValue = (output, context) => {
|
|
|
2001
2001
|
if (output.StringListValue === "") {
|
|
2002
2002
|
contents.StringListValues = [];
|
|
2003
2003
|
}
|
|
2004
|
-
if (output["StringListValue"] !== undefined) {
|
|
2004
|
+
else if (output["StringListValue"] !== undefined) {
|
|
2005
2005
|
contents.StringListValues = deserializeAws_queryStringList((0, smithy_client_1.getArrayIfSingleItem)(output["StringListValue"]), context);
|
|
2006
2006
|
}
|
|
2007
2007
|
if (output.BinaryListValue === "") {
|
|
2008
2008
|
contents.BinaryListValues = [];
|
|
2009
2009
|
}
|
|
2010
|
-
if (output["BinaryListValue"] !== undefined) {
|
|
2010
|
+
else if (output["BinaryListValue"] !== undefined) {
|
|
2011
2011
|
contents.BinaryListValues = deserializeAws_queryBinaryList((0, smithy_client_1.getArrayIfSingleItem)(output["BinaryListValue"]), context);
|
|
2012
2012
|
}
|
|
2013
2013
|
if (output["DataType"] !== undefined) {
|
|
@@ -2103,7 +2103,7 @@ const deserializeAws_queryReceiveMessageResult = (output, context) => {
|
|
|
2103
2103
|
if (output.Message === "") {
|
|
2104
2104
|
contents.Messages = [];
|
|
2105
2105
|
}
|
|
2106
|
-
if (output["Message"] !== undefined) {
|
|
2106
|
+
else if (output["Message"] !== undefined) {
|
|
2107
2107
|
contents.Messages = deserializeAws_queryMessageList((0, smithy_client_1.getArrayIfSingleItem)(output["Message"]), context);
|
|
2108
2108
|
}
|
|
2109
2109
|
return contents;
|
|
@@ -2116,13 +2116,13 @@ const deserializeAws_querySendMessageBatchResult = (output, context) => {
|
|
|
2116
2116
|
if (output.SendMessageBatchResultEntry === "") {
|
|
2117
2117
|
contents.Successful = [];
|
|
2118
2118
|
}
|
|
2119
|
-
if (output["SendMessageBatchResultEntry"] !== undefined) {
|
|
2119
|
+
else if (output["SendMessageBatchResultEntry"] !== undefined) {
|
|
2120
2120
|
contents.Successful = deserializeAws_querySendMessageBatchResultEntryList((0, smithy_client_1.getArrayIfSingleItem)(output["SendMessageBatchResultEntry"]), context);
|
|
2121
2121
|
}
|
|
2122
2122
|
if (output.BatchResultErrorEntry === "") {
|
|
2123
2123
|
contents.Failed = [];
|
|
2124
2124
|
}
|
|
2125
|
-
if (output["BatchResultErrorEntry"] !== undefined) {
|
|
2125
|
+
else if (output["BatchResultErrorEntry"] !== undefined) {
|
|
2126
2126
|
contents.Failed = deserializeAws_queryBatchResultErrorEntryList((0, smithy_client_1.getArrayIfSingleItem)(output["BatchResultErrorEntry"]), context);
|
|
2127
2127
|
}
|
|
2128
2128
|
return contents;
|
package/dist-es/SQSClient.js
CHANGED
|
@@ -3,6 +3,7 @@ import { resolveEndpointsConfig, resolveRegionConfig, } from "@aws-sdk/config-re
|
|
|
3
3
|
import { getContentLengthPlugin } from "@aws-sdk/middleware-content-length";
|
|
4
4
|
import { getHostHeaderPlugin, resolveHostHeaderConfig, } from "@aws-sdk/middleware-host-header";
|
|
5
5
|
import { getLoggerPlugin } from "@aws-sdk/middleware-logger";
|
|
6
|
+
import { getRecursionDetectionPlugin } from "@aws-sdk/middleware-recursion-detection";
|
|
6
7
|
import { getRetryPlugin, resolveRetryConfig } from "@aws-sdk/middleware-retry";
|
|
7
8
|
import { getAwsAuthPlugin, resolveAwsAuthConfig, } from "@aws-sdk/middleware-signing";
|
|
8
9
|
import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
|
|
@@ -25,6 +26,7 @@ var SQSClient = (function (_super) {
|
|
|
25
26
|
_this.middlewareStack.use(getContentLengthPlugin(_this.config));
|
|
26
27
|
_this.middlewareStack.use(getHostHeaderPlugin(_this.config));
|
|
27
28
|
_this.middlewareStack.use(getLoggerPlugin(_this.config));
|
|
29
|
+
_this.middlewareStack.use(getRecursionDetectionPlugin(_this.config));
|
|
28
30
|
_this.middlewareStack.use(getAwsAuthPlugin(_this.config));
|
|
29
31
|
_this.middlewareStack.use(getUserAgentPlugin(_this.config));
|
|
30
32
|
return _this;
|
|
@@ -2168,13 +2168,13 @@ var deserializeAws_queryChangeMessageVisibilityBatchResult = function (output, c
|
|
|
2168
2168
|
if (output.ChangeMessageVisibilityBatchResultEntry === "") {
|
|
2169
2169
|
contents.Successful = [];
|
|
2170
2170
|
}
|
|
2171
|
-
if (output["ChangeMessageVisibilityBatchResultEntry"] !== undefined) {
|
|
2171
|
+
else if (output["ChangeMessageVisibilityBatchResultEntry"] !== undefined) {
|
|
2172
2172
|
contents.Successful = deserializeAws_queryChangeMessageVisibilityBatchResultEntryList(__getArrayIfSingleItem(output["ChangeMessageVisibilityBatchResultEntry"]), context);
|
|
2173
2173
|
}
|
|
2174
2174
|
if (output.BatchResultErrorEntry === "") {
|
|
2175
2175
|
contents.Failed = [];
|
|
2176
2176
|
}
|
|
2177
|
-
if (output["BatchResultErrorEntry"] !== undefined) {
|
|
2177
|
+
else if (output["BatchResultErrorEntry"] !== undefined) {
|
|
2178
2178
|
contents.Failed = deserializeAws_queryBatchResultErrorEntryList(__getArrayIfSingleItem(output["BatchResultErrorEntry"]), context);
|
|
2179
2179
|
}
|
|
2180
2180
|
return contents;
|
|
@@ -2215,13 +2215,13 @@ var deserializeAws_queryDeleteMessageBatchResult = function (output, context) {
|
|
|
2215
2215
|
if (output.DeleteMessageBatchResultEntry === "") {
|
|
2216
2216
|
contents.Successful = [];
|
|
2217
2217
|
}
|
|
2218
|
-
if (output["DeleteMessageBatchResultEntry"] !== undefined) {
|
|
2218
|
+
else if (output["DeleteMessageBatchResultEntry"] !== undefined) {
|
|
2219
2219
|
contents.Successful = deserializeAws_queryDeleteMessageBatchResultEntryList(__getArrayIfSingleItem(output["DeleteMessageBatchResultEntry"]), context);
|
|
2220
2220
|
}
|
|
2221
2221
|
if (output.BatchResultErrorEntry === "") {
|
|
2222
2222
|
contents.Failed = [];
|
|
2223
2223
|
}
|
|
2224
|
-
if (output["BatchResultErrorEntry"] !== undefined) {
|
|
2224
|
+
else if (output["BatchResultErrorEntry"] !== undefined) {
|
|
2225
2225
|
contents.Failed = deserializeAws_queryBatchResultErrorEntryList(__getArrayIfSingleItem(output["BatchResultErrorEntry"]), context);
|
|
2226
2226
|
}
|
|
2227
2227
|
return contents;
|
|
@@ -2256,7 +2256,7 @@ var deserializeAws_queryGetQueueAttributesResult = function (output, context) {
|
|
|
2256
2256
|
if (output.Attribute === "") {
|
|
2257
2257
|
contents.Attributes = {};
|
|
2258
2258
|
}
|
|
2259
|
-
if (output["Attribute"] !== undefined) {
|
|
2259
|
+
else if (output["Attribute"] !== undefined) {
|
|
2260
2260
|
contents.Attributes = deserializeAws_queryQueueAttributeMap(__getArrayIfSingleItem(output["Attribute"]), context);
|
|
2261
2261
|
}
|
|
2262
2262
|
return contents;
|
|
@@ -2294,7 +2294,7 @@ var deserializeAws_queryListDeadLetterSourceQueuesResult = function (output, con
|
|
|
2294
2294
|
if (output.QueueUrl === "") {
|
|
2295
2295
|
contents.queueUrls = [];
|
|
2296
2296
|
}
|
|
2297
|
-
if (output["QueueUrl"] !== undefined) {
|
|
2297
|
+
else if (output["QueueUrl"] !== undefined) {
|
|
2298
2298
|
contents.queueUrls = deserializeAws_queryQueueUrlList(__getArrayIfSingleItem(output["QueueUrl"]), context);
|
|
2299
2299
|
}
|
|
2300
2300
|
if (output["NextToken"] !== undefined) {
|
|
@@ -2313,7 +2313,7 @@ var deserializeAws_queryListQueuesResult = function (output, context) {
|
|
|
2313
2313
|
if (output.QueueUrl === "") {
|
|
2314
2314
|
contents.QueueUrls = [];
|
|
2315
2315
|
}
|
|
2316
|
-
if (output["QueueUrl"] !== undefined) {
|
|
2316
|
+
else if (output["QueueUrl"] !== undefined) {
|
|
2317
2317
|
contents.QueueUrls = deserializeAws_queryQueueUrlList(__getArrayIfSingleItem(output["QueueUrl"]), context);
|
|
2318
2318
|
}
|
|
2319
2319
|
return contents;
|
|
@@ -2325,7 +2325,7 @@ var deserializeAws_queryListQueueTagsResult = function (output, context) {
|
|
|
2325
2325
|
if (output.Tag === "") {
|
|
2326
2326
|
contents.Tags = {};
|
|
2327
2327
|
}
|
|
2328
|
-
if (output["Tag"] !== undefined) {
|
|
2328
|
+
else if (output["Tag"] !== undefined) {
|
|
2329
2329
|
contents.Tags = deserializeAws_queryTagMap(__getArrayIfSingleItem(output["Tag"]), context);
|
|
2330
2330
|
}
|
|
2331
2331
|
return contents;
|
|
@@ -2355,7 +2355,7 @@ var deserializeAws_queryMessage = function (output, context) {
|
|
|
2355
2355
|
if (output.Attribute === "") {
|
|
2356
2356
|
contents.Attributes = {};
|
|
2357
2357
|
}
|
|
2358
|
-
if (output["Attribute"] !== undefined) {
|
|
2358
|
+
else if (output["Attribute"] !== undefined) {
|
|
2359
2359
|
contents.Attributes = deserializeAws_queryMessageSystemAttributeMap(__getArrayIfSingleItem(output["Attribute"]), context);
|
|
2360
2360
|
}
|
|
2361
2361
|
if (output["MD5OfMessageAttributes"] !== undefined) {
|
|
@@ -2364,7 +2364,7 @@ var deserializeAws_queryMessage = function (output, context) {
|
|
|
2364
2364
|
if (output.MessageAttribute === "") {
|
|
2365
2365
|
contents.MessageAttributes = {};
|
|
2366
2366
|
}
|
|
2367
|
-
if (output["MessageAttribute"] !== undefined) {
|
|
2367
|
+
else if (output["MessageAttribute"] !== undefined) {
|
|
2368
2368
|
contents.MessageAttributes = deserializeAws_queryMessageBodyAttributeMap(__getArrayIfSingleItem(output["MessageAttribute"]), context);
|
|
2369
2369
|
}
|
|
2370
2370
|
return contents;
|
|
@@ -2386,13 +2386,13 @@ var deserializeAws_queryMessageAttributeValue = function (output, context) {
|
|
|
2386
2386
|
if (output.StringListValue === "") {
|
|
2387
2387
|
contents.StringListValues = [];
|
|
2388
2388
|
}
|
|
2389
|
-
if (output["StringListValue"] !== undefined) {
|
|
2389
|
+
else if (output["StringListValue"] !== undefined) {
|
|
2390
2390
|
contents.StringListValues = deserializeAws_queryStringList(__getArrayIfSingleItem(output["StringListValue"]), context);
|
|
2391
2391
|
}
|
|
2392
2392
|
if (output.BinaryListValue === "") {
|
|
2393
2393
|
contents.BinaryListValues = [];
|
|
2394
2394
|
}
|
|
2395
|
-
if (output["BinaryListValue"] !== undefined) {
|
|
2395
|
+
else if (output["BinaryListValue"] !== undefined) {
|
|
2396
2396
|
contents.BinaryListValues = deserializeAws_queryBinaryList(__getArrayIfSingleItem(output["BinaryListValue"]), context);
|
|
2397
2397
|
}
|
|
2398
2398
|
if (output["DataType"] !== undefined) {
|
|
@@ -2482,7 +2482,7 @@ var deserializeAws_queryReceiveMessageResult = function (output, context) {
|
|
|
2482
2482
|
if (output.Message === "") {
|
|
2483
2483
|
contents.Messages = [];
|
|
2484
2484
|
}
|
|
2485
|
-
if (output["Message"] !== undefined) {
|
|
2485
|
+
else if (output["Message"] !== undefined) {
|
|
2486
2486
|
contents.Messages = deserializeAws_queryMessageList(__getArrayIfSingleItem(output["Message"]), context);
|
|
2487
2487
|
}
|
|
2488
2488
|
return contents;
|
|
@@ -2495,13 +2495,13 @@ var deserializeAws_querySendMessageBatchResult = function (output, context) {
|
|
|
2495
2495
|
if (output.SendMessageBatchResultEntry === "") {
|
|
2496
2496
|
contents.Successful = [];
|
|
2497
2497
|
}
|
|
2498
|
-
if (output["SendMessageBatchResultEntry"] !== undefined) {
|
|
2498
|
+
else if (output["SendMessageBatchResultEntry"] !== undefined) {
|
|
2499
2499
|
contents.Successful = deserializeAws_querySendMessageBatchResultEntryList(__getArrayIfSingleItem(output["SendMessageBatchResultEntry"]), context);
|
|
2500
2500
|
}
|
|
2501
2501
|
if (output.BatchResultErrorEntry === "") {
|
|
2502
2502
|
contents.Failed = [];
|
|
2503
2503
|
}
|
|
2504
|
-
if (output["BatchResultErrorEntry"] !== undefined) {
|
|
2504
|
+
else if (output["BatchResultErrorEntry"] !== undefined) {
|
|
2505
2505
|
contents.Failed = deserializeAws_queryBatchResultErrorEntryList(__getArrayIfSingleItem(output["BatchResultErrorEntry"]), context);
|
|
2506
2506
|
}
|
|
2507
2507
|
return contents;
|
|
@@ -321,9 +321,7 @@ export interface CreateQueueRequest {
|
|
|
321
321
|
* cross-account permissions to a role and a user name</a> in the <i>Amazon SQS Developer Guide</i>.</p>
|
|
322
322
|
* </note>
|
|
323
323
|
*/
|
|
324
|
-
tags?:
|
|
325
|
-
[key: string]: string;
|
|
326
|
-
};
|
|
324
|
+
tags?: Record<string, string>;
|
|
327
325
|
/**
|
|
328
326
|
* <p>A map of attributes with their corresponding values.</p>
|
|
329
327
|
* <p>The following lists the names, descriptions, and values of the special request parameters that the <code>CreateQueue</code> action uses:</p>
|
|
@@ -489,9 +487,7 @@ export interface CreateQueueRequest {
|
|
|
489
487
|
* see <a href="https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/quotas-messages.html">Quotas related to messages</a>
|
|
490
488
|
* in the <i>Amazon SQS Developer Guide</i>.</p>
|
|
491
489
|
*/
|
|
492
|
-
Attributes?:
|
|
493
|
-
[key: string]: string;
|
|
494
|
-
};
|
|
490
|
+
Attributes?: Record<string, string>;
|
|
495
491
|
}
|
|
496
492
|
export declare namespace CreateQueueRequest {
|
|
497
493
|
/**
|
|
@@ -868,9 +864,7 @@ export interface GetQueueAttributesResult {
|
|
|
868
864
|
/**
|
|
869
865
|
* <p>A map of attributes to their respective values.</p>
|
|
870
866
|
*/
|
|
871
|
-
Attributes?:
|
|
872
|
-
[key: string]: string;
|
|
873
|
-
};
|
|
867
|
+
Attributes?: Record<string, string>;
|
|
874
868
|
}
|
|
875
869
|
export declare namespace GetQueueAttributesResult {
|
|
876
870
|
/**
|
|
@@ -1041,9 +1035,7 @@ export interface ListQueueTagsResult {
|
|
|
1041
1035
|
/**
|
|
1042
1036
|
* <p>The list of all tags added to the specified queue.</p>
|
|
1043
1037
|
*/
|
|
1044
|
-
Tags?:
|
|
1045
|
-
[key: string]: string;
|
|
1046
|
-
};
|
|
1038
|
+
Tags?: Record<string, string>;
|
|
1047
1039
|
}
|
|
1048
1040
|
export declare namespace ListQueueTagsResult {
|
|
1049
1041
|
/**
|
|
@@ -1352,9 +1344,7 @@ export interface Message {
|
|
|
1352
1344
|
* <code>ApproximateFirstReceiveTimestamp</code> and <code>SentTimestamp</code> are each returned as an integer representing the
|
|
1353
1345
|
* <a href="http://en.wikipedia.org/wiki/Unix_time">epoch time</a> in milliseconds.</p>
|
|
1354
1346
|
*/
|
|
1355
|
-
Attributes?:
|
|
1356
|
-
[key: string]: string;
|
|
1357
|
-
};
|
|
1347
|
+
Attributes?: Record<string, string>;
|
|
1358
1348
|
/**
|
|
1359
1349
|
* <p>An MD5 digest of the non-URL-encoded message attribute string. You can use this attribute to verify that Amazon SQS received the message correctly. Amazon SQS URL-decodes the message before creating the MD5 digest. For information about MD5, see <a href="https://www.ietf.org/rfc/rfc1321.txt">RFC1321</a>.</p>
|
|
1360
1350
|
*/
|
|
@@ -1365,9 +1355,7 @@ export interface Message {
|
|
|
1365
1355
|
* <a href="https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-message-metadata.html#sqs-message-attributes">Amazon SQS
|
|
1366
1356
|
* message attributes</a> in the <i>Amazon SQS Developer Guide</i>.</p>
|
|
1367
1357
|
*/
|
|
1368
|
-
MessageAttributes?:
|
|
1369
|
-
[key: string]: MessageAttributeValue;
|
|
1370
|
-
};
|
|
1358
|
+
MessageAttributes?: Record<string, MessageAttributeValue>;
|
|
1371
1359
|
}
|
|
1372
1360
|
export declare namespace Message {
|
|
1373
1361
|
/**
|
|
@@ -1496,9 +1484,7 @@ export interface SendMessageRequest {
|
|
|
1496
1484
|
* <a href="https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-message-metadata.html#sqs-message-attributes">Amazon SQS
|
|
1497
1485
|
* message attributes</a> in the <i>Amazon SQS Developer Guide</i>.</p>
|
|
1498
1486
|
*/
|
|
1499
|
-
MessageAttributes?:
|
|
1500
|
-
[key: string]: MessageAttributeValue;
|
|
1501
|
-
};
|
|
1487
|
+
MessageAttributes?: Record<string, MessageAttributeValue>;
|
|
1502
1488
|
/**
|
|
1503
1489
|
* <p>The message system attribute to send. Each message system attribute consists of a <code>Name</code>, <code>Type</code>, and <code>Value</code>.</p>
|
|
1504
1490
|
* <important>
|
|
@@ -1514,9 +1500,7 @@ export interface SendMessageRequest {
|
|
|
1514
1500
|
* </ul>
|
|
1515
1501
|
* </important>
|
|
1516
1502
|
*/
|
|
1517
|
-
MessageSystemAttributes?:
|
|
1518
|
-
[key: string]: MessageSystemAttributeValue;
|
|
1519
|
-
};
|
|
1503
|
+
MessageSystemAttributes?: Record<string, MessageSystemAttributeValue>;
|
|
1520
1504
|
/**
|
|
1521
1505
|
* <p>This parameter applies only to FIFO (first-in-first-out) queues.</p>
|
|
1522
1506
|
* <p>The token used for deduplication of sent messages. If a message with a particular <code>MessageDeduplicationId</code> is sent successfully, any messages sent with the same <code>MessageDeduplicationId</code>
|
|
@@ -1692,9 +1676,7 @@ export interface SendMessageBatchRequestEntry {
|
|
|
1692
1676
|
* <a href="https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-message-metadata.html#sqs-message-attributes">Amazon SQS
|
|
1693
1677
|
* message attributes</a> in the <i>Amazon SQS Developer Guide</i>.</p>
|
|
1694
1678
|
*/
|
|
1695
|
-
MessageAttributes?:
|
|
1696
|
-
[key: string]: MessageAttributeValue;
|
|
1697
|
-
};
|
|
1679
|
+
MessageAttributes?: Record<string, MessageAttributeValue>;
|
|
1698
1680
|
/**
|
|
1699
1681
|
* <p>The message system attribute to send Each message system attribute consists of a <code>Name</code>, <code>Type</code>, and <code>Value</code>.</p>
|
|
1700
1682
|
* <important>
|
|
@@ -1710,9 +1692,7 @@ export interface SendMessageBatchRequestEntry {
|
|
|
1710
1692
|
* </ul>
|
|
1711
1693
|
* </important>
|
|
1712
1694
|
*/
|
|
1713
|
-
MessageSystemAttributes?:
|
|
1714
|
-
[key: string]: MessageSystemAttributeValue;
|
|
1715
|
-
};
|
|
1695
|
+
MessageSystemAttributes?: Record<string, MessageSystemAttributeValue>;
|
|
1716
1696
|
/**
|
|
1717
1697
|
* <p>This parameter applies only to FIFO (first-in-first-out) queues.</p>
|
|
1718
1698
|
* <p>The token used for deduplication of messages within a 5-minute minimum deduplication interval. If a message with a particular
|
|
@@ -2055,9 +2035,7 @@ export interface SetQueueAttributesRequest {
|
|
|
2055
2035
|
* see <a href="https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/quotas-messages.html">Quotas related to messages</a>
|
|
2056
2036
|
* in the <i>Amazon SQS Developer Guide</i>.</p>
|
|
2057
2037
|
*/
|
|
2058
|
-
Attributes:
|
|
2059
|
-
[key: string]: string;
|
|
2060
|
-
} | undefined;
|
|
2038
|
+
Attributes: Record<string, string> | undefined;
|
|
2061
2039
|
}
|
|
2062
2040
|
export declare namespace SetQueueAttributesRequest {
|
|
2063
2041
|
/**
|
|
@@ -2073,9 +2051,7 @@ export interface TagQueueRequest {
|
|
|
2073
2051
|
/**
|
|
2074
2052
|
* <p>The list of tags to be added to the specified queue.</p>
|
|
2075
2053
|
*/
|
|
2076
|
-
Tags:
|
|
2077
|
-
[key: string]: string;
|
|
2078
|
-
} | undefined;
|
|
2054
|
+
Tags: Record<string, string> | undefined;
|
|
2079
2055
|
}
|
|
2080
2056
|
export declare namespace TagQueueRequest {
|
|
2081
2057
|
/**
|
|
@@ -141,13 +141,9 @@ export interface CreateQueueRequest {
|
|
|
141
141
|
|
|
142
142
|
QueueName: string | undefined;
|
|
143
143
|
|
|
144
|
-
tags?:
|
|
145
|
-
[key: string]: string;
|
|
146
|
-
};
|
|
144
|
+
tags?: Record<string, string>;
|
|
147
145
|
|
|
148
|
-
Attributes?:
|
|
149
|
-
[key: string]: string;
|
|
150
|
-
};
|
|
146
|
+
Attributes?: Record<string, string>;
|
|
151
147
|
}
|
|
152
148
|
export declare namespace CreateQueueRequest {
|
|
153
149
|
|
|
@@ -259,9 +255,7 @@ export declare namespace GetQueueAttributesRequest {
|
|
|
259
255
|
|
|
260
256
|
export interface GetQueueAttributesResult {
|
|
261
257
|
|
|
262
|
-
Attributes?:
|
|
263
|
-
[key: string]: string;
|
|
264
|
-
};
|
|
258
|
+
Attributes?: Record<string, string>;
|
|
265
259
|
}
|
|
266
260
|
export declare namespace GetQueueAttributesResult {
|
|
267
261
|
|
|
@@ -359,9 +353,7 @@ export declare namespace ListQueueTagsRequest {
|
|
|
359
353
|
}
|
|
360
354
|
export interface ListQueueTagsResult {
|
|
361
355
|
|
|
362
|
-
Tags?:
|
|
363
|
-
[key: string]: string;
|
|
364
|
-
};
|
|
356
|
+
Tags?: Record<string, string>;
|
|
365
357
|
}
|
|
366
358
|
export declare namespace ListQueueTagsResult {
|
|
367
359
|
|
|
@@ -433,15 +425,11 @@ export interface Message {
|
|
|
433
425
|
|
|
434
426
|
Body?: string;
|
|
435
427
|
|
|
436
|
-
Attributes?:
|
|
437
|
-
[key: string]: string;
|
|
438
|
-
};
|
|
428
|
+
Attributes?: Record<string, string>;
|
|
439
429
|
|
|
440
430
|
MD5OfMessageAttributes?: string;
|
|
441
431
|
|
|
442
|
-
MessageAttributes?:
|
|
443
|
-
[key: string]: MessageAttributeValue;
|
|
444
|
-
};
|
|
432
|
+
MessageAttributes?: Record<string, MessageAttributeValue>;
|
|
445
433
|
}
|
|
446
434
|
export declare namespace Message {
|
|
447
435
|
|
|
@@ -501,13 +489,9 @@ export interface SendMessageRequest {
|
|
|
501
489
|
|
|
502
490
|
DelaySeconds?: number;
|
|
503
491
|
|
|
504
|
-
MessageAttributes?:
|
|
505
|
-
[key: string]: MessageAttributeValue;
|
|
506
|
-
};
|
|
492
|
+
MessageAttributes?: Record<string, MessageAttributeValue>;
|
|
507
493
|
|
|
508
|
-
MessageSystemAttributes?:
|
|
509
|
-
[key: string]: MessageSystemAttributeValue;
|
|
510
|
-
};
|
|
494
|
+
MessageSystemAttributes?: Record<string, MessageSystemAttributeValue>;
|
|
511
495
|
|
|
512
496
|
MessageDeduplicationId?: string;
|
|
513
497
|
|
|
@@ -557,13 +541,9 @@ export interface SendMessageBatchRequestEntry {
|
|
|
557
541
|
|
|
558
542
|
DelaySeconds?: number;
|
|
559
543
|
|
|
560
|
-
MessageAttributes?:
|
|
561
|
-
[key: string]: MessageAttributeValue;
|
|
562
|
-
};
|
|
544
|
+
MessageAttributes?: Record<string, MessageAttributeValue>;
|
|
563
545
|
|
|
564
|
-
MessageSystemAttributes?:
|
|
565
|
-
[key: string]: MessageSystemAttributeValue;
|
|
566
|
-
};
|
|
546
|
+
MessageSystemAttributes?: Record<string, MessageSystemAttributeValue>;
|
|
567
547
|
|
|
568
548
|
MessageDeduplicationId?: string;
|
|
569
549
|
|
|
@@ -619,9 +599,7 @@ export interface SetQueueAttributesRequest {
|
|
|
619
599
|
|
|
620
600
|
QueueUrl: string | undefined;
|
|
621
601
|
|
|
622
|
-
Attributes:
|
|
623
|
-
[key: string]: string;
|
|
624
|
-
} | undefined;
|
|
602
|
+
Attributes: Record<string, string> | undefined;
|
|
625
603
|
}
|
|
626
604
|
export declare namespace SetQueueAttributesRequest {
|
|
627
605
|
|
|
@@ -631,9 +609,7 @@ export interface TagQueueRequest {
|
|
|
631
609
|
|
|
632
610
|
QueueUrl: string | undefined;
|
|
633
611
|
|
|
634
|
-
Tags:
|
|
635
|
-
[key: string]: string;
|
|
636
|
-
} | undefined;
|
|
612
|
+
Tags: Record<string, string> | undefined;
|
|
637
613
|
}
|
|
638
614
|
export declare namespace TagQueueRequest {
|
|
639
615
|
|
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.
|
|
4
|
+
"version": "3.107.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",
|
|
@@ -18,9 +18,9 @@
|
|
|
18
18
|
"dependencies": {
|
|
19
19
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
20
20
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
21
|
-
"@aws-sdk/client-sts": "3.
|
|
21
|
+
"@aws-sdk/client-sts": "3.105.0",
|
|
22
22
|
"@aws-sdk/config-resolver": "3.80.0",
|
|
23
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
23
|
+
"@aws-sdk/credential-provider-node": "3.105.0",
|
|
24
24
|
"@aws-sdk/fetch-http-handler": "3.78.0",
|
|
25
25
|
"@aws-sdk/hash-node": "3.78.0",
|
|
26
26
|
"@aws-sdk/invalid-dependency": "3.78.0",
|
|
@@ -28,6 +28,7 @@
|
|
|
28
28
|
"@aws-sdk/middleware-content-length": "3.78.0",
|
|
29
29
|
"@aws-sdk/middleware-host-header": "3.78.0",
|
|
30
30
|
"@aws-sdk/middleware-logger": "3.78.0",
|
|
31
|
+
"@aws-sdk/middleware-recursion-detection": "3.105.0",
|
|
31
32
|
"@aws-sdk/middleware-retry": "3.80.0",
|
|
32
33
|
"@aws-sdk/middleware-sdk-sqs": "3.78.0",
|
|
33
34
|
"@aws-sdk/middleware-serde": "3.78.0",
|