@aws-sdk/client-direct-connect 3.181.0 → 3.183.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 +8 -0
- package/dist-es/DirectConnect.js +254 -261
- package/dist-es/DirectConnectClient.js +22 -28
- package/dist-es/commands/AcceptDirectConnectGatewayAssociationProposalCommand.js +21 -28
- package/dist-es/commands/AllocateConnectionOnInterconnectCommand.js +21 -28
- package/dist-es/commands/AllocateHostedConnectionCommand.js +21 -28
- package/dist-es/commands/AllocatePrivateVirtualInterfaceCommand.js +21 -28
- package/dist-es/commands/AllocatePublicVirtualInterfaceCommand.js +21 -28
- package/dist-es/commands/AllocateTransitVirtualInterfaceCommand.js +21 -28
- package/dist-es/commands/AssociateConnectionWithLagCommand.js +21 -28
- package/dist-es/commands/AssociateHostedConnectionCommand.js +21 -28
- package/dist-es/commands/AssociateMacSecKeyCommand.js +21 -28
- package/dist-es/commands/AssociateVirtualInterfaceCommand.js +21 -28
- package/dist-es/commands/ConfirmConnectionCommand.js +21 -28
- package/dist-es/commands/ConfirmCustomerAgreementCommand.js +21 -28
- package/dist-es/commands/ConfirmPrivateVirtualInterfaceCommand.js +21 -28
- package/dist-es/commands/ConfirmPublicVirtualInterfaceCommand.js +21 -28
- package/dist-es/commands/ConfirmTransitVirtualInterfaceCommand.js +21 -28
- package/dist-es/commands/CreateBGPPeerCommand.js +21 -28
- package/dist-es/commands/CreateConnectionCommand.js +21 -28
- package/dist-es/commands/CreateDirectConnectGatewayAssociationCommand.js +21 -28
- package/dist-es/commands/CreateDirectConnectGatewayAssociationProposalCommand.js +21 -28
- package/dist-es/commands/CreateDirectConnectGatewayCommand.js +21 -28
- package/dist-es/commands/CreateInterconnectCommand.js +21 -28
- package/dist-es/commands/CreateLagCommand.js +21 -28
- package/dist-es/commands/CreatePrivateVirtualInterfaceCommand.js +21 -28
- package/dist-es/commands/CreatePublicVirtualInterfaceCommand.js +21 -28
- package/dist-es/commands/CreateTransitVirtualInterfaceCommand.js +21 -28
- package/dist-es/commands/DeleteBGPPeerCommand.js +21 -28
- package/dist-es/commands/DeleteConnectionCommand.js +21 -28
- package/dist-es/commands/DeleteDirectConnectGatewayAssociationCommand.js +21 -28
- package/dist-es/commands/DeleteDirectConnectGatewayAssociationProposalCommand.js +21 -28
- package/dist-es/commands/DeleteDirectConnectGatewayCommand.js +21 -28
- package/dist-es/commands/DeleteInterconnectCommand.js +21 -28
- package/dist-es/commands/DeleteLagCommand.js +21 -28
- package/dist-es/commands/DeleteVirtualInterfaceCommand.js +21 -28
- package/dist-es/commands/DescribeConnectionLoaCommand.js +21 -28
- package/dist-es/commands/DescribeConnectionsCommand.js +21 -28
- package/dist-es/commands/DescribeConnectionsOnInterconnectCommand.js +21 -28
- package/dist-es/commands/DescribeCustomerMetadataCommand.js +22 -29
- package/dist-es/commands/DescribeDirectConnectGatewayAssociationProposalsCommand.js +21 -28
- package/dist-es/commands/DescribeDirectConnectGatewayAssociationsCommand.js +21 -28
- package/dist-es/commands/DescribeDirectConnectGatewayAttachmentsCommand.js +21 -28
- package/dist-es/commands/DescribeDirectConnectGatewaysCommand.js +21 -28
- package/dist-es/commands/DescribeHostedConnectionsCommand.js +21 -28
- package/dist-es/commands/DescribeInterconnectLoaCommand.js +21 -28
- package/dist-es/commands/DescribeInterconnectsCommand.js +21 -28
- package/dist-es/commands/DescribeLagsCommand.js +21 -28
- package/dist-es/commands/DescribeLoaCommand.js +21 -28
- package/dist-es/commands/DescribeLocationsCommand.js +22 -29
- package/dist-es/commands/DescribeRouterConfigurationCommand.js +21 -28
- package/dist-es/commands/DescribeTagsCommand.js +21 -28
- package/dist-es/commands/DescribeVirtualGatewaysCommand.js +22 -29
- package/dist-es/commands/DescribeVirtualInterfacesCommand.js +21 -28
- package/dist-es/commands/DisassociateConnectionFromLagCommand.js +21 -28
- package/dist-es/commands/DisassociateMacSecKeyCommand.js +21 -28
- package/dist-es/commands/ListVirtualInterfaceTestHistoryCommand.js +21 -28
- package/dist-es/commands/StartBgpFailoverTestCommand.js +21 -28
- package/dist-es/commands/StopBgpFailoverTestCommand.js +21 -28
- package/dist-es/commands/TagResourceCommand.js +21 -28
- package/dist-es/commands/UntagResourceCommand.js +21 -28
- package/dist-es/commands/UpdateConnectionCommand.js +21 -28
- package/dist-es/commands/UpdateDirectConnectGatewayAssociationCommand.js +21 -28
- package/dist-es/commands/UpdateDirectConnectGatewayCommand.js +21 -28
- package/dist-es/commands/UpdateLagCommand.js +21 -28
- package/dist-es/commands/UpdateVirtualInterfaceAttributesCommand.js +21 -28
- package/dist-es/endpoints.js +8 -8
- package/dist-es/models/DirectConnectServiceException.js +5 -10
- package/dist-es/models/models_0.js +431 -174
- package/dist-es/protocols/Aws_json1_1.js +3615 -4684
- package/dist-es/runtimeConfig.browser.js +26 -12
- package/dist-es/runtimeConfig.js +30 -12
- package/dist-es/runtimeConfig.native.js +8 -5
- package/dist-es/runtimeConfig.shared.js +8 -11
- package/package.json +33 -33
|
@@ -1,39 +1,32 @@
|
|
|
1
|
-
import { __extends } from "tslib";
|
|
2
1
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
3
|
import { UpdateDirectConnectGatewayAssociationRequestFilterSensitiveLog, UpdateDirectConnectGatewayAssociationResultFilterSensitiveLog, } from "../models/models_0";
|
|
5
4
|
import { deserializeAws_json1_1UpdateDirectConnectGatewayAssociationCommand, serializeAws_json1_1UpdateDirectConnectGatewayAssociationCommand, } from "../protocols/Aws_json1_1";
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
_this.input = input;
|
|
11
|
-
return _this;
|
|
5
|
+
export class UpdateDirectConnectGatewayAssociationCommand extends $Command {
|
|
6
|
+
constructor(input) {
|
|
7
|
+
super();
|
|
8
|
+
this.input = input;
|
|
12
9
|
}
|
|
13
|
-
|
|
10
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
11
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
logger
|
|
21
|
-
clientName
|
|
22
|
-
commandName
|
|
12
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
13
|
+
const { logger } = configuration;
|
|
14
|
+
const clientName = "DirectConnectClient";
|
|
15
|
+
const commandName = "UpdateDirectConnectGatewayAssociationCommand";
|
|
16
|
+
const handlerExecutionContext = {
|
|
17
|
+
logger,
|
|
18
|
+
clientName,
|
|
19
|
+
commandName,
|
|
23
20
|
inputFilterSensitiveLog: UpdateDirectConnectGatewayAssociationRequestFilterSensitiveLog,
|
|
24
21
|
outputFilterSensitiveLog: UpdateDirectConnectGatewayAssociationResultFilterSensitiveLog,
|
|
25
22
|
};
|
|
26
|
-
|
|
27
|
-
return stack.resolve(
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
};
|
|
31
|
-
UpdateDirectConnectGatewayAssociationCommand.prototype.serialize = function (input, context) {
|
|
23
|
+
const { requestHandler } = configuration;
|
|
24
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
25
|
+
}
|
|
26
|
+
serialize(input, context) {
|
|
32
27
|
return serializeAws_json1_1UpdateDirectConnectGatewayAssociationCommand(input, context);
|
|
33
|
-
}
|
|
34
|
-
|
|
28
|
+
}
|
|
29
|
+
deserialize(output, context) {
|
|
35
30
|
return deserializeAws_json1_1UpdateDirectConnectGatewayAssociationCommand(output, context);
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
}($Command));
|
|
39
|
-
export { UpdateDirectConnectGatewayAssociationCommand };
|
|
31
|
+
}
|
|
32
|
+
}
|
|
@@ -1,39 +1,32 @@
|
|
|
1
|
-
import { __extends } from "tslib";
|
|
2
1
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
3
|
import { UpdateDirectConnectGatewayRequestFilterSensitiveLog, UpdateDirectConnectGatewayResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
4
|
import { deserializeAws_json1_1UpdateDirectConnectGatewayCommand, serializeAws_json1_1UpdateDirectConnectGatewayCommand, } from "../protocols/Aws_json1_1";
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
_this.input = input;
|
|
11
|
-
return _this;
|
|
5
|
+
export class UpdateDirectConnectGatewayCommand extends $Command {
|
|
6
|
+
constructor(input) {
|
|
7
|
+
super();
|
|
8
|
+
this.input = input;
|
|
12
9
|
}
|
|
13
|
-
|
|
10
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
11
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
logger
|
|
21
|
-
clientName
|
|
22
|
-
commandName
|
|
12
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
13
|
+
const { logger } = configuration;
|
|
14
|
+
const clientName = "DirectConnectClient";
|
|
15
|
+
const commandName = "UpdateDirectConnectGatewayCommand";
|
|
16
|
+
const handlerExecutionContext = {
|
|
17
|
+
logger,
|
|
18
|
+
clientName,
|
|
19
|
+
commandName,
|
|
23
20
|
inputFilterSensitiveLog: UpdateDirectConnectGatewayRequestFilterSensitiveLog,
|
|
24
21
|
outputFilterSensitiveLog: UpdateDirectConnectGatewayResponseFilterSensitiveLog,
|
|
25
22
|
};
|
|
26
|
-
|
|
27
|
-
return stack.resolve(
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
};
|
|
31
|
-
UpdateDirectConnectGatewayCommand.prototype.serialize = function (input, context) {
|
|
23
|
+
const { requestHandler } = configuration;
|
|
24
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
25
|
+
}
|
|
26
|
+
serialize(input, context) {
|
|
32
27
|
return serializeAws_json1_1UpdateDirectConnectGatewayCommand(input, context);
|
|
33
|
-
}
|
|
34
|
-
|
|
28
|
+
}
|
|
29
|
+
deserialize(output, context) {
|
|
35
30
|
return deserializeAws_json1_1UpdateDirectConnectGatewayCommand(output, context);
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
}($Command));
|
|
39
|
-
export { UpdateDirectConnectGatewayCommand };
|
|
31
|
+
}
|
|
32
|
+
}
|
|
@@ -1,39 +1,32 @@
|
|
|
1
|
-
import { __extends } from "tslib";
|
|
2
1
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
3
|
import { LagFilterSensitiveLog, UpdateLagRequestFilterSensitiveLog } from "../models/models_0";
|
|
5
4
|
import { deserializeAws_json1_1UpdateLagCommand, serializeAws_json1_1UpdateLagCommand } from "../protocols/Aws_json1_1";
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
_this.input = input;
|
|
11
|
-
return _this;
|
|
5
|
+
export class UpdateLagCommand extends $Command {
|
|
6
|
+
constructor(input) {
|
|
7
|
+
super();
|
|
8
|
+
this.input = input;
|
|
12
9
|
}
|
|
13
|
-
|
|
10
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
11
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
logger
|
|
21
|
-
clientName
|
|
22
|
-
commandName
|
|
12
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
13
|
+
const { logger } = configuration;
|
|
14
|
+
const clientName = "DirectConnectClient";
|
|
15
|
+
const commandName = "UpdateLagCommand";
|
|
16
|
+
const handlerExecutionContext = {
|
|
17
|
+
logger,
|
|
18
|
+
clientName,
|
|
19
|
+
commandName,
|
|
23
20
|
inputFilterSensitiveLog: UpdateLagRequestFilterSensitiveLog,
|
|
24
21
|
outputFilterSensitiveLog: LagFilterSensitiveLog,
|
|
25
22
|
};
|
|
26
|
-
|
|
27
|
-
return stack.resolve(
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
};
|
|
31
|
-
UpdateLagCommand.prototype.serialize = function (input, context) {
|
|
23
|
+
const { requestHandler } = configuration;
|
|
24
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
25
|
+
}
|
|
26
|
+
serialize(input, context) {
|
|
32
27
|
return serializeAws_json1_1UpdateLagCommand(input, context);
|
|
33
|
-
}
|
|
34
|
-
|
|
28
|
+
}
|
|
29
|
+
deserialize(output, context) {
|
|
35
30
|
return deserializeAws_json1_1UpdateLagCommand(output, context);
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
}($Command));
|
|
39
|
-
export { UpdateLagCommand };
|
|
31
|
+
}
|
|
32
|
+
}
|
|
@@ -1,39 +1,32 @@
|
|
|
1
|
-
import { __extends } from "tslib";
|
|
2
1
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
3
|
import { UpdateVirtualInterfaceAttributesRequestFilterSensitiveLog, VirtualInterfaceFilterSensitiveLog, } from "../models/models_0";
|
|
5
4
|
import { deserializeAws_json1_1UpdateVirtualInterfaceAttributesCommand, serializeAws_json1_1UpdateVirtualInterfaceAttributesCommand, } from "../protocols/Aws_json1_1";
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
_this.input = input;
|
|
11
|
-
return _this;
|
|
5
|
+
export class UpdateVirtualInterfaceAttributesCommand extends $Command {
|
|
6
|
+
constructor(input) {
|
|
7
|
+
super();
|
|
8
|
+
this.input = input;
|
|
12
9
|
}
|
|
13
|
-
|
|
10
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
11
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
logger
|
|
21
|
-
clientName
|
|
22
|
-
commandName
|
|
12
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
13
|
+
const { logger } = configuration;
|
|
14
|
+
const clientName = "DirectConnectClient";
|
|
15
|
+
const commandName = "UpdateVirtualInterfaceAttributesCommand";
|
|
16
|
+
const handlerExecutionContext = {
|
|
17
|
+
logger,
|
|
18
|
+
clientName,
|
|
19
|
+
commandName,
|
|
23
20
|
inputFilterSensitiveLog: UpdateVirtualInterfaceAttributesRequestFilterSensitiveLog,
|
|
24
21
|
outputFilterSensitiveLog: VirtualInterfaceFilterSensitiveLog,
|
|
25
22
|
};
|
|
26
|
-
|
|
27
|
-
return stack.resolve(
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
};
|
|
31
|
-
UpdateVirtualInterfaceAttributesCommand.prototype.serialize = function (input, context) {
|
|
23
|
+
const { requestHandler } = configuration;
|
|
24
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
25
|
+
}
|
|
26
|
+
serialize(input, context) {
|
|
32
27
|
return serializeAws_json1_1UpdateVirtualInterfaceAttributesCommand(input, context);
|
|
33
|
-
}
|
|
34
|
-
|
|
28
|
+
}
|
|
29
|
+
deserialize(output, context) {
|
|
35
30
|
return deserializeAws_json1_1UpdateVirtualInterfaceAttributesCommand(output, context);
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
}($Command));
|
|
39
|
-
export { UpdateVirtualInterfaceAttributesCommand };
|
|
31
|
+
}
|
|
32
|
+
}
|
package/dist-es/endpoints.js
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { __assign, __awaiter, __generator } from "tslib";
|
|
2
1
|
import { getRegionInfo } from "@aws-sdk/config-resolver";
|
|
3
|
-
|
|
2
|
+
const regionHash = {
|
|
4
3
|
"us-east-1": {
|
|
5
4
|
variants: [
|
|
6
5
|
{
|
|
@@ -52,7 +51,7 @@ var regionHash = {
|
|
|
52
51
|
],
|
|
53
52
|
},
|
|
54
53
|
};
|
|
55
|
-
|
|
54
|
+
const partitionHash = {
|
|
56
55
|
aws: {
|
|
57
56
|
regions: [
|
|
58
57
|
"af-south-1",
|
|
@@ -176,8 +175,9 @@ var partitionHash = {
|
|
|
176
175
|
],
|
|
177
176
|
},
|
|
178
177
|
};
|
|
179
|
-
export
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
178
|
+
export const defaultRegionInfoProvider = async (region, options) => getRegionInfo(region, {
|
|
179
|
+
...options,
|
|
180
|
+
signingService: "directconnect",
|
|
181
|
+
regionHash,
|
|
182
|
+
partitionHash,
|
|
183
|
+
});
|
|
@@ -1,12 +1,7 @@
|
|
|
1
|
-
import { __extends } from "tslib";
|
|
2
1
|
import { ServiceException as __ServiceException, } from "@aws-sdk/smithy-client";
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
Object.setPrototypeOf(_this, DirectConnectServiceException.prototype);
|
|
8
|
-
return _this;
|
|
2
|
+
export class DirectConnectServiceException extends __ServiceException {
|
|
3
|
+
constructor(options) {
|
|
4
|
+
super(options);
|
|
5
|
+
Object.setPrototypeOf(this, DirectConnectServiceException.prototype);
|
|
9
6
|
}
|
|
10
|
-
|
|
11
|
-
}(__ServiceException));
|
|
12
|
-
export { DirectConnectServiceException };
|
|
7
|
+
}
|