@aws-sdk/client-direct-connect 3.926.0 → 3.928.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 (84) hide show
  1. package/dist-cjs/index.js +1693 -1913
  2. package/dist-cjs/runtimeConfig.shared.js +7 -0
  3. package/dist-es/DirectConnectClient.js +2 -0
  4. package/dist-es/commands/AcceptDirectConnectGatewayAssociationProposalCommand.js +3 -9
  5. package/dist-es/commands/AllocateConnectionOnInterconnectCommand.js +3 -9
  6. package/dist-es/commands/AllocateHostedConnectionCommand.js +3 -9
  7. package/dist-es/commands/AllocatePrivateVirtualInterfaceCommand.js +3 -9
  8. package/dist-es/commands/AllocatePublicVirtualInterfaceCommand.js +3 -9
  9. package/dist-es/commands/AllocateTransitVirtualInterfaceCommand.js +3 -9
  10. package/dist-es/commands/AssociateConnectionWithLagCommand.js +3 -9
  11. package/dist-es/commands/AssociateHostedConnectionCommand.js +3 -9
  12. package/dist-es/commands/AssociateMacSecKeyCommand.js +3 -9
  13. package/dist-es/commands/AssociateVirtualInterfaceCommand.js +3 -9
  14. package/dist-es/commands/ConfirmConnectionCommand.js +3 -9
  15. package/dist-es/commands/ConfirmCustomerAgreementCommand.js +3 -9
  16. package/dist-es/commands/ConfirmPrivateVirtualInterfaceCommand.js +3 -9
  17. package/dist-es/commands/ConfirmPublicVirtualInterfaceCommand.js +3 -9
  18. package/dist-es/commands/ConfirmTransitVirtualInterfaceCommand.js +3 -9
  19. package/dist-es/commands/CreateBGPPeerCommand.js +3 -9
  20. package/dist-es/commands/CreateConnectionCommand.js +3 -9
  21. package/dist-es/commands/CreateDirectConnectGatewayAssociationCommand.js +3 -9
  22. package/dist-es/commands/CreateDirectConnectGatewayAssociationProposalCommand.js +3 -9
  23. package/dist-es/commands/CreateDirectConnectGatewayCommand.js +3 -9
  24. package/dist-es/commands/CreateInterconnectCommand.js +3 -9
  25. package/dist-es/commands/CreateLagCommand.js +3 -9
  26. package/dist-es/commands/CreatePrivateVirtualInterfaceCommand.js +3 -9
  27. package/dist-es/commands/CreatePublicVirtualInterfaceCommand.js +3 -9
  28. package/dist-es/commands/CreateTransitVirtualInterfaceCommand.js +3 -9
  29. package/dist-es/commands/DeleteBGPPeerCommand.js +3 -9
  30. package/dist-es/commands/DeleteConnectionCommand.js +3 -9
  31. package/dist-es/commands/DeleteDirectConnectGatewayAssociationCommand.js +3 -9
  32. package/dist-es/commands/DeleteDirectConnectGatewayAssociationProposalCommand.js +3 -9
  33. package/dist-es/commands/DeleteDirectConnectGatewayCommand.js +3 -9
  34. package/dist-es/commands/DeleteInterconnectCommand.js +3 -9
  35. package/dist-es/commands/DeleteLagCommand.js +3 -9
  36. package/dist-es/commands/DeleteVirtualInterfaceCommand.js +3 -9
  37. package/dist-es/commands/DescribeConnectionLoaCommand.js +3 -9
  38. package/dist-es/commands/DescribeConnectionsCommand.js +3 -9
  39. package/dist-es/commands/DescribeConnectionsOnInterconnectCommand.js +3 -9
  40. package/dist-es/commands/DescribeCustomerMetadataCommand.js +3 -9
  41. package/dist-es/commands/DescribeDirectConnectGatewayAssociationProposalsCommand.js +3 -9
  42. package/dist-es/commands/DescribeDirectConnectGatewayAssociationsCommand.js +3 -9
  43. package/dist-es/commands/DescribeDirectConnectGatewayAttachmentsCommand.js +3 -9
  44. package/dist-es/commands/DescribeDirectConnectGatewaysCommand.js +3 -9
  45. package/dist-es/commands/DescribeHostedConnectionsCommand.js +3 -9
  46. package/dist-es/commands/DescribeInterconnectLoaCommand.js +3 -9
  47. package/dist-es/commands/DescribeInterconnectsCommand.js +3 -9
  48. package/dist-es/commands/DescribeLagsCommand.js +3 -9
  49. package/dist-es/commands/DescribeLoaCommand.js +3 -9
  50. package/dist-es/commands/DescribeLocationsCommand.js +3 -9
  51. package/dist-es/commands/DescribeRouterConfigurationCommand.js +3 -9
  52. package/dist-es/commands/DescribeTagsCommand.js +3 -9
  53. package/dist-es/commands/DescribeVirtualGatewaysCommand.js +3 -9
  54. package/dist-es/commands/DescribeVirtualInterfacesCommand.js +3 -9
  55. package/dist-es/commands/DisassociateConnectionFromLagCommand.js +3 -9
  56. package/dist-es/commands/DisassociateMacSecKeyCommand.js +3 -9
  57. package/dist-es/commands/ListVirtualInterfaceTestHistoryCommand.js +3 -9
  58. package/dist-es/commands/StartBgpFailoverTestCommand.js +3 -9
  59. package/dist-es/commands/StopBgpFailoverTestCommand.js +3 -9
  60. package/dist-es/commands/TagResourceCommand.js +3 -9
  61. package/dist-es/commands/UntagResourceCommand.js +3 -9
  62. package/dist-es/commands/UpdateConnectionCommand.js +3 -9
  63. package/dist-es/commands/UpdateDirectConnectGatewayAssociationCommand.js +3 -9
  64. package/dist-es/commands/UpdateDirectConnectGatewayCommand.js +3 -9
  65. package/dist-es/commands/UpdateLagCommand.js +3 -9
  66. package/dist-es/commands/UpdateVirtualInterfaceAttributesCommand.js +3 -9
  67. package/dist-es/runtimeConfig.shared.js +7 -0
  68. package/dist-es/schemas/schemas_0.js +1559 -0
  69. package/dist-types/DirectConnectClient.d.ts +10 -1
  70. package/dist-types/runtimeConfig.browser.d.ts +1 -0
  71. package/dist-types/runtimeConfig.d.ts +1 -0
  72. package/dist-types/runtimeConfig.native.d.ts +1 -0
  73. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  74. package/dist-types/schemas/schemas_0.d.ts +223 -0
  75. package/dist-types/ts3.4/DirectConnectClient.d.ts +4 -0
  76. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
  77. package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
  78. package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
  79. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
  80. package/dist-types/ts3.4/schemas/schemas_0.d.ts +228 -0
  81. package/package.json +5 -5
  82. package/dist-es/protocols/Aws_json1_1.js +0 -1464
  83. package/dist-types/protocols/Aws_json1_1.d.ts +0 -569
  84. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +0 -761
