@aws-sdk/client-sqs 3.1087.0 → 3.1088.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 (43) hide show
  1. package/dist-cjs/index.js +1 -1
  2. package/dist-types/ts3.4/SQS.d.ts +79 -106
  3. package/dist-types/ts3.4/SQSClient.d.ts +23 -57
  4. package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +5 -12
  5. package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +10 -13
  6. package/dist-types/ts3.4/commandBuilder.d.ts +11 -21
  7. package/dist-types/ts3.4/commands/AddPermissionCommand.d.ts +2 -2
  8. package/dist-types/ts3.4/commands/CancelMessageMoveTaskCommand.d.ts +5 -10
  9. package/dist-types/ts3.4/commands/ChangeMessageVisibilityBatchCommand.d.ts +4 -6
  10. package/dist-types/ts3.4/commands/ChangeMessageVisibilityCommand.d.ts +4 -6
  11. package/dist-types/ts3.4/commands/CreateQueueCommand.d.ts +3 -5
  12. package/dist-types/ts3.4/commands/DeleteMessageBatchCommand.d.ts +5 -10
  13. package/dist-types/ts3.4/commands/DeleteMessageCommand.d.ts +2 -2
  14. package/dist-types/ts3.4/commands/DeleteQueueCommand.d.ts +2 -2
  15. package/dist-types/ts3.4/commands/GetQueueAttributesCommand.d.ts +5 -10
  16. package/dist-types/ts3.4/commands/GetQueueUrlCommand.d.ts +3 -5
  17. package/dist-types/ts3.4/commands/ListDeadLetterSourceQueuesCommand.d.ts +4 -6
  18. package/dist-types/ts3.4/commands/ListMessageMoveTasksCommand.d.ts +5 -10
  19. package/dist-types/ts3.4/commands/ListQueueTagsCommand.d.ts +3 -5
  20. package/dist-types/ts3.4/commands/ListQueuesCommand.d.ts +2 -4
  21. package/dist-types/ts3.4/commands/PurgeQueueCommand.d.ts +2 -2
  22. package/dist-types/ts3.4/commands/ReceiveMessageCommand.d.ts +4 -9
  23. package/dist-types/ts3.4/commands/RemovePermissionCommand.d.ts +2 -2
  24. package/dist-types/ts3.4/commands/SendMessageBatchCommand.d.ts +4 -9
  25. package/dist-types/ts3.4/commands/SendMessageCommand.d.ts +3 -5
  26. package/dist-types/ts3.4/commands/SetQueueAttributesCommand.d.ts +3 -4
  27. package/dist-types/ts3.4/commands/StartMessageMoveTaskCommand.d.ts +5 -10
  28. package/dist-types/ts3.4/commands/TagQueueCommand.d.ts +6 -2
  29. package/dist-types/ts3.4/commands/UntagQueueCommand.d.ts +2 -2
  30. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -1
  31. package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +1 -1
  32. package/dist-types/ts3.4/extensionConfiguration.d.ts +2 -1
  33. package/dist-types/ts3.4/models/enums.d.ts +1 -2
  34. package/dist-types/ts3.4/models/errors.d.ts +12 -36
  35. package/dist-types/ts3.4/models/models_0.d.ts +2 -6
  36. package/dist-types/ts3.4/pagination/ListQueuesPaginator.d.ts +1 -4
  37. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +9 -22
  38. package/dist-types/ts3.4/runtimeConfig.d.ts +8 -16
  39. package/dist-types/ts3.4/runtimeConfig.native.d.ts +9 -22
  40. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -1
  41. package/dist-types/ts3.4/runtimeExtensions.d.ts +1 -1
  42. package/dist-types/ts3.4/schemas/schemas_0.d.ts +1 -5
  43. package/package.json +40 -40
package/dist-cjs/index.js CHANGED
@@ -70,7 +70,7 @@ const commonParams = {
70
70
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
71
71
  };
72
72
 
73
- var version = "3.1086.0";
73
+ var version = "3.1087.0";
74
74
  var packageInfo = {
75
75
  version: version};
76
76
 
@@ -19,10 +19,7 @@ import {
19
19
  ChangeMessageVisibilityCommandInput,
20
20
  ChangeMessageVisibilityCommandOutput,
21
21
  } from "./commands/ChangeMessageVisibilityCommand";
