@aws-sdk/client-elastic-load-balancing 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 +12 -12
- 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 +13 -13
- package/dist/es/protocols/Aws_query.js.map +1 -1
- package/package.json +32 -32
- package/protocols/Aws_query.ts +16 -13
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-elastic-load-balancing",
|
|
3
3
|
"description": "AWS SDK for JavaScript Elastic Load Balancing 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
|
@@ -209,12 +209,15 @@ import {
|
|
|
209
209
|
} from "../models/models_0";
|
|
210
210
|
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
211
211
|
import {
|
|
212
|
+
expectNonNull as __expectNonNull,
|
|
212
213
|
expectString as __expectString,
|
|
213
214
|
extendedEncodeURIComponent as __extendedEncodeURIComponent,
|
|
214
215
|
getArrayIfSingleItem as __getArrayIfSingleItem,
|
|
215
216
|
getValueFromTextNode as __getValueFromTextNode,
|
|
216
217
|
parseBoolean as __parseBoolean,
|
|
217
|
-
|
|
218
|
+
parseRfc3339DateTime as __parseRfc3339DateTime,
|
|
219
|
+
strictParseInt32 as __strictParseInt32,
|
|
220
|
+
strictParseLong as __strictParseLong,
|
|
218
221
|
} from "@aws-sdk/smithy-client";
|
|
219
222
|
import {
|
|
220
223
|
Endpoint as __Endpoint,
|
|
@@ -3925,7 +3928,7 @@ const deserializeAws_queryAccessLog = (output: any, context: __SerdeContext): Ac
|
|
|
3925
3928
|
contents.S3BucketName = __expectString(output["S3BucketName"]);
|
|
3926
3929
|
}
|
|
3927
3930
|
if (output["EmitInterval"] !== undefined) {
|
|
3928
|
-
contents.EmitInterval =
|
|
3931
|
+
contents.EmitInterval = __strictParseInt32(output["EmitInterval"]) as number;
|
|
3929
3932
|
}
|
|
3930
3933
|
if (output["S3BucketPrefix"] !== undefined) {
|
|
3931
3934
|
contents.S3BucketPrefix = __expectString(output["S3BucketPrefix"]);
|
|
@@ -4081,7 +4084,7 @@ const deserializeAws_queryBackendServerDescription = (
|
|
|
4081
4084
|
PolicyNames: undefined,
|
|
4082
4085
|
};
|
|
4083
4086
|
if (output["InstancePort"] !== undefined) {
|
|
4084
|
-
contents.InstancePort =
|
|
4087
|
+
contents.InstancePort = __strictParseInt32(output["InstancePort"]) as number;
|
|
4085
4088
|
}
|
|
4086
4089
|
if (output.PolicyNames === "") {
|
|
4087
4090
|
contents.PolicyNames = [];
|
|
@@ -4144,7 +4147,7 @@ const deserializeAws_queryConnectionDraining = (output: any, context: __SerdeCon
|
|
|
4144
4147
|
contents.Enabled = __parseBoolean(output["Enabled"]);
|
|
4145
4148
|
}
|
|
4146
4149
|
if (output["Timeout"] !== undefined) {
|
|
4147
|
-
contents.Timeout =
|
|
4150
|
+
contents.Timeout = __strictParseInt32(output["Timeout"]) as number;
|
|
4148
4151
|
}
|
|
4149
4152
|
return contents;
|
|
4150
4153
|
};
|
|
@@ -4154,7 +4157,7 @@ const deserializeAws_queryConnectionSettings = (output: any, context: __SerdeCon
|
|
|
4154
4157
|
IdleTimeout: undefined,
|
|
4155
4158
|
};
|
|
4156
4159
|
if (output["IdleTimeout"] !== undefined) {
|
|
4157
|
-
contents.IdleTimeout =
|
|
4160
|
+
contents.IdleTimeout = __strictParseInt32(output["IdleTimeout"]) as number;
|
|
4158
4161
|
}
|
|
4159
4162
|
return contents;
|
|
4160
4163
|
};
|
|
@@ -4473,16 +4476,16 @@ const deserializeAws_queryHealthCheck = (output: any, context: __SerdeContext):
|
|
|
4473
4476
|
contents.Target = __expectString(output["Target"]);
|
|
4474
4477
|
}
|
|
4475
4478
|
if (output["Interval"] !== undefined) {
|
|
4476
|
-
contents.Interval =
|
|
4479
|
+
contents.Interval = __strictParseInt32(output["Interval"]) as number;
|
|
4477
4480
|
}
|
|
4478
4481
|
if (output["Timeout"] !== undefined) {
|
|
4479
|
-
contents.Timeout =
|
|
4482
|
+
contents.Timeout = __strictParseInt32(output["Timeout"]) as number;
|
|
4480
4483
|
}
|
|
4481
4484
|
if (output["UnhealthyThreshold"] !== undefined) {
|
|
4482
|
-
contents.UnhealthyThreshold =
|
|
4485
|
+
contents.UnhealthyThreshold = __strictParseInt32(output["UnhealthyThreshold"]) as number;
|
|
4483
4486
|
}
|
|
4484
4487
|
if (output["HealthyThreshold"] !== undefined) {
|
|
4485
|
-
contents.HealthyThreshold =
|
|
4488
|
+
contents.HealthyThreshold = __strictParseInt32(output["HealthyThreshold"]) as number;
|
|
4486
4489
|
}
|
|
4487
4490
|
return contents;
|
|
4488
4491
|
};
|
|
@@ -4626,7 +4629,7 @@ const deserializeAws_queryLBCookieStickinessPolicy = (
|
|
|
4626
4629
|
contents.PolicyName = __expectString(output["PolicyName"]);
|
|
4627
4630
|
}
|
|
4628
4631
|
if (output["CookieExpirationPeriod"] !== undefined) {
|
|
4629
|
-
contents.CookieExpirationPeriod =
|
|
4632
|
+
contents.CookieExpirationPeriod = __strictParseLong(output["CookieExpirationPeriod"]) as number;
|
|
4630
4633
|
}
|
|
4631
4634
|
return contents;
|
|
4632
4635
|
};
|
|
@@ -4668,13 +4671,13 @@ const deserializeAws_queryListener = (output: any, context: __SerdeContext): Lis
|
|
|
4668
4671
|
contents.Protocol = __expectString(output["Protocol"]);
|
|
4669
4672
|
}
|
|
4670
4673
|
if (output["LoadBalancerPort"] !== undefined) {
|
|
4671
|
-
contents.LoadBalancerPort =
|
|
4674
|
+
contents.LoadBalancerPort = __strictParseInt32(output["LoadBalancerPort"]) as number;
|
|
4672
4675
|
}
|
|
4673
4676
|
if (output["InstanceProtocol"] !== undefined) {
|
|
4674
4677
|
contents.InstanceProtocol = __expectString(output["InstanceProtocol"]);
|
|
4675
4678
|
}
|
|
4676
4679
|
if (output["InstancePort"] !== undefined) {
|
|
4677
|
-
contents.InstancePort =
|
|
4680
|
+
contents.InstancePort = __strictParseInt32(output["InstancePort"]) as number;
|
|
4678
4681
|
}
|
|
4679
4682
|
if (output["SSLCertificateId"] !== undefined) {
|
|
4680
4683
|
contents.SSLCertificateId = __expectString(output["SSLCertificateId"]);
|
|
@@ -4869,7 +4872,7 @@ const deserializeAws_queryLoadBalancerDescription = (output: any, context: __Ser
|
|
|
4869
4872
|
);
|
|
4870
4873
|
}
|
|
4871
4874
|
if (output["CreatedTime"] !== undefined) {
|
|
4872
|
-
contents.CreatedTime =
|
|
4875
|
+
contents.CreatedTime = __expectNonNull(__parseRfc3339DateTime(output["CreatedTime"]));
|
|
4873
4876
|
}
|
|
4874
4877
|
if (output["Scheme"] !== undefined) {
|
|
4875
4878
|
contents.Scheme = __expectString(output["Scheme"]);
|