@aws-sdk/client-mq 3.315.0 → 3.316.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/Mq.js CHANGED
@@ -1,6 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.Mq = void 0;
4
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
4
5
  const CreateBrokerCommand_1 = require("./commands/CreateBrokerCommand");
5
6
  const CreateConfigurationCommand_1 = require("./commands/CreateConfigurationCommand");
6
7
  const CreateTagsCommand_1 = require("./commands/CreateTagsCommand");
@@ -24,314 +25,31 @@ const UpdateBrokerCommand_1 = require("./commands/UpdateBrokerCommand");
24
25
  const UpdateConfigurationCommand_1 = require("./commands/UpdateConfigurationCommand");
25
26
  const UpdateUserCommand_1 = require("./commands/UpdateUserCommand");
26
27
  const MqClient_1 = require("./MqClient");
28
+ const commands = {
29
+ CreateBrokerCommand: CreateBrokerCommand_1.CreateBrokerCommand,
30
+ CreateConfigurationCommand: CreateConfigurationCommand_1.CreateConfigurationCommand,
31
+ CreateTagsCommand: CreateTagsCommand_1.CreateTagsCommand,
32
+ CreateUserCommand: CreateUserCommand_1.CreateUserCommand,
33
+ DeleteBrokerCommand: DeleteBrokerCommand_1.DeleteBrokerCommand,
34
+ DeleteTagsCommand: DeleteTagsCommand_1.DeleteTagsCommand,
35
+ DeleteUserCommand: DeleteUserCommand_1.DeleteUserCommand,
36
+ DescribeBrokerCommand: DescribeBrokerCommand_1.DescribeBrokerCommand,
37
+ DescribeBrokerEngineTypesCommand: DescribeBrokerEngineTypesCommand_1.DescribeBrokerEngineTypesCommand,
38
+ DescribeBrokerInstanceOptionsCommand: DescribeBrokerInstanceOptionsCommand_1.DescribeBrokerInstanceOptionsCommand,
39
+ DescribeConfigurationCommand: DescribeConfigurationCommand_1.DescribeConfigurationCommand,
40
+ DescribeConfigurationRevisionCommand: DescribeConfigurationRevisionCommand_1.DescribeConfigurationRevisionCommand,
41
+ DescribeUserCommand: DescribeUserCommand_1.DescribeUserCommand,
42
+ ListBrokersCommand: ListBrokersCommand_1.ListBrokersCommand,
43
+ ListConfigurationRevisionsCommand: ListConfigurationRevisionsCommand_1.ListConfigurationRevisionsCommand,
44
+ ListConfigurationsCommand: ListConfigurationsCommand_1.ListConfigurationsCommand,
45
+ ListTagsCommand: ListTagsCommand_1.ListTagsCommand,
46
+ ListUsersCommand: ListUsersCommand_1.ListUsersCommand,
47
+ RebootBrokerCommand: RebootBrokerCommand_1.RebootBrokerCommand,
48
+ UpdateBrokerCommand: UpdateBrokerCommand_1.UpdateBrokerCommand,
49
+ UpdateConfigurationCommand: UpdateConfigurationCommand_1.UpdateConfigurationCommand,
50
+ UpdateUserCommand: UpdateUserCommand_1.UpdateUserCommand,
51
+ };
27
52
  class Mq extends MqClient_1.MqClient {
28
- createBroker(args, optionsOrCb, cb) {
29
- const command = new CreateBrokerCommand_1.CreateBrokerCommand(args);
30
- if (typeof optionsOrCb === "function") {
31
- this.send(command, optionsOrCb);
32
- }
33
- else if (typeof cb === "function") {
34
- if (typeof optionsOrCb !== "object")
35
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
36
- this.send(command, optionsOrCb || {}, cb);
37
- }
38
- else {
39
- return this.send(command, optionsOrCb);
40
- }
41
- }
42
- createConfiguration(args, optionsOrCb, cb) {
43
- const command = new CreateConfigurationCommand_1.CreateConfigurationCommand(args);
44
- if (typeof optionsOrCb === "function") {
45
- this.send(command, optionsOrCb);
46
- }
47
- else if (typeof cb === "function") {
48
- if (typeof optionsOrCb !== "object")
49
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
50
- this.send(command, optionsOrCb || {}, cb);
51
- }
52
- else {
53
- return this.send(command, optionsOrCb);
54
- }
55
- }
56
- createTags(args, optionsOrCb, cb) {
57
- const command = new CreateTagsCommand_1.CreateTagsCommand(args);
58
- if (typeof optionsOrCb === "function") {
59
- this.send(command, optionsOrCb);
60
- }
61
- else if (typeof cb === "function") {
62
- if (typeof optionsOrCb !== "object")
63
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
64
- this.send(command, optionsOrCb || {}, cb);
65
- }
66
- else {
67
- return this.send(command, optionsOrCb);
68
- }
69
- }
70
- createUser(args, optionsOrCb, cb) {
71
- const command = new CreateUserCommand_1.CreateUserCommand(args);
72
- if (typeof optionsOrCb === "function") {
73
- this.send(command, optionsOrCb);
74
- }
75
- else if (typeof cb === "function") {
76
- if (typeof optionsOrCb !== "object")
77
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
78
- this.send(command, optionsOrCb || {}, cb);
79
- }
80
- else {
81
- return this.send(command, optionsOrCb);
82
- }
83
- }
84
- deleteBroker(args, optionsOrCb, cb) {
85
- const command = new DeleteBrokerCommand_1.DeleteBrokerCommand(args);
86
- if (typeof optionsOrCb === "function") {
87
- this.send(command, optionsOrCb);
88
- }
89
- else if (typeof cb === "function") {
90
- if (typeof optionsOrCb !== "object")
91
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
92
- this.send(command, optionsOrCb || {}, cb);
93
- }
94
- else {
95
- return this.send(command, optionsOrCb);
96
- }
97
- }
98
- deleteTags(args, optionsOrCb, cb) {
99
- const command = new DeleteTagsCommand_1.DeleteTagsCommand(args);
100
- if (typeof optionsOrCb === "function") {
101
- this.send(command, optionsOrCb);
102
- }
103
- else if (typeof cb === "function") {
104
- if (typeof optionsOrCb !== "object")
105
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
106
- this.send(command, optionsOrCb || {}, cb);
107
- }
108
- else {
109
- return this.send(command, optionsOrCb);
110
- }
111
- }
112
- deleteUser(args, optionsOrCb, cb) {
113
- const command = new DeleteUserCommand_1.DeleteUserCommand(args);
114
- if (typeof optionsOrCb === "function") {
115
- this.send(command, optionsOrCb);
116
- }
117
- else if (typeof cb === "function") {
118
- if (typeof optionsOrCb !== "object")
119
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
120
- this.send(command, optionsOrCb || {}, cb);
121
- }
122
- else {
123
- return this.send(command, optionsOrCb);
124
- }
125
- }
126
- describeBroker(args, optionsOrCb, cb) {
127
- const command = new DescribeBrokerCommand_1.DescribeBrokerCommand(args);
128
- if (typeof optionsOrCb === "function") {
129
- this.send(command, optionsOrCb);
130
- }
131
- else if (typeof cb === "function") {
132
- if (typeof optionsOrCb !== "object")
133
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
134
- this.send(command, optionsOrCb || {}, cb);
135
- }
136
- else {
137
- return this.send(command, optionsOrCb);
138
- }
139
- }
140
- describeBrokerEngineTypes(args, optionsOrCb, cb) {
141
- const command = new DescribeBrokerEngineTypesCommand_1.DescribeBrokerEngineTypesCommand(args);
142
- if (typeof optionsOrCb === "function") {
143
- this.send(command, optionsOrCb);
144
- }
145
- else if (typeof cb === "function") {
146
- if (typeof optionsOrCb !== "object")
147
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
148
- this.send(command, optionsOrCb || {}, cb);
149
- }
150
- else {
151
- return this.send(command, optionsOrCb);
152
- }
153
- }
154
- describeBrokerInstanceOptions(args, optionsOrCb, cb) {
155
- const command = new DescribeBrokerInstanceOptionsCommand_1.DescribeBrokerInstanceOptionsCommand(args);
156
- if (typeof optionsOrCb === "function") {
157
- this.send(command, optionsOrCb);
158
- }
159
- else if (typeof cb === "function") {
160
- if (typeof optionsOrCb !== "object")
161
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
162
- this.send(command, optionsOrCb || {}, cb);
163
- }
164
- else {
165
- return this.send(command, optionsOrCb);
166
- }
167
- }
168
- describeConfiguration(args, optionsOrCb, cb) {
169
- const command = new DescribeConfigurationCommand_1.DescribeConfigurationCommand(args);
170
- if (typeof optionsOrCb === "function") {
171
- this.send(command, optionsOrCb);
172
- }
173
- else if (typeof cb === "function") {
174
- if (typeof optionsOrCb !== "object")
175
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
176
- this.send(command, optionsOrCb || {}, cb);
177
- }
178
- else {
179
- return this.send(command, optionsOrCb);
180
- }
181
- }
182
- describeConfigurationRevision(args, optionsOrCb, cb) {
183
- const command = new DescribeConfigurationRevisionCommand_1.DescribeConfigurationRevisionCommand(args);
184
- if (typeof optionsOrCb === "function") {
185
- this.send(command, optionsOrCb);
186
- }
187
- else if (typeof cb === "function") {
188
- if (typeof optionsOrCb !== "object")
189
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
190
- this.send(command, optionsOrCb || {}, cb);
191
- }
192
- else {
193
- return this.send(command, optionsOrCb);
194
- }
195
- }
196
- describeUser(args, optionsOrCb, cb) {
197
- const command = new DescribeUserCommand_1.DescribeUserCommand(args);
198
- if (typeof optionsOrCb === "function") {
199
- this.send(command, optionsOrCb);
200
- }
201
- else if (typeof cb === "function") {
202
- if (typeof optionsOrCb !== "object")
203
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
204
- this.send(command, optionsOrCb || {}, cb);
205
- }
206
- else {
207
- return this.send(command, optionsOrCb);
208
- }
209
- }
210
- listBrokers(args, optionsOrCb, cb) {
211
- const command = new ListBrokersCommand_1.ListBrokersCommand(args);
212
- if (typeof optionsOrCb === "function") {
213
- this.send(command, optionsOrCb);
214
- }
215
- else if (typeof cb === "function") {
216
- if (typeof optionsOrCb !== "object")
217
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
218
- this.send(command, optionsOrCb || {}, cb);
219
- }
220
- else {
221
- return this.send(command, optionsOrCb);
222
- }
223
- }
224
- listConfigurationRevisions(args, optionsOrCb, cb) {
225
- const command = new ListConfigurationRevisionsCommand_1.ListConfigurationRevisionsCommand(args);
226
- if (typeof optionsOrCb === "function") {
227
- this.send(command, optionsOrCb);
228
- }
229
- else if (typeof cb === "function") {
230
- if (typeof optionsOrCb !== "object")
231
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
232
- this.send(command, optionsOrCb || {}, cb);
233
- }
234
- else {
235
- return this.send(command, optionsOrCb);
236
- }
237
- }
238
- listConfigurations(args, optionsOrCb, cb) {
239
- const command = new ListConfigurationsCommand_1.ListConfigurationsCommand(args);
240
- if (typeof optionsOrCb === "function") {
241
- this.send(command, optionsOrCb);
242
- }
243
- else if (typeof cb === "function") {
244
- if (typeof optionsOrCb !== "object")
245
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
246
- this.send(command, optionsOrCb || {}, cb);
247
- }
248
- else {
249
- return this.send(command, optionsOrCb);
250
- }
251
- }
252
- listTags(args, optionsOrCb, cb) {
253
- const command = new ListTagsCommand_1.ListTagsCommand(args);
254
- if (typeof optionsOrCb === "function") {
255
- this.send(command, optionsOrCb);
256
- }
257
- else if (typeof cb === "function") {
258
- if (typeof optionsOrCb !== "object")
259
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
260
- this.send(command, optionsOrCb || {}, cb);
261
- }
262
- else {
263
- return this.send(command, optionsOrCb);
264
- }
265
- }
266
- listUsers(args, optionsOrCb, cb) {
267
- const command = new ListUsersCommand_1.ListUsersCommand(args);
268
- if (typeof optionsOrCb === "function") {
269
- this.send(command, optionsOrCb);
270
- }
271
- else if (typeof cb === "function") {
272
- if (typeof optionsOrCb !== "object")
273
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
274
- this.send(command, optionsOrCb || {}, cb);
275
- }
276
- else {
277
- return this.send(command, optionsOrCb);
278
- }
279
- }
280
- rebootBroker(args, optionsOrCb, cb) {
281
- const command = new RebootBrokerCommand_1.RebootBrokerCommand(args);
282
- if (typeof optionsOrCb === "function") {
283
- this.send(command, optionsOrCb);
284
- }
285
- else if (typeof cb === "function") {
286
- if (typeof optionsOrCb !== "object")
287
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
288
- this.send(command, optionsOrCb || {}, cb);
289
- }
290
- else {
291
- return this.send(command, optionsOrCb);
292
- }
293
- }
294
- updateBroker(args, optionsOrCb, cb) {
295
- const command = new UpdateBrokerCommand_1.UpdateBrokerCommand(args);
296
- if (typeof optionsOrCb === "function") {
297
- this.send(command, optionsOrCb);
298
- }
299
- else if (typeof cb === "function") {
300
- if (typeof optionsOrCb !== "object")
301
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
302
- this.send(command, optionsOrCb || {}, cb);
303
- }
304
- else {
305
- return this.send(command, optionsOrCb);
306
- }
307
- }
308
- updateConfiguration(args, optionsOrCb, cb) {
309
- const command = new UpdateConfigurationCommand_1.UpdateConfigurationCommand(args);
310
- if (typeof optionsOrCb === "function") {
311
- this.send(command, optionsOrCb);
312
- }
313
- else if (typeof cb === "function") {
314
- if (typeof optionsOrCb !== "object")
315
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
316
- this.send(command, optionsOrCb || {}, cb);
317
- }
318
- else {
319
- return this.send(command, optionsOrCb);
320
- }
321
- }
322
- updateUser(args, optionsOrCb, cb) {
323
- const command = new UpdateUserCommand_1.UpdateUserCommand(args);
324
- if (typeof optionsOrCb === "function") {
325
- this.send(command, optionsOrCb);
326
- }
327
- else if (typeof cb === "function") {
328
- if (typeof optionsOrCb !== "object")
329
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
330
- this.send(command, optionsOrCb || {}, cb);
331
- }
332
- else {
333
- return this.send(command, optionsOrCb);
334
- }
335
- }
336
53
  }
