@aws-sdk/client-mq 3.296.0 → 3.298.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (76) hide show
  1. package/dist-cjs/commands/CreateBrokerCommand.js +2 -3
  2. package/dist-cjs/commands/CreateConfigurationCommand.js +2 -3
  3. package/dist-cjs/commands/CreateTagsCommand.js +2 -3
  4. package/dist-cjs/commands/CreateUserCommand.js +2 -3
  5. package/dist-cjs/commands/DeleteBrokerCommand.js +2 -3
  6. package/dist-cjs/commands/DeleteTagsCommand.js +2 -3
  7. package/dist-cjs/commands/DeleteUserCommand.js +2 -3
  8. package/dist-cjs/commands/DescribeBrokerCommand.js +2 -3
  9. package/dist-cjs/commands/DescribeBrokerEngineTypesCommand.js +2 -3
  10. package/dist-cjs/commands/DescribeBrokerInstanceOptionsCommand.js +2 -3
  11. package/dist-cjs/commands/DescribeConfigurationCommand.js +2 -3
  12. package/dist-cjs/commands/DescribeConfigurationRevisionCommand.js +2 -3
  13. package/dist-cjs/commands/DescribeUserCommand.js +2 -3
  14. package/dist-cjs/commands/ListBrokersCommand.js +2 -3
  15. package/dist-cjs/commands/ListConfigurationRevisionsCommand.js +2 -3
  16. package/dist-cjs/commands/ListConfigurationsCommand.js +2 -3
  17. package/dist-cjs/commands/ListTagsCommand.js +2 -3
  18. package/dist-cjs/commands/ListUsersCommand.js +2 -3
  19. package/dist-cjs/commands/RebootBrokerCommand.js +2 -3
  20. package/dist-cjs/commands/UpdateBrokerCommand.js +2 -3
  21. package/dist-cjs/commands/UpdateConfigurationCommand.js +2 -3
  22. package/dist-cjs/commands/UpdateUserCommand.js +2 -3
  23. package/dist-cjs/models/models_0.js +1 -258
  24. package/dist-es/commands/CreateBrokerCommand.js +2 -3
  25. package/dist-es/commands/CreateConfigurationCommand.js +2 -3
  26. package/dist-es/commands/CreateTagsCommand.js +2 -3
  27. package/dist-es/commands/CreateUserCommand.js +2 -3
  28. package/dist-es/commands/DeleteBrokerCommand.js +2 -3
  29. package/dist-es/commands/DeleteTagsCommand.js +2 -3
  30. package/dist-es/commands/DeleteUserCommand.js +2 -3
  31. package/dist-es/commands/DescribeBrokerCommand.js +2 -3
  32. package/dist-es/commands/DescribeBrokerEngineTypesCommand.js +2 -3
  33. package/dist-es/commands/DescribeBrokerInstanceOptionsCommand.js +2 -3
  34. package/dist-es/commands/DescribeConfigurationCommand.js +2 -3
  35. package/dist-es/commands/DescribeConfigurationRevisionCommand.js +2 -3
  36. package/dist-es/commands/DescribeUserCommand.js +2 -3
  37. package/dist-es/commands/ListBrokersCommand.js +2 -3
  38. package/dist-es/commands/ListConfigurationRevisionsCommand.js +2 -3
  39. package/dist-es/commands/ListConfigurationsCommand.js +2 -3
  40. package/dist-es/commands/ListTagsCommand.js +2 -3
  41. package/dist-es/commands/ListUsersCommand.js +2 -3
  42. package/dist-es/commands/RebootBrokerCommand.js +2 -3
  43. package/dist-es/commands/UpdateBrokerCommand.js +2 -3
  44. package/dist-es/commands/UpdateConfigurationCommand.js +2 -3
  45. package/dist-es/commands/UpdateUserCommand.js +2 -3
  46. package/dist-es/models/models_0.js +0 -192
  47. package/dist-types/Mq.d.ts +23 -0
  48. package/dist-types/MqClient.d.ts +24 -4
  49. package/dist-types/commands/CreateBrokerCommand.d.ts +16 -0
  50. package/dist-types/commands/CreateConfigurationCommand.d.ts +16 -0
  51. package/dist-types/commands/CreateTagsCommand.d.ts +16 -0
  52. package/dist-types/commands/CreateUserCommand.d.ts +16 -0
  53. package/dist-types/commands/DeleteBrokerCommand.d.ts +16 -0
  54. package/dist-types/commands/DeleteTagsCommand.d.ts +16 -0
  55. package/dist-types/commands/DeleteUserCommand.d.ts +16 -0
  56. package/dist-types/commands/DescribeBrokerCommand.d.ts +16 -0
  57. package/dist-types/commands/DescribeBrokerEngineTypesCommand.d.ts +16 -0
  58. package/dist-types/commands/DescribeBrokerInstanceOptionsCommand.d.ts +16 -0
  59. package/dist-types/commands/DescribeConfigurationCommand.d.ts +16 -0
  60. package/dist-types/commands/DescribeConfigurationRevisionCommand.d.ts +16 -0
  61. package/dist-types/commands/DescribeUserCommand.d.ts +16 -0
  62. package/dist-types/commands/ListBrokersCommand.d.ts +16 -0
  63. package/dist-types/commands/ListConfigurationRevisionsCommand.d.ts +16 -0
  64. package/dist-types/commands/ListConfigurationsCommand.d.ts +16 -0
  65. package/dist-types/commands/ListTagsCommand.d.ts +16 -0
  66. package/dist-types/commands/ListUsersCommand.d.ts +16 -0
  67. package/dist-types/commands/RebootBrokerCommand.d.ts +16 -0
  68. package/dist-types/commands/UpdateBrokerCommand.d.ts +16 -0
  69. package/dist-types/commands/UpdateConfigurationCommand.d.ts +16 -0
  70. package/dist-types/commands/UpdateUserCommand.d.ts +16 -0
  71. package/dist-types/models/MqServiceException.d.ts +2 -0
  72. package/dist-types/models/models_0.d.ts +168 -260
  73. package/dist-types/pagination/Interfaces.d.ts +3 -0
  74. package/dist-types/pagination/ListBrokersPaginator.d.ts +3 -0
  75. package/dist-types/ts3.4/models/models_0.d.ts +0 -182
  76. package/package.json +4 -3
