@aws-sdk/client-networkmanager 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 (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 +5 -6
  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
@@ -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_ListPeeringsCommand, se_ListPeeringsCommand } from "../protocols/Aws_restJson1";
4
+ import { ListPeerings } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListPeeringsCommand 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", "ListPeerings", {})
17
13
  .n("NetworkManagerClient", "ListPeeringsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListPeeringsCommand)
20
- .de(de_ListPeeringsCommand)
14
+ .sc(ListPeerings)
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_ListTagsForResourceCommand, se_ListTagsForResourceCommand } from "../protocols/Aws_restJson1";
4
+ import { ListTagsForResource } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListTagsForResourceCommand 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", "ListTagsForResource", {})
17
13
  .n("NetworkManagerClient", "ListTagsForResourceCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListTagsForResourceCommand)
20
- .de(de_ListTagsForResourceCommand)
14
+ .sc(ListTagsForResource)
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_PutCoreNetworkPolicyCommand, se_PutCoreNetworkPolicyCommand } from "../protocols/Aws_restJson1";
4
+ import { PutCoreNetworkPolicy } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class PutCoreNetworkPolicyCommand 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", "PutCoreNetworkPolicy", {})
17
13
  .n("NetworkManagerClient", "PutCoreNetworkPolicyCommand")
18
- .f(void 0, void 0)
19
- .ser(se_PutCoreNetworkPolicyCommand)
20
- .de(de_PutCoreNetworkPolicyCommand)
14
+ .sc(PutCoreNetworkPolicy)
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_PutResourcePolicyCommand, se_PutResourcePolicyCommand } from "../protocols/Aws_restJson1";
4
+ import { PutResourcePolicy } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class PutResourcePolicyCommand 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", "PutResourcePolicy", {})
17
13
  .n("NetworkManagerClient", "PutResourcePolicyCommand")
18
- .f(void 0, void 0)
19
- .ser(se_PutResourcePolicyCommand)
20
- .de(de_PutResourcePolicyCommand)
14
+ .sc(PutResourcePolicy)
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_RegisterTransitGatewayCommand, se_RegisterTransitGatewayCommand } from "../protocols/Aws_restJson1";
4
+ import { RegisterTransitGateway } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class RegisterTransitGatewayCommand 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", "RegisterTransitGateway", {})
17
13
  .n("NetworkManagerClient", "RegisterTransitGatewayCommand")
18
- .f(void 0, void 0)
19
- .ser(se_RegisterTransitGatewayCommand)
20
- .de(de_RegisterTransitGatewayCommand)
14
+ .sc(RegisterTransitGateway)
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_RejectAttachmentCommand, se_RejectAttachmentCommand } from "../protocols/Aws_restJson1";
4
+ import { RejectAttachment } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class RejectAttachmentCommand 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", "RejectAttachment", {})
17
13
  .n("NetworkManagerClient", "RejectAttachmentCommand")
18
- .f(void 0, void 0)
19
- .ser(se_RejectAttachmentCommand)
20
- .de(de_RejectAttachmentCommand)
14
+ .sc(RejectAttachment)
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_RestoreCoreNetworkPolicyVersionCommand, se_RestoreCoreNetworkPolicyVersionCommand, } from "../protocols/Aws_restJson1";
4
+ import { RestoreCoreNetworkPolicyVersion } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class RestoreCoreNetworkPolicyVersionCommand 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", "RestoreCoreNetworkPolicyVersion", {})
17
13
  .n("NetworkManagerClient", "RestoreCoreNetworkPolicyVersionCommand")
18
- .f(void 0, void 0)
19
- .ser(se_RestoreCoreNetworkPolicyVersionCommand)
20
- .de(de_RestoreCoreNetworkPolicyVersionCommand)
14
+ .sc(RestoreCoreNetworkPolicyVersion)
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_StartOrganizationServiceAccessUpdateCommand, se_StartOrganizationServiceAccessUpdateCommand, } from "../protocols/Aws_restJson1";
4
+ import { StartOrganizationServiceAccessUpdate } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class StartOrganizationServiceAccessUpdateCommand 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", "StartOrganizationServiceAccessUpdate", {})
17
13
  .n("NetworkManagerClient", "StartOrganizationServiceAccessUpdateCommand")
18
- .f(void 0, void 0)
19
- .ser(se_StartOrganizationServiceAccessUpdateCommand)
20
- .de(de_StartOrganizationServiceAccessUpdateCommand)
14
+ .sc(StartOrganizationServiceAccessUpdate)
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_StartRouteAnalysisCommand, se_StartRouteAnalysisCommand } from "../protocols/Aws_restJson1";
4
+ import { StartRouteAnalysis } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class StartRouteAnalysisCommand 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", "StartRouteAnalysis", {})
17
13
  .n("NetworkManagerClient", "StartRouteAnalysisCommand")