337
54
  exports.Mq = Mq;
55
+ (0, smithy_client_1.createAggregatedClient)(commands, Mq);
@@ -18,7 +18,7 @@ const se_CreateBrokerCommand = async (input, context) => {
18
18
  autoMinorVersionUpgrade: [, , `AutoMinorVersionUpgrade`],
19
19
  brokerName: [, , `BrokerName`],
20
20
  configuration: [, (_) => se_ConfigurationId(_, context), `Configuration`],
21
- creatorRequestId: [, (_) => _ ?? (0, uuid_1.v4)(), `CreatorRequestId`],
21
+ creatorRequestId: [true, (_) => _ ?? (0, uuid_1.v4)(), `CreatorRequestId`],
22
22
  deploymentMode: [, , `DeploymentMode`],
23
23
  encryptionOptions: [, (_) => se_EncryptionOptions(_, context), `EncryptionOptions`],
24
24
  engineType: [, , `EngineType`],
package/dist-es/Mq.js CHANGED
@@ -1,3 +1,4 @@
1
+ import { createAggregatedClient } from "@aws-sdk/smithy-client";
1
2
  import { CreateBrokerCommand, } from "./commands/CreateBrokerCommand";
2
3
  import { CreateConfigurationCommand, } from "./commands/CreateConfigurationCommand";
3
4
  import { CreateTagsCommand } from "./commands/CreateTagsCommand";
@@ -21,313 +22,30 @@ import { UpdateBrokerCommand, } from "./commands/UpdateBrokerCommand";
21
22
  import { UpdateConfigurationCommand, } from "./commands/UpdateConfigurationCommand";
22
23
  import { UpdateUserCommand } from "./commands/UpdateUserCommand";
23
24
  import { MqClient } from "./MqClient";
25
+ const commands = {
26
+ CreateBrokerCommand,
27
+ CreateConfigurationCommand,
28
+ CreateTagsCommand,
29
+ CreateUserCommand,
30
+ DeleteBrokerCommand,
31
+ DeleteTagsCommand,
32
+ DeleteUserCommand,
33
+ DescribeBrokerCommand,
34
+ DescribeBrokerEngineTypesCommand,
35
+ DescribeBrokerInstanceOptionsCommand,
36
+ DescribeConfigurationCommand,
37
+ DescribeConfigurationRevisionCommand,
38
+ DescribeUserCommand,
39
+ ListBrokersCommand,
40
+ ListConfigurationRevisionsCommand,
41
+ ListConfigurationsCommand,
42
+ ListTagsCommand,
43
+ ListUsersCommand,
44
+ RebootBrokerCommand,
45
+ UpdateBrokerCommand,
46
+ UpdateConfigurationCommand,
47
+ UpdateUserCommand,
48
+ };
24
49
  export class Mq extends MqClient {
25
- createBroker(args, optionsOrCb, cb) {
26
- const command = new CreateBrokerCommand(args);
27
- if (typeof optionsOrCb === "function") {
28
- this.send(command, optionsOrCb);
29
- }
30
- else if (typeof cb === "function") {
31
- if (typeof optionsOrCb !== "object")
32
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
33
- this.send(command, optionsOrCb || {}, cb);
34
- }
35
- else {
36
- return this.send(command, optionsOrCb);
37
- }
38
- }
39
- createConfiguration(args, optionsOrCb, cb) {
40
- const command = new CreateConfigurationCommand(args);
41
- if (typeof optionsOrCb === "function") {
42
- this.send(command, optionsOrCb);
43
- }
44
- else if (typeof cb === "function") {
45
- if (typeof optionsOrCb !== "object")
46
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
47
- this.send(command, optionsOrCb || {}, cb);
48
- }
49
- else {
50
- return this.send(command, optionsOrCb);
51
- }
52
- }
53
- createTags(args, optionsOrCb, cb) {
54
- const command = new CreateTagsCommand(args);
55
- if (typeof optionsOrCb === "function") {
56
- this.send(command, optionsOrCb);
57
- }
58
- else if (typeof cb === "function") {
59
- if (typeof optionsOrCb !== "object")
60
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
61
- this.send(command, optionsOrCb || {}, cb);
62
- }
63
- else {
64
- return this.send(command, optionsOrCb);
65
- }
66
- }
67
- createUser(args, optionsOrCb, cb) {
68
- const command = new CreateUserCommand(args);
69
- if (typeof optionsOrCb === "function") {
70
- this.send(command, optionsOrCb);
71
- }
72
- else if (typeof cb === "function") {
73
- if (typeof optionsOrCb !== "object")
74
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
75
- this.send(command, optionsOrCb || {}, cb);
76
- }
77
- else {
78
- return this.send(command, optionsOrCb);
79
- }
80
- }
81
- deleteBroker(args, optionsOrCb, cb) {
82
- const command = new DeleteBrokerCommand(args);
83
- if (typeof optionsOrCb === "function") {
84
- this.send(command, optionsOrCb);
85
- }
86
- else if (typeof cb === "function") {
87
- if (typeof optionsOrCb !== "object")
88
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
89
- this.send(command, optionsOrCb || {}, cb);
90
- }
91
- else {
92
- return this.send(command, optionsOrCb);
93
- }
94
- }
95
- deleteTags(args, optionsOrCb, cb) {
96
- const command = new DeleteTagsCommand(args);
97
- if (typeof optionsOrCb === "function") {
98
- this.send(command, optionsOrCb);
99
- }
100
- else if (typeof cb === "function") {
101
- if (typeof optionsOrCb !== "object")
102
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
103
- this.send(command, optionsOrCb || {}, cb);
104
- }
105
- else {
106
- return this.send(command, optionsOrCb);
107
- }
108
- }
109
- deleteUser(args, optionsOrCb, cb) {
110
- const command = new DeleteUserCommand(args);
111
- if (typeof optionsOrCb === "function") {
112
- this.send(command, optionsOrCb);
113
- }
114
- else if (typeof cb === "function") {
115
- if (typeof optionsOrCb !== "object")
116
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
117
- this.send(command, optionsOrCb || {}, cb);
118
- }
119
- else {
120
- return this.send(command, optionsOrCb);
121
- }
122
- }
123
- describeBroker(args, optionsOrCb, cb) {
124
- const command = new DescribeBrokerCommand(args);
125
- if (typeof optionsOrCb === "function") {
126
- this.send(command, optionsOrCb);
127
- }
128
- else if (typeof cb === "function") {
129
- if (typeof optionsOrCb !== "object")
130
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
131
- this.send(command, optionsOrCb || {}, cb);
132
- }
133
- else {
134
- return this.send(command, optionsOrCb);
135
- }
136
- }
137
- describeBrokerEngineTypes(args, optionsOrCb, cb) {
138
- const command = new DescribeBrokerEngineTypesCommand(args);
139
- if (typeof optionsOrCb === "function") {
140
- this.send(command, optionsOrCb);
141
- }
142
- else if (typeof cb === "function") {
143
- if (typeof optionsOrCb !== "object")
144
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
145
- this.send(command, optionsOrCb || {}, cb);
146
- }
147
- else {
148
- return this.send(command, optionsOrCb);
149
- }
150
- }
151
- describeBrokerInstanceOptions(args, optionsOrCb, cb) {
152
- const command = new DescribeBrokerInstanceOptionsCommand(args);
153
- if (typeof optionsOrCb === "function") {
154
- this.send(command, optionsOrCb);
155
- }
156
- else if (typeof cb === "function") {
157
- if (typeof optionsOrCb !== "object")
158
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
159
- this.send(command, optionsOrCb || {}, cb);
160
- }
161
- else {
162
- return this.send(command, optionsOrCb);
163
- }
164
- }
165
- describeConfiguration(args, optionsOrCb, cb) {
166
- const command = new DescribeConfigurationCommand(args);
167
- if (typeof optionsOrCb === "function") {
168
- this.send(command, optionsOrCb);
169
- }
170
- else if (typeof cb === "function") {
171
- if (typeof optionsOrCb !== "object")
172
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
173
- this.send(command, optionsOrCb || {}, cb);
174
- }
175
- else {
176
- return this.send(command, optionsOrCb);
177
- }
178
- }
179
- describeConfigurationRevision(args, optionsOrCb, cb) {
180
- const command = new DescribeConfigurationRevisionCommand(args);
181
- if (typeof optionsOrCb === "function") {
182
- this.send(command, optionsOrCb);
183
- }
184
- else if (typeof cb === "function") {
185
- if (typeof optionsOrCb !== "object")
186
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
187
- this.send(command, optionsOrCb || {}, cb);
188
- }
189
- else {
190
- return this.send(command, optionsOrCb);
191
- }
192
- }
193
- describeUser(args, optionsOrCb, cb) {
194
- const command = new DescribeUserCommand(args);
195
- if (typeof optionsOrCb === "function") {
196
- this.send(command, optionsOrCb);
197
- }
198
- else if (typeof cb === "function") {
199
- if (typeof optionsOrCb !== "object")
200
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
201
- this.send(command, optionsOrCb || {}, cb);
202
- }
203
- else {
204
- return this.send(command, optionsOrCb);
205
- }
206
- }
207
- listBrokers(args, optionsOrCb, cb) {
208
- const command = new ListBrokersCommand(args);
209
- if (typeof optionsOrCb === "function") {
210
- this.send(command, optionsOrCb);
211
- }
212
- else if (typeof cb === "function") {
213
- if (typeof optionsOrCb !== "object")
214
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
215
- this.send(command, optionsOrCb || {}, cb);
216
- }
217
- else {
218
- return this.send(command, optionsOrCb);
219
- }
220
- }
221
- listConfigurationRevisions(args, optionsOrCb, cb) {
222
- const command = new ListConfigurationRevisionsCommand(args);
223
- if (typeof optionsOrCb === "function") {
224
- this.send(command, optionsOrCb);
225
- }
226
- else if (typeof cb === "function") {
227
- if (typeof optionsOrCb !== "object")
228
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
229
- this.send(command, optionsOrCb || {}, cb);
230
- }
231
- else {
232
- return this.send(command, optionsOrCb);
233
- }
234
- }
235
- listConfigurations(args, optionsOrCb, cb) {
236
- const command = new ListConfigurationsCommand(args);
237
- if (typeof optionsOrCb === "function") {
238
- this.send(command, optionsOrCb);
239
- }
240
- else if (typeof cb === "function") {
241
- if (typeof optionsOrCb !== "object")
242
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
243
- this.send(command, optionsOrCb || {}, cb);
244
- }
245
- else {
246
- return this.send(command, optionsOrCb);
247
- }
248
- }
249
- listTags(args, optionsOrCb, cb) {
250
- const command = new ListTagsCommand(args);
251
- if (typeof optionsOrCb === "function") {
252
- this.send(command, optionsOrCb);
253
- }
254
- else if (typeof cb === "function") {
255
- if (typeof optionsOrCb !== "object")
256
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
257
- this.send(command, optionsOrCb || {}, cb);
258
- }
259
- else {
260
- return this.send(command, optionsOrCb);
261
- }
262
- }
263
- listUsers(args, optionsOrCb, cb) {
264
- const command = new ListUsersCommand(args);
265
- if (typeof optionsOrCb === "function") {
266
- this.send(command, optionsOrCb);
267
- }
268
- else if (typeof cb === "function") {
269
- if (typeof optionsOrCb !== "object")
270
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
271
- this.send(command, optionsOrCb || {}, cb);
272
- }
273
- else {
274
- return this.send(command, optionsOrCb);
275
- }
276
- }
277
- rebootBroker(args, optionsOrCb, cb) {
278
- const command = new RebootBrokerCommand(args);
279
- if (typeof optionsOrCb === "function") {
280
- this.send(command, optionsOrCb);
281
- }
282
- else if (typeof cb === "function") {
283
- if (typeof optionsOrCb !== "object")
284
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
285
- this.send(command, optionsOrCb || {}, cb);
286
- }
287
- else {
288
- return this.send(command, optionsOrCb);
289
- }
290
- }
291
- updateBroker(args, optionsOrCb, cb) {
292
- const command = new UpdateBrokerCommand(args);
293
- if (typeof optionsOrCb === "function") {
294
- this.send(command, optionsOrCb);
295
- }
296
- else if (typeof cb === "function") {
297
- if (typeof optionsOrCb !== "object")
298
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
299
- this.send(command, optionsOrCb || {}, cb);
300
- }
301
- else {
302
- return this.send(command, optionsOrCb);
303
- }
304
- }
305
- updateConfiguration(args, optionsOrCb, cb) {
306
- const command = new UpdateConfigurationCommand(args);
307
- if (typeof optionsOrCb === "function") {
308
- this.send(command, optionsOrCb);
309
- }
310
- else if (typeof cb === "function") {
311
- if (typeof optionsOrCb !== "object")
312
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
313
- this.send(command, optionsOrCb || {}, cb);
314
- }
315
- else {
316
- return this.send(command, optionsOrCb);
317
- }
318
- }
319
- updateUser(args, optionsOrCb, cb) {
320
- const command = new UpdateUserCommand(args);
321
- if (typeof optionsOrCb === "function") {
322
- this.send(command, optionsOrCb);
323
- }
324
- else if (typeof cb === "function") {
325
- if (typeof optionsOrCb !== "object")
326
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
327
- this.send(command, optionsOrCb || {}, cb);
328
- }
329
- else {
330
- return this.send(command, optionsOrCb);
331
- }
332
- }
333
50
  }
51
+ createAggregatedClient(commands, Mq);
@@ -15,7 +15,7 @@ export const se_CreateBrokerCommand = async (input, context) => {
15
15
  autoMinorVersionUpgrade: [, , `AutoMinorVersionUpgrade`],
16
16
  brokerName: [, , `BrokerName`],
17
17
  configuration: [, (_) => se_ConfigurationId(_, context), `Configuration`],
18
- creatorRequestId: [, (_) => _ ?? generateIdempotencyToken(), `CreatorRequestId`],
18
+ creatorRequestId: [true, (_) => _ ?? generateIdempotencyToken(), `CreatorRequestId`],
19
19
  deploymentMode: [, , `DeploymentMode`],
20
20
  encryptionOptions: [, (_) => se_EncryptionOptions(_, context), `EncryptionOptions`],
21
21
  engineType: [, , `EngineType`],
@@ -22,163 +22,143 @@ import { UpdateBrokerCommandInput, UpdateBrokerCommandOutput } from "./commands/
22
22
  import { UpdateConfigurationCommandInput, UpdateConfigurationCommandOutput } from "./commands/UpdateConfigurationCommand";
23
23
  import { UpdateUserCommandInput, UpdateUserCommandOutput } from "./commands/UpdateUserCommand";
24
24
  import { MqClient } from "./MqClient";
25
- /**
26
- * @public
27
- * <p>Amazon MQ is a managed message broker service for Apache ActiveMQ and RabbitMQ that makes it easy to set up and operate message brokers in the cloud. A message broker allows software applications and components to communicate using various programming languages, operating systems, and formal messaging protocols.</p>
28
- */
29
- export declare class Mq extends MqClient {
25
+ export interface Mq {
30
26
  /**
31
- * @public
32
- * <p>Creates a broker. Note: This API is asynchronous.</p> <p>To create a broker, you must either use the AmazonMQFullAccess IAM policy or include the following EC2 permissions in your IAM policy.</p> <ul><li><p>ec2:CreateNetworkInterface</p> <p>This permission is required to allow Amazon MQ to create an elastic network interface (ENI) on behalf of your account.</p></li> <li><p>ec2:CreateNetworkInterfacePermission</p> <p>This permission is required to attach the ENI to the broker instance.</p></li> <li><p>ec2:DeleteNetworkInterface</p></li> <li><p>ec2:DeleteNetworkInterfacePermission</p></li> <li><p>ec2:DetachNetworkInterface</p></li> <li><p>ec2:DescribeInternetGateways</p></li> <li><p>ec2:DescribeNetworkInterfaces</p></li> <li><p>ec2:DescribeNetworkInterfacePermissions</p></li> <li><p>ec2:DescribeRouteTables</p></li> <li><p>ec2:DescribeSecurityGroups</p></li> <li><p>ec2:DescribeSubnets</p></li> <li><p>ec2:DescribeVpcs</p></li></ul> <p>For more information, see <a href="https://docs.aws.amazon.com//amazon-mq/latest/developer-guide/amazon-mq-setting-up.html#create-iam-user">Create an IAM User and Get Your AWS Credentials</a> and <a href="https://docs.aws.amazon.com/amazon-mq/latest/developer-guide/connecting-to-amazon-mq.html#never-modify-delete-elastic-network-interface">Never Modify or Delete the Amazon MQ Elastic Network Interface</a> in the <i>Amazon MQ Developer Guide</i>.</p>
27
+ * @see {@link CreateBrokerCommand}
33
28
  */
34
29
  createBroker(args: CreateBrokerCommandInput, options?: __HttpHandlerOptions): Promise<CreateBrokerCommandOutput>;
35
30
  createBroker(args: CreateBrokerCommandInput, cb: (err: any, data?: CreateBrokerCommandOutput) => void): void;
36
31
  createBroker(args: CreateBrokerCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateBrokerCommandOutput) => void): void;
37
32
  /**
38
- * @public
39
- * <p>Creates a new configuration for the specified configuration name. Amazon MQ uses the default configuration (the engine type and version).</p>
33
+ * @see {@link CreateConfigurationCommand}
40
34
  */
41
35
  createConfiguration(args: CreateConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<CreateConfigurationCommandOutput>;
42
36
  createConfiguration(args: CreateConfigurationCommandInput, cb: (err: any, data?: CreateConfigurationCommandOutput) => void): void;
43
37
  createConfiguration(args: CreateConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateConfigurationCommandOutput) => void): void;
44
38
  /**
45
- * @public
46
- * <p>Add a tag to a resource.</p>
39
+ * @see {@link CreateTagsCommand}
47
40
  */
48
41
  createTags(args: CreateTagsCommandInput, options?: __HttpHandlerOptions): Promise<CreateTagsCommandOutput>;
49
42
  createTags(args: CreateTagsCommandInput, cb: (err: any, data?: CreateTagsCommandOutput) => void): void;
50
43
  createTags(args: CreateTagsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateTagsCommandOutput) => void): void;
51
44
  /**
52
- * @public
53
- * <p>Creates an ActiveMQ user.</p>
45
+ * @see {@link CreateUserCommand}
54
46
  */
55
47
  createUser(args: CreateUserCommandInput, options?: __HttpHandlerOptions): Promise<CreateUserCommandOutput>;
56
48
  createUser(args: CreateUserCommandInput, cb: (err: any, data?: CreateUserCommandOutput) => void): void;
57
49
  createUser(args: CreateUserCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateUserCommandOutput) => void): void;
58
50
  /**
59
- * @public
60
- * <p>Deletes a broker. Note: This API is asynchronous.</p>
51
+ * @see {@link DeleteBrokerCommand}
61
52
  */
62
53
  deleteBroker(args: DeleteBrokerCommandInput, options?: __HttpHandlerOptions): Promise<DeleteBrokerCommandOutput>;
63
54
  deleteBroker(args: DeleteBrokerCommandInput, cb: (err: any, data?: DeleteBrokerCommandOutput) => void): void;
64
55
  deleteBroker(args: DeleteBrokerCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteBrokerCommandOutput) => void): void;