@@ -1,7 +1,6 @@
1
1
  import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { UpdateBrokerRequestFilterSensitiveLog, UpdateBrokerResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1UpdateBrokerCommand, serializeAws_restJson1UpdateBrokerCommand, } from "../protocols/Aws_restJson1";
6
5
  export class UpdateBrokerCommand extends $Command {
7
6
  static getEndpointParameterInstructions() {
@@ -27,8 +26,8 @@ export class UpdateBrokerCommand extends $Command {
27
26
  logger,
28
27
  clientName,
29
28
  commandName,
30
- inputFilterSensitiveLog: UpdateBrokerRequestFilterSensitiveLog,
31
- outputFilterSensitiveLog: UpdateBrokerResponseFilterSensitiveLog,
29
+ inputFilterSensitiveLog: (_) => _,
30
+ outputFilterSensitiveLog: (_) => _,
32
31
  };
33
32
  const { requestHandler } = configuration;
34
33
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,7 +1,6 @@
1
1
  import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { UpdateConfigurationRequestFilterSensitiveLog, UpdateConfigurationResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1UpdateConfigurationCommand, serializeAws_restJson1UpdateConfigurationCommand, } from "../protocols/Aws_restJson1";
6
5
  export class UpdateConfigurationCommand extends $Command {
7
6
  static getEndpointParameterInstructions() {
@@ -27,8 +26,8 @@ export class UpdateConfigurationCommand extends $Command {
27
26
  logger,
28
27
  clientName,
29
28
  commandName,
30
- inputFilterSensitiveLog: UpdateConfigurationRequestFilterSensitiveLog,
31
- outputFilterSensitiveLog: UpdateConfigurationResponseFilterSensitiveLog,
29
+ inputFilterSensitiveLog: (_) => _,
30
+ outputFilterSensitiveLog: (_) => _,
32
31
  };
33
32
  const { requestHandler } = configuration;
34
33
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,7 +1,6 @@
1
1
  import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { UpdateUserRequestFilterSensitiveLog, UpdateUserResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1UpdateUserCommand, serializeAws_restJson1UpdateUserCommand, } from "../protocols/Aws_restJson1";
6
5
  export class UpdateUserCommand extends $Command {
7
6
  static getEndpointParameterInstructions() {
@@ -27,8 +26,8 @@ export class UpdateUserCommand extends $Command {
27
26
  logger,
28
27
  clientName,
29
28
  commandName,
30
- inputFilterSensitiveLog: UpdateUserRequestFilterSensitiveLog,
31
- outputFilterSensitiveLog: UpdateUserResponseFilterSensitiveLog,
29
+ inputFilterSensitiveLog: (_) => _,
30
+ outputFilterSensitiveLog: (_) => _,
32
31
  };
33
32
  const { requestHandler } = configuration;
34
33
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -135,195 +135,3 @@ export class NotFoundException extends __BaseException {
135
135
  this.Message = opts.Message;
136
136
  }
137
137
  }
138
- export const ActionRequiredFilterSensitiveLog = (obj) => ({
139
- ...obj,
140
- });
141
- export const AvailabilityZoneFilterSensitiveLog = (obj) => ({
142
- ...obj,
143
- });
144
- export const EngineVersionFilterSensitiveLog = (obj) => ({
145
- ...obj,
146
- });
147
- export const BrokerEngineTypeFilterSensitiveLog = (obj) => ({
148
- ...obj,
149
- });
150
- export const BrokerInstanceFilterSensitiveLog = (obj) => ({
151
- ...obj,
152
- });
153
- export const BrokerInstanceOptionFilterSensitiveLog = (obj) => ({
154
- ...obj,
155
- });
156
- export const BrokerSummaryFilterSensitiveLog = (obj) => ({
157
- ...obj,
158
- });
159
- export const ConfigurationRevisionFilterSensitiveLog = (obj) => ({
160
- ...obj,
161
- });
162
- export const ConfigurationFilterSensitiveLog = (obj) => ({
163
- ...obj,
164
- });
165
- export const ConfigurationIdFilterSensitiveLog = (obj) => ({
166
- ...obj,
167
- });
168
- export const SanitizationWarningFilterSensitiveLog = (obj) => ({
169
- ...obj,
170
- });
171
- export const UserFilterSensitiveLog = (obj) => ({
172
- ...obj,
173
- });
174
- export const UserSummaryFilterSensitiveLog = (obj) => ({
175
- ...obj,
176
- });
177
- export const ConfigurationsFilterSensitiveLog = (obj) => ({
178
- ...obj,
179
- });
180
- export const EncryptionOptionsFilterSensitiveLog = (obj) => ({
181
- ...obj,
182
- });
183
- export const LdapServerMetadataInputFilterSensitiveLog = (obj) => ({
184
- ...obj,
185
- });
186
- export const LogsFilterSensitiveLog = (obj) => ({
187
- ...obj,
188
- });
189
- export const WeeklyStartTimeFilterSensitiveLog = (obj) => ({
190
- ...obj,
191
- });
192
- export const CreateBrokerRequestFilterSensitiveLog = (obj) => ({
193
- ...obj,
194
- });
195
- export const CreateBrokerResponseFilterSensitiveLog = (obj) => ({
196
- ...obj,
197
- });
198
- export const CreateConfigurationRequestFilterSensitiveLog = (obj) => ({
199
- ...obj,
200
- });
201
- export const CreateConfigurationResponseFilterSensitiveLog = (obj) => ({
202
- ...obj,
203
- });
204
- export const CreateTagsRequestFilterSensitiveLog = (obj) => ({
205
- ...obj,
206
- });
207
- export const CreateUserRequestFilterSensitiveLog = (obj) => ({
208
- ...obj,
209
- });
210
- export const CreateUserResponseFilterSensitiveLog = (obj) => ({
211
- ...obj,
212
- });
213
- export const DeleteBrokerRequestFilterSensitiveLog = (obj) => ({
214
- ...obj,
215
- });
216
- export const DeleteBrokerResponseFilterSensitiveLog = (obj) => ({
217
- ...obj,
218
- });
219
- export const DeleteTagsRequestFilterSensitiveLog = (obj) => ({
220
- ...obj,
221
- });
222
- export const DeleteUserRequestFilterSensitiveLog = (obj) => ({
223
- ...obj,
224
- });
225
- export const DeleteUserResponseFilterSensitiveLog = (obj) => ({
226
- ...obj,
227
- });
228
- export const DescribeBrokerRequestFilterSensitiveLog = (obj) => ({
229
- ...obj,
230
- });
231
- export const LdapServerMetadataOutputFilterSensitiveLog = (obj) => ({
232
- ...obj,
233
- });
234
- export const PendingLogsFilterSensitiveLog = (obj) => ({
235
- ...obj,
236
- });
237
- export const LogsSummaryFilterSensitiveLog = (obj) => ({
238
- ...obj,
239
- });
240
- export const DescribeBrokerResponseFilterSensitiveLog = (obj) => ({
241
- ...obj,
242
- });
243
- export const DescribeBrokerEngineTypesRequestFilterSensitiveLog = (obj) => ({
244
- ...obj,
245
- });
246
- export const DescribeBrokerEngineTypesResponseFilterSensitiveLog = (obj) => ({
247
- ...obj,
248
- });
249
- export const DescribeBrokerInstanceOptionsRequestFilterSensitiveLog = (obj) => ({
250
- ...obj,
251
- });
252
- export const DescribeBrokerInstanceOptionsResponseFilterSensitiveLog = (obj) => ({
253
- ...obj,
254
- });
255
- export const DescribeConfigurationRequestFilterSensitiveLog = (obj) => ({
256
- ...obj,
257
- });
258
- export const DescribeConfigurationResponseFilterSensitiveLog = (obj) => ({
259
- ...obj,
260
- });
261
- export const DescribeConfigurationRevisionRequestFilterSensitiveLog = (obj) => ({
262
- ...obj,
263
- });
264
- export const DescribeConfigurationRevisionResponseFilterSensitiveLog = (obj) => ({
265
- ...obj,
266
- });
267
- export const DescribeUserRequestFilterSensitiveLog = (obj) => ({
268
- ...obj,
269
- });
270
- export const UserPendingChangesFilterSensitiveLog = (obj) => ({
271
- ...obj,
272
- });
273
- export const DescribeUserResponseFilterSensitiveLog = (obj) => ({
274
- ...obj,
275
- });
276
- export const ListBrokersRequestFilterSensitiveLog = (obj) => ({
277
- ...obj,
278
- });
279
- export const ListBrokersResponseFilterSensitiveLog = (obj) => ({
280
- ...obj,
281
- });
282
- export const ListConfigurationRevisionsRequestFilterSensitiveLog = (obj) => ({
283
- ...obj,
284
- });
285
- export const ListConfigurationRevisionsResponseFilterSensitiveLog = (obj) => ({
286
- ...obj,
287
- });
288
- export const ListConfigurationsRequestFilterSensitiveLog = (obj) => ({
289
- ...obj,
290
- });
291
- export const ListConfigurationsResponseFilterSensitiveLog = (obj) => ({
292
- ...obj,
293
- });
294
- export const ListTagsRequestFilterSensitiveLog = (obj) => ({
295
- ...obj,
296
- });
297
- export const ListTagsResponseFilterSensitiveLog = (obj) => ({
298
- ...obj,
299
- });
300
- export const ListUsersRequestFilterSensitiveLog = (obj) => ({
301
- ...obj,
302
- });
303
- export const ListUsersResponseFilterSensitiveLog = (obj) => ({
304
- ...obj,
305
- });
306
- export const RebootBrokerRequestFilterSensitiveLog = (obj) => ({
307
- ...obj,
308
- });
309
- export const RebootBrokerResponseFilterSensitiveLog = (obj) => ({
310
- ...obj,
311
- });
312
- export const UpdateBrokerRequestFilterSensitiveLog = (obj) => ({
313
- ...obj,
314
- });
315
- export const UpdateBrokerResponseFilterSensitiveLog = (obj) => ({
316
- ...obj,
317
- });
318
- export const UpdateConfigurationRequestFilterSensitiveLog = (obj) => ({
319
- ...obj,
320
- });
321
- export const UpdateConfigurationResponseFilterSensitiveLog = (obj) => ({
322
- ...obj,
323
- });
324
- export const UpdateUserRequestFilterSensitiveLog = (obj) => ({
325
- ...obj,
326
- });
327
- export const UpdateUserResponseFilterSensitiveLog = (obj) => ({
328
- ...obj,
329
- });
@@ -23,136 +23,159 @@ import { UpdateConfigurationCommandInput, UpdateConfigurationCommandOutput } fro
23
23
  import { UpdateUserCommandInput, UpdateUserCommandOutput } from "./commands/UpdateUserCommand";
24
24
  import { MqClient } from "./MqClient";
25
25
  /**
26
+ * @public
26
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>
27
28
  */
28
29
  export declare class Mq extends MqClient {
29
30
  /**
31
+ * @public
30
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>
31
33
  */
32
34
  createBroker(args: CreateBrokerCommandInput, options?: __HttpHandlerOptions): Promise<CreateBrokerCommandOutput>;
33
35
  createBroker(args: CreateBrokerCommandInput, cb: (err: any, data?: CreateBrokerCommandOutput) => void): void;
34
36
  createBroker(args: CreateBrokerCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateBrokerCommandOutput) => void): void;
35
37
  /**
38
+ * @public
36
39
  * <p>Creates a new configuration for the specified configuration name. Amazon MQ uses the default configuration (the engine type and version).</p>
37
40
  */
38
41
  createConfiguration(args: CreateConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<CreateConfigurationCommandOutput>;
39
42
  createConfiguration(args: CreateConfigurationCommandInput, cb: (err: any, data?: CreateConfigurationCommandOutput) => void): void;
40
43
  createConfiguration(args: CreateConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateConfigurationCommandOutput) => void): void;
41
44
  /**
45
+ * @public
42
46
  * <p>Add a tag to a resource.</p>
43
47
  */
44
48
  createTags(args: CreateTagsCommandInput, options?: __HttpHandlerOptions): Promise<CreateTagsCommandOutput>;
45
49
  createTags(args: CreateTagsCommandInput, cb: (err: any, data?: CreateTagsCommandOutput) => void): void;
46
50
  createTags(args: CreateTagsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateTagsCommandOutput) => void): void;
47
51
  /**
52
+ * @public
48
53
  * <p>Creates an ActiveMQ user.</p>
49
54
  */
50
55
  createUser(args: CreateUserCommandInput, options?: __HttpHandlerOptions): Promise<CreateUserCommandOutput>;
51
56
  createUser(args: CreateUserCommandInput, cb: (err: any, data?: CreateUserCommandOutput) => void): void;
52
57
  createUser(args: CreateUserCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateUserCommandOutput) => void): void;
53
58
  /**
59
+ * @public
54
60
  * <p>Deletes a broker. Note: This API is asynchronous.</p>
55
61
  */
56
62
  deleteBroker(args: DeleteBrokerCommandInput, options?: __HttpHandlerOptions): Promise<DeleteBrokerCommandOutput>;
57
63
  deleteBroker(args: DeleteBrokerCommandInput, cb: (err: any, data?: DeleteBrokerCommandOutput) => void): void;
58
64
  deleteBroker(args: DeleteBrokerCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteBrokerCommandOutput) => void): void;
59
65
  /**
66
+ * @public
60
67
  * <p>Removes a tag from a resource.</p>
61
68
  */
62
69
  deleteTags(args: DeleteTagsCommandInput, options?: __HttpHandlerOptions): Promise<DeleteTagsCommandOutput>;
63
70
  deleteTags(args: DeleteTagsCommandInput, cb: (err: any, data?: DeleteTagsCommandOutput) => void): void;
64
71
  deleteTags(args: DeleteTagsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteTagsCommandOutput) => void): void;
65
72
  /**
73
+ * @public
66
74
  * <p>Deletes an ActiveMQ user.</p>
67
75
  */
68
76
  deleteUser(args: DeleteUserCommandInput, options?: __HttpHandlerOptions): Promise<DeleteUserCommandOutput>;
69
77
  deleteUser(args: DeleteUserCommandInput, cb: (err: any, data?: DeleteUserCommandOutput) => void): void;
70
78
  deleteUser(args: DeleteUserCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteUserCommandOutput) => void): void;
