@aws-sdk/client-networkmanager 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 (112) hide show
  1. package/dist-cjs/index.js +3849 -3700
  2. package/dist-cjs/runtimeConfig.shared.js +2 -0
  3. package/dist-es/NetworkManagerClient.js +2 -0
  4. package/dist-es/commands/AcceptAttachmentCommand.js +3 -9
  5. package/dist-es/commands/AssociateConnectPeerCommand.js +3 -9
  6. package/dist-es/commands/AssociateCustomerGatewayCommand.js +3 -9
  7. package/dist-es/commands/AssociateLinkCommand.js +3 -9
  8. package/dist-es/commands/AssociateTransitGatewayConnectPeerCommand.js +3 -9
  9. package/dist-es/commands/CreateConnectAttachmentCommand.js +3 -9
  10. package/dist-es/commands/CreateConnectPeerCommand.js +3 -9
  11. package/dist-es/commands/CreateConnectionCommand.js +3 -9
  12. package/dist-es/commands/CreateCoreNetworkCommand.js +3 -9
  13. package/dist-es/commands/CreateDeviceCommand.js +3 -10
  14. package/dist-es/commands/CreateDirectConnectGatewayAttachmentCommand.js +3 -9
  15. package/dist-es/commands/CreateGlobalNetworkCommand.js +3 -9
  16. package/dist-es/commands/CreateLinkCommand.js +3 -9
  17. package/dist-es/commands/CreateSiteCommand.js +3 -10
  18. package/dist-es/commands/CreateSiteToSiteVpnAttachmentCommand.js +3 -9
  19. package/dist-es/commands/CreateTransitGatewayPeeringCommand.js +3 -9
  20. package/dist-es/commands/CreateTransitGatewayRouteTableAttachmentCommand.js +3 -9
  21. package/dist-es/commands/CreateVpcAttachmentCommand.js +3 -9
  22. package/dist-es/commands/DeleteAttachmentCommand.js +3 -9
  23. package/dist-es/commands/DeleteConnectPeerCommand.js +3 -9
  24. package/dist-es/commands/DeleteConnectionCommand.js +3 -9
  25. package/dist-es/commands/DeleteCoreNetworkCommand.js +3 -9
  26. package/dist-es/commands/DeleteCoreNetworkPolicyVersionCommand.js +3 -9
  27. package/dist-es/commands/DeleteDeviceCommand.js +3 -10
  28. package/dist-es/commands/DeleteGlobalNetworkCommand.js +3 -9
  29. package/dist-es/commands/DeleteLinkCommand.js +3 -9
  30. package/dist-es/commands/DeletePeeringCommand.js +3 -9
  31. package/dist-es/commands/DeleteResourcePolicyCommand.js +3 -9
  32. package/dist-es/commands/DeleteSiteCommand.js +3 -10
  33. package/dist-es/commands/DeregisterTransitGatewayCommand.js +3 -9
  34. package/dist-es/commands/DescribeGlobalNetworksCommand.js +3 -9
  35. package/dist-es/commands/DisassociateConnectPeerCommand.js +3 -9
  36. package/dist-es/commands/DisassociateCustomerGatewayCommand.js +3 -9
  37. package/dist-es/commands/DisassociateLinkCommand.js +3 -9
  38. package/dist-es/commands/DisassociateTransitGatewayConnectPeerCommand.js +3 -9
  39. package/dist-es/commands/ExecuteCoreNetworkChangeSetCommand.js +3 -9
  40. package/dist-es/commands/GetConnectAttachmentCommand.js +3 -9
  41. package/dist-es/commands/GetConnectPeerAssociationsCommand.js +3 -9
  42. package/dist-es/commands/GetConnectPeerCommand.js +3 -9
  43. package/dist-es/commands/GetConnectionsCommand.js +3 -9
  44. package/dist-es/commands/GetCoreNetworkChangeEventsCommand.js +3 -9
  45. package/dist-es/commands/GetCoreNetworkChangeSetCommand.js +3 -9
  46. package/dist-es/commands/GetCoreNetworkCommand.js +3 -9
  47. package/dist-es/commands/GetCoreNetworkPolicyCommand.js +3 -9
  48. package/dist-es/commands/GetCustomerGatewayAssociationsCommand.js +3 -9
  49. package/dist-es/commands/GetDevicesCommand.js +3 -10
  50. package/dist-es/commands/GetDirectConnectGatewayAttachmentCommand.js +3 -9
  51. package/dist-es/commands/GetLinkAssociationsCommand.js +3 -9
  52. package/dist-es/commands/GetLinksCommand.js +3 -9
  53. package/dist-es/commands/GetNetworkResourceCountsCommand.js +3 -9
  54. package/dist-es/commands/GetNetworkResourceRelationshipsCommand.js +3 -9
  55. package/dist-es/commands/GetNetworkResourcesCommand.js +3 -9
  56. package/dist-es/commands/GetNetworkRoutesCommand.js +3 -9
  57. package/dist-es/commands/GetNetworkTelemetryCommand.js +3 -9
  58. package/dist-es/commands/GetResourcePolicyCommand.js +3 -9
  59. package/dist-es/commands/GetRouteAnalysisCommand.js +3 -9
  60. package/dist-es/commands/GetSiteToSiteVpnAttachmentCommand.js +3 -9
  61. package/dist-es/commands/GetSitesCommand.js +3 -10
  62. package/dist-es/commands/GetTransitGatewayConnectPeerAssociationsCommand.js +3 -9
  63. package/dist-es/commands/GetTransitGatewayPeeringCommand.js +3 -9
  64. package/dist-es/commands/GetTransitGatewayRegistrationsCommand.js +3 -9
  65. package/dist-es/commands/GetTransitGatewayRouteTableAttachmentCommand.js +3 -9
  66. package/dist-es/commands/GetVpcAttachmentCommand.js +3 -9
  67. package/dist-es/commands/ListAttachmentsCommand.js +3 -9
  68. package/dist-es/commands/ListConnectPeersCommand.js +3 -9
  69. package/dist-es/commands/ListCoreNetworkPolicyVersionsCommand.js +3 -9
  70. package/dist-es/commands/ListCoreNetworksCommand.js +3 -9
  71. package/dist-es/commands/ListOrganizationServiceAccessStatusCommand.js +3 -9
  72. package/dist-es/commands/ListPeeringsCommand.js +3 -9
  73. package/dist-es/commands/ListTagsForResourceCommand.js +3 -9
  74. package/dist-es/commands/PutCoreNetworkPolicyCommand.js +3 -9
  75. package/dist-es/commands/PutResourcePolicyCommand.js +3 -9
  76. package/dist-es/commands/RegisterTransitGatewayCommand.js +3 -9
  77. package/dist-es/commands/RejectAttachmentCommand.js +3 -9
  78. package/dist-es/commands/RestoreCoreNetworkPolicyVersionCommand.js +3 -9
  79. package/dist-es/commands/StartOrganizationServiceAccessUpdateCommand.js +3 -9
  80. package/dist-es/commands/StartRouteAnalysisCommand.js +3 -9
  81. package/dist-es/commands/TagResourceCommand.js +3 -9
  82. package/dist-es/commands/UntagResourceCommand.js +3 -9
  83. package/dist-es/commands/UpdateConnectionCommand.js +3 -9
  84. package/dist-es/commands/UpdateCoreNetworkCommand.js +3 -9
  85. package/dist-es/commands/UpdateDeviceCommand.js +3 -10
  86. package/dist-es/commands/UpdateDirectConnectGatewayAttachmentCommand.js +3 -9
  87. package/dist-es/commands/UpdateGlobalNetworkCommand.js +3 -9
  88. package/dist-es/commands/UpdateLinkCommand.js +3 -9
  89. package/dist-es/commands/UpdateNetworkResourceMetadataCommand.js +3 -9
  90. package/dist-es/commands/UpdateSiteCommand.js +3 -10
  91. package/dist-es/commands/UpdateVpcAttachmentCommand.js +3 -9
  92. package/dist-es/models/models_0.js +0 -60
  93. package/dist-es/runtimeConfig.shared.js +2 -0
  94. package/dist-es/schemas/schemas_0.js +3719 -0
  95. package/dist-types/NetworkManagerClient.d.ts +10 -1
  96. package/dist-types/models/models_0.d.ts +0 -60
  97. package/dist-types/runtimeConfig.browser.d.ts +1 -0
  98. package/dist-types/runtimeConfig.d.ts +1 -0
  99. package/dist-types/runtimeConfig.native.d.ts +1 -0
  100. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  101. package/dist-types/schemas/schemas_0.d.ts +412 -0
  102. package/dist-types/ts3.4/NetworkManagerClient.d.ts +4 -0
  103. package/dist-types/ts3.4/models/models_0.d.ts +0 -39
  104. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
  105. package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
  106. package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
  107. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
  108. package/dist-types/ts3.4/schemas/schemas_0.d.ts +419 -0
  109. package/package.json +33 -34
  110. package/dist-es/protocols/Aws_restJson1.js +0 -3035
  111. package/dist-types/protocols/Aws_restJson1.d.ts +0 -794
  112. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +0 -1061