65
56
  /**
66
- * @public
67
- * <p>Removes a tag from a resource.</p>
57
+ * @see {@link DeleteTagsCommand}
68
58
  */
69
59
  deleteTags(args: DeleteTagsCommandInput, options?: __HttpHandlerOptions): Promise<DeleteTagsCommandOutput>;
70
60
  deleteTags(args: DeleteTagsCommandInput, cb: (err: any, data?: DeleteTagsCommandOutput) => void): void;
71
61
  deleteTags(args: DeleteTagsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteTagsCommandOutput) => void): void;
72
62
  /**
73
- * @public
74
- * <p>Deletes an ActiveMQ user.</p>
63
+ * @see {@link DeleteUserCommand}
75
64
  */
76
65
  deleteUser(args: DeleteUserCommandInput, options?: __HttpHandlerOptions): Promise<DeleteUserCommandOutput>;
77
66
  deleteUser(args: DeleteUserCommandInput, cb: (err: any, data?: DeleteUserCommandOutput) => void): void;
78
67
  deleteUser(args: DeleteUserCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteUserCommandOutput) => void): void;
79
68
  /**
80
- * @public
81
- * <p>Returns information about the specified broker.</p>
69
+ * @see {@link DescribeBrokerCommand}
82
70
  */
83
71
  describeBroker(args: DescribeBrokerCommandInput, options?: __HttpHandlerOptions): Promise<DescribeBrokerCommandOutput>;
