@aws-sdk/client-networkmanager 3.185.0 → 3.188.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 (118) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/dist-es/NetworkManager.js +342 -349
  3. package/dist-es/NetworkManagerClient.js +22 -28
  4. package/dist-es/commands/AcceptAttachmentCommand.js +21 -28
  5. package/dist-es/commands/AssociateConnectPeerCommand.js +21 -28
  6. package/dist-es/commands/AssociateCustomerGatewayCommand.js +21 -28
  7. package/dist-es/commands/AssociateLinkCommand.js +21 -28
  8. package/dist-es/commands/AssociateTransitGatewayConnectPeerCommand.js +21 -28
  9. package/dist-es/commands/CreateConnectAttachmentCommand.js +21 -28
  10. package/dist-es/commands/CreateConnectPeerCommand.js +21 -28
  11. package/dist-es/commands/CreateConnectionCommand.js +21 -28
  12. package/dist-es/commands/CreateCoreNetworkCommand.js +21 -28
  13. package/dist-es/commands/CreateDeviceCommand.js +21 -28
  14. package/dist-es/commands/CreateGlobalNetworkCommand.js +21 -28
  15. package/dist-es/commands/CreateLinkCommand.js +21 -28
  16. package/dist-es/commands/CreateSiteCommand.js +21 -28
  17. package/dist-es/commands/CreateSiteToSiteVpnAttachmentCommand.js +21 -28
  18. package/dist-es/commands/CreateTransitGatewayPeeringCommand.js +21 -28
  19. package/dist-es/commands/CreateTransitGatewayRouteTableAttachmentCommand.js +21 -28
  20. package/dist-es/commands/CreateVpcAttachmentCommand.js +21 -28
  21. package/dist-es/commands/DeleteAttachmentCommand.js +21 -28
  22. package/dist-es/commands/DeleteConnectPeerCommand.js +21 -28
  23. package/dist-es/commands/DeleteConnectionCommand.js +21 -28
  24. package/dist-es/commands/DeleteCoreNetworkCommand.js +21 -28
  25. package/dist-es/commands/DeleteCoreNetworkPolicyVersionCommand.js +21 -28
  26. package/dist-es/commands/DeleteDeviceCommand.js +21 -28
  27. package/dist-es/commands/DeleteGlobalNetworkCommand.js +21 -28
  28. package/dist-es/commands/DeleteLinkCommand.js +21 -28
  29. package/dist-es/commands/DeletePeeringCommand.js +21 -28
  30. package/dist-es/commands/DeleteResourcePolicyCommand.js +21 -28
  31. package/dist-es/commands/DeleteSiteCommand.js +21 -28
  32. package/dist-es/commands/DeregisterTransitGatewayCommand.js +21 -28
  33. package/dist-es/commands/DescribeGlobalNetworksCommand.js +21 -28
  34. package/dist-es/commands/DisassociateConnectPeerCommand.js +21 -28
  35. package/dist-es/commands/DisassociateCustomerGatewayCommand.js +21 -28
  36. package/dist-es/commands/DisassociateLinkCommand.js +21 -28
  37. package/dist-es/commands/DisassociateTransitGatewayConnectPeerCommand.js +21 -28
  38. package/dist-es/commands/ExecuteCoreNetworkChangeSetCommand.js +21 -28
  39. package/dist-es/commands/GetConnectAttachmentCommand.js +21 -28
  40. package/dist-es/commands/GetConnectPeerAssociationsCommand.js +21 -28
  41. package/dist-es/commands/GetConnectPeerCommand.js +21 -28
  42. package/dist-es/commands/GetConnectionsCommand.js +21 -28
  43. package/dist-es/commands/GetCoreNetworkChangeEventsCommand.js +21 -28
  44. package/dist-es/commands/GetCoreNetworkChangeSetCommand.js +21 -28
  45. package/dist-es/commands/GetCoreNetworkCommand.js +21 -28
  46. package/dist-es/commands/GetCoreNetworkPolicyCommand.js +21 -28
  47. package/dist-es/commands/GetCustomerGatewayAssociationsCommand.js +21 -28
  48. package/dist-es/commands/GetDevicesCommand.js +21 -28
  49. package/dist-es/commands/GetLinkAssociationsCommand.js +21 -28
  50. package/dist-es/commands/GetLinksCommand.js +21 -28
  51. package/dist-es/commands/GetNetworkResourceCountsCommand.js +21 -28
  52. package/dist-es/commands/GetNetworkResourceRelationshipsCommand.js +21 -28
  53. package/dist-es/commands/GetNetworkResourcesCommand.js +21 -28
  54. package/dist-es/commands/GetNetworkRoutesCommand.js +21 -28
  55. package/dist-es/commands/GetNetworkTelemetryCommand.js +21 -28
  56. package/dist-es/commands/GetResourcePolicyCommand.js +21 -28
  57. package/dist-es/commands/GetRouteAnalysisCommand.js +21 -28
  58. package/dist-es/commands/GetSiteToSiteVpnAttachmentCommand.js +21 -28
  59. package/dist-es/commands/GetSitesCommand.js +21 -28
  60. package/dist-es/commands/GetTransitGatewayConnectPeerAssociationsCommand.js +21 -28
  61. package/dist-es/commands/GetTransitGatewayPeeringCommand.js +21 -28
  62. package/dist-es/commands/GetTransitGatewayRegistrationsCommand.js +21 -28
  63. package/dist-es/commands/GetTransitGatewayRouteTableAttachmentCommand.js +21 -28
  64. package/dist-es/commands/GetVpcAttachmentCommand.js +21 -28
  65. package/dist-es/commands/ListAttachmentsCommand.js +21 -28
  66. package/dist-es/commands/ListConnectPeersCommand.js +21 -28
  67. package/dist-es/commands/ListCoreNetworkPolicyVersionsCommand.js +21 -28
  68. package/dist-es/commands/ListCoreNetworksCommand.js +21 -28
  69. package/dist-es/commands/ListOrganizationServiceAccessStatusCommand.js +21 -28
  70. package/dist-es/commands/ListPeeringsCommand.js +21 -28
  71. package/dist-es/commands/ListTagsForResourceCommand.js +21 -28
  72. package/dist-es/commands/PutCoreNetworkPolicyCommand.js +21 -28
  73. package/dist-es/commands/PutResourcePolicyCommand.js +21 -28
  74. package/dist-es/commands/RegisterTransitGatewayCommand.js +21 -28
  75. package/dist-es/commands/RejectAttachmentCommand.js +21 -28
  76. package/dist-es/commands/RestoreCoreNetworkPolicyVersionCommand.js +21 -28
  77. package/dist-es/commands/StartOrganizationServiceAccessUpdateCommand.js +21 -28
  78. package/dist-es/commands/StartRouteAnalysisCommand.js +21 -28
  79. package/dist-es/commands/TagResourceCommand.js +21 -28
  80. package/dist-es/commands/UntagResourceCommand.js +21 -28
  81. package/dist-es/commands/UpdateConnectionCommand.js +21 -28
  82. package/dist-es/commands/UpdateCoreNetworkCommand.js +21 -28
  83. package/dist-es/commands/UpdateDeviceCommand.js +21 -28
  84. package/dist-es/commands/UpdateGlobalNetworkCommand.js +21 -28
  85. package/dist-es/commands/UpdateLinkCommand.js +21 -28
  86. package/dist-es/commands/UpdateNetworkResourceMetadataCommand.js +21 -28
  87. package/dist-es/commands/UpdateSiteCommand.js +21 -28
  88. package/dist-es/commands/UpdateVpcAttachmentCommand.js +21 -28
  89. package/dist-es/endpoints.js +8 -8
  90. package/dist-es/models/NetworkManagerServiceException.js +5 -10
  91. package/dist-es/models/models_0.js +814 -341
  92. package/dist-es/pagination/DescribeGlobalNetworksPaginator.js +25 -68
  93. package/dist-es/pagination/GetConnectPeerAssociationsPaginator.js +25 -68
  94. package/dist-es/pagination/GetConnectionsPaginator.js +25 -68
  95. package/dist-es/pagination/GetCoreNetworkChangeEventsPaginator.js +25 -68
  96. package/dist-es/pagination/GetCoreNetworkChangeSetPaginator.js +25 -68
  97. package/dist-es/pagination/GetCustomerGatewayAssociationsPaginator.js +25 -68
  98. package/dist-es/pagination/GetDevicesPaginator.js +25 -68
  99. package/dist-es/pagination/GetLinkAssociationsPaginator.js +25 -68
  100. package/dist-es/pagination/GetLinksPaginator.js +25 -68
  101. package/dist-es/pagination/GetNetworkResourceCountsPaginator.js +25 -68
  102. package/dist-es/pagination/GetNetworkResourceRelationshipsPaginator.js +25 -68
  103. package/dist-es/pagination/GetNetworkResourcesPaginator.js +25 -68
  104. package/dist-es/pagination/GetNetworkTelemetryPaginator.js +25 -68
  105. package/dist-es/pagination/GetSitesPaginator.js +25 -68
  106. package/dist-es/pagination/GetTransitGatewayConnectPeerAssociationsPaginator.js +25 -68
  107. package/dist-es/pagination/GetTransitGatewayRegistrationsPaginator.js +25 -68
  108. package/dist-es/pagination/ListAttachmentsPaginator.js +25 -68
  109. package/dist-es/pagination/ListConnectPeersPaginator.js +25 -68
  110. package/dist-es/pagination/ListCoreNetworkPolicyVersionsPaginator.js +25 -68
  111. package/dist-es/pagination/ListCoreNetworksPaginator.js +25 -68
  112. package/dist-es/pagination/ListPeeringsPaginator.js +25 -68
  113. package/dist-es/protocols/Aws_restJson1.js +6202 -8892
  114. package/dist-es/runtimeConfig.browser.js +26 -12
  115. package/dist-es/runtimeConfig.js +30 -12
  116. package/dist-es/runtimeConfig.native.js +8 -5
  117. package/dist-es/runtimeConfig.shared.js +8 -11
  118. package/package.json +33 -33
