@aws-sdk/client-sqs 3.326.0 → 3.327.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.
Files changed (76) hide show
  1. package/README.md +10 -7
  2. package/dist-cjs/commands/AddPermissionCommand.js +3 -3
  3. package/dist-cjs/commands/ChangeMessageVisibilityBatchCommand.js +3 -3
  4. package/dist-cjs/commands/ChangeMessageVisibilityCommand.js +3 -3
  5. package/dist-cjs/commands/CreateQueueCommand.js +3 -3
  6. package/dist-cjs/commands/DeleteMessageBatchCommand.js +3 -3
  7. package/dist-cjs/commands/DeleteMessageCommand.js +3 -3
  8. package/dist-cjs/commands/DeleteQueueCommand.js +3 -3
  9. package/dist-cjs/commands/GetQueueAttributesCommand.js +3 -3
  10. package/dist-cjs/commands/GetQueueUrlCommand.js +3 -3
  11. package/dist-cjs/commands/ListDeadLetterSourceQueuesCommand.js +3 -3
  12. package/dist-cjs/commands/ListQueueTagsCommand.js +3 -3
  13. package/dist-cjs/commands/ListQueuesCommand.js +3 -3
  14. package/dist-cjs/commands/PurgeQueueCommand.js +3 -3
  15. package/dist-cjs/commands/ReceiveMessageCommand.js +3 -3
  16. package/dist-cjs/commands/RemovePermissionCommand.js +3 -3
  17. package/dist-cjs/commands/SendMessageBatchCommand.js +3 -3
  18. package/dist-cjs/commands/SendMessageCommand.js +3 -3
  19. package/dist-cjs/commands/SetQueueAttributesCommand.js +3 -3
  20. package/dist-cjs/commands/TagQueueCommand.js +3 -3
  21. package/dist-cjs/commands/UntagQueueCommand.js +3 -3
  22. package/dist-cjs/endpoint/ruleset.js +2 -2
  23. package/dist-cjs/models/models_0.js +206 -26
  24. package/dist-cjs/protocols/Aws_json1_0.js +1608 -0
  25. package/dist-es/commands/AddPermissionCommand.js +1 -1
  26. package/dist-es/commands/ChangeMessageVisibilityBatchCommand.js +1 -1
  27. package/dist-es/commands/ChangeMessageVisibilityCommand.js +1 -1
  28. package/dist-es/commands/CreateQueueCommand.js +1 -1
  29. package/dist-es/commands/DeleteMessageBatchCommand.js +1 -1
  30. package/dist-es/commands/DeleteMessageCommand.js +1 -1
  31. package/dist-es/commands/DeleteQueueCommand.js +1 -1
  32. package/dist-es/commands/GetQueueAttributesCommand.js +1 -1
  33. package/dist-es/commands/GetQueueUrlCommand.js +1 -1
  34. package/dist-es/commands/ListDeadLetterSourceQueuesCommand.js +1 -1
  35. package/dist-es/commands/ListQueueTagsCommand.js +1 -1
  36. package/dist-es/commands/ListQueuesCommand.js +1 -1
  37. package/dist-es/commands/PurgeQueueCommand.js +1 -1
  38. package/dist-es/commands/ReceiveMessageCommand.js +1 -1
  39. package/dist-es/commands/RemovePermissionCommand.js +1 -1
  40. package/dist-es/commands/SendMessageBatchCommand.js +1 -1
  41. package/dist-es/commands/SendMessageCommand.js +1 -1
  42. package/dist-es/commands/SetQueueAttributesCommand.js +1 -1
  43. package/dist-es/commands/TagQueueCommand.js +1 -1
  44. package/dist-es/commands/UntagQueueCommand.js +1 -1
  45. package/dist-es/endpoint/ruleset.js +2 -2
  46. package/dist-es/models/models_0.js +189 -20
  47. package/dist-es/protocols/Aws_json1_0.js +1565 -0
  48. package/dist-types/SQS.d.ts +24 -21
  49. package/dist-types/SQSClient.d.ts +24 -21
  50. package/dist-types/commands/AddPermissionCommand.d.ts +51 -26
  51. package/dist-types/commands/ChangeMessageVisibilityBatchCommand.d.ts +34 -12
  52. package/dist-types/commands/ChangeMessageVisibilityCommand.d.ts +48 -15
  53. package/dist-types/commands/CreateQueueCommand.d.ts +58 -24
  54. package/dist-types/commands/DeleteMessageBatchCommand.d.ts +31 -10
  55. package/dist-types/commands/DeleteMessageCommand.d.ts +29 -1
  56. package/dist-types/commands/DeleteQueueCommand.d.ts +44 -8
  57. package/dist-types/commands/GetQueueAttributesCommand.d.ts +29 -1
  58. package/dist-types/commands/GetQueueUrlCommand.d.ts +35 -4
  59. package/dist-types/commands/ListDeadLetterSourceQueuesCommand.d.ts +39 -11
  60. package/dist-types/commands/ListQueueTagsCommand.d.ts +36 -4
  61. package/dist-types/commands/ListQueuesCommand.d.ts +41 -11
  62. package/dist-types/commands/PurgeQueueCommand.d.ts +36 -7
  63. package/dist-types/commands/ReceiveMessageCommand.d.ts +88 -15
  64. package/dist-types/commands/RemovePermissionCommand.d.ts +37 -5
  65. package/dist-types/commands/SendMessageBatchCommand.d.ts +76 -16
  66. package/dist-types/commands/SendMessageCommand.d.ts +62 -3
  67. package/dist-types/commands/SetQueueAttributesCommand.d.ts +50 -6
  68. package/dist-types/commands/TagQueueCommand.d.ts +34 -4
  69. package/dist-types/commands/UntagQueueCommand.d.ts +34 -3
  70. package/dist-types/models/models_0.d.ts +1039 -493
  71. package/dist-types/protocols/{Aws_query.d.ts → Aws_json1_0.d.ts} +40 -40
  72. package/dist-types/ts3.4/models/models_0.d.ts +119 -52
  73. package/package.json +7 -8
  74. package/dist-cjs/protocols/Aws_query.js +0 -2127
  75. package/dist-es/protocols/Aws_query.js +0 -2084
  76. /package/dist-types/ts3.4/protocols/{Aws_query.d.ts → Aws_json1_0.d.ts} +0 -0
