@aws-sdk/client-mq 3.477.0 → 3.481.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 (101) hide show
  1. package/dist-cjs/commands/CreateBrokerCommand.js +18 -41
  2. package/dist-cjs/commands/CreateConfigurationCommand.js +18 -41
  3. package/dist-cjs/commands/CreateTagsCommand.js +18 -41
  4. package/dist-cjs/commands/CreateUserCommand.js +18 -41
  5. package/dist-cjs/commands/DeleteBrokerCommand.js +18 -41
  6. package/dist-cjs/commands/DeleteTagsCommand.js +18 -41
  7. package/dist-cjs/commands/DeleteUserCommand.js +18 -41
  8. package/dist-cjs/commands/DescribeBrokerCommand.js +18 -41
  9. package/dist-cjs/commands/DescribeBrokerEngineTypesCommand.js +18 -41
  10. package/dist-cjs/commands/DescribeBrokerInstanceOptionsCommand.js +18 -41
  11. package/dist-cjs/commands/DescribeConfigurationCommand.js +18 -41
  12. package/dist-cjs/commands/DescribeConfigurationRevisionCommand.js +18 -41
  13. package/dist-cjs/commands/DescribeUserCommand.js +18 -41
  14. package/dist-cjs/commands/ListBrokersCommand.js +18 -41
  15. package/dist-cjs/commands/ListConfigurationRevisionsCommand.js +18 -41
  16. package/dist-cjs/commands/ListConfigurationsCommand.js +18 -41
  17. package/dist-cjs/commands/ListTagsCommand.js +18 -41
  18. package/dist-cjs/commands/ListUsersCommand.js +18 -41
  19. package/dist-cjs/commands/PromoteCommand.js +18 -41
  20. package/dist-cjs/commands/RebootBrokerCommand.js +18 -41
  21. package/dist-cjs/commands/UpdateBrokerCommand.js +18 -41
  22. package/dist-cjs/commands/UpdateConfigurationCommand.js +18 -41
  23. package/dist-cjs/commands/UpdateUserCommand.js +18 -41
  24. package/dist-cjs/endpoint/EndpointParameters.js +7 -1
  25. package/dist-cjs/pagination/ListBrokersPaginator.js +2 -24
  26. package/dist-es/commands/CreateBrokerCommand.js +18 -41
  27. package/dist-es/commands/CreateConfigurationCommand.js +18 -41
  28. package/dist-es/commands/CreateTagsCommand.js +18 -41
  29. package/dist-es/commands/CreateUserCommand.js +18 -41
  30. package/dist-es/commands/DeleteBrokerCommand.js +18 -41
  31. package/dist-es/commands/DeleteTagsCommand.js +18 -41
  32. package/dist-es/commands/DeleteUserCommand.js +18 -41
  33. package/dist-es/commands/DescribeBrokerCommand.js +18 -41
  34. package/dist-es/commands/DescribeBrokerEngineTypesCommand.js +18 -41
  35. package/dist-es/commands/DescribeBrokerInstanceOptionsCommand.js +18 -41
  36. package/dist-es/commands/DescribeConfigurationCommand.js +18 -41
  37. package/dist-es/commands/DescribeConfigurationRevisionCommand.js +18 -41
  38. package/dist-es/commands/DescribeUserCommand.js +18 -41
  39. package/dist-es/commands/ListBrokersCommand.js +18 -41
  40. package/dist-es/commands/ListConfigurationRevisionsCommand.js +18 -41
  41. package/dist-es/commands/ListConfigurationsCommand.js +18 -41
  42. package/dist-es/commands/ListTagsCommand.js +18 -41
  43. package/dist-es/commands/ListUsersCommand.js +18 -41
  44. package/dist-es/commands/PromoteCommand.js +18 -41
  45. package/dist-es/commands/RebootBrokerCommand.js +18 -41
  46. package/dist-es/commands/UpdateBrokerCommand.js +18 -41
  47. package/dist-es/commands/UpdateConfigurationCommand.js +18 -41
  48. package/dist-es/commands/UpdateUserCommand.js +18 -41
  49. package/dist-es/endpoint/EndpointParameters.js +6 -0
  50. package/dist-es/pagination/ListBrokersPaginator.js +2 -23
  51. package/dist-types/commands/CreateBrokerCommand.d.ts +6 -21
  52. package/dist-types/commands/CreateConfigurationCommand.d.ts +6 -21
  53. package/dist-types/commands/CreateTagsCommand.d.ts +6 -21
  54. package/dist-types/commands/CreateUserCommand.d.ts +6 -21
  55. package/dist-types/commands/DeleteBrokerCommand.d.ts +6 -21
  56. package/dist-types/commands/DeleteTagsCommand.d.ts +6 -21
  57. package/dist-types/commands/DeleteUserCommand.d.ts +6 -21
  58. package/dist-types/commands/DescribeBrokerCommand.d.ts +6 -21
  59. package/dist-types/commands/DescribeBrokerEngineTypesCommand.d.ts +6 -21
  60. package/dist-types/commands/DescribeBrokerInstanceOptionsCommand.d.ts +6 -21
  61. package/dist-types/commands/DescribeConfigurationCommand.d.ts +6 -21
  62. package/dist-types/commands/DescribeConfigurationRevisionCommand.d.ts +6 -21
  63. package/dist-types/commands/DescribeUserCommand.d.ts +6 -21
  64. package/dist-types/commands/ListBrokersCommand.d.ts +6 -21
  65. package/dist-types/commands/ListConfigurationRevisionsCommand.d.ts +6 -21
  66. package/dist-types/commands/ListConfigurationsCommand.d.ts +6 -21
  67. package/dist-types/commands/ListTagsCommand.d.ts +6 -21
  68. package/dist-types/commands/ListUsersCommand.d.ts +6 -21
  69. package/dist-types/commands/PromoteCommand.d.ts +6 -21
  70. package/dist-types/commands/RebootBrokerCommand.d.ts +6 -21
  71. package/dist-types/commands/UpdateBrokerCommand.d.ts +6 -21
  72. package/dist-types/commands/UpdateConfigurationCommand.d.ts +6 -21
  73. package/dist-types/commands/UpdateUserCommand.d.ts +6 -21
  74. package/dist-types/endpoint/EndpointParameters.d.ts +18 -0
  75. package/dist-types/pagination/ListBrokersPaginator.d.ts +1 -1
  76. package/dist-types/ts3.4/commands/CreateBrokerCommand.d.ts +14 -23
  77. package/dist-types/ts3.4/commands/CreateConfigurationCommand.d.ts +14 -23
  78. package/dist-types/ts3.4/commands/CreateTagsCommand.d.ts +14 -23
  79. package/dist-types/ts3.4/commands/CreateUserCommand.d.ts +14 -23
  80. package/dist-types/ts3.4/commands/DeleteBrokerCommand.d.ts +14 -23
  81. package/dist-types/ts3.4/commands/DeleteTagsCommand.d.ts +14 -23
  82. package/dist-types/ts3.4/commands/DeleteUserCommand.d.ts +14 -23
  83. package/dist-types/ts3.4/commands/DescribeBrokerCommand.d.ts +14 -23
  84. package/dist-types/ts3.4/commands/DescribeBrokerEngineTypesCommand.d.ts +12 -24
  85. package/dist-types/ts3.4/commands/DescribeBrokerInstanceOptionsCommand.d.ts +12 -24
  86. package/dist-types/ts3.4/commands/DescribeConfigurationCommand.d.ts +12 -24
  87. package/dist-types/ts3.4/commands/DescribeConfigurationRevisionCommand.d.ts +12 -24
  88. package/dist-types/ts3.4/commands/DescribeUserCommand.d.ts +14 -23
  89. package/dist-types/ts3.4/commands/ListBrokersCommand.d.ts +14 -23
  90. package/dist-types/ts3.4/commands/ListConfigurationRevisionsCommand.d.ts +12 -24
  91. package/dist-types/ts3.4/commands/ListConfigurationsCommand.d.ts +14 -23
  92. package/dist-types/ts3.4/commands/ListTagsCommand.d.ts +14 -23
  93. package/dist-types/ts3.4/commands/ListUsersCommand.d.ts +14 -23
  94. package/dist-types/ts3.4/commands/PromoteCommand.d.ts +12 -23
  95. package/dist-types/ts3.4/commands/RebootBrokerCommand.d.ts +14 -23
  96. package/dist-types/ts3.4/commands/UpdateBrokerCommand.d.ts +14 -23
  97. package/dist-types/ts3.4/commands/UpdateConfigurationCommand.d.ts +14 -23
  98. package/dist-types/ts3.4/commands/UpdateUserCommand.d.ts +14 -23
  99. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +18 -0
  100. package/dist-types/ts3.4/pagination/ListBrokersPaginator.d.ts +3 -3
  101. package/package.json +11 -11
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_UpdateConfigurationCommand, se_UpdateConfigurationCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class UpdateConfigurationCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, UpdateConfigurationCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "MqClient";
26
- const commandName = "UpdateConfigurationCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "mq",
35
- operation: "UpdateConfiguration",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_UpdateConfigurationCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_UpdateConfigurationCommand(output, context);
46
- }
7
+ export class UpdateConfigurationCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("mq", "UpdateConfiguration", {})
19
+ .n("MqClient", "UpdateConfigurationCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_UpdateConfigurationCommand)
22
+ .de(de_UpdateConfigurationCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_UpdateUserCommand, se_UpdateUserCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class UpdateUserCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, UpdateUserCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "MqClient";
26
- const commandName = "UpdateUserCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "mq",
35
- operation: "UpdateUser",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_UpdateUserCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_UpdateUserCommand(output, context);
46
- }
7
+ export class UpdateUserCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("mq", "UpdateUser", {})
19
+ .n("MqClient", "UpdateUserCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_UpdateUserCommand)
22
+ .de(de_UpdateUserCommand)
23
+ .build() {
47
24
  }
@@ -6,3 +6,9 @@ export const resolveClientEndpointParameters = (options) => {
6
6
  defaultSigningName: "mq",
7
7
  };
8
8
  };
9
+ export const commonParams = {
10
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
+ Endpoint: { type: "builtInParams", name: "endpoint" },
12
+ Region: { type: "builtInParams", name: "region" },
13
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
+ };
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { ListBrokersCommand } from "../commands/ListBrokersCommand";
2
3
  import { MqClient } from "../MqClient";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new ListBrokersCommand(input), ...args);