84
72
  describeBroker(args: DescribeBrokerCommandInput, cb: (err: any, data?: DescribeBrokerCommandOutput) => void): void;
85
73
  describeBroker(args: DescribeBrokerCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeBrokerCommandOutput) => void): void;
86
74
  /**
87
- * @public
88
- * <p>Describe available engine types and versions.</p>
75
+ * @see {@link DescribeBrokerEngineTypesCommand}
89
76
  */
90
77
  describeBrokerEngineTypes(args: DescribeBrokerEngineTypesCommandInput, options?: __HttpHandlerOptions): Promise<DescribeBrokerEngineTypesCommandOutput>;
91
78
  describeBrokerEngineTypes(args: DescribeBrokerEngineTypesCommandInput, cb: (err: any, data?: DescribeBrokerEngineTypesCommandOutput) => void): void;
92
79
  describeBrokerEngineTypes(args: DescribeBrokerEngineTypesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeBrokerEngineTypesCommandOutput) => void): void;
93
80
  /**
94
- * @public
95
- * <p>Describe available broker instance options.</p>
81
+ * @see {@link DescribeBrokerInstanceOptionsCommand}
96
82
  */
97
83
  describeBrokerInstanceOptions(args: DescribeBrokerInstanceOptionsCommandInput, options?: __HttpHandlerOptions): Promise<DescribeBrokerInstanceOptionsCommandOutput>;
