@aws-sdk/client-direct-connect 3.927.0 → 3.929.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
@@ -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_DescribeLoaCommand, se_DescribeLoaCommand } from "../protocols/Aws_json1_1";
4
+ import { DescribeLoa } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DescribeLoaCommand 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", "DescribeLoa", {})
17
13
  .n("DirectConnectClient", "DescribeLoaCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DescribeLoaCommand)
20
- .de(de_DescribeLoaCommand)
14
+ .sc(DescribeLoa)
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_DescribeLocationsCommand, se_DescribeLocationsCommand } from "../protocols/Aws_json1_1";
4
+ import { DescribeLocations } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DescribeLocationsCommand 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", "DescribeLocations", {})
17
13
  .n("DirectConnectClient", "DescribeLocationsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DescribeLocationsCommand)
20
- .de(de_DescribeLocationsCommand)
14
+ .sc(DescribeLocations)
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_DescribeRouterConfigurationCommand, se_DescribeRouterConfigurationCommand } from "../protocols/Aws_json1_1";
4
+ import { DescribeRouterConfiguration } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DescribeRouterConfigurationCommand 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", "DescribeRouterConfiguration", {})
17
13
  .n("DirectConnectClient", "DescribeRouterConfigurationCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DescribeRouterConfigurationCommand)
20
- .de(de_DescribeRouterConfigurationCommand)
14
+ .sc(DescribeRouterConfiguration)
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_DescribeTagsCommand, se_DescribeTagsCommand } from "../protocols/Aws_json1_1";
4
+ import { DescribeTags } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DescribeTagsCommand 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", "DescribeTags", {})
17
13
  .n("DirectConnectClient", "DescribeTagsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DescribeTagsCommand)
20
- .de(de_DescribeTagsCommand)
14
+ .sc(DescribeTags)
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_DescribeVirtualGatewaysCommand, se_DescribeVirtualGatewaysCommand } from "../protocols/Aws_json1_1";
4
+ import { DescribeVirtualGateways } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DescribeVirtualGatewaysCommand 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", "DescribeVirtualGateways", {})
17
13
  .n("DirectConnectClient", "DescribeVirtualGatewaysCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DescribeVirtualGatewaysCommand)
20
- .de(de_DescribeVirtualGatewaysCommand)
14
+ .sc(DescribeVirtualGateways)
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_DescribeVirtualInterfacesCommand, se_DescribeVirtualInterfacesCommand } from "../protocols/Aws_json1_1";
4
+ import { DescribeVirtualInterfaces } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DescribeVirtualInterfacesCommand 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", "DescribeVirtualInterfaces", {})
17
13
  .n("DirectConnectClient", "DescribeVirtualInterfacesCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DescribeVirtualInterfacesCommand)
20
- .de(de_DescribeVirtualInterfacesCommand)
14
+ .sc(DescribeVirtualInterfaces)
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_DisassociateConnectionFromLagCommand, se_DisassociateConnectionFromLagCommand, } from "../protocols/Aws_json1_1";
4
+ import { DisassociateConnectionFromLag } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DisassociateConnectionFromLagCommand 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", "DisassociateConnectionFromLag", {})
17
13
  .n("DirectConnectClient", "DisassociateConnectionFromLagCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DisassociateConnectionFromLagCommand)
20
- .de(de_DisassociateConnectionFromLagCommand)
14
+ .sc(DisassociateConnectionFromLag)
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_DisassociateMacSecKeyCommand, se_DisassociateMacSecKeyCommand } from "../protocols/Aws_json1_1";
4
+ import { DisassociateMacSecKey } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DisassociateMacSecKeyCommand 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", "DisassociateMacSecKey", {})
17
13
  .n("DirectConnectClient", "DisassociateMacSecKeyCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DisassociateMacSecKeyCommand)
20
- .de(de_DisassociateMacSecKeyCommand)
14
+ .sc(DisassociateMacSecKey)
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_ListVirtualInterfaceTestHistoryCommand, se_ListVirtualInterfaceTestHistoryCommand, } from "../protocols/Aws_json1_1";
4
+ import { ListVirtualInterfaceTestHistory } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListVirtualInterfaceTestHistoryCommand 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", "ListVirtualInterfaceTestHistory", {})
17
13
  .n("DirectConnectClient", "ListVirtualInterfaceTestHistoryCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListVirtualInterfaceTestHistoryCommand)
20
- .de(de_ListVirtualInterfaceTestHistoryCommand)
14
+ .sc(ListVirtualInterfaceTestHistory)
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_StartBgpFailoverTestCommand, se_StartBgpFailoverTestCommand } from "../protocols/Aws_json1_1";
4
+ import { StartBgpFailoverTest } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class StartBgpFailoverTestCommand 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", "StartBgpFailoverTest", {})
17
13
  .n("DirectConnectClient", "StartBgpFailoverTestCommand")
18
- .f(void 0, void 0)
19
- .ser(se_StartBgpFailoverTestCommand)
20
- .de(de_StartBgpFailoverTestCommand)
14
+ .sc(StartBgpFailoverTest)
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_StopBgpFailoverTestCommand, se_StopBgpFailoverTestCommand } from "../protocols/Aws_json1_1";
4
+ import { StopBgpFailoverTest } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class StopBgpFailoverTestCommand 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", "StopBgpFailoverTest", {})
17
13
  .n("DirectConnectClient", "StopBgpFailoverTestCommand")