@@ -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,12 @@ const getRuntimeConfig = (config) => {
25
26
  },
26
27
  ],
27
28
  logger: config?.logger ?? new smithy_client_1.NoOpLogger(),
29
+ protocol: config?.protocol ??
30
+ new protocols_1.AwsJson1_1Protocol({
31
+ defaultNamespace: "com.amazonaws.directconnect",
32
+ serviceTarget: "OvertureService",
33
+ awsQueryCompatible: false,
34
+ }),
28
35
  serviceId: config?.serviceId ?? "Direct Connect",
29
36
  urlParser: config?.urlParser ?? url_parser_1.parseUrl,
30
37
  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 DirectConnectClient 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_AcceptDirectConnectGatewayAssociationProposalCommand, se_AcceptDirectConnectGatewayAssociationProposalCommand, } from "../protocols/Aws_json1_1";
4
+ import { AcceptDirectConnectGatewayAssociationProposal } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class AcceptDirectConnectGatewayAssociationProposalCommand 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("OvertureService", "AcceptDirectConnectGatewayAssociationProposal", {})
17
13
  .n("DirectConnectClient", "AcceptDirectConnectGatewayAssociationProposalCommand")
18
- .f(void 0, void 0)
19
- .ser(se_AcceptDirectConnectGatewayAssociationProposalCommand)
20
- .de(de_AcceptDirectConnectGatewayAssociationProposalCommand)
14
+ .sc(AcceptDirectConnectGatewayAssociationProposal)
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_AllocateConnectionOnInterconnectCommand, se_AllocateConnectionOnInterconnectCommand, } from "../protocols/Aws_json1_1";
4
+ import { AllocateConnectionOnInterconnect } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class AllocateConnectionOnInterconnectCommand 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("OvertureService", "AllocateConnectionOnInterconnect", {})
17
13
  .n("DirectConnectClient", "AllocateConnectionOnInterconnectCommand")
