@aws-sdk/client-sqs 3.326.0 → 3.328.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.
@@ -76,29 +76,32 @@ export declare class TooManyEntriesInBatchRequest extends __BaseException {
76
76
  opts: __ExceptionOptionType<TooManyEntriesInBatchRequest, __BaseException>
77
77
  );
78
78
  }
79
+ export declare const QueueAttributeName: {
80
+ readonly All: "All";
81
+ readonly ApproximateNumberOfMessages: "ApproximateNumberOfMessages";
82
+ readonly ApproximateNumberOfMessagesDelayed: "ApproximateNumberOfMessagesDelayed";
83
+ readonly ApproximateNumberOfMessagesNotVisible: "ApproximateNumberOfMessagesNotVisible";
84
+ readonly ContentBasedDeduplication: "ContentBasedDeduplication";
85
+ readonly CreatedTimestamp: "CreatedTimestamp";
86
+ readonly DeduplicationScope: "DeduplicationScope";
87
+ readonly DelaySeconds: "DelaySeconds";
88
+ readonly FifoQueue: "FifoQueue";
89
+ readonly FifoThroughputLimit: "FifoThroughputLimit";
90
+ readonly KmsDataKeyReusePeriodSeconds: "KmsDataKeyReusePeriodSeconds";
91
+ readonly KmsMasterKeyId: "KmsMasterKeyId";
92
+ readonly LastModifiedTimestamp: "LastModifiedTimestamp";
93
+ readonly MaximumMessageSize: "MaximumMessageSize";
94
+ readonly MessageRetentionPeriod: "MessageRetentionPeriod";
95
+ readonly Policy: "Policy";
96
+ readonly QueueArn: "QueueArn";
97
+ readonly ReceiveMessageWaitTimeSeconds: "ReceiveMessageWaitTimeSeconds";
98
+ readonly RedriveAllowPolicy: "RedriveAllowPolicy";
99
+ readonly RedrivePolicy: "RedrivePolicy";
100
+ readonly SqsManagedSseEnabled: "SqsManagedSseEnabled";
101
+ readonly VisibilityTimeout: "VisibilityTimeout";
102
+ };
79
103
  export type QueueAttributeName =
