@aws-sdk/client-mq 3.928.0 → 3.930.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 (45) hide show
  1. package/dist-cjs/index.js +2954 -1366
  2. package/dist-cjs/runtimeConfig.shared.js +2 -0
  3. package/dist-es/MqClient.js +2 -0
  4. package/dist-es/commands/CreateBrokerCommand.js +3 -9
  5. package/dist-es/commands/CreateConfigurationCommand.js +3 -9
  6. package/dist-es/commands/CreateTagsCommand.js +3 -9
  7. package/dist-es/commands/CreateUserCommand.js +3 -9
  8. package/dist-es/commands/DeleteBrokerCommand.js +3 -9
  9. package/dist-es/commands/DeleteConfigurationCommand.js +3 -9
  10. package/dist-es/commands/DeleteTagsCommand.js +3 -9
  11. package/dist-es/commands/DeleteUserCommand.js +3 -9
  12. package/dist-es/commands/DescribeBrokerCommand.js +3 -9
  13. package/dist-es/commands/DescribeBrokerEngineTypesCommand.js +3 -9
  14. package/dist-es/commands/DescribeBrokerInstanceOptionsCommand.js +3 -9
  15. package/dist-es/commands/DescribeConfigurationCommand.js +3 -9
  16. package/dist-es/commands/DescribeConfigurationRevisionCommand.js +3 -9
  17. package/dist-es/commands/DescribeUserCommand.js +3 -9
  18. package/dist-es/commands/ListBrokersCommand.js +3 -9
  19. package/dist-es/commands/ListConfigurationRevisionsCommand.js +3 -9
  20. package/dist-es/commands/ListConfigurationsCommand.js +3 -9
  21. package/dist-es/commands/ListTagsCommand.js +3 -9
  22. package/dist-es/commands/ListUsersCommand.js +3 -9
  23. package/dist-es/commands/PromoteCommand.js +3 -9
  24. package/dist-es/commands/RebootBrokerCommand.js +3 -9
  25. package/dist-es/commands/UpdateBrokerCommand.js +3 -9
  26. package/dist-es/commands/UpdateConfigurationCommand.js +3 -9
  27. package/dist-es/commands/UpdateUserCommand.js +3 -9
  28. package/dist-es/runtimeConfig.shared.js +2 -0
  29. package/dist-es/schemas/schemas_0.js +2901 -0
  30. package/dist-types/MqClient.d.ts +10 -1
  31. package/dist-types/runtimeConfig.browser.d.ts +1 -0
  32. package/dist-types/runtimeConfig.d.ts +1 -0
  33. package/dist-types/runtimeConfig.native.d.ts +1 -0
  34. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  35. package/dist-types/schemas/schemas_0.d.ts +119 -0
  36. package/dist-types/ts3.4/MqClient.d.ts +4 -0
  37. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
  38. package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
  39. package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
  40. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
  41. package/dist-types/ts3.4/schemas/schemas_0.d.ts +124 -0
  42. package/package.json +33 -34
  43. package/dist-es/protocols/Aws_restJson1.js +0 -1193
  44. package/dist-types/protocols/Aws_restJson1.d.ts +0 -218
  45. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +0 -293
@@ -2,6 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.getRuntimeConfig = void 0;
4
4
  const core_1 = require("@aws-sdk/core");
5
+ const protocols_1 = require("@aws-sdk/core/protocols");
5
6
  const smithy_client_1 = require("@smithy/smithy-client");
6
7
  const url_parser_1 = require("@smithy/url-parser");
7
8
  const util_base64_1 = require("@smithy/util-base64");
@@ -25,6 +26,7 @@ const getRuntimeConfig = (config) => {
25
26
  },
26
27
  ],
27
28
  logger: config?.logger ?? new smithy_client_1.NoOpLogger(),
29
+ protocol: config?.protocol ?? new protocols_1.AwsRestJsonProtocol({ defaultNamespace: "com.amazonaws.mq" }),
28
30
  serviceId: config?.serviceId ?? "mq",
29
31
  urlParser: config?.urlParser ?? url_parser_1.parseUrl,
30
32
  utf8Decoder: config?.utf8Decoder ?? util_utf8_1.fromUtf8,
@@ -4,6 +4,7 @@ import { getRecursionDetectionPlugin } from "@aws-sdk/middleware-recursion-detec
4
4
  import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
5
5
  import { resolveRegionConfig } from "@smithy/config-resolver";
6
6
  import { DefaultIdentityProviderConfig, getHttpAuthSchemeEndpointRuleSetPlugin, getHttpSigningPlugin, } from "@smithy/core";
7
+ import { getSchemaSerdePlugin } from "@smithy/core/schema";
7
8
  import { getContentLengthPlugin } from "@smithy/middleware-content-length";
8
9
  import { resolveEndpointConfig } from "@smithy/middleware-endpoint";
