@aws-sdk/client-direct-connect 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 (76) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/dist-cjs/protocols/Aws_json1_1.js +2 -2
  3. package/dist-es/DirectConnect.js +261 -254
  4. package/dist-es/DirectConnectClient.js +28 -22
  5. package/dist-es/commands/AcceptDirectConnectGatewayAssociationProposalCommand.js +28 -21
  6. package/dist-es/commands/AllocateConnectionOnInterconnectCommand.js +28 -21
  7. package/dist-es/commands/AllocateHostedConnectionCommand.js +28 -21
  8. package/dist-es/commands/AllocatePrivateVirtualInterfaceCommand.js +28 -21
  9. package/dist-es/commands/AllocatePublicVirtualInterfaceCommand.js +28 -21
  10. package/dist-es/commands/AllocateTransitVirtualInterfaceCommand.js +28 -21
  11. package/dist-es/commands/AssociateConnectionWithLagCommand.js +28 -21
  12. package/dist-es/commands/AssociateHostedConnectionCommand.js +28 -21
  13. package/dist-es/commands/AssociateMacSecKeyCommand.js +28 -21
  14. package/dist-es/commands/AssociateVirtualInterfaceCommand.js +28 -21
  15. package/dist-es/commands/ConfirmConnectionCommand.js +28 -21
  16. package/dist-es/commands/ConfirmCustomerAgreementCommand.js +28 -21
  17. package/dist-es/commands/ConfirmPrivateVirtualInterfaceCommand.js +28 -21
  18. package/dist-es/commands/ConfirmPublicVirtualInterfaceCommand.js +28 -21
  19. package/dist-es/commands/ConfirmTransitVirtualInterfaceCommand.js +28 -21
  20. package/dist-es/commands/CreateBGPPeerCommand.js +28 -21
  21. package/dist-es/commands/CreateConnectionCommand.js +28 -21
  22. package/dist-es/commands/CreateDirectConnectGatewayAssociationCommand.js +28 -21
  23. package/dist-es/commands/CreateDirectConnectGatewayAssociationProposalCommand.js +28 -21
  24. package/dist-es/commands/CreateDirectConnectGatewayCommand.js +28 -21
  25. package/dist-es/commands/CreateInterconnectCommand.js +28 -21
  26. package/dist-es/commands/CreateLagCommand.js +28 -21
  27. package/dist-es/commands/CreatePrivateVirtualInterfaceCommand.js +28 -21
  28. package/dist-es/commands/CreatePublicVirtualInterfaceCommand.js +28 -21
  29. package/dist-es/commands/CreateTransitVirtualInterfaceCommand.js +28 -21
  30. package/dist-es/commands/DeleteBGPPeerCommand.js +28 -21
  31. package/dist-es/commands/DeleteConnectionCommand.js +28 -21
  32. package/dist-es/commands/DeleteDirectConnectGatewayAssociationCommand.js +28 -21
  33. package/dist-es/commands/DeleteDirectConnectGatewayAssociationProposalCommand.js +28 -21
  34. package/dist-es/commands/DeleteDirectConnectGatewayCommand.js +28 -21
  35. package/dist-es/commands/DeleteInterconnectCommand.js +28 -21
  36. package/dist-es/commands/DeleteLagCommand.js +28 -21
  37. package/dist-es/commands/DeleteVirtualInterfaceCommand.js +28 -21
  38. package/dist-es/commands/DescribeConnectionLoaCommand.js +28 -21
  39. package/dist-es/commands/DescribeConnectionsCommand.js +28 -21
  40. package/dist-es/commands/DescribeConnectionsOnInterconnectCommand.js +28 -21
  41. package/dist-es/commands/DescribeCustomerMetadataCommand.js +29 -22
  42. package/dist-es/commands/DescribeDirectConnectGatewayAssociationProposalsCommand.js +28 -21
  43. package/dist-es/commands/DescribeDirectConnectGatewayAssociationsCommand.js +28 -21
  44. package/dist-es/commands/DescribeDirectConnectGatewayAttachmentsCommand.js +28 -21
  45. package/dist-es/commands/DescribeDirectConnectGatewaysCommand.js +28 -21
  46. package/dist-es/commands/DescribeHostedConnectionsCommand.js +28 -21
  47. package/dist-es/commands/DescribeInterconnectLoaCommand.js +28 -21
  48. package/dist-es/commands/DescribeInterconnectsCommand.js +28 -21
  49. package/dist-es/commands/DescribeLagsCommand.js +28 -21
  50. package/dist-es/commands/DescribeLoaCommand.js +28 -21
  51. package/dist-es/commands/DescribeLocationsCommand.js +29 -22
  52. package/dist-es/commands/DescribeRouterConfigurationCommand.js +28 -21
  53. package/dist-es/commands/DescribeTagsCommand.js +28 -21
  54. package/dist-es/commands/DescribeVirtualGatewaysCommand.js +29 -22
  55. package/dist-es/commands/DescribeVirtualInterfacesCommand.js +28 -21
  56. package/dist-es/commands/DisassociateConnectionFromLagCommand.js +28 -21
  57. package/dist-es/commands/DisassociateMacSecKeyCommand.js +28 -21
  58. package/dist-es/commands/ListVirtualInterfaceTestHistoryCommand.js +28 -21
  59. package/dist-es/commands/StartBgpFailoverTestCommand.js +28 -21
  60. package/dist-es/commands/StopBgpFailoverTestCommand.js +28 -21
  61. package/dist-es/commands/TagResourceCommand.js +28 -21
  62. package/dist-es/commands/UntagResourceCommand.js +28 -21
  63. package/dist-es/commands/UpdateConnectionCommand.js +28 -21
  64. package/dist-es/commands/UpdateDirectConnectGatewayAssociationCommand.js +28 -21
  65. package/dist-es/commands/UpdateDirectConnectGatewayCommand.js +28 -21
  66. package/dist-es/commands/UpdateLagCommand.js +28 -21
  67. package/dist-es/commands/UpdateVirtualInterfaceAttributesCommand.js +28 -21
  68. package/dist-es/endpoints.js +8 -8
  69. package/dist-es/models/DirectConnectServiceException.js +10 -5
  70. package/dist-es/models/models_0.js +174 -431
  71. package/dist-es/protocols/Aws_json1_1.js +4684 -3615
  72. package/dist-es/runtimeConfig.browser.js +12 -26
  73. package/dist-es/runtimeConfig.js +12 -30
  74. package/dist-es/runtimeConfig.native.js +5 -8
  75. package/dist-es/runtimeConfig.shared.js +11 -8
  76. 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 { CreateDirectConnectGatewayRequestFilterSensitiveLog, CreateDirectConnectGatewayResultFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1CreateDirectConnectGatewayCommand, serializeAws_json1_1CreateDirectConnectGatewayCommand, } from "../protocols/Aws_json1_1";