71
79
  /**
80
+ * @public
72
81
  * <p>Returns information about the specified broker.</p>
73
82
  */
74
83
  describeBroker(args: DescribeBrokerCommandInput, options?: __HttpHandlerOptions): Promise<DescribeBrokerCommandOutput>;
75
84
  describeBroker(args: DescribeBrokerCommandInput, cb: (err: any, data?: DescribeBrokerCommandOutput) => void): void;
76
85
  describeBroker(args: DescribeBrokerCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeBrokerCommandOutput) => void): void;
77
86
  /**
87
+ * @public
78
88
  * <p>Describe available engine types and versions.</p>
79
89
  */
80
90
  describeBrokerEngineTypes(args: DescribeBrokerEngineTypesCommandInput, options?: __HttpHandlerOptions): Promise<DescribeBrokerEngineTypesCommandOutput>;
81
91
  describeBrokerEngineTypes(args: DescribeBrokerEngineTypesCommandInput, cb: (err: any, data?: DescribeBrokerEngineTypesCommandOutput) => void): void;
82
92
  describeBrokerEngineTypes(args: DescribeBrokerEngineTypesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeBrokerEngineTypesCommandOutput) => void): void;
83
93
  /**
94
+ * @public
84
95
  * <p>Describe available broker instance options.</p>
85
96
  */