5
- };
6
- export async function* paginateListBrokers(config, input, ...additionalArguments) {
7
- let token = config.startingToken || undefined;
8
- let hasNext = true;
9
- let page;
10
- while (hasNext) {
11
- input.NextToken = token;
12
- input["MaxResults"] = config.pageSize;
13
- if (config.client instanceof MqClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected Mq | MqClient");
18
- }
19
- yield page;
20
- const prevToken = token;
21
- token = page.NextToken;
22
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
- }
24
- return undefined;
25
- }
4
+ export const paginateListBrokers = createPaginator(MqClient, ListBrokersCommand, "NextToken", "NextToken", "MaxResults");
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { CreateBrokerRequest, CreateBrokerResponse } from "../models/models_0";
5
4
  import { MqClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MqClient";
6
5
  /**
@@ -21,6 +20,10 @@ export interface CreateBrokerCommandInput extends CreateBrokerRequest {
21
20
  */
22
21
  export interface CreateBrokerCommandOutput extends CreateBrokerResponse, __MetadataBearer {
23
22
  }
23
+ declare const CreateBrokerCommand_base: {
24
+ new (input: CreateBrokerCommandInput): import("@smithy/smithy-client").CommandImpl<CreateBrokerCommandInput, CreateBrokerCommandOutput, MqClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <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 Amazon Web Services 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>
@@ -128,23 +131,5 @@ export interface CreateBrokerCommandOutput extends CreateBrokerResponse, __Metad
128
131
  * <p>Base exception class for all service exceptions from Mq service.</p>
129
132
  *
130
133
  */
131
- export declare class CreateBrokerCommand extends $Command<CreateBrokerCommandInput, CreateBrokerCommandOutput, MqClientResolvedConfig> {
132
- readonly input: CreateBrokerCommandInput;
133
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
134
- /**
135
- * @public
136
- */
137
- constructor(input: CreateBrokerCommandInput);
138
- /**
139
- * @internal
140
- */
141
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: MqClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateBrokerCommandInput, CreateBrokerCommandOutput>;
142
- /**
143
- * @internal
144
- */
145
- private serialize;
146
- /**
147
- * @internal
148
- */
149
- private deserialize;
134
+ export declare class CreateBrokerCommand extends CreateBrokerCommand_base {
150
135
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { CreateConfigurationRequest, CreateConfigurationResponse } from "../models/models_0";
5
4
  import { MqClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MqClient";
6
5
  /**
@@ -21,6 +20,10 @@ export interface CreateConfigurationCommandInput extends CreateConfigurationRequ
21
20
  */
22
21
  export interface CreateConfigurationCommandOutput extends CreateConfigurationResponse, __MetadataBearer {
23
22
  }
23
+ declare const CreateConfigurationCommand_base: {
24
+ new (input: CreateConfigurationCommandInput): import("@smithy/smithy-client").CommandImpl<CreateConfigurationCommandInput, CreateConfigurationCommandOutput, MqClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Creates a new configuration for the specified configuration name. Amazon MQ uses the default configuration (the engine type and version).</p>
@@ -78,23 +81,5 @@ export interface CreateConfigurationCommandOutput extends CreateConfigurationRes
78
81
  * <p>Base exception class for all service exceptions from Mq service.</p>
79
82
  *
80
83
  */
81
- export declare class CreateConfigurationCommand extends $Command<CreateConfigurationCommandInput, CreateConfigurationCommandOutput, MqClientResolvedConfig> {
82
- readonly input: CreateConfigurationCommandInput;
83
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
84
- /**
85
- * @public
86
- */
87
- constructor(input: CreateConfigurationCommandInput);
88
- /**
89
- * @internal
90
- */
91
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: MqClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateConfigurationCommandInput, CreateConfigurationCommandOutput>;
92
- /**
93
- * @internal
94
- */
95
- private serialize;
96
- /**
97
- * @internal
98
- */
99
- private deserialize;
84
+ export declare class CreateConfigurationCommand extends CreateConfigurationCommand_base {
100
85
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { CreateTagsRequest } from "../models/models_0";
5
4
  import { MqClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MqClient";
6
5
  /**
@@ -21,6 +20,10 @@ export interface CreateTagsCommandInput extends CreateTagsRequest {
21
20
  */
22
21
  export interface CreateTagsCommandOutput extends __MetadataBearer {
23
22
  }
23
+ declare const CreateTagsCommand_base: {
24
+ new (input: CreateTagsCommandInput): import("@smithy/smithy-client").CommandImpl<CreateTagsCommandInput, CreateTagsCommandOutput, MqClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Add a tag to a resource.</p>
@@ -64,23 +67,5 @@ export interface CreateTagsCommandOutput extends __MetadataBearer {
64
67
  * <p>Base exception class for all service exceptions from Mq service.</p>
65
68
  *
66
69
  */
67
- export declare class CreateTagsCommand extends $Command<CreateTagsCommandInput, CreateTagsCommandOutput, MqClientResolvedConfig> {
68
- readonly input: CreateTagsCommandInput;
69
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
70
- /**
71
- * @public
72
- */
73
- constructor(input: CreateTagsCommandInput);
74
- /**
75
- * @internal
76
- */
77
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: MqClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateTagsCommandInput, CreateTagsCommandOutput>;
78
- /**
79
- * @internal
80
- */
81
- private serialize;
82
- /**
83
- * @internal
84
- */
85
- private deserialize;
70
+ export declare class CreateTagsCommand extends CreateTagsCommand_base {
86
71
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { CreateUserRequest, CreateUserResponse } from "../models/models_0";
5
4
  import { MqClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MqClient";
6
5
  /**
@@ -21,6 +20,10 @@ export interface CreateUserCommandInput extends CreateUserRequest {
21
20
  */
22
21
  export interface CreateUserCommandOutput extends CreateUserResponse, __MetadataBearer {
23
22
  }
23
+ declare const CreateUserCommand_base: {
24
+ new (input: CreateUserCommandInput): import("@smithy/smithy-client").CommandImpl<CreateUserCommandInput, CreateUserCommandOutput, MqClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Creates an ActiveMQ user.</p> <important><p>Do not add personally identifiable information (PII) or other confidential or sensitive information in broker usernames. Broker usernames are accessible to other Amazon Web Services services, including CloudWatch Logs. Broker usernames are not intended to be used for private or sensitive data.</p></important>
@@ -71,23 +74,5 @@ export interface CreateUserCommandOutput extends CreateUserResponse, __MetadataB
71
74
  * <p>Base exception class for all service exceptions from Mq service.</p>
72
75
  *
73
76
  */
74
- export declare class CreateUserCommand extends $Command<CreateUserCommandInput, CreateUserCommandOutput, MqClientResolvedConfig> {
75
- readonly input: CreateUserCommandInput;
76
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
77
- /**
78
- * @public
79
- */
80
- constructor(input: CreateUserCommandInput);
81
- /**
82
- * @internal
83
- */
84
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: MqClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateUserCommandInput, CreateUserCommandOutput>;
85
- /**
86
- * @internal
87
- */
88
- private serialize;
89
- /**
90
- * @internal
91
- */
92
- private deserialize;
77
+ export declare class CreateUserCommand extends CreateUserCommand_base {
93
78
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { DeleteBrokerRequest, DeleteBrokerResponse } from "../models/models_0";
5
4
  import { MqClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MqClient";
6
5
  /**
@@ -21,6 +20,10 @@ export interface DeleteBrokerCommandInput extends DeleteBrokerRequest {
21
20
  */
22
21
  export interface DeleteBrokerCommandOutput extends DeleteBrokerResponse, __MetadataBearer {
23
22
  }
23
+ declare const DeleteBrokerCommand_base: {
24
+ new (input: DeleteBrokerCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteBrokerCommandInput, DeleteBrokerCommandOutput, MqClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Deletes a broker. Note: This API is asynchronous.</p>
@@ -63,23 +66,5 @@ export interface DeleteBrokerCommandOutput extends DeleteBrokerResponse, __Metad
63
66
  * <p>Base exception class for all service exceptions from Mq service.</p>
64
67
  *
65
68
  */
66
- export declare class DeleteBrokerCommand extends $Command<DeleteBrokerCommandInput, DeleteBrokerCommandOutput, MqClientResolvedConfig> {
67
- readonly input: DeleteBrokerCommandInput;
68
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
69
- /**
70
- * @public
71
- */
72
- constructor(input: DeleteBrokerCommandInput);
73
- /**
74
- * @internal
75
- */
76
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: MqClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteBrokerCommandInput, DeleteBrokerCommandOutput>;
77
- /**
78
- * @internal
79
- */
80
- private serialize;
81
- /**
82
- * @internal
83
- */
84
- private deserialize;
69
+ export declare class DeleteBrokerCommand extends DeleteBrokerCommand_base {
85
70
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { DeleteTagsRequest } from "../models/models_0";
5
4
  import { MqClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MqClient";
6
5
  /**
@@ -21,6 +20,10 @@ export interface DeleteTagsCommandInput extends DeleteTagsRequest {
21
20
  */
22
21
  export interface DeleteTagsCommandOutput extends __MetadataBearer {
23
22
  }
23
+ declare const DeleteTagsCommand_base: {
24
+ new (input: DeleteTagsCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteTagsCommandInput, DeleteTagsCommandOutput, MqClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Removes a tag from a resource.</p>
@@ -64,23 +67,5 @@ export interface DeleteTagsCommandOutput extends __MetadataBearer {
64
67
  * <p>Base exception class for all service exceptions from Mq service.</p>
65
68
  *
66
69
  */
67
- export declare class DeleteTagsCommand extends $Command<DeleteTagsCommandInput, DeleteTagsCommandOutput, MqClientResolvedConfig> {
68
- readonly input: DeleteTagsCommandInput;
69
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
70
- /**
71
- * @public
72
- */
73
- constructor(input: DeleteTagsCommandInput);
74
- /**
75
- * @internal
76
- */
77
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: MqClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteTagsCommandInput, DeleteTagsCommandOutput>;
78
- /**
79
- * @internal
80
- */
81
- private serialize;
82
- /**
83
- * @internal
84
- */
85
- private deserialize;
70
+ export declare class DeleteTagsCommand extends DeleteTagsCommand_base {
86
71
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { DeleteUserRequest, DeleteUserResponse } from "../models/models_0";
5
4
  import { MqClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MqClient";
6
5
  /**
@@ -21,6 +20,10 @@ export interface DeleteUserCommandInput extends DeleteUserRequest {
21
20
  */
22
21
  export interface DeleteUserCommandOutput extends DeleteUserResponse, __MetadataBearer {
23
22
  }
23
+ declare const DeleteUserCommand_base: {
24
+ new (input: DeleteUserCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteUserCommandInput, DeleteUserCommandOutput, MqClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Deletes an ActiveMQ user.</p>
@@ -62,23 +65,5 @@ export interface DeleteUserCommandOutput extends DeleteUserResponse, __MetadataB
62
65
  * <p>Base exception class for all service exceptions from Mq service.</p>
63
66
  *
64
67
  */
65
- export declare class DeleteUserCommand extends $Command<DeleteUserCommandInput, DeleteUserCommandOutput, MqClientResolvedConfig> {
66
- readonly input: DeleteUserCommandInput;
67
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
68
- /**
69
- * @public
70
- */
71
- constructor(input: DeleteUserCommandInput);
72
- /**
73
- * @internal
74
- */
75
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: MqClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteUserCommandInput, DeleteUserCommandOutput>;
76
- /**
77
- * @internal
78
- */
79
- private serialize;
80
- /**
81
- * @internal
82
- */
83
- private deserialize;
68
+ export declare class DeleteUserCommand extends DeleteUserCommand_base {
84
69
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { DescribeBrokerRequest, DescribeBrokerResponse } from "../models/models_0";
5
4
  import { MqClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MqClient";
6
5
  /**
@@ -21,6 +20,10 @@ export interface DescribeBrokerCommandInput extends DescribeBrokerRequest {
21
20
  */
22
21
  export interface DescribeBrokerCommandOutput extends DescribeBrokerResponse, __MetadataBearer {
23
22
  }
23
+ declare const DescribeBrokerCommand_base: {
24
+ new (input: DescribeBrokerCommandInput): import("@smithy/smithy-client").CommandImpl<DescribeBrokerCommandInput, DescribeBrokerCommandOutput, MqClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Returns information about the specified broker.</p>
@@ -184,23 +187,5 @@ export interface DescribeBrokerCommandOutput extends DescribeBrokerResponse, __M
184
187
  * <p>Base exception class for all service exceptions from Mq service.</p>
185
188
  *
186
189
  */
187
- export declare class DescribeBrokerCommand extends $Command<DescribeBrokerCommandInput, DescribeBrokerCommandOutput, MqClientResolvedConfig> {
188
- readonly input: DescribeBrokerCommandInput;
189
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
190
- /**
191
- * @public
192
- */
193
- constructor(input: DescribeBrokerCommandInput);
194
- /**
195
- * @internal
196
- */
197
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: MqClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DescribeBrokerCommandInput, DescribeBrokerCommandOutput>;
198
- /**
199
- * @internal
200
- */
201
- private serialize;
202
- /**
203
- * @internal
204
- */
205
- private deserialize;
190
+ export declare class DescribeBrokerCommand extends DescribeBrokerCommand_base {
206
191
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { DescribeBrokerEngineTypesRequest, DescribeBrokerEngineTypesResponse } from "../models/models_0";
5
4
  import { MqClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MqClient";
6
5
  /**
@@ -21,6 +20,10 @@ export interface DescribeBrokerEngineTypesCommandInput extends DescribeBrokerEng
21
20
  */
22
21
  export interface DescribeBrokerEngineTypesCommandOutput extends DescribeBrokerEngineTypesResponse, __MetadataBearer {
23
22
  }
23
+ declare const DescribeBrokerEngineTypesCommand_base: {
24
+ new (input: DescribeBrokerEngineTypesCommandInput): import("@smithy/smithy-client").CommandImpl<DescribeBrokerEngineTypesCommandInput, DescribeBrokerEngineTypesCommandOutput, MqClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Describe available engine types and versions.</p>
@@ -73,23 +76,5 @@ export interface DescribeBrokerEngineTypesCommandOutput extends DescribeBrokerEn
73
76
  * <p>Base exception class for all service exceptions from Mq service.</p>
74
77
  *
75
78
  */
76
- export declare class DescribeBrokerEngineTypesCommand extends $Command<DescribeBrokerEngineTypesCommandInput, DescribeBrokerEngineTypesCommandOutput, MqClientResolvedConfig> {
77
- readonly input: DescribeBrokerEngineTypesCommandInput;
78
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
79
- /**
80
- * @public
81
- */
82
- constructor(input: DescribeBrokerEngineTypesCommandInput);
83
- /**
84
- * @internal
85
- */
86
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: MqClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DescribeBrokerEngineTypesCommandInput, DescribeBrokerEngineTypesCommandOutput>;
87
- /**
88
- * @internal
89
- */
90
- private serialize;
91
- /**
92
- * @internal
93
- */
94
- private deserialize;
79
+ export declare class DescribeBrokerEngineTypesCommand extends DescribeBrokerEngineTypesCommand_base {
95
80
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { DescribeBrokerInstanceOptionsRequest, DescribeBrokerInstanceOptionsResponse } from "../models/models_0";
5
4
  import { MqClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MqClient";
6
5
  /**
@@ -21,6 +20,10 @@ export interface DescribeBrokerInstanceOptionsCommandInput extends DescribeBroke
21
20
  */
22
21
  export interface DescribeBrokerInstanceOptionsCommandOutput extends DescribeBrokerInstanceOptionsResponse, __MetadataBearer {
23
22
  }
23
+ declare const DescribeBrokerInstanceOptionsCommand_base: {
24
+ new (input: DescribeBrokerInstanceOptionsCommandInput): import("@smithy/smithy-client").CommandImpl<DescribeBrokerInstanceOptionsCommandInput, DescribeBrokerInstanceOptionsCommandOutput, MqClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Describe available broker instance options.</p>
@@ -83,23 +86,5 @@ export interface DescribeBrokerInstanceOptionsCommandOutput extends DescribeBrok
83
86
  * <p>Base exception class for all service exceptions from Mq service.</p>
84
87
  *
85
88
  */
86
- export declare class DescribeBrokerInstanceOptionsCommand extends $Command<DescribeBrokerInstanceOptionsCommandInput, DescribeBrokerInstanceOptionsCommandOutput, MqClientResolvedConfig> {
87
- readonly input: DescribeBrokerInstanceOptionsCommandInput;
88
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
89
- /**
90
- * @public
91
- */
92
- constructor(input: DescribeBrokerInstanceOptionsCommandInput);
93
- /**
94
- * @internal
95
- */
96
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: MqClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DescribeBrokerInstanceOptionsCommandInput, DescribeBrokerInstanceOptionsCommandOutput>;
97
- /**
98
- * @internal
99
- */
100
- private serialize;
101
- /**
102
- * @internal
103
- */
104
- private deserialize;
89
+ export declare class DescribeBrokerInstanceOptionsCommand extends DescribeBrokerInstanceOptionsCommand_base {
105
90
  }