@aws-sdk/client-sqs 3.296.0 → 3.298.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/commands/AddPermissionCommand.js +2 -3
- package/dist-cjs/commands/ChangeMessageVisibilityBatchCommand.js +2 -3
- package/dist-cjs/commands/ChangeMessageVisibilityCommand.js +2 -3
- package/dist-cjs/commands/CreateQueueCommand.js +2 -3
- package/dist-cjs/commands/DeleteMessageBatchCommand.js +2 -3
- package/dist-cjs/commands/DeleteMessageCommand.js +2 -3
- package/dist-cjs/commands/DeleteQueueCommand.js +2 -3
- package/dist-cjs/commands/GetQueueAttributesCommand.js +2 -3
- package/dist-cjs/commands/GetQueueUrlCommand.js +2 -3
- package/dist-cjs/commands/ListDeadLetterSourceQueuesCommand.js +2 -3
- package/dist-cjs/commands/ListQueueTagsCommand.js +2 -3
- package/dist-cjs/commands/ListQueuesCommand.js +2 -3
- package/dist-cjs/commands/PurgeQueueCommand.js +2 -3
- package/dist-cjs/commands/ReceiveMessageCommand.js +2 -3
- package/dist-cjs/commands/RemovePermissionCommand.js +2 -3
- package/dist-cjs/commands/SendMessageBatchCommand.js +2 -3
- package/dist-cjs/commands/SendMessageCommand.js +2 -3
- package/dist-cjs/commands/SetQueueAttributesCommand.js +2 -3
- package/dist-cjs/commands/TagQueueCommand.js +2 -3
- package/dist-cjs/commands/UntagQueueCommand.js +2 -3
- package/dist-cjs/models/models_0.js +1 -166
- package/dist-cjs/protocols/Aws_query.js +17 -78
- package/dist-es/commands/AddPermissionCommand.js +2 -3
- package/dist-es/commands/ChangeMessageVisibilityBatchCommand.js +2 -3
- package/dist-es/commands/ChangeMessageVisibilityCommand.js +2 -3
- package/dist-es/commands/CreateQueueCommand.js +2 -3
- package/dist-es/commands/DeleteMessageBatchCommand.js +2 -3
- package/dist-es/commands/DeleteMessageCommand.js +2 -3
- package/dist-es/commands/DeleteQueueCommand.js +2 -3
- package/dist-es/commands/GetQueueAttributesCommand.js +2 -3
- package/dist-es/commands/GetQueueUrlCommand.js +2 -3
- package/dist-es/commands/ListDeadLetterSourceQueuesCommand.js +2 -3
- package/dist-es/commands/ListQueueTagsCommand.js +2 -3
- package/dist-es/commands/ListQueuesCommand.js +2 -3
- package/dist-es/commands/PurgeQueueCommand.js +2 -3
- package/dist-es/commands/ReceiveMessageCommand.js +2 -3
- package/dist-es/commands/RemovePermissionCommand.js +2 -3
- package/dist-es/commands/SendMessageBatchCommand.js +2 -3
- package/dist-es/commands/SendMessageCommand.js +2 -3
- package/dist-es/commands/SetQueueAttributesCommand.js +2 -3
- package/dist-es/commands/TagQueueCommand.js +2 -3
- package/dist-es/commands/UntagQueueCommand.js +2 -3
- package/dist-es/models/models_0.js +0 -123
- package/dist-es/protocols/Aws_query.js +17 -78
- package/dist-types/SQS.d.ts +21 -0
- package/dist-types/SQSClient.d.ts +24 -4
- package/dist-types/commands/AddPermissionCommand.d.ts +16 -0
- package/dist-types/commands/ChangeMessageVisibilityBatchCommand.d.ts +16 -0
- package/dist-types/commands/ChangeMessageVisibilityCommand.d.ts +16 -0
- package/dist-types/commands/CreateQueueCommand.d.ts +16 -0
- package/dist-types/commands/DeleteMessageBatchCommand.d.ts +16 -0
- package/dist-types/commands/DeleteMessageCommand.d.ts +16 -0
- package/dist-types/commands/DeleteQueueCommand.d.ts +16 -0
- package/dist-types/commands/GetQueueAttributesCommand.d.ts +16 -0
- package/dist-types/commands/GetQueueUrlCommand.d.ts +16 -0
- package/dist-types/commands/ListDeadLetterSourceQueuesCommand.d.ts +16 -0
- package/dist-types/commands/ListQueueTagsCommand.d.ts +16 -0
- package/dist-types/commands/ListQueuesCommand.d.ts +16 -0
- package/dist-types/commands/PurgeQueueCommand.d.ts +16 -0
- package/dist-types/commands/ReceiveMessageCommand.d.ts +16 -0
- package/dist-types/commands/RemovePermissionCommand.d.ts +16 -0
- package/dist-types/commands/SendMessageBatchCommand.d.ts +16 -0
- package/dist-types/commands/SendMessageCommand.d.ts +16 -0
- package/dist-types/commands/SetQueueAttributesCommand.d.ts +16 -0
- package/dist-types/commands/TagQueueCommand.d.ts +16 -0
- package/dist-types/commands/UntagQueueCommand.d.ts +16 -0
- package/dist-types/models/SQSServiceException.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +81 -169
- package/dist-types/pagination/Interfaces.d.ts +3 -0
- package/dist-types/pagination/ListDeadLetterSourceQueuesPaginator.d.ts +3 -0
- package/dist-types/pagination/ListQueuesPaginator.d.ts +3 -0
- package/dist-types/ts3.4/models/models_0.d.ts +0 -121
- package/package.json +4 -3
|
@@ -191,126 +191,3 @@ export class BatchRequestTooLong extends __BaseException {
|
|
|
191
191
|
Object.setPrototypeOf(this, BatchRequestTooLong.prototype);
|
|
192
192
|
}
|
|
193
193
|
}
|
|
194
|
-
export const AddPermissionRequestFilterSensitiveLog = (obj) => ({
|
|
195
|
-
...obj,
|
|
196
|
-
});
|
|
197
|
-
export const ChangeMessageVisibilityRequestFilterSensitiveLog = (obj) => ({
|
|
198
|
-
...obj,
|
|
199
|
-
});
|
|
200
|
-
export const ChangeMessageVisibilityBatchRequestEntryFilterSensitiveLog = (obj) => ({
|
|
201
|
-
...obj,
|
|
202
|
-
});
|
|
203
|
-
export const ChangeMessageVisibilityBatchRequestFilterSensitiveLog = (obj) => ({
|
|
204
|
-
...obj,
|
|
205
|
-
});
|
|
206
|
-
export const BatchResultErrorEntryFilterSensitiveLog = (obj) => ({
|
|
207
|
-
...obj,
|
|
208
|
-
});
|
|
209
|
-
export const ChangeMessageVisibilityBatchResultEntryFilterSensitiveLog = (obj) => ({
|
|
210
|
-
...obj,
|
|
211
|
-
});
|
|
212
|
-
export const ChangeMessageVisibilityBatchResultFilterSensitiveLog = (obj) => ({
|
|
213
|
-
...obj,
|
|
214
|
-
});
|
|
215
|
-
export const CreateQueueRequestFilterSensitiveLog = (obj) => ({
|
|
216
|
-
...obj,
|
|
217
|
-
});
|
|
218
|
-
export const CreateQueueResultFilterSensitiveLog = (obj) => ({
|
|
219
|
-
...obj,
|
|
220
|
-
});
|
|
221
|
-
export const DeleteMessageRequestFilterSensitiveLog = (obj) => ({
|
|
222
|
-
...obj,
|
|
223
|
-
});
|
|
224
|
-
export const DeleteMessageBatchRequestEntryFilterSensitiveLog = (obj) => ({
|
|
225
|
-
...obj,
|
|
226
|
-
});
|
|
227
|
-
export const DeleteMessageBatchRequestFilterSensitiveLog = (obj) => ({
|
|
228
|
-
...obj,
|
|
229
|
-
});
|
|
230
|
-
export const DeleteMessageBatchResultEntryFilterSensitiveLog = (obj) => ({
|
|
231
|
-
...obj,
|
|
232
|
-
});
|
|
233
|
-
export const DeleteMessageBatchResultFilterSensitiveLog = (obj) => ({
|
|
234
|
-
...obj,
|
|
235
|
-
});
|
|
236
|
-
export const DeleteQueueRequestFilterSensitiveLog = (obj) => ({
|
|
237
|
-
...obj,
|
|
238
|
-
});
|
|
239
|
-
export const GetQueueAttributesRequestFilterSensitiveLog = (obj) => ({
|
|
240
|
-
...obj,
|
|
241
|
-
});
|
|
242
|
-
export const GetQueueAttributesResultFilterSensitiveLog = (obj) => ({
|
|
243
|
-
...obj,
|
|
244
|
-
});
|
|
245
|
-
export const GetQueueUrlRequestFilterSensitiveLog = (obj) => ({
|
|
246
|
-
...obj,
|
|
247
|
-
});
|
|
248
|
-
export const GetQueueUrlResultFilterSensitiveLog = (obj) => ({
|
|
249
|
-
...obj,
|
|
250
|
-
});
|
|
251
|
-
export const ListDeadLetterSourceQueuesRequestFilterSensitiveLog = (obj) => ({
|
|
252
|
-
...obj,
|
|
253
|
-
});
|
|
254
|
-
export const ListDeadLetterSourceQueuesResultFilterSensitiveLog = (obj) => ({
|
|
255
|
-
...obj,
|
|
256
|
-
});
|
|
257
|
-
export const ListQueuesRequestFilterSensitiveLog = (obj) => ({
|
|
258
|
-
...obj,
|
|
259
|
-
});
|
|
260
|
-
export const ListQueuesResultFilterSensitiveLog = (obj) => ({
|
|
261
|
-
...obj,
|
|
262
|
-
});
|
|
263
|
-
export const ListQueueTagsRequestFilterSensitiveLog = (obj) => ({
|
|
264
|
-
...obj,
|
|
265
|
-
});
|
|
266
|
-
export const ListQueueTagsResultFilterSensitiveLog = (obj) => ({
|
|
267
|
-
...obj,
|
|
268
|
-
});
|
|
269
|
-
export const PurgeQueueRequestFilterSensitiveLog = (obj) => ({
|
|
270
|
-
...obj,
|
|
271
|
-
});
|
|
272
|
-
export const ReceiveMessageRequestFilterSensitiveLog = (obj) => ({
|
|
273
|
-
...obj,
|
|
274
|
-
});
|
|
275
|
-
export const MessageAttributeValueFilterSensitiveLog = (obj) => ({
|
|
276
|
-
...obj,
|
|
277
|
-
});
|
|
278
|
-
export const MessageFilterSensitiveLog = (obj) => ({
|
|
279
|
-
...obj,
|
|
280
|
-
});
|
|
281
|
-
export const ReceiveMessageResultFilterSensitiveLog = (obj) => ({
|
|
282
|
-
...obj,
|
|
283
|
-
});
|
|
284
|
-
export const RemovePermissionRequestFilterSensitiveLog = (obj) => ({
|
|
285
|
-
...obj,
|
|
286
|
-
});
|
|
287
|
-
export const MessageSystemAttributeValueFilterSensitiveLog = (obj) => ({
|
|
288
|
-
...obj,
|
|
289
|
-
});
|
|
290
|
-
export const SendMessageRequestFilterSensitiveLog = (obj) => ({
|
|
291
|
-
...obj,
|
|
292
|
-
});
|
|
293
|
-
export const SendMessageResultFilterSensitiveLog = (obj) => ({
|
|
294
|
-
...obj,
|
|
295
|
-
});
|
|
296
|
-
export const SendMessageBatchRequestEntryFilterSensitiveLog = (obj) => ({
|
|
297
|
-
...obj,
|
|
298
|
-
});
|
|
299
|
-
export const SendMessageBatchRequestFilterSensitiveLog = (obj) => ({
|
|
300
|
-
...obj,
|
|
301
|
-
});
|
|
302
|
-
export const SendMessageBatchResultEntryFilterSensitiveLog = (obj) => ({
|
|
303
|
-
...obj,
|
|
304
|
-
});
|
|
305
|
-
export const SendMessageBatchResultFilterSensitiveLog = (obj) => ({
|
|
306
|
-
...obj,
|
|
307
|
-
});
|
|
308
|
-
export const SetQueueAttributesRequestFilterSensitiveLog = (obj) => ({
|
|
309
|
-
...obj,
|
|
310
|
-
});
|
|
311
|
-
export const TagQueueRequestFilterSensitiveLog = (obj) => ({
|
|
312
|
-
...obj,
|
|
313
|
-
});
|
|
314
|
-
export const UntagQueueRequestFilterSensitiveLog = (obj) => ({
|
|
315
|
-
...obj,
|
|
316
|
-
});
|
|
@@ -1672,12 +1672,7 @@ const deserializeAws_queryBatchRequestTooLong = (output, context) => {
|
|
|
1672
1672
|
return contents;
|
|
1673
1673
|
};
|
|
1674
1674
|
const deserializeAws_queryBatchResultErrorEntry = (output, context) => {
|
|
1675
|
-
const contents = {
|
|
1676
|
-
Id: undefined,
|
|
1677
|
-
SenderFault: undefined,
|
|
1678
|
-
Code: undefined,
|
|
1679
|
-
Message: undefined,
|
|
1680
|
-
};
|
|
1675
|
+
const contents = {};
|
|
1681
1676
|
if (output["Id"] !== undefined) {
|
|
1682
1677
|
contents.Id = __expectString(output["Id"]);
|
|
1683
1678
|
}
|
|
@@ -1707,10 +1702,7 @@ const deserializeAws_queryBinaryList = (output, context) => {
|
|
|
1707
1702
|
});
|
|
1708
1703
|
};
|
|
1709
1704
|
const deserializeAws_queryChangeMessageVisibilityBatchResult = (output, context) => {
|
|
1710
|
-
const contents = {
|
|
1711
|
-
Successful: undefined,
|
|
1712
|
-
Failed: undefined,
|
|
1713
|
-
};
|
|
1705
|
+
const contents = {};
|
|
1714
1706
|
if (output.ChangeMessageVisibilityBatchResultEntry === "") {
|
|
1715
1707
|
contents.Successful = [];
|
|
1716
1708
|
}
|
|
@@ -1726,9 +1718,7 @@ const deserializeAws_queryChangeMessageVisibilityBatchResult = (output, context)
|
|
|
1726
1718
|
return contents;
|
|
1727
1719
|
};
|
|
1728
1720
|
const deserializeAws_queryChangeMessageVisibilityBatchResultEntry = (output, context) => {
|
|
1729
|
-
const contents = {
|
|
1730
|
-
Id: undefined,
|
|
1731
|
-
};
|
|
1721
|
+
const contents = {};
|
|
1732
1722
|
if (output["Id"] !== undefined) {
|
|
1733
1723
|
contents.Id = __expectString(output["Id"]);
|
|
1734
1724
|
}
|
|
@@ -1742,19 +1732,14 @@ const deserializeAws_queryChangeMessageVisibilityBatchResultEntryList = (output,
|
|
|
1742
1732
|
});
|
|
1743
1733
|
};
|
|
1744
1734
|
const deserializeAws_queryCreateQueueResult = (output, context) => {
|
|
1745
|
-
const contents = {
|
|
1746
|
-
QueueUrl: undefined,
|
|
1747
|
-
};
|
|
1735
|
+
const contents = {};
|
|
1748
1736
|
if (output["QueueUrl"] !== undefined) {
|
|
1749
1737
|
contents.QueueUrl = __expectString(output["QueueUrl"]);
|
|
1750
1738
|
}
|
|
1751
1739
|
return contents;
|
|
1752
1740
|
};
|
|
1753
1741
|
const deserializeAws_queryDeleteMessageBatchResult = (output, context) => {
|
|
1754
|
-
const contents = {
|
|
1755
|
-
Successful: undefined,
|
|
1756
|
-
Failed: undefined,
|
|
1757
|
-
};
|
|
1742
|
+
const contents = {};
|
|
1758
1743
|
if (output.DeleteMessageBatchResultEntry === "") {
|
|
1759
1744
|
contents.Successful = [];
|
|
1760
1745
|
}
|
|
@@ -1770,9 +1755,7 @@ const deserializeAws_queryDeleteMessageBatchResult = (output, context) => {
|
|
|
1770
1755
|
return contents;
|
|
1771
1756
|
};
|
|
1772
1757
|
const deserializeAws_queryDeleteMessageBatchResultEntry = (output, context) => {
|
|
1773
|
-
const contents = {
|
|
1774
|
-
Id: undefined,
|
|
1775
|
-
};
|
|
1758
|
+
const contents = {};
|
|
1776
1759
|
if (output["Id"] !== undefined) {
|
|
1777
1760
|
contents.Id = __expectString(output["Id"]);
|
|
1778
1761
|
}
|
|
@@ -1790,9 +1773,7 @@ const deserializeAws_queryEmptyBatchRequest = (output, context) => {
|
|
|
1790
1773
|
return contents;
|
|
1791
1774
|
};
|
|
1792
1775
|
const deserializeAws_queryGetQueueAttributesResult = (output, context) => {
|
|
1793
|
-
const contents = {
|
|
1794
|
-
Attributes: undefined,
|
|
1795
|
-
};
|
|
1776
|
+
const contents = {};
|
|
1796
1777
|
if (output.Attribute === "") {
|
|
1797
1778
|
contents.Attributes = {};
|
|
1798
1779
|
}
|
|
@@ -1802,9 +1783,7 @@ const deserializeAws_queryGetQueueAttributesResult = (output, context) => {
|
|
|
1802
1783
|
return contents;
|
|
1803
1784
|
};
|
|
1804
1785
|
const deserializeAws_queryGetQueueUrlResult = (output, context) => {
|
|
1805
|
-
const contents = {
|
|
1806
|
-
QueueUrl: undefined,
|
|
1807
|
-
};
|
|
1786
|
+
const contents = {};
|
|
1808
1787
|
if (output["QueueUrl"] !== undefined) {
|
|
1809
1788
|
contents.QueueUrl = __expectString(output["QueueUrl"]);
|
|
1810
1789
|
}
|
|
@@ -1827,10 +1806,7 @@ const deserializeAws_queryInvalidMessageContents = (output, context) => {
|
|
|
1827
1806
|
return contents;
|
|
1828
1807
|
};
|
|
1829
1808
|
const deserializeAws_queryListDeadLetterSourceQueuesResult = (output, context) => {
|
|
1830
|
-
const contents = {
|
|
1831
|
-
queueUrls: undefined,
|
|
1832
|
-
NextToken: undefined,
|
|
1833
|
-
};
|
|
1809
|
+
const contents = {};
|
|
1834
1810
|
if (output.QueueUrl === "") {
|
|
1835
1811
|
contents.queueUrls = [];
|
|
1836
1812
|
}
|
|
@@ -1843,10 +1819,7 @@ const deserializeAws_queryListDeadLetterSourceQueuesResult = (output, context) =
|
|
|
1843
1819
|
return contents;
|
|
1844
1820
|
};
|
|
1845
1821
|
const deserializeAws_queryListQueuesResult = (output, context) => {
|
|
1846
|
-
const contents = {
|
|
1847
|
-
NextToken: undefined,
|
|
1848
|
-
QueueUrls: undefined,
|
|
1849
|
-
};
|
|
1822
|
+
const contents = {};
|
|
1850
1823
|
if (output["NextToken"] !== undefined) {
|
|
1851
1824
|
contents.NextToken = __expectString(output["NextToken"]);
|
|
1852
1825
|
}
|
|
@@ -1859,9 +1832,7 @@ const deserializeAws_queryListQueuesResult = (output, context) => {
|
|
|
1859
1832
|
return contents;
|
|
1860
1833
|
};
|
|
1861
1834
|
const deserializeAws_queryListQueueTagsResult = (output, context) => {
|
|
1862
|
-
const contents = {
|
|
1863
|
-
Tags: undefined,
|
|
1864
|
-
};
|
|
1835
|
+
const contents = {};
|
|
1865
1836
|
if (output.Tag === "") {
|
|
1866
1837
|
contents.Tags = {};
|
|
1867
1838
|
}
|
|
@@ -1871,15 +1842,7 @@ const deserializeAws_queryListQueueTagsResult = (output, context) => {
|
|
|
1871
1842
|
return contents;
|
|
1872
1843
|
};
|
|
1873
1844
|
const deserializeAws_queryMessage = (output, context) => {
|
|
1874
|
-
const contents = {
|
|
1875
|
-
MessageId: undefined,
|
|
1876
|
-
ReceiptHandle: undefined,
|
|
1877
|
-
MD5OfBody: undefined,
|
|
1878
|
-
Body: undefined,
|
|
1879
|
-
Attributes: undefined,
|
|
1880
|
-
MD5OfMessageAttributes: undefined,
|
|
1881
|
-
MessageAttributes: undefined,
|
|
1882
|
-
};
|
|
1845
|
+
const contents = {};
|
|
1883
1846
|
if (output["MessageId"] !== undefined) {
|
|
1884
1847
|
contents.MessageId = __expectString(output["MessageId"]);
|
|
1885
1848
|
}
|
|
@@ -1910,13 +1873,7 @@ const deserializeAws_queryMessage = (output, context) => {
|
|
|
1910
1873
|
return contents;
|
|
1911
1874
|
};
|
|
1912
1875
|
const deserializeAws_queryMessageAttributeValue = (output, context) => {
|
|
1913
|
-
const contents = {
|
|
1914
|
-
StringValue: undefined,
|
|
1915
|
-
BinaryValue: undefined,
|
|
1916
|
-
StringListValues: undefined,
|
|
1917
|
-
BinaryListValues: undefined,
|
|
1918
|
-
DataType: undefined,
|
|
1919
|
-
};
|
|
1876
|
+
const contents = {};
|
|
1920
1877
|
if (output["StringValue"] !== undefined) {
|
|
1921
1878
|
contents.StringValue = __expectString(output["StringValue"]);
|
|
1922
1879
|
}
|
|
@@ -2010,9 +1967,7 @@ const deserializeAws_queryReceiptHandleIsInvalid = (output, context) => {
|
|
|
2010
1967
|
return contents;
|
|
2011
1968
|
};
|
|
2012
1969
|
const deserializeAws_queryReceiveMessageResult = (output, context) => {
|
|
2013
|
-
const contents = {
|
|
2014
|
-
Messages: undefined,
|
|
2015
|
-
};
|
|
1970
|
+
const contents = {};
|
|
2016
1971
|
if (output.Message === "") {
|
|
2017
1972
|
contents.Messages = [];
|
|
2018
1973
|
}
|
|
@@ -2022,10 +1977,7 @@ const deserializeAws_queryReceiveMessageResult = (output, context) => {
|
|
|
2022
1977
|
return contents;
|
|
2023
1978
|
};
|
|
2024
1979
|
const deserializeAws_querySendMessageBatchResult = (output, context) => {
|
|
2025
|
-
const contents = {
|
|
2026
|
-
Successful: undefined,
|
|
2027
|
-
Failed: undefined,
|
|
2028
|
-
};
|
|
1980
|
+
const contents = {};
|
|
2029
1981
|
if (output.SendMessageBatchResultEntry === "") {
|
|
2030
1982
|
contents.Successful = [];
|
|
2031
1983
|
}
|
|
@@ -2041,14 +1993,7 @@ const deserializeAws_querySendMessageBatchResult = (output, context) => {
|
|
|
2041
1993
|
return contents;
|
|
2042
1994
|
};
|
|
2043
1995
|
const deserializeAws_querySendMessageBatchResultEntry = (output, context) => {
|
|
2044
|
-
const contents = {
|
|
2045
|
-
Id: undefined,
|
|
2046
|
-
MessageId: undefined,
|
|
2047
|
-
MD5OfMessageBody: undefined,
|
|
2048
|
-
MD5OfMessageAttributes: undefined,
|
|
2049
|
-
MD5OfMessageSystemAttributes: undefined,
|
|
2050
|
-
SequenceNumber: undefined,
|
|
2051
|
-
};
|
|
1996
|
+
const contents = {};
|
|
2052
1997
|
if (output["Id"] !== undefined) {
|
|
2053
1998
|
contents.Id = __expectString(output["Id"]);
|
|
2054
1999
|
}
|
|
@@ -2077,13 +2022,7 @@ const deserializeAws_querySendMessageBatchResultEntryList = (output, context) =>
|
|
|
2077
2022
|
});
|
|
2078
2023
|
};
|
|
2079
2024
|
const deserializeAws_querySendMessageResult = (output, context) => {
|
|
2080
|
-
const contents = {
|
|
2081
|
-
MD5OfMessageBody: undefined,
|
|
2082
|
-
MD5OfMessageAttributes: undefined,
|
|
2083
|
-
MD5OfMessageSystemAttributes: undefined,
|
|
2084
|
-
MessageId: undefined,
|
|
2085
|
-
SequenceNumber: undefined,
|
|
2086
|
-
};
|
|
2025
|
+
const contents = {};
|
|
2087
2026
|
if (output["MD5OfMessageBody"] !== undefined) {
|
|
2088
2027
|
contents.MD5OfMessageBody = __expectString(output["MD5OfMessageBody"]);
|
|
2089
2028
|
}
|
package/dist-types/SQS.d.ts
CHANGED
|
@@ -21,6 +21,7 @@ import { TagQueueCommandInput, TagQueueCommandOutput } from "./commands/TagQueue
|
|
|
21
21
|
import { UntagQueueCommandInput, UntagQueueCommandOutput } from "./commands/UntagQueueCommand";
|
|
22
22
|
import { SQSClient } from "./SQSClient";
|
|
23
23
|
/**
|
|
24
|
+
* @public
|
|
24
25
|
* <p>Welcome to the <i>Amazon SQS API Reference</i>.</p>
|
|
25
26
|
* <p>Amazon SQS is a reliable, highly-scalable hosted queue for storing messages as they travel between applications or microservices. Amazon SQS moves data between distributed application components and helps you decouple these components.</p>
|
|
26
27
|
* <p>For information on the permissions you need to use this API, see
|
|
@@ -93,6 +94,7 @@ import { SQSClient } from "./SQSClient";
|
|
|
93
94
|
*/
|
|
94
95
|
export declare class SQS extends SQSClient {
|
|
95
96
|
/**
|
|
97
|
+
* @public
|
|
96
98
|
* <p>Adds a permission to a queue for a specific
|
|
97
99
|
* <a href="https://docs.aws.amazon.com/general/latest/gr/glos-chap.html#P">principal</a>.
|
|
98
100
|
* This allows sharing access to the queue.</p>
|
|
@@ -138,6 +140,7 @@ export declare class SQS extends SQSClient {
|
|
|
138
140
|
addPermission(args: AddPermissionCommandInput, cb: (err: any, data?: AddPermissionCommandOutput) => void): void;
|
|
139
141
|
addPermission(args: AddPermissionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: AddPermissionCommandOutput) => void): void;
|
|
140
142
|
/**
|
|
143
|
+
* @public
|
|
141
144
|
* <p>Changes the visibility timeout of a specified message in a queue to a new value. The
|
|
142
145
|
* default visibility timeout for a message is 30 seconds. The minimum is 0 seconds. The
|
|
143
146
|
* maximum is 12 hours. For more information, see <a href="https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-visibility-timeout.html">Visibility Timeout</a> in the <i>Amazon SQS Developer Guide</i>.</p>
|
|
@@ -177,6 +180,7 @@ export declare class SQS extends SQSClient {
|
|
|
177
180
|
changeMessageVisibility(args: ChangeMessageVisibilityCommandInput, cb: (err: any, data?: ChangeMessageVisibilityCommandOutput) => void): void;
|
|
178
181
|
changeMessageVisibility(args: ChangeMessageVisibilityCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ChangeMessageVisibilityCommandOutput) => void): void;
|
|
179
182
|
/**
|
|
183
|
+
* @public
|
|
180
184
|
* <p>Changes the visibility timeout of multiple messages. This is a batch version of <code>
|
|
181
185
|
* <a>ChangeMessageVisibility</a>.</code> The result of the action on each message is reported individually in the response.
|
|
182
186
|
* You can send up to 10 <code>
|
|
@@ -197,6 +201,7 @@ export declare class SQS extends SQSClient {
|
|
|
197
201
|
changeMessageVisibilityBatch(args: ChangeMessageVisibilityBatchCommandInput, cb: (err: any, data?: ChangeMessageVisibilityBatchCommandOutput) => void): void;
|
|
198
202
|
changeMessageVisibilityBatch(args: ChangeMessageVisibilityBatchCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ChangeMessageVisibilityBatchCommandOutput) => void): void;
|
|
199
203
|
/**
|
|
204
|
+
* @public
|
|
200
205
|
* <p>Creates a new standard or FIFO queue. You can pass one or more attributes in
|
|
201
206
|
* the request. Keep the following in mind:</p>
|
|
202
207
|
* <ul>
|
|
@@ -254,6 +259,7 @@ export declare class SQS extends SQSClient {
|
|
|
254
259
|
createQueue(args: CreateQueueCommandInput, cb: (err: any, data?: CreateQueueCommandOutput) => void): void;
|
|
255
260
|
createQueue(args: CreateQueueCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateQueueCommandOutput) => void): void;
|
|
256
261
|
/**
|
|
262
|
+
* @public
|
|
257
263
|
* <p>Deletes the specified message from the specified queue. To select the message to
|
|
258
264
|
* delete, use the <code>ReceiptHandle</code> of the message (<i>not</i> the
|
|
259
265
|
* <code>MessageId</code> which you receive when you send the message). Amazon SQS can
|
|
@@ -279,6 +285,7 @@ export declare class SQS extends SQSClient {
|
|
|
279
285
|
deleteMessage(args: DeleteMessageCommandInput, cb: (err: any, data?: DeleteMessageCommandOutput) => void): void;
|
|
280
286
|
deleteMessage(args: DeleteMessageCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteMessageCommandOutput) => void): void;
|
|
281
287
|
/**
|
|
288
|
+
* @public
|
|
282
289
|
* <p>Deletes up to ten messages from the specified queue. This is a batch version of <code>
|
|
283
290
|
* <a>DeleteMessage</a>.</code> The result of the action on each message is reported individually in the response.</p>
|
|
284
291
|
* <important>
|
|
@@ -296,6 +303,7 @@ export declare class SQS extends SQSClient {
|
|
|
296
303
|
deleteMessageBatch(args: DeleteMessageBatchCommandInput, cb: (err: any, data?: DeleteMessageBatchCommandOutput) => void): void;
|
|
297
304
|
deleteMessageBatch(args: DeleteMessageBatchCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteMessageBatchCommandOutput) => void): void;
|
|
298
305
|
/**
|
|
306
|
+
* @public
|
|
299
307
|
* <p>Deletes the queue specified by the <code>QueueUrl</code>, regardless of the queue's contents.</p>
|
|
300
308
|
* <important>
|
|
301
309
|
* <p>Be careful with the <code>DeleteQueue</code> action: When you delete a queue, any messages in the queue are no longer available.
|
|
@@ -316,6 +324,7 @@ export declare class SQS extends SQSClient {
|
|
|
316
324
|
deleteQueue(args: DeleteQueueCommandInput, cb: (err: any, data?: DeleteQueueCommandOutput) => void): void;
|
|
317
325
|
deleteQueue(args: DeleteQueueCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteQueueCommandOutput) => void): void;
|
|
318
326
|
/**
|
|
327
|
+
* @public
|
|
319
328
|
* <p>Gets attributes for the specified queue.</p>
|
|
320
329
|
* <note>
|
|
321
330
|
* <p>To determine whether a queue is <a href="https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/FIFO-queues.html">FIFO</a>, you can check whether <code>QueueName</code> ends with the <code>.fifo</code> suffix.</p>
|
|
@@ -325,6 +334,7 @@ export declare class SQS extends SQSClient {
|
|
|
325
334
|
getQueueAttributes(args: GetQueueAttributesCommandInput, cb: (err: any, data?: GetQueueAttributesCommandOutput) => void): void;
|
|
326
335
|
getQueueAttributes(args: GetQueueAttributesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetQueueAttributesCommandOutput) => void): void;
|
|
327
336
|
/**
|
|
337
|
+
* @public
|
|
328
338
|
* <p>Returns the URL of an existing Amazon SQS queue.</p>
|
|
329
339
|
* <p>To access a queue that belongs to another AWS account, use the <code>QueueOwnerAWSAccountId</code> parameter to specify the account ID of the queue's owner. The queue's owner must grant you permission to access the queue.
|
|
330
340
|
* For more information about shared queue access, see <code>
|
|
@@ -336,6 +346,7 @@ export declare class SQS extends SQSClient {
|
|
|
336
346
|
getQueueUrl(args: GetQueueUrlCommandInput, cb: (err: any, data?: GetQueueUrlCommandOutput) => void): void;
|
|
337
347
|
getQueueUrl(args: GetQueueUrlCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetQueueUrlCommandOutput) => void): void;
|
|
338
348
|
/**
|
|
349
|
+
* @public
|
|
339
350
|
* <p>Returns a list of your queues that have the <code>RedrivePolicy</code> queue attribute configured with a dead-letter queue.</p>
|
|
340
351
|
* <p> The <code>ListDeadLetterSourceQueues</code> methods supports
|
|
341
352
|
* pagination. Set parameter <code>MaxResults</code> in the request to specify the maximum number of
|
|
@@ -352,6 +363,7 @@ export declare class SQS extends SQSClient {
|
|
|
352
363
|
listDeadLetterSourceQueues(args: ListDeadLetterSourceQueuesCommandInput, cb: (err: any, data?: ListDeadLetterSourceQueuesCommandOutput) => void): void;
|
|
353
364
|
listDeadLetterSourceQueues(args: ListDeadLetterSourceQueuesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListDeadLetterSourceQueuesCommandOutput) => void): void;
|
|
354
365
|
/**
|
|
366
|
+
* @public
|
|
355
367
|
* <p>Returns a list of your queues in the current region. The response includes a maximum of 1,000 results. If you specify a value for the optional
|
|
356
368
|
* <code>QueueNamePrefix</code> parameter, only queues with a name that begins with the specified value are returned.</p>
|
|
357
369
|
* <p> The <code>listQueues</code> methods supports
|
|
@@ -371,6 +383,7 @@ export declare class SQS extends SQSClient {
|
|
|
371
383
|
listQueues(args: ListQueuesCommandInput, cb: (err: any, data?: ListQueuesCommandOutput) => void): void;
|
|
372
384
|
listQueues(args: ListQueuesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListQueuesCommandOutput) => void): void;
|
|
373
385
|
/**
|
|
386
|
+
* @public
|
|
374
387
|
* <p>List all cost allocation tags added to the specified Amazon SQS queue. For an overview, see <a href="https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-queue-tags.html">Tagging
|
|
375
388
|
* Your Amazon SQS Queues</a> in the <i>Amazon SQS Developer Guide</i>.</p>
|
|
376
389
|
* <note>
|
|
@@ -383,6 +396,7 @@ export declare class SQS extends SQSClient {
|
|
|
383
396
|
listQueueTags(args: ListQueueTagsCommandInput, cb: (err: any, data?: ListQueueTagsCommandOutput) => void): void;
|
|
384
397
|
listQueueTags(args: ListQueueTagsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListQueueTagsCommandOutput) => void): void;
|
|
385
398
|
/**
|
|
399
|
+
* @public
|
|
386
400
|
* <p>Deletes the messages in a queue specified by the <code>QueueURL</code>
|
|
387
401
|
* parameter.</p>
|
|
388
402
|
*
|
|
@@ -402,6 +416,7 @@ export declare class SQS extends SQSClient {
|
|
|
402
416
|
purgeQueue(args: PurgeQueueCommandInput, cb: (err: any, data?: PurgeQueueCommandOutput) => void): void;
|
|
403
417
|
purgeQueue(args: PurgeQueueCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PurgeQueueCommandOutput) => void): void;
|
|
404
418
|
/**
|
|
419
|
+
* @public
|
|
405
420
|
* <p>Retrieves one or more messages (up to 10), from the specified queue. Using the <code>WaitTimeSeconds</code> parameter enables long-poll support.
|
|
406
421
|
* For more information, see <a href="https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-long-polling.html">Amazon SQS Long Polling</a> in the <i>Amazon SQS Developer Guide</i>.
|
|
407
422
|
* </p>
|
|
@@ -443,6 +458,7 @@ export declare class SQS extends SQSClient {
|
|
|
443
458
|
receiveMessage(args: ReceiveMessageCommandInput, cb: (err: any, data?: ReceiveMessageCommandOutput) => void): void;
|
|
444
459
|
receiveMessage(args: ReceiveMessageCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ReceiveMessageCommandOutput) => void): void;
|
|
445
460
|
/**
|
|
461
|
+
* @public
|
|
446
462
|
* <p>Revokes any permissions in the queue policy that matches the specified <code>Label</code> parameter.</p>
|
|
447
463
|
* <note>
|
|
448
464
|
* <ul>
|
|
@@ -464,6 +480,7 @@ export declare class SQS extends SQSClient {
|
|
|
464
480
|
removePermission(args: RemovePermissionCommandInput, cb: (err: any, data?: RemovePermissionCommandOutput) => void): void;
|
|
465
481
|
removePermission(args: RemovePermissionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: RemovePermissionCommandOutput) => void): void;
|
|
466
482
|
/**
|
|
483
|
+
* @public
|
|
467
484
|
* <p>Delivers a message to the specified queue.</p>
|
|
468
485
|
* <important>
|
|
469
486
|
* <p>A message can include only XML, JSON, and unformatted text. The following Unicode characters are allowed:</p>
|
|
@@ -477,6 +494,7 @@ export declare class SQS extends SQSClient {
|
|
|
477
494
|
sendMessage(args: SendMessageCommandInput, cb: (err: any, data?: SendMessageCommandOutput) => void): void;
|
|
478
495
|
sendMessage(args: SendMessageCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: SendMessageCommandOutput) => void): void;
|
|
479
496
|
/**
|
|
497
|
+
* @public
|
|
480
498
|
* <p>Delivers up to ten messages to the specified queue. This is a batch version of <code>
|
|
481
499
|
* <a>SendMessage</a>.</code> For a FIFO queue, multiple messages within a single batch are enqueued in the order they are sent.</p>
|
|
482
500
|
* <p>The result of sending each message is reported individually in the response. Because the batch request can result in a combination of successful and unsuccessful actions, you should check for batch errors even when the call returns an HTTP status code of <code>200</code>.</p>
|
|
@@ -501,6 +519,7 @@ export declare class SQS extends SQSClient {
|
|
|
501
519
|
sendMessageBatch(args: SendMessageBatchCommandInput, cb: (err: any, data?: SendMessageBatchCommandOutput) => void): void;
|
|
502
520
|
sendMessageBatch(args: SendMessageBatchCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: SendMessageBatchCommandOutput) => void): void;
|
|
503
521
|
/**
|
|
522
|
+
* @public
|
|
504
523
|
* <p>Sets the value of one or more queue attributes. When you change a queue's attributes, the change can take up to 60 seconds for most of the attributes to propagate throughout the Amazon SQS system.
|
|
505
524
|
* Changes made to the <code>MessageRetentionPeriod</code> attribute can take up to 15 minutes.</p>
|
|
506
525
|
* <note>
|
|
@@ -523,6 +542,7 @@ export declare class SQS extends SQSClient {
|
|
|
523
542
|
setQueueAttributes(args: SetQueueAttributesCommandInput, cb: (err: any, data?: SetQueueAttributesCommandOutput) => void): void;
|
|
524
543
|
setQueueAttributes(args: SetQueueAttributesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: SetQueueAttributesCommandOutput) => void): void;
|
|
525
544
|
/**
|
|
545
|
+
* @public
|
|
526
546
|
* <p>Add cost allocation tags to the specified Amazon SQS queue. For an overview, see <a href="https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-queue-tags.html">Tagging
|
|
527
547
|
* Your Amazon SQS Queues</a> in the <i>Amazon SQS Developer Guide</i>.</p>
|
|
528
548
|
*
|
|
@@ -554,6 +574,7 @@ export declare class SQS extends SQSClient {
|
|
|
554
574
|
tagQueue(args: TagQueueCommandInput, cb: (err: any, data?: TagQueueCommandOutput) => void): void;
|
|
555
575
|
tagQueue(args: TagQueueCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TagQueueCommandOutput) => void): void;
|
|
556
576
|
/**
|
|
577
|
+
* @public
|
|
557
578
|
* <p>Remove cost allocation tags from the specified Amazon SQS queue. For an overview, see <a href="https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-queue-tags.html">Tagging
|
|
558
579
|
* Your Amazon SQS Queues</a> in the <i>Amazon SQS Developer Guide</i>.</p>
|
|
559
580
|
* <note>
|
|
@@ -28,15 +28,24 @@ import { SetQueueAttributesCommandInput, SetQueueAttributesCommandOutput } from
|
|
|
28
28
|
import { TagQueueCommandInput, TagQueueCommandOutput } from "./commands/TagQueueCommand";
|
|
29
29
|
import { UntagQueueCommandInput, UntagQueueCommandOutput } from "./commands/UntagQueueCommand";
|
|
30
30
|
import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters";
|
|
31
|
+
/**
|
|
32
|
+
* @public
|
|
33
|
+
*/
|
|
31
34
|
export type ServiceInputTypes = AddPermissionCommandInput | ChangeMessageVisibilityBatchCommandInput | ChangeMessageVisibilityCommandInput | CreateQueueCommandInput | DeleteMessageBatchCommandInput | DeleteMessageCommandInput | DeleteQueueCommandInput | GetQueueAttributesCommandInput | GetQueueUrlCommandInput | ListDeadLetterSourceQueuesCommandInput | ListQueueTagsCommandInput | ListQueuesCommandInput | PurgeQueueCommandInput | ReceiveMessageCommandInput | RemovePermissionCommandInput | SendMessageBatchCommandInput | SendMessageCommandInput | SetQueueAttributesCommandInput | TagQueueCommandInput | UntagQueueCommandInput;
|
|
35
|
+
/**
|
|
36
|
+
* @public
|
|
37
|
+
*/
|
|
32
38
|
export type ServiceOutputTypes = AddPermissionCommandOutput | ChangeMessageVisibilityBatchCommandOutput | ChangeMessageVisibilityCommandOutput | CreateQueueCommandOutput | DeleteMessageBatchCommandOutput | DeleteMessageCommandOutput | DeleteQueueCommandOutput | GetQueueAttributesCommandOutput | GetQueueUrlCommandOutput | ListDeadLetterSourceQueuesCommandOutput | ListQueueTagsCommandOutput | ListQueuesCommandOutput | PurgeQueueCommandOutput | ReceiveMessageCommandOutput | RemovePermissionCommandOutput | SendMessageBatchCommandOutput | SendMessageCommandOutput | SetQueueAttributesCommandOutput | TagQueueCommandOutput | UntagQueueCommandOutput;
|
|
39
|
+
/**
|
|
40
|
+
* @public
|
|
41
|
+
*/
|
|
33
42
|
export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
34
43
|
/**
|
|
35
44
|
* The HTTP handler to use. Fetch in browser and Https in Nodejs.
|
|
36
45
|
*/
|
|
37
46
|
requestHandler?: __HttpHandler;
|
|
38
47
|
/**
|
|
39
|
-
* A constructor for a class implementing the {@link
|
|
48
|
+
* A constructor for a class implementing the {@link @aws-sdk/types#ChecksumConstructor} interface
|
|
40
49
|
* that computes the SHA-256 HMAC or checksum of a string or binary buffer.
|
|
41
50
|
* @internal
|
|
42
51
|
*/
|
|
@@ -132,23 +141,34 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
132
141
|
*/
|
|
133
142
|
logger?: __Logger;
|
|
134
143
|
/**
|
|
135
|
-
* The {@link
|
|
144
|
+
* The {@link @aws-sdk/smithy-client#DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
|
|
136
145
|
*/
|
|
137
146
|
defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
|
|
138
147
|
}
|
|
148
|
+
/**
|
|
149
|
+
* @public
|
|
150
|
+
*/
|
|
139
151
|
type SQSClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointInputConfig<EndpointParameters> & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig & ClientInputEndpointParameters;
|
|
140
152
|
/**
|
|
141
|
-
*
|
|
153
|
+
* @public
|
|
154
|
+
*
|
|
155
|
+
* The configuration interface of SQSClient class constructor that set the region, credentials and other options.
|
|
142
156
|
*/
|
|
143
157
|
export interface SQSClientConfig extends SQSClientConfigType {
|
|
144
158
|
}
|
|
159
|
+
/**
|
|
160
|
+
* @public
|
|
161
|
+
*/
|
|
145
162
|
type SQSClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RegionResolvedConfig & EndpointResolvedConfig<EndpointParameters> & RetryResolvedConfig & HostHeaderResolvedConfig & AwsAuthResolvedConfig & UserAgentResolvedConfig & ClientResolvedEndpointParameters;
|
|
146
163
|
/**
|
|
147
|
-
*
|
|
164
|
+
* @public
|
|
165
|
+
*
|
|
166
|
+
* The resolved configuration interface of SQSClient class. This is resolved and normalized from the {@link SQSClientConfig | constructor configuration interface}.
|
|
148
167
|
*/
|
|
149
168
|
export interface SQSClientResolvedConfig extends SQSClientResolvedConfigType {
|
|
150
169
|
}
|
|
151
170
|
/**
|
|
171
|
+
* @public
|
|
152
172
|
* <p>Welcome to the <i>Amazon SQS API Reference</i>.</p>
|
|
153
173
|
* <p>Amazon SQS is a reliable, highly-scalable hosted queue for storing messages as they travel between applications or microservices. Amazon SQS moves data between distributed application components and helps you decouple these components.</p>
|
|
154
174
|
* <p>For information on the permissions you need to use this API, see
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { AddPermissionRequest } from "../models/models_0";
|
|
5
5
|
import { ServiceInputTypes, ServiceOutputTypes, SQSClientResolvedConfig } from "../SQSClient";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link AddPermissionCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface AddPermissionCommandInput extends AddPermissionRequest {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link AddPermissionCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface AddPermissionCommandOutput extends __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Adds a permission to a queue for a specific
|
|
18
23
|
* <a href="https://docs.aws.amazon.com/general/latest/gr/glos-chap.html#P">principal</a>.
|
|
19
24
|
* This allows sharing access to the queue.</p>
|
|
@@ -64,6 +69,8 @@ export interface AddPermissionCommandOutput extends __MetadataBearer {
|
|
|
64
69
|
* const response = await client.send(command);
|
|
65
70
|
* ```
|
|
66
71
|
*
|
|
72
|
+
* @param AddPermissionCommandInput - {@link AddPermissionCommandInput}
|
|
73
|
+
* @returns {@link AddPermissionCommandOutput}
|
|
67
74
|
* @see {@link AddPermissionCommandInput} for command's `input` shape.
|
|
68
75
|
* @see {@link AddPermissionCommandOutput} for command's `response` shape.
|
|
69
76
|
* @see {@link SQSClientResolvedConfig | config} for SQSClient's `config` shape.
|
|
@@ -79,11 +86,20 @@ export interface AddPermissionCommandOutput extends __MetadataBearer {
|
|
|
79
86
|
export declare class AddPermissionCommand extends $Command<AddPermissionCommandInput, AddPermissionCommandOutput, SQSClientResolvedConfig> {
|
|
80
87
|
readonly input: AddPermissionCommandInput;
|
|
81
88
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
89
|
+
/**
|
|
90
|
+
* @public
|
|
91
|
+
*/
|
|
82
92
|
constructor(input: AddPermissionCommandInput);
|
|
83
93
|
/**
|
|
84
94
|
* @internal
|
|
85
95
|
*/
|
|
86
96
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SQSClientResolvedConfig, options?: __HttpHandlerOptions): Handler<AddPermissionCommandInput, AddPermissionCommandOutput>;
|
|
97
|
+
/**
|
|
98
|
+
* @internal
|
|
99
|
+
*/
|
|
87
100
|
private serialize;
|
|
101
|
+
/**
|
|
102
|
+
* @internal
|
|
103
|
+
*/
|
|
88
104
|
private deserialize;
|
|
89
105
|
}
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { ChangeMessageVisibilityBatchRequest, ChangeMessageVisibilityBatchResult } from "../models/models_0";
|
|
5
5
|
import { ServiceInputTypes, ServiceOutputTypes, SQSClientResolvedConfig } from "../SQSClient";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link ChangeMessageVisibilityBatchCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface ChangeMessageVisibilityBatchCommandInput extends ChangeMessageVisibilityBatchRequest {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link ChangeMessageVisibilityBatchCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface ChangeMessageVisibilityBatchCommandOutput extends ChangeMessageVisibilityBatchResult, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Changes the visibility timeout of multiple messages. This is a batch version of <code>
|
|
18
23
|
* <a>ChangeMessageVisibility</a>.</code> The result of the action on each message is reported individually in the response.
|
|
19
24
|
* You can send up to 10 <code>
|
|
@@ -39,6 +44,8 @@ export interface ChangeMessageVisibilityBatchCommandOutput extends ChangeMessage
|
|
|
39
44
|
* const response = await client.send(command);
|
|
40
45
|
* ```
|
|
41
46
|
*
|
|
47
|
+
* @param ChangeMessageVisibilityBatchCommandInput - {@link ChangeMessageVisibilityBatchCommandInput}
|
|
48
|
+
* @returns {@link ChangeMessageVisibilityBatchCommandOutput}
|
|
42
49
|
* @see {@link ChangeMessageVisibilityBatchCommandInput} for command's `input` shape.
|
|
43
50
|
* @see {@link ChangeMessageVisibilityBatchCommandOutput} for command's `response` shape.
|
|
44
51
|
* @see {@link SQSClientResolvedConfig | config} for SQSClient's `config` shape.
|
|
@@ -60,11 +67,20 @@ export interface ChangeMessageVisibilityBatchCommandOutput extends ChangeMessage
|
|
|
60
67
|
export declare class ChangeMessageVisibilityBatchCommand extends $Command<ChangeMessageVisibilityBatchCommandInput, ChangeMessageVisibilityBatchCommandOutput, SQSClientResolvedConfig> {
|
|
61
68
|
readonly input: ChangeMessageVisibilityBatchCommandInput;
|
|
62
69
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
70
|
+
/**
|
|
71
|
+
* @public
|
|
72
|
+
*/
|
|
63
73
|
constructor(input: ChangeMessageVisibilityBatchCommandInput);
|
|
64
74
|
/**
|
|
65
75
|
* @internal
|
|
66
76
|
*/
|
|
67
77
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SQSClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ChangeMessageVisibilityBatchCommandInput, ChangeMessageVisibilityBatchCommandOutput>;
|
|
78
|
+
/**
|
|
79
|
+
* @internal
|
|
80
|
+
*/
|
|
68
81
|
private serialize;
|
|
82
|
+
/**
|
|
83
|
+
* @internal
|
|
84
|
+
*/
|
|
69
85
|
private deserialize;
|
|
70
86
|
}
|