@@ -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.networkmanager" }),
28
30
  serviceId: config?.serviceId ?? "NetworkManager",
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 NetworkManagerClient 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_AcceptAttachmentCommand, se_AcceptAttachmentCommand } from "../protocols/Aws_restJson1";
4
+ import { AcceptAttachment } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class AcceptAttachmentCommand 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("NetworkManager", "AcceptAttachment", {})
17
13
  .n("NetworkManagerClient", "AcceptAttachmentCommand")
18
- .f(void 0, void 0)
19
- .ser(se_AcceptAttachmentCommand)
20
- .de(de_AcceptAttachmentCommand)
14
+ .sc(AcceptAttachment)
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_AssociateConnectPeerCommand, se_AssociateConnectPeerCommand } from "../protocols/Aws_restJson1";
4
+ import { AssociateConnectPeer } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class AssociateConnectPeerCommand 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("NetworkManager", "AssociateConnectPeer", {})
17
13
  .n("NetworkManagerClient", "AssociateConnectPeerCommand")
18
- .f(void 0, void 0)
19
- .ser(se_AssociateConnectPeerCommand)
20
- .de(de_AssociateConnectPeerCommand)
14
+ .sc(AssociateConnectPeer)
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_AssociateCustomerGatewayCommand, se_AssociateCustomerGatewayCommand } from "../protocols/Aws_restJson1";
4
+ import { AssociateCustomerGateway } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class AssociateCustomerGatewayCommand 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("NetworkManager", "AssociateCustomerGateway", {})
17
13
  .n("NetworkManagerClient", "AssociateCustomerGatewayCommand")