86
97
  describeBrokerInstanceOptions(args: DescribeBrokerInstanceOptionsCommandInput, options?: __HttpHandlerOptions): Promise<DescribeBrokerInstanceOptionsCommandOutput>;
87
98
  describeBrokerInstanceOptions(args: DescribeBrokerInstanceOptionsCommandInput, cb: (err: any, data?: DescribeBrokerInstanceOptionsCommandOutput) => void): void;
88
99
  describeBrokerInstanceOptions(args: DescribeBrokerInstanceOptionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeBrokerInstanceOptionsCommandOutput) => void): void;
89
100
  /**
101
+ * @public
90
102
  * <p>Returns information about the specified configuration.</p>
91
103
  */
92
104
  describeConfiguration(args: DescribeConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<DescribeConfigurationCommandOutput>;
93
105
  describeConfiguration(args: DescribeConfigurationCommandInput, cb: (err: any, data?: DescribeConfigurationCommandOutput) => void): void;
94
106
  describeConfiguration(args: DescribeConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeConfigurationCommandOutput) => void): void;
95
107
  /**
108
+ * @public
96
109
  * <p>Returns the specified configuration revision for the specified configuration.</p>
97
110
  */
98
111
  describeConfigurationRevision(args: DescribeConfigurationRevisionCommandInput, options?: __HttpHandlerOptions): Promise<DescribeConfigurationRevisionCommandOutput>;
