@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.
- package/CHANGELOG.md +11 -0
- package/dist-cjs/protocols/Aws_json1_1.js +2 -2
- package/dist-es/DirectConnect.js +261 -254
- package/dist-es/DirectConnectClient.js +28 -22
- package/dist-es/commands/AcceptDirectConnectGatewayAssociationProposalCommand.js +28 -21
- package/dist-es/commands/AllocateConnectionOnInterconnectCommand.js +28 -21
- package/dist-es/commands/AllocateHostedConnectionCommand.js +28 -21
- package/dist-es/commands/AllocatePrivateVirtualInterfaceCommand.js +28 -21
- package/dist-es/commands/AllocatePublicVirtualInterfaceCommand.js +28 -21
- package/dist-es/commands/AllocateTransitVirtualInterfaceCommand.js +28 -21
- package/dist-es/commands/AssociateConnectionWithLagCommand.js +28 -21
- package/dist-es/commands/AssociateHostedConnectionCommand.js +28 -21
- package/dist-es/commands/AssociateMacSecKeyCommand.js +28 -21
- package/dist-es/commands/AssociateVirtualInterfaceCommand.js +28 -21
- package/dist-es/commands/ConfirmConnectionCommand.js +28 -21
- package/dist-es/commands/ConfirmCustomerAgreementCommand.js +28 -21
- package/dist-es/commands/ConfirmPrivateVirtualInterfaceCommand.js +28 -21
- package/dist-es/commands/ConfirmPublicVirtualInterfaceCommand.js +28 -21
- package/dist-es/commands/ConfirmTransitVirtualInterfaceCommand.js +28 -21
- package/dist-es/commands/CreateBGPPeerCommand.js +28 -21
- package/dist-es/commands/CreateConnectionCommand.js +28 -21
- package/dist-es/commands/CreateDirectConnectGatewayAssociationCommand.js +28 -21
- package/dist-es/commands/CreateDirectConnectGatewayAssociationProposalCommand.js +28 -21
- package/dist-es/commands/CreateDirectConnectGatewayCommand.js +28 -21
- package/dist-es/commands/CreateInterconnectCommand.js +28 -21
- package/dist-es/commands/CreateLagCommand.js +28 -21
- package/dist-es/commands/CreatePrivateVirtualInterfaceCommand.js +28 -21
- package/dist-es/commands/CreatePublicVirtualInterfaceCommand.js +28 -21
- package/dist-es/commands/CreateTransitVirtualInterfaceCommand.js +28 -21
- package/dist-es/commands/DeleteBGPPeerCommand.js +28 -21
- package/dist-es/commands/DeleteConnectionCommand.js +28 -21
- package/dist-es/commands/DeleteDirectConnectGatewayAssociationCommand.js +28 -21
- package/dist-es/commands/DeleteDirectConnectGatewayAssociationProposalCommand.js +28 -21
- package/dist-es/commands/DeleteDirectConnectGatewayCommand.js +28 -21
- package/dist-es/commands/DeleteInterconnectCommand.js +28 -21
- package/dist-es/commands/DeleteLagCommand.js +28 -21
- package/dist-es/commands/DeleteVirtualInterfaceCommand.js +28 -21
- package/dist-es/commands/DescribeConnectionLoaCommand.js +28 -21
- package/dist-es/commands/DescribeConnectionsCommand.js +28 -21
- package/dist-es/commands/DescribeConnectionsOnInterconnectCommand.js +28 -21
- package/dist-es/commands/DescribeCustomerMetadataCommand.js +29 -22
- package/dist-es/commands/DescribeDirectConnectGatewayAssociationProposalsCommand.js +28 -21
- package/dist-es/commands/DescribeDirectConnectGatewayAssociationsCommand.js +28 -21
- package/dist-es/commands/DescribeDirectConnectGatewayAttachmentsCommand.js +28 -21
- package/dist-es/commands/DescribeDirectConnectGatewaysCommand.js +28 -21
- package/dist-es/commands/DescribeHostedConnectionsCommand.js +28 -21
- package/dist-es/commands/DescribeInterconnectLoaCommand.js +28 -21
- package/dist-es/commands/DescribeInterconnectsCommand.js +28 -21
- package/dist-es/commands/DescribeLagsCommand.js +28 -21
- package/dist-es/commands/DescribeLoaCommand.js +28 -21
- package/dist-es/commands/DescribeLocationsCommand.js +29 -22
- package/dist-es/commands/DescribeRouterConfigurationCommand.js +28 -21
- package/dist-es/commands/DescribeTagsCommand.js +28 -21
- package/dist-es/commands/DescribeVirtualGatewaysCommand.js +29 -22
- package/dist-es/commands/DescribeVirtualInterfacesCommand.js +28 -21
- package/dist-es/commands/DisassociateConnectionFromLagCommand.js +28 -21
- package/dist-es/commands/DisassociateMacSecKeyCommand.js +28 -21
- package/dist-es/commands/ListVirtualInterfaceTestHistoryCommand.js +28 -21
- package/dist-es/commands/StartBgpFailoverTestCommand.js +28 -21
- package/dist-es/commands/StopBgpFailoverTestCommand.js +28 -21
- package/dist-es/commands/TagResourceCommand.js +28 -21
- package/dist-es/commands/UntagResourceCommand.js +28 -21
- package/dist-es/commands/UpdateConnectionCommand.js +28 -21
- package/dist-es/commands/UpdateDirectConnectGatewayAssociationCommand.js +28 -21
- package/dist-es/commands/UpdateDirectConnectGatewayCommand.js +28 -21
- package/dist-es/commands/UpdateLagCommand.js +28 -21
- package/dist-es/commands/UpdateVirtualInterfaceAttributesCommand.js +28 -21
- package/dist-es/endpoints.js +8 -8
- package/dist-es/models/DirectConnectServiceException.js +10 -5
- package/dist-es/models/models_0.js +174 -431
- package/dist-es/protocols/Aws_json1_1.js +4684 -3615
- package/dist-es/runtimeConfig.browser.js +12 -26
- package/dist-es/runtimeConfig.js +12 -30
- package/dist-es/runtimeConfig.native.js +5 -8
- package/dist-es/runtimeConfig.shared.js +11 -8
- package/package.json +5 -5
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { resolveEndpointsConfig, resolveRegionConfig, } from "@aws-sdk/config-resolver";
|
|
2
3
|
import { getContentLengthPlugin } from "@aws-sdk/middleware-content-length";
|
|
3
4
|
import { getHostHeaderPlugin, resolveHostHeaderConfig, } from "@aws-sdk/middleware-host-header";
|
|
@@ -8,26 +9,31 @@ import { getAwsAuthPlugin, resolveAwsAuthConfig, } from "@aws-sdk/middleware-sig
|
|
|
8
9
|
import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
|
|
9
10
|
import { Client as __Client, } from "@aws-sdk/smithy-client";
|
|
10
11
|
import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
12
|
+
var DirectConnectClient = (function (_super) {
|
|
13
|
+
__extends(DirectConnectClient, _super);
|
|
14
|
+
function DirectConnectClient(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;
|
|
29
33
|
}
|
|
30
|
-
destroy() {
|
|
31
|
-
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
+
DirectConnectClient.prototype.destroy = function () {
|
|
35
|
+
_super.prototype.destroy.call(this);
|
|
36
|
+
};
|
|
37
|
+
return DirectConnectClient;
|
|
38
|
+
}(__Client));
|
|
39
|
+
export { DirectConnectClient };
|
|
@@ -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 { AcceptDirectConnectGatewayAssociationProposalRequestFilterSensitiveLog, AcceptDirectConnectGatewayAssociationProposalResultFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_1AcceptDirectConnectGatewayAssociationProposalCommand, serializeAws_json1_1AcceptDirectConnectGatewayAssociationProposalCommand, } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var AcceptDirectConnectGatewayAssociationProposalCommand = (function (_super) {
|
|
7
|
+
__extends(AcceptDirectConnectGatewayAssociationProposalCommand, _super);
|
|
8
|
+
function AcceptDirectConnectGatewayAssociationProposalCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
AcceptDirectConnectGatewayAssociationProposalCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
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 = "AcceptDirectConnectGatewayAssociationProposalCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: AcceptDirectConnectGatewayAssociationProposalRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: AcceptDirectConnectGatewayAssociationProposalResultFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
AcceptDirectConnectGatewayAssociationProposalCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1AcceptDirectConnectGatewayAssociationProposalCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
AcceptDirectConnectGatewayAssociationProposalCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1AcceptDirectConnectGatewayAssociationProposalCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return AcceptDirectConnectGatewayAssociationProposalCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { AcceptDirectConnectGatewayAssociationProposalCommand };
|
|
@@ -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 { AllocateConnectionOnInterconnectRequestFilterSensitiveLog, ConnectionFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_1AllocateConnectionOnInterconnectCommand, serializeAws_json1_1AllocateConnectionOnInterconnectCommand, } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var AllocateConnectionOnInterconnectCommand = (function (_super) {
|
|
7
|
+
__extends(AllocateConnectionOnInterconnectCommand, _super);
|
|
8
|
+
function AllocateConnectionOnInterconnectCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
AllocateConnectionOnInterconnectCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
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 = "AllocateConnectionOnInterconnectCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: AllocateConnectionOnInterconnectRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: ConnectionFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
AllocateConnectionOnInterconnectCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1AllocateConnectionOnInterconnectCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
AllocateConnectionOnInterconnectCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1AllocateConnectionOnInterconnectCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return AllocateConnectionOnInterconnectCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { AllocateConnectionOnInterconnectCommand };
|
|
@@ -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 { AllocateHostedConnectionRequestFilterSensitiveLog, ConnectionFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_1AllocateHostedConnectionCommand, serializeAws_json1_1AllocateHostedConnectionCommand, } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var AllocateHostedConnectionCommand = (function (_super) {
|
|
7
|
+
__extends(AllocateHostedConnectionCommand, _super);
|
|
8
|
+
function AllocateHostedConnectionCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
AllocateHostedConnectionCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
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 = "AllocateHostedConnectionCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: AllocateHostedConnectionRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: ConnectionFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
AllocateHostedConnectionCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1AllocateHostedConnectionCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
AllocateHostedConnectionCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1AllocateHostedConnectionCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return AllocateHostedConnectionCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { AllocateHostedConnectionCommand };
|
|
@@ -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 { AllocatePrivateVirtualInterfaceRequestFilterSensitiveLog, VirtualInterfaceFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_1AllocatePrivateVirtualInterfaceCommand, serializeAws_json1_1AllocatePrivateVirtualInterfaceCommand, } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var AllocatePrivateVirtualInterfaceCommand = (function (_super) {
|
|
7
|
+
__extends(AllocatePrivateVirtualInterfaceCommand, _super);
|
|
8
|
+
function AllocatePrivateVirtualInterfaceCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
AllocatePrivateVirtualInterfaceCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
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 = "AllocatePrivateVirtualInterfaceCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: AllocatePrivateVirtualInterfaceRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: VirtualInterfaceFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
AllocatePrivateVirtualInterfaceCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1AllocatePrivateVirtualInterfaceCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
AllocatePrivateVirtualInterfaceCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1AllocatePrivateVirtualInterfaceCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return AllocatePrivateVirtualInterfaceCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { AllocatePrivateVirtualInterfaceCommand };
|
|
@@ -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 { AllocatePublicVirtualInterfaceRequestFilterSensitiveLog, VirtualInterfaceFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_1AllocatePublicVirtualInterfaceCommand, serializeAws_json1_1AllocatePublicVirtualInterfaceCommand, } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var AllocatePublicVirtualInterfaceCommand = (function (_super) {
|
|
7
|
+
__extends(AllocatePublicVirtualInterfaceCommand, _super);
|
|
8
|
+
function AllocatePublicVirtualInterfaceCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
AllocatePublicVirtualInterfaceCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
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 = "AllocatePublicVirtualInterfaceCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: AllocatePublicVirtualInterfaceRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: VirtualInterfaceFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
AllocatePublicVirtualInterfaceCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1AllocatePublicVirtualInterfaceCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
AllocatePublicVirtualInterfaceCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1AllocatePublicVirtualInterfaceCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return AllocatePublicVirtualInterfaceCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { AllocatePublicVirtualInterfaceCommand };
|
|
@@ -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 { AllocateTransitVirtualInterfaceRequestFilterSensitiveLog, AllocateTransitVirtualInterfaceResultFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_1AllocateTransitVirtualInterfaceCommand, serializeAws_json1_1AllocateTransitVirtualInterfaceCommand, } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var AllocateTransitVirtualInterfaceCommand = (function (_super) {
|
|
7
|
+
__extends(AllocateTransitVirtualInterfaceCommand, _super);
|
|
8
|
+
function AllocateTransitVirtualInterfaceCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
AllocateTransitVirtualInterfaceCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
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 = "AllocateTransitVirtualInterfaceCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: AllocateTransitVirtualInterfaceRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: AllocateTransitVirtualInterfaceResultFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
AllocateTransitVirtualInterfaceCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1AllocateTransitVirtualInterfaceCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
AllocateTransitVirtualInterfaceCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1AllocateTransitVirtualInterfaceCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return AllocateTransitVirtualInterfaceCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { AllocateTransitVirtualInterfaceCommand };
|
|
@@ -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 { AssociateConnectionWithLagRequestFilterSensitiveLog, ConnectionFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_1AssociateConnectionWithLagCommand, serializeAws_json1_1AssociateConnectionWithLagCommand, } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var AssociateConnectionWithLagCommand = (function (_super) {
|
|
7
|
+
__extends(AssociateConnectionWithLagCommand, _super);
|
|
8
|
+
function AssociateConnectionWithLagCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
AssociateConnectionWithLagCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
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 = "AssociateConnectionWithLagCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: AssociateConnectionWithLagRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: ConnectionFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
AssociateConnectionWithLagCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1AssociateConnectionWithLagCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
AssociateConnectionWithLagCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1AssociateConnectionWithLagCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return AssociateConnectionWithLagCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { AssociateConnectionWithLagCommand };
|
|
@@ -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 { AssociateHostedConnectionRequestFilterSensitiveLog, ConnectionFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_1AssociateHostedConnectionCommand, serializeAws_json1_1AssociateHostedConnectionCommand, } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var AssociateHostedConnectionCommand = (function (_super) {
|
|
7
|
+
__extends(AssociateHostedConnectionCommand, _super);
|
|
8
|
+
function AssociateHostedConnectionCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
AssociateHostedConnectionCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
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 = "AssociateHostedConnectionCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: AssociateHostedConnectionRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: ConnectionFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
AssociateHostedConnectionCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1AssociateHostedConnectionCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
AssociateHostedConnectionCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1AssociateHostedConnectionCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return AssociateHostedConnectionCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { AssociateHostedConnectionCommand };
|
|
@@ -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 { AssociateMacSecKeyRequestFilterSensitiveLog, AssociateMacSecKeyResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_1AssociateMacSecKeyCommand, serializeAws_json1_1AssociateMacSecKeyCommand, } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var AssociateMacSecKeyCommand = (function (_super) {
|
|
7
|
+
__extends(AssociateMacSecKeyCommand, _super);
|
|
8
|
+
function AssociateMacSecKeyCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
AssociateMacSecKeyCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
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 = "AssociateMacSecKeyCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: AssociateMacSecKeyRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: AssociateMacSecKeyResponseFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
AssociateMacSecKeyCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1AssociateMacSecKeyCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
AssociateMacSecKeyCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1AssociateMacSecKeyCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return AssociateMacSecKeyCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { AssociateMacSecKeyCommand };
|