18
- .f(void 0, void 0)
19
- .ser(se_StopBgpFailoverTestCommand)
20
- .de(de_StopBgpFailoverTestCommand)
14
+ .sc(StopBgpFailoverTest)
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_TagResourceCommand, se_TagResourceCommand } from "../protocols/Aws_json1_1";
4
+ import { TagResource } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class TagResourceCommand 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", "TagResource", {})
17
13
  .n("DirectConnectClient", "TagResourceCommand")
18
- .f(void 0, void 0)
19
- .ser(se_TagResourceCommand)
20
- .de(de_TagResourceCommand)
14
+ .sc(TagResource)
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_UntagResourceCommand, se_UntagResourceCommand } from "../protocols/Aws_json1_1";
4
+ import { UntagResource } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class UntagResourceCommand 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", "UntagResource", {})
17
13
  .n("DirectConnectClient", "UntagResourceCommand")
18
- .f(void 0, void 0)
19
- .ser(se_UntagResourceCommand)
20
- .de(de_UntagResourceCommand)
14
+ .sc(UntagResource)
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_UpdateConnectionCommand, se_UpdateConnectionCommand } from "../protocols/Aws_json1_1";
4
+ import { UpdateConnection } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class UpdateConnectionCommand 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", "UpdateConnection", {})
17
13
  .n("DirectConnectClient", "UpdateConnectionCommand")
18
- .f(void 0, void 0)
19
- .ser(se_UpdateConnectionCommand)
20
- .de(de_UpdateConnectionCommand)
14
+ .sc(UpdateConnection)
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_UpdateDirectConnectGatewayAssociationCommand, se_UpdateDirectConnectGatewayAssociationCommand, } from "../protocols/Aws_json1_1";
4
+ import { UpdateDirectConnectGatewayAssociation } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class UpdateDirectConnectGatewayAssociationCommand 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", "UpdateDirectConnectGatewayAssociation", {})
17
13
  .n("DirectConnectClient", "UpdateDirectConnectGatewayAssociationCommand")
18
- .f(void 0, void 0)
19
- .ser(se_UpdateDirectConnectGatewayAssociationCommand)
20
- .de(de_UpdateDirectConnectGatewayAssociationCommand)
14
+ .sc(UpdateDirectConnectGatewayAssociation)
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_UpdateDirectConnectGatewayCommand, se_UpdateDirectConnectGatewayCommand } from "../protocols/Aws_json1_1";
4
+ import { UpdateDirectConnectGateway } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class UpdateDirectConnectGatewayCommand 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", "UpdateDirectConnectGateway", {})
17
13
  .n("DirectConnectClient", "UpdateDirectConnectGatewayCommand")
18
- .f(void 0, void 0)
19
- .ser(se_UpdateDirectConnectGatewayCommand)
20
- .de(de_UpdateDirectConnectGatewayCommand)
14
+ .sc(UpdateDirectConnectGateway)
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_UpdateLagCommand, se_UpdateLagCommand } from "../protocols/Aws_json1_1";
4
+ import { UpdateLag } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class UpdateLagCommand 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", "UpdateLag", {})
17
13
  .n("DirectConnectClient", "UpdateLagCommand")
18
- .f(void 0, void 0)
19
- .ser(se_UpdateLagCommand)
20
- .de(de_UpdateLagCommand)
14
+ .sc(UpdateLag)
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_UpdateVirtualInterfaceAttributesCommand, se_UpdateVirtualInterfaceAttributesCommand, } from "../protocols/Aws_json1_1";
4
+ import { UpdateVirtualInterfaceAttributes } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class UpdateVirtualInterfaceAttributesCommand 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", "UpdateVirtualInterfaceAttributes", {})
17
13
  .n("DirectConnectClient", "UpdateVirtualInterfaceAttributesCommand")
18
- .f(void 0, void 0)
19
- .ser(se_UpdateVirtualInterfaceAttributesCommand)
20
- .de(de_UpdateVirtualInterfaceAttributesCommand)
14
+ .sc(UpdateVirtualInterfaceAttributes)
21
15
  .build() {
22
16
  }
@@ -1,4 +1,5 @@
1
1
  import { AwsSdkSigV4Signer } from "@aws-sdk/core";
2
+ import { AwsJson1_1Protocol } from "@aws-sdk/core/protocols";
2
3
  import { NoOpLogger } from "@smithy/smithy-client";
3
4
  import { parseUrl } from "@smithy/url-parser";
4
5
  import { fromBase64, toBase64 } from "@smithy/util-base64";
@@ -22,6 +23,12 @@ export const getRuntimeConfig = (config) => {
22
23
  },
23
24
  ],
24
25
  logger: config?.logger ?? new NoOpLogger(),
26
+ protocol: config?.protocol ??
27
+ new AwsJson1_1Protocol({
28
+ defaultNamespace: "com.amazonaws.directconnect",
29
+ serviceTarget: "OvertureService",
30
+ awsQueryCompatible: false,
31
+ }),
25
32
  serviceId: config?.serviceId ?? "Direct Connect",
26
33
  urlParser: config?.urlParser ?? parseUrl,
27
34
  utf8Decoder: config?.utf8Decoder ?? fromUtf8,