18
- .f(void 0, void 0)
19
- .ser(se_AssociateCustomerGatewayCommand)
20
- .de(de_AssociateCustomerGatewayCommand)
14
+ .sc(AssociateCustomerGateway)
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_AssociateLinkCommand, se_AssociateLinkCommand } from "../protocols/Aws_restJson1";
4
+ import { AssociateLink } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class AssociateLinkCommand 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("NetworkManager", "AssociateLink", {})
17
13
  .n("NetworkManagerClient", "AssociateLinkCommand")
18
- .f(void 0, void 0)
19
- .ser(se_AssociateLinkCommand)
20
- .de(de_AssociateLinkCommand)
14
+ .sc(AssociateLink)
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_AssociateTransitGatewayConnectPeerCommand, se_AssociateTransitGatewayConnectPeerCommand, } from "../protocols/Aws_restJson1";
4
+ import { AssociateTransitGatewayConnectPeer } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class AssociateTransitGatewayConnectPeerCommand 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("NetworkManager", "AssociateTransitGatewayConnectPeer", {})
17
13
  .n("NetworkManagerClient", "AssociateTransitGatewayConnectPeerCommand")
18
- .f(void 0, void 0)
19
- .ser(se_AssociateTransitGatewayConnectPeerCommand)
20
- .de(de_AssociateTransitGatewayConnectPeerCommand)
14
+ .sc(AssociateTransitGatewayConnectPeer)
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_CreateConnectAttachmentCommand, se_CreateConnectAttachmentCommand } from "../protocols/Aws_restJson1";
4
+ import { CreateConnectAttachment } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateConnectAttachmentCommand 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("NetworkManager", "CreateConnectAttachment", {})
17
13
  .n("NetworkManagerClient", "CreateConnectAttachmentCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateConnectAttachmentCommand)
20
- .de(de_CreateConnectAttachmentCommand)
14
+ .sc(CreateConnectAttachment)
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_CreateConnectPeerCommand, se_CreateConnectPeerCommand } from "../protocols/Aws_restJson1";
4
+ import { CreateConnectPeer } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateConnectPeerCommand 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("NetworkManager", "CreateConnectPeer", {})
17
13
  .n("NetworkManagerClient", "CreateConnectPeerCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateConnectPeerCommand)
20
- .de(de_CreateConnectPeerCommand)
14
+ .sc(CreateConnectPeer)
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_restJson1";
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("NetworkManager", "CreateConnection", {})
17
13
  .n("NetworkManagerClient", "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_CreateCoreNetworkCommand, se_CreateCoreNetworkCommand } from "../protocols/Aws_restJson1";
4
+ import { CreateCoreNetwork } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateCoreNetworkCommand 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("NetworkManager", "CreateCoreNetwork", {})
17
13
  .n("NetworkManagerClient", "CreateCoreNetworkCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateCoreNetworkCommand)
20
- .de(de_CreateCoreNetworkCommand)
14
+ .sc(CreateCoreNetwork)
21
15
  .build() {
22
16
  }
@@ -1,23 +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 { CreateDeviceRequestFilterSensitiveLog, CreateDeviceResponseFilterSensitiveLog, } from "../models/models_0";
6
- import { de_CreateDeviceCommand, se_CreateDeviceCommand } from "../protocols/Aws_restJson1";
4
+ import { CreateDevice } from "../schemas/schemas_0";
7
5
  export { $Command };
8
6
  export class CreateDeviceCommand extends $Command
9
7
  .classBuilder()
10
8
  .ep(commonParams)
11
9
  .m(function (Command, cs, config, o) {
12
- return [
13
- getSerdePlugin(config, this.serialize, this.deserialize),
14
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
15
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
16
11
  })
17
12
  .s("NetworkManager", "CreateDevice", {})
18
13
  .n("NetworkManagerClient", "CreateDeviceCommand")
19
- .f(CreateDeviceRequestFilterSensitiveLog, CreateDeviceResponseFilterSensitiveLog)
20
- .ser(se_CreateDeviceCommand)
21
- .de(de_CreateDeviceCommand)
14
+ .sc(CreateDevice)
22
15
  .build() {
23
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_CreateDirectConnectGatewayAttachmentCommand, se_CreateDirectConnectGatewayAttachmentCommand, } from "../protocols/Aws_restJson1";
4
+ import { CreateDirectConnectGatewayAttachment } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateDirectConnectGatewayAttachmentCommand 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("NetworkManager", "CreateDirectConnectGatewayAttachment", {})
17
13
  .n("NetworkManagerClient", "CreateDirectConnectGatewayAttachmentCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateDirectConnectGatewayAttachmentCommand)
20
- .de(de_CreateDirectConnectGatewayAttachmentCommand)
14
+ .sc(CreateDirectConnectGatewayAttachment)
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_CreateGlobalNetworkCommand, se_CreateGlobalNetworkCommand } from "../protocols/Aws_restJson1";
4
+ import { CreateGlobalNetwork } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateGlobalNetworkCommand 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("NetworkManager", "CreateGlobalNetwork", {})
17
13
  .n("NetworkManagerClient", "CreateGlobalNetworkCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateGlobalNetworkCommand)
20
- .de(de_CreateGlobalNetworkCommand)
14
+ .sc(CreateGlobalNetwork)
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_CreateLinkCommand, se_CreateLinkCommand } from "../protocols/Aws_restJson1";
4
+ import { CreateLink } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateLinkCommand 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("NetworkManager", "CreateLink", {})
17
13
  .n("NetworkManagerClient", "CreateLinkCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateLinkCommand)
20
- .de(de_CreateLinkCommand)
14
+ .sc(CreateLink)
21
15
  .build() {
22
16
  }
@@ -1,23 +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 { CreateSiteRequestFilterSensitiveLog, CreateSiteResponseFilterSensitiveLog, } from "../models/models_0";
6
- import { de_CreateSiteCommand, se_CreateSiteCommand } from "../protocols/Aws_restJson1";
4
+ import { CreateSite } from "../schemas/schemas_0";
7
5
  export { $Command };
8
6
  export class CreateSiteCommand extends $Command
9
7
  .classBuilder()
10
8
  .ep(commonParams)
11
9
  .m(function (Command, cs, config, o) {
12
- return [
13
- getSerdePlugin(config, this.serialize, this.deserialize),
14
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
15
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
16
11
  })
17
12
  .s("NetworkManager", "CreateSite", {})
18
13
  .n("NetworkManagerClient", "CreateSiteCommand")
19
- .f(CreateSiteRequestFilterSensitiveLog, CreateSiteResponseFilterSensitiveLog)
20
- .ser(se_CreateSiteCommand)
21
- .de(de_CreateSiteCommand)
14
+ .sc(CreateSite)
22
15
  .build() {
23
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_CreateSiteToSiteVpnAttachmentCommand, se_CreateSiteToSiteVpnAttachmentCommand, } from "../protocols/Aws_restJson1";
4
+ import { CreateSiteToSiteVpnAttachment } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateSiteToSiteVpnAttachmentCommand 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("NetworkManager", "CreateSiteToSiteVpnAttachment", {})
17
13
  .n("NetworkManagerClient", "CreateSiteToSiteVpnAttachmentCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateSiteToSiteVpnAttachmentCommand)
20
- .de(de_CreateSiteToSiteVpnAttachmentCommand)
14
+ .sc(CreateSiteToSiteVpnAttachment)
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_CreateTransitGatewayPeeringCommand, se_CreateTransitGatewayPeeringCommand, } from "../protocols/Aws_restJson1";
4
+ import { CreateTransitGatewayPeering } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateTransitGatewayPeeringCommand 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("NetworkManager", "CreateTransitGatewayPeering", {})
17
13
  .n("NetworkManagerClient", "CreateTransitGatewayPeeringCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateTransitGatewayPeeringCommand)
20
- .de(de_CreateTransitGatewayPeeringCommand)
14
+ .sc(CreateTransitGatewayPeering)
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_CreateTransitGatewayRouteTableAttachmentCommand, se_CreateTransitGatewayRouteTableAttachmentCommand, } from "../protocols/Aws_restJson1";
4
+ import { CreateTransitGatewayRouteTableAttachment } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateTransitGatewayRouteTableAttachmentCommand 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("NetworkManager", "CreateTransitGatewayRouteTableAttachment", {})
17
13
  .n("NetworkManagerClient", "CreateTransitGatewayRouteTableAttachmentCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateTransitGatewayRouteTableAttachmentCommand)
20
- .de(de_CreateTransitGatewayRouteTableAttachmentCommand)
14
+ .sc(CreateTransitGatewayRouteTableAttachment)
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_CreateVpcAttachmentCommand, se_CreateVpcAttachmentCommand } from "../protocols/Aws_restJson1";
4
+ import { CreateVpcAttachment } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateVpcAttachmentCommand 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("NetworkManager", "CreateVpcAttachment", {})
17
13
  .n("NetworkManagerClient", "CreateVpcAttachmentCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateVpcAttachmentCommand)
20
- .de(de_CreateVpcAttachmentCommand)
14
+ .sc(CreateVpcAttachment)
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_DeleteAttachmentCommand, se_DeleteAttachmentCommand } from "../protocols/Aws_restJson1";
4
+ import { DeleteAttachment } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteAttachmentCommand 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("NetworkManager", "DeleteAttachment", {})
17
13
  .n("NetworkManagerClient", "DeleteAttachmentCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteAttachmentCommand)
20
- .de(de_DeleteAttachmentCommand)
14
+ .sc(DeleteAttachment)
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_DeleteConnectPeerCommand, se_DeleteConnectPeerCommand } from "../protocols/Aws_restJson1";
4
+ import { DeleteConnectPeer } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteConnectPeerCommand 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("NetworkManager", "DeleteConnectPeer", {})
17
13
  .n("NetworkManagerClient", "DeleteConnectPeerCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteConnectPeerCommand)
20
- .de(de_DeleteConnectPeerCommand)
14
+ .sc(DeleteConnectPeer)
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_DeleteConnectionCommand, se_DeleteConnectionCommand } from "../protocols/Aws_restJson1";
4
+ import { DeleteConnection } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteConnectionCommand 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("NetworkManager", "DeleteConnection", {})
17
13
  .n("NetworkManagerClient", "DeleteConnectionCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteConnectionCommand)
20
- .de(de_DeleteConnectionCommand)
14
+ .sc(DeleteConnection)
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_DeleteCoreNetworkCommand, se_DeleteCoreNetworkCommand } from "../protocols/Aws_restJson1";
4
+ import { DeleteCoreNetwork } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteCoreNetworkCommand 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("NetworkManager", "DeleteCoreNetwork", {})
17
13
  .n("NetworkManagerClient", "DeleteCoreNetworkCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteCoreNetworkCommand)
20
- .de(de_DeleteCoreNetworkCommand)
14
+ .sc(DeleteCoreNetwork)
21
15
  .build() {
22
16
  }