98
84
  describeBrokerInstanceOptions(args: DescribeBrokerInstanceOptionsCommandInput, cb: (err: any, data?: DescribeBrokerInstanceOptionsCommandOutput) => void): void;
99
85
  describeBrokerInstanceOptions(args: DescribeBrokerInstanceOptionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeBrokerInstanceOptionsCommandOutput) => void): void;
100
86
  /**
101
- * @public
102
- * <p>Returns information about the specified configuration.</p>
87
+ * @see {@link DescribeConfigurationCommand}
103
88
  */
104
89
  describeConfiguration(args: DescribeConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<DescribeConfigurationCommandOutput>;
105
90
  describeConfiguration(args: DescribeConfigurationCommandInput, cb: (err: any, data?: DescribeConfigurationCommandOutput) => void): void;
106
91
  describeConfiguration(args: DescribeConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeConfigurationCommandOutput) => void): void;
107
92
  /**
108
- * @public
109
- * <p>Returns the specified configuration revision for the specified configuration.</p>
93
+ * @see {@link DescribeConfigurationRevisionCommand}
110
94
  */
111
95
  describeConfigurationRevision(args: DescribeConfigurationRevisionCommandInput, options?: __HttpHandlerOptions): Promise<DescribeConfigurationRevisionCommandOutput>;
