@aws-sdk/client-direct-connect 3.28.0 → 3.32.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 +32 -0
- package/dist/cjs/package.json +31 -31
- package/dist/cjs/protocols/Aws_json1_1.js +16 -14
- package/dist/cjs/protocols/Aws_json1_1.js.map +1 -1
- package/dist/es/endpoints.js +1 -2
- package/dist/es/endpoints.js.map +1 -1
- package/dist/es/package.json +31 -31
- package/dist/es/protocols/Aws_json1_1.js +17 -15
- package/dist/es/protocols/Aws_json1_1.js.map +1 -1
- package/package.json +31 -31
- package/protocols/Aws_json1_1.ts +21 -15
package/dist/es/endpoints.js
CHANGED
|
@@ -76,8 +76,7 @@ var partitionHash = {
|
|
|
76
76
|
};
|
|
77
77
|
export var defaultRegionInfoProvider = function (region, options) { return __awaiter(void 0, void 0, void 0, function () {
|
|
78
78
|
return __generator(this, function (_a) {
|
|
79
|
-
return [2 /*return*/, getRegionInfo(region, __assign(__assign({}, options), { signingService: "directconnect", regionHash: regionHash,
|
|
80
|
-
partitionHash: partitionHash }))];
|
|
79
|
+
return [2 /*return*/, getRegionInfo(region, __assign(__assign({}, options), { signingService: "directconnect", regionHash: regionHash, partitionHash: partitionHash }))];
|
|
81
80
|
});
|
|
82
81
|
}); };
|
|
83
82
|
//# sourceMappingURL=endpoints.js.map
|
package/dist/es/endpoints.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"endpoints.js","sourceRoot":"","sources":["../../endpoints.ts"],"names":[],"mappings":";AAAA,OAAO,EAA6B,aAAa,EAAE,MAAM,0BAA0B,CAAC;AAGpF,IAAM,UAAU,GAAe;IAC7B,gBAAgB,EAAE;QAChB,QAAQ,EAAE,4CAA4C;QACtD,aAAa,EAAE,WAAW;KAC3B;IACD,gBAAgB,EAAE;QAChB,QAAQ,EAAE,4CAA4C;QACtD,aAAa,EAAE,WAAW;KAC3B;IACD,gBAAgB,E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C;KAC9C;IACD,WAAW,EAAE;QACX,OAAO,EAAE,CAAC,gBAAgB,CAAC;QAC3B,QAAQ,EAAE,sCAAsC;KACjD;IACD,YAAY,EAAE;QACZ,OAAO,EAAE,CAAC,eAAe,EAAE,eAAe,CAAC;QAC3C,QAAQ,EAAE,sCAAsC;KACjD;CACF,CAAC;AAEF,MAAM,CAAC,IAAM,yBAAyB,GAAuB,UAAO,MAAc,EAAE,OAAa;;QAC/F,sBAAA,aAAa,CAAC,MAAM,wBACf,OAAO,KACV,cAAc,EAAE,eAAe,EAC/B,UAAU,YAAA,EACV,aAAa,eAAA,IACb,EAAA;;KAAA,CAAC"}
|
package/dist/es/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-direct-connect",
|
|
3
3
|
"description": "AWS SDK for JavaScript Direct Connect Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.32.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation",
|
|
7
7
|
"build-documentation": "yarn remove-documentation && typedoc ./",
|
|
@@ -27,45 +27,45 @@
|
|
|
27
27
|
"dependencies": {
|
|
28
28
|
"@aws-crypto/sha256-browser": "^1.0.0",
|
|
29
29
|
"@aws-crypto/sha256-js": "^1.0.0",
|
|
30
|
-
"@aws-sdk/client-sts": "3.
|
|
31
|
-
"@aws-sdk/config-resolver": "3.
|
|
32
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
33
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
34
|
-
"@aws-sdk/hash-node": "3.
|
|
35
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
36
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
37
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
38
|
-
"@aws-sdk/middleware-logger": "3.
|
|
39
|
-
"@aws-sdk/middleware-retry": "3.
|
|
40
|
-
"@aws-sdk/middleware-serde": "3.
|
|
41
|
-
"@aws-sdk/middleware-signing": "3.
|
|
42
|
-
"@aws-sdk/middleware-stack": "3.
|
|
43
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
44
|
-
"@aws-sdk/node-config-provider": "3.
|
|
45
|
-
"@aws-sdk/node-http-handler": "3.
|
|
46
|
-
"@aws-sdk/protocol-http": "3.
|
|
47
|
-
"@aws-sdk/smithy-client": "3.
|
|
48
|
-
"@aws-sdk/types": "3.
|
|
49
|
-
"@aws-sdk/url-parser": "3.
|
|
50
|
-
"@aws-sdk/util-base64-browser": "3.
|
|
51
|
-
"@aws-sdk/util-base64-node": "3.
|
|
52
|
-
"@aws-sdk/util-body-length-browser": "3.
|
|
53
|
-
"@aws-sdk/util-body-length-node": "3.
|
|
54
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
55
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
56
|
-
"@aws-sdk/util-utf8-browser": "3.
|
|
57
|
-
"@aws-sdk/util-utf8-node": "3.
|
|
30
|
+
"@aws-sdk/client-sts": "3.32.0",
|
|
31
|
+
"@aws-sdk/config-resolver": "3.32.0",
|
|
32
|
+
"@aws-sdk/credential-provider-node": "3.32.0",
|
|
33
|
+
"@aws-sdk/fetch-http-handler": "3.32.0",
|
|
34
|
+
"@aws-sdk/hash-node": "3.32.0",
|
|
35
|
+
"@aws-sdk/invalid-dependency": "3.32.0",
|
|
36
|
+
"@aws-sdk/middleware-content-length": "3.32.0",
|
|
37
|
+
"@aws-sdk/middleware-host-header": "3.32.0",
|
|
38
|
+
"@aws-sdk/middleware-logger": "3.32.0",
|
|
39
|
+
"@aws-sdk/middleware-retry": "3.32.0",
|
|
40
|
+
"@aws-sdk/middleware-serde": "3.32.0",
|
|
41
|
+
"@aws-sdk/middleware-signing": "3.32.0",
|
|
42
|
+
"@aws-sdk/middleware-stack": "3.32.0",
|
|
43
|
+
"@aws-sdk/middleware-user-agent": "3.32.0",
|
|
44
|
+
"@aws-sdk/node-config-provider": "3.32.0",
|
|
45
|
+
"@aws-sdk/node-http-handler": "3.32.0",
|
|
46
|
+
"@aws-sdk/protocol-http": "3.32.0",
|
|
47
|
+
"@aws-sdk/smithy-client": "3.32.0",
|
|
48
|
+
"@aws-sdk/types": "3.32.0",
|
|
49
|
+
"@aws-sdk/url-parser": "3.32.0",
|
|
50
|
+
"@aws-sdk/util-base64-browser": "3.32.0",
|
|
51
|
+
"@aws-sdk/util-base64-node": "3.32.0",
|
|
52
|
+
"@aws-sdk/util-body-length-browser": "3.32.0",
|
|
53
|
+
"@aws-sdk/util-body-length-node": "3.32.0",
|
|
54
|
+
"@aws-sdk/util-user-agent-browser": "3.32.0",
|
|
55
|
+
"@aws-sdk/util-user-agent-node": "3.32.0",
|
|
56
|
+
"@aws-sdk/util-utf8-browser": "3.32.0",
|
|
57
|
+
"@aws-sdk/util-utf8-node": "3.32.0",
|
|
58
58
|
"tslib": "^2.3.0"
|
|
59
59
|
},
|
|
60
60
|
"devDependencies": {
|
|
61
|
-
"@aws-sdk/client-documentation-generator": "3.
|
|
61
|
+
"@aws-sdk/client-documentation-generator": "3.32.0",
|
|
62
62
|
"@types/node": "^12.7.5",
|
|
63
63
|
"downlevel-dts": "0.7.0",
|
|
64
64
|
"jest": "^26.1.0",
|
|
65
65
|
"rimraf": "^3.0.0",
|
|
66
66
|
"ts-jest": "^26.4.1",
|
|
67
67
|
"typedoc": "^0.19.2",
|
|
68
|
-
"typescript": "~4.3.
|
|
68
|
+
"typescript": "~4.3.5"
|
|
69
69
|
},
|
|
70
70
|
"engines": {
|
|
71
71
|
"node": ">=10.0.0"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { __assign, __awaiter, __generator } from "tslib";
|
|
2
2
|
import { HttpRequest as __HttpRequest } from "@aws-sdk/protocol-http";
|
|
3
|
-
import { expectBoolean as __expectBoolean,
|
|
3
|
+
import { expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectLong as __expectLong, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectString as __expectString, parseEpochTimestamp as __parseEpochTimestamp, } from "@aws-sdk/smithy-client";
|
|
4
4
|
export var serializeAws_json1_1AcceptDirectConnectGatewayAssociationProposalCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
5
5
|
var headers, body;
|
|
6
6
|
return __generator(this, function (_a) {
|
|
@@ -5065,7 +5065,7 @@ var deserializeAws_json1_1BGPPeer = function (output, context) {
|
|
|
5065
5065
|
return {
|
|
5066
5066
|
addressFamily: __expectString(output.addressFamily),
|
|
5067
5067
|
amazonAddress: __expectString(output.amazonAddress),
|
|
5068
|
-
asn:
|
|
5068
|
+
asn: __expectInt32(output.asn),
|
|
5069
5069
|
authKey: __expectString(output.authKey),
|
|
5070
5070
|
awsDeviceV2: __expectString(output.awsDeviceV2),
|
|
5071
5071
|
awsLogicalDeviceId: __expectString(output.awsLogicalDeviceId),
|
|
@@ -5129,7 +5129,7 @@ var deserializeAws_json1_1Connection = function (output, context) {
|
|
|
5129
5129
|
jumboFrameCapable: __expectBoolean(output.jumboFrameCapable),
|
|
5130
5130
|
lagId: __expectString(output.lagId),
|
|
5131
5131
|
loaIssueTime: output.loaIssueTime !== undefined && output.loaIssueTime !== null
|
|
5132
|
-
?
|
|
5132
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.loaIssueTime)))
|
|
5133
5133
|
: undefined,
|
|
5134
5134
|
location: __expectString(output.location),
|
|
5135
5135
|
macSecCapable: __expectBoolean(output.macSecCapable),
|
|
@@ -5144,7 +5144,7 @@ var deserializeAws_json1_1Connection = function (output, context) {
|
|
|
5144
5144
|
tags: output.tags !== undefined && output.tags !== null
|
|
5145
5145
|
? deserializeAws_json1_1TagList(output.tags, context)
|
|
5146
5146
|
: undefined,
|
|
5147
|
-
vlan:
|
|
5147
|
+
vlan: __expectInt32(output.vlan),
|
|
5148
5148
|
};
|
|
5149
5149
|
};
|
|
5150
5150
|
var deserializeAws_json1_1ConnectionList = function (output, context) {
|
|
@@ -5296,7 +5296,7 @@ var deserializeAws_json1_1DirectConnectClientException = function (output, conte
|
|
|
5296
5296
|
};
|
|
5297
5297
|
var deserializeAws_json1_1DirectConnectGateway = function (output, context) {
|
|
5298
5298
|
return {
|
|
5299
|
-
amazonSideAsn:
|
|
5299
|
+
amazonSideAsn: __expectLong(output.amazonSideAsn),
|
|
5300
5300
|
directConnectGatewayId: __expectString(output.directConnectGatewayId),
|
|
5301
5301
|
directConnectGatewayName: __expectString(output.directConnectGatewayName),
|
|
5302
5302
|
directConnectGatewayState: __expectString(output.directConnectGatewayState),
|
|
@@ -5424,7 +5424,7 @@ var deserializeAws_json1_1Interconnect = function (output, context) {
|
|
|
5424
5424
|
jumboFrameCapable: __expectBoolean(output.jumboFrameCapable),
|
|
5425
5425
|
lagId: __expectString(output.lagId),
|
|
5426
5426
|
loaIssueTime: output.loaIssueTime !== undefined && output.loaIssueTime !== null
|
|
5427
|
-
?
|
|
5427
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.loaIssueTime)))
|
|
5428
5428
|
: undefined,
|
|
5429
5429
|
location: __expectString(output.location),
|
|
5430
5430
|
providerName: __expectString(output.providerName),
|
|
@@ -5472,8 +5472,8 @@ var deserializeAws_json1_1Lag = function (output, context) {
|
|
|
5472
5472
|
macSecKeys: output.macSecKeys !== undefined && output.macSecKeys !== null
|
|
5473
5473
|
? deserializeAws_json1_1MacSecKeyList(output.macSecKeys, context)
|
|
5474
5474
|
: undefined,
|
|
5475
|
-
minimumLinks:
|
|
5476
|
-
numberOfConnections:
|
|
5475
|
+
minimumLinks: __expectInt32(output.minimumLinks),
|
|
5476
|
+
numberOfConnections: __expectInt32(output.numberOfConnections),
|
|
5477
5477
|
ownerAccount: __expectString(output.ownerAccount),
|
|
5478
5478
|
providerName: __expectString(output.providerName),
|
|
5479
5479
|
region: __expectString(output.region),
|
|
@@ -5684,8 +5684,8 @@ var deserializeAws_json1_1VirtualInterface = function (output, context) {
|
|
|
5684
5684
|
return {
|
|
5685
5685
|
addressFamily: __expectString(output.addressFamily),
|
|
5686
5686
|
amazonAddress: __expectString(output.amazonAddress),
|
|
5687
|
-
amazonSideAsn:
|
|
5688
|
-
asn:
|
|
5687
|
+
amazonSideAsn: __expectLong(output.amazonSideAsn),
|
|
5688
|
+
asn: __expectInt32(output.asn),
|
|
5689
5689
|
authKey: __expectString(output.authKey),
|
|
5690
5690
|
awsDeviceV2: __expectString(output.awsDeviceV2),
|
|
5691
5691
|
awsLogicalDeviceId: __expectString(output.awsLogicalDeviceId),
|
|
@@ -5698,7 +5698,7 @@ var deserializeAws_json1_1VirtualInterface = function (output, context) {
|
|
|
5698
5698
|
directConnectGatewayId: __expectString(output.directConnectGatewayId),
|
|
5699
5699
|
jumboFrameCapable: __expectBoolean(output.jumboFrameCapable),
|
|
5700
5700
|
location: __expectString(output.location),
|
|
5701
|
-
mtu:
|
|
5701
|
+
mtu: __expectInt32(output.mtu),
|
|
5702
5702
|
ownerAccount: __expectString(output.ownerAccount),
|
|
5703
5703
|
region: __expectString(output.region),
|
|
5704
5704
|
routeFilterPrefixes: output.routeFilterPrefixes !== undefined && output.routeFilterPrefixes !== null
|
|
@@ -5712,7 +5712,7 @@ var deserializeAws_json1_1VirtualInterface = function (output, context) {
|
|
|
5712
5712
|
virtualInterfaceName: __expectString(output.virtualInterfaceName),
|
|
5713
5713
|
virtualInterfaceState: __expectString(output.virtualInterfaceState),
|
|
5714
5714
|
virtualInterfaceType: __expectString(output.virtualInterfaceType),
|
|
5715
|
-
vlan:
|
|
5715
|
+
vlan: __expectInt32(output.vlan),
|
|
5716
5716
|
};
|
|
5717
5717
|
};
|
|
5718
5718
|
var deserializeAws_json1_1VirtualInterfaceList = function (output, context) {
|
|
@@ -5737,13 +5737,15 @@ var deserializeAws_json1_1VirtualInterfaceTestHistory = function (output, contex
|
|
|
5737
5737
|
bgpPeers: output.bgpPeers !== undefined && output.bgpPeers !== null
|
|
5738
5738
|
? deserializeAws_json1_1BGPPeerIdList(output.bgpPeers, context)
|
|
5739
5739
|
: undefined,
|
|
5740
|
-
endTime: output.endTime !== undefined && output.endTime !== null
|
|
5740
|
+
endTime: output.endTime !== undefined && output.endTime !== null
|
|
5741
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.endTime)))
|
|
5742
|
+
: undefined,
|
|
5741
5743
|
ownerAccount: __expectString(output.ownerAccount),
|
|
5742
5744
|
startTime: output.startTime !== undefined && output.startTime !== null
|
|
5743
|
-
?
|
|
5745
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.startTime)))
|
|
5744
5746
|
: undefined,
|
|
5745
5747
|
status: __expectString(output.status),
|
|
5746
|
-
testDurationInMinutes:
|
|
5748
|
+
testDurationInMinutes: __expectInt32(output.testDurationInMinutes),
|
|
5747
5749
|
testId: __expectString(output.testId),
|
|
5748
5750
|
virtualInterfaceId: __expectString(output.virtualInterfaceId),
|
|
5749
5751
|
};
|