80
- | "All"
81
- | "ApproximateNumberOfMessages"
82
- | "ApproximateNumberOfMessagesDelayed"
83
- | "ApproximateNumberOfMessagesNotVisible"
84
- | "ContentBasedDeduplication"
85
- | "CreatedTimestamp"
86
- | "DeduplicationScope"
87
- | "DelaySeconds"
88
- | "FifoQueue"
89
- | "FifoThroughputLimit"
90
- | "KmsDataKeyReusePeriodSeconds"
91
- | "KmsMasterKeyId"
92
- | "LastModifiedTimestamp"
93
- | "MaximumMessageSize"
94
- | "MessageRetentionPeriod"
95
- | "Policy"
96
- | "QueueArn"
97
- | "ReceiveMessageWaitTimeSeconds"
98
- | "RedriveAllowPolicy"
99
- | "RedrivePolicy"
100
- | "SqsManagedSseEnabled"
101
- | "VisibilityTimeout";
104
+ (typeof QueueAttributeName)[keyof typeof QueueAttributeName];
102
105
  export interface CreateQueueRequest {
103
106
  QueueName: string | undefined;
104
107
  tags?: Record<string, string>;
@@ -215,15 +218,18 @@ export interface ReceiveMessageRequest {
215
218
  WaitTimeSeconds?: number;
216
219
  ReceiveRequestAttemptId?: string;
217
220
  }
221
+ export declare const MessageSystemAttributeName: {
222
+ readonly AWSTraceHeader: "AWSTraceHeader";
223
+ readonly ApproximateFirstReceiveTimestamp: "ApproximateFirstReceiveTimestamp";
224
+ readonly ApproximateReceiveCount: "ApproximateReceiveCount";
225
+ readonly MessageDeduplicationId: "MessageDeduplicationId";
226
+ readonly MessageGroupId: "MessageGroupId";
227
+ readonly SenderId: "SenderId";
228
+ readonly SentTimestamp: "SentTimestamp";
229
+ readonly SequenceNumber: "SequenceNumber";
230
+ };
218
231
  export type MessageSystemAttributeName =
219
- | "AWSTraceHeader"
220
- | "ApproximateFirstReceiveTimestamp"
221
- | "ApproximateReceiveCount"
222
- | "MessageDeduplicationId"
223
- | "MessageGroupId"
224
- | "SenderId"
225
- | "SentTimestamp"
226
- | "SequenceNumber";
232
+ (typeof MessageSystemAttributeName)[keyof typeof MessageSystemAttributeName];
227
233
  export interface MessageAttributeValue {
228
234
  StringValue?: string;
229
235
  BinaryValue?: Uint8Array;
@@ -254,7 +260,11 @@ export declare class InvalidMessageContents extends __BaseException {
254
260
  opts: __ExceptionOptionType<InvalidMessageContents, __BaseException>
255
261
  );
256
262
  }
257
- export type MessageSystemAttributeNameForSends = "AWSTraceHeader";
263
+ export declare const MessageSystemAttributeNameForSends: {
264
+ readonly AWSTraceHeader: "AWSTraceHeader";
265
+ };
266
+ export type MessageSystemAttributeNameForSends =
267
+ (typeof MessageSystemAttributeNameForSends)[keyof typeof MessageSystemAttributeNameForSends];
258
268
  export interface MessageSystemAttributeValue {
259
269
  StringValue?: string;
260
270
  BinaryValue?: Uint8Array;
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.326.0",
4
+ "version": "3.328.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,9 +21,9 @@
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.326.0",
24
+ "@aws-sdk/client-sts": "3.328.0",
25
25
  "@aws-sdk/config-resolver": "3.310.0",
26
- "@aws-sdk/credential-provider-node": "3.326.0",
26
+ "@aws-sdk/credential-provider-node": "3.328.0",
27
27
  "@aws-sdk/fetch-http-handler": "3.310.0",
28
28
  "@aws-sdk/hash-node": "3.310.0",
29
29
  "@aws-sdk/invalid-dependency": "3.310.0",
@@ -33,14 +33,14 @@
33
33
  "@aws-sdk/middleware-host-header": "3.325.0",
34
34
  "@aws-sdk/middleware-logger": "3.325.0",
35
35
  "@aws-sdk/middleware-recursion-detection": "3.325.0",
36
- "@aws-sdk/middleware-retry": "3.325.0",
36
+ "@aws-sdk/middleware-retry": "3.327.0",
37
37
  "@aws-sdk/middleware-sdk-sqs": "3.326.0",
38
38
  "@aws-sdk/middleware-serde": "3.325.0",
39
39
  "@aws-sdk/middleware-signing": "3.325.0",
40
40
  "@aws-sdk/middleware-stack": "3.325.0",
41
- "@aws-sdk/middleware-user-agent": "3.325.0",
41
+ "@aws-sdk/middleware-user-agent": "3.327.0",
42
42
  "@aws-sdk/node-config-provider": "3.310.0",
43
- "@aws-sdk/node-http-handler": "3.321.1",
43
+ "@aws-sdk/node-http-handler": "3.328.0",
44
44
  "@aws-sdk/protocol-http": "3.310.0",
45
45
  "@aws-sdk/smithy-client": "3.325.0",
46
46
  "@aws-sdk/types": "3.310.0",
@@ -50,8 +50,8 @@
50
50
  "@aws-sdk/util-body-length-node": "3.310.0",
51
51
  "@aws-sdk/util-defaults-mode-browser": "3.325.0",
52
52
  "@aws-sdk/util-defaults-mode-node": "3.325.0",
53
- "@aws-sdk/util-endpoints": "3.319.0",
54
- "@aws-sdk/util-retry": "3.310.0",
53
+ "@aws-sdk/util-endpoints": "3.327.0",
54
+ "@aws-sdk/util-retry": "3.327.0",
55
55
  "@aws-sdk/util-user-agent-browser": "3.310.0",
56
56
  "@aws-sdk/util-user-agent-node": "3.310.0",
57
57
  "@aws-sdk/util-utf8": "3.310.0",