9
10
  import { getRetryPlugin, resolveRetryConfig } from "@smithy/middleware-retry";
@@ -28,6 +29,7 @@ export class MqClient extends __Client {
28
29
  const _config_7 = resolveHttpAuthSchemeConfig(_config_6);
29
30
  const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
30
31
  this.config = _config_8;
32
+ this.middlewareStack.use(getSchemaSerdePlugin(this.config));
31
33
  this.middlewareStack.use(getUserAgentPlugin(this.config));
32
34
  this.middlewareStack.use(getRetryPlugin(this.config));
33
35
  this.middlewareStack.use(getContentLengthPlugin(this.config));
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_CreateBrokerCommand, se_CreateBrokerCommand } from "../protocols/Aws_restJson1";
4
+ import { CreateBroker } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateBrokerCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("mq", "CreateBroker", {})
17
13
  .n("MqClient", "CreateBrokerCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateBrokerCommand)
20
- .de(de_CreateBrokerCommand)
14
+ .sc(CreateBroker)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_CreateConfigurationCommand, se_CreateConfigurationCommand } from "../protocols/Aws_restJson1";
4
+ import { CreateConfiguration } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateConfigurationCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("mq", "CreateConfiguration", {})
17
13
  .n("MqClient", "CreateConfigurationCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateConfigurationCommand)
20
- .de(de_CreateConfigurationCommand)
14
+ .sc(CreateConfiguration)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_CreateTagsCommand, se_CreateTagsCommand } from "../protocols/Aws_restJson1";
4
+ import { CreateTags } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateTagsCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("mq", "CreateTags", {})
17
13
  .n("MqClient", "CreateTagsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateTagsCommand)
20
- .de(de_CreateTagsCommand)
14
+ .sc(CreateTags)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_CreateUserCommand, se_CreateUserCommand } from "../protocols/Aws_restJson1";
4
+ import { CreateUser } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateUserCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("mq", "CreateUser", {})
17
13
  .n("MqClient", "CreateUserCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateUserCommand)
20
- .de(de_CreateUserCommand)
14
+ .sc(CreateUser)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_DeleteBrokerCommand, se_DeleteBrokerCommand } from "../protocols/Aws_restJson1";
4
+ import { DeleteBroker } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteBrokerCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("mq", "DeleteBroker", {})
17
13
  .n("MqClient", "DeleteBrokerCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteBrokerCommand)
20
- .de(de_DeleteBrokerCommand)
14
+ .sc(DeleteBroker)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_DeleteConfigurationCommand, se_DeleteConfigurationCommand } from "../protocols/Aws_restJson1";
4
+ import { DeleteConfiguration } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteConfigurationCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("mq", "DeleteConfiguration", {})
17
13
  .n("MqClient", "DeleteConfigurationCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteConfigurationCommand)
20
- .de(de_DeleteConfigurationCommand)
14
+ .sc(DeleteConfiguration)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_DeleteTagsCommand, se_DeleteTagsCommand } from "../protocols/Aws_restJson1";
4
+ import { DeleteTags } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteTagsCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("mq", "DeleteTags", {})
17
13
  .n("MqClient", "DeleteTagsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteTagsCommand)
20
- .de(de_DeleteTagsCommand)
14
+ .sc(DeleteTags)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_DeleteUserCommand, se_DeleteUserCommand } from "../protocols/Aws_restJson1";
4
+ import { DeleteUser } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteUserCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("mq", "DeleteUser", {})
17
13
  .n("MqClient", "DeleteUserCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteUserCommand)
20
- .de(de_DeleteUserCommand)
14
+ .sc(DeleteUser)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_DescribeBrokerCommand, se_DescribeBrokerCommand } from "../protocols/Aws_restJson1";
4
+ import { DescribeBroker } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DescribeBrokerCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("mq", "DescribeBroker", {})
17
13
  .n("MqClient", "DescribeBrokerCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DescribeBrokerCommand)
20
- .de(de_DescribeBrokerCommand)
14
+ .sc(DescribeBroker)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_DescribeBrokerEngineTypesCommand, se_DescribeBrokerEngineTypesCommand } from "../protocols/Aws_restJson1";
4
+ import { DescribeBrokerEngineTypes } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DescribeBrokerEngineTypesCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("mq", "DescribeBrokerEngineTypes", {})
17
13
  .n("MqClient", "DescribeBrokerEngineTypesCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DescribeBrokerEngineTypesCommand)
20
- .de(de_DescribeBrokerEngineTypesCommand)
14
+ .sc(DescribeBrokerEngineTypes)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_DescribeBrokerInstanceOptionsCommand, se_DescribeBrokerInstanceOptionsCommand, } from "../protocols/Aws_restJson1";
4
+ import { DescribeBrokerInstanceOptions } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DescribeBrokerInstanceOptionsCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("mq", "DescribeBrokerInstanceOptions", {})
17
13
  .n("MqClient", "DescribeBrokerInstanceOptionsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DescribeBrokerInstanceOptionsCommand)
20
- .de(de_DescribeBrokerInstanceOptionsCommand)
14
+ .sc(DescribeBrokerInstanceOptions)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_DescribeConfigurationCommand, se_DescribeConfigurationCommand } from "../protocols/Aws_restJson1";
4
+ import { DescribeConfiguration } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DescribeConfigurationCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("mq", "DescribeConfiguration", {})
17
13
  .n("MqClient", "DescribeConfigurationCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DescribeConfigurationCommand)
20
- .de(de_DescribeConfigurationCommand)
14
+ .sc(DescribeConfiguration)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_DescribeConfigurationRevisionCommand, se_DescribeConfigurationRevisionCommand, } from "../protocols/Aws_restJson1";
4
+ import { DescribeConfigurationRevision } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DescribeConfigurationRevisionCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("mq", "DescribeConfigurationRevision", {})
17
13
  .n("MqClient", "DescribeConfigurationRevisionCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DescribeConfigurationRevisionCommand)
20
- .de(de_DescribeConfigurationRevisionCommand)
14
+ .sc(DescribeConfigurationRevision)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_DescribeUserCommand, se_DescribeUserCommand } from "../protocols/Aws_restJson1";
4
+ import { DescribeUser } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DescribeUserCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("mq", "DescribeUser", {})
17
13
  .n("MqClient", "DescribeUserCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DescribeUserCommand)
20
- .de(de_DescribeUserCommand)
14
+ .sc(DescribeUser)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_ListBrokersCommand, se_ListBrokersCommand } from "../protocols/Aws_restJson1";
4
+ import { ListBrokers } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListBrokersCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("mq", "ListBrokers", {})
17
13
  .n("MqClient", "ListBrokersCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListBrokersCommand)
20
- .de(de_ListBrokersCommand)
14
+ .sc(ListBrokers)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_ListConfigurationRevisionsCommand, se_ListConfigurationRevisionsCommand } from "../protocols/Aws_restJson1";
4
+ import { ListConfigurationRevisions } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListConfigurationRevisionsCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("mq", "ListConfigurationRevisions", {})
17
13
  .n("MqClient", "ListConfigurationRevisionsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListConfigurationRevisionsCommand)
20
- .de(de_ListConfigurationRevisionsCommand)
14
+ .sc(ListConfigurationRevisions)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_ListConfigurationsCommand, se_ListConfigurationsCommand } from "../protocols/Aws_restJson1";
4
+ import { ListConfigurations } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListConfigurationsCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("mq", "ListConfigurations", {})
17
13
  .n("MqClient", "ListConfigurationsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListConfigurationsCommand)
20
- .de(de_ListConfigurationsCommand)
14
+ .sc(ListConfigurations)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_ListTagsCommand, se_ListTagsCommand } from "../protocols/Aws_restJson1";
4
+ import { ListTags } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListTagsCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("mq", "ListTags", {})
17
13
  .n("MqClient", "ListTagsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListTagsCommand)
20
- .de(de_ListTagsCommand)
14
+ .sc(ListTags)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_ListUsersCommand, se_ListUsersCommand } from "../protocols/Aws_restJson1";
4
+ import { ListUsers } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListUsersCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("mq", "ListUsers", {})
17
13
  .n("MqClient", "ListUsersCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListUsersCommand)
20
- .de(de_ListUsersCommand)
14
+ .sc(ListUsers)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_PromoteCommand, se_PromoteCommand } from "../protocols/Aws_restJson1";
4
+ import { Promote } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class PromoteCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("mq", "Promote", {})
17
13
  .n("MqClient", "PromoteCommand")
18
- .f(void 0, void 0)
19
- .ser(se_PromoteCommand)
20
- .de(de_PromoteCommand)
14
+ .sc(Promote)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_RebootBrokerCommand, se_RebootBrokerCommand } from "../protocols/Aws_restJson1";
4
+ import { RebootBroker } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class RebootBrokerCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("mq", "RebootBroker", {})
17
13
  .n("MqClient", "RebootBrokerCommand")
18
- .f(void 0, void 0)
19
- .ser(se_RebootBrokerCommand)
20
- .de(de_RebootBrokerCommand)
14
+ .sc(RebootBroker)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_UpdateBrokerCommand, se_UpdateBrokerCommand } from "../protocols/Aws_restJson1";
4
+ import { UpdateBroker } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class UpdateBrokerCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("mq", "UpdateBroker", {})
17
13
  .n("MqClient", "UpdateBrokerCommand")
18
- .f(void 0, void 0)
19
- .ser(se_UpdateBrokerCommand)
20
- .de(de_UpdateBrokerCommand)
14
+ .sc(UpdateBroker)
21
15
  .build() {
22
16
  }