@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 { UpdateDirectConnectGatewayAssociationRequestFilterSensitiveLog, UpdateDirectConnectGatewayAssociationResultFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_1UpdateDirectConnectGatewayAssociationCommand, serializeAws_json1_1UpdateDirectConnectGatewayAssociationCommand, } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var UpdateDirectConnectGatewayAssociationCommand = (function (_super) {
|
|
7
|
+
__extends(UpdateDirectConnectGatewayAssociationCommand, _super);
|
|
8
|
+
function UpdateDirectConnectGatewayAssociationCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
UpdateDirectConnectGatewayAssociationCommand.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 = "UpdateDirectConnectGatewayAssociationCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: UpdateDirectConnectGatewayAssociationRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: UpdateDirectConnectGatewayAssociationResultFilterSensitiveLog,
|
|
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
|
+
UpdateDirectConnectGatewayAssociationCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1UpdateDirectConnectGatewayAssociationCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
UpdateDirectConnectGatewayAssociationCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1UpdateDirectConnectGatewayAssociationCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return UpdateDirectConnectGatewayAssociationCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { UpdateDirectConnectGatewayAssociationCommand };
|
|
@@ -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 { UpdateDirectConnectGatewayRequestFilterSensitiveLog, UpdateDirectConnectGatewayResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_1UpdateDirectConnectGatewayCommand, serializeAws_json1_1UpdateDirectConnectGatewayCommand, } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var UpdateDirectConnectGatewayCommand = (function (_super) {
|
|
7
|
+
__extends(UpdateDirectConnectGatewayCommand, _super);
|
|
8
|
+
function UpdateDirectConnectGatewayCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
UpdateDirectConnectGatewayCommand.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 = "UpdateDirectConnectGatewayCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: UpdateDirectConnectGatewayRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: UpdateDirectConnectGatewayResponseFilterSensitiveLog,
|
|
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
|
+
UpdateDirectConnectGatewayCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1UpdateDirectConnectGatewayCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
UpdateDirectConnectGatewayCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1UpdateDirectConnectGatewayCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return UpdateDirectConnectGatewayCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { UpdateDirectConnectGatewayCommand };
|
|
@@ -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 { LagFilterSensitiveLog, UpdateLagRequestFilterSensitiveLog } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_1UpdateLagCommand, serializeAws_json1_1UpdateLagCommand } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var UpdateLagCommand = (function (_super) {
|
|
7
|
+
__extends(UpdateLagCommand, _super);
|
|
8
|
+
function UpdateLagCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
UpdateLagCommand.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 = "UpdateLagCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: UpdateLagRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: LagFilterSensitiveLog,
|
|
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
|
+
UpdateLagCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1UpdateLagCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
UpdateLagCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1UpdateLagCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return UpdateLagCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { UpdateLagCommand };
|
|
@@ -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 { UpdateVirtualInterfaceAttributesRequestFilterSensitiveLog, VirtualInterfaceFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_1UpdateVirtualInterfaceAttributesCommand, serializeAws_json1_1UpdateVirtualInterfaceAttributesCommand, } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var UpdateVirtualInterfaceAttributesCommand = (function (_super) {
|
|
7
|
+
__extends(UpdateVirtualInterfaceAttributesCommand, _super);
|
|
8
|
+
function UpdateVirtualInterfaceAttributesCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
UpdateVirtualInterfaceAttributesCommand.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 = "UpdateVirtualInterfaceAttributesCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: UpdateVirtualInterfaceAttributesRequestFilterSensitiveLog,
|
|
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
|
+
UpdateVirtualInterfaceAttributesCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1UpdateVirtualInterfaceAttributesCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
UpdateVirtualInterfaceAttributesCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1UpdateVirtualInterfaceAttributesCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return UpdateVirtualInterfaceAttributesCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { UpdateVirtualInterfaceAttributesCommand };
|
package/dist-es/endpoints.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
import { __assign, __awaiter, __generator } from "tslib";
|
|
1
2
|
import { getRegionInfo } from "@aws-sdk/config-resolver";
|
|
2
|
-
|
|
3
|
+
var regionHash = {
|
|
3
4
|
"us-east-1": {
|
|
4
5
|
variants: [
|
|
5
6
|
{
|
|
@@ -51,7 +52,7 @@ const regionHash = {
|
|
|
51
52
|
],
|
|
52
53
|
},
|
|
53
54
|
};
|
|
54
|
-
|
|
55
|
+
var partitionHash = {
|
|
55
56
|
aws: {
|
|
56
57
|
regions: [
|
|
57
58
|
"af-south-1",
|
|
@@ -175,9 +176,8 @@ const partitionHash = {
|
|
|
175
176
|
],
|
|
176
177
|
},
|
|
177
178
|
};
|
|
178
|
-
export
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
});
|
|
179
|
+
export var defaultRegionInfoProvider = function (region, options) { return __awaiter(void 0, void 0, void 0, function () {
|
|
180
|
+
return __generator(this, function (_a) {
|
|
181
|
+
return [2, getRegionInfo(region, __assign(__assign({}, options), { signingService: "directconnect", regionHash: regionHash, partitionHash: partitionHash }))];
|
|
182
|
+
});
|
|
183
|
+
}); };
|
|
@@ -1,7 +1,12 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { ServiceException as __ServiceException, } from "@aws-sdk/smithy-client";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
3
|
+
var DirectConnectServiceException = (function (_super) {
|
|
4
|
+
__extends(DirectConnectServiceException, _super);
|
|
5
|
+
function DirectConnectServiceException(options) {
|
|
6
|
+
var _this = _super.call(this, options) || this;
|
|
7
|
+
Object.setPrototypeOf(_this, DirectConnectServiceException.prototype);
|
|
8
|
+
return _this;
|
|
6
9
|
}
|
|
7
|
-
|
|
10
|
+
return DirectConnectServiceException;
|
|
11
|
+
}(__ServiceException));
|
|
12
|
+
export { DirectConnectServiceException };
|