112
96
  describeConfigurationRevision(args: DescribeConfigurationRevisionCommandInput, cb: (err: any, data?: DescribeConfigurationRevisionCommandOutput) => void): void;
113
97
  describeConfigurationRevision(args: DescribeConfigurationRevisionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeConfigurationRevisionCommandOutput) => void): void;
114
98
  /**
115
- * @public
116
- * <p>Returns information about an ActiveMQ user.</p>
99
+ * @see {@link DescribeUserCommand}
117
100
  */
118
101
  describeUser(args: DescribeUserCommandInput, options?: __HttpHandlerOptions): Promise<DescribeUserCommandOutput>;
119
102
  describeUser(args: DescribeUserCommandInput, cb: (err: any, data?: DescribeUserCommandOutput) => void): void;
120
103
  describeUser(args: DescribeUserCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeUserCommandOutput) => void): void;
121
104
  /**
122
- * @public
123
- * <p>Returns a list of all brokers.</p>
105
+ * @see {@link ListBrokersCommand}
124
106
  */
125
107
  listBrokers(args: ListBrokersCommandInput, options?: __HttpHandlerOptions): Promise<ListBrokersCommandOutput>;
126
108
  listBrokers(args: ListBrokersCommandInput, cb: (err: any, data?: ListBrokersCommandOutput) => void): void;
