@aws-sdk/client-elastic-load-balancing-v2 3.929.0 → 3.930.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/dist-cjs/index.js +2269 -6639
- package/dist-cjs/runtimeConfig.shared.js +7 -0
- package/dist-es/ElasticLoadBalancingV2Client.js +2 -0
- package/dist-es/commands/AddListenerCertificatesCommand.js +3 -9
- package/dist-es/commands/AddTagsCommand.js +3 -9
- package/dist-es/commands/AddTrustStoreRevocationsCommand.js +3 -9
- package/dist-es/commands/CreateListenerCommand.js +3 -9
- package/dist-es/commands/CreateLoadBalancerCommand.js +3 -9
- package/dist-es/commands/CreateRuleCommand.js +3 -9
- package/dist-es/commands/CreateTargetGroupCommand.js +3 -9
- package/dist-es/commands/CreateTrustStoreCommand.js +3 -9
- package/dist-es/commands/DeleteListenerCommand.js +3 -9
- package/dist-es/commands/DeleteLoadBalancerCommand.js +3 -9
- package/dist-es/commands/DeleteRuleCommand.js +3 -9
- package/dist-es/commands/DeleteSharedTrustStoreAssociationCommand.js +3 -9
- package/dist-es/commands/DeleteTargetGroupCommand.js +3 -9
- package/dist-es/commands/DeleteTrustStoreCommand.js +3 -9
- package/dist-es/commands/DeregisterTargetsCommand.js +3 -9
- package/dist-es/commands/DescribeAccountLimitsCommand.js +3 -9
- package/dist-es/commands/DescribeCapacityReservationCommand.js +3 -9
- package/dist-es/commands/DescribeListenerAttributesCommand.js +3 -9
- package/dist-es/commands/DescribeListenerCertificatesCommand.js +3 -9
- package/dist-es/commands/DescribeListenersCommand.js +3 -9
- package/dist-es/commands/DescribeLoadBalancerAttributesCommand.js +3 -9
- package/dist-es/commands/DescribeLoadBalancersCommand.js +3 -9
- package/dist-es/commands/DescribeRulesCommand.js +3 -9
- package/dist-es/commands/DescribeSSLPoliciesCommand.js +3 -9
- package/dist-es/commands/DescribeTagsCommand.js +3 -9
- package/dist-es/commands/DescribeTargetGroupAttributesCommand.js +3 -9
- package/dist-es/commands/DescribeTargetGroupsCommand.js +3 -9
- package/dist-es/commands/DescribeTargetHealthCommand.js +3 -9
- package/dist-es/commands/DescribeTrustStoreAssociationsCommand.js +3 -9
- package/dist-es/commands/DescribeTrustStoreRevocationsCommand.js +3 -9
- package/dist-es/commands/DescribeTrustStoresCommand.js +3 -9
- package/dist-es/commands/GetResourcePolicyCommand.js +3 -9
- package/dist-es/commands/GetTrustStoreCaCertificatesBundleCommand.js +3 -9
- package/dist-es/commands/GetTrustStoreRevocationContentCommand.js +3 -9
- package/dist-es/commands/ModifyCapacityReservationCommand.js +3 -9
- package/dist-es/commands/ModifyIpPoolsCommand.js +3 -9
- package/dist-es/commands/ModifyListenerAttributesCommand.js +3 -9
- package/dist-es/commands/ModifyListenerCommand.js +3 -9
- package/dist-es/commands/ModifyLoadBalancerAttributesCommand.js +3 -9
- package/dist-es/commands/ModifyRuleCommand.js +3 -9
- package/dist-es/commands/ModifyTargetGroupAttributesCommand.js +3 -9
- package/dist-es/commands/ModifyTargetGroupCommand.js +3 -9
- package/dist-es/commands/ModifyTrustStoreCommand.js +3 -9
- package/dist-es/commands/RegisterTargetsCommand.js +3 -9
- package/dist-es/commands/RemoveListenerCertificatesCommand.js +3 -9
- package/dist-es/commands/RemoveTagsCommand.js +3 -9
- package/dist-es/commands/RemoveTrustStoreRevocationsCommand.js +3 -9
- package/dist-es/commands/SetIpAddressTypeCommand.js +3 -9
- package/dist-es/commands/SetRulePrioritiesCommand.js +3 -9
- package/dist-es/commands/SetSecurityGroupsCommand.js +3 -9
- package/dist-es/commands/SetSubnetsCommand.js +3 -9
- package/dist-es/models/models_0.js +6 -0
- package/dist-es/runtimeConfig.shared.js +7 -0
- package/dist-es/schemas/schemas_0.js +2215 -0
- package/dist-types/ElasticLoadBalancingV2Client.d.ts +10 -1
- package/dist-types/commands/CreateListenerCommand.d.ts +28 -2
- package/dist-types/commands/CreateRuleCommand.d.ts +28 -2
- package/dist-types/commands/DescribeListenersCommand.d.ts +14 -1
- package/dist-types/commands/DescribeRulesCommand.d.ts +15 -2
- package/dist-types/commands/ModifyListenerCommand.d.ts +28 -2
- package/dist-types/commands/ModifyRuleCommand.d.ts +28 -2
- package/dist-types/commands/SetRulePrioritiesCommand.d.ts +14 -1
- package/dist-types/models/models_0.d.ts +95 -25
- package/dist-types/runtimeConfig.browser.d.ts +1 -0
- package/dist-types/runtimeConfig.d.ts +1 -0
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/dist-types/runtimeConfig.shared.d.ts +1 -0
- package/dist-types/schemas/schemas_0.d.ts +323 -0
- package/dist-types/ts3.4/ElasticLoadBalancingV2Client.d.ts +4 -0
- package/dist-types/ts3.4/models/models_0.d.ts +19 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +328 -0
- package/package.json +34 -34
- package/dist-es/protocols/Aws_query.js +0 -6319
- package/dist-types/protocols/Aws_query.d.ts +0 -461
- package/dist-types/ts3.4/protocols/Aws_query.d.ts +0 -617
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { RemoveTags } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class RemoveTagsCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("ElasticLoadBalancing_v10", "RemoveTags", {})
|
|
17
13
|
.n("ElasticLoadBalancingV2Client", "RemoveTagsCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_RemoveTagsCommand)
|
|
20
|
-
.de(de_RemoveTagsCommand)
|
|
14
|
+
.sc(RemoveTags)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { RemoveTrustStoreRevocations } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class RemoveTrustStoreRevocationsCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("ElasticLoadBalancing_v10", "RemoveTrustStoreRevocations", {})
|
|
17
13
|
.n("ElasticLoadBalancingV2Client", "RemoveTrustStoreRevocationsCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_RemoveTrustStoreRevocationsCommand)
|
|
20
|
-
.de(de_RemoveTrustStoreRevocationsCommand)
|
|
14
|
+
.sc(RemoveTrustStoreRevocations)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { SetIpAddressType } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class SetIpAddressTypeCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("ElasticLoadBalancing_v10", "SetIpAddressType", {})
|
|
17
13
|
.n("ElasticLoadBalancingV2Client", "SetIpAddressTypeCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_SetIpAddressTypeCommand)
|
|
20
|
-
.de(de_SetIpAddressTypeCommand)
|
|
14
|
+
.sc(SetIpAddressType)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { SetRulePriorities } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class SetRulePrioritiesCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("ElasticLoadBalancing_v10", "SetRulePriorities", {})
|
|
17
13
|
.n("ElasticLoadBalancingV2Client", "SetRulePrioritiesCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_SetRulePrioritiesCommand)
|
|
20
|
-
.de(de_SetRulePrioritiesCommand)
|
|
14
|
+
.sc(SetRulePriorities)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { SetSecurityGroups } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class SetSecurityGroupsCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("ElasticLoadBalancing_v10", "SetSecurityGroups", {})
|
|
17
13
|
.n("ElasticLoadBalancingV2Client", "SetSecurityGroupsCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_SetSecurityGroupsCommand)
|
|
20
|
-
.de(de_SetSecurityGroupsCommand)
|
|
14
|
+
.sc(SetSecurityGroups)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { SetSubnets } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class SetSubnetsCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("ElasticLoadBalancing_v10", "SetSubnets", {})
|
|
17
13
|
.n("ElasticLoadBalancingV2Client", "SetSubnetsCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_SetSubnetsCommand)
|
|
20
|
-
.de(de_SetSubnetsCommand)
|
|
14
|
+
.sc(SetSubnets)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -9,6 +9,11 @@ export const AuthenticateOidcActionConditionalBehaviorEnum = {
|
|
|
9
9
|
AUTHENTICATE: "authenticate",
|
|
10
10
|
DENY: "deny",
|
|
11
11
|
};
|
|
12
|
+
export const JwtValidationActionAdditionalClaimFormatEnum = {
|
|
13
|
+
SINGLE_STRING: "single-string",
|
|
14
|
+
SPACE_SEPARATED_VALUES: "space-separated-values",
|
|
15
|
+
STRING_ARRAY: "string-array",
|
|
16
|
+
};
|
|
12
17
|
export const RedirectActionStatusCodeEnum = {
|
|
13
18
|
HTTP_301: "HTTP_301",
|
|
14
19
|
HTTP_302: "HTTP_302",
|
|
@@ -18,6 +23,7 @@ export const ActionTypeEnum = {
|
|
|
18
23
|
AUTHENTICATE_OIDC: "authenticate-oidc",
|
|
19
24
|
FIXED_RESPONSE: "fixed-response",
|
|
20
25
|
FORWARD: "forward",
|
|
26
|
+
JWT_VALIDATION: "jwt-validation",
|
|
21
27
|
REDIRECT: "redirect",
|
|
22
28
|
};
|
|
23
29
|
export class CertificateNotFoundException extends __BaseException {
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { AwsSdkSigV4Signer } from "@aws-sdk/core";
|
|
2
|
+
import { AwsQueryProtocol } from "@aws-sdk/core/protocols";
|
|
2
3
|
import { NoOpLogger } from "@smithy/smithy-client";
|
|
3
4
|
import { parseUrl } from "@smithy/url-parser";
|
|
4
5
|
import { fromBase64, toBase64 } from "@smithy/util-base64";
|
|
@@ -22,6 +23,12 @@ export const getRuntimeConfig = (config) => {
|
|
|
22
23
|
},
|
|
23
24
|
],
|
|
24
25
|
logger: config?.logger ?? new NoOpLogger(),
|
|
26
|
+
protocol: config?.protocol ??
|
|
27
|
+
new AwsQueryProtocol({
|
|
28
|
+
defaultNamespace: "com.amazonaws.elasticloadbalancingv2",
|
|
29
|
+
xmlNamespace: "http://elasticloadbalancing.amazonaws.com/doc/2015-12-01/",
|
|
30
|
+
version: "2015-12-01",
|
|
31
|
+
}),
|
|
25
32
|
serviceId: config?.serviceId ?? "Elastic Load Balancing v2",
|
|
26
33
|
urlParser: config?.urlParser ?? parseUrl,
|
|
27
34
|
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|