99
112
  describeConfigurationRevision(args: DescribeConfigurationRevisionCommandInput, cb: (err: any, data?: DescribeConfigurationRevisionCommandOutput) => void): void;
100
113
  describeConfigurationRevision(args: DescribeConfigurationRevisionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeConfigurationRevisionCommandOutput) => void): void;
101
114
  /**
115
+ * @public
102
116
  * <p>Returns information about an ActiveMQ user.</p>
103
117
  */
104
118
  describeUser(args: DescribeUserCommandInput, options?: __HttpHandlerOptions): Promise<DescribeUserCommandOutput>;
105
119
  describeUser(args: DescribeUserCommandInput, cb: (err: any, data?: DescribeUserCommandOutput) => void): void;
106
120
  describeUser(args: DescribeUserCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeUserCommandOutput) => void): void;
107
121
  /**
122
+ * @public
108
123
  * <p>Returns a list of all brokers.</p>
109
124
  */
110
125
  listBrokers(args: ListBrokersCommandInput, options?: __HttpHandlerOptions): Promise<ListBrokersCommandOutput>;
111
126
  listBrokers(args: ListBrokersCommandInput, cb: (err: any, data?: ListBrokersCommandOutput) => void): void;
112
127
  listBrokers(args: ListBrokersCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListBrokersCommandOutput) => void): void;
113
128
  /**
129
+ * @public
114
130
  * <p>Returns a list of all revisions for the specified configuration.</p>
115
131
  */
116
132
  listConfigurationRevisions(args: ListConfigurationRevisionsCommandInput, options?: __HttpHandlerOptions): Promise<ListConfigurationRevisionsCommandOutput>;