22
- import {
23
- CreateQueueCommandInput,
24
- CreateQueueCommandOutput,
25
- } from "./commands/CreateQueueCommand";
22
+ import { CreateQueueCommandInput, CreateQueueCommandOutput } from "./commands/CreateQueueCommand";
26
23
  import {
27
24
  DeleteMessageBatchCommandInput,
28
25
  DeleteMessageBatchCommandOutput,
@@ -31,18 +28,12 @@ import {
31
28
  DeleteMessageCommandInput,
32
29
  DeleteMessageCommandOutput,
33
30
  } from "./commands/DeleteMessageCommand";
34
- import {
35
- DeleteQueueCommandInput,
36
- DeleteQueueCommandOutput,
37
- } from "./commands/DeleteQueueCommand";
31
+ import { DeleteQueueCommandInput, DeleteQueueCommandOutput } from "./commands/DeleteQueueCommand";
38
32
  import {
39
33
  GetQueueAttributesCommandInput,
40
34
  GetQueueAttributesCommandOutput,
41
35
  } from "./commands/GetQueueAttributesCommand";
42
- import {
43
- GetQueueUrlCommandInput,
44
- GetQueueUrlCommandOutput,
45
- } from "./commands/GetQueueUrlCommand";
36
+ import { GetQueueUrlCommandInput, GetQueueUrlCommandOutput } from "./commands/GetQueueUrlCommand";
46
37
  import {
47
38
  ListDeadLetterSourceQueuesCommandInput,
48
39
  ListDeadLetterSourceQueuesCommandOutput,
@@ -51,18 +42,12 @@ import {
51
42
  ListMessageMoveTasksCommandInput,
52
43
  ListMessageMoveTasksCommandOutput,
53
44
  } from "./commands/ListMessageMoveTasksCommand";
54
- import {
55
- ListQueuesCommandInput,
56
- ListQueuesCommandOutput,
57
- } from "./commands/ListQueuesCommand";
45
+ import { ListQueuesCommandInput, ListQueuesCommandOutput } from "./commands/ListQueuesCommand";
58
46
  import {
59
47
  ListQueueTagsCommandInput,
60
48
  ListQueueTagsCommandOutput,
61
49
  } from "./commands/ListQueueTagsCommand";
62
- import {
63
- PurgeQueueCommandInput,
64
- PurgeQueueCommandOutput,
65
- } from "./commands/PurgeQueueCommand";
50
+ import { PurgeQueueCommandInput, PurgeQueueCommandOutput } from "./commands/PurgeQueueCommand";
66
51
  import {
67
52
  ReceiveMessageCommandInput,
68
53
  ReceiveMessageCommandOutput,
@@ -75,10 +60,7 @@ import {
75
60
  SendMessageBatchCommandInput,
76
61
  SendMessageBatchCommandOutput,
77
62
  } from "./commands/SendMessageBatchCommand";
78
- import {
79
- SendMessageCommandInput,
80
- SendMessageCommandOutput,
81
- } from "./commands/SendMessageCommand";
63
+ import { SendMessageCommandInput, SendMessageCommandOutput } from "./commands/SendMessageCommand";
82
64
  import {
83
65
  SetQueueAttributesCommandInput,
84
66
  SetQueueAttributesCommandOutput,
@@ -87,329 +69,320 @@ import {
87
69
  StartMessageMoveTaskCommandInput,
88
70
  StartMessageMoveTaskCommandOutput,
89
71
  } from "./commands/StartMessageMoveTaskCommand";
90
- import {
91
- TagQueueCommandInput,
92
- TagQueueCommandOutput,
93
- } from "./commands/TagQueueCommand";
94
- import {
95
- UntagQueueCommandInput,
96
- UntagQueueCommandOutput,
97
- } from "./commands/UntagQueueCommand";
72
+ import { TagQueueCommandInput, TagQueueCommandOutput } from "./commands/TagQueueCommand";
73
+ import { UntagQueueCommandInput, UntagQueueCommandOutput } from "./commands/UntagQueueCommand";
98
74
  import { SQSClient } from "./SQSClient";
99
75
  export interface SQS {
100
76
  addPermission(
101
77
  args: AddPermissionCommandInput,
102
- options?: __HttpHandlerOptions
78
+ options?: __HttpHandlerOptions,
103
79
  ): Promise<AddPermissionCommandOutput>;
104
80
  addPermission(
105
81
  args: AddPermissionCommandInput,
106
- cb: (err: any, data?: AddPermissionCommandOutput) => void
82
+ cb: (err: any, data?: AddPermissionCommandOutput) => void,
107
83
  ): void;
108
84
  addPermission(
109
85
  args: AddPermissionCommandInput,
110
86
  options: __HttpHandlerOptions,
111
- cb: (err: any, data?: AddPermissionCommandOutput) => void
87
+ cb: (err: any, data?: AddPermissionCommandOutput) => void,
112
88
  ): void;
113
89
  cancelMessageMoveTask(
114
90
  args: CancelMessageMoveTaskCommandInput,
115
- options?: __HttpHandlerOptions
91
+ options?: __HttpHandlerOptions,
116
92
  ): Promise<CancelMessageMoveTaskCommandOutput>;
117
93
  cancelMessageMoveTask(
118
94
  args: CancelMessageMoveTaskCommandInput,
119
- cb: (err: any, data?: CancelMessageMoveTaskCommandOutput) => void
95
+ cb: (err: any, data?: CancelMessageMoveTaskCommandOutput) => void,
120
96
  ): void;
121
97
  cancelMessageMoveTask(
122
98
  args: CancelMessageMoveTaskCommandInput,
123
99
  options: __HttpHandlerOptions,
124
- cb: (err: any, data?: CancelMessageMoveTaskCommandOutput) => void
100
+ cb: (err: any, data?: CancelMessageMoveTaskCommandOutput) => void,
125
101
  ): void;
126
102
  changeMessageVisibility(
127
103
  args: ChangeMessageVisibilityCommandInput,
128
- options?: __HttpHandlerOptions
104
+ options?: __HttpHandlerOptions,
129
105
  ): Promise<ChangeMessageVisibilityCommandOutput>;
130
106
  changeMessageVisibility(
131
107
  args: ChangeMessageVisibilityCommandInput,
132
- cb: (err: any, data?: ChangeMessageVisibilityCommandOutput) => void
108
+ cb: (err: any, data?: ChangeMessageVisibilityCommandOutput) => void,
133
109
  ): void;
134
110
  changeMessageVisibility(
135
111
  args: ChangeMessageVisibilityCommandInput,
136
112
  options: __HttpHandlerOptions,
137
- cb: (err: any, data?: ChangeMessageVisibilityCommandOutput) => void
113
+ cb: (err: any, data?: ChangeMessageVisibilityCommandOutput) => void,
138
114
  ): void;
139
115
  changeMessageVisibilityBatch(
140
116
  args: ChangeMessageVisibilityBatchCommandInput,
141
- options?: __HttpHandlerOptions
117
+ options?: __HttpHandlerOptions,
142
118
  ): Promise<ChangeMessageVisibilityBatchCommandOutput>;
143
119
  changeMessageVisibilityBatch(
144
120
  args: ChangeMessageVisibilityBatchCommandInput,
145
- cb: (err: any, data?: ChangeMessageVisibilityBatchCommandOutput) => void
121
+ cb: (err: any, data?: ChangeMessageVisibilityBatchCommandOutput) => void,
146
122
  ): void;
147
123
  changeMessageVisibilityBatch(
148
124
  args: ChangeMessageVisibilityBatchCommandInput,
149
125
  options: __HttpHandlerOptions,
150
- cb: (err: any, data?: ChangeMessageVisibilityBatchCommandOutput) => void
126
+ cb: (err: any, data?: ChangeMessageVisibilityBatchCommandOutput) => void,
151
127
  ): void;
152
128
  createQueue(
153
129
  args: CreateQueueCommandInput,
154
- options?: __HttpHandlerOptions
130
+ options?: __HttpHandlerOptions,
155
131
  ): Promise<CreateQueueCommandOutput>;
156
132
  createQueue(
157
133
  args: CreateQueueCommandInput,
158
- cb: (err: any, data?: CreateQueueCommandOutput) => void
134
+ cb: (err: any, data?: CreateQueueCommandOutput) => void,
159
135
  ): void;
160
136
  createQueue(
161
137
  args: CreateQueueCommandInput,
162
138
  options: __HttpHandlerOptions,
163
- cb: (err: any, data?: CreateQueueCommandOutput) => void
139
+ cb: (err: any, data?: CreateQueueCommandOutput) => void,
164
140
  ): void;
165
141
  deleteMessage(
166
142
  args: DeleteMessageCommandInput,
167
- options?: __HttpHandlerOptions
143
+ options?: __HttpHandlerOptions,
168
144
  ): Promise<DeleteMessageCommandOutput>;
169
145
  deleteMessage(
170
146
  args: DeleteMessageCommandInput,
171
- cb: (err: any, data?: DeleteMessageCommandOutput) => void
147
+ cb: (err: any, data?: DeleteMessageCommandOutput) => void,
172
148
  ): void;
173
149
  deleteMessage(
174
150
  args: DeleteMessageCommandInput,
175
151
  options: __HttpHandlerOptions,
176
- cb: (err: any, data?: DeleteMessageCommandOutput) => void
152
+ cb: (err: any, data?: DeleteMessageCommandOutput) => void,
177
153
  ): void;
178
154
  deleteMessageBatch(
179
155
  args: DeleteMessageBatchCommandInput,
180
- options?: __HttpHandlerOptions
156
+ options?: __HttpHandlerOptions,
181
157
  ): Promise<DeleteMessageBatchCommandOutput>;
182
158
  deleteMessageBatch(
183
159
  args: DeleteMessageBatchCommandInput,
184
- cb: (err: any, data?: DeleteMessageBatchCommandOutput) => void
160
+ cb: (err: any, data?: DeleteMessageBatchCommandOutput) => void,
185
161
  ): void;
186
162
  deleteMessageBatch(
187
163
  args: DeleteMessageBatchCommandInput,
188
164
  options: __HttpHandlerOptions,
189
- cb: (err: any, data?: DeleteMessageBatchCommandOutput) => void
165
+ cb: (err: any, data?: DeleteMessageBatchCommandOutput) => void,
190
166
  ): void;
191
167
  deleteQueue(
192
168
  args: DeleteQueueCommandInput,
193
- options?: __HttpHandlerOptions
169
+ options?: __HttpHandlerOptions,
194
170
  ): Promise<DeleteQueueCommandOutput>;
195
171
  deleteQueue(
196
172
  args: DeleteQueueCommandInput,
197
- cb: (err: any, data?: DeleteQueueCommandOutput) => void
173
+ cb: (err: any, data?: DeleteQueueCommandOutput) => void,
198
174
  ): void;
199
175
  deleteQueue(
200
176
  args: DeleteQueueCommandInput,
201
177
  options: __HttpHandlerOptions,
202
- cb: (err: any, data?: DeleteQueueCommandOutput) => void
178
+ cb: (err: any, data?: DeleteQueueCommandOutput) => void,
203
179
  ): void;
204
180
  getQueueAttributes(
205
181
  args: GetQueueAttributesCommandInput,
206
- options?: __HttpHandlerOptions
182
+ options?: __HttpHandlerOptions,
207
183
  ): Promise<GetQueueAttributesCommandOutput>;
208
184
  getQueueAttributes(
209
185
  args: GetQueueAttributesCommandInput,
210
- cb: (err: any, data?: GetQueueAttributesCommandOutput) => void
186
+ cb: (err: any, data?: GetQueueAttributesCommandOutput) => void,
211
187
  ): void;
212
188
  getQueueAttributes(
213
189
  args: GetQueueAttributesCommandInput,
214
190
  options: __HttpHandlerOptions,
215
- cb: (err: any, data?: GetQueueAttributesCommandOutput) => void
191
+ cb: (err: any, data?: GetQueueAttributesCommandOutput) => void,
216
192
  ): void;
217
193
  getQueueUrl(
218
194
  args: GetQueueUrlCommandInput,
219
- options?: __HttpHandlerOptions
195
+ options?: __HttpHandlerOptions,
220
196
  ): Promise<GetQueueUrlCommandOutput>;
221
197
  getQueueUrl(
222
198
  args: GetQueueUrlCommandInput,
223
- cb: (err: any, data?: GetQueueUrlCommandOutput) => void
199
+ cb: (err: any, data?: GetQueueUrlCommandOutput) => void,
224
200
  ): void;
225
201
  getQueueUrl(
226
202
  args: GetQueueUrlCommandInput,
227
203
  options: __HttpHandlerOptions,
228
- cb: (err: any, data?: GetQueueUrlCommandOutput) => void
204
+ cb: (err: any, data?: GetQueueUrlCommandOutput) => void,
229
205
  ): void;
230
206
  listDeadLetterSourceQueues(
231
207
  args: ListDeadLetterSourceQueuesCommandInput,
232
- options?: __HttpHandlerOptions
208
+ options?: __HttpHandlerOptions,
233
209
  ): Promise<ListDeadLetterSourceQueuesCommandOutput>;
234
210
  listDeadLetterSourceQueues(
235
211
  args: ListDeadLetterSourceQueuesCommandInput,
236
- cb: (err: any, data?: ListDeadLetterSourceQueuesCommandOutput) => void
212
+ cb: (err: any, data?: ListDeadLetterSourceQueuesCommandOutput) => void,
237
213
  ): void;
238
214
  listDeadLetterSourceQueues(
239
215
  args: ListDeadLetterSourceQueuesCommandInput,
240
216
  options: __HttpHandlerOptions,
241
- cb: (err: any, data?: ListDeadLetterSourceQueuesCommandOutput) => void
217
+ cb: (err: any, data?: ListDeadLetterSourceQueuesCommandOutput) => void,
242
218
  ): void;
243
219
  listMessageMoveTasks(
244
220
  args: ListMessageMoveTasksCommandInput,
245
- options?: __HttpHandlerOptions
221
+ options?: __HttpHandlerOptions,
246
222
  ): Promise<ListMessageMoveTasksCommandOutput>;
247
223
  listMessageMoveTasks(
248
224
  args: ListMessageMoveTasksCommandInput,
249
- cb: (err: any, data?: ListMessageMoveTasksCommandOutput) => void
225
+ cb: (err: any, data?: ListMessageMoveTasksCommandOutput) => void,
250
226
  ): void;
251
227
  listMessageMoveTasks(
252
228
  args: ListMessageMoveTasksCommandInput,
253
229
  options: __HttpHandlerOptions,
254
- cb: (err: any, data?: ListMessageMoveTasksCommandOutput) => void
230
+ cb: (err: any, data?: ListMessageMoveTasksCommandOutput) => void,
255
231
  ): void;
256
232
  listQueues(): Promise<ListQueuesCommandOutput>;
257
233
  listQueues(
258
234
  args: ListQueuesCommandInput,
259
- options?: __HttpHandlerOptions
235
+ options?: __HttpHandlerOptions,
260
236
  ): Promise<ListQueuesCommandOutput>;
261
237
  listQueues(
262
238
  args: ListQueuesCommandInput,
263
- cb: (err: any, data?: ListQueuesCommandOutput) => void
239
+ cb: (err: any, data?: ListQueuesCommandOutput) => void,
264
240
  ): void;
265
241
  listQueues(
266
242
  args: ListQueuesCommandInput,
267
243
  options: __HttpHandlerOptions,
268
- cb: (err: any, data?: ListQueuesCommandOutput) => void
244
+ cb: (err: any, data?: ListQueuesCommandOutput) => void,
269
245
  ): void;
270
246
  listQueueTags(
271
247
  args: ListQueueTagsCommandInput,
272
- options?: __HttpHandlerOptions
248
+ options?: __HttpHandlerOptions,
273
249
  ): Promise<ListQueueTagsCommandOutput>;
274
250
  listQueueTags(
275
251
  args: ListQueueTagsCommandInput,
276
- cb: (err: any, data?: ListQueueTagsCommandOutput) => void
252
+ cb: (err: any, data?: ListQueueTagsCommandOutput) => void,
277
253
  ): void;
278
254
  listQueueTags(
279
255
  args: ListQueueTagsCommandInput,
280
256
  options: __HttpHandlerOptions,
281
- cb: (err: any, data?: ListQueueTagsCommandOutput) => void
257
+ cb: (err: any, data?: ListQueueTagsCommandOutput) => void,
282
258
  ): void;
283
259
  purgeQueue(
284
260
  args: PurgeQueueCommandInput,
285
- options?: __HttpHandlerOptions
261
+ options?: __HttpHandlerOptions,
286
262
  ): Promise<PurgeQueueCommandOutput>;
287
263
  purgeQueue(
288
264
  args: PurgeQueueCommandInput,
289
- cb: (err: any, data?: PurgeQueueCommandOutput) => void
265
+ cb: (err: any, data?: PurgeQueueCommandOutput) => void,
290
266
  ): void;
291
267
  purgeQueue(
292
268
  args: PurgeQueueCommandInput,
293
269
  options: __HttpHandlerOptions,
294
- cb: (err: any, data?: PurgeQueueCommandOutput) => void
270
+ cb: (err: any, data?: PurgeQueueCommandOutput) => void,
295
271
  ): void;
296
272
  receiveMessage(
297
273
  args: ReceiveMessageCommandInput,
298
- options?: __HttpHandlerOptions
274
+ options?: __HttpHandlerOptions,
299
275
  ): Promise<ReceiveMessageCommandOutput>;
300
276
  receiveMessage(
301
277
  args: ReceiveMessageCommandInput,
302
- cb: (err: any, data?: ReceiveMessageCommandOutput) => void
278
+ cb: (err: any, data?: ReceiveMessageCommandOutput) => void,
303
279
  ): void;
304
280
  receiveMessage(
305
281
  args: ReceiveMessageCommandInput,
306
282
  options: __HttpHandlerOptions,
307
- cb: (err: any, data?: ReceiveMessageCommandOutput) => void
283
+ cb: (err: any, data?: ReceiveMessageCommandOutput) => void,
308
284
  ): void;
309
285
  removePermission(
310
286
  args: RemovePermissionCommandInput,
311
- options?: __HttpHandlerOptions
287
+ options?: __HttpHandlerOptions,
312
288
  ): Promise<RemovePermissionCommandOutput>;
313
289
  removePermission(
314
290
  args: RemovePermissionCommandInput,
315
- cb: (err: any, data?: RemovePermissionCommandOutput) => void
291
+ cb: (err: any, data?: RemovePermissionCommandOutput) => void,
316
292
  ): void;
317
293
  removePermission(
318
294
  args: RemovePermissionCommandInput,
319
295
  options: __HttpHandlerOptions,
320
- cb: (err: any, data?: RemovePermissionCommandOutput) => void
296
+ cb: (err: any, data?: RemovePermissionCommandOutput) => void,
321
297
  ): void;
322
298
  sendMessage(
323
299
  args: SendMessageCommandInput,
324
- options?: __HttpHandlerOptions
300
+ options?: __HttpHandlerOptions,
325
301
  ): Promise<SendMessageCommandOutput>;
326
302
  sendMessage(
327
303
  args: SendMessageCommandInput,
328
- cb: (err: any, data?: SendMessageCommandOutput) => void
304
+ cb: (err: any, data?: SendMessageCommandOutput) => void,
329
305
  ): void;
330
306
  sendMessage(
331
307
  args: SendMessageCommandInput,
332
308
  options: __HttpHandlerOptions,
333
- cb: (err: any, data?: SendMessageCommandOutput) => void
309
+ cb: (err: any, data?: SendMessageCommandOutput) => void,
334
310
  ): void;
335
311
  sendMessageBatch(
336
312
  args: SendMessageBatchCommandInput,
337
- options?: __HttpHandlerOptions
313
+ options?: __HttpHandlerOptions,
338
314
  ): Promise<SendMessageBatchCommandOutput>;
339
315
  sendMessageBatch(
340
316
  args: SendMessageBatchCommandInput,
341
- cb: (err: any, data?: SendMessageBatchCommandOutput) => void
317
+ cb: (err: any, data?: SendMessageBatchCommandOutput) => void,
342
318
  ): void;
343
319
  sendMessageBatch(
344
320
  args: SendMessageBatchCommandInput,
345
321
  options: __HttpHandlerOptions,
346
- cb: (err: any, data?: SendMessageBatchCommandOutput) => void
322
+ cb: (err: any, data?: SendMessageBatchCommandOutput) => void,
347
323
  ): void;
348
324
  setQueueAttributes(
349
325
  args: SetQueueAttributesCommandInput,
350
- options?: __HttpHandlerOptions
326
+ options?: __HttpHandlerOptions,
351
327
  ): Promise<SetQueueAttributesCommandOutput>;
352
328
  setQueueAttributes(
353
329
  args: SetQueueAttributesCommandInput,
354
- cb: (err: any, data?: SetQueueAttributesCommandOutput) => void
330
+ cb: (err: any, data?: SetQueueAttributesCommandOutput) => void,
355
331
  ): void;
356
332
  setQueueAttributes(
357
333
  args: SetQueueAttributesCommandInput,
358
334
  options: __HttpHandlerOptions,
359
- cb: (err: any, data?: SetQueueAttributesCommandOutput) => void
335
+ cb: (err: any, data?: SetQueueAttributesCommandOutput) => void,
360
336
  ): void;
361
337
  startMessageMoveTask(
362
338
  args: StartMessageMoveTaskCommandInput,
363
- options?: __HttpHandlerOptions
339
+ options?: __HttpHandlerOptions,
364
340
  ): Promise<StartMessageMoveTaskCommandOutput>;
365
341
  startMessageMoveTask(
366
342
  args: StartMessageMoveTaskCommandInput,
367
- cb: (err: any, data?: StartMessageMoveTaskCommandOutput) => void
343
+ cb: (err: any, data?: StartMessageMoveTaskCommandOutput) => void,
368
344
  ): void;
369
345
  startMessageMoveTask(
370
346
  args: StartMessageMoveTaskCommandInput,
371
347
  options: __HttpHandlerOptions,
372
- cb: (err: any, data?: StartMessageMoveTaskCommandOutput) => void
348
+ cb: (err: any, data?: StartMessageMoveTaskCommandOutput) => void,
373
349
  ): void;
374
350
  tagQueue(
375
351
  args: TagQueueCommandInput,
376
- options?: __HttpHandlerOptions
352
+ options?: __HttpHandlerOptions,
377
353
  ): Promise<TagQueueCommandOutput>;
378
- tagQueue(
379
- args: TagQueueCommandInput,
380
- cb: (err: any, data?: TagQueueCommandOutput) => void
381
- ): void;
354
+ tagQueue(args: TagQueueCommandInput, cb: (err: any, data?: TagQueueCommandOutput) => void): void;
382
355
  tagQueue(
383
356
  args: TagQueueCommandInput,
384
357
  options: __HttpHandlerOptions,
385
- cb: (err: any, data?: TagQueueCommandOutput) => void
358
+ cb: (err: any, data?: TagQueueCommandOutput) => void,
386
359
  ): void;
387
360
  untagQueue(
388
361
  args: UntagQueueCommandInput,
389
- options?: __HttpHandlerOptions
362
+ options?: __HttpHandlerOptions,
390
363
  ): Promise<UntagQueueCommandOutput>;
391
364
  untagQueue(
392
365
  args: UntagQueueCommandInput,
393
- cb: (err: any, data?: UntagQueueCommandOutput) => void
366
+ cb: (err: any, data?: UntagQueueCommandOutput) => void,
394
367
  ): void;
395
368
  untagQueue(
396
369
  args: UntagQueueCommandInput,
397
370
  options: __HttpHandlerOptions,
398
- cb: (err: any, data?: UntagQueueCommandOutput) => void
371
+ cb: (err: any, data?: UntagQueueCommandOutput) => void,
399
372
  ): void;
400
373
  paginateListDeadLetterSourceQueues(
401
374
  args: ListDeadLetterSourceQueuesCommandInput,
402
375
  paginationConfig?: Pick<
403
376
  PaginationConfiguration,
404
377
  Exclude<keyof PaginationConfiguration, "client">
405
- >
378
+ >,
406
379
  ): Paginator<ListDeadLetterSourceQueuesCommandOutput>;
407
380
  paginateListQueues(
408
381
  args?: ListQueuesCommandInput,
409
382
  paginationConfig?: Pick<
410
383
  PaginationConfiguration,
411
384
  Exclude<keyof PaginationConfiguration, "client">
412
- >
385
+ >,
413
386
  ): Paginator<ListQueuesCommandOutput>;
414
387
  }
415
388
  export declare class SQS extends SQSClient implements SQS {}
@@ -4,10 +4,7 @@ import {
4
4
  UserAgentInputConfig,
5
5
  UserAgentResolvedConfig,
6
6
  } from "@aws-sdk/core/client";
7
- import {
8
- QueueUrlInputConfig,
9
- QueueUrlResolvedConfig,
10
- } from "@aws-sdk/middleware-sdk-sqs";
7
+ import { QueueUrlInputConfig, QueueUrlResolvedConfig } from "@aws-sdk/middleware-sdk-sqs";
11
8
  import {
12
9
  DefaultsMode as __DefaultsMode,
13
10
  SmithyConfiguration as __SmithyConfiguration,
@@ -15,10 +12,7 @@ import {
15
12
  Client as __Client,
16
13
  } from "@smithy/core/client";
17
14
  import { RegionInputConfig, RegionResolvedConfig } from "@smithy/core/config";
18
- import {
19
- EndpointInputConfig,
20
- EndpointResolvedConfig,
21
- } from "@smithy/core/endpoints";
15
+ import { EndpointInputConfig, EndpointResolvedConfig } from "@smithy/core/endpoints";
22
16
  import { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/core/protocols";
23
17
  import { RetryInputConfig, RetryResolvedConfig } from "@smithy/core/retry";
24
18
  import {
@@ -56,10 +50,7 @@ import {
56
50
  ChangeMessageVisibilityCommandInput,
57
51
  ChangeMessageVisibilityCommandOutput,
58
52
  } from "./commands/ChangeMessageVisibilityCommand";
59
- import {
60
- CreateQueueCommandInput,
61
- CreateQueueCommandOutput,
62
- } from "./commands/CreateQueueCommand";
53
+ import { CreateQueueCommandInput, CreateQueueCommandOutput } from "./commands/CreateQueueCommand";
63
54
  import {
64
55
  DeleteMessageBatchCommandInput,
65
56
  DeleteMessageBatchCommandOutput,
@@ -68,18 +59,12 @@ import {
68
59
  DeleteMessageCommandInput,
69
60
  DeleteMessageCommandOutput,
70
61
  } from "./commands/DeleteMessageCommand";
71
- import {
72
- DeleteQueueCommandInput,
73
- DeleteQueueCommandOutput,
74
- } from "./commands/DeleteQueueCommand";
62
+ import { DeleteQueueCommandInput, DeleteQueueCommandOutput } from "./commands/DeleteQueueCommand";
75
63
  import {
76
64
  GetQueueAttributesCommandInput,
77
65
  GetQueueAttributesCommandOutput,
78
66
  } from "./commands/GetQueueAttributesCommand";
79
- import {
80
- GetQueueUrlCommandInput,
81
- GetQueueUrlCommandOutput,
82
- } from "./commands/GetQueueUrlCommand";
67
+ import { GetQueueUrlCommandInput, GetQueueUrlCommandOutput } from "./commands/GetQueueUrlCommand";
83
68
  import {
84
69
  ListDeadLetterSourceQueuesCommandInput,
85
70
  ListDeadLetterSourceQueuesCommandOutput,
@@ -88,18 +73,12 @@ import {
88
73
  ListMessageMoveTasksCommandInput,
89
74
  ListMessageMoveTasksCommandOutput,
90
75
  } from "./commands/ListMessageMoveTasksCommand";
91
- import {
92
- ListQueuesCommandInput,
93
- ListQueuesCommandOutput,
94
- } from "./commands/ListQueuesCommand";
76
+ import { ListQueuesCommandInput, ListQueuesCommandOutput } from "./commands/ListQueuesCommand";
95
77
  import {
96
78
  ListQueueTagsCommandInput,
97
79
  ListQueueTagsCommandOutput,
98
80
  } from "./commands/ListQueueTagsCommand";
99
- import {
100
- PurgeQueueCommandInput,
101
- PurgeQueueCommandOutput,
102
- } from "./commands/PurgeQueueCommand";
81
+ import { PurgeQueueCommandInput, PurgeQueueCommandOutput } from "./commands/PurgeQueueCommand";
103
82
  import {
104
83
  ReceiveMessageCommandInput,
105
84
  ReceiveMessageCommandOutput,
@@ -112,10 +91,7 @@ import {
112
91
  SendMessageBatchCommandInput,
113
92
  SendMessageBatchCommandOutput,
114
93
  } from "./commands/SendMessageBatchCommand";
115
- import {
116
- SendMessageCommandInput,
117
- SendMessageCommandOutput,
118
- } from "./commands/SendMessageCommand";
94
+ import { SendMessageCommandInput, SendMessageCommandOutput } from "./commands/SendMessageCommand";
119
95
  import {
120
96
  SetQueueAttributesCommandInput,
121
97
  SetQueueAttributesCommandOutput,
@@ -124,14 +100,8 @@ import {
124
100
  StartMessageMoveTaskCommandInput,
125
101
  StartMessageMoveTaskCommandOutput,
126
102
  } from "./commands/StartMessageMoveTaskCommand";
127
- import {
128
- TagQueueCommandInput,
129
- TagQueueCommandOutput,
130
- } from "./commands/TagQueueCommand";
131
- import {
132
- UntagQueueCommandInput,
133
- UntagQueueCommandOutput,
134
- } from "./commands/UntagQueueCommand";
103
+ import { TagQueueCommandInput, TagQueueCommandOutput } from "./commands/TagQueueCommand";
104
+ import { UntagQueueCommandInput, UntagQueueCommandOutput } from "./commands/UntagQueueCommand";
135
105
  import {
136
106
  ClientInputEndpointParameters,
137
107
  ClientResolvedEndpointParameters,
@@ -187,8 +157,7 @@ export type ServiceOutputTypes =
187
157
  | StartMessageMoveTaskCommandOutput
188
158
  | TagQueueCommandOutput
189
159
  | UntagQueueCommandOutput;
190
- export interface ClientDefaults
191
- extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> {
160
+ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> {
192
161
  requestHandler?: __HttpHandlerUserInput;
193
162
  sha256?: __ChecksumConstructor | __HashConstructor;
194
163
  urlParser?: __UrlParser;
@@ -214,9 +183,7 @@ export interface ClientDefaults
214
183
  extensions?: RuntimeExtension[];
215
184
  defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
216
185
  }
217
- export type SQSClientConfigType = Partial<
218
- __SmithyConfiguration<__HttpHandlerOptions>
219
- > &
186
+ export type SQSClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> &
220
187
  ClientDefaults &
221
188
  UserAgentInputConfig &
222
189
  RetryInputConfig &
@@ -227,18 +194,17 @@ export type SQSClientConfigType = Partial<
227
194
  HttpAuthSchemeInputConfig &
228
195
  ClientInputEndpointParameters;
229
196
  export interface SQSClientConfig extends SQSClientConfigType {}
230
- export type SQSClientResolvedConfigType =
231
- __SmithyResolvedConfiguration<__HttpHandlerOptions> &
232
- Required<ClientDefaults> &
233
- RuntimeExtensionsConfig &
234
- UserAgentResolvedConfig &
235
- RetryResolvedConfig &
236
- RegionResolvedConfig &
237
- HostHeaderResolvedConfig &
238
- EndpointResolvedConfig<EndpointParameters> &
239
- QueueUrlResolvedConfig &
240
- HttpAuthSchemeResolvedConfig &
241
- ClientResolvedEndpointParameters;
197
+ export type SQSClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> &
198
+ Required<ClientDefaults> &
199
+ RuntimeExtensionsConfig &
200
+ UserAgentResolvedConfig &
201
+ RetryResolvedConfig &
202
+ RegionResolvedConfig &
203
+ HostHeaderResolvedConfig &
204
+ EndpointResolvedConfig<EndpointParameters> &
205
+ QueueUrlResolvedConfig &
206
+ HttpAuthSchemeResolvedConfig &
207
+ ClientResolvedEndpointParameters;
242
208
  export interface SQSClientResolvedConfig extends SQSClientResolvedConfigType {}
243
209
  export declare class SQSClient extends __Client<
244
210
  __HttpHandlerOptions,
@@ -7,17 +7,10 @@ import { SQSHttpAuthSchemeProvider } from "./httpAuthSchemeProvider";
7
7
  export interface HttpAuthExtensionConfiguration {
8
8
  setHttpAuthScheme(httpAuthScheme: HttpAuthScheme): void;
9
9
  httpAuthSchemes(): HttpAuthScheme[];
10
- setHttpAuthSchemeProvider(
11
- httpAuthSchemeProvider: SQSHttpAuthSchemeProvider
12
- ): void;
10
+ setHttpAuthSchemeProvider(httpAuthSchemeProvider: SQSHttpAuthSchemeProvider): void;
13
11
  httpAuthSchemeProvider(): SQSHttpAuthSchemeProvider;
14
- setCredentials(
15
- credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider
16
- ): void;
17
- credentials():
18
- | AwsCredentialIdentity
19
- | AwsCredentialIdentityProvider
20
- | undefined;
12
+ setCredentials(credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider): void;
13
+ credentials(): AwsCredentialIdentity | AwsCredentialIdentityProvider | undefined;
21
14
  }
22
15
  export type HttpAuthRuntimeConfig = Partial<{
23
16
  httpAuthSchemes: HttpAuthScheme[];
@@ -25,8 +18,8 @@ export type HttpAuthRuntimeConfig = Partial<{
25
18
  credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider;
26
19
  }>;
27
20
  export declare const getHttpAuthExtensionConfiguration: (
28
- runtimeConfig: HttpAuthRuntimeConfig
21
+ runtimeConfig: HttpAuthRuntimeConfig,
29
22
  ) => HttpAuthExtensionConfiguration;
30
23
  export declare const resolveHttpAuthRuntimeConfig: (
31
- config: HttpAuthExtensionConfiguration
24
+ config: HttpAuthExtensionConfiguration,
32
25
  ) => HttpAuthRuntimeConfig;