@@ -1,4 +1,3 @@
1
- import { __extends } from "tslib";
2
1
  import { resolveEndpointsConfig, resolveRegionConfig, } from "@aws-sdk/config-resolver";
3
2
  import { getContentLengthPlugin } from "@aws-sdk/middleware-content-length";
4
3
  import { getHostHeaderPlugin, resolveHostHeaderConfig, } from "@aws-sdk/middleware-host-header";
@@ -9,31 +8,26 @@ import { getAwsAuthPlugin, resolveAwsAuthConfig, } from "@aws-sdk/middleware-sig
9
8
  import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
10
9
  import { Client as __Client, } from "@aws-sdk/smithy-client";
11
10
  import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
12
- var NetworkManagerClient = (function (_super) {
13
- __extends(NetworkManagerClient, _super);
14
- function NetworkManagerClient(configuration) {
15
- var _this = this;
16
- var _config_0 = __getRuntimeConfig(configuration);
17
- var _config_1 = resolveRegionConfig(_config_0);
18
- var _config_2 = resolveEndpointsConfig(_config_1);
19
- var _config_3 = resolveRetryConfig(_config_2);
20
- var _config_4 = resolveHostHeaderConfig(_config_3);
21
- var _config_5 = resolveAwsAuthConfig(_config_4);
22
- var _config_6 = resolveUserAgentConfig(_config_5);
23
- _this = _super.call(this, _config_6) || this;
24
- _this.config = _config_6;
25
- _this.middlewareStack.use(getRetryPlugin(_this.config));
26
- _this.middlewareStack.use(getContentLengthPlugin(_this.config));
27
- _this.middlewareStack.use(getHostHeaderPlugin(_this.config));
28
- _this.middlewareStack.use(getLoggerPlugin(_this.config));
29
- _this.middlewareStack.use(getRecursionDetectionPlugin(_this.config));
30
- _this.middlewareStack.use(getAwsAuthPlugin(_this.config));
31
- _this.middlewareStack.use(getUserAgentPlugin(_this.config));
32
- return _this;
11
+ export class NetworkManagerClient extends __Client {
12
+ constructor(configuration) {
13
+ const _config_0 = __getRuntimeConfig(configuration);
14
+ const _config_1 = resolveRegionConfig(_config_0);
15
+ const _config_2 = resolveEndpointsConfig(_config_1);
16
+ const _config_3 = resolveRetryConfig(_config_2);
17
+ const _config_4 = resolveHostHeaderConfig(_config_3);
18
+ const _config_5 = resolveAwsAuthConfig(_config_4);
19
+ const _config_6 = resolveUserAgentConfig(_config_5);
20
+ super(_config_6);
21
+ this.config = _config_6;
22
+ this.middlewareStack.use(getRetryPlugin(this.config));
23
+ this.middlewareStack.use(getContentLengthPlugin(this.config));
24
+ this.middlewareStack.use(getHostHeaderPlugin(this.config));
25
+ this.middlewareStack.use(getLoggerPlugin(this.config));
26
+ this.middlewareStack.use(getRecursionDetectionPlugin(this.config));
27
+ this.middlewareStack.use(getAwsAuthPlugin(this.config));
28
+ this.middlewareStack.use(getUserAgentPlugin(this.config));
33
29
  }
34
- NetworkManagerClient.prototype.destroy = function () {
35
- _super.prototype.destroy.call(this);
36
- };
37
- return NetworkManagerClient;
38
- }(__Client));
39
- export { NetworkManagerClient };
30
+ destroy() {
31
+ super.destroy();
32
+ }
33
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { AcceptAttachmentRequestFilterSensitiveLog, AcceptAttachmentResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1AcceptAttachmentCommand, serializeAws_restJson1AcceptAttachmentCommand, } from "../protocols/Aws_restJson1";
6
- var AcceptAttachmentCommand = (function (_super) {
7
- __extends(AcceptAttachmentCommand, _super);
8
- function AcceptAttachmentCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class AcceptAttachmentCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- AcceptAttachmentCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "NetworkManagerClient";
18
- var commandName = "AcceptAttachmentCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "NetworkManagerClient";
15
+ const commandName = "AcceptAttachmentCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: AcceptAttachmentRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: AcceptAttachmentResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- AcceptAttachmentCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1AcceptAttachmentCommand(input, context);
33
- };
34
- AcceptAttachmentCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1AcceptAttachmentCommand(output, context);
36
- };
37
- return AcceptAttachmentCommand;
38
- }($Command));
39
- export { AcceptAttachmentCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { AssociateConnectPeerRequestFilterSensitiveLog, AssociateConnectPeerResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1AssociateConnectPeerCommand, serializeAws_restJson1AssociateConnectPeerCommand, } from "../protocols/Aws_restJson1";
6
- var AssociateConnectPeerCommand = (function (_super) {
7
- __extends(AssociateConnectPeerCommand, _super);
8
- function AssociateConnectPeerCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class AssociateConnectPeerCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- AssociateConnectPeerCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "NetworkManagerClient";
18
- var commandName = "AssociateConnectPeerCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "NetworkManagerClient";
15
+ const commandName = "AssociateConnectPeerCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: AssociateConnectPeerRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: AssociateConnectPeerResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- AssociateConnectPeerCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1AssociateConnectPeerCommand(input, context);
33
- };
34
- AssociateConnectPeerCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1AssociateConnectPeerCommand(output, context);
36
- };
37
- return AssociateConnectPeerCommand;
38
- }($Command));
39
- export { AssociateConnectPeerCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { AssociateCustomerGatewayRequestFilterSensitiveLog, AssociateCustomerGatewayResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1AssociateCustomerGatewayCommand, serializeAws_restJson1AssociateCustomerGatewayCommand, } from "../protocols/Aws_restJson1";
6
- var AssociateCustomerGatewayCommand = (function (_super) {
7
- __extends(AssociateCustomerGatewayCommand, _super);
8
- function AssociateCustomerGatewayCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class AssociateCustomerGatewayCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- AssociateCustomerGatewayCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "NetworkManagerClient";
18
- var commandName = "AssociateCustomerGatewayCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "NetworkManagerClient";
15
+ const commandName = "AssociateCustomerGatewayCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: AssociateCustomerGatewayRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: AssociateCustomerGatewayResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- AssociateCustomerGatewayCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1AssociateCustomerGatewayCommand(input, context);
33
- };
34
- AssociateCustomerGatewayCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1AssociateCustomerGatewayCommand(output, context);
36
- };
37
- return AssociateCustomerGatewayCommand;
38
- }($Command));
39
- export { AssociateCustomerGatewayCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { AssociateLinkRequestFilterSensitiveLog, AssociateLinkResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1AssociateLinkCommand, serializeAws_restJson1AssociateLinkCommand, } from "../protocols/Aws_restJson1";
6
- var AssociateLinkCommand = (function (_super) {
7
- __extends(AssociateLinkCommand, _super);
8
- function AssociateLinkCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class AssociateLinkCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- AssociateLinkCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "NetworkManagerClient";
18
- var commandName = "AssociateLinkCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "NetworkManagerClient";
15
+ const commandName = "AssociateLinkCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: AssociateLinkRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: AssociateLinkResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- AssociateLinkCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1AssociateLinkCommand(input, context);
33
- };
34
- AssociateLinkCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1AssociateLinkCommand(output, context);
36
- };
37
- return AssociateLinkCommand;
38
- }($Command));
39
- export { AssociateLinkCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { AssociateTransitGatewayConnectPeerRequestFilterSensitiveLog, AssociateTransitGatewayConnectPeerResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1AssociateTransitGatewayConnectPeerCommand, serializeAws_restJson1AssociateTransitGatewayConnectPeerCommand, } from "../protocols/Aws_restJson1";
6
- var AssociateTransitGatewayConnectPeerCommand = (function (_super) {
7
- __extends(AssociateTransitGatewayConnectPeerCommand, _super);
8
- function AssociateTransitGatewayConnectPeerCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class AssociateTransitGatewayConnectPeerCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- AssociateTransitGatewayConnectPeerCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "NetworkManagerClient";
18
- var commandName = "AssociateTransitGatewayConnectPeerCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "NetworkManagerClient";
15
+ const commandName = "AssociateTransitGatewayConnectPeerCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: AssociateTransitGatewayConnectPeerRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: AssociateTransitGatewayConnectPeerResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- AssociateTransitGatewayConnectPeerCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1AssociateTransitGatewayConnectPeerCommand(input, context);
33
- };
34
- AssociateTransitGatewayConnectPeerCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1AssociateTransitGatewayConnectPeerCommand(output, context);
36
- };
37
- return AssociateTransitGatewayConnectPeerCommand;
38
- }($Command));
39
- export { AssociateTransitGatewayConnectPeerCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { CreateConnectAttachmentRequestFilterSensitiveLog, CreateConnectAttachmentResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1CreateConnectAttachmentCommand, serializeAws_restJson1CreateConnectAttachmentCommand, } from "../protocols/Aws_restJson1";
6
- var CreateConnectAttachmentCommand = (function (_super) {
7
- __extends(CreateConnectAttachmentCommand, _super);
8
- function CreateConnectAttachmentCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class CreateConnectAttachmentCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- CreateConnectAttachmentCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "NetworkManagerClient";
18
- var commandName = "CreateConnectAttachmentCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "NetworkManagerClient";
15
+ const commandName = "CreateConnectAttachmentCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: CreateConnectAttachmentRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: CreateConnectAttachmentResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- CreateConnectAttachmentCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1CreateConnectAttachmentCommand(input, context);
33
- };
34
- CreateConnectAttachmentCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1CreateConnectAttachmentCommand(output, context);
36
- };
37
- return CreateConnectAttachmentCommand;
38
- }($Command));
39
- export { CreateConnectAttachmentCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { CreateConnectPeerRequestFilterSensitiveLog, CreateConnectPeerResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1CreateConnectPeerCommand, serializeAws_restJson1CreateConnectPeerCommand, } from "../protocols/Aws_restJson1";
6
- var CreateConnectPeerCommand = (function (_super) {
7
- __extends(CreateConnectPeerCommand, _super);
8
- function CreateConnectPeerCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class CreateConnectPeerCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- CreateConnectPeerCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "NetworkManagerClient";
18
- var commandName = "CreateConnectPeerCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "NetworkManagerClient";
15
+ const commandName = "CreateConnectPeerCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: CreateConnectPeerRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: CreateConnectPeerResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- CreateConnectPeerCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1CreateConnectPeerCommand(input, context);
33
- };
34
- CreateConnectPeerCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1CreateConnectPeerCommand(output, context);
36
- };
37
- return CreateConnectPeerCommand;
38
- }($Command));
39
- export { CreateConnectPeerCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { CreateConnectionRequestFilterSensitiveLog, CreateConnectionResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1CreateConnectionCommand, serializeAws_restJson1CreateConnectionCommand, } from "../protocols/Aws_restJson1";
6
- var CreateConnectionCommand = (function (_super) {
7
- __extends(CreateConnectionCommand, _super);
8
- function CreateConnectionCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class CreateConnectionCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- CreateConnectionCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "NetworkManagerClient";
18
- var commandName = "CreateConnectionCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "NetworkManagerClient";
15
+ const commandName = "CreateConnectionCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: CreateConnectionRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: CreateConnectionResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- CreateConnectionCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1CreateConnectionCommand(input, context);
33
- };
34
- CreateConnectionCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1CreateConnectionCommand(output, context);
36
- };
37
- return CreateConnectionCommand;
38
- }($Command));
39
- export { CreateConnectionCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { CreateCoreNetworkRequestFilterSensitiveLog, CreateCoreNetworkResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1CreateCoreNetworkCommand, serializeAws_restJson1CreateCoreNetworkCommand, } from "../protocols/Aws_restJson1";
6
- var CreateCoreNetworkCommand = (function (_super) {
7
- __extends(CreateCoreNetworkCommand, _super);
8
- function CreateCoreNetworkCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class CreateCoreNetworkCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- CreateCoreNetworkCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "NetworkManagerClient";
18
- var commandName = "CreateCoreNetworkCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "NetworkManagerClient";
15
+ const commandName = "CreateCoreNetworkCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: CreateCoreNetworkRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: CreateCoreNetworkResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- CreateCoreNetworkCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1CreateCoreNetworkCommand(input, context);
33
- };
34
- CreateCoreNetworkCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1CreateCoreNetworkCommand(output, context);
36
- };
37
- return CreateCoreNetworkCommand;
38
- }($Command));
39
- export { CreateCoreNetworkCommand };
31
+ }
32
+ }