117
133
  listConfigurationRevisions(args: ListConfigurationRevisionsCommandInput, cb: (err: any, data?: ListConfigurationRevisionsCommandOutput) => void): void;
118
134
  listConfigurationRevisions(args: ListConfigurationRevisionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListConfigurationRevisionsCommandOutput) => void): void;
119
135
  /**
136
+ * @public
120
137
  * <p>Returns a list of all configurations.</p>
121
138
  */
122
139
  listConfigurations(args: ListConfigurationsCommandInput, options?: __HttpHandlerOptions): Promise<ListConfigurationsCommandOutput>;
123
140
  listConfigurations(args: ListConfigurationsCommandInput, cb: (err: any, data?: ListConfigurationsCommandOutput) => void): void;
124
141
  listConfigurations(args: ListConfigurationsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListConfigurationsCommandOutput) => void): void;
125
142
  /**
143
+ * @public
126
144
  * <p>Lists tags for a resource.</p>
127
145
  */
128
146
  listTags(args: ListTagsCommandInput, options?: __HttpHandlerOptions): Promise<ListTagsCommandOutput>;
129
147
  listTags(args: ListTagsCommandInput, cb: (err: any, data?: ListTagsCommandOutput) => void): void;
130
148
  listTags(args: ListTagsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsCommandOutput) => void): void;
131
149
  /**
150
+ * @public
132
151
  * <p>Returns a list of all ActiveMQ users.</p>
133
152
  */
134
153
  listUsers(args: ListUsersCommandInput, options?: __HttpHandlerOptions): Promise<ListUsersCommandOutput>;
135
154
  listUsers(args: ListUsersCommandInput, cb: (err: any, data?: ListUsersCommandOutput) => void): void;
136
155
  listUsers(args: ListUsersCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListUsersCommandOutput) => void): void;
137
156
  /**
157
+ * @public
138
158
  * <p>Reboots a broker. Note: This API is asynchronous.</p>
139
159
  */
140
160
  rebootBroker(args: RebootBrokerCommandInput, options?: __HttpHandlerOptions): Promise<RebootBrokerCommandOutput>;
141
161
  rebootBroker(args: RebootBrokerCommandInput, cb: (err: any, data?: RebootBrokerCommandOutput) => void): void;
142
162
  rebootBroker(args: RebootBrokerCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: RebootBrokerCommandOutput) => void): void;
143
163
  /**
164
+ * @public
144
165
  * <p>Adds a pending configuration change to a broker.</p>
145
166
  */
146
167
  updateBroker(args: UpdateBrokerCommandInput, options?: __HttpHandlerOptions): Promise<UpdateBrokerCommandOutput>;
147
168
  updateBroker(args: UpdateBrokerCommandInput, cb: (err: any, data?: UpdateBrokerCommandOutput) => void): void;
148
169
  updateBroker(args: UpdateBrokerCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateBrokerCommandOutput) => void): void;
149
170
  /**
171
+ * @public
150
172
  * <p>Updates the specified configuration.</p>
151
173
  */
152
174
  updateConfiguration(args: UpdateConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<UpdateConfigurationCommandOutput>;
153
175
  updateConfiguration(args: UpdateConfigurationCommandInput, cb: (err: any, data?: UpdateConfigurationCommandOutput) => void): void;
154
176
  updateConfiguration(args: UpdateConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateConfigurationCommandOutput) => void): void;
155
177
  /**
178
+ * @public
156
179
  * <p>Updates the information for an ActiveMQ user.</p>
157
180
  */
158
181
  updateUser(args: UpdateUserCommandInput, options?: __HttpHandlerOptions): Promise<UpdateUserCommandOutput>;
@@ -30,15 +30,24 @@ import { UpdateBrokerCommandInput, UpdateBrokerCommandOutput } from "./commands/
30
30
  import { UpdateConfigurationCommandInput, UpdateConfigurationCommandOutput } from "./commands/UpdateConfigurationCommand";
31
31
  import { UpdateUserCommandInput, UpdateUserCommandOutput } from "./commands/UpdateUserCommand";
32
32
  import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters";
33
+ /**
34
+ * @public
35
+ */
33
36
  export type ServiceInputTypes = CreateBrokerCommandInput | CreateConfigurationCommandInput | CreateTagsCommandInput | CreateUserCommandInput | DeleteBrokerCommandInput | DeleteTagsCommandInput | DeleteUserCommandInput | DescribeBrokerCommandInput | DescribeBrokerEngineTypesCommandInput | DescribeBrokerInstanceOptionsCommandInput | DescribeConfigurationCommandInput | DescribeConfigurationRevisionCommandInput | DescribeUserCommandInput | ListBrokersCommandInput | ListConfigurationRevisionsCommandInput | ListConfigurationsCommandInput | ListTagsCommandInput | ListUsersCommandInput | RebootBrokerCommandInput | UpdateBrokerCommandInput | UpdateConfigurationCommandInput | UpdateUserCommandInput;
