@aws-sdk/client-sqs 3.428.0 → 3.430.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.
|
@@ -640,7 +640,7 @@ export interface CreateQueueRequest {
|
|
|
640
640
|
* see <a href="https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/quotas-messages.html">Quotas related to messages</a>
|
|
641
641
|
* in the <i>Amazon SQS Developer Guide</i>.</p>
|
|
642
642
|
*/
|
|
643
|
-
Attributes?: Record<
|
|
643
|
+
Attributes?: Record<QueueAttributeName, string>;
|
|
644
644
|
}
|
|
645
645
|
/**
|
|
646
646
|
* @public
|
|
@@ -1038,7 +1038,7 @@ export interface GetQueueAttributesRequest {
|
|
|
1038
1038
|
* see <a href="https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/quotas-messages.html">Quotas related to messages</a>
|
|
1039
1039
|
* in the <i>Amazon SQS Developer Guide</i>.</p>
|
|
1040
1040
|
*/
|
|
1041
|
-
AttributeNames?:
|
|
1041
|
+
AttributeNames?: QueueAttributeName[];
|
|
1042
1042
|
}
|
|
1043
1043
|
/**
|
|
1044
1044
|
* @public
|
|
@@ -1049,7 +1049,7 @@ export interface GetQueueAttributesResult {
|
|
|
1049
1049
|
* @public
|
|
1050
1050
|
* <p>A map of attributes to their respective values.</p>
|
|
1051
1051
|
*/
|
|
1052
|
-
Attributes?: Record<
|
|
1052
|
+
Attributes?: Record<QueueAttributeName, string>;
|
|
1053
1053
|
}
|
|
1054
1054
|
/**
|
|
1055
1055
|
* @public
|
|
@@ -1414,7 +1414,7 @@ export interface ReceiveMessageRequest {
|
|
|
1414
1414
|
* </li>
|
|
1415
1415
|
* </ul>
|
|
1416
1416
|
*/
|
|
1417
|
-
AttributeNames?:
|
|
1417
|
+
AttributeNames?: QueueAttributeName[];
|
|
1418
1418
|
/**
|
|
1419
1419
|
* @public
|
|
1420
1420
|
* <p>The name of the message attribute, where <i>N</i> is the index.</p>
|
|
@@ -1682,7 +1682,7 @@ export interface Message {
|
|
|
1682
1682
|
* returned as an integer representing the <a href="http://en.wikipedia.org/wiki/Unix_time">epoch time</a> in
|
|
1683
1683
|
* milliseconds.</p>
|
|
1684
1684
|
*/
|
|
1685
|
-
Attributes?: Record<
|
|
1685
|
+
Attributes?: Record<MessageSystemAttributeName, string>;
|
|
1686
1686
|
/**
|
|
1687
1687
|
* @public
|
|
1688
1688
|
* <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>
|
|
@@ -1854,7 +1854,7 @@ export interface SendMessageRequest {
|
|
|
1854
1854
|
* </ul>
|
|
1855
1855
|
* </important>
|
|
1856
1856
|
*/
|
|
1857
|
-
MessageSystemAttributes?: Record<
|
|
1857
|
+
MessageSystemAttributes?: Record<MessageSystemAttributeNameForSends, MessageSystemAttributeValue>;
|
|
1858
1858
|
/**
|
|
1859
1859
|
* @public
|
|
1860
1860
|
* <p>This parameter applies only to FIFO (first-in-first-out) queues.</p>
|
|
@@ -2058,7 +2058,7 @@ export interface SendMessageBatchRequestEntry {
|
|
|
2058
2058
|
* </ul>
|
|
2059
2059
|
* </important>
|
|
2060
2060
|
*/
|
|
2061
|
-
MessageSystemAttributes?: Record<
|
|
2061
|
+
MessageSystemAttributes?: Record<MessageSystemAttributeNameForSends, MessageSystemAttributeValue>;
|
|
2062
2062
|
/**
|
|
2063
2063
|
* @public
|
|
2064
2064
|
* <p>This parameter applies only to FIFO (first-in-first-out) queues.</p>
|
|
@@ -2490,7 +2490,7 @@ export interface SetQueueAttributesRequest {
|
|
|
2490
2490
|
* see <a href="https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/quotas-messages.html">Quotas related to messages</a>
|
|
2491
2491
|
* in the <i>Amazon SQS Developer Guide</i>.</p>
|
|
2492
2492
|
*/
|
|
2493
|
-
Attributes: Record<
|
|
2493
|
+
Attributes: Record<QueueAttributeName, string> | undefined;
|
|
2494
2494
|
}
|
|
2495
2495
|
/**
|
|
2496
2496
|
* @public
|
|
@@ -125,7 +125,7 @@ export type QueueAttributeName =
|
|
|
125
125
|
export interface CreateQueueRequest {
|
|
126
126
|
QueueName: string | undefined;
|
|
127
127
|
tags?: Record<string, string>;
|
|
128
|
-
Attributes?: Record<
|
|
128
|
+
Attributes?: Record<QueueAttributeName, string>;
|
|
129
129
|
}
|
|
130
130
|
export interface CreateQueueResult {
|
|
131
131
|
QueueUrl?: string;
|
|
@@ -171,10 +171,10 @@ export interface DeleteQueueRequest {
|
|
|
171
171
|
}
|
|
172
172
|
export interface GetQueueAttributesRequest {
|
|
173
173
|
QueueUrl: string | undefined;
|
|
174
|
-
AttributeNames?:
|
|
174
|
+
AttributeNames?: QueueAttributeName[];
|
|
175
175
|
}
|
|
176
176
|
export interface GetQueueAttributesResult {
|
|
177
|
-
Attributes?: Record<
|
|
177
|
+
Attributes?: Record<QueueAttributeName, string>;
|
|
178
178
|
}
|
|
179
179
|
export declare class InvalidAttributeName extends __BaseException {
|
|
180
180
|
readonly name: "InvalidAttributeName";
|
|
@@ -249,7 +249,7 @@ export interface PurgeQueueRequest {
|
|
|
249
249
|
}
|
|
250
250
|
export interface ReceiveMessageRequest {
|
|
251
251
|
QueueUrl: string | undefined;
|
|
252
|
-
AttributeNames?:
|
|
252
|
+
AttributeNames?: QueueAttributeName[];
|
|
253
253
|
MessageAttributeNames?: string[];
|
|
254
254
|
MaxNumberOfMessages?: number;
|
|
255
255
|
VisibilityTimeout?: number;
|
|
@@ -281,7 +281,7 @@ export interface Message {
|
|
|
281
281
|
ReceiptHandle?: string;
|
|
282
282
|
MD5OfBody?: string;
|
|
283
283
|
Body?: string;
|
|
284
|
-
Attributes?: Record<
|
|
284
|
+
Attributes?: Record<MessageSystemAttributeName, string>;
|
|
285
285
|
MD5OfMessageAttributes?: string;
|
|
286
286
|
MessageAttributes?: Record<string, MessageAttributeValue>;
|
|
287
287
|
}
|
|
@@ -316,7 +316,10 @@ export interface SendMessageRequest {
|
|
|
316
316
|
MessageBody: string | undefined;
|
|
317
317
|
DelaySeconds?: number;
|
|
318
318
|
MessageAttributes?: Record<string, MessageAttributeValue>;
|
|
319
|
-
MessageSystemAttributes?: Record<
|
|
319
|
+
MessageSystemAttributes?: Record<
|
|
320
|
+
MessageSystemAttributeNameForSends,
|
|
321
|
+
MessageSystemAttributeValue
|
|
322
|
+
>;
|
|
320
323
|
MessageDeduplicationId?: string;
|
|
321
324
|
MessageGroupId?: string;
|
|
322
325
|
}
|
|
@@ -339,7 +342,10 @@ export interface SendMessageBatchRequestEntry {
|
|
|
339
342
|
MessageBody: string | undefined;
|
|
340
343
|
DelaySeconds?: number;
|
|
341
344
|
MessageAttributes?: Record<string, MessageAttributeValue>;
|
|
342
|
-
MessageSystemAttributes?: Record<
|
|
345
|
+
MessageSystemAttributes?: Record<
|
|
346
|
+
MessageSystemAttributeNameForSends,
|
|
347
|
+
MessageSystemAttributeValue
|
|
348
|
+
>;
|
|
343
349
|
MessageDeduplicationId?: string;
|
|
344
350
|
MessageGroupId?: string;
|
|
345
351
|
}
|
|
@@ -361,7 +367,7 @@ export interface SendMessageBatchResult {
|
|
|
361
367
|
}
|
|
362
368
|
export interface SetQueueAttributesRequest {
|
|
363
369
|
QueueUrl: string | undefined;
|
|
364
|
-
Attributes: Record<
|
|
370
|
+
Attributes: Record<QueueAttributeName, string> | undefined;
|
|
365
371
|
}
|
|
366
372
|
export interface StartMessageMoveTaskRequest {
|
|
367
373
|
SourceArn: string | undefined;
|
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.430.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",
|
|
@@ -21,30 +21,30 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.430.0",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.430.0",
|
|
26
|
+
"@aws-sdk/middleware-host-header": "3.429.0",
|
|
27
27
|
"@aws-sdk/middleware-logger": "3.428.0",
|
|
28
28
|
"@aws-sdk/middleware-recursion-detection": "3.428.0",
|
|
29
29
|
"@aws-sdk/middleware-sdk-sqs": "3.428.0",
|
|
30
30
|
"@aws-sdk/middleware-signing": "3.428.0",
|
|
31
31
|
"@aws-sdk/middleware-user-agent": "3.428.0",
|
|
32
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
32
|
+
"@aws-sdk/region-config-resolver": "3.430.0",
|
|
33
33
|
"@aws-sdk/types": "3.428.0",
|
|
34
34
|
"@aws-sdk/util-endpoints": "3.428.0",
|
|
35
35
|
"@aws-sdk/util-user-agent-browser": "3.428.0",
|
|
36
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
37
|
-
"@smithy/config-resolver": "^2.0.
|
|
36
|
+
"@aws-sdk/util-user-agent-node": "3.430.0",
|
|
37
|
+
"@smithy/config-resolver": "^2.0.15",
|
|
38
38
|
"@smithy/fetch-http-handler": "^2.2.3",
|
|
39
39
|
"@smithy/hash-node": "^2.0.11",
|
|
40
40
|
"@smithy/invalid-dependency": "^2.0.11",
|
|
41
41
|
"@smithy/md5-js": "^2.0.11",
|
|
42
42
|
"@smithy/middleware-content-length": "^2.0.13",
|
|
43
|
-
"@smithy/middleware-endpoint": "^2.1.
|
|
44
|
-
"@smithy/middleware-retry": "^2.0.
|
|
43
|
+
"@smithy/middleware-endpoint": "^2.1.2",
|
|
44
|
+
"@smithy/middleware-retry": "^2.0.17",
|
|
45
45
|
"@smithy/middleware-serde": "^2.0.11",
|
|
46
46
|
"@smithy/middleware-stack": "^2.0.5",
|
|
47
|
-
"@smithy/node-config-provider": "^2.1.
|
|
47
|
+
"@smithy/node-config-provider": "^2.1.2",
|
|
48
48
|
"@smithy/node-http-handler": "^2.1.7",
|
|
49
49
|
"@smithy/protocol-http": "^3.0.7",
|
|
50
50
|
"@smithy/smithy-client": "^2.1.11",
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
"@smithy/util-body-length-browser": "^2.0.0",
|
|
55
55
|
"@smithy/util-body-length-node": "^2.1.0",
|
|
56
56
|
"@smithy/util-defaults-mode-browser": "^2.0.15",
|
|
57
|
-
"@smithy/util-defaults-mode-node": "^2.0.
|
|
57
|
+
"@smithy/util-defaults-mode-node": "^2.0.20",
|
|
58
58
|
"@smithy/util-retry": "^2.0.4",
|
|
59
59
|
"@smithy/util-utf8": "^2.0.0",
|
|
60
60
|
"fast-xml-parser": "4.2.5",
|