@aws-sdk/client-sqs 3.1136.0 → 3.1138.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 +3 -3
- package/dist-es/schemas/schemas_0.js +2 -2
- package/dist-types/SQS.d.ts +53 -47
- package/dist-types/ts3.4/SQS.d.ts +50 -49
- package/package.json +9 -9
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.
|
|
73
|
+
var version = "3.1137.0";
|
|
74
74
|
var packageInfo = {
|
|
75
75
|
version: version};
|
|
76
76
|
|
|
@@ -675,10 +675,10 @@ const _t = "tags";
|
|
|
675
675
|
const _xF = "xmlFlattened";
|
|
676
676
|
const _xN = "xmlName";
|
|
677
677
|
const n0 = "com.amazonaws.sqs";
|
|
678
|
-
const _s_registry = TypeRegistry
|
|
678
|
+
const _s_registry = new TypeRegistry(_s);
|
|
679
679
|
var SQSServiceException$ = [-3, _s, "SQSServiceException", 0, [], []];
|
|
680
680
|
_s_registry.registerError(SQSServiceException$, SQSServiceException);
|
|
681
|
-
const n0_registry = TypeRegistry
|
|
681
|
+
const n0_registry = new TypeRegistry(n0);
|
|
682
682
|
var BatchEntryIdsNotDistinct$ = [-3, n0, _BEIND,
|
|
683
683
|
{ [_aQE]: [`AWS.SimpleQueueService.BatchEntryIdsNotDistinct`, 400], [_e]: _c, [_hE]: 400 },
|
|
684
684
|
[_m],
|
|
@@ -197,10 +197,10 @@ const n0 = "com.amazonaws.sqs";
|
|
|
197
197
|
import { TypeRegistry } from "@smithy/core/schema";
|
|
198
198
|
import { BatchEntryIdsNotDistinct, BatchRequestTooLong, EmptyBatchRequest, InvalidAddress, InvalidAttributeName, InvalidAttributeValue, InvalidBatchEntryId, InvalidIdFormat, InvalidMessageContents, InvalidSecurity, KmsAccessDenied, KmsDisabled, KmsInvalidKeyUsage, KmsInvalidState, KmsNotFound, KmsOptInRequired, KmsThrottled, MessageNotInflight, OverLimit, PurgeQueueInProgress, QueueDeletedRecently, QueueDoesNotExist, QueueNameExists, ReceiptHandleIsInvalid, RequestThrottled, ResourceNotFoundException, TooManyEntriesInBatchRequest, UnsupportedOperation, } from "../models/errors";
|
|
199
199
|
import { SQSServiceException } from "../models/SQSServiceException";
|
|
200
|
-
const _s_registry = TypeRegistry
|
|
200
|
+
const _s_registry = new TypeRegistry(_s);
|
|
201
201
|
export var SQSServiceException$ = [-3, _s, "SQSServiceException", 0, [], []];
|
|
202
202
|
_s_registry.registerError(SQSServiceException$, SQSServiceException);
|
|
203
|
-
const n0_registry = TypeRegistry
|
|
203
|
+
const n0_registry = new TypeRegistry(n0);
|
|
204
204
|
export var BatchEntryIdsNotDistinct$ = [-3, n0, _BEIND,
|
|
205
205
|
{ [_aQE]: [`AWS.SimpleQueueService.BatchEntryIdsNotDistinct`, 400], [_e]: _c, [_hE]: 400 },
|
|
206
206
|
[_m],
|
package/dist-types/SQS.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { HttpHandlerOptions as __HttpHandlerOptions, PaginationConfiguration, Paginator } from "@smithy/types";
|
|
1
|
+
import type { HttpHandlerOptions as __HttpHandlerOptions, MetricsRecorder as __MetricsRecorder, PaginationConfiguration, Paginator } from "@smithy/types";
|
|
2
2
|
import { type AddPermissionCommandInput, type AddPermissionCommandOutput } from "./commands/AddPermissionCommand";
|
|
3
3
|
import { type CancelMessageMoveTaskCommandInput, type CancelMessageMoveTaskCommandOutput } from "./commands/CancelMessageMoveTaskCommand";
|
|
4
4
|
import { type ChangeMessageVisibilityBatchCommandInput, type ChangeMessageVisibilityBatchCommandOutput } from "./commands/ChangeMessageVisibilityBatchCommand";
|
|
@@ -23,146 +23,152 @@ import { type StartMessageMoveTaskCommandInput, type StartMessageMoveTaskCommand
|
|
|
23
23
|
import { type TagQueueCommandInput, type TagQueueCommandOutput } from "./commands/TagQueueCommand";
|
|
24
24
|
import { type UntagQueueCommandInput, type UntagQueueCommandOutput } from "./commands/UntagQueueCommand";
|
|
25
25
|
import { SQSClient } from "./SQSClient";
|
|
26
|
+
/**
|
|
27
|
+
* @public
|
|
28
|
+
*/
|
|
29
|
+
export interface SQSRequestOptions extends __HttpHandlerOptions {
|
|
30
|
+
metricsRecorder?: __MetricsRecorder<unknown>;
|
|
31
|
+
}
|
|
26
32
|
export interface SQS {
|
|
27
33
|
/**
|
|
28
34
|
* @see {@link AddPermissionCommand}
|
|
29
35
|
*/
|
|
30
|
-
addPermission(args: AddPermissionCommandInput, options?:
|
|
36
|
+
addPermission(args: AddPermissionCommandInput, options?: SQSRequestOptions): Promise<AddPermissionCommandOutput>;
|
|
31
37
|
addPermission(args: AddPermissionCommandInput, cb: (err: any, data?: AddPermissionCommandOutput) => void): void;
|
|
32
|
-
addPermission(args: AddPermissionCommandInput, options:
|
|
38
|
+
addPermission(args: AddPermissionCommandInput, options: SQSRequestOptions, cb: (err: any, data?: AddPermissionCommandOutput) => void): void;
|
|
33
39
|
/**
|
|
34
40
|
* @see {@link CancelMessageMoveTaskCommand}
|
|
35
41
|
*/
|
|
36
|
-
cancelMessageMoveTask(args: CancelMessageMoveTaskCommandInput, options?:
|
|
42
|
+
cancelMessageMoveTask(args: CancelMessageMoveTaskCommandInput, options?: SQSRequestOptions): Promise<CancelMessageMoveTaskCommandOutput>;
|
|
37
43
|
cancelMessageMoveTask(args: CancelMessageMoveTaskCommandInput, cb: (err: any, data?: CancelMessageMoveTaskCommandOutput) => void): void;
|
|
38
|
-
cancelMessageMoveTask(args: CancelMessageMoveTaskCommandInput, options:
|
|
44
|
+
cancelMessageMoveTask(args: CancelMessageMoveTaskCommandInput, options: SQSRequestOptions, cb: (err: any, data?: CancelMessageMoveTaskCommandOutput) => void): void;
|
|
39
45
|
/**
|
|
40
46
|
* @see {@link ChangeMessageVisibilityCommand}
|
|
41
47
|
*/
|
|
42
|
-
changeMessageVisibility(args: ChangeMessageVisibilityCommandInput, options?:
|
|
48
|
+
changeMessageVisibility(args: ChangeMessageVisibilityCommandInput, options?: SQSRequestOptions): Promise<ChangeMessageVisibilityCommandOutput>;
|
|
43
49
|
changeMessageVisibility(args: ChangeMessageVisibilityCommandInput, cb: (err: any, data?: ChangeMessageVisibilityCommandOutput) => void): void;
|
|
44
|
-
changeMessageVisibility(args: ChangeMessageVisibilityCommandInput, options:
|
|
50
|
+
changeMessageVisibility(args: ChangeMessageVisibilityCommandInput, options: SQSRequestOptions, cb: (err: any, data?: ChangeMessageVisibilityCommandOutput) => void): void;
|
|
45
51
|
/**
|
|
46
52
|
* @see {@link ChangeMessageVisibilityBatchCommand}
|
|
47
53
|
*/
|
|
48
|
-
changeMessageVisibilityBatch(args: ChangeMessageVisibilityBatchCommandInput, options?:
|
|
54
|
+
changeMessageVisibilityBatch(args: ChangeMessageVisibilityBatchCommandInput, options?: SQSRequestOptions): Promise<ChangeMessageVisibilityBatchCommandOutput>;
|
|
49
55
|
changeMessageVisibilityBatch(args: ChangeMessageVisibilityBatchCommandInput, cb: (err: any, data?: ChangeMessageVisibilityBatchCommandOutput) => void): void;
|
|
50
|
-
changeMessageVisibilityBatch(args: ChangeMessageVisibilityBatchCommandInput, options:
|
|
56
|
+
changeMessageVisibilityBatch(args: ChangeMessageVisibilityBatchCommandInput, options: SQSRequestOptions, cb: (err: any, data?: ChangeMessageVisibilityBatchCommandOutput) => void): void;
|
|
51
57
|
/**
|
|
52
58
|
* @see {@link CreateQueueCommand}
|
|
53
59
|
*/
|
|
54
|
-
createQueue(args: CreateQueueCommandInput, options?:
|
|
60
|
+
createQueue(args: CreateQueueCommandInput, options?: SQSRequestOptions): Promise<CreateQueueCommandOutput>;
|
|
55
61
|
createQueue(args: CreateQueueCommandInput, cb: (err: any, data?: CreateQueueCommandOutput) => void): void;
|
|
56
|
-
createQueue(args: CreateQueueCommandInput, options:
|
|
62
|
+
createQueue(args: CreateQueueCommandInput, options: SQSRequestOptions, cb: (err: any, data?: CreateQueueCommandOutput) => void): void;
|
|
57
63
|
/**
|
|
58
64
|
* @see {@link DeleteMessageCommand}
|
|
59
65
|
*/
|
|
60
|
-
deleteMessage(args: DeleteMessageCommandInput, options?:
|
|
66
|
+
deleteMessage(args: DeleteMessageCommandInput, options?: SQSRequestOptions): Promise<DeleteMessageCommandOutput>;
|
|
61
67
|
deleteMessage(args: DeleteMessageCommandInput, cb: (err: any, data?: DeleteMessageCommandOutput) => void): void;
|
|
62
|
-
deleteMessage(args: DeleteMessageCommandInput, options:
|
|
68
|
+
deleteMessage(args: DeleteMessageCommandInput, options: SQSRequestOptions, cb: (err: any, data?: DeleteMessageCommandOutput) => void): void;
|
|
63
69
|
/**
|
|
64
70
|
* @see {@link DeleteMessageBatchCommand}
|
|
65
71
|
*/
|
|
66
|
-
deleteMessageBatch(args: DeleteMessageBatchCommandInput, options?:
|
|
72
|
+
deleteMessageBatch(args: DeleteMessageBatchCommandInput, options?: SQSRequestOptions): Promise<DeleteMessageBatchCommandOutput>;
|
|
67
73
|
deleteMessageBatch(args: DeleteMessageBatchCommandInput, cb: (err: any, data?: DeleteMessageBatchCommandOutput) => void): void;
|
|
68
|
-
deleteMessageBatch(args: DeleteMessageBatchCommandInput, options:
|
|
74
|
+
deleteMessageBatch(args: DeleteMessageBatchCommandInput, options: SQSRequestOptions, cb: (err: any, data?: DeleteMessageBatchCommandOutput) => void): void;
|
|
69
75
|
/**
|
|
70
76
|
* @see {@link DeleteQueueCommand}
|
|
71
77
|
*/
|
|
72
|
-
deleteQueue(args: DeleteQueueCommandInput, options?:
|
|
78
|
+
deleteQueue(args: DeleteQueueCommandInput, options?: SQSRequestOptions): Promise<DeleteQueueCommandOutput>;
|
|
73
79
|
deleteQueue(args: DeleteQueueCommandInput, cb: (err: any, data?: DeleteQueueCommandOutput) => void): void;
|
|
74
|
-
deleteQueue(args: DeleteQueueCommandInput, options:
|
|
80
|
+
deleteQueue(args: DeleteQueueCommandInput, options: SQSRequestOptions, cb: (err: any, data?: DeleteQueueCommandOutput) => void): void;
|
|
75
81
|
/**
|
|
76
82
|
* @see {@link GetQueueAttributesCommand}
|
|
77
83
|
*/
|
|
78
|
-
getQueueAttributes(args: GetQueueAttributesCommandInput, options?:
|
|
84
|
+
getQueueAttributes(args: GetQueueAttributesCommandInput, options?: SQSRequestOptions): Promise<GetQueueAttributesCommandOutput>;
|
|
79
85
|
getQueueAttributes(args: GetQueueAttributesCommandInput, cb: (err: any, data?: GetQueueAttributesCommandOutput) => void): void;
|
|
80
|
-
getQueueAttributes(args: GetQueueAttributesCommandInput, options:
|
|
86
|
+
getQueueAttributes(args: GetQueueAttributesCommandInput, options: SQSRequestOptions, cb: (err: any, data?: GetQueueAttributesCommandOutput) => void): void;
|
|
81
87
|
/**
|
|
82
88
|
* @see {@link GetQueueUrlCommand}
|
|
83
89
|
*/
|
|
84
|
-
getQueueUrl(args: GetQueueUrlCommandInput, options?:
|
|
90
|
+
getQueueUrl(args: GetQueueUrlCommandInput, options?: SQSRequestOptions): Promise<GetQueueUrlCommandOutput>;
|
|
85
91
|
getQueueUrl(args: GetQueueUrlCommandInput, cb: (err: any, data?: GetQueueUrlCommandOutput) => void): void;
|
|
86
|
-
getQueueUrl(args: GetQueueUrlCommandInput, options:
|
|
92
|
+
getQueueUrl(args: GetQueueUrlCommandInput, options: SQSRequestOptions, cb: (err: any, data?: GetQueueUrlCommandOutput) => void): void;
|
|
87
93
|
/**
|
|
88
94
|
* @see {@link ListDeadLetterSourceQueuesCommand}
|
|
89
95
|
*/
|
|
90
|
-
listDeadLetterSourceQueues(args: ListDeadLetterSourceQueuesCommandInput, options?:
|
|
96
|
+
listDeadLetterSourceQueues(args: ListDeadLetterSourceQueuesCommandInput, options?: SQSRequestOptions): Promise<ListDeadLetterSourceQueuesCommandOutput>;
|
|
91
97
|
listDeadLetterSourceQueues(args: ListDeadLetterSourceQueuesCommandInput, cb: (err: any, data?: ListDeadLetterSourceQueuesCommandOutput) => void): void;
|
|
92
|
-
listDeadLetterSourceQueues(args: ListDeadLetterSourceQueuesCommandInput, options:
|
|
98
|
+
listDeadLetterSourceQueues(args: ListDeadLetterSourceQueuesCommandInput, options: SQSRequestOptions, cb: (err: any, data?: ListDeadLetterSourceQueuesCommandOutput) => void): void;
|
|
93
99
|
/**
|
|
94
100
|
* @see {@link ListMessageMoveTasksCommand}
|
|
95
101
|
*/
|
|
96
|
-
listMessageMoveTasks(args: ListMessageMoveTasksCommandInput, options?:
|
|
102
|
+
listMessageMoveTasks(args: ListMessageMoveTasksCommandInput, options?: SQSRequestOptions): Promise<ListMessageMoveTasksCommandOutput>;
|
|
97
103
|
listMessageMoveTasks(args: ListMessageMoveTasksCommandInput, cb: (err: any, data?: ListMessageMoveTasksCommandOutput) => void): void;
|
|
98
|
-
listMessageMoveTasks(args: ListMessageMoveTasksCommandInput, options:
|
|
104
|
+
listMessageMoveTasks(args: ListMessageMoveTasksCommandInput, options: SQSRequestOptions, cb: (err: any, data?: ListMessageMoveTasksCommandOutput) => void): void;
|
|
99
105
|
/**
|
|
100
106
|
* @see {@link ListQueuesCommand}
|
|
101
107
|
*/
|
|
102
108
|
listQueues(): Promise<ListQueuesCommandOutput>;
|
|
103
|
-
listQueues(args: ListQueuesCommandInput, options?:
|
|
109
|
+
listQueues(args: ListQueuesCommandInput, options?: SQSRequestOptions): Promise<ListQueuesCommandOutput>;
|
|
104
110
|
listQueues(args: ListQueuesCommandInput, cb: (err: any, data?: ListQueuesCommandOutput) => void): void;
|
|
105
|
-
listQueues(args: ListQueuesCommandInput, options:
|
|
111
|
+
listQueues(args: ListQueuesCommandInput, options: SQSRequestOptions, cb: (err: any, data?: ListQueuesCommandOutput) => void): void;
|
|
106
112
|
/**
|
|
107
113
|
* @see {@link ListQueueTagsCommand}
|
|
108
114
|
*/
|
|
109
|
-
listQueueTags(args: ListQueueTagsCommandInput, options?:
|
|
115
|
+
listQueueTags(args: ListQueueTagsCommandInput, options?: SQSRequestOptions): Promise<ListQueueTagsCommandOutput>;
|
|
110
116
|
listQueueTags(args: ListQueueTagsCommandInput, cb: (err: any, data?: ListQueueTagsCommandOutput) => void): void;
|
|
111
|
-
listQueueTags(args: ListQueueTagsCommandInput, options:
|
|
117
|
+
listQueueTags(args: ListQueueTagsCommandInput, options: SQSRequestOptions, cb: (err: any, data?: ListQueueTagsCommandOutput) => void): void;
|
|
112
118
|
/**
|
|
113
119
|
* @see {@link PurgeQueueCommand}
|
|
114
120
|
*/
|
|
115
|
-
purgeQueue(args: PurgeQueueCommandInput, options?:
|
|
121
|
+
purgeQueue(args: PurgeQueueCommandInput, options?: SQSRequestOptions): Promise<PurgeQueueCommandOutput>;
|
|
116
122
|
purgeQueue(args: PurgeQueueCommandInput, cb: (err: any, data?: PurgeQueueCommandOutput) => void): void;
|
|
117
|
-
purgeQueue(args: PurgeQueueCommandInput, options:
|
|
123
|
+
purgeQueue(args: PurgeQueueCommandInput, options: SQSRequestOptions, cb: (err: any, data?: PurgeQueueCommandOutput) => void): void;
|
|
118
124
|
/**
|
|
119
125
|
* @see {@link ReceiveMessageCommand}
|
|
120
126
|
*/
|
|
121
|
-
receiveMessage(args: ReceiveMessageCommandInput, options?:
|
|
127
|
+
receiveMessage(args: ReceiveMessageCommandInput, options?: SQSRequestOptions): Promise<ReceiveMessageCommandOutput>;
|
|
122
128
|
receiveMessage(args: ReceiveMessageCommandInput, cb: (err: any, data?: ReceiveMessageCommandOutput) => void): void;
|
|
123
|
-
receiveMessage(args: ReceiveMessageCommandInput, options:
|
|
129
|
+
receiveMessage(args: ReceiveMessageCommandInput, options: SQSRequestOptions, cb: (err: any, data?: ReceiveMessageCommandOutput) => void): void;
|
|
124
130
|
/**
|
|
125
131
|
* @see {@link RemovePermissionCommand}
|
|
126
132
|
*/
|
|
127
|
-
removePermission(args: RemovePermissionCommandInput, options?:
|
|
133
|
+
removePermission(args: RemovePermissionCommandInput, options?: SQSRequestOptions): Promise<RemovePermissionCommandOutput>;
|
|
128
134
|
removePermission(args: RemovePermissionCommandInput, cb: (err: any, data?: RemovePermissionCommandOutput) => void): void;
|
|
129
|
-
removePermission(args: RemovePermissionCommandInput, options:
|
|
135
|
+
removePermission(args: RemovePermissionCommandInput, options: SQSRequestOptions, cb: (err: any, data?: RemovePermissionCommandOutput) => void): void;
|
|
130
136
|
/**
|
|
131
137
|
* @see {@link SendMessageCommand}
|
|
132
138
|
*/
|
|
133
|
-
sendMessage(args: SendMessageCommandInput, options?:
|
|
139
|
+
sendMessage(args: SendMessageCommandInput, options?: SQSRequestOptions): Promise<SendMessageCommandOutput>;
|
|
134
140
|
sendMessage(args: SendMessageCommandInput, cb: (err: any, data?: SendMessageCommandOutput) => void): void;
|
|
135
|
-
sendMessage(args: SendMessageCommandInput, options:
|
|
141
|
+
sendMessage(args: SendMessageCommandInput, options: SQSRequestOptions, cb: (err: any, data?: SendMessageCommandOutput) => void): void;
|
|
136
142
|
/**
|
|
137
143
|
* @see {@link SendMessageBatchCommand}
|
|
138
144
|
*/
|
|
139
|
-
sendMessageBatch(args: SendMessageBatchCommandInput, options?:
|
|
145
|
+
sendMessageBatch(args: SendMessageBatchCommandInput, options?: SQSRequestOptions): Promise<SendMessageBatchCommandOutput>;
|
|
140
146
|
sendMessageBatch(args: SendMessageBatchCommandInput, cb: (err: any, data?: SendMessageBatchCommandOutput) => void): void;
|
|
141
|
-
sendMessageBatch(args: SendMessageBatchCommandInput, options:
|
|
147
|
+
sendMessageBatch(args: SendMessageBatchCommandInput, options: SQSRequestOptions, cb: (err: any, data?: SendMessageBatchCommandOutput) => void): void;
|
|
142
148
|
/**
|
|
143
149
|
* @see {@link SetQueueAttributesCommand}
|
|
144
150
|
*/
|
|
145
|
-
setQueueAttributes(args: SetQueueAttributesCommandInput, options?:
|
|
151
|
+
setQueueAttributes(args: SetQueueAttributesCommandInput, options?: SQSRequestOptions): Promise<SetQueueAttributesCommandOutput>;
|
|
146
152
|
setQueueAttributes(args: SetQueueAttributesCommandInput, cb: (err: any, data?: SetQueueAttributesCommandOutput) => void): void;
|
|
147
|
-
setQueueAttributes(args: SetQueueAttributesCommandInput, options:
|
|
153
|
+
setQueueAttributes(args: SetQueueAttributesCommandInput, options: SQSRequestOptions, cb: (err: any, data?: SetQueueAttributesCommandOutput) => void): void;
|
|
148
154
|
/**
|
|
149
155
|
* @see {@link StartMessageMoveTaskCommand}
|
|
150
156
|
*/
|
|
151
|
-
startMessageMoveTask(args: StartMessageMoveTaskCommandInput, options?:
|
|
157
|
+
startMessageMoveTask(args: StartMessageMoveTaskCommandInput, options?: SQSRequestOptions): Promise<StartMessageMoveTaskCommandOutput>;
|
|
152
158
|
startMessageMoveTask(args: StartMessageMoveTaskCommandInput, cb: (err: any, data?: StartMessageMoveTaskCommandOutput) => void): void;
|
|
153
|
-
startMessageMoveTask(args: StartMessageMoveTaskCommandInput, options:
|
|
159
|
+
startMessageMoveTask(args: StartMessageMoveTaskCommandInput, options: SQSRequestOptions, cb: (err: any, data?: StartMessageMoveTaskCommandOutput) => void): void;
|
|
154
160
|
/**
|
|
155
161
|
* @see {@link TagQueueCommand}
|
|
156
162
|
*/
|
|
157
|
-
tagQueue(args: TagQueueCommandInput, options?:
|
|
163
|
+
tagQueue(args: TagQueueCommandInput, options?: SQSRequestOptions): Promise<TagQueueCommandOutput>;
|
|
158
164
|
tagQueue(args: TagQueueCommandInput, cb: (err: any, data?: TagQueueCommandOutput) => void): void;
|
|
159
|
-
tagQueue(args: TagQueueCommandInput, options:
|
|
165
|
+
tagQueue(args: TagQueueCommandInput, options: SQSRequestOptions, cb: (err: any, data?: TagQueueCommandOutput) => void): void;
|
|
160
166
|
/**
|
|
161
167
|
* @see {@link UntagQueueCommand}
|
|
162
168
|
*/
|
|
163
|
-
untagQueue(args: UntagQueueCommandInput, options?:
|
|
169
|
+
untagQueue(args: UntagQueueCommandInput, options?: SQSRequestOptions): Promise<UntagQueueCommandOutput>;
|
|
164
170
|
untagQueue(args: UntagQueueCommandInput, cb: (err: any, data?: UntagQueueCommandOutput) => void): void;
|
|
165
|
-
untagQueue(args: UntagQueueCommandInput, options:
|
|
171
|
+
untagQueue(args: UntagQueueCommandInput, options: SQSRequestOptions, cb: (err: any, data?: UntagQueueCommandOutput) => void): void;
|
|
166
172
|
/**
|
|
167
173
|
* @see {@link ListDeadLetterSourceQueuesCommand}
|
|
168
174
|
* @param args - command input.
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
HttpHandlerOptions as __HttpHandlerOptions,
|
|
3
|
+
MetricsRecorder as __MetricsRecorder,
|
|
3
4
|
PaginationConfiguration,
|
|
4
5
|
Paginator,
|
|
5
6
|
} from "@smithy/types";
|
|
@@ -72,10 +73,13 @@ import {
|
|
|
72
73
|
import { TagQueueCommandInput, TagQueueCommandOutput } from "./commands/TagQueueCommand";
|
|
73
74
|
import { UntagQueueCommandInput, UntagQueueCommandOutput } from "./commands/UntagQueueCommand";
|
|
74
75
|
import { SQSClient } from "./SQSClient";
|
|
76
|
+
export interface SQSRequestOptions extends __HttpHandlerOptions {
|
|
77
|
+
metricsRecorder?: __MetricsRecorder<unknown>;
|
|
78
|
+
}
|
|
75
79
|
export interface SQS {
|
|
76
80
|
addPermission(
|
|
77
81
|
args: AddPermissionCommandInput,
|
|
78
|
-
options?:
|
|
82
|
+
options?: SQSRequestOptions,
|
|
79
83
|
): Promise<AddPermissionCommandOutput>;
|
|
80
84
|
addPermission(
|
|
81
85
|
args: AddPermissionCommandInput,
|
|
@@ -83,12 +87,12 @@ export interface SQS {
|
|
|
83
87
|
): void;
|
|
84
88
|
addPermission(
|
|
85
89
|
args: AddPermissionCommandInput,
|
|
86
|
-
options:
|
|
90
|
+
options: SQSRequestOptions,
|
|
87
91
|
cb: (err: any, data?: AddPermissionCommandOutput) => void,
|
|
88
92
|
): void;
|
|
89
93
|
cancelMessageMoveTask(
|
|
90
94
|
args: CancelMessageMoveTaskCommandInput,
|
|
91
|
-
options?:
|
|
95
|
+
options?: SQSRequestOptions,
|
|
92
96
|
): Promise<CancelMessageMoveTaskCommandOutput>;
|
|
93
97
|
cancelMessageMoveTask(
|
|
94
98
|
args: CancelMessageMoveTaskCommandInput,
|
|
@@ -96,12 +100,12 @@ export interface SQS {
|
|
|
96
100
|
): void;
|
|
97
101
|
cancelMessageMoveTask(
|
|
98
102
|
args: CancelMessageMoveTaskCommandInput,
|
|
99
|
-
options:
|
|
103
|
+
options: SQSRequestOptions,
|
|
100
104
|
cb: (err: any, data?: CancelMessageMoveTaskCommandOutput) => void,
|
|
101
105
|
): void;
|
|
102
106
|
changeMessageVisibility(
|
|
103
107
|
args: ChangeMessageVisibilityCommandInput,
|
|
104
|
-
options?:
|
|
108
|
+
options?: SQSRequestOptions,
|
|
105
109
|
): Promise<ChangeMessageVisibilityCommandOutput>;
|
|
106
110
|
changeMessageVisibility(
|
|
107
111
|
args: ChangeMessageVisibilityCommandInput,
|
|
@@ -109,12 +113,12 @@ export interface SQS {
|
|
|
109
113
|
): void;
|
|
110
114
|
changeMessageVisibility(
|
|
111
115
|
args: ChangeMessageVisibilityCommandInput,
|
|
112
|
-
options:
|
|
116
|
+
options: SQSRequestOptions,
|
|
113
117
|
cb: (err: any, data?: ChangeMessageVisibilityCommandOutput) => void,
|
|
114
118
|
): void;
|
|
115
119
|
changeMessageVisibilityBatch(
|
|
116
120
|
args: ChangeMessageVisibilityBatchCommandInput,
|
|
117
|
-
options?:
|
|
121
|
+
options?: SQSRequestOptions,
|
|
118
122
|
): Promise<ChangeMessageVisibilityBatchCommandOutput>;
|
|
119
123
|
changeMessageVisibilityBatch(
|
|
120
124
|
args: ChangeMessageVisibilityBatchCommandInput,
|
|
@@ -122,12 +126,12 @@ export interface SQS {
|
|
|
122
126
|
): void;
|
|
123
127
|
changeMessageVisibilityBatch(
|
|
124
128
|
args: ChangeMessageVisibilityBatchCommandInput,
|
|
125
|
-
options:
|
|
129
|
+
options: SQSRequestOptions,
|
|
126
130
|
cb: (err: any, data?: ChangeMessageVisibilityBatchCommandOutput) => void,
|
|
127
131
|
): void;
|
|
128
132
|
createQueue(
|
|
129
133
|
args: CreateQueueCommandInput,
|
|
130
|
-
options?:
|
|
134
|
+
options?: SQSRequestOptions,
|
|
131
135
|
): Promise<CreateQueueCommandOutput>;
|
|
132
136
|
createQueue(
|
|
133
137
|
args: CreateQueueCommandInput,
|
|
@@ -135,12 +139,12 @@ export interface SQS {
|
|
|
135
139
|
): void;
|
|
136
140
|
createQueue(
|
|
137
141
|
args: CreateQueueCommandInput,
|
|
138
|
-
options:
|
|
142
|
+
options: SQSRequestOptions,
|
|
139
143
|
cb: (err: any, data?: CreateQueueCommandOutput) => void,
|
|
140
144
|
): void;
|
|
141
145
|
deleteMessage(
|
|
142
146
|
args: DeleteMessageCommandInput,
|
|
143
|
-
options?:
|
|
147
|
+
options?: SQSRequestOptions,
|
|
144
148
|
): Promise<DeleteMessageCommandOutput>;
|
|
145
149
|
deleteMessage(
|
|
146
150
|
args: DeleteMessageCommandInput,
|
|
@@ -148,12 +152,12 @@ export interface SQS {
|
|
|
148
152
|
): void;
|
|
149
153
|
deleteMessage(
|
|
150
154
|
args: DeleteMessageCommandInput,
|
|
151
|
-
options:
|
|
155
|
+
options: SQSRequestOptions,
|
|
152
156
|
cb: (err: any, data?: DeleteMessageCommandOutput) => void,
|
|
153
157
|
): void;
|
|
154
158
|
deleteMessageBatch(
|
|
155
159
|
args: DeleteMessageBatchCommandInput,
|
|
156
|
-
options?:
|
|
160
|
+
options?: SQSRequestOptions,
|
|
157
161
|
): Promise<DeleteMessageBatchCommandOutput>;
|
|
158
162
|
deleteMessageBatch(
|
|
159
163
|
args: DeleteMessageBatchCommandInput,
|
|
@@ -161,12 +165,12 @@ export interface SQS {
|
|
|
161
165
|
): void;
|
|
162
166
|
deleteMessageBatch(
|
|
163
167
|
args: DeleteMessageBatchCommandInput,
|
|
164
|
-
options:
|
|
168
|
+
options: SQSRequestOptions,
|
|
165
169
|
cb: (err: any, data?: DeleteMessageBatchCommandOutput) => void,
|
|
166
170
|
): void;
|
|
167
171
|
deleteQueue(
|
|
168
172
|
args: DeleteQueueCommandInput,
|
|
169
|
-
options?:
|
|
173
|
+
options?: SQSRequestOptions,
|
|
170
174
|
): Promise<DeleteQueueCommandOutput>;
|
|
171
175
|
deleteQueue(
|
|
172
176
|
args: DeleteQueueCommandInput,
|
|
@@ -174,12 +178,12 @@ export interface SQS {
|
|
|
174
178
|
): void;
|
|
175
179
|
deleteQueue(
|
|
176
180
|
args: DeleteQueueCommandInput,
|
|
177
|
-
options:
|
|
181
|
+
options: SQSRequestOptions,
|
|
178
182
|
cb: (err: any, data?: DeleteQueueCommandOutput) => void,
|
|
179
183
|
): void;
|
|
180
184
|
getQueueAttributes(
|
|
181
185
|
args: GetQueueAttributesCommandInput,
|
|
182
|
-
options?:
|
|
186
|
+
options?: SQSRequestOptions,
|
|
183
187
|
): Promise<GetQueueAttributesCommandOutput>;
|
|
184
188
|
getQueueAttributes(
|
|
185
189
|
args: GetQueueAttributesCommandInput,
|
|
@@ -187,12 +191,12 @@ export interface SQS {
|
|
|
187
191
|
): void;
|
|
188
192
|
getQueueAttributes(
|
|
189
193
|
args: GetQueueAttributesCommandInput,
|
|
190
|
-
options:
|
|
194
|
+
options: SQSRequestOptions,
|
|
191
195
|
cb: (err: any, data?: GetQueueAttributesCommandOutput) => void,
|
|
192
196
|
): void;
|
|
193
197
|
getQueueUrl(
|
|
194
198
|
args: GetQueueUrlCommandInput,
|
|
195
|
-
options?:
|
|
199
|
+
options?: SQSRequestOptions,
|
|
196
200
|
): Promise<GetQueueUrlCommandOutput>;
|
|
197
201
|
getQueueUrl(
|
|
198
202
|
args: GetQueueUrlCommandInput,
|
|
@@ -200,12 +204,12 @@ export interface SQS {
|
|
|
200
204
|
): void;
|
|
201
205
|
getQueueUrl(
|
|
202
206
|
args: GetQueueUrlCommandInput,
|
|
203
|
-
options:
|
|
207
|
+
options: SQSRequestOptions,
|
|
204
208
|
cb: (err: any, data?: GetQueueUrlCommandOutput) => void,
|
|
205
209
|
): void;
|
|
206
210
|
listDeadLetterSourceQueues(
|
|
207
211
|
args: ListDeadLetterSourceQueuesCommandInput,
|
|
208
|
-
options?:
|
|
212
|
+
options?: SQSRequestOptions,
|
|
209
213
|
): Promise<ListDeadLetterSourceQueuesCommandOutput>;
|
|
210
214
|
listDeadLetterSourceQueues(
|
|
211
215
|
args: ListDeadLetterSourceQueuesCommandInput,
|
|
@@ -213,12 +217,12 @@ export interface SQS {
|
|
|
213
217
|
): void;
|
|
214
218
|
listDeadLetterSourceQueues(
|
|
215
219
|
args: ListDeadLetterSourceQueuesCommandInput,
|
|
216
|
-
options:
|
|
220
|
+
options: SQSRequestOptions,
|
|
217
221
|
cb: (err: any, data?: ListDeadLetterSourceQueuesCommandOutput) => void,
|
|
218
222
|
): void;
|
|
219
223
|
listMessageMoveTasks(
|
|
220
224
|
args: ListMessageMoveTasksCommandInput,
|
|
221
|
-
options?:
|
|
225
|
+
options?: SQSRequestOptions,
|
|
222
226
|
): Promise<ListMessageMoveTasksCommandOutput>;
|
|
223
227
|
listMessageMoveTasks(
|
|
224
228
|
args: ListMessageMoveTasksCommandInput,
|
|
@@ -226,13 +230,13 @@ export interface SQS {
|
|
|
226
230
|
): void;
|
|
227
231
|
listMessageMoveTasks(
|
|
228
232
|
args: ListMessageMoveTasksCommandInput,
|
|
229
|
-
options:
|
|
233
|
+
options: SQSRequestOptions,
|
|
230
234
|
cb: (err: any, data?: ListMessageMoveTasksCommandOutput) => void,
|
|
231
235
|
): void;
|
|
232
236
|
listQueues(): Promise<ListQueuesCommandOutput>;
|
|
233
237
|
listQueues(
|
|
234
238
|
args: ListQueuesCommandInput,
|
|
235
|
-
options?:
|
|
239
|
+
options?: SQSRequestOptions,
|
|
236
240
|
): Promise<ListQueuesCommandOutput>;
|
|
237
241
|
listQueues(
|
|
238
242
|
args: ListQueuesCommandInput,
|
|
@@ -240,12 +244,12 @@ export interface SQS {
|
|
|
240
244
|
): void;
|
|
241
245
|
listQueues(
|
|
242
246
|
args: ListQueuesCommandInput,
|
|
243
|
-
options:
|
|
247
|
+
options: SQSRequestOptions,
|
|
244
248
|
cb: (err: any, data?: ListQueuesCommandOutput) => void,
|
|
245
249
|
): void;
|
|
246
250
|
listQueueTags(
|
|
247
251
|
args: ListQueueTagsCommandInput,
|
|
248
|
-
options?:
|
|
252
|
+
options?: SQSRequestOptions,
|
|
249
253
|
): Promise<ListQueueTagsCommandOutput>;
|
|
250
254
|
listQueueTags(
|
|
251
255
|
args: ListQueueTagsCommandInput,
|
|
@@ -253,12 +257,12 @@ export interface SQS {
|
|
|
253
257
|
): void;
|
|
254
258
|
listQueueTags(
|
|
255
259
|
args: ListQueueTagsCommandInput,
|
|
256
|
-
options:
|
|
260
|
+
options: SQSRequestOptions,
|
|
257
261
|
cb: (err: any, data?: ListQueueTagsCommandOutput) => void,
|
|
258
262
|
): void;
|
|
259
263
|
purgeQueue(
|
|
260
264
|
args: PurgeQueueCommandInput,
|
|
261
|
-
options?:
|
|
265
|
+
options?: SQSRequestOptions,
|
|
262
266
|
): Promise<PurgeQueueCommandOutput>;
|
|
263
267
|
purgeQueue(
|
|
264
268
|
args: PurgeQueueCommandInput,
|
|
@@ -266,12 +270,12 @@ export interface SQS {
|
|
|
266
270
|
): void;
|
|
267
271
|
purgeQueue(
|
|
268
272
|
args: PurgeQueueCommandInput,
|
|
269
|
-
options:
|
|
273
|
+
options: SQSRequestOptions,
|
|
270
274
|
cb: (err: any, data?: PurgeQueueCommandOutput) => void,
|
|
271
275
|
): void;
|
|
272
276
|
receiveMessage(
|
|
273
277
|
args: ReceiveMessageCommandInput,
|
|
274
|
-
options?:
|
|
278
|
+
options?: SQSRequestOptions,
|
|
275
279
|
): Promise<ReceiveMessageCommandOutput>;
|
|
276
280
|
receiveMessage(
|
|
277
281
|
args: ReceiveMessageCommandInput,
|
|
@@ -279,12 +283,12 @@ export interface SQS {
|
|
|
279
283
|
): void;
|
|
280
284
|
receiveMessage(
|
|
281
285
|
args: ReceiveMessageCommandInput,
|
|
282
|
-
options:
|
|
286
|
+
options: SQSRequestOptions,
|
|
283
287
|
cb: (err: any, data?: ReceiveMessageCommandOutput) => void,
|
|
284
288
|
): void;
|
|
285
289
|
removePermission(
|
|
286
290
|
args: RemovePermissionCommandInput,
|
|
287
|
-
options?:
|
|
291
|
+
options?: SQSRequestOptions,
|
|
288
292
|
): Promise<RemovePermissionCommandOutput>;
|
|
289
293
|
removePermission(
|
|
290
294
|
args: RemovePermissionCommandInput,
|
|
@@ -292,12 +296,12 @@ export interface SQS {
|
|
|
292
296
|
): void;
|
|
293
297
|
removePermission(
|
|
294
298
|
args: RemovePermissionCommandInput,
|
|
295
|
-
options:
|
|
299
|
+
options: SQSRequestOptions,
|
|
296
300
|
cb: (err: any, data?: RemovePermissionCommandOutput) => void,
|
|
297
301
|
): void;
|
|
298
302
|
sendMessage(
|
|
299
303
|
args: SendMessageCommandInput,
|
|
300
|
-
options?:
|
|
304
|
+
options?: SQSRequestOptions,
|
|
301
305
|
): Promise<SendMessageCommandOutput>;
|
|
302
306
|
sendMessage(
|
|
303
307
|
args: SendMessageCommandInput,
|
|
@@ -305,12 +309,12 @@ export interface SQS {
|
|
|
305
309
|
): void;
|
|
306
310
|
sendMessage(
|
|
307
311
|
args: SendMessageCommandInput,
|
|
308
|
-
options:
|
|
312
|
+
options: SQSRequestOptions,
|
|
309
313
|
cb: (err: any, data?: SendMessageCommandOutput) => void,
|
|
310
314
|
): void;
|
|
311
315
|
sendMessageBatch(
|
|
312
316
|
args: SendMessageBatchCommandInput,
|
|
313
|
-
options?:
|
|
317
|
+
options?: SQSRequestOptions,
|
|
314
318
|
): Promise<SendMessageBatchCommandOutput>;
|
|
315
319
|
sendMessageBatch(
|
|
316
320
|
args: SendMessageBatchCommandInput,
|
|
@@ -318,12 +322,12 @@ export interface SQS {
|
|
|
318
322
|
): void;
|
|
319
323
|
sendMessageBatch(
|
|
320
324
|
args: SendMessageBatchCommandInput,
|
|
321
|
-
options:
|
|
325
|
+
options: SQSRequestOptions,
|
|
322
326
|
cb: (err: any, data?: SendMessageBatchCommandOutput) => void,
|
|
323
327
|
): void;
|
|
324
328
|
setQueueAttributes(
|
|
325
329
|
args: SetQueueAttributesCommandInput,
|
|
326
|
-
options?:
|
|
330
|
+
options?: SQSRequestOptions,
|
|
327
331
|
): Promise<SetQueueAttributesCommandOutput>;
|
|
328
332
|
setQueueAttributes(
|
|
329
333
|
args: SetQueueAttributesCommandInput,
|
|
@@ -331,12 +335,12 @@ export interface SQS {
|
|
|
331
335
|
): void;
|
|
332
336
|
setQueueAttributes(
|
|
333
337
|
args: SetQueueAttributesCommandInput,
|
|
334
|
-
options:
|
|
338
|
+
options: SQSRequestOptions,
|
|
335
339
|
cb: (err: any, data?: SetQueueAttributesCommandOutput) => void,
|
|
336
340
|
): void;
|
|
337
341
|
startMessageMoveTask(
|
|
338
342
|
args: StartMessageMoveTaskCommandInput,
|
|
339
|
-
options?:
|
|
343
|
+
options?: SQSRequestOptions,
|
|
340
344
|
): Promise<StartMessageMoveTaskCommandOutput>;
|
|
341
345
|
startMessageMoveTask(
|
|
342
346
|
args: StartMessageMoveTaskCommandInput,
|
|
@@ -344,22 +348,19 @@ export interface SQS {
|
|
|
344
348
|
): void;
|
|
345
349
|
startMessageMoveTask(
|
|
346
350
|
args: StartMessageMoveTaskCommandInput,
|
|
347
|
-
options:
|
|
351
|
+
options: SQSRequestOptions,
|
|
348
352
|
cb: (err: any, data?: StartMessageMoveTaskCommandOutput) => void,
|
|
349
353
|
): void;
|
|
350
|
-
tagQueue(
|
|
351
|
-
args: TagQueueCommandInput,
|
|
352
|
-
options?: __HttpHandlerOptions,
|
|
353
|
-
): Promise<TagQueueCommandOutput>;
|
|
354
|
+
tagQueue(args: TagQueueCommandInput, options?: SQSRequestOptions): Promise<TagQueueCommandOutput>;
|
|
354
355
|
tagQueue(args: TagQueueCommandInput, cb: (err: any, data?: TagQueueCommandOutput) => void): void;
|
|
355
356
|
tagQueue(
|
|
356
357
|
args: TagQueueCommandInput,
|
|
357
|
-
options:
|
|
358
|
+
options: SQSRequestOptions,
|
|
358
359
|
cb: (err: any, data?: TagQueueCommandOutput) => void,
|
|
359
360
|
): void;
|
|
360
361
|
untagQueue(
|
|
361
362
|
args: UntagQueueCommandInput,
|
|
362
|
-
options?:
|
|
363
|
+
options?: SQSRequestOptions,
|
|
363
364
|
): Promise<UntagQueueCommandOutput>;
|
|
364
365
|
untagQueue(
|
|
365
366
|
args: UntagQueueCommandInput,
|
|
@@ -367,7 +368,7 @@ export interface SQS {
|
|
|
367
368
|
): void;
|
|
368
369
|
untagQueue(
|
|
369
370
|
args: UntagQueueCommandInput,
|
|
370
|
-
options:
|
|
371
|
+
options: SQSRequestOptions,
|
|
371
372
|
cb: (err: any, data?: UntagQueueCommandOutput) => void,
|
|
372
373
|
): void;
|
|
373
374
|
paginateListDeadLetterSourceQueues(
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-sqs",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.1138.0",
|
|
4
4
|
"description": "AWS SDK for JavaScript Sqs Client for Node.js, Browser and React Native",
|
|
5
5
|
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-sqs",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -54,14 +54,14 @@
|
|
|
54
54
|
"test:index": "tsc -p tsconfig.test.json && node ./test/index-objects.spec.mjs"
|
|
55
55
|
},
|
|
56
56
|
"dependencies": {
|
|
57
|
-
"@aws-sdk/core": "^3.978.
|
|
58
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
59
|
-
"@aws-sdk/middleware-sdk-sqs": "^3.972.
|
|
60
|
-
"@aws-sdk/types": "^3.974.
|
|
61
|
-
"@smithy/core": "^3.
|
|
62
|
-
"@smithy/fetch-http-handler": "^5.
|
|
63
|
-
"@smithy/node-http-handler": "^4.
|
|
64
|
-
"@smithy/types": "^4.
|
|
57
|
+
"@aws-sdk/core": "^3.978.1",
|
|
58
|
+
"@aws-sdk/credential-provider-node": "^3.972.84",
|
|
59
|
+
"@aws-sdk/middleware-sdk-sqs": "^3.972.43",
|
|
60
|
+
"@aws-sdk/types": "^3.974.6",
|
|
61
|
+
"@smithy/core": "^3.35.0",
|
|
62
|
+
"@smithy/fetch-http-handler": "^5.8.0",
|
|
63
|
+
"@smithy/node-http-handler": "^4.12.1",
|
|
64
|
+
"@smithy/types": "^4.19.0",
|
|
65
65
|
"tslib": "^2.6.2"
|
|
66
66
|
},
|
|
67
67
|
"devDependencies": {
|