@@ -21,162 +21,162 @@ import { SetQueueAttributesCommandInput, SetQueueAttributesCommandOutput } from
21
21
  import { TagQueueCommandInput, TagQueueCommandOutput } from "../commands/TagQueueCommand";
22
22
  import { UntagQueueCommandInput, UntagQueueCommandOutput } from "../commands/UntagQueueCommand";
23
23
  /**
24
- * serializeAws_queryAddPermissionCommand
24
+ * serializeAws_json1_0AddPermissionCommand
25
25
  */
26
26
  export declare const se_AddPermissionCommand: (input: AddPermissionCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
27
27
  /**
28
- * serializeAws_queryChangeMessageVisibilityCommand
28
+ * serializeAws_json1_0ChangeMessageVisibilityCommand
29
29
  */
30
30
  export declare const se_ChangeMessageVisibilityCommand: (input: ChangeMessageVisibilityCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
31
31
  /**
32
- * serializeAws_queryChangeMessageVisibilityBatchCommand
32
+ * serializeAws_json1_0ChangeMessageVisibilityBatchCommand
33
33
  */
34
34
  export declare const se_ChangeMessageVisibilityBatchCommand: (input: ChangeMessageVisibilityBatchCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
35
35
  /**
36
- * serializeAws_queryCreateQueueCommand
36
+ * serializeAws_json1_0CreateQueueCommand
37
37
  */
38
38
  export declare const se_CreateQueueCommand: (input: CreateQueueCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
39
39
  /**
40
- * serializeAws_queryDeleteMessageCommand
40
+ * serializeAws_json1_0DeleteMessageCommand
41
41
  */
42
42
  export declare const se_DeleteMessageCommand: (input: DeleteMessageCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
43
43
  /**
44
- * serializeAws_queryDeleteMessageBatchCommand
44
+ * serializeAws_json1_0DeleteMessageBatchCommand
45
45
  */
46
46
  export declare const se_DeleteMessageBatchCommand: (input: DeleteMessageBatchCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
47
47
  /**
48
- * serializeAws_queryDeleteQueueCommand
48
+ * serializeAws_json1_0DeleteQueueCommand
49
49
  */
50
50
  export declare const se_DeleteQueueCommand: (input: DeleteQueueCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
51
51
  /**
52
- * serializeAws_queryGetQueueAttributesCommand
52
+ * serializeAws_json1_0GetQueueAttributesCommand
53
53
  */
54
54
  export declare const se_GetQueueAttributesCommand: (input: GetQueueAttributesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
55
55
  /**
56
- * serializeAws_queryGetQueueUrlCommand
56
+ * serializeAws_json1_0GetQueueUrlCommand
57
57
  */
58
58
  export declare const se_GetQueueUrlCommand: (input: GetQueueUrlCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
59
59
  /**
60
- * serializeAws_queryListDeadLetterSourceQueuesCommand
60
+ * serializeAws_json1_0ListDeadLetterSourceQueuesCommand
61
61
  */
62
62
  export declare const se_ListDeadLetterSourceQueuesCommand: (input: ListDeadLetterSourceQueuesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
63
63
  /**
64
- * serializeAws_queryListQueuesCommand
64
+ * serializeAws_json1_0ListQueuesCommand
65
65
  */
66
66
  export declare const se_ListQueuesCommand: (input: ListQueuesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
67
67
  /**
68
- * serializeAws_queryListQueueTagsCommand
68
+ * serializeAws_json1_0ListQueueTagsCommand
69
69
  */
70
70
  export declare const se_ListQueueTagsCommand: (input: ListQueueTagsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
71
71
  /**
72
- * serializeAws_queryPurgeQueueCommand
72
+ * serializeAws_json1_0PurgeQueueCommand
73
73
  */
74
74
  export declare const se_PurgeQueueCommand: (input: PurgeQueueCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
75
75
  /**
76
- * serializeAws_queryReceiveMessageCommand
76
+ * serializeAws_json1_0ReceiveMessageCommand
77
77
  */
78
78
  export declare const se_ReceiveMessageCommand: (input: ReceiveMessageCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
79
79
  /**
80
- * serializeAws_queryRemovePermissionCommand
80
+ * serializeAws_json1_0RemovePermissionCommand
81
81
  */
82
82
  export declare const se_RemovePermissionCommand: (input: RemovePermissionCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
83
83
  /**
84
- * serializeAws_querySendMessageCommand
84
+ * serializeAws_json1_0SendMessageCommand
85
85
  */
86
86
  export declare const se_SendMessageCommand: (input: SendMessageCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
87
87
  /**
88
- * serializeAws_querySendMessageBatchCommand
88
+ * serializeAws_json1_0SendMessageBatchCommand
89
89
  */
90
90
  export declare const se_SendMessageBatchCommand: (input: SendMessageBatchCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
91
91
  /**
92
- * serializeAws_querySetQueueAttributesCommand
92
+ * serializeAws_json1_0SetQueueAttributesCommand
93
93
  */
94
94
  export declare const se_SetQueueAttributesCommand: (input: SetQueueAttributesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
95
95
  /**
96
- * serializeAws_queryTagQueueCommand
96
+ * serializeAws_json1_0TagQueueCommand
97
97
  */
98
98
  export declare const se_TagQueueCommand: (input: TagQueueCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
99
99
  /**
100
- * serializeAws_queryUntagQueueCommand
100
+ * serializeAws_json1_0UntagQueueCommand
101
101
  */
102
102
  export declare const se_UntagQueueCommand: (input: UntagQueueCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
103
103
  /**
104
- * deserializeAws_queryAddPermissionCommand
104
+ * deserializeAws_json1_0AddPermissionCommand
105
105
  */
106
106
  export declare const de_AddPermissionCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<AddPermissionCommandOutput>;
107
107
  /**
108
- * deserializeAws_queryChangeMessageVisibilityCommand
108
+ * deserializeAws_json1_0ChangeMessageVisibilityCommand
109
109
  */
110
110
  export declare const de_ChangeMessageVisibilityCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ChangeMessageVisibilityCommandOutput>;
111
111
  /**
112
- * deserializeAws_queryChangeMessageVisibilityBatchCommand
112
+ * deserializeAws_json1_0ChangeMessageVisibilityBatchCommand
113
113
  */
114
114
  export declare const de_ChangeMessageVisibilityBatchCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ChangeMessageVisibilityBatchCommandOutput>;
115
115
  /**
116
- * deserializeAws_queryCreateQueueCommand
116
+ * deserializeAws_json1_0CreateQueueCommand
117
117
  */
118
118
  export declare const de_CreateQueueCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateQueueCommandOutput>;
119
119
  /**
120
- * deserializeAws_queryDeleteMessageCommand
120
+ * deserializeAws_json1_0DeleteMessageCommand
121
121
  */
122
122
  export declare const de_DeleteMessageCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteMessageCommandOutput>;
123
123
  /**
124
- * deserializeAws_queryDeleteMessageBatchCommand
124
+ * deserializeAws_json1_0DeleteMessageBatchCommand
125
125
  */
126
126
  export declare const de_DeleteMessageBatchCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteMessageBatchCommandOutput>;
127
127
  /**
128
- * deserializeAws_queryDeleteQueueCommand
128
+ * deserializeAws_json1_0DeleteQueueCommand
129
129
  */
130
130
  export declare const de_DeleteQueueCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteQueueCommandOutput>;
131
131
  /**
132
- * deserializeAws_queryGetQueueAttributesCommand
132
+ * deserializeAws_json1_0GetQueueAttributesCommand
133
133
  */
134
134
  export declare const de_GetQueueAttributesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetQueueAttributesCommandOutput>;
135
135
  /**
136
- * deserializeAws_queryGetQueueUrlCommand
136
+ * deserializeAws_json1_0GetQueueUrlCommand
137
137
  */
138
138
  export declare const de_GetQueueUrlCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetQueueUrlCommandOutput>;
139
139
  /**
140
- * deserializeAws_queryListDeadLetterSourceQueuesCommand
140
+ * deserializeAws_json1_0ListDeadLetterSourceQueuesCommand
141
141
  */
142
142
  export declare const de_ListDeadLetterSourceQueuesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListDeadLetterSourceQueuesCommandOutput>;
143
143
  /**
144
- * deserializeAws_queryListQueuesCommand
144
+ * deserializeAws_json1_0ListQueuesCommand
145
145
  */
146
146
  export declare const de_ListQueuesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListQueuesCommandOutput>;
147
147
  /**
148
- * deserializeAws_queryListQueueTagsCommand
148
+ * deserializeAws_json1_0ListQueueTagsCommand
149
149
  */
150
150
  export declare const de_ListQueueTagsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListQueueTagsCommandOutput>;
151
151
  /**
152
- * deserializeAws_queryPurgeQueueCommand
152
+ * deserializeAws_json1_0PurgeQueueCommand
153
153
  */
154
154
  export declare const de_PurgeQueueCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<PurgeQueueCommandOutput>;
155
155
  /**
156
- * deserializeAws_queryReceiveMessageCommand
156
+ * deserializeAws_json1_0ReceiveMessageCommand
157
157
  */
158
158
  export declare const de_ReceiveMessageCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ReceiveMessageCommandOutput>;
159
159
  /**
160
- * deserializeAws_queryRemovePermissionCommand
160
+ * deserializeAws_json1_0RemovePermissionCommand
161
161
  */
162
162
  export declare const de_RemovePermissionCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<RemovePermissionCommandOutput>;
163
163
  /**
164
- * deserializeAws_querySendMessageCommand
164
+ * deserializeAws_json1_0SendMessageCommand
165
165
  */
166
166
  export declare const de_SendMessageCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<SendMessageCommandOutput>;
167
167
  /**
168
- * deserializeAws_querySendMessageBatchCommand
168
+ * deserializeAws_json1_0SendMessageBatchCommand
169
169
  */
170
170
  export declare const de_SendMessageBatchCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<SendMessageBatchCommandOutput>;
171
171
  /**
172
- * deserializeAws_querySetQueueAttributesCommand
172
+ * deserializeAws_json1_0SetQueueAttributesCommand
173
173
  */
174
174
  export declare const de_SetQueueAttributesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<SetQueueAttributesCommandOutput>;
175
175
  /**
176
- * deserializeAws_queryTagQueueCommand
176
+ * deserializeAws_json1_0TagQueueCommand
177
177
  */
178
178
  export declare const de_TagQueueCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<TagQueueCommandOutput>;
179
179
  /**
180
- * deserializeAws_queryUntagQueueCommand
180
+ * deserializeAws_json1_0UntagQueueCommand
181
181
  */
182
182
  export declare const de_UntagQueueCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UntagQueueCommandOutput>;
@@ -6,11 +6,38 @@ export interface AddPermissionRequest {
6
6
  AWSAccountIds: string[] | undefined;
7
7
  Actions: string[] | undefined;
8
8
  }
9
+ export declare class InvalidAddress extends __BaseException {
10
+ readonly name: "InvalidAddress";
11
+ readonly $fault: "client";
12
+ constructor(opts: __ExceptionOptionType<InvalidAddress, __BaseException>);
13
+ }
14
+ export declare class InvalidSecurity extends __BaseException {
15
+ readonly name: "InvalidSecurity";
16
+ readonly $fault: "client";
17
+ constructor(opts: __ExceptionOptionType<InvalidSecurity, __BaseException>);
18
+ }
9
19
  export declare class OverLimit extends __BaseException {
10
20
  readonly name: "OverLimit";
11
21
  readonly $fault: "client";
12
22
  constructor(opts: __ExceptionOptionType<OverLimit, __BaseException>);
13
23
  }
24
+ export declare class QueueDoesNotExist extends __BaseException {
25
+ readonly name: "QueueDoesNotExist";
26
+ readonly $fault: "client";
27
+ constructor(opts: __ExceptionOptionType<QueueDoesNotExist, __BaseException>);
28
+ }
29
+ export declare class RequestThrottled extends __BaseException {
30
+ readonly name: "RequestThrottled";
31
+ readonly $fault: "client";
32
+ constructor(opts: __ExceptionOptionType<RequestThrottled, __BaseException>);
33
+ }
34
+ export declare class UnsupportedOperation extends __BaseException {
35
+ readonly name: "UnsupportedOperation";
36
+ readonly $fault: "client";
37
+ constructor(
38
+ opts: __ExceptionOptionType<UnsupportedOperation, __BaseException>
39
+ );
40
+ }
14
41
  export interface ChangeMessageVisibilityRequest {
15
42
  QueueUrl: string | undefined;
16
43
  ReceiptHandle: string | undefined;
@@ -76,37 +103,54 @@ export declare class TooManyEntriesInBatchRequest extends __BaseException {
76
103
  opts: __ExceptionOptionType<TooManyEntriesInBatchRequest, __BaseException>
77
104
  );
78
105
  }
106
+ export declare const QueueAttributeName: {
107
+ readonly All: "All";
108
+ readonly ApproximateNumberOfMessages: "ApproximateNumberOfMessages";
109
+ readonly ApproximateNumberOfMessagesDelayed: "ApproximateNumberOfMessagesDelayed";
110
+ readonly ApproximateNumberOfMessagesNotVisible: "ApproximateNumberOfMessagesNotVisible";
111
+ readonly ContentBasedDeduplication: "ContentBasedDeduplication";
112
+ readonly CreatedTimestamp: "CreatedTimestamp";
113
+ readonly DeduplicationScope: "DeduplicationScope";
114
+ readonly DelaySeconds: "DelaySeconds";
115
+ readonly FifoQueue: "FifoQueue";
116
+ readonly FifoThroughputLimit: "FifoThroughputLimit";
117
+ readonly KmsDataKeyReusePeriodSeconds: "KmsDataKeyReusePeriodSeconds";
118
+ readonly KmsMasterKeyId: "KmsMasterKeyId";
119
+ readonly LastModifiedTimestamp: "LastModifiedTimestamp";
120
+ readonly MaximumMessageSize: "MaximumMessageSize";
121
+ readonly MessageRetentionPeriod: "MessageRetentionPeriod";
122
+ readonly Policy: "Policy";
123
+ readonly QueueArn: "QueueArn";
124
+ readonly ReceiveMessageWaitTimeSeconds: "ReceiveMessageWaitTimeSeconds";
125
+ readonly RedriveAllowPolicy: "RedriveAllowPolicy";
126
+ readonly RedrivePolicy: "RedrivePolicy";
127
+ readonly SqsManagedSseEnabled: "SqsManagedSseEnabled";
128
+ readonly VisibilityTimeout: "VisibilityTimeout";
129
+ };
79
130
  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";
131
+ (typeof QueueAttributeName)[keyof typeof QueueAttributeName];
102
132
  export interface CreateQueueRequest {
103
133
  QueueName: string | undefined;
104
- tags?: Record<string, string>;
105
134
  Attributes?: Record<string, string>;
135
+ tags?: Record<string, string>;
106
136
  }
107
137
  export interface CreateQueueResult {
108
138
  QueueUrl?: string;
109
139
  }
140
+ export declare class InvalidAttributeName extends __BaseException {
141
+ readonly name: "InvalidAttributeName";
142
+ readonly $fault: "client";
143
+ constructor(
144
+ opts: __ExceptionOptionType<InvalidAttributeName, __BaseException>
145
+ );
146
+ }
147
+ export declare class InvalidAttributeValue extends __BaseException {
148
+ readonly name: "InvalidAttributeValue";
149
+ readonly $fault: "client";
150
+ constructor(
151
+ opts: __ExceptionOptionType<InvalidAttributeValue, __BaseException>
152
+ );
153
+ }
110
154
  export declare class QueueDeletedRecently extends __BaseException {
111
155
  readonly name: "QueueDeletedRecently";
112
156
  readonly $fault: "client";
@@ -153,13 +197,6 @@ export interface GetQueueAttributesRequest {
153
197
  export interface GetQueueAttributesResult {
154
198
  Attributes?: Record<string, string>;
155
199
  }
156
- export declare class InvalidAttributeName extends __BaseException {
157
- readonly name: "InvalidAttributeName";
158
- readonly $fault: "client";
159
- constructor(
160
- opts: __ExceptionOptionType<InvalidAttributeName, __BaseException>
161
- );
162
- }
163
200
  export interface GetQueueUrlRequest {
164
201
  QueueName: string | undefined;
165
202
  QueueOwnerAWSAccountId?: string;
@@ -167,11 +204,6 @@ export interface GetQueueUrlRequest {
167
204
  export interface GetQueueUrlResult {
168
205
  QueueUrl?: string;
169
206
  }
170
- export declare class QueueDoesNotExist extends __BaseException {
171
- readonly name: "QueueDoesNotExist";
172
- readonly $fault: "client";
173
- constructor(opts: __ExceptionOptionType<QueueDoesNotExist, __BaseException>);
174
- }
175
207
  export interface ListDeadLetterSourceQueuesRequest {
176
208
  QueueUrl: string | undefined;
177
209
  NextToken?: string;
@@ -187,8 +219,8 @@ export interface ListQueuesRequest {
187
219
  MaxResults?: number;
188
220
  }
189
221
  export interface ListQueuesResult {
190
- NextToken?: string;
191
222
  QueueUrls?: string[];
223
+ NextToken?: string;
192
224
  }
193
225
  export interface ListQueueTagsRequest {
194
226
  QueueUrl: string | undefined;
@@ -206,6 +238,41 @@ export declare class PurgeQueueInProgress extends __BaseException {
206
238
  export interface PurgeQueueRequest {
207
239
  QueueUrl: string | undefined;
208
240
  }
241
+ export declare class KmsAccessDenied extends __BaseException {
242
+ readonly name: "KmsAccessDenied";
243
+ readonly $fault: "client";
244
+ constructor(opts: __ExceptionOptionType<KmsAccessDenied, __BaseException>);
245
+ }
246
+ export declare class KmsDisabled extends __BaseException {
247
+ readonly name: "KmsDisabled";
248
+ readonly $fault: "client";
249
+ constructor(opts: __ExceptionOptionType<KmsDisabled, __BaseException>);
250
+ }
251
+ export declare class KmsInvalidKeyUsage extends __BaseException {
252
+ readonly name: "KmsInvalidKeyUsage";
253
+ readonly $fault: "client";
254
+ constructor(opts: __ExceptionOptionType<KmsInvalidKeyUsage, __BaseException>);
255
+ }
256
+ export declare class KmsInvalidState extends __BaseException {
257
+ readonly name: "KmsInvalidState";
258
+ readonly $fault: "client";
259
+ constructor(opts: __ExceptionOptionType<KmsInvalidState, __BaseException>);
260
+ }
261
+ export declare class KmsNotFound extends __BaseException {
262
+ readonly name: "KmsNotFound";
263
+ readonly $fault: "client";
264
+ constructor(opts: __ExceptionOptionType<KmsNotFound, __BaseException>);
265
+ }
266
+ export declare class KmsOptInRequired extends __BaseException {
267
+ readonly name: "KmsOptInRequired";
268
+ readonly $fault: "client";
269
+ constructor(opts: __ExceptionOptionType<KmsOptInRequired, __BaseException>);
270
+ }
271
+ export declare class KmsThrottled extends __BaseException {
272
+ readonly name: "KmsThrottled";
273
+ readonly $fault: "client";
274
+ constructor(opts: __ExceptionOptionType<KmsThrottled, __BaseException>);
275
+ }
209
276
  export interface ReceiveMessageRequest {
210
277
  QueueUrl: string | undefined;
211
278
  AttributeNames?: (QueueAttributeName | string)[];
@@ -215,15 +282,18 @@ export interface ReceiveMessageRequest {
215
282
  WaitTimeSeconds?: number;
216
283
  ReceiveRequestAttemptId?: string;
217
284
  }
285
+ export declare const MessageSystemAttributeName: {
286
+ readonly AWSTraceHeader: "AWSTraceHeader";
287
+ readonly ApproximateFirstReceiveTimestamp: "ApproximateFirstReceiveTimestamp";
288
+ readonly ApproximateReceiveCount: "ApproximateReceiveCount";
289
+ readonly MessageDeduplicationId: "MessageDeduplicationId";
290
+ readonly MessageGroupId: "MessageGroupId";
291
+ readonly SenderId: "SenderId";
292
+ readonly SentTimestamp: "SentTimestamp";
293
+ readonly SequenceNumber: "SequenceNumber";
294
+ };
218
295
  export type MessageSystemAttributeName =
219
- | "AWSTraceHeader"
220
- | "ApproximateFirstReceiveTimestamp"
221
- | "ApproximateReceiveCount"
222
- | "MessageDeduplicationId"
223
- | "MessageGroupId"
224
- | "SenderId"
225
- | "SentTimestamp"
226
- | "SequenceNumber";
296
+ (typeof MessageSystemAttributeName)[keyof typeof MessageSystemAttributeName];
227
297
  export interface MessageAttributeValue {
228
298
  StringValue?: string;
229
299
  BinaryValue?: Uint8Array;
@@ -254,7 +324,11 @@ export declare class InvalidMessageContents extends __BaseException {
254
324
  opts: __ExceptionOptionType<InvalidMessageContents, __BaseException>
255
325
  );
256
326
  }
257
- export type MessageSystemAttributeNameForSends = "AWSTraceHeader";
327
+ export declare const MessageSystemAttributeNameForSends: {
328
+ readonly AWSTraceHeader: "AWSTraceHeader";
329
+ };
330
+ export type MessageSystemAttributeNameForSends =
331
+ (typeof MessageSystemAttributeNameForSends)[keyof typeof MessageSystemAttributeNameForSends];
258
332
  export interface MessageSystemAttributeValue {
259
333
  StringValue?: string;
260
334
  BinaryValue?: Uint8Array;
@@ -278,13 +352,6 @@ export interface SendMessageResult {
278
352
  MessageId?: string;
279
353
  SequenceNumber?: string;
280
354
  }
281
- export declare class UnsupportedOperation extends __BaseException {
282
- readonly name: "UnsupportedOperation";
283
- readonly $fault: "client";
284
- constructor(
285
- opts: __ExceptionOptionType<UnsupportedOperation, __BaseException>
286
- );
287
- }
288
355
  export declare class BatchRequestTooLong extends __BaseException {
289
356
  readonly name: "BatchRequestTooLong";
290
357
  readonly $fault: "client";
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.327.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.327.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.327.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,12 +33,12 @@
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
43
  "@aws-sdk/node-http-handler": "3.321.1",
44
44
  "@aws-sdk/protocol-http": "3.310.0",
@@ -50,12 +50,11 @@
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",
58
- "fast-xml-parser": "4.1.2",
59
58
  "tslib": "^2.5.0"
60
59
  },
61
60
  "devDependencies": {