37
+ /**
38
+ * @public
39
+ */
34
40
  export type ServiceOutputTypes = CreateBrokerCommandOutput | CreateConfigurationCommandOutput | CreateTagsCommandOutput | CreateUserCommandOutput | DeleteBrokerCommandOutput | DeleteTagsCommandOutput | DeleteUserCommandOutput | DescribeBrokerCommandOutput | DescribeBrokerEngineTypesCommandOutput | DescribeBrokerInstanceOptionsCommandOutput | DescribeConfigurationCommandOutput | DescribeConfigurationRevisionCommandOutput | DescribeUserCommandOutput | ListBrokersCommandOutput | ListConfigurationRevisionsCommandOutput | ListConfigurationsCommandOutput | ListTagsCommandOutput | ListUsersCommandOutput | RebootBrokerCommandOutput | UpdateBrokerCommandOutput | UpdateConfigurationCommandOutput | UpdateUserCommandOutput;
41
+ /**
42
+ * @public
43
+ */
35
44
  export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
36
45
  /**
37
46
  * The HTTP handler to use. Fetch in browser and Https in Nodejs.
38
47
  */
39
48
  requestHandler?: __HttpHandler;
40
49
  /**
41
- * A constructor for a class implementing the {@link __Checksum} interface
50
+ * A constructor for a class implementing the {@link @aws-sdk/types#ChecksumConstructor} interface
42
51
  * that computes the SHA-256 HMAC or checksum of a string or binary buffer.
43
52
  * @internal
44
53
  */
@@ -128,23 +137,34 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
128
137
  */
129
138
  logger?: __Logger;
130
139
  /**
131
- * The {@link __DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
140
+ * The {@link @aws-sdk/smithy-client#DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
132
141
  */
133
142
  defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
134
143
  }
144
+ /**
145
+ * @public
146
+ */
135
147
  type MqClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointInputConfig<EndpointParameters> & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig & ClientInputEndpointParameters;
136
148
  /**
137
- * The configuration interface of MqClient class constructor that set the region, credentials and other options.
149
+ * @public
150
+ *
151
+ * The configuration interface of MqClient class constructor that set the region, credentials and other options.
138
152
  */
139
153
  export interface MqClientConfig extends MqClientConfigType {
140
154
  }
155
+ /**
156
+ * @public
157
+ */
141
158
  type MqClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RegionResolvedConfig & EndpointResolvedConfig<EndpointParameters> & RetryResolvedConfig & HostHeaderResolvedConfig & AwsAuthResolvedConfig & UserAgentResolvedConfig & ClientResolvedEndpointParameters;
142
159
  /**
143
- * The resolved configuration interface of MqClient class. This is resolved and normalized from the {@link MqClientConfig | constructor configuration interface}.
160
+ * @public
161
+ *
162
+ * The resolved configuration interface of MqClient class. This is resolved and normalized from the {@link MqClientConfig | constructor configuration interface}.
144
163
  */
145
164
  export interface MqClientResolvedConfig extends MqClientResolvedConfigType {
146
165
  }
147
166
  /**
167
+ * @public
148
168
  * <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>
149
169
  */