127
109
  listBrokers(args: ListBrokersCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListBrokersCommandOutput) => void): void;
128
110
  /**
129
- * @public
130
- * <p>Returns a list of all revisions for the specified configuration.</p>
111
+ * @see {@link ListConfigurationRevisionsCommand}
131
112
  */
132
113
  listConfigurationRevisions(args: ListConfigurationRevisionsCommandInput, options?: __HttpHandlerOptions): Promise<ListConfigurationRevisionsCommandOutput>;
133
114
  listConfigurationRevisions(args: ListConfigurationRevisionsCommandInput, cb: (err: any, data?: ListConfigurationRevisionsCommandOutput) => void): void;
134
115
  listConfigurationRevisions(args: ListConfigurationRevisionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListConfigurationRevisionsCommandOutput) => void): void;
135
116
  /**
136
- * @public
137
- * <p>Returns a list of all configurations.</p>
117
+ * @see {@link ListConfigurationsCommand}
138
118
  */
139
119
  listConfigurations(args: ListConfigurationsCommandInput, options?: __HttpHandlerOptions): Promise<ListConfigurationsCommandOutput>;
140
120
  listConfigurations(args: ListConfigurationsCommandInput, cb: (err: any, data?: ListConfigurationsCommandOutput) => void): void;
141
121
  listConfigurations(args: ListConfigurationsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListConfigurationsCommandOutput) => void): void;
142
122
  /**
143
- * @public
144
- * <p>Lists tags for a resource.</p>
123
+ * @see {@link ListTagsCommand}
145
124
  */
