@aws-sdk/client-sqs 3.934.0 → 3.935.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/index.js +40 -39
- package/dist-es/index.js +2 -1
- package/dist-es/models/enums.js +39 -0
- package/dist-es/models/errors.js +337 -0
- package/dist-es/models/models_0.js +1 -376
- package/dist-es/schemas/schemas_0.js +1 -1
- package/dist-types/index.d.ts +3 -1
- package/dist-types/models/enums.d.ts +63 -0
- package/dist-types/models/errors.d.ts +374 -0
- package/dist-types/models/models_0.d.ts +1 -437
- package/dist-types/ts3.4/index.d.ts +3 -1
- package/dist-types/ts3.4/models/enums.d.ts +45 -0
- package/dist-types/ts3.4/models/errors.d.ts +166 -0
- package/dist-types/ts3.4/models/models_0.d.ts +5 -211
- package/package.json +13 -13
- package/dist-es/models/index.js +0 -1
- package/dist-types/models/index.d.ts +0 -1
- package/dist-types/ts3.4/models/index.d.ts +0 -1
|
@@ -0,0 +1,374 @@
|
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
|
+
import { SQSServiceException as __BaseException } from "./SQSServiceException";
|
|
3
|
+
/**
|
|
4
|
+
* <p>The specified ID is invalid.</p>
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
7
|
+
export declare class InvalidAddress extends __BaseException {
|
|
8
|
+
readonly name: "InvalidAddress";
|
|
9
|
+
readonly $fault: "client";
|
|
10
|
+
/**
|
|
11
|
+
* @internal
|
|
12
|
+
*/
|
|
13
|
+
constructor(opts: __ExceptionOptionType<InvalidAddress, __BaseException>);
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* <p>The request was not made over HTTPS or did not use SigV4 for signing.</p>
|
|
17
|
+
* @public
|
|
18
|
+
*/
|
|
19
|
+
export declare class InvalidSecurity extends __BaseException {
|
|
20
|
+
readonly name: "InvalidSecurity";
|
|
21
|
+
readonly $fault: "client";
|
|
22
|
+
/**
|
|
23
|
+
* @internal
|
|
24
|
+
*/
|
|
25
|
+
constructor(opts: __ExceptionOptionType<InvalidSecurity, __BaseException>);
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* <p>The specified action violates a limit. For example, <code>ReceiveMessage</code>
|
|
29
|
+
* returns this error if the maximum number of in flight messages is reached and
|
|
30
|
+
* <code>AddPermission</code> returns this error if the maximum number of permissions
|
|
31
|
+
* for the queue is reached.</p>
|
|
32
|
+
* @public
|
|
33
|
+
*/
|
|
34
|
+
export declare class OverLimit extends __BaseException {
|
|
35
|
+
readonly name: "OverLimit";
|
|
36
|
+
readonly $fault: "client";
|
|
37
|
+
/**
|
|
38
|
+
* @internal
|
|
39
|
+
*/
|
|
40
|
+
constructor(opts: __ExceptionOptionType<OverLimit, __BaseException>);
|
|
41
|
+
}
|
|
42
|
+
/**
|
|
43
|
+
* <p>Ensure that the <code>QueueUrl</code> is correct and that the queue has not been
|
|
44
|
+
* deleted.</p>
|
|
45
|
+
* @public
|
|
46
|
+
*/
|
|
47
|
+
export declare class QueueDoesNotExist extends __BaseException {
|
|
48
|
+
readonly name: "QueueDoesNotExist";
|
|
49
|
+
readonly $fault: "client";
|
|
50
|
+
/**
|
|
51
|
+
* @internal
|
|
52
|
+
*/
|
|
53
|
+
constructor(opts: __ExceptionOptionType<QueueDoesNotExist, __BaseException>);
|
|
54
|
+
}
|
|
55
|
+
/**
|
|
56
|
+
* <p>The request was denied due to request throttling.</p>
|
|
57
|
+
* <ul>
|
|
58
|
+
* <li>
|
|
59
|
+
* <p>Exceeds the permitted request rate for the queue or for the recipient of the
|
|
60
|
+
* request.</p>
|
|
61
|
+
* </li>
|
|
62
|
+
* <li>
|
|
63
|
+
* <p>Ensure that the request rate is within the Amazon SQS limits for
|
|
64
|
+
* sending messages. For more information, see <a href="https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-quotas.html#quotas-requests">Amazon SQS quotas</a> in the <i>Amazon SQS
|
|
65
|
+
* Developer Guide</i>.</p>
|
|
66
|
+
* </li>
|
|
67
|
+
* </ul>
|
|
68
|
+
* @public
|
|
69
|
+
*/
|
|
70
|
+
export declare class RequestThrottled extends __BaseException {
|
|
71
|
+
readonly name: "RequestThrottled";
|
|
72
|
+
readonly $fault: "client";
|
|
73
|
+
/**
|
|
74
|
+
* @internal
|
|
75
|
+
*/
|
|
76
|
+
constructor(opts: __ExceptionOptionType<RequestThrottled, __BaseException>);
|
|
77
|
+
}
|
|
78
|
+
/**
|
|
79
|
+
* <p>Error code 400. Unsupported operation.</p>
|
|
80
|
+
* @public
|
|
81
|
+
*/
|
|
82
|
+
export declare class UnsupportedOperation extends __BaseException {
|
|
83
|
+
readonly name: "UnsupportedOperation";
|
|
84
|
+
readonly $fault: "client";
|
|
85
|
+
/**
|
|
86
|
+
* @internal
|
|
87
|
+
*/
|
|
88
|
+
constructor(opts: __ExceptionOptionType<UnsupportedOperation, __BaseException>);
|
|
89
|
+
}
|
|
90
|
+
/**
|
|
91
|
+
* <p>One or more specified resources don't exist.</p>
|
|
92
|
+
* @public
|
|
93
|
+
*/
|
|
94
|
+
export declare class ResourceNotFoundException extends __BaseException {
|
|
95
|
+
readonly name: "ResourceNotFoundException";
|
|
96
|
+
readonly $fault: "client";
|
|
97
|
+
/**
|
|
98
|
+
* @internal
|
|
99
|
+
*/
|
|
100
|
+
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
101
|
+
}
|
|
102
|
+
/**
|
|
103
|
+
* <p>The specified message isn't in flight.</p>
|
|
104
|
+
* @public
|
|
105
|
+
*/
|
|
106
|
+
export declare class MessageNotInflight extends __BaseException {
|
|
107
|
+
readonly name: "MessageNotInflight";
|
|
108
|
+
readonly $fault: "client";
|
|
109
|
+
/**
|
|
110
|
+
* @internal
|
|
111
|
+
*/
|
|
112
|
+
constructor(opts: __ExceptionOptionType<MessageNotInflight, __BaseException>);
|
|
113
|
+
}
|
|
114
|
+
/**
|
|
115
|
+
* <p>The specified receipt handle isn't valid.</p>
|
|
116
|
+
* @public
|
|
117
|
+
*/
|
|
118
|
+
export declare class ReceiptHandleIsInvalid extends __BaseException {
|
|
119
|
+
readonly name: "ReceiptHandleIsInvalid";
|
|
120
|
+
readonly $fault: "client";
|
|
121
|
+
/**
|
|
122
|
+
* @internal
|
|
123
|
+
*/
|
|
124
|
+
constructor(opts: __ExceptionOptionType<ReceiptHandleIsInvalid, __BaseException>);
|
|
125
|
+
}
|
|
126
|
+
/**
|
|
127
|
+
* <p>Two or more batch entries in the request have the same <code>Id</code>.</p>
|
|
128
|
+
* @public
|
|
129
|
+
*/
|
|
130
|
+
export declare class BatchEntryIdsNotDistinct extends __BaseException {
|
|
131
|
+
readonly name: "BatchEntryIdsNotDistinct";
|
|
132
|
+
readonly $fault: "client";
|
|
133
|
+
/**
|
|
134
|
+
* @internal
|
|
135
|
+
*/
|
|
136
|
+
constructor(opts: __ExceptionOptionType<BatchEntryIdsNotDistinct, __BaseException>);
|
|
137
|
+
}
|
|
138
|
+
/**
|
|
139
|
+
* <p>The batch request doesn't contain any entries.</p>
|
|
140
|
+
* @public
|
|
141
|
+
*/
|
|
142
|
+
export declare class EmptyBatchRequest extends __BaseException {
|
|
143
|
+
readonly name: "EmptyBatchRequest";
|
|
144
|
+
readonly $fault: "client";
|
|
145
|
+
/**
|
|
146
|
+
* @internal
|
|
147
|
+
*/
|
|
148
|
+
constructor(opts: __ExceptionOptionType<EmptyBatchRequest, __BaseException>);
|
|
149
|
+
}
|
|
150
|
+
/**
|
|
151
|
+
* <p>The <code>Id</code> of a batch entry in a batch request doesn't abide by the
|
|
152
|
+
* specification.</p>
|
|
153
|
+
* @public
|
|
154
|
+
*/
|
|
155
|
+
export declare class InvalidBatchEntryId extends __BaseException {
|
|
156
|
+
readonly name: "InvalidBatchEntryId";
|
|
157
|
+
readonly $fault: "client";
|
|
158
|
+
/**
|
|
159
|
+
* @internal
|
|
160
|
+
*/
|
|
161
|
+
constructor(opts: __ExceptionOptionType<InvalidBatchEntryId, __BaseException>);
|
|
162
|
+
}
|
|
163
|
+
/**
|
|
164
|
+
* <p>The batch request contains more entries than permissible. For Amazon SQS, the
|
|
165
|
+
* maximum number of entries you can include in a single <a href="https://docs.aws.amazon.com/AWSSimpleQueueService/latest/APIReference/API_SendMessageBatch.html">SendMessageBatch</a>, <a href="https://docs.aws.amazon.com/AWSSimpleQueueService/latest/APIReference/API_DeleteMessageBatch.html">DeleteMessageBatch</a>, or <a href="https://docs.aws.amazon.com/AWSSimpleQueueService/latest/APIReference/API_ChangeMessageVisibilityBatch.html">ChangeMessageVisibilityBatch</a> request is 10.</p>
|
|
166
|
+
* @public
|
|
167
|
+
*/
|
|
168
|
+
export declare class TooManyEntriesInBatchRequest extends __BaseException {
|
|
169
|
+
readonly name: "TooManyEntriesInBatchRequest";
|
|
170
|
+
readonly $fault: "client";
|
|
171
|
+
/**
|
|
172
|
+
* @internal
|
|
173
|
+
*/
|
|
174
|
+
constructor(opts: __ExceptionOptionType<TooManyEntriesInBatchRequest, __BaseException>);
|
|
175
|
+
}
|
|
176
|
+
/**
|
|
177
|
+
* <p>The specified attribute doesn't exist.</p>
|
|
178
|
+
* @public
|
|
179
|
+
*/
|
|
180
|
+
export declare class InvalidAttributeName extends __BaseException {
|
|
181
|
+
readonly name: "InvalidAttributeName";
|
|
182
|
+
readonly $fault: "client";
|
|
183
|
+
/**
|
|
184
|
+
* @internal
|
|
185
|
+
*/
|
|
186
|
+
constructor(opts: __ExceptionOptionType<InvalidAttributeName, __BaseException>);
|
|
187
|
+
}
|
|
188
|
+
/**
|
|
189
|
+
* <p>A queue attribute value is invalid.</p>
|
|
190
|
+
* @public
|
|
191
|
+
*/
|
|
192
|
+
export declare class InvalidAttributeValue extends __BaseException {
|
|
193
|
+
readonly name: "InvalidAttributeValue";
|
|
194
|
+
readonly $fault: "client";
|
|
195
|
+
/**
|
|
196
|
+
* @internal
|
|
197
|
+
*/
|
|
198
|
+
constructor(opts: __ExceptionOptionType<InvalidAttributeValue, __BaseException>);
|
|
199
|
+
}
|
|
200
|
+
/**
|
|
201
|
+
* <p>You must wait 60 seconds after deleting a queue before you can create another queue
|
|
202
|
+
* with the same name.</p>
|
|
203
|
+
* @public
|
|
204
|
+
*/
|
|
205
|
+
export declare class QueueDeletedRecently extends __BaseException {
|
|
206
|
+
readonly name: "QueueDeletedRecently";
|
|
207
|
+
readonly $fault: "client";
|
|
208
|
+
/**
|
|
209
|
+
* @internal
|
|
210
|
+
*/
|
|
211
|
+
constructor(opts: __ExceptionOptionType<QueueDeletedRecently, __BaseException>);
|
|
212
|
+
}
|
|
213
|
+
/**
|
|
214
|
+
* <p>A queue with this name already exists. Amazon SQS returns this error only if the request
|
|
215
|
+
* includes attributes whose values differ from those of the existing queue.</p>
|
|
216
|
+
* @public
|
|
217
|
+
*/
|
|
218
|
+
export declare class QueueNameExists extends __BaseException {
|
|
219
|
+
readonly name: "QueueNameExists";
|
|
220
|
+
readonly $fault: "client";
|
|
221
|
+
/**
|
|
222
|
+
* @internal
|
|
223
|
+
*/
|
|
224
|
+
constructor(opts: __ExceptionOptionType<QueueNameExists, __BaseException>);
|
|
225
|
+
}
|
|
226
|
+
/**
|
|
227
|
+
* <p>The specified receipt handle isn't valid for the current version.</p>
|
|
228
|
+
*
|
|
229
|
+
* @deprecated exception has been included in ReceiptHandleIsInvalid
|
|
230
|
+
* @public
|
|
231
|
+
*/
|
|
232
|
+
export declare class InvalidIdFormat extends __BaseException {
|
|
233
|
+
readonly name: "InvalidIdFormat";
|
|
234
|
+
readonly $fault: "client";
|
|
235
|
+
/**
|
|
236
|
+
* @internal
|
|
237
|
+
*/
|
|
238
|
+
constructor(opts: __ExceptionOptionType<InvalidIdFormat, __BaseException>);
|
|
239
|
+
}
|
|
240
|
+
/**
|
|
241
|
+
* <p>Indicates that the specified queue previously received a <code>PurgeQueue</code>
|
|
242
|
+
* request within the last 60 seconds (the time it can take to delete the messages in the
|
|
243
|
+
* queue).</p>
|
|
244
|
+
* @public
|
|
245
|
+
*/
|
|
246
|
+
export declare class PurgeQueueInProgress extends __BaseException {
|
|
247
|
+
readonly name: "PurgeQueueInProgress";
|
|
248
|
+
readonly $fault: "client";
|
|
249
|
+
/**
|
|
250
|
+
* @internal
|
|
251
|
+
*/
|
|
252
|
+
constructor(opts: __ExceptionOptionType<PurgeQueueInProgress, __BaseException>);
|
|
253
|
+
}
|
|
254
|
+
/**
|
|
255
|
+
* <p>The caller doesn't have the required KMS access.</p>
|
|
256
|
+
* @public
|
|
257
|
+
*/
|
|
258
|
+
export declare class KmsAccessDenied extends __BaseException {
|
|
259
|
+
readonly name: "KmsAccessDenied";
|
|
260
|
+
readonly $fault: "client";
|
|
261
|
+
/**
|
|
262
|
+
* @internal
|
|
263
|
+
*/
|
|
264
|
+
constructor(opts: __ExceptionOptionType<KmsAccessDenied, __BaseException>);
|
|
265
|
+
}
|
|
266
|
+
/**
|
|
267
|
+
* <p>The request was denied due to request throttling.</p>
|
|
268
|
+
* @public
|
|
269
|
+
*/
|
|
270
|
+
export declare class KmsDisabled extends __BaseException {
|
|
271
|
+
readonly name: "KmsDisabled";
|
|
272
|
+
readonly $fault: "client";
|
|
273
|
+
/**
|
|
274
|
+
* @internal
|
|
275
|
+
*/
|
|
276
|
+
constructor(opts: __ExceptionOptionType<KmsDisabled, __BaseException>);
|
|
277
|
+
}
|
|
278
|
+
/**
|
|
279
|
+
* <p>The request was rejected for one of the following reasons:</p>
|
|
280
|
+
* <ul>
|
|
281
|
+
* <li>
|
|
282
|
+
* <p>The KeyUsage value of the KMS key is incompatible with the API
|
|
283
|
+
* operation.</p>
|
|
284
|
+
* </li>
|
|
285
|
+
* <li>
|
|
286
|
+
* <p>The encryption algorithm or signing algorithm specified for the operation is
|
|
287
|
+
* incompatible with the type of key material in the KMS key (KeySpec).</p>
|
|
288
|
+
* </li>
|
|
289
|
+
* </ul>
|
|
290
|
+
* @public
|
|
291
|
+
*/
|
|
292
|
+
export declare class KmsInvalidKeyUsage extends __BaseException {
|
|
293
|
+
readonly name: "KmsInvalidKeyUsage";
|
|
294
|
+
readonly $fault: "client";
|
|
295
|
+
/**
|
|
296
|
+
* @internal
|
|
297
|
+
*/
|
|
298
|
+
constructor(opts: __ExceptionOptionType<KmsInvalidKeyUsage, __BaseException>);
|
|
299
|
+
}
|
|
300
|
+
/**
|
|
301
|
+
* <p>The request was rejected because the state of the specified resource is not valid for
|
|
302
|
+
* this request.</p>
|
|
303
|
+
* @public
|
|
304
|
+
*/
|
|
305
|
+
export declare class KmsInvalidState extends __BaseException {
|
|
306
|
+
readonly name: "KmsInvalidState";
|
|
307
|
+
readonly $fault: "client";
|
|
308
|
+
/**
|
|
309
|
+
* @internal
|
|
310
|
+
*/
|
|
311
|
+
constructor(opts: __ExceptionOptionType<KmsInvalidState, __BaseException>);
|
|
312
|
+
}
|
|
313
|
+
/**
|
|
314
|
+
* <p>The request was rejected because the specified entity or resource could not be found.
|
|
315
|
+
* </p>
|
|
316
|
+
* @public
|
|
317
|
+
*/
|
|
318
|
+
export declare class KmsNotFound extends __BaseException {
|
|
319
|
+
readonly name: "KmsNotFound";
|
|
320
|
+
readonly $fault: "client";
|
|
321
|
+
/**
|
|
322
|
+
* @internal
|
|
323
|
+
*/
|
|
324
|
+
constructor(opts: __ExceptionOptionType<KmsNotFound, __BaseException>);
|
|
325
|
+
}
|
|
326
|
+
/**
|
|
327
|
+
* <p>The request was rejected because the specified key policy isn't syntactically or
|
|
328
|
+
* semantically correct.</p>
|
|
329
|
+
* @public
|
|
330
|
+
*/
|
|
331
|
+
export declare class KmsOptInRequired extends __BaseException {
|
|
332
|
+
readonly name: "KmsOptInRequired";
|
|
333
|
+
readonly $fault: "client";
|
|
334
|
+
/**
|
|
335
|
+
* @internal
|
|
336
|
+
*/
|
|
337
|
+
constructor(opts: __ExceptionOptionType<KmsOptInRequired, __BaseException>);
|
|
338
|
+
}
|
|
339
|
+
/**
|
|
340
|
+
* <p>Amazon Web Services KMS throttles requests for the following conditions.</p>
|
|
341
|
+
* @public
|
|
342
|
+
*/
|
|
343
|
+
export declare class KmsThrottled extends __BaseException {
|
|
344
|
+
readonly name: "KmsThrottled";
|
|
345
|
+
readonly $fault: "client";
|
|
346
|
+
/**
|
|
347
|
+
* @internal
|
|
348
|
+
*/
|
|
349
|
+
constructor(opts: __ExceptionOptionType<KmsThrottled, __BaseException>);
|
|
350
|
+
}
|
|
351
|
+
/**
|
|
352
|
+
* <p>The message contains characters outside the allowed set.</p>
|
|
353
|
+
* @public
|
|
354
|
+
*/
|
|
355
|
+
export declare class InvalidMessageContents extends __BaseException {
|
|
356
|
+
readonly name: "InvalidMessageContents";
|
|
357
|
+
readonly $fault: "client";
|
|
358
|
+
/**
|
|
359
|
+
* @internal
|
|
360
|
+
*/
|
|
361
|
+
constructor(opts: __ExceptionOptionType<InvalidMessageContents, __BaseException>);
|
|
362
|
+
}
|
|
363
|
+
/**
|
|
364
|
+
* <p>The length of all the messages put together is more than the limit.</p>
|
|
365
|
+
* @public
|
|
366
|
+
*/
|
|
367
|
+
export declare class BatchRequestTooLong extends __BaseException {
|
|
368
|
+
readonly name: "BatchRequestTooLong";
|
|
369
|
+
readonly $fault: "client";
|
|
370
|
+
/**
|
|
371
|
+
* @internal
|
|
372
|
+
*/
|
|
373
|
+
constructor(opts: __ExceptionOptionType<BatchRequestTooLong, __BaseException>);
|
|
374
|
+
}
|