18
- .f(void 0, void 0)
19
- .ser(se_AllocateConnectionOnInterconnectCommand)
20
- .de(de_AllocateConnectionOnInterconnectCommand)
14
+ .sc(AllocateConnectionOnInterconnect)
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_AllocateHostedConnectionCommand, se_AllocateHostedConnectionCommand } from "../protocols/Aws_json1_1";
4
+ import { AllocateHostedConnection } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class AllocateHostedConnectionCommand 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("OvertureService", "AllocateHostedConnection", {})
17
13
  .n("DirectConnectClient", "AllocateHostedConnectionCommand")
18
- .f(void 0, void 0)
19
- .ser(se_AllocateHostedConnectionCommand)
20
- .de(de_AllocateHostedConnectionCommand)
14
+ .sc(AllocateHostedConnection)
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_AllocatePrivateVirtualInterfaceCommand, se_AllocatePrivateVirtualInterfaceCommand, } from "../protocols/Aws_json1_1";
4
+ import { AllocatePrivateVirtualInterface } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class AllocatePrivateVirtualInterfaceCommand 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("OvertureService", "AllocatePrivateVirtualInterface", {})
17
13
  .n("DirectConnectClient", "AllocatePrivateVirtualInterfaceCommand")
18
- .f(void 0, void 0)
19
- .ser(se_AllocatePrivateVirtualInterfaceCommand)
20
- .de(de_AllocatePrivateVirtualInterfaceCommand)
14
+ .sc(AllocatePrivateVirtualInterface)
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_AllocatePublicVirtualInterfaceCommand, se_AllocatePublicVirtualInterfaceCommand, } from "../protocols/Aws_json1_1";
4
+ import { AllocatePublicVirtualInterface } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class AllocatePublicVirtualInterfaceCommand 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("OvertureService", "AllocatePublicVirtualInterface", {})
17
13
  .n("DirectConnectClient", "AllocatePublicVirtualInterfaceCommand")
18
- .f(void 0, void 0)
19
- .ser(se_AllocatePublicVirtualInterfaceCommand)
20
- .de(de_AllocatePublicVirtualInterfaceCommand)
14
+ .sc(AllocatePublicVirtualInterface)
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_AllocateTransitVirtualInterfaceCommand, se_AllocateTransitVirtualInterfaceCommand, } from "../protocols/Aws_json1_1";
4
+ import { AllocateTransitVirtualInterface } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class AllocateTransitVirtualInterfaceCommand 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("OvertureService", "AllocateTransitVirtualInterface", {})
17
13
  .n("DirectConnectClient", "AllocateTransitVirtualInterfaceCommand")
18
- .f(void 0, void 0)
19
- .ser(se_AllocateTransitVirtualInterfaceCommand)
20
- .de(de_AllocateTransitVirtualInterfaceCommand)
14
+ .sc(AllocateTransitVirtualInterface)
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_AssociateConnectionWithLagCommand, se_AssociateConnectionWithLagCommand } from "../protocols/Aws_json1_1";
4
+ import { AssociateConnectionWithLag } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class AssociateConnectionWithLagCommand 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("OvertureService", "AssociateConnectionWithLag", {})
17
13
  .n("DirectConnectClient", "AssociateConnectionWithLagCommand")