18
- .f(void 0, void 0)
19
- .ser(se_StartRouteAnalysisCommand)
20
- .de(de_StartRouteAnalysisCommand)
14
+ .sc(StartRouteAnalysis)
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_restJson1";
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("NetworkManager", "TagResource", {})
17
13
  .n("NetworkManagerClient", "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_restJson1";
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("NetworkManager", "UntagResource", {})
17
13
  .n("NetworkManagerClient", "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_restJson1";
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("NetworkManager", "UpdateConnection", {})
17
13
  .n("NetworkManagerClient", "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_UpdateCoreNetworkCommand, se_UpdateCoreNetworkCommand } from "../protocols/Aws_restJson1";
4
+ import { UpdateCoreNetwork } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class UpdateCoreNetworkCommand 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", "UpdateCoreNetwork", {})
17
13
  .n("NetworkManagerClient", "UpdateCoreNetworkCommand")
18
- .f(void 0, void 0)
19
- .ser(se_UpdateCoreNetworkCommand)
20
- .de(de_UpdateCoreNetworkCommand)
14
+ .sc(UpdateCoreNetwork)
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 { UpdateDeviceRequestFilterSensitiveLog, UpdateDeviceResponseFilterSensitiveLog, } from "../models/models_0";
6
- import { de_UpdateDeviceCommand, se_UpdateDeviceCommand } from "../protocols/Aws_restJson1";
4
+ import { UpdateDevice } from "../schemas/schemas_0";
7
5
  export { $Command };
8
6
  export class UpdateDeviceCommand 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", "UpdateDevice", {})
18
13
  .n("NetworkManagerClient", "UpdateDeviceCommand")
19
- .f(UpdateDeviceRequestFilterSensitiveLog, UpdateDeviceResponseFilterSensitiveLog)
20
- .ser(se_UpdateDeviceCommand)
21
- .de(de_UpdateDeviceCommand)
14
+ .sc(UpdateDevice)
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_UpdateDirectConnectGatewayAttachmentCommand, se_UpdateDirectConnectGatewayAttachmentCommand, } from "../protocols/Aws_restJson1";
4
+ import { UpdateDirectConnectGatewayAttachment } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class UpdateDirectConnectGatewayAttachmentCommand 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", "UpdateDirectConnectGatewayAttachment", {})
17
13
  .n("NetworkManagerClient", "UpdateDirectConnectGatewayAttachmentCommand")
18
- .f(void 0, void 0)
19
- .ser(se_UpdateDirectConnectGatewayAttachmentCommand)
20
- .de(de_UpdateDirectConnectGatewayAttachmentCommand)
14
+ .sc(UpdateDirectConnectGatewayAttachment)
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_UpdateGlobalNetworkCommand, se_UpdateGlobalNetworkCommand } from "../protocols/Aws_restJson1";
4
+ import { UpdateGlobalNetwork } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class UpdateGlobalNetworkCommand 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", "UpdateGlobalNetwork", {})
17
13
  .n("NetworkManagerClient", "UpdateGlobalNetworkCommand")
18
- .f(void 0, void 0)
19
- .ser(se_UpdateGlobalNetworkCommand)
20
- .de(de_UpdateGlobalNetworkCommand)
14
+ .sc(UpdateGlobalNetwork)
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_UpdateLinkCommand, se_UpdateLinkCommand } from "../protocols/Aws_restJson1";
4
+ import { UpdateLink } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class UpdateLinkCommand 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", "UpdateLink", {})
17
13
  .n("NetworkManagerClient", "UpdateLinkCommand")
18
- .f(void 0, void 0)
19
- .ser(se_UpdateLinkCommand)
20
- .de(de_UpdateLinkCommand)
14
+ .sc(UpdateLink)
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_UpdateNetworkResourceMetadataCommand, se_UpdateNetworkResourceMetadataCommand, } from "../protocols/Aws_restJson1";
4
+ import { UpdateNetworkResourceMetadata } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class UpdateNetworkResourceMetadataCommand 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", "UpdateNetworkResourceMetadata", {})
17
13
  .n("NetworkManagerClient", "UpdateNetworkResourceMetadataCommand")
18
- .f(void 0, void 0)
19
- .ser(se_UpdateNetworkResourceMetadataCommand)
20
- .de(de_UpdateNetworkResourceMetadataCommand)
14
+ .sc(UpdateNetworkResourceMetadata)
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 { UpdateSiteRequestFilterSensitiveLog, UpdateSiteResponseFilterSensitiveLog, } from "../models/models_0";
6
- import { de_UpdateSiteCommand, se_UpdateSiteCommand } from "../protocols/Aws_restJson1";
4
+ import { UpdateSite } from "../schemas/schemas_0";
7
5
  export { $Command };
8
6
  export class UpdateSiteCommand 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", "UpdateSite", {})
18
13
  .n("NetworkManagerClient", "UpdateSiteCommand")
