@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/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"
|
package/protocols/Aws_json1_1.ts
CHANGED
|
@@ -309,8 +309,12 @@ import {
|
|
|
309
309
|
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
310
310
|
import {
|
|
311
311
|
expectBoolean as __expectBoolean,
|
|
312
|
-
|
|
312
|
+
expectInt32 as __expectInt32,
|
|
313
|
+
expectLong as __expectLong,
|
|
314
|
+
expectNonNull as __expectNonNull,
|
|
315
|
+
expectNumber as __expectNumber,
|
|
313
316
|
expectString as __expectString,
|
|
317
|
+
parseEpochTimestamp as __parseEpochTimestamp,
|
|
314
318
|
} from "@aws-sdk/smithy-client";
|
|
315
319
|
import {
|
|
316
320
|
Endpoint as __Endpoint,
|
|
@@ -5973,7 +5977,7 @@ const deserializeAws_json1_1BGPPeer = (output: any, context: __SerdeContext): BG
|
|
|
5973
5977
|
return {
|
|
5974
5978
|
addressFamily: __expectString(output.addressFamily),
|
|
5975
5979
|
amazonAddress: __expectString(output.amazonAddress),
|
|
5976
|
-
asn:
|
|
5980
|
+
asn: __expectInt32(output.asn),
|
|
5977
5981
|
authKey: __expectString(output.authKey),
|
|
5978
5982
|
awsDeviceV2: __expectString(output.awsDeviceV2),
|
|
5979
5983
|
awsLogicalDeviceId: __expectString(output.awsLogicalDeviceId),
|
|
@@ -6057,7 +6061,7 @@ const deserializeAws_json1_1Connection = (output: any, context: __SerdeContext):
|
|
|
6057
6061
|
lagId: __expectString(output.lagId),
|
|
6058
6062
|
loaIssueTime:
|
|
6059
6063
|
output.loaIssueTime !== undefined && output.loaIssueTime !== null
|
|
6060
|
-
?
|
|
6064
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.loaIssueTime)))
|
|
6061
6065
|
: undefined,
|
|
6062
6066
|
location: __expectString(output.location),
|
|
6063
6067
|
macSecCapable: __expectBoolean(output.macSecCapable),
|
|
@@ -6074,7 +6078,7 @@ const deserializeAws_json1_1Connection = (output: any, context: __SerdeContext):
|
|
|
6074
6078
|
output.tags !== undefined && output.tags !== null
|
|
6075
6079
|
? deserializeAws_json1_1TagList(output.tags, context)
|
|
6076
6080
|
: undefined,
|
|
6077
|
-
vlan:
|
|
6081
|
+
vlan: __expectInt32(output.vlan),
|
|
6078
6082
|
} as any;
|
|
6079
6083
|
};
|
|
6080
6084
|
|
|
@@ -6320,7 +6324,7 @@ const deserializeAws_json1_1DirectConnectClientException = (
|
|
|
6320
6324
|
|
|
6321
6325
|
const deserializeAws_json1_1DirectConnectGateway = (output: any, context: __SerdeContext): DirectConnectGateway => {
|
|
6322
6326
|
return {
|
|
6323
|
-
amazonSideAsn:
|
|
6327
|
+
amazonSideAsn: __expectLong(output.amazonSideAsn),
|
|
6324
6328
|
directConnectGatewayId: __expectString(output.directConnectGatewayId),
|
|
6325
6329
|
directConnectGatewayName: __expectString(output.directConnectGatewayName),
|
|
6326
6330
|
directConnectGatewayState: __expectString(output.directConnectGatewayState),
|
|
@@ -6496,7 +6500,7 @@ const deserializeAws_json1_1Interconnect = (output: any, context: __SerdeContext
|
|
|
6496
6500
|
lagId: __expectString(output.lagId),
|
|
6497
6501
|
loaIssueTime:
|
|
6498
6502
|
output.loaIssueTime !== undefined && output.loaIssueTime !== null
|
|
6499
|
-
?
|
|
6503
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.loaIssueTime)))
|
|
6500
6504
|
: undefined,
|
|
6501
6505
|
location: __expectString(output.location),
|
|
6502
6506
|
providerName: __expectString(output.providerName),
|
|
@@ -6551,8 +6555,8 @@ const deserializeAws_json1_1Lag = (output: any, context: __SerdeContext): Lag =>
|
|
|
6551
6555
|
output.macSecKeys !== undefined && output.macSecKeys !== null
|
|
6552
6556
|
? deserializeAws_json1_1MacSecKeyList(output.macSecKeys, context)
|
|
6553
6557
|
: undefined,
|
|
6554
|
-
minimumLinks:
|
|
6555
|
-
numberOfConnections:
|
|
6558
|
+
minimumLinks: __expectInt32(output.minimumLinks),
|
|
6559
|
+
numberOfConnections: __expectInt32(output.numberOfConnections),
|
|
6556
6560
|
ownerAccount: __expectString(output.ownerAccount),
|
|
6557
6561
|
providerName: __expectString(output.providerName),
|
|
6558
6562
|
region: __expectString(output.region),
|
|
@@ -6814,8 +6818,8 @@ const deserializeAws_json1_1VirtualInterface = (output: any, context: __SerdeCon
|
|
|
6814
6818
|
return {
|
|
6815
6819
|
addressFamily: __expectString(output.addressFamily),
|
|
6816
6820
|
amazonAddress: __expectString(output.amazonAddress),
|
|
6817
|
-
amazonSideAsn:
|
|
6818
|
-
asn:
|
|
6821
|
+
amazonSideAsn: __expectLong(output.amazonSideAsn),
|
|
6822
|
+
asn: __expectInt32(output.asn),
|
|
6819
6823
|
authKey: __expectString(output.authKey),
|
|
6820
6824
|
awsDeviceV2: __expectString(output.awsDeviceV2),
|
|
6821
6825
|
awsLogicalDeviceId: __expectString(output.awsLogicalDeviceId),
|
|
@@ -6829,7 +6833,7 @@ const deserializeAws_json1_1VirtualInterface = (output: any, context: __SerdeCon
|
|
|
6829
6833
|
directConnectGatewayId: __expectString(output.directConnectGatewayId),
|
|
6830
6834
|
jumboFrameCapable: __expectBoolean(output.jumboFrameCapable),
|
|
6831
6835
|
location: __expectString(output.location),
|
|
6832
|
-
mtu:
|
|
6836
|
+
mtu: __expectInt32(output.mtu),
|
|
6833
6837
|
ownerAccount: __expectString(output.ownerAccount),
|
|
6834
6838
|
region: __expectString(output.region),
|
|
6835
6839
|
routeFilterPrefixes:
|
|
@@ -6845,7 +6849,7 @@ const deserializeAws_json1_1VirtualInterface = (output: any, context: __SerdeCon
|
|
|
6845
6849
|
virtualInterfaceName: __expectString(output.virtualInterfaceName),
|
|
6846
6850
|
virtualInterfaceState: __expectString(output.virtualInterfaceState),
|
|
6847
6851
|
virtualInterfaceType: __expectString(output.virtualInterfaceType),
|
|
6848
|
-
vlan:
|
|
6852
|
+
vlan: __expectInt32(output.vlan),
|
|
6849
6853
|
} as any;
|
|
6850
6854
|
};
|
|
6851
6855
|
|
|
@@ -6879,14 +6883,16 @@ const deserializeAws_json1_1VirtualInterfaceTestHistory = (
|
|
|
6879
6883
|
? deserializeAws_json1_1BGPPeerIdList(output.bgpPeers, context)
|
|
6880
6884
|
: undefined,
|
|
6881
6885
|
endTime:
|
|
6882
|
-
output.endTime !== undefined && output.endTime !== null
|
|
6886
|
+
output.endTime !== undefined && output.endTime !== null
|
|
6887
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.endTime)))
|
|
6888
|
+
: undefined,
|
|
6883
6889
|
ownerAccount: __expectString(output.ownerAccount),
|
|
6884
6890
|
startTime:
|
|
6885
6891
|
output.startTime !== undefined && output.startTime !== null
|
|
6886
|
-
?
|
|
6892
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.startTime)))
|
|
6887
6893
|
: undefined,
|
|
6888
6894
|
status: __expectString(output.status),
|
|
6889
|
-
testDurationInMinutes:
|
|
6895
|
+
testDurationInMinutes: __expectInt32(output.testDurationInMinutes),
|
|
6890
6896
|
testId: __expectString(output.testId),
|
|
6891
6897
|
virtualInterfaceId: __expectString(output.virtualInterfaceId),
|
|
6892
6898
|
} as any;
|