18
- .f(void 0, void 0)
19
- .ser(se_AssociateConnectionWithLagCommand)
20
- .de(de_AssociateConnectionWithLagCommand)
14
+ .sc(AssociateConnectionWithLag)
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_AssociateHostedConnectionCommand, se_AssociateHostedConnectionCommand } from "../protocols/Aws_json1_1";
4
+ import { AssociateHostedConnection } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class AssociateHostedConnectionCommand 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("OvertureService", "AssociateHostedConnection", {})
17
13
  .n("DirectConnectClient", "AssociateHostedConnectionCommand")
18
- .f(void 0, void 0)
19
- .ser(se_AssociateHostedConnectionCommand)
20
- .de(de_AssociateHostedConnectionCommand)
14
+ .sc(AssociateHostedConnection)
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_AssociateMacSecKeyCommand, se_AssociateMacSecKeyCommand } from "../protocols/Aws_json1_1";
4
+ import { AssociateMacSecKey } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class AssociateMacSecKeyCommand 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("OvertureService", "AssociateMacSecKey", {})
17
13
  .n("DirectConnectClient", "AssociateMacSecKeyCommand")
18
- .f(void 0, void 0)
19
- .ser(se_AssociateMacSecKeyCommand)
20
- .de(de_AssociateMacSecKeyCommand)
14
+ .sc(AssociateMacSecKey)
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_AssociateVirtualInterfaceCommand, se_AssociateVirtualInterfaceCommand } from "../protocols/Aws_json1_1";
4
+ import { AssociateVirtualInterface } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class AssociateVirtualInterfaceCommand 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("OvertureService", "AssociateVirtualInterface", {})
17
13
  .n("DirectConnectClient", "AssociateVirtualInterfaceCommand")
