@aws-sdk/client-networkmanager 3.183.0 → 3.185.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 (119) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/dist-cjs/protocols/Aws_restJson1.js +2 -2
  3. package/dist-es/NetworkManager.js +349 -342
  4. package/dist-es/NetworkManagerClient.js +28 -22
  5. package/dist-es/commands/AcceptAttachmentCommand.js +28 -21
  6. package/dist-es/commands/AssociateConnectPeerCommand.js +28 -21
  7. package/dist-es/commands/AssociateCustomerGatewayCommand.js +28 -21
  8. package/dist-es/commands/AssociateLinkCommand.js +28 -21
  9. package/dist-es/commands/AssociateTransitGatewayConnectPeerCommand.js +28 -21
  10. package/dist-es/commands/CreateConnectAttachmentCommand.js +28 -21
  11. package/dist-es/commands/CreateConnectPeerCommand.js +28 -21
  12. package/dist-es/commands/CreateConnectionCommand.js +28 -21
  13. package/dist-es/commands/CreateCoreNetworkCommand.js +28 -21
  14. package/dist-es/commands/CreateDeviceCommand.js +28 -21
  15. package/dist-es/commands/CreateGlobalNetworkCommand.js +28 -21
  16. package/dist-es/commands/CreateLinkCommand.js +28 -21
  17. package/dist-es/commands/CreateSiteCommand.js +28 -21
  18. package/dist-es/commands/CreateSiteToSiteVpnAttachmentCommand.js +28 -21
  19. package/dist-es/commands/CreateTransitGatewayPeeringCommand.js +28 -21
  20. package/dist-es/commands/CreateTransitGatewayRouteTableAttachmentCommand.js +28 -21
  21. package/dist-es/commands/CreateVpcAttachmentCommand.js +28 -21
  22. package/dist-es/commands/DeleteAttachmentCommand.js +28 -21
  23. package/dist-es/commands/DeleteConnectPeerCommand.js +28 -21
  24. package/dist-es/commands/DeleteConnectionCommand.js +28 -21
  25. package/dist-es/commands/DeleteCoreNetworkCommand.js +28 -21
  26. package/dist-es/commands/DeleteCoreNetworkPolicyVersionCommand.js +28 -21
  27. package/dist-es/commands/DeleteDeviceCommand.js +28 -21
  28. package/dist-es/commands/DeleteGlobalNetworkCommand.js +28 -21
  29. package/dist-es/commands/DeleteLinkCommand.js +28 -21
  30. package/dist-es/commands/DeletePeeringCommand.js +28 -21
  31. package/dist-es/commands/DeleteResourcePolicyCommand.js +28 -21
  32. package/dist-es/commands/DeleteSiteCommand.js +28 -21
  33. package/dist-es/commands/DeregisterTransitGatewayCommand.js +28 -21
  34. package/dist-es/commands/DescribeGlobalNetworksCommand.js +28 -21
  35. package/dist-es/commands/DisassociateConnectPeerCommand.js +28 -21
  36. package/dist-es/commands/DisassociateCustomerGatewayCommand.js +28 -21
  37. package/dist-es/commands/DisassociateLinkCommand.js +28 -21
  38. package/dist-es/commands/DisassociateTransitGatewayConnectPeerCommand.js +28 -21
  39. package/dist-es/commands/ExecuteCoreNetworkChangeSetCommand.js +28 -21
  40. package/dist-es/commands/GetConnectAttachmentCommand.js +28 -21
  41. package/dist-es/commands/GetConnectPeerAssociationsCommand.js +28 -21
  42. package/dist-es/commands/GetConnectPeerCommand.js +28 -21
  43. package/dist-es/commands/GetConnectionsCommand.js +28 -21
  44. package/dist-es/commands/GetCoreNetworkChangeEventsCommand.js +28 -21
  45. package/dist-es/commands/GetCoreNetworkChangeSetCommand.js +28 -21
  46. package/dist-es/commands/GetCoreNetworkCommand.js +28 -21
  47. package/dist-es/commands/GetCoreNetworkPolicyCommand.js +28 -21
  48. package/dist-es/commands/GetCustomerGatewayAssociationsCommand.js +28 -21
  49. package/dist-es/commands/GetDevicesCommand.js +28 -21
  50. package/dist-es/commands/GetLinkAssociationsCommand.js +28 -21
  51. package/dist-es/commands/GetLinksCommand.js +28 -21
  52. package/dist-es/commands/GetNetworkResourceCountsCommand.js +28 -21
  53. package/dist-es/commands/GetNetworkResourceRelationshipsCommand.js +28 -21
  54. package/dist-es/commands/GetNetworkResourcesCommand.js +28 -21
  55. package/dist-es/commands/GetNetworkRoutesCommand.js +28 -21
  56. package/dist-es/commands/GetNetworkTelemetryCommand.js +28 -21
  57. package/dist-es/commands/GetResourcePolicyCommand.js +28 -21
  58. package/dist-es/commands/GetRouteAnalysisCommand.js +28 -21
  59. package/dist-es/commands/GetSiteToSiteVpnAttachmentCommand.js +28 -21
  60. package/dist-es/commands/GetSitesCommand.js +28 -21
  61. package/dist-es/commands/GetTransitGatewayConnectPeerAssociationsCommand.js +28 -21
  62. package/dist-es/commands/GetTransitGatewayPeeringCommand.js +28 -21
  63. package/dist-es/commands/GetTransitGatewayRegistrationsCommand.js +28 -21
  64. package/dist-es/commands/GetTransitGatewayRouteTableAttachmentCommand.js +28 -21
  65. package/dist-es/commands/GetVpcAttachmentCommand.js +28 -21
  66. package/dist-es/commands/ListAttachmentsCommand.js +28 -21
  67. package/dist-es/commands/ListConnectPeersCommand.js +28 -21
  68. package/dist-es/commands/ListCoreNetworkPolicyVersionsCommand.js +28 -21
  69. package/dist-es/commands/ListCoreNetworksCommand.js +28 -21
  70. package/dist-es/commands/ListOrganizationServiceAccessStatusCommand.js +28 -21
  71. package/dist-es/commands/ListPeeringsCommand.js +28 -21
  72. package/dist-es/commands/ListTagsForResourceCommand.js +28 -21
  73. package/dist-es/commands/PutCoreNetworkPolicyCommand.js +28 -21
  74. package/dist-es/commands/PutResourcePolicyCommand.js +28 -21
  75. package/dist-es/commands/RegisterTransitGatewayCommand.js +28 -21
  76. package/dist-es/commands/RejectAttachmentCommand.js +28 -21
  77. package/dist-es/commands/RestoreCoreNetworkPolicyVersionCommand.js +28 -21
  78. package/dist-es/commands/StartOrganizationServiceAccessUpdateCommand.js +28 -21
  79. package/dist-es/commands/StartRouteAnalysisCommand.js +28 -21
  80. package/dist-es/commands/TagResourceCommand.js +28 -21
  81. package/dist-es/commands/UntagResourceCommand.js +28 -21
  82. package/dist-es/commands/UpdateConnectionCommand.js +28 -21
  83. package/dist-es/commands/UpdateCoreNetworkCommand.js +28 -21
  84. package/dist-es/commands/UpdateDeviceCommand.js +28 -21
  85. package/dist-es/commands/UpdateGlobalNetworkCommand.js +28 -21
  86. package/dist-es/commands/UpdateLinkCommand.js +28 -21
  87. package/dist-es/commands/UpdateNetworkResourceMetadataCommand.js +28 -21
  88. package/dist-es/commands/UpdateSiteCommand.js +28 -21
  89. package/dist-es/commands/UpdateVpcAttachmentCommand.js +28 -21
  90. package/dist-es/endpoints.js +8 -8
  91. package/dist-es/models/NetworkManagerServiceException.js +10 -5
  92. package/dist-es/models/models_0.js +341 -814
  93. package/dist-es/pagination/DescribeGlobalNetworksPaginator.js +68 -25
  94. package/dist-es/pagination/GetConnectPeerAssociationsPaginator.js +68 -25
  95. package/dist-es/pagination/GetConnectionsPaginator.js +68 -25
  96. package/dist-es/pagination/GetCoreNetworkChangeEventsPaginator.js +68 -25
  97. package/dist-es/pagination/GetCoreNetworkChangeSetPaginator.js +68 -25
  98. package/dist-es/pagination/GetCustomerGatewayAssociationsPaginator.js +68 -25
  99. package/dist-es/pagination/GetDevicesPaginator.js +68 -25
  100. package/dist-es/pagination/GetLinkAssociationsPaginator.js +68 -25
  101. package/dist-es/pagination/GetLinksPaginator.js +68 -25
  102. package/dist-es/pagination/GetNetworkResourceCountsPaginator.js +68 -25
  103. package/dist-es/pagination/GetNetworkResourceRelationshipsPaginator.js +68 -25
  104. package/dist-es/pagination/GetNetworkResourcesPaginator.js +68 -25
  105. package/dist-es/pagination/GetNetworkTelemetryPaginator.js +68 -25
  106. package/dist-es/pagination/GetSitesPaginator.js +68 -25
  107. package/dist-es/pagination/GetTransitGatewayConnectPeerAssociationsPaginator.js +68 -25
  108. package/dist-es/pagination/GetTransitGatewayRegistrationsPaginator.js +68 -25
  109. package/dist-es/pagination/ListAttachmentsPaginator.js +68 -25
  110. package/dist-es/pagination/ListConnectPeersPaginator.js +68 -25
  111. package/dist-es/pagination/ListCoreNetworkPolicyVersionsPaginator.js +68 -25
  112. package/dist-es/pagination/ListCoreNetworksPaginator.js +68 -25
  113. package/dist-es/pagination/ListPeeringsPaginator.js +68 -25
  114. package/dist-es/protocols/Aws_restJson1.js +8892 -6202
  115. package/dist-es/runtimeConfig.browser.js +12 -26
  116. package/dist-es/runtimeConfig.js +12 -30
  117. package/dist-es/runtimeConfig.native.js +5 -8
  118. package/dist-es/runtimeConfig.shared.js +11 -8
  119. package/package.json +5 -5
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { GetNetworkResourcesRequestFilterSensitiveLog, GetNetworkResourcesResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1GetNetworkResourcesCommand, serializeAws_restJson1GetNetworkResourcesCommand, } from "../protocols/Aws_restJson1";
5
- export class GetNetworkResourcesCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var GetNetworkResourcesCommand = (function (_super) {
7
+ __extends(GetNetworkResourcesCommand, _super);
8
+ function GetNetworkResourcesCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ GetNetworkResourcesCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "NetworkManagerClient";
15
- const commandName = "GetNetworkResourcesCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "NetworkManagerClient";
18
+ var commandName = "GetNetworkResourcesCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: GetNetworkResourcesRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: GetNetworkResourcesResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ GetNetworkResourcesCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1GetNetworkResourcesCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ GetNetworkResourcesCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1GetNetworkResourcesCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return GetNetworkResourcesCommand;
38
+ }($Command));
39
+ export { GetNetworkResourcesCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { GetNetworkRoutesRequestFilterSensitiveLog, GetNetworkRoutesResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1GetNetworkRoutesCommand, serializeAws_restJson1GetNetworkRoutesCommand, } from "../protocols/Aws_restJson1";
5
- export class GetNetworkRoutesCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var GetNetworkRoutesCommand = (function (_super) {
7
+ __extends(GetNetworkRoutesCommand, _super);
8
+ function GetNetworkRoutesCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ GetNetworkRoutesCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "NetworkManagerClient";
15
- const commandName = "GetNetworkRoutesCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "NetworkManagerClient";
18
+ var commandName = "GetNetworkRoutesCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: GetNetworkRoutesRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: GetNetworkRoutesResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ GetNetworkRoutesCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1GetNetworkRoutesCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ GetNetworkRoutesCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1GetNetworkRoutesCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return GetNetworkRoutesCommand;
38
+ }($Command));
39
+ export { GetNetworkRoutesCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { GetNetworkTelemetryRequestFilterSensitiveLog, GetNetworkTelemetryResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1GetNetworkTelemetryCommand, serializeAws_restJson1GetNetworkTelemetryCommand, } from "../protocols/Aws_restJson1";
5
- export class GetNetworkTelemetryCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var GetNetworkTelemetryCommand = (function (_super) {
7
+ __extends(GetNetworkTelemetryCommand, _super);
8
+ function GetNetworkTelemetryCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ GetNetworkTelemetryCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "NetworkManagerClient";
15
- const commandName = "GetNetworkTelemetryCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "NetworkManagerClient";
18
+ var commandName = "GetNetworkTelemetryCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: GetNetworkTelemetryRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: GetNetworkTelemetryResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ GetNetworkTelemetryCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1GetNetworkTelemetryCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ GetNetworkTelemetryCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1GetNetworkTelemetryCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return GetNetworkTelemetryCommand;
38
+ }($Command));
39
+ export { GetNetworkTelemetryCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { GetResourcePolicyRequestFilterSensitiveLog, GetResourcePolicyResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1GetResourcePolicyCommand, serializeAws_restJson1GetResourcePolicyCommand, } from "../protocols/Aws_restJson1";
5
- export class GetResourcePolicyCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var GetResourcePolicyCommand = (function (_super) {
7
+ __extends(GetResourcePolicyCommand, _super);
8
+ function GetResourcePolicyCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ GetResourcePolicyCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "NetworkManagerClient";
15
- const commandName = "GetResourcePolicyCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "NetworkManagerClient";
18
+ var commandName = "GetResourcePolicyCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: GetResourcePolicyRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: GetResourcePolicyResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ GetResourcePolicyCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1GetResourcePolicyCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ GetResourcePolicyCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1GetResourcePolicyCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return GetResourcePolicyCommand;
38
+ }($Command));
39
+ export { GetResourcePolicyCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { GetRouteAnalysisRequestFilterSensitiveLog, GetRouteAnalysisResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1GetRouteAnalysisCommand, serializeAws_restJson1GetRouteAnalysisCommand, } from "../protocols/Aws_restJson1";
5
- export class GetRouteAnalysisCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var GetRouteAnalysisCommand = (function (_super) {
7
+ __extends(GetRouteAnalysisCommand, _super);
8
+ function GetRouteAnalysisCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ GetRouteAnalysisCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "NetworkManagerClient";
15
- const commandName = "GetRouteAnalysisCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "NetworkManagerClient";
18
+ var commandName = "GetRouteAnalysisCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: GetRouteAnalysisRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: GetRouteAnalysisResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ GetRouteAnalysisCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1GetRouteAnalysisCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ GetRouteAnalysisCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1GetRouteAnalysisCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return GetRouteAnalysisCommand;
38
+ }($Command));
39
+ export { GetRouteAnalysisCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { GetSiteToSiteVpnAttachmentRequestFilterSensitiveLog, GetSiteToSiteVpnAttachmentResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1GetSiteToSiteVpnAttachmentCommand, serializeAws_restJson1GetSiteToSiteVpnAttachmentCommand, } from "../protocols/Aws_restJson1";
5
- export class GetSiteToSiteVpnAttachmentCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var GetSiteToSiteVpnAttachmentCommand = (function (_super) {
7
+ __extends(GetSiteToSiteVpnAttachmentCommand, _super);
8
+ function GetSiteToSiteVpnAttachmentCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ GetSiteToSiteVpnAttachmentCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "NetworkManagerClient";
15
- const commandName = "GetSiteToSiteVpnAttachmentCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "NetworkManagerClient";
18
+ var commandName = "GetSiteToSiteVpnAttachmentCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: GetSiteToSiteVpnAttachmentRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: GetSiteToSiteVpnAttachmentResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ GetSiteToSiteVpnAttachmentCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1GetSiteToSiteVpnAttachmentCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ GetSiteToSiteVpnAttachmentCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1GetSiteToSiteVpnAttachmentCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return GetSiteToSiteVpnAttachmentCommand;
38
+ }($Command));
39
+ export { GetSiteToSiteVpnAttachmentCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { GetSitesRequestFilterSensitiveLog, GetSitesResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1GetSitesCommand, serializeAws_restJson1GetSitesCommand, } from "../protocols/Aws_restJson1";
5
- export class GetSitesCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var GetSitesCommand = (function (_super) {
7
+ __extends(GetSitesCommand, _super);
8
+ function GetSitesCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ GetSitesCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "NetworkManagerClient";
15
- const commandName = "GetSitesCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "NetworkManagerClient";
18
+ var commandName = "GetSitesCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: GetSitesRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: GetSitesResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ GetSitesCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1GetSitesCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ GetSitesCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1GetSitesCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return GetSitesCommand;
38
+ }($Command));
39
+ export { GetSitesCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { GetTransitGatewayConnectPeerAssociationsRequestFilterSensitiveLog, GetTransitGatewayConnectPeerAssociationsResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1GetTransitGatewayConnectPeerAssociationsCommand, serializeAws_restJson1GetTransitGatewayConnectPeerAssociationsCommand, } from "../protocols/Aws_restJson1";
5
- export class GetTransitGatewayConnectPeerAssociationsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var GetTransitGatewayConnectPeerAssociationsCommand = (function (_super) {
7
+ __extends(GetTransitGatewayConnectPeerAssociationsCommand, _super);
8
+ function GetTransitGatewayConnectPeerAssociationsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ GetTransitGatewayConnectPeerAssociationsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "NetworkManagerClient";
15
- const commandName = "GetTransitGatewayConnectPeerAssociationsCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "NetworkManagerClient";
18
+ var commandName = "GetTransitGatewayConnectPeerAssociationsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: GetTransitGatewayConnectPeerAssociationsRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: GetTransitGatewayConnectPeerAssociationsResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ GetTransitGatewayConnectPeerAssociationsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1GetTransitGatewayConnectPeerAssociationsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ GetTransitGatewayConnectPeerAssociationsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1GetTransitGatewayConnectPeerAssociationsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return GetTransitGatewayConnectPeerAssociationsCommand;
38
+ }($Command));
39
+ export { GetTransitGatewayConnectPeerAssociationsCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { GetTransitGatewayPeeringRequestFilterSensitiveLog, GetTransitGatewayPeeringResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1GetTransitGatewayPeeringCommand, serializeAws_restJson1GetTransitGatewayPeeringCommand, } from "../protocols/Aws_restJson1";
5
- export class GetTransitGatewayPeeringCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var GetTransitGatewayPeeringCommand = (function (_super) {
7
+ __extends(GetTransitGatewayPeeringCommand, _super);
8
+ function GetTransitGatewayPeeringCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ GetTransitGatewayPeeringCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "NetworkManagerClient";
15
- const commandName = "GetTransitGatewayPeeringCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "NetworkManagerClient";
18
+ var commandName = "GetTransitGatewayPeeringCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: GetTransitGatewayPeeringRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: GetTransitGatewayPeeringResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ GetTransitGatewayPeeringCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1GetTransitGatewayPeeringCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ GetTransitGatewayPeeringCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1GetTransitGatewayPeeringCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return GetTransitGatewayPeeringCommand;
38
+ }($Command));
39
+ export { GetTransitGatewayPeeringCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { GetTransitGatewayRegistrationsRequestFilterSensitiveLog, GetTransitGatewayRegistrationsResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1GetTransitGatewayRegistrationsCommand, serializeAws_restJson1GetTransitGatewayRegistrationsCommand, } from "../protocols/Aws_restJson1";
5
- export class GetTransitGatewayRegistrationsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var GetTransitGatewayRegistrationsCommand = (function (_super) {
7
+ __extends(GetTransitGatewayRegistrationsCommand, _super);
8
+ function GetTransitGatewayRegistrationsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ GetTransitGatewayRegistrationsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "NetworkManagerClient";
15
- const commandName = "GetTransitGatewayRegistrationsCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "NetworkManagerClient";
18
+ var commandName = "GetTransitGatewayRegistrationsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: GetTransitGatewayRegistrationsRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: GetTransitGatewayRegistrationsResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ GetTransitGatewayRegistrationsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1GetTransitGatewayRegistrationsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ GetTransitGatewayRegistrationsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1GetTransitGatewayRegistrationsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return GetTransitGatewayRegistrationsCommand;
38
+ }($Command));
39
+ export { GetTransitGatewayRegistrationsCommand };