@aws-sdk/client-elastic-load-balancing-v2 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 +32 -32
- package/dist/cjs/protocols/Aws_query.js +14 -14
- package/dist/cjs/protocols/Aws_query.js.map +1 -1
- package/dist/es/endpoints.js +1 -2
- package/dist/es/endpoints.js.map +1 -1
- package/dist/es/package.json +32 -32
- package/dist/es/protocols/Aws_query.js +15 -15
- package/dist/es/protocols/Aws_query.js.map +1 -1
- package/package.json +32 -32
- package/protocols/Aws_query.ts +18 -15
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-elastic-load-balancing-v2",
|
|
3
3
|
"description": "AWS SDK for JavaScript Elastic Load Balancing V2 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,48 +27,48 @@
|
|
|
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.
|
|
58
|
-
"@aws-sdk/util-waiter": "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
|
+
"@aws-sdk/util-waiter": "3.32.0",
|
|
59
59
|
"entities": "2.2.0",
|
|
60
60
|
"fast-xml-parser": "3.19.0",
|
|
61
61
|
"tslib": "^2.3.0"
|
|
62
62
|
},
|
|
63
63
|
"devDependencies": {
|
|
64
|
-
"@aws-sdk/client-documentation-generator": "3.
|
|
64
|
+
"@aws-sdk/client-documentation-generator": "3.32.0",
|
|
65
65
|
"@types/node": "^12.7.5",
|
|
66
66
|
"downlevel-dts": "0.7.0",
|
|
67
67
|
"jest": "^26.1.0",
|
|
68
68
|
"rimraf": "^3.0.0",
|
|
69
69
|
"ts-jest": "^26.4.1",
|
|
70
70
|
"typedoc": "^0.19.2",
|
|
71
|
-
"typescript": "~4.3.
|
|
71
|
+
"typescript": "~4.3.5"
|
|
72
72
|
},
|
|
73
73
|
"engines": {
|
|
74
74
|
"node": ">=10.0.0"
|
package/protocols/Aws_query.ts
CHANGED
|
@@ -214,12 +214,15 @@ import {
|
|
|
214
214
|
} from "../models/models_0";
|
|
215
215
|
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
216
216
|
import {
|
|
217
|
+
expectNonNull as __expectNonNull,
|
|
217
218
|
expectString as __expectString,
|
|
218
219
|
extendedEncodeURIComponent as __extendedEncodeURIComponent,
|
|
219
220
|
getArrayIfSingleItem as __getArrayIfSingleItem,
|
|
220
221
|
getValueFromTextNode as __getValueFromTextNode,
|
|
221
222
|
parseBoolean as __parseBoolean,
|
|
222
|
-
|
|
223
|
+
parseRfc3339DateTime as __parseRfc3339DateTime,
|
|
224
|
+
strictParseInt32 as __strictParseInt32,
|
|
225
|
+
strictParseLong as __strictParseLong,
|
|
223
226
|
} from "@aws-sdk/smithy-client";
|
|
224
227
|
import {
|
|
225
228
|
Endpoint as __Endpoint,
|
|
@@ -5676,7 +5679,7 @@ const deserializeAws_queryAction = (output: any, context: __SerdeContext): Actio
|
|
|
5676
5679
|
);
|
|
5677
5680
|
}
|
|
5678
5681
|
if (output["Order"] !== undefined) {
|
|
5679
|
-
contents.Order =
|
|
5682
|
+
contents.Order = __strictParseInt32(output["Order"]) as number;
|
|
5680
5683
|
}
|
|
5681
5684
|
if (output["RedirectConfig"] !== undefined) {
|
|
5682
5685
|
contents.RedirectConfig = deserializeAws_queryRedirectActionConfig(output["RedirectConfig"], context);
|
|
@@ -5810,7 +5813,7 @@ const deserializeAws_queryAuthenticateCognitoActionConfig = (
|
|
|
5810
5813
|
contents.Scope = __expectString(output["Scope"]);
|
|
5811
5814
|
}
|
|
5812
5815
|
if (output["SessionTimeout"] !== undefined) {
|
|
5813
|
-
contents.SessionTimeout =
|
|
5816
|
+
contents.SessionTimeout = __strictParseLong(output["SessionTimeout"]) as number;
|
|
5814
5817
|
}
|
|
5815
5818
|
if (output.AuthenticationRequestExtraParams === "") {
|
|
5816
5819
|
contents.AuthenticationRequestExtraParams = {};
|
|
@@ -5889,7 +5892,7 @@ const deserializeAws_queryAuthenticateOidcActionConfig = (
|
|
|
5889
5892
|
contents.Scope = __expectString(output["Scope"]);
|
|
5890
5893
|
}
|
|
5891
5894
|
if (output["SessionTimeout"] !== undefined) {
|
|
5892
|
-
contents.SessionTimeout =
|
|
5895
|
+
contents.SessionTimeout = __strictParseLong(output["SessionTimeout"]) as number;
|
|
5893
5896
|
}
|
|
5894
5897
|
if (output.AuthenticationRequestExtraParams === "") {
|
|
5895
5898
|
contents.AuthenticationRequestExtraParams = {};
|
|
@@ -6012,7 +6015,7 @@ const deserializeAws_queryCipher = (output: any, context: __SerdeContext): Ciphe
|
|
|
6012
6015
|
contents.Name = __expectString(output["Name"]);
|
|
6013
6016
|
}
|
|
6014
6017
|
if (output["Priority"] !== undefined) {
|
|
6015
|
-
contents.Priority =
|
|
6018
|
+
contents.Priority = __strictParseInt32(output["Priority"]) as number;
|
|
6016
6019
|
}
|
|
6017
6020
|
return contents;
|
|
6018
6021
|
};
|
|
@@ -6622,7 +6625,7 @@ const deserializeAws_queryListener = (output: any, context: __SerdeContext): Lis
|
|
|
6622
6625
|
contents.LoadBalancerArn = __expectString(output["LoadBalancerArn"]);
|
|
6623
6626
|
}
|
|
6624
6627
|
if (output["Port"] !== undefined) {
|
|
6625
|
-
contents.Port =
|
|
6628
|
+
contents.Port = __strictParseInt32(output["Port"]) as number;
|
|
6626
6629
|
}
|
|
6627
6630
|
if (output["Protocol"] !== undefined) {
|
|
6628
6631
|
contents.Protocol = __expectString(output["Protocol"]);
|
|
@@ -6721,7 +6724,7 @@ const deserializeAws_queryLoadBalancer = (output: any, context: __SerdeContext):
|
|
|
6721
6724
|
contents.CanonicalHostedZoneId = __expectString(output["CanonicalHostedZoneId"]);
|
|
6722
6725
|
}
|
|
6723
6726
|
if (output["CreatedTime"] !== undefined) {
|
|
6724
|
-
contents.CreatedTime =
|
|
6727
|
+
contents.CreatedTime = __expectNonNull(__parseRfc3339DateTime(output["CreatedTime"]));
|
|
6725
6728
|
}
|
|
6726
6729
|
if (output["LoadBalancerName"] !== undefined) {
|
|
6727
6730
|
contents.LoadBalancerName = __expectString(output["LoadBalancerName"]);
|
|
@@ -7439,7 +7442,7 @@ const deserializeAws_queryTargetDescription = (output: any, context: __SerdeCont
|
|
|
7439
7442
|
contents.Id = __expectString(output["Id"]);
|
|
7440
7443
|
}
|
|
7441
7444
|
if (output["Port"] !== undefined) {
|
|
7442
|
-
contents.Port =
|
|
7445
|
+
contents.Port = __strictParseInt32(output["Port"]) as number;
|
|
7443
7446
|
}
|
|
7444
7447
|
if (output["AvailabilityZone"] !== undefined) {
|
|
7445
7448
|
contents.AvailabilityZone = __expectString(output["AvailabilityZone"]);
|
|
@@ -7477,7 +7480,7 @@ const deserializeAws_queryTargetGroup = (output: any, context: __SerdeContext):
|
|
|
7477
7480
|
contents.Protocol = __expectString(output["Protocol"]);
|
|
7478
7481
|
}
|
|
7479
7482
|
if (output["Port"] !== undefined) {
|
|
7480
|
-
contents.Port =
|
|
7483
|
+
contents.Port = __strictParseInt32(output["Port"]) as number;
|
|
7481
7484
|
}
|
|
7482
7485
|
if (output["VpcId"] !== undefined) {
|
|
7483
7486
|
contents.VpcId = __expectString(output["VpcId"]);
|
|
@@ -7492,16 +7495,16 @@ const deserializeAws_queryTargetGroup = (output: any, context: __SerdeContext):
|
|
|
7492
7495
|
contents.HealthCheckEnabled = __parseBoolean(output["HealthCheckEnabled"]);
|
|
7493
7496
|
}
|
|
7494
7497
|
if (output["HealthCheckIntervalSeconds"] !== undefined) {
|
|
7495
|
-
contents.HealthCheckIntervalSeconds =
|
|
7498
|
+
contents.HealthCheckIntervalSeconds = __strictParseInt32(output["HealthCheckIntervalSeconds"]) as number;
|
|
7496
7499
|
}
|
|
7497
7500
|
if (output["HealthCheckTimeoutSeconds"] !== undefined) {
|
|
7498
|
-
contents.HealthCheckTimeoutSeconds =
|
|
7501
|
+
contents.HealthCheckTimeoutSeconds = __strictParseInt32(output["HealthCheckTimeoutSeconds"]) as number;
|
|
7499
7502
|
}
|
|
7500
7503
|
if (output["HealthyThresholdCount"] !== undefined) {
|
|
7501
|
-
contents.HealthyThresholdCount =
|
|
7504
|
+
contents.HealthyThresholdCount = __strictParseInt32(output["HealthyThresholdCount"]) as number;
|
|
7502
7505
|
}
|
|
7503
7506
|
if (output["UnhealthyThresholdCount"] !== undefined) {
|
|
7504
|
-
contents.UnhealthyThresholdCount =
|
|
7507
|
+
contents.UnhealthyThresholdCount = __strictParseInt32(output["UnhealthyThresholdCount"]) as number;
|
|
7505
7508
|
}
|
|
7506
7509
|
if (output["HealthCheckPath"] !== undefined) {
|
|
7507
7510
|
contents.HealthCheckPath = __expectString(output["HealthCheckPath"]);
|
|
@@ -7612,7 +7615,7 @@ const deserializeAws_queryTargetGroupStickinessConfig = (
|
|
|
7612
7615
|
contents.Enabled = __parseBoolean(output["Enabled"]);
|
|
7613
7616
|
}
|
|
7614
7617
|
if (output["DurationSeconds"] !== undefined) {
|
|
7615
|
-
contents.DurationSeconds =
|
|
7618
|
+
contents.DurationSeconds = __strictParseInt32(output["DurationSeconds"]) as number;
|
|
7616
7619
|
}
|
|
7617
7620
|
return contents;
|
|
7618
7621
|
};
|
|
@@ -7626,7 +7629,7 @@ const deserializeAws_queryTargetGroupTuple = (output: any, context: __SerdeConte
|
|
|
7626
7629
|
contents.TargetGroupArn = __expectString(output["TargetGroupArn"]);
|
|
7627
7630
|
}
|
|
7628
7631
|
if (output["Weight"] !== undefined) {
|
|
7629
|
-
contents.Weight =
|
|
7632
|
+
contents.Weight = __strictParseInt32(output["Weight"]) as number;
|
|
7630
7633
|
}
|
|
7631
7634
|
return contents;
|
|
7632
7635
|
};
|