5
- export class CreateDirectConnectGatewayCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var CreateDirectConnectGatewayCommand = (function (_super) {
7
+ __extends(CreateDirectConnectGatewayCommand, _super);
8
+ function CreateDirectConnectGatewayCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ CreateDirectConnectGatewayCommand.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 = "DirectConnectClient";
15
- const commandName = "CreateDirectConnectGatewayCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "DirectConnectClient";
18
+ var commandName = "CreateDirectConnectGatewayCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: CreateDirectConnectGatewayRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: CreateDirectConnectGatewayResultFilterSensitiveLog,
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
+ CreateDirectConnectGatewayCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1CreateDirectConnectGatewayCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ CreateDirectConnectGatewayCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1CreateDirectConnectGatewayCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return CreateDirectConnectGatewayCommand;
38
+ }($Command));
39
+ export { CreateDirectConnectGatewayCommand };
@@ -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 { CreateInterconnectRequestFilterSensitiveLog, InterconnectFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1CreateInterconnectCommand, serializeAws_json1_1CreateInterconnectCommand, } from "../protocols/Aws_json1_1";
5
- export class CreateInterconnectCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var CreateInterconnectCommand = (function (_super) {
7
+ __extends(CreateInterconnectCommand, _super);
8
+ function CreateInterconnectCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ CreateInterconnectCommand.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 = "DirectConnectClient";
15
- const commandName = "CreateInterconnectCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "DirectConnectClient";
18
+ var commandName = "CreateInterconnectCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: CreateInterconnectRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: InterconnectFilterSensitiveLog,
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
+ CreateInterconnectCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1CreateInterconnectCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ CreateInterconnectCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1CreateInterconnectCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return CreateInterconnectCommand;
38
+ }($Command));
39
+ export { CreateInterconnectCommand };
@@ -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 { CreateLagRequestFilterSensitiveLog, LagFilterSensitiveLog } from "../models/models_0";
4
5
  import { deserializeAws_json1_1CreateLagCommand, serializeAws_json1_1CreateLagCommand } from "../protocols/Aws_json1_1";