150
170
  export declare class MqClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, MqClientResolvedConfig> {
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
4
4
  import { CreateBrokerRequest, CreateBrokerResponse } from "../models/models_0";
5
5
  import { MqClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MqClient";
6
6
  /**
7
+ * @public
8
+ *
7
9
  * The input for {@link CreateBrokerCommand}.
8
10
  */
9
11
  export interface CreateBrokerCommandInput extends CreateBrokerRequest {
10
12
  }
11
13
  /**
14
+ * @public
15
+ *
12
16
  * The output of {@link CreateBrokerCommand}.
13
17
  */
14
18
  export interface CreateBrokerCommandOutput extends CreateBrokerResponse, __MetadataBearer {
15
19
  }
16
20
  /**
21
+ * @public
17
22
  * <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>
18
23
  * @example
19
24
  * Use a bare-bones client and the command you need to make an API call.
@@ -25,6 +30,8 @@ export interface CreateBrokerCommandOutput extends CreateBrokerResponse, __Metad
25
30
  * const response = await client.send(command);
26
31
  * ```
27
32
  *
33
+ * @param CreateBrokerCommandInput - {@link CreateBrokerCommandInput}
34
+ * @returns {@link CreateBrokerCommandOutput}
28
35
  * @see {@link CreateBrokerCommandInput} for command's `input` shape.
29
36
  * @see {@link CreateBrokerCommandOutput} for command's `response` shape.
30
37
  * @see {@link MqClientResolvedConfig | config} for MqClient's `config` shape.
@@ -49,11 +56,20 @@ export interface CreateBrokerCommandOutput extends CreateBrokerResponse, __Metad
49
56
  export declare class CreateBrokerCommand extends $Command<CreateBrokerCommandInput, CreateBrokerCommandOutput, MqClientResolvedConfig> {
50
57
  readonly input: CreateBrokerCommandInput;
51
58
  static getEndpointParameterInstructions(): EndpointParameterInstructions;
59
+ /**
60
+ * @public
61
+ */
52
62
  constructor(input: CreateBrokerCommandInput);
53
63
  /**
54
64
  * @internal
55
65
  */
56
66
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: MqClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateBrokerCommandInput, CreateBrokerCommandOutput>;
67
+ /**
68
+ * @internal
69
+ */
57
70
  private serialize;
71
+ /**
72
+ * @internal
73
+ */
58
74
  private deserialize;
59
75
  }
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
4
4
  import { CreateConfigurationRequest, CreateConfigurationResponse } from "../models/models_0";
5
5
  import { MqClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MqClient";
6
6
  /**
7
+ * @public
8
+ *
7
9
  * The input for {@link CreateConfigurationCommand}.
8
10
  */
9
11
  export interface CreateConfigurationCommandInput extends CreateConfigurationRequest {
10
12
  }
11
13
  /**
14
+ * @public
15
+ *
12
16
  * The output of {@link CreateConfigurationCommand}.
13
17
  */
14
18
  export interface CreateConfigurationCommandOutput extends CreateConfigurationResponse, __MetadataBearer {
15
19
  }
16
20
  /**
21
+ * @public
17
22
  * <p>Creates a new configuration for the specified configuration name. Amazon MQ uses the default configuration (the engine type and version).</p>
18
23
  * @example
19
24
  * Use a bare-bones client and the command you need to make an API call.
@@ -25,6 +30,8 @@ export interface CreateConfigurationCommandOutput extends CreateConfigurationRes
25
30
  * const response = await client.send(command);
26
31
  * ```
27
32
  *
33
+ * @param CreateConfigurationCommandInput - {@link CreateConfigurationCommandInput}
34
+ * @returns {@link CreateConfigurationCommandOutput}
28
35
  * @see {@link CreateConfigurationCommandInput} for command's `input` shape.
29
36
  * @see {@link CreateConfigurationCommandOutput} for command's `response` shape.
30
37
  * @see {@link MqClientResolvedConfig | config} for MqClient's `config` shape.
@@ -46,11 +53,20 @@ export interface CreateConfigurationCommandOutput extends CreateConfigurationRes
46
53
  export declare class CreateConfigurationCommand extends $Command<CreateConfigurationCommandInput, CreateConfigurationCommandOutput, MqClientResolvedConfig> {
47
54
  readonly input: CreateConfigurationCommandInput;
48
55
  static getEndpointParameterInstructions(): EndpointParameterInstructions;
56
+ /**
57
+ * @public
58
+ */
49
59
  constructor(input: CreateConfigurationCommandInput);
50
60
  /**
51
61
  * @internal
52
62
  */
53
63
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: MqClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateConfigurationCommandInput, CreateConfigurationCommandOutput>;
64
+ /**
65
+ * @internal
66
+ */
54
67
  private serialize;
68
+ /**
69
+ * @internal
70
+ */
55
71
  private deserialize;
56
72
  }
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
4
4
  import { CreateTagsRequest } from "../models/models_0";
5
5
  import { MqClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MqClient";
6
6
  /**
7
+ * @public
8
+ *
7
9
  * The input for {@link CreateTagsCommand}.
8
10
  */
9
11
  export interface CreateTagsCommandInput extends CreateTagsRequest {
10
12
  }
11
13
  /**
14
+ * @public
15
+ *
12
16
  * The output of {@link CreateTagsCommand}.
13
17
  */
14
18
  export interface CreateTagsCommandOutput extends __MetadataBearer {
15
19
  }
16
20
  /**
21
+ * @public
17
22
  * <p>Add a tag to a resource.</p>
18
23
  * @example
19
24
  * Use a bare-bones client and the command you need to make an API call.
@@ -25,6 +30,8 @@ export interface CreateTagsCommandOutput extends __MetadataBearer {
25
30
  * const response = await client.send(command);
26
31
  * ```
27
32
  *
33
+ * @param CreateTagsCommandInput - {@link CreateTagsCommandInput}
34
+ * @returns {@link CreateTagsCommandOutput}
28
35
  * @see {@link CreateTagsCommandInput} for command's `input` shape.
29
36
  * @see {@link CreateTagsCommandOutput} for command's `response` shape.
30
37
  * @see {@link MqClientResolvedConfig | config} for MqClient's `config` shape.
@@ -46,11 +53,20 @@ export interface CreateTagsCommandOutput extends __MetadataBearer {
46
53
  export declare class CreateTagsCommand extends $Command<CreateTagsCommandInput, CreateTagsCommandOutput, MqClientResolvedConfig> {
47
54
  readonly input: CreateTagsCommandInput;
48
55
  static getEndpointParameterInstructions(): EndpointParameterInstructions;
56
+ /**
57
+ * @public
58
+ */
49
59
  constructor(input: CreateTagsCommandInput);
50
60
  /**
51
61
  * @internal
52
62
  */
53
63
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: MqClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateTagsCommandInput, CreateTagsCommandOutput>;
64
+ /**
65
+ * @internal
66
+ */
54
67
  private serialize;
68
+ /**
69
+ * @internal
70
+ */
55
71
  private deserialize;
56
72
  }