19
- .f(UpdateSiteRequestFilterSensitiveLog, UpdateSiteResponseFilterSensitiveLog)
20
- .ser(se_UpdateSiteCommand)
21
- .de(de_UpdateSiteCommand)
14
+ .sc(UpdateSite)
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_UpdateVpcAttachmentCommand, se_UpdateVpcAttachmentCommand } from "../protocols/Aws_restJson1";
4
+ import { UpdateVpcAttachment } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class UpdateVpcAttachmentCommand 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", "UpdateVpcAttachment", {})
17
13
  .n("NetworkManagerClient", "UpdateVpcAttachmentCommand")
18
- .f(void 0, void 0)
19
- .ser(se_UpdateVpcAttachmentCommand)
20
- .de(de_UpdateVpcAttachmentCommand)
14
+ .sc(UpdateVpcAttachment)
21
15
  .build() {
22
16
  }
@@ -1,4 +1,3 @@
1
- import { SENSITIVE_STRING, } from "@smithy/smithy-client";
2
1
  import { NetworkManagerServiceException as __BaseException } from "./NetworkManagerServiceException";
3
2
  export const AttachmentType = {
4
3
  CONNECT: "CONNECT",
@@ -365,62 +364,3 @@ export const RouteAnalysisStatus = {
365
364
  failed: "FAILED",
366
365
  running: "RUNNING",
367
366
  };
368
- export const LocationFilterSensitiveLog = (obj) => ({
369
- ...obj,
370
- });
371
- export const CreateDeviceRequestFilterSensitiveLog = (obj) => ({
372
- ...obj,
373
- ...(obj.Location && { Location: SENSITIVE_STRING }),
374
- });
375
- export const DeviceFilterSensitiveLog = (obj) => ({
376
- ...obj,
377
- ...(obj.Location && { Location: SENSITIVE_STRING }),
378
- });
379
- export const CreateDeviceResponseFilterSensitiveLog = (obj) => ({
380
- ...obj,
381
- ...(obj.Device && { Device: DeviceFilterSensitiveLog(obj.Device) }),
382
- });
383
- export const CreateSiteRequestFilterSensitiveLog = (obj) => ({
384
- ...obj,
385
- ...(obj.Location && { Location: SENSITIVE_STRING }),
386
- });
387
- export const SiteFilterSensitiveLog = (obj) => ({
388
- ...obj,
389
- ...(obj.Location && { Location: SENSITIVE_STRING }),
390
- });
391
- export const CreateSiteResponseFilterSensitiveLog = (obj) => ({
392
- ...obj,
393
- ...(obj.Site && { Site: SiteFilterSensitiveLog(obj.Site) }),
394
- });
395
- export const DeleteDeviceResponseFilterSensitiveLog = (obj) => ({
396
- ...obj,
397
- ...(obj.Device && { Device: DeviceFilterSensitiveLog(obj.Device) }),
398
- });
399
- export const DeleteSiteResponseFilterSensitiveLog = (obj) => ({
400
- ...obj,
401
- ...(obj.Site && { Site: SiteFilterSensitiveLog(obj.Site) }),
402
- });
403
- export const GetDevicesResponseFilterSensitiveLog = (obj) => ({
404
- ...obj,
405
- ...(obj.Devices && { Devices: obj.Devices.map((item) => DeviceFilterSensitiveLog(item)) }),
406
- });
407
- export const GetSitesResponseFilterSensitiveLog = (obj) => ({
408
- ...obj,
409
- ...(obj.Sites && { Sites: obj.Sites.map((item) => SiteFilterSensitiveLog(item)) }),
410
- });
411
- export const UpdateDeviceRequestFilterSensitiveLog = (obj) => ({
412
- ...obj,
413
- ...(obj.Location && { Location: SENSITIVE_STRING }),
414
- });
415
- export const UpdateDeviceResponseFilterSensitiveLog = (obj) => ({
416
- ...obj,
417
- ...(obj.Device && { Device: DeviceFilterSensitiveLog(obj.Device) }),
418
- });
419
- export const UpdateSiteRequestFilterSensitiveLog = (obj) => ({
420
- ...obj,
421
- ...(obj.Location && { Location: SENSITIVE_STRING }),
422
- });
423
- export const UpdateSiteResponseFilterSensitiveLog = (obj) => ({
424
- ...obj,
425
- ...(obj.Site && { Site: SiteFilterSensitiveLog(obj.Site) }),
426
- });
@@ -1,4 +1,5 @@
1
1
  import { AwsSdkSigV4Signer } from "@aws-sdk/core";
2
+ import { AwsRestJsonProtocol } 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,7 @@ export const getRuntimeConfig = (config) => {
22
23
  },
23
24
  ],
24
25
  logger: config?.logger ?? new NoOpLogger(),
26
+ protocol: config?.protocol ?? new AwsRestJsonProtocol({ defaultNamespace: "com.amazonaws.networkmanager" }),
25
27
  serviceId: config?.serviceId ?? "NetworkManager",
26
28
  urlParser: config?.urlParser ?? parseUrl,
27
29
  utf8Decoder: config?.utf8Decoder ?? fromUtf8,