18
- .f(void 0, void 0)
19
- .ser(se_AssociateVirtualInterfaceCommand)
20
- .de(de_AssociateVirtualInterfaceCommand)
14
+ .sc(AssociateVirtualInterface)
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_ConfirmConnectionCommand, se_ConfirmConnectionCommand } from "../protocols/Aws_json1_1";
4
+ import { ConfirmConnection } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ConfirmConnectionCommand 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("OvertureService", "ConfirmConnection", {})
17
13
  .n("DirectConnectClient", "ConfirmConnectionCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ConfirmConnectionCommand)
20
- .de(de_ConfirmConnectionCommand)
14
+ .sc(ConfirmConnection)
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_ConfirmCustomerAgreementCommand, se_ConfirmCustomerAgreementCommand } from "../protocols/Aws_json1_1";
4
+ import { ConfirmCustomerAgreement } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ConfirmCustomerAgreementCommand 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("OvertureService", "ConfirmCustomerAgreement", {})
17
13
  .n("DirectConnectClient", "ConfirmCustomerAgreementCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ConfirmCustomerAgreementCommand)
20
- .de(de_ConfirmCustomerAgreementCommand)
14
+ .sc(ConfirmCustomerAgreement)
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_ConfirmPrivateVirtualInterfaceCommand, se_ConfirmPrivateVirtualInterfaceCommand, } from "../protocols/Aws_json1_1";
4
+ import { ConfirmPrivateVirtualInterface } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ConfirmPrivateVirtualInterfaceCommand 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("OvertureService", "ConfirmPrivateVirtualInterface", {})
17
13
  .n("DirectConnectClient", "ConfirmPrivateVirtualInterfaceCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ConfirmPrivateVirtualInterfaceCommand)
20
- .de(de_ConfirmPrivateVirtualInterfaceCommand)
14
+ .sc(ConfirmPrivateVirtualInterface)
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_ConfirmPublicVirtualInterfaceCommand, se_ConfirmPublicVirtualInterfaceCommand, } from "../protocols/Aws_json1_1";
4
+ import { ConfirmPublicVirtualInterface } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ConfirmPublicVirtualInterfaceCommand 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("OvertureService", "ConfirmPublicVirtualInterface", {})
17
13
  .n("DirectConnectClient", "ConfirmPublicVirtualInterfaceCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ConfirmPublicVirtualInterfaceCommand)
20
- .de(de_ConfirmPublicVirtualInterfaceCommand)
14
+ .sc(ConfirmPublicVirtualInterface)
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_ConfirmTransitVirtualInterfaceCommand, se_ConfirmTransitVirtualInterfaceCommand, } from "../protocols/Aws_json1_1";
4
+ import { ConfirmTransitVirtualInterface } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ConfirmTransitVirtualInterfaceCommand 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("OvertureService", "ConfirmTransitVirtualInterface", {})
17
13
  .n("DirectConnectClient", "ConfirmTransitVirtualInterfaceCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ConfirmTransitVirtualInterfaceCommand)
20
- .de(de_ConfirmTransitVirtualInterfaceCommand)
14
+ .sc(ConfirmTransitVirtualInterface)
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_CreateBGPPeerCommand, se_CreateBGPPeerCommand } from "../protocols/Aws_json1_1";
4
+ import { CreateBGPPeer } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateBGPPeerCommand 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("OvertureService", "CreateBGPPeer", {})
17
13
  .n("DirectConnectClient", "CreateBGPPeerCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateBGPPeerCommand)
20
- .de(de_CreateBGPPeerCommand)
14
+ .sc(CreateBGPPeer)
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_CreateConnectionCommand, se_CreateConnectionCommand } from "../protocols/Aws_json1_1";
4
+ import { CreateConnection } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateConnectionCommand 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("OvertureService", "CreateConnection", {})
17
13
  .n("DirectConnectClient", "CreateConnectionCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateConnectionCommand)
20
- .de(de_CreateConnectionCommand)
14
+ .sc(CreateConnection)
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_CreateDirectConnectGatewayAssociationCommand, se_CreateDirectConnectGatewayAssociationCommand, } from "../protocols/Aws_json1_1";
4
+ import { CreateDirectConnectGatewayAssociation } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateDirectConnectGatewayAssociationCommand 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("OvertureService", "CreateDirectConnectGatewayAssociation", {})
17
13
  .n("DirectConnectClient", "CreateDirectConnectGatewayAssociationCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateDirectConnectGatewayAssociationCommand)
20
- .de(de_CreateDirectConnectGatewayAssociationCommand)
14
+ .sc(CreateDirectConnectGatewayAssociation)
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_CreateDirectConnectGatewayAssociationProposalCommand, se_CreateDirectConnectGatewayAssociationProposalCommand, } from "../protocols/Aws_json1_1";
4
+ import { CreateDirectConnectGatewayAssociationProposal } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateDirectConnectGatewayAssociationProposalCommand 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("OvertureService", "CreateDirectConnectGatewayAssociationProposal", {})
17
13
  .n("DirectConnectClient", "CreateDirectConnectGatewayAssociationProposalCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateDirectConnectGatewayAssociationProposalCommand)
20
- .de(de_CreateDirectConnectGatewayAssociationProposalCommand)
14
+ .sc(CreateDirectConnectGatewayAssociationProposal)
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_CreateDirectConnectGatewayCommand, se_CreateDirectConnectGatewayCommand } from "../protocols/Aws_json1_1";
4
+ import { CreateDirectConnectGateway } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateDirectConnectGatewayCommand 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("OvertureService", "CreateDirectConnectGateway", {})
17
13
  .n("DirectConnectClient", "CreateDirectConnectGatewayCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateDirectConnectGatewayCommand)
20
- .de(de_CreateDirectConnectGatewayCommand)
14
+ .sc(CreateDirectConnectGateway)
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_CreateInterconnectCommand, se_CreateInterconnectCommand } from "../protocols/Aws_json1_1";
4
+ import { CreateInterconnect } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateInterconnectCommand 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("OvertureService", "CreateInterconnect", {})
17
13
  .n("DirectConnectClient", "CreateInterconnectCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateInterconnectCommand)
20
- .de(de_CreateInterconnectCommand)
14
+ .sc(CreateInterconnect)
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_CreateLagCommand, se_CreateLagCommand } from "../protocols/Aws_json1_1";
4
+ import { CreateLag } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateLagCommand 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("OvertureService", "CreateLag", {})
17
13
  .n("DirectConnectClient", "CreateLagCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateLagCommand)
20
- .de(de_CreateLagCommand)
14
+ .sc(CreateLag)
21
15
  .build() {
22
16
  }