5
- export class CreateLagCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var CreateLagCommand = (function (_super) {
7
+ __extends(CreateLagCommand, _super);
8
+ function CreateLagCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ CreateLagCommand.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 = "DirectConnectClient";
15
- const commandName = "CreateLagCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "DirectConnectClient";
18
+ var commandName = "CreateLagCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: CreateLagRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: LagFilterSensitiveLog,
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
+ CreateLagCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1CreateLagCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ CreateLagCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1CreateLagCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return CreateLagCommand;
38
+ }($Command));
39
+ export { CreateLagCommand };
@@ -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 { CreatePrivateVirtualInterfaceRequestFilterSensitiveLog, VirtualInterfaceFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1CreatePrivateVirtualInterfaceCommand, serializeAws_json1_1CreatePrivateVirtualInterfaceCommand, } from "../protocols/Aws_json1_1";
5
- export class CreatePrivateVirtualInterfaceCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var CreatePrivateVirtualInterfaceCommand = (function (_super) {
7
+ __extends(CreatePrivateVirtualInterfaceCommand, _super);
8
+ function CreatePrivateVirtualInterfaceCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ CreatePrivateVirtualInterfaceCommand.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 = "DirectConnectClient";
15
- const commandName = "CreatePrivateVirtualInterfaceCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "DirectConnectClient";
18
+ var commandName = "CreatePrivateVirtualInterfaceCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: CreatePrivateVirtualInterfaceRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: VirtualInterfaceFilterSensitiveLog,
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
+ CreatePrivateVirtualInterfaceCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1CreatePrivateVirtualInterfaceCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ CreatePrivateVirtualInterfaceCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1CreatePrivateVirtualInterfaceCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return CreatePrivateVirtualInterfaceCommand;
38
+ }($Command));
39
+ export { CreatePrivateVirtualInterfaceCommand };
@@ -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 { CreatePublicVirtualInterfaceRequestFilterSensitiveLog, VirtualInterfaceFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1CreatePublicVirtualInterfaceCommand, serializeAws_json1_1CreatePublicVirtualInterfaceCommand, } from "../protocols/Aws_json1_1";
5
- export class CreatePublicVirtualInterfaceCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var CreatePublicVirtualInterfaceCommand = (function (_super) {
7
+ __extends(CreatePublicVirtualInterfaceCommand, _super);
8
+ function CreatePublicVirtualInterfaceCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ CreatePublicVirtualInterfaceCommand.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 = "DirectConnectClient";
15
- const commandName = "CreatePublicVirtualInterfaceCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "DirectConnectClient";
18
+ var commandName = "CreatePublicVirtualInterfaceCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: CreatePublicVirtualInterfaceRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: VirtualInterfaceFilterSensitiveLog,
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
+ CreatePublicVirtualInterfaceCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1CreatePublicVirtualInterfaceCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ CreatePublicVirtualInterfaceCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1CreatePublicVirtualInterfaceCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return CreatePublicVirtualInterfaceCommand;
38
+ }($Command));
39
+ export { CreatePublicVirtualInterfaceCommand };
@@ -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 { CreateTransitVirtualInterfaceRequestFilterSensitiveLog, CreateTransitVirtualInterfaceResultFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1CreateTransitVirtualInterfaceCommand, serializeAws_json1_1CreateTransitVirtualInterfaceCommand, } from "../protocols/Aws_json1_1";
5
- export class CreateTransitVirtualInterfaceCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var CreateTransitVirtualInterfaceCommand = (function (_super) {
7
+ __extends(CreateTransitVirtualInterfaceCommand, _super);
8
+ function CreateTransitVirtualInterfaceCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ CreateTransitVirtualInterfaceCommand.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 = "DirectConnectClient";
15
- const commandName = "CreateTransitVirtualInterfaceCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "DirectConnectClient";
18
+ var commandName = "CreateTransitVirtualInterfaceCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: CreateTransitVirtualInterfaceRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: CreateTransitVirtualInterfaceResultFilterSensitiveLog,
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
+ CreateTransitVirtualInterfaceCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1CreateTransitVirtualInterfaceCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ CreateTransitVirtualInterfaceCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1CreateTransitVirtualInterfaceCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return CreateTransitVirtualInterfaceCommand;
38
+ }($Command));
39
+ export { CreateTransitVirtualInterfaceCommand };
@@ -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 { DeleteBGPPeerRequestFilterSensitiveLog, DeleteBGPPeerResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1DeleteBGPPeerCommand, serializeAws_json1_1DeleteBGPPeerCommand, } from "../protocols/Aws_json1_1";
5
- export class DeleteBGPPeerCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DeleteBGPPeerCommand = (function (_super) {
7
+ __extends(DeleteBGPPeerCommand, _super);
8
+ function DeleteBGPPeerCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DeleteBGPPeerCommand.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 = "DirectConnectClient";
15
- const commandName = "DeleteBGPPeerCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "DirectConnectClient";
18
+ var commandName = "DeleteBGPPeerCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DeleteBGPPeerRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DeleteBGPPeerResponseFilterSensitiveLog,
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
+ DeleteBGPPeerCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1DeleteBGPPeerCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DeleteBGPPeerCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1DeleteBGPPeerCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DeleteBGPPeerCommand;
38
+ }($Command));
39
+ export { DeleteBGPPeerCommand };
@@ -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 { ConnectionFilterSensitiveLog, DeleteConnectionRequestFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1DeleteConnectionCommand, serializeAws_json1_1DeleteConnectionCommand, } from "../protocols/Aws_json1_1";
5
- export class DeleteConnectionCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DeleteConnectionCommand = (function (_super) {
7
+ __extends(DeleteConnectionCommand, _super);
8
+ function DeleteConnectionCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DeleteConnectionCommand.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 = "DirectConnectClient";
15
- const commandName = "DeleteConnectionCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "DirectConnectClient";
18
+ var commandName = "DeleteConnectionCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DeleteConnectionRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ConnectionFilterSensitiveLog,
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
+ DeleteConnectionCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1DeleteConnectionCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DeleteConnectionCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1DeleteConnectionCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DeleteConnectionCommand;
38
+ }($Command));
39
+ export { DeleteConnectionCommand };
@@ -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 { DeleteDirectConnectGatewayAssociationRequestFilterSensitiveLog, DeleteDirectConnectGatewayAssociationResultFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1DeleteDirectConnectGatewayAssociationCommand, serializeAws_json1_1DeleteDirectConnectGatewayAssociationCommand, } from "../protocols/Aws_json1_1";
5
- export class DeleteDirectConnectGatewayAssociationCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DeleteDirectConnectGatewayAssociationCommand = (function (_super) {
7
+ __extends(DeleteDirectConnectGatewayAssociationCommand, _super);
8
+ function DeleteDirectConnectGatewayAssociationCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DeleteDirectConnectGatewayAssociationCommand.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 = "DirectConnectClient";
15
- const commandName = "DeleteDirectConnectGatewayAssociationCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "DirectConnectClient";
18
+ var commandName = "DeleteDirectConnectGatewayAssociationCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DeleteDirectConnectGatewayAssociationRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DeleteDirectConnectGatewayAssociationResultFilterSensitiveLog,
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
+ DeleteDirectConnectGatewayAssociationCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1DeleteDirectConnectGatewayAssociationCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DeleteDirectConnectGatewayAssociationCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1DeleteDirectConnectGatewayAssociationCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DeleteDirectConnectGatewayAssociationCommand;
38
+ }($Command));
39
+ export { DeleteDirectConnectGatewayAssociationCommand };
@@ -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 { DeleteDirectConnectGatewayAssociationProposalRequestFilterSensitiveLog, DeleteDirectConnectGatewayAssociationProposalResultFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1DeleteDirectConnectGatewayAssociationProposalCommand, serializeAws_json1_1DeleteDirectConnectGatewayAssociationProposalCommand, } from "../protocols/Aws_json1_1";
5
- export class DeleteDirectConnectGatewayAssociationProposalCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DeleteDirectConnectGatewayAssociationProposalCommand = (function (_super) {
7
+ __extends(DeleteDirectConnectGatewayAssociationProposalCommand, _super);
8
+ function DeleteDirectConnectGatewayAssociationProposalCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DeleteDirectConnectGatewayAssociationProposalCommand.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 = "DirectConnectClient";
15
- const commandName = "DeleteDirectConnectGatewayAssociationProposalCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "DirectConnectClient";
18
+ var commandName = "DeleteDirectConnectGatewayAssociationProposalCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DeleteDirectConnectGatewayAssociationProposalRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DeleteDirectConnectGatewayAssociationProposalResultFilterSensitiveLog,
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
+ DeleteDirectConnectGatewayAssociationProposalCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1DeleteDirectConnectGatewayAssociationProposalCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DeleteDirectConnectGatewayAssociationProposalCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1DeleteDirectConnectGatewayAssociationProposalCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DeleteDirectConnectGatewayAssociationProposalCommand;
38
+ }($Command));
39
+ export { DeleteDirectConnectGatewayAssociationProposalCommand };