@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,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 { VirtualGatewaysFilterSensitiveLog } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_1DescribeVirtualGatewaysCommand, serializeAws_json1_1DescribeVirtualGatewaysCommand, } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var DescribeVirtualGatewaysCommand = (function (_super) {
|
|
7
|
+
__extends(DescribeVirtualGatewaysCommand, _super);
|
|
8
|
+
function DescribeVirtualGatewaysCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
DescribeVirtualGatewaysCommand.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,
|
|
20
|
-
inputFilterSensitiveLog: (input)
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "DirectConnectClient";
|
|
18
|
+
var commandName = "DescribeVirtualGatewaysCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
23
|
+
inputFilterSensitiveLog: function (input) { return input; },
|
|
21
24
|
outputFilterSensitiveLog: VirtualGatewaysFilterSensitiveLog,
|
|
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
|
+
DescribeVirtualGatewaysCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1DescribeVirtualGatewaysCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
DescribeVirtualGatewaysCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1DescribeVirtualGatewaysCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return DescribeVirtualGatewaysCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { DescribeVirtualGatewaysCommand };
|
|
@@ -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 { DescribeVirtualInterfacesRequestFilterSensitiveLog, VirtualInterfacesFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_1DescribeVirtualInterfacesCommand, serializeAws_json1_1DescribeVirtualInterfacesCommand, } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var DescribeVirtualInterfacesCommand = (function (_super) {
|
|
7
|
+
__extends(DescribeVirtualInterfacesCommand, _super);
|
|
8
|
+
function DescribeVirtualInterfacesCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
DescribeVirtualInterfacesCommand.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 = "DescribeVirtualInterfacesCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: DescribeVirtualInterfacesRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: VirtualInterfacesFilterSensitiveLog,
|
|
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
|
+
DescribeVirtualInterfacesCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1DescribeVirtualInterfacesCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
DescribeVirtualInterfacesCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1DescribeVirtualInterfacesCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return DescribeVirtualInterfacesCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { DescribeVirtualInterfacesCommand };
|
|
@@ -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, DisassociateConnectionFromLagRequestFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_1DisassociateConnectionFromLagCommand, serializeAws_json1_1DisassociateConnectionFromLagCommand, } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var DisassociateConnectionFromLagCommand = (function (_super) {
|
|
7
|
+
__extends(DisassociateConnectionFromLagCommand, _super);
|
|
8
|
+
function DisassociateConnectionFromLagCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
DisassociateConnectionFromLagCommand.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 = "DisassociateConnectionFromLagCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: DisassociateConnectionFromLagRequestFilterSensitiveLog,
|
|
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
|
+
DisassociateConnectionFromLagCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1DisassociateConnectionFromLagCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
DisassociateConnectionFromLagCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1DisassociateConnectionFromLagCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return DisassociateConnectionFromLagCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { DisassociateConnectionFromLagCommand };
|
|
@@ -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 { DisassociateMacSecKeyRequestFilterSensitiveLog, DisassociateMacSecKeyResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_1DisassociateMacSecKeyCommand, serializeAws_json1_1DisassociateMacSecKeyCommand, } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var DisassociateMacSecKeyCommand = (function (_super) {
|
|
7
|
+
__extends(DisassociateMacSecKeyCommand, _super);
|
|
8
|
+
function DisassociateMacSecKeyCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
DisassociateMacSecKeyCommand.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 = "DisassociateMacSecKeyCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: DisassociateMacSecKeyRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: DisassociateMacSecKeyResponseFilterSensitiveLog,
|
|
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
|
+
DisassociateMacSecKeyCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1DisassociateMacSecKeyCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
DisassociateMacSecKeyCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1DisassociateMacSecKeyCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return DisassociateMacSecKeyCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { DisassociateMacSecKeyCommand };
|
|
@@ -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 { ListVirtualInterfaceTestHistoryRequestFilterSensitiveLog, ListVirtualInterfaceTestHistoryResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_1ListVirtualInterfaceTestHistoryCommand, serializeAws_json1_1ListVirtualInterfaceTestHistoryCommand, } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var ListVirtualInterfaceTestHistoryCommand = (function (_super) {
|
|
7
|
+
__extends(ListVirtualInterfaceTestHistoryCommand, _super);
|
|
8
|
+
function ListVirtualInterfaceTestHistoryCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
ListVirtualInterfaceTestHistoryCommand.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 = "ListVirtualInterfaceTestHistoryCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: ListVirtualInterfaceTestHistoryRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: ListVirtualInterfaceTestHistoryResponseFilterSensitiveLog,
|
|
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
|
+
ListVirtualInterfaceTestHistoryCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1ListVirtualInterfaceTestHistoryCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
ListVirtualInterfaceTestHistoryCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1ListVirtualInterfaceTestHistoryCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return ListVirtualInterfaceTestHistoryCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { ListVirtualInterfaceTestHistoryCommand };
|
|
@@ -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 { StartBgpFailoverTestRequestFilterSensitiveLog, StartBgpFailoverTestResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_1StartBgpFailoverTestCommand, serializeAws_json1_1StartBgpFailoverTestCommand, } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var StartBgpFailoverTestCommand = (function (_super) {
|
|
7
|
+
__extends(StartBgpFailoverTestCommand, _super);
|
|
8
|
+
function StartBgpFailoverTestCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
StartBgpFailoverTestCommand.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 = "StartBgpFailoverTestCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: StartBgpFailoverTestRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: StartBgpFailoverTestResponseFilterSensitiveLog,
|
|
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
|
+
StartBgpFailoverTestCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1StartBgpFailoverTestCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
StartBgpFailoverTestCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1StartBgpFailoverTestCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return StartBgpFailoverTestCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { StartBgpFailoverTestCommand };
|
|
@@ -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 { StopBgpFailoverTestRequestFilterSensitiveLog, StopBgpFailoverTestResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_1StopBgpFailoverTestCommand, serializeAws_json1_1StopBgpFailoverTestCommand, } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var StopBgpFailoverTestCommand = (function (_super) {
|
|
7
|
+
__extends(StopBgpFailoverTestCommand, _super);
|
|
8
|
+
function StopBgpFailoverTestCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
StopBgpFailoverTestCommand.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 = "StopBgpFailoverTestCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: StopBgpFailoverTestRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: StopBgpFailoverTestResponseFilterSensitiveLog,
|
|
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
|
+
StopBgpFailoverTestCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1StopBgpFailoverTestCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
StopBgpFailoverTestCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1StopBgpFailoverTestCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return StopBgpFailoverTestCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { StopBgpFailoverTestCommand };
|
|
@@ -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 { TagResourceRequestFilterSensitiveLog, TagResourceResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_1TagResourceCommand, serializeAws_json1_1TagResourceCommand, } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var TagResourceCommand = (function (_super) {
|
|
7
|
+
__extends(TagResourceCommand, _super);
|
|
8
|
+
function TagResourceCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
TagResourceCommand.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 = "TagResourceCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: TagResourceRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: TagResourceResponseFilterSensitiveLog,
|
|
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
|
+
TagResourceCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1TagResourceCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
TagResourceCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1TagResourceCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return TagResourceCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { TagResourceCommand };
|
|
@@ -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 { UntagResourceRequestFilterSensitiveLog, UntagResourceResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_1UntagResourceCommand, serializeAws_json1_1UntagResourceCommand, } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var UntagResourceCommand = (function (_super) {
|
|
7
|
+
__extends(UntagResourceCommand, _super);
|
|
8
|
+
function UntagResourceCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
UntagResourceCommand.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 = "UntagResourceCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: UntagResourceRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: UntagResourceResponseFilterSensitiveLog,
|
|
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
|
+
UntagResourceCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1UntagResourceCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
UntagResourceCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1UntagResourceCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return UntagResourceCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { UntagResourceCommand };
|
|
@@ -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, UpdateConnectionRequestFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_1UpdateConnectionCommand, serializeAws_json1_1UpdateConnectionCommand, } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var UpdateConnectionCommand = (function (_super) {
|
|
7
|
+
__extends(UpdateConnectionCommand, _super);
|
|
8
|
+
function UpdateConnectionCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
UpdateConnectionCommand.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 = "UpdateConnectionCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: UpdateConnectionRequestFilterSensitiveLog,
|
|
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
|
+
UpdateConnectionCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1UpdateConnectionCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
UpdateConnectionCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1UpdateConnectionCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return UpdateConnectionCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { UpdateConnectionCommand };
|