146
125
  listTags(args: ListTagsCommandInput, options?: __HttpHandlerOptions): Promise<ListTagsCommandOutput>;
147
126
  listTags(args: ListTagsCommandInput, cb: (err: any, data?: ListTagsCommandOutput) => void): void;
148
127
  listTags(args: ListTagsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsCommandOutput) => void): void;
149
128
  /**
150
- * @public
151
- * <p>Returns a list of all ActiveMQ users.</p>
129
+ * @see {@link ListUsersCommand}
152
130
  */
153
131
  listUsers(args: ListUsersCommandInput, options?: __HttpHandlerOptions): Promise<ListUsersCommandOutput>;
154
132
  listUsers(args: ListUsersCommandInput, cb: (err: any, data?: ListUsersCommandOutput) => void): void;
155
133
  listUsers(args: ListUsersCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListUsersCommandOutput) => void): void;
156
134
  /**
157
- * @public
158
- * <p>Reboots a broker. Note: This API is asynchronous.</p>
135
+ * @see {@link RebootBrokerCommand}
159
136
  */
160
137
  rebootBroker(args: RebootBrokerCommandInput, options?: __HttpHandlerOptions): Promise<RebootBrokerCommandOutput>;
161
138
  rebootBroker(args: RebootBrokerCommandInput, cb: (err: any, data?: RebootBrokerCommandOutput) => void): void;
162
139
  rebootBroker(args: RebootBrokerCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: RebootBrokerCommandOutput) => void): void;
163
140
  /**
164
- * @public
165
- * <p>Adds a pending configuration change to a broker.</p>
141
+ * @see {@link UpdateBrokerCommand}
166
142
  */
167
143
  updateBroker(args: UpdateBrokerCommandInput, options?: __HttpHandlerOptions): Promise<UpdateBrokerCommandOutput>;
168
144
  updateBroker(args: UpdateBrokerCommandInput, cb: (err: any, data?: UpdateBrokerCommandOutput) => void): void;
169
145
  updateBroker(args: UpdateBrokerCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateBrokerCommandOutput) => void): void;
170
146
  /**
171
- * @public
172
- * <p>Updates the specified configuration.</p>
147
+ * @see {@link UpdateConfigurationCommand}
173
148
  */
174
149
  updateConfiguration(args: UpdateConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<UpdateConfigurationCommandOutput>;
175
150
  updateConfiguration(args: UpdateConfigurationCommandInput, cb: (err: any, data?: UpdateConfigurationCommandOutput) => void): void;
176
151
  updateConfiguration(args: UpdateConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateConfigurationCommandOutput) => void): void;
177
152
  /**
178
- * @public
179
- * <p>Updates the information for an ActiveMQ user.</p>
153
+ * @see {@link UpdateUserCommand}
180
154
  */
181
155
  updateUser(args: UpdateUserCommandInput, options?: __HttpHandlerOptions): Promise<UpdateUserCommandOutput>;
182
156
  updateUser(args: UpdateUserCommandInput, cb: (err: any, data?: UpdateUserCommandOutput) => void): void;
183
157
  updateUser(args: UpdateUserCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateUserCommandOutput) => void): void;
184
158
  }
159
+ /**
160
+ * @public
161
+ * <p>Amazon MQ is a managed message broker service for Apache ActiveMQ and RabbitMQ that makes it easy to set up and operate message brokers in the cloud. A message broker allows software applications and components to communicate using various programming languages, operating systems, and formal messaging protocols.</p>
162
+ */
163
+ export declare class Mq extends MqClient implements Mq {
164
+ }
@@ -88,7 +88,7 @@ import {
88
88
  UpdateUserCommandOutput,
89
89
  } from "./commands/UpdateUserCommand";
90
90
  import { MqClient } from "./MqClient";
91
- export declare class Mq extends MqClient {
91
+ export interface Mq {
92
92
  createBroker(
93
93
  args: CreateBrokerCommandInput,
94
94
  options?: __HttpHandlerOptions
@@ -376,3 +376,4 @@ export declare class Mq extends MqClient {
376
376
  cb: (err: any, data?: UpdateUserCommandOutput) => void
377
377
  ): void;
378
378
  }
379
+ export declare class Mq extends MqClient implements Mq {}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-mq",
3
3
  "description": "AWS SDK for JavaScript Mq Client for Node.js, Browser and React Native",
4
- "version": "3.315.0",
4
+ "version": "3.316.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.315.0",
24
+ "@aws-sdk/client-sts": "3.316.0",
25
25
  "@aws-sdk/config-resolver": "3.310.0",
26
- "@aws-sdk/credential-provider-node": "3.315.0",
26
+ "@aws-sdk/credential-provider-node": "3.316.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",
@@ -40,14 +40,14 @@
40
40
  "@aws-sdk/node-config-provider": "3.310.0",
41
41
  "@aws-sdk/node-http-handler": "3.310.0",
42
42
  "@aws-sdk/protocol-http": "3.310.0",
43
- "@aws-sdk/smithy-client": "3.315.0",
43
+ "@aws-sdk/smithy-client": "3.316.0",
44
44
  "@aws-sdk/types": "3.310.0",
45
45
  "@aws-sdk/url-parser": "3.310.0",
46
46
  "@aws-sdk/util-base64": "3.310.0",
47
47
  "@aws-sdk/util-body-length-browser": "3.310.0",
48
48
  "@aws-sdk/util-body-length-node": "3.310.0",
49
- "@aws-sdk/util-defaults-mode-browser": "3.315.0",
50
- "@aws-sdk/util-defaults-mode-node": "3.315.0",
49
+ "@aws-sdk/util-defaults-mode-browser": "3.316.0",
50
+ "@aws-sdk/util-defaults-mode-node": "3.316.0",
51
51
  "@aws-sdk/util-endpoints": "3.310.0",
52
52
  "@aws-sdk/util-retry": "3.310.0",
53
53
  "@aws-sdk/util-user-agent-browser": "3.310.0",