@aws-sdk/client-elastic-load-balancing-v2 3.682.0 → 3.686.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/README.md +1 -1
- package/dist-cjs/index.js +34 -0
- package/dist-es/models/models_0.js +4 -0
- package/dist-es/protocols/Aws_query.js +31 -0
- package/dist-types/commands/CreateLoadBalancerCommand.d.ts +6 -0
- package/dist-types/commands/DeleteSharedTrustStoreAssociationCommand.d.ts +1 -1
- package/dist-types/commands/DescribeLoadBalancersCommand.d.ts +4 -0
- package/dist-types/commands/RegisterTargetsCommand.d.ts +1 -1
- package/dist-types/commands/SetSubnetsCommand.d.ts +6 -0
- package/dist-types/models/models_0.d.ts +103 -79
- package/dist-types/ts3.4/models/models_0.d.ts +12 -0
- package/package.json +36 -36
package/README.md
CHANGED
|
@@ -39,7 +39,7 @@ most one time. If you repeat an operation, it succeeds.</p>
|
|
|
39
39
|
|
|
40
40
|
## Installing
|
|
41
41
|
|
|
42
|
-
To install
|
|
42
|
+
To install this package, simply type add or install @aws-sdk/client-elastic-load-balancing-v2
|
|
43
43
|
using your favorite package manager:
|
|
44
44
|
|
|
45
45
|
- `npm install @aws-sdk/client-elastic-load-balancing-v2`
|
package/dist-cjs/index.js
CHANGED
|
@@ -70,6 +70,7 @@ __export(src_exports, {
|
|
|
70
70
|
ElasticLoadBalancingV2: () => ElasticLoadBalancingV2,
|
|
71
71
|
ElasticLoadBalancingV2Client: () => ElasticLoadBalancingV2Client,
|
|
72
72
|
ElasticLoadBalancingV2ServiceException: () => ElasticLoadBalancingV2ServiceException,
|
|
73
|
+
EnablePrefixForIpv6SourceNatEnum: () => EnablePrefixForIpv6SourceNatEnum,
|
|
73
74
|
EnforceSecurityGroupInboundRulesOnPrivateLinkTrafficEnum: () => EnforceSecurityGroupInboundRulesOnPrivateLinkTrafficEnum,
|
|
74
75
|
GetResourcePolicyCommand: () => GetResourcePolicyCommand,
|
|
75
76
|
GetTrustStoreCaCertificatesBundleCommand: () => GetTrustStoreCaCertificatesBundleCommand,
|
|
@@ -911,6 +912,10 @@ var _UnsupportedProtocolException = class _UnsupportedProtocolException extends
|
|
|
911
912
|
};
|
|
912
913
|
__name(_UnsupportedProtocolException, "UnsupportedProtocolException");
|
|
913
914
|
var UnsupportedProtocolException = _UnsupportedProtocolException;
|
|
915
|
+
var EnablePrefixForIpv6SourceNatEnum = {
|
|
916
|
+
OFF: "off",
|
|
917
|
+
ON: "on"
|
|
918
|
+
};
|
|
914
919
|
var IpAddressType = {
|
|
915
920
|
DUALSTACK: "dualstack",
|
|
916
921
|
DUALSTACK_WITHOUT_PUBLIC_IPV4: "dualstack-without-public-ipv4",
|
|
@@ -3485,6 +3490,9 @@ var se_CreateLoadBalancerInput = /* @__PURE__ */ __name((input, context) => {
|
|
|
3485
3490
|
if (input[_COIP] != null) {
|
|
3486
3491
|
entries[_COIP] = input[_COIP];
|
|
3487
3492
|
}
|
|
3493
|
+
if (input[_EPFISN] != null) {
|
|
3494
|
+
entries[_EPFISN] = input[_EPFISN];
|
|
3495
|
+
}
|
|
3488
3496
|
return entries;
|
|
3489
3497
|
}, "se_CreateLoadBalancerInput");
|
|
3490
3498
|
var se_CreateRuleInput = /* @__PURE__ */ __name((input, context) => {
|
|
@@ -4820,6 +4828,9 @@ var se_SetSubnetsInput = /* @__PURE__ */ __name((input, context) => {
|
|
|
4820
4828
|
if (input[_IAT] != null) {
|
|
4821
4829
|
entries[_IAT] = input[_IAT];
|
|
4822
4830
|
}
|
|
4831
|
+
if (input[_EPFISN] != null) {
|
|
4832
|
+
entries[_EPFISN] = input[_EPFISN];
|
|
4833
|
+
}
|
|
4823
4834
|
return entries;
|
|
4824
4835
|
}, "se_SetSubnetsInput");
|
|
4825
4836
|
var se_SourceIpConditionConfig = /* @__PURE__ */ __name((input, context) => {
|
|
@@ -4863,6 +4874,9 @@ var se_SubnetMapping = /* @__PURE__ */ __name((input, context) => {
|
|
|
4863
4874
|
if (input[_IPA] != null) {
|
|
4864
4875
|
entries[_IPA] = input[_IPA];
|
|
4865
4876
|
}
|
|
4877
|
+
if (input[_SNIP] != null) {
|
|
4878
|
+
entries[_SNIP] = input[_SNIP];
|
|
4879
|
+
}
|
|
4866
4880
|
return entries;
|
|
4867
4881
|
}, "se_SubnetMapping");
|
|
4868
4882
|
var se_SubnetMappings = /* @__PURE__ */ __name((input, context) => {
|
|
@@ -5274,6 +5288,11 @@ var de_AvailabilityZone = /* @__PURE__ */ __name((output, context) => {
|
|
|
5274
5288
|
} else if (output[_LBAoa] != null && output[_LBAoa][_m] != null) {
|
|
5275
5289
|
contents[_LBAoa] = de_LoadBalancerAddresses((0, import_smithy_client.getArrayIfSingleItem)(output[_LBAoa][_m]), context);
|
|
5276
5290
|
}
|
|
5291
|
+
if (output.SourceNatIpv6Prefixes === "") {
|
|
5292
|
+
contents[_SNIPo] = [];
|
|
5293
|
+
} else if (output[_SNIPo] != null && output[_SNIPo][_m] != null) {
|
|
5294
|
+
contents[_SNIPo] = de_SourceNatIpv6Prefixes((0, import_smithy_client.getArrayIfSingleItem)(output[_SNIPo][_m]), context);
|
|
5295
|
+
}
|
|
5277
5296
|
return contents;
|
|
5278
5297
|
}, "de_AvailabilityZone");
|
|
5279
5298
|
var de_AvailabilityZoneNotSupportedException = /* @__PURE__ */ __name((output, context) => {
|
|
@@ -5911,6 +5930,9 @@ var de_LoadBalancer = /* @__PURE__ */ __name((output, context) => {
|
|
|
5911
5930
|
if (output[_ESGIROPLT] != null) {
|
|
5912
5931
|
contents[_ESGIROPLT] = (0, import_smithy_client.expectString)(output[_ESGIROPLT]);
|
|
5913
5932
|
}
|
|
5933
|
+
if (output[_EPFISN] != null) {
|
|
5934
|
+
contents[_EPFISN] = (0, import_smithy_client.expectString)(output[_EPFISN]);
|
|
5935
|
+
}
|
|
5914
5936
|
return contents;
|
|
5915
5937
|
}, "de_LoadBalancer");
|
|
5916
5938
|
var de_LoadBalancerAddress = /* @__PURE__ */ __name((output, context) => {
|
|
@@ -6291,6 +6313,9 @@ var de_SetSubnetsOutput = /* @__PURE__ */ __name((output, context) => {
|
|
|
6291
6313
|
if (output[_IAT] != null) {
|
|
6292
6314
|
contents[_IAT] = (0, import_smithy_client.expectString)(output[_IAT]);
|
|
6293
6315
|
}
|
|
6316
|
+
if (output[_EPFISN] != null) {
|
|
6317
|
+
contents[_EPFISN] = (0, import_smithy_client.expectString)(output[_EPFISN]);
|
|
6318
|
+
}
|
|
6294
6319
|
return contents;
|
|
6295
6320
|
}, "de_SetSubnetsOutput");
|
|
6296
6321
|
var de_SourceIpConditionConfig = /* @__PURE__ */ __name((output, context) => {
|
|
@@ -6302,6 +6327,11 @@ var de_SourceIpConditionConfig = /* @__PURE__ */ __name((output, context) => {
|
|
|
6302
6327
|
}
|
|
6303
6328
|
return contents;
|
|
6304
6329
|
}, "de_SourceIpConditionConfig");
|
|
6330
|
+
var de_SourceNatIpv6Prefixes = /* @__PURE__ */ __name((output, context) => {
|
|
6331
|
+
return (output || []).filter((e) => e != null).map((entry) => {
|
|
6332
|
+
return (0, import_smithy_client.expectString)(entry);
|
|
6333
|
+
});
|
|
6334
|
+
}, "de_SourceNatIpv6Prefixes");
|
|
6305
6335
|
var de_SslPolicies = /* @__PURE__ */ __name((output, context) => {
|
|
6306
6336
|
return (output || []).filter((e) => e != null).map((entry) => {
|
|
6307
6337
|
return de_SslPolicy(entry, context);
|
|
@@ -6816,6 +6846,7 @@ var _DTSR = "DescribeTrustStoreRevocations";
|
|
|
6816
6846
|
var _DTSe = "DescribeTrustStores";
|
|
6817
6847
|
var _DTe = "DescribeTags";
|
|
6818
6848
|
var _E = "Enabled";
|
|
6849
|
+
var _EPFISN = "EnablePrefixForIpv6SourceNat";
|
|
6819
6850
|
var _ESGIROPLT = "EnforceSecurityGroupInboundRulesOnPrivateLinkTraffic";
|
|
6820
6851
|
var _F = "Field";
|
|
6821
6852
|
var _FC = "ForwardConfig";
|
|
@@ -6920,6 +6951,8 @@ var _SIC = "SourceIpConfig";
|
|
|
6920
6951
|
var _SK = "S3Key";
|
|
6921
6952
|
var _SLBT = "SupportedLoadBalancerTypes";
|
|
6922
6953
|
var _SM = "SubnetMappings";
|
|
6954
|
+
var _SNIP = "SourceNatIpv6Prefix";
|
|
6955
|
+
var _SNIPo = "SourceNatIpv6Prefixes";
|
|
6923
6956
|
var _SOV = "S3ObjectVersion";
|
|
6924
6957
|
var _SP = "SslPolicy";
|
|
6925
6958
|
var _SPs = "SslPolicies";
|
|
@@ -8059,6 +8092,7 @@ var waitUntilTargetInService = /* @__PURE__ */ __name(async (params, input) => {
|
|
|
8059
8092
|
TooManyUniqueTargetGroupsPerLoadBalancerException,
|
|
8060
8093
|
TrustStoreNotReadyException,
|
|
8061
8094
|
UnsupportedProtocolException,
|
|
8095
|
+
EnablePrefixForIpv6SourceNatEnum,
|
|
8062
8096
|
IpAddressType,
|
|
8063
8097
|
LoadBalancerSchemeEnum,
|
|
8064
8098
|
LoadBalancerTypeEnum,
|
|
@@ -433,6 +433,10 @@ export class UnsupportedProtocolException extends __BaseException {
|
|
|
433
433
|
this.Message = opts.Message;
|
|
434
434
|
}
|
|
435
435
|
}
|
|
436
|
+
export const EnablePrefixForIpv6SourceNatEnum = {
|
|
437
|
+
OFF: "off",
|
|
438
|
+
ON: "on",
|
|
439
|
+
};
|
|
436
440
|
export const IpAddressType = {
|
|
437
441
|
DUALSTACK: "dualstack",
|
|
438
442
|
DUALSTACK_WITHOUT_PUBLIC_IPV4: "dualstack-without-public-ipv4",
|
|
@@ -2113,6 +2113,9 @@ const se_CreateLoadBalancerInput = (input, context) => {
|
|
|
2113
2113
|
if (input[_COIP] != null) {
|
|
2114
2114
|
entries[_COIP] = input[_COIP];
|
|
2115
2115
|
}
|
|
2116
|
+
if (input[_EPFISN] != null) {
|
|
2117
|
+
entries[_EPFISN] = input[_EPFISN];
|
|
2118
|
+
}
|
|
2116
2119
|
return entries;
|
|
2117
2120
|
};
|
|
2118
2121
|
const se_CreateRuleInput = (input, context) => {
|
|
@@ -3416,6 +3419,9 @@ const se_SetSubnetsInput = (input, context) => {
|
|
|
3416
3419
|
if (input[_IAT] != null) {
|
|
3417
3420
|
entries[_IAT] = input[_IAT];
|
|
3418
3421
|
}
|
|
3422
|
+
if (input[_EPFISN] != null) {
|
|
3423
|
+
entries[_EPFISN] = input[_EPFISN];
|
|
3424
|
+
}
|
|
3419
3425
|
return entries;
|
|
3420
3426
|
};
|
|
3421
3427
|
const se_SourceIpConditionConfig = (input, context) => {
|
|
@@ -3458,6 +3464,9 @@ const se_SubnetMapping = (input, context) => {
|
|
|
3458
3464
|
if (input[_IPA] != null) {
|
|
3459
3465
|
entries[_IPA] = input[_IPA];
|
|
3460
3466
|
}
|
|
3467
|
+
if (input[_SNIP] != null) {
|
|
3468
|
+
entries[_SNIP] = input[_SNIP];
|
|
3469
|
+
}
|
|
3461
3470
|
return entries;
|
|
3462
3471
|
};
|
|
3463
3472
|
const se_SubnetMappings = (input, context) => {
|
|
@@ -3872,6 +3881,12 @@ const de_AvailabilityZone = (output, context) => {
|
|
|
3872
3881
|
else if (output[_LBAoa] != null && output[_LBAoa][_m] != null) {
|
|
3873
3882
|
contents[_LBAoa] = de_LoadBalancerAddresses(__getArrayIfSingleItem(output[_LBAoa][_m]), context);
|
|
3874
3883
|
}
|
|
3884
|
+
if (output.SourceNatIpv6Prefixes === "") {
|
|
3885
|
+
contents[_SNIPo] = [];
|
|
3886
|
+
}
|
|
3887
|
+
else if (output[_SNIPo] != null && output[_SNIPo][_m] != null) {
|
|
3888
|
+
contents[_SNIPo] = de_SourceNatIpv6Prefixes(__getArrayIfSingleItem(output[_SNIPo][_m]), context);
|
|
3889
|
+
}
|
|
3875
3890
|
return contents;
|
|
3876
3891
|
};
|
|
3877
3892
|
const de_AvailabilityZoneNotSupportedException = (output, context) => {
|
|
@@ -4554,6 +4569,9 @@ const de_LoadBalancer = (output, context) => {
|
|
|
4554
4569
|
if (output[_ESGIROPLT] != null) {
|
|
4555
4570
|
contents[_ESGIROPLT] = __expectString(output[_ESGIROPLT]);
|
|
4556
4571
|
}
|
|
4572
|
+
if (output[_EPFISN] != null) {
|
|
4573
|
+
contents[_EPFISN] = __expectString(output[_EPFISN]);
|
|
4574
|
+
}
|
|
4557
4575
|
return contents;
|
|
4558
4576
|
};
|
|
4559
4577
|
const de_LoadBalancerAddress = (output, context) => {
|
|
@@ -4965,6 +4983,9 @@ const de_SetSubnetsOutput = (output, context) => {
|
|
|
4965
4983
|
if (output[_IAT] != null) {
|
|
4966
4984
|
contents[_IAT] = __expectString(output[_IAT]);
|
|
4967
4985
|
}
|
|
4986
|
+
if (output[_EPFISN] != null) {
|
|
4987
|
+
contents[_EPFISN] = __expectString(output[_EPFISN]);
|
|
4988
|
+
}
|
|
4968
4989
|
return contents;
|
|
4969
4990
|
};
|
|
4970
4991
|
const de_SourceIpConditionConfig = (output, context) => {
|
|
@@ -4977,6 +4998,13 @@ const de_SourceIpConditionConfig = (output, context) => {
|
|
|
4977
4998
|
}
|
|
4978
4999
|
return contents;
|
|
4979
5000
|
};
|
|
5001
|
+
const de_SourceNatIpv6Prefixes = (output, context) => {
|
|
5002
|
+
return (output || [])
|
|
5003
|
+
.filter((e) => e != null)
|
|
5004
|
+
.map((entry) => {
|
|
5005
|
+
return __expectString(entry);
|
|
5006
|
+
});
|
|
5007
|
+
};
|
|
4980
5008
|
const de_SslPolicies = (output, context) => {
|
|
4981
5009
|
return (output || [])
|
|
4982
5010
|
.filter((e) => e != null)
|
|
@@ -5519,6 +5547,7 @@ const _DTSR = "DescribeTrustStoreRevocations";
|
|
|
5519
5547
|
const _DTSe = "DescribeTrustStores";
|
|
5520
5548
|
const _DTe = "DescribeTags";
|
|
5521
5549
|
const _E = "Enabled";
|
|
5550
|
+
const _EPFISN = "EnablePrefixForIpv6SourceNat";
|
|
5522
5551
|
const _ESGIROPLT = "EnforceSecurityGroupInboundRulesOnPrivateLinkTraffic";
|
|
5523
5552
|
const _F = "Field";
|
|
5524
5553
|
const _FC = "ForwardConfig";
|
|
@@ -5623,6 +5652,8 @@ const _SIC = "SourceIpConfig";
|
|
|
5623
5652
|
const _SK = "S3Key";
|
|
5624
5653
|
const _SLBT = "SupportedLoadBalancerTypes";
|
|
5625
5654
|
const _SM = "SubnetMappings";
|
|
5655
|
+
const _SNIP = "SourceNatIpv6Prefix";
|
|
5656
|
+
const _SNIPo = "SourceNatIpv6Prefixes";
|
|
5626
5657
|
const _SOV = "S3ObjectVersion";
|
|
5627
5658
|
const _SP = "SslPolicy";
|
|
5628
5659
|
const _SPs = "SslPolicies";
|
|
@@ -68,6 +68,7 @@ declare const CreateLoadBalancerCommand_base: {
|
|
|
68
68
|
* AllocationId: "STRING_VALUE",
|
|
69
69
|
* PrivateIPv4Address: "STRING_VALUE",
|
|
70
70
|
* IPv6Address: "STRING_VALUE",
|
|
71
|
+
* SourceNatIpv6Prefix: "STRING_VALUE",
|
|
71
72
|
* },
|
|
72
73
|
* ],
|
|
73
74
|
* SecurityGroups: [ // SecurityGroups
|
|
@@ -83,6 +84,7 @@ declare const CreateLoadBalancerCommand_base: {
|
|
|
83
84
|
* Type: "application" || "network" || "gateway",
|
|
84
85
|
* IpAddressType: "ipv4" || "dualstack" || "dualstack-without-public-ipv4",
|
|
85
86
|
* CustomerOwnedIpv4Pool: "STRING_VALUE",
|
|
87
|
+
* EnablePrefixForIpv6SourceNat: "on" || "off",
|
|
86
88
|
* };
|
|
87
89
|
* const command = new CreateLoadBalancerCommand(input);
|
|
88
90
|
* const response = await client.send(command);
|
|
@@ -114,6 +116,9 @@ declare const CreateLoadBalancerCommand_base: {
|
|
|
114
116
|
* // IPv6Address: "STRING_VALUE",
|
|
115
117
|
* // },
|
|
116
118
|
* // ],
|
|
119
|
+
* // SourceNatIpv6Prefixes: [ // SourceNatIpv6Prefixes
|
|
120
|
+
* // "STRING_VALUE",
|
|
121
|
+
* // ],
|
|
117
122
|
* // },
|
|
118
123
|
* // ],
|
|
119
124
|
* // SecurityGroups: [ // SecurityGroups
|
|
@@ -122,6 +127,7 @@ declare const CreateLoadBalancerCommand_base: {
|
|
|
122
127
|
* // IpAddressType: "ipv4" || "dualstack" || "dualstack-without-public-ipv4",
|
|
123
128
|
* // CustomerOwnedIpv4Pool: "STRING_VALUE",
|
|
124
129
|
* // EnforceSecurityGroupInboundRulesOnPrivateLinkTraffic: "STRING_VALUE",
|
|
130
|
+
* // EnablePrefixForIpv6SourceNat: "on" || "off",
|
|
125
131
|
* // },
|
|
126
132
|
* // ],
|
|
127
133
|
* // };
|
|
@@ -51,7 +51,7 @@ declare const DeleteSharedTrustStoreAssociationCommand_base: {
|
|
|
51
51
|
* @see {@link ElasticLoadBalancingV2ClientResolvedConfig | config} for ElasticLoadBalancingV2Client's `config` shape.
|
|
52
52
|
*
|
|
53
53
|
* @throws {@link DeleteAssociationSameAccountException} (client fault)
|
|
54
|
-
* <p>The specified association
|
|
54
|
+
* <p>The specified association can't be within the same account.</p>
|
|
55
55
|
*
|
|
56
56
|
* @throws {@link TrustStoreAssociationNotFoundException} (client fault)
|
|
57
57
|
* <p>The specified association does not exist.</p>
|
|
@@ -74,6 +74,9 @@ declare const DescribeLoadBalancersCommand_base: {
|
|
|
74
74
|
* // IPv6Address: "STRING_VALUE",
|
|
75
75
|
* // },
|
|
76
76
|
* // ],
|
|
77
|
+
* // SourceNatIpv6Prefixes: [ // SourceNatIpv6Prefixes
|
|
78
|
+
* // "STRING_VALUE",
|
|
79
|
+
* // ],
|
|
77
80
|
* // },
|
|
78
81
|
* // ],
|
|
79
82
|
* // SecurityGroups: [ // SecurityGroups
|
|
@@ -82,6 +85,7 @@ declare const DescribeLoadBalancersCommand_base: {
|
|
|
82
85
|
* // IpAddressType: "ipv4" || "dualstack" || "dualstack-without-public-ipv4",
|
|
83
86
|
* // CustomerOwnedIpv4Pool: "STRING_VALUE",
|
|
84
87
|
* // EnforceSecurityGroupInboundRulesOnPrivateLinkTraffic: "STRING_VALUE",
|
|
88
|
+
* // EnablePrefixForIpv6SourceNat: "on" || "off",
|
|
85
89
|
* // },
|
|
86
90
|
* // ],
|
|
87
91
|
* // NextMarker: "STRING_VALUE",
|
|
@@ -34,7 +34,7 @@ declare const RegisterTargetsCommand_base: {
|
|
|
34
34
|
* port for the target group. Alternatively, you can override the port for a target when you
|
|
35
35
|
* register it. You can register each EC2 instance or IP address with the same target group
|
|
36
36
|
* multiple times using different ports.</p>
|
|
37
|
-
* <p>With a Network Load Balancer, you
|
|
37
|
+
* <p>With a Network Load Balancer, you can't register instances by instance ID if they have
|
|
38
38
|
* the following instance types: C1, CC1, CC2, CG1, CG2, CR1, CS1, G1, G2, HI1, HS1, M1, M2, M3,
|
|
39
39
|
* and T1. You can register instances of these types by IP address.</p>
|
|
40
40
|
* @example
|
|
@@ -50,9 +50,11 @@ declare const SetSubnetsCommand_base: {
|
|
|
50
50
|
* AllocationId: "STRING_VALUE",
|
|
51
51
|
* PrivateIPv4Address: "STRING_VALUE",
|
|
52
52
|
* IPv6Address: "STRING_VALUE",
|
|
53
|
+
* SourceNatIpv6Prefix: "STRING_VALUE",
|
|
53
54
|
* },
|
|
54
55
|
* ],
|
|
55
56
|
* IpAddressType: "ipv4" || "dualstack" || "dualstack-without-public-ipv4",
|
|
57
|
+
* EnablePrefixForIpv6SourceNat: "on" || "off",
|
|
56
58
|
* };
|
|
57
59
|
* const command = new SetSubnetsCommand(input);
|
|
58
60
|
* const response = await client.send(command);
|
|
@@ -70,9 +72,13 @@ declare const SetSubnetsCommand_base: {
|
|
|
70
72
|
* // IPv6Address: "STRING_VALUE",
|
|
71
73
|
* // },
|
|
72
74
|
* // ],
|
|
75
|
+
* // SourceNatIpv6Prefixes: [ // SourceNatIpv6Prefixes
|
|
76
|
+
* // "STRING_VALUE",
|
|
77
|
+
* // ],
|
|
73
78
|
* // },
|
|
74
79
|
* // ],
|
|
75
80
|
* // IpAddressType: "ipv4" || "dualstack" || "dualstack-without-public-ipv4",
|
|
81
|
+
* // EnablePrefixForIpv6SourceNat: "on" || "off",
|
|
76
82
|
* // };
|
|
77
83
|
*
|
|
78
84
|
* ```
|
|
@@ -299,7 +299,7 @@ export type RedirectActionStatusCodeEnum = (typeof RedirectActionStatusCodeEnum)
|
|
|
299
299
|
export interface RedirectActionConfig {
|
|
300
300
|
/**
|
|
301
301
|
* <p>The protocol. You can specify HTTP, HTTPS, or #\{protocol\}. You can redirect HTTP to HTTP,
|
|
302
|
-
* HTTP to HTTPS, and HTTPS to HTTPS. You
|
|
302
|
+
* HTTP to HTTPS, and HTTPS to HTTPS. You can't redirect HTTPS to HTTP.</p>
|
|
303
303
|
* @public
|
|
304
304
|
*/
|
|
305
305
|
Protocol?: string;
|
|
@@ -905,6 +905,14 @@ export interface AvailabilityZone {
|
|
|
905
905
|
* @public
|
|
906
906
|
*/
|
|
907
907
|
LoadBalancerAddresses?: LoadBalancerAddress[];
|
|
908
|
+
/**
|
|
909
|
+
* <p>[Network Load Balancers with UDP listeners] The IPv6 prefixes to use for source NAT.
|
|
910
|
+
* For each subnet, specify an IPv6 prefix (/80 netmask) from the subnet CIDR block or
|
|
911
|
+
* <code>auto_assigned</code> to use an IPv6 prefix selected at random from the subnet CIDR
|
|
912
|
+
* block.</p>
|
|
913
|
+
* @public
|
|
914
|
+
*/
|
|
915
|
+
SourceNatIpv6Prefixes?: string[];
|
|
908
916
|
}
|
|
909
917
|
/**
|
|
910
918
|
* <p>The specified Availability Zone is not supported.</p>
|
|
@@ -1018,13 +1026,13 @@ export interface CreateListenerInput {
|
|
|
1018
1026
|
* <p>The protocol for connections from clients to the load balancer. For Application Load
|
|
1019
1027
|
* Balancers, the supported protocols are HTTP and HTTPS. For Network Load Balancers, the
|
|
1020
1028
|
* supported protocols are TCP, TLS, UDP, and TCP_UDP. You can’t specify the UDP or TCP_UDP
|
|
1021
|
-
* protocol if dual-stack mode is enabled. You
|
|
1029
|
+
* protocol if dual-stack mode is enabled. You can't specify a protocol for a Gateway Load
|
|
1022
1030
|
* Balancer.</p>
|
|
1023
1031
|
* @public
|
|
1024
1032
|
*/
|
|
1025
1033
|
Protocol?: ProtocolEnum;
|
|
1026
1034
|
/**
|
|
1027
|
-
* <p>The port on which the load balancer is listening. You
|
|
1035
|
+
* <p>The port on which the load balancer is listening. You can't specify a port for a Gateway
|
|
1028
1036
|
* Load Balancer.</p>
|
|
1029
1037
|
* @public
|
|
1030
1038
|
*/
|
|
@@ -1330,6 +1338,18 @@ export declare class UnsupportedProtocolException extends __BaseException {
|
|
|
1330
1338
|
*/
|
|
1331
1339
|
constructor(opts: __ExceptionOptionType<UnsupportedProtocolException, __BaseException>);
|
|
1332
1340
|
}
|
|
1341
|
+
/**
|
|
1342
|
+
* @public
|
|
1343
|
+
* @enum
|
|
1344
|
+
*/
|
|
1345
|
+
export declare const EnablePrefixForIpv6SourceNatEnum: {
|
|
1346
|
+
readonly OFF: "off";
|
|
1347
|
+
readonly ON: "on";
|
|
1348
|
+
};
|
|
1349
|
+
/**
|
|
1350
|
+
* @public
|
|
1351
|
+
*/
|
|
1352
|
+
export type EnablePrefixForIpv6SourceNatEnum = (typeof EnablePrefixForIpv6SourceNatEnum)[keyof typeof EnablePrefixForIpv6SourceNatEnum];
|
|
1333
1353
|
/**
|
|
1334
1354
|
* @public
|
|
1335
1355
|
* @enum
|
|
@@ -1381,6 +1401,13 @@ export interface SubnetMapping {
|
|
|
1381
1401
|
* @public
|
|
1382
1402
|
*/
|
|
1383
1403
|
IPv6Address?: string;
|
|
1404
|
+
/**
|
|
1405
|
+
* <p>[Network Load Balancers with UDP listeners] The IPv6 prefix to use for source NAT.
|
|
1406
|
+
* Specify an IPv6 prefix (/80 netmask) from the subnet CIDR block or <code>auto_assigned</code>
|
|
1407
|
+
* to use an IPv6 prefix selected at random from the subnet CIDR block.</p>
|
|
1408
|
+
* @public
|
|
1409
|
+
*/
|
|
1410
|
+
SourceNatIpv6Prefix?: string;
|
|
1384
1411
|
}
|
|
1385
1412
|
/**
|
|
1386
1413
|
* @public
|
|
@@ -1416,10 +1443,8 @@ export interface CreateLoadBalancerInput {
|
|
|
1416
1443
|
* <p>[Application Load Balancers on Outposts] You must specify one Outpost subnet.</p>
|
|
1417
1444
|
* <p>[Application Load Balancers on Local Zones] You can specify subnets from one or more Local
|
|
1418
1445
|
* Zones.</p>
|
|
1419
|
-
* <p>[Network Load Balancers] You can specify subnets from one or more
|
|
1420
|
-
* Zones.</p>
|
|
1421
|
-
* <p>[Gateway Load Balancers] You can specify subnets from one or more Availability
|
|
1422
|
-
* Zones.</p>
|
|
1446
|
+
* <p>[Network Load Balancers and Gateway Load Balancers] You can specify subnets from one or more
|
|
1447
|
+
* Availability Zones.</p>
|
|
1423
1448
|
* @public
|
|
1424
1449
|
*/
|
|
1425
1450
|
Subnets?: string[];
|
|
@@ -1427,7 +1452,7 @@ export interface CreateLoadBalancerInput {
|
|
|
1427
1452
|
* <p>The IDs of the subnets. You can specify only one subnet per Availability Zone. You
|
|
1428
1453
|
* must specify either subnets or subnet mappings, but not both.</p>
|
|
1429
1454
|
* <p>[Application Load Balancers] You must specify subnets from at least two Availability
|
|
1430
|
-
* Zones. You
|
|
1455
|
+
* Zones. You can't specify Elastic IP addresses for your subnets.</p>
|
|
1431
1456
|
* <p>[Application Load Balancers on Outposts] You must specify one Outpost subnet.</p>
|
|
1432
1457
|
* <p>[Application Load Balancers on Local Zones] You can specify subnets from one or more Local
|
|
1433
1458
|
* Zones.</p>
|
|
@@ -1437,7 +1462,7 @@ export interface CreateLoadBalancerInput {
|
|
|
1437
1462
|
* address per subnet from the IPv4 range of the subnet. For internet-facing load balancer, you
|
|
1438
1463
|
* can specify one IPv6 address per subnet.</p>
|
|
1439
1464
|
* <p>[Gateway Load Balancers] You can specify subnets from one or more Availability Zones. You
|
|
1440
|
-
*
|
|
1465
|
+
* can't specify Elastic IP addresses for your subnets.</p>
|
|
1441
1466
|
* @public
|
|
1442
1467
|
*/
|
|
1443
1468
|
SubnetMappings?: SubnetMapping[];
|
|
@@ -1457,7 +1482,7 @@ export interface CreateLoadBalancerInput {
|
|
|
1457
1482
|
* Therefore, internal load balancers can route requests only from clients with access to the VPC
|
|
1458
1483
|
* for the load balancer.</p>
|
|
1459
1484
|
* <p>The default is an Internet-facing load balancer.</p>
|
|
1460
|
-
* <p>You
|
|
1485
|
+
* <p>You can't specify a scheme for a Gateway Load Balancer.</p>
|
|
1461
1486
|
* @public
|
|
1462
1487
|
*/
|
|
1463
1488
|
Scheme?: LoadBalancerSchemeEnum;
|
|
@@ -1472,18 +1497,12 @@ export interface CreateLoadBalancerInput {
|
|
|
1472
1497
|
*/
|
|
1473
1498
|
Type?: LoadBalancerTypeEnum;
|
|
1474
1499
|
/**
|
|
1475
|
-
* <p>
|
|
1476
|
-
* <p>[Application Load Balancers] The
|
|
1477
|
-
* <code>
|
|
1478
|
-
* IPv6 addresses
|
|
1479
|
-
*
|
|
1480
|
-
*
|
|
1481
|
-
* <code>ipv4</code> (for only IPv4 addresses) and <code>dualstack</code>
|
|
1482
|
-
* (for IPv4 and IPv6 addresses). You can’t specify <code>dualstack</code>
|
|
1483
|
-
* for a load balancer with a UDP or TCP_UDP listener.</p>
|
|
1484
|
-
* <p>[Gateway Load Balancers] The IP address type. The possible values are
|
|
1485
|
-
* <code>ipv4</code> (for only IPv4 addresses) and <code>dualstack</code>
|
|
1486
|
-
* (for IPv4 and IPv6 addresses).</p>
|
|
1500
|
+
* <p>The IP address type. Internal load balancers must use <code>ipv4</code>.</p>
|
|
1501
|
+
* <p>[Application Load Balancers] The possible values are <code>ipv4</code> (IPv4 addresses),
|
|
1502
|
+
* <code>dualstack</code> (IPv4 and IPv6 addresses), and <code>dualstack-without-public-ipv4</code>
|
|
1503
|
+
* (public IPv6 addresses and private IPv4 and IPv6 addresses).</p>
|
|
1504
|
+
* <p>[Network Load Balancers and Gateway Load Balancers] The possible values are <code>ipv4</code>
|
|
1505
|
+
* (IPv4 addresses) and <code>dualstack</code> (IPv4 and IPv6 addresses).</p>
|
|
1487
1506
|
* @public
|
|
1488
1507
|
*/
|
|
1489
1508
|
IpAddressType?: IpAddressType;
|
|
@@ -1493,6 +1512,13 @@ export interface CreateLoadBalancerInput {
|
|
|
1493
1512
|
* @public
|
|
1494
1513
|
*/
|
|
1495
1514
|
CustomerOwnedIpv4Pool?: string;
|
|
1515
|
+
/**
|
|
1516
|
+
* <p>[Network Load Balancers with UDP listeners] Indicates whether to use an IPv6 prefix
|
|
1517
|
+
* from each subnet for source NAT. The IP address type must be <code>dualstack</code>.
|
|
1518
|
+
* The default value is <code>off</code>.</p>
|
|
1519
|
+
* @public
|
|
1520
|
+
*/
|
|
1521
|
+
EnablePrefixForIpv6SourceNat?: EnablePrefixForIpv6SourceNatEnum;
|
|
1496
1522
|
}
|
|
1497
1523
|
/**
|
|
1498
1524
|
* @public
|
|
@@ -1596,15 +1622,13 @@ export interface LoadBalancer {
|
|
|
1596
1622
|
*/
|
|
1597
1623
|
SecurityGroups?: string[];
|
|
1598
1624
|
/**
|
|
1599
|
-
* <p>
|
|
1600
|
-
*
|
|
1601
|
-
*
|
|
1602
|
-
* IPv6 addresses), and <code>dualstack-without-public-ipv4</code>
|
|
1603
|
-
* addresses
|
|
1604
|
-
* <p>[Network Load Balancers and Gateway Load Balancers] The
|
|
1605
|
-
*
|
|
1606
|
-
* balancer. The possible values are <code>ipv4</code> (for only IPv4 addresses)
|
|
1607
|
-
* and <code>dualstack</code> (for IPv4 and IPv6 addresses).</p>
|
|
1625
|
+
* <p>The type of IP addresses used for public or private connections by the subnets
|
|
1626
|
+
* attached to your load balancer.</p>
|
|
1627
|
+
* <p>[Application Load Balancers] The possible values are <code>ipv4</code> (IPv4 addresses),
|
|
1628
|
+
* <code>dualstack</code> (IPv4 and IPv6 addresses), and <code>dualstack-without-public-ipv4</code>
|
|
1629
|
+
* (public IPv6 addresses and private IPv4 and IPv6 addresses).</p>
|
|
1630
|
+
* <p>[Network Load Balancers and Gateway Load Balancers] The possible values are <code>ipv4</code>
|
|
1631
|
+
* (IPv4 addresses) and <code>dualstack</code> (IPv4 and IPv6 addresses).</p>
|
|
1608
1632
|
* @public
|
|
1609
1633
|
*/
|
|
1610
1634
|
IpAddressType?: IpAddressType;
|
|
@@ -1619,6 +1643,13 @@ export interface LoadBalancer {
|
|
|
1619
1643
|
* @public
|
|
1620
1644
|
*/
|
|
1621
1645
|
EnforceSecurityGroupInboundRulesOnPrivateLinkTraffic?: string;
|
|
1646
|
+
/**
|
|
1647
|
+
* <p>[Network Load Balancers with UDP listeners] Indicates whether to use an IPv6 prefix
|
|
1648
|
+
* from each subnet for source NAT. The IP address type must be <code>dualstack</code>.
|
|
1649
|
+
* The default value is <code>off</code>.</p>
|
|
1650
|
+
* @public
|
|
1651
|
+
*/
|
|
1652
|
+
EnablePrefixForIpv6SourceNat?: EnablePrefixForIpv6SourceNatEnum;
|
|
1622
1653
|
}
|
|
1623
1654
|
/**
|
|
1624
1655
|
* @public
|
|
@@ -1877,7 +1908,7 @@ export interface SourceIpConditionConfig {
|
|
|
1877
1908
|
* <code>http-request-method</code>, <code>host-header</code>, <code>path-pattern</code>, and
|
|
1878
1909
|
* <code>source-ip</code>. Each rule can also optionally include one or more of each of the
|
|
1879
1910
|
* following conditions: <code>http-header</code> and <code>query-string</code>. Note that the
|
|
1880
|
-
* value for a condition
|
|
1911
|
+
* value for a condition can't be empty.</p>
|
|
1881
1912
|
* <p>For more information, see <a href="https://docs.aws.amazon.com/elasticloadbalancing/latest/application/load-balancer-limits.html">Quotas for your
|
|
1882
1913
|
* Application Load Balancers</a>.</p>
|
|
1883
1914
|
* @public
|
|
@@ -2231,7 +2262,7 @@ export interface CreateTargetGroupInput {
|
|
|
2231
2262
|
* <p>Indicates whether health checks are enabled. If the target type is <code>lambda</code>,
|
|
2232
2263
|
* health checks are disabled by default but can be enabled. If the target type is
|
|
2233
2264
|
* <code>instance</code>, <code>ip</code>, or <code>alb</code>, health checks are always
|
|
2234
|
-
* enabled and
|
|
2265
|
+
* enabled and can't be disabled.</p>
|
|
2235
2266
|
* @public
|
|
2236
2267
|
*/
|
|
2237
2268
|
HealthCheckEnabled?: boolean;
|
|
@@ -2318,9 +2349,7 @@ export interface CreateTargetGroupInput {
|
|
|
2318
2349
|
*/
|
|
2319
2350
|
Tags?: Tag[];
|
|
2320
2351
|
/**
|
|
2321
|
-
* <p>The
|
|
2322
|
-
* <code>ipv4</code> and <code>ipv6</code>. This is an optional parameter. If not specified,
|
|
2323
|
-
* the IP address type defaults to <code>ipv4</code>.</p>
|
|
2352
|
+
* <p>The IP address type. The default value is <code>ipv4</code>.</p>
|
|
2324
2353
|
* @public
|
|
2325
2354
|
*/
|
|
2326
2355
|
IpAddressType?: TargetGroupIpAddressTypeEnum;
|
|
@@ -2429,9 +2458,7 @@ export interface TargetGroup {
|
|
|
2429
2458
|
*/
|
|
2430
2459
|
ProtocolVersion?: string;
|
|
2431
2460
|
/**
|
|
2432
|
-
* <p>The
|
|
2433
|
-
* <code>ipv4</code> and <code>ipv6</code>. This is an optional parameter. If not specified,
|
|
2434
|
-
* the IP address type defaults to <code>ipv4</code>.</p>
|
|
2461
|
+
* <p>The IP address type. The default value is <code>ipv4</code>.</p>
|
|
2435
2462
|
* @public
|
|
2436
2463
|
*/
|
|
2437
2464
|
IpAddressType?: TargetGroupIpAddressTypeEnum;
|
|
@@ -2465,7 +2492,7 @@ export declare class DuplicateTargetGroupNameException extends __BaseException {
|
|
|
2465
2492
|
export interface CreateTrustStoreInput {
|
|
2466
2493
|
/**
|
|
2467
2494
|
* <p>The name of the trust store.</p>
|
|
2468
|
-
* <p>This name must be unique per region and
|
|
2495
|
+
* <p>This name must be unique per region and can't be changed after creation.</p>
|
|
2469
2496
|
* @public
|
|
2470
2497
|
*/
|
|
2471
2498
|
Name: string | undefined;
|
|
@@ -2583,7 +2610,7 @@ export declare class TooManyTrustStoresException extends __BaseException {
|
|
|
2583
2610
|
constructor(opts: __ExceptionOptionType<TooManyTrustStoresException, __BaseException>);
|
|
2584
2611
|
}
|
|
2585
2612
|
/**
|
|
2586
|
-
* <p>The specified association
|
|
2613
|
+
* <p>The specified association can't be within the same account.</p>
|
|
2587
2614
|
* @public
|
|
2588
2615
|
*/
|
|
2589
2616
|
export declare class DeleteAssociationSameAccountException extends __BaseException {
|
|
@@ -3072,7 +3099,7 @@ export interface LoadBalancerAttribute {
|
|
|
3072
3099
|
* <code>load_balancing.cross_zone.enabled</code> - Indicates whether cross-zone load
|
|
3073
3100
|
* balancing is enabled. The possible values are <code>true</code> and <code>false</code>.
|
|
3074
3101
|
* The default for Network Load Balancers and Gateway Load Balancers is <code>false</code>.
|
|
3075
|
-
* The default for Application Load Balancers is <code>true</code>, and
|
|
3102
|
+
* The default for Application Load Balancers is <code>true</code>, and can't be changed.</p>
|
|
3076
3103
|
* </li>
|
|
3077
3104
|
* </ul>
|
|
3078
3105
|
* <p>The following attributes are supported by both Application Load Balancers and Network Load
|
|
@@ -3605,7 +3632,7 @@ export interface TargetGroupAttribute {
|
|
|
3605
3632
|
* <code>preserve_client_ip.enabled</code> - Indicates whether client IP preservation is
|
|
3606
3633
|
* enabled. The value is <code>true</code> or <code>false</code>. The default is disabled if
|
|
3607
3634
|
* the target group type is IP address and the target group protocol is TCP or TLS.
|
|
3608
|
-
* Otherwise, the default is enabled. Client IP preservation
|
|
3635
|
+
* Otherwise, the default is enabled. Client IP preservation can't be disabled for UDP and
|
|
3609
3636
|
* TCP_UDP target groups.</p>
|
|
3610
3637
|
* </li>
|
|
3611
3638
|
* <li>
|
|
@@ -3649,7 +3676,7 @@ export interface TargetGroupAttribute {
|
|
|
3649
3676
|
* <code>rebalance</code> and <code>no_rebalance</code>. The default is
|
|
3650
3677
|
* <code>no_rebalance</code>. The two attributes
|
|
3651
3678
|
* (<code>target_failover.on_deregistration</code> and
|
|
3652
|
-
* <code>target_failover.on_unhealthy</code>)
|
|
3679
|
+
* <code>target_failover.on_unhealthy</code>) can't be set independently. The value you
|
|
3653
3680
|
* set for both attributes must be the same. </p>
|
|
3654
3681
|
* </li>
|
|
3655
3682
|
* </ul>
|
|
@@ -4212,7 +4239,7 @@ export interface ModifyListenerInput {
|
|
|
4212
4239
|
*/
|
|
4213
4240
|
ListenerArn: string | undefined;
|
|
4214
4241
|
/**
|
|
4215
|
-
* <p>The port for connections from clients to the load balancer. You
|
|
4242
|
+
* <p>The port for connections from clients to the load balancer. You can't specify a port for
|
|
4216
4243
|
* a Gateway Load Balancer.</p>
|
|
4217
4244
|
* @public
|
|
4218
4245
|
*/
|
|
@@ -4221,7 +4248,7 @@ export interface ModifyListenerInput {
|
|
|
4221
4248
|
* <p>The protocol for connections from clients to the load balancer. Application Load Balancers
|
|
4222
4249
|
* support the HTTP and HTTPS protocols. Network Load Balancers support the TCP, TLS, UDP, and
|
|
4223
4250
|
* TCP_UDP protocols. You can’t change the protocol to UDP or TCP_UDP if dual-stack mode is
|
|
4224
|
-
* enabled. You
|
|
4251
|
+
* enabled. You can't specify a protocol for a Gateway Load Balancer.</p>
|
|
4225
4252
|
* @public
|
|
4226
4253
|
*/
|
|
4227
4254
|
Protocol?: ProtocolEnum;
|
|
@@ -4607,22 +4634,16 @@ export interface SetIpAddressTypeInput {
|
|
|
4607
4634
|
*/
|
|
4608
4635
|
LoadBalancerArn: string | undefined;
|
|
4609
4636
|
/**
|
|
4610
|
-
* <p>
|
|
4611
|
-
* <p>[Application Load Balancers] The
|
|
4612
|
-
* <code>
|
|
4613
|
-
* IPv6 addresses
|
|
4614
|
-
*
|
|
4615
|
-
* <p>Note: Application Load Balancer authentication only supports IPv4 addresses when
|
|
4637
|
+
* <p>The IP address type. Internal load balancers must use <code>ipv4</code>.</p>
|
|
4638
|
+
* <p>[Application Load Balancers] The possible values are <code>ipv4</code> (IPv4 addresses),
|
|
4639
|
+
* <code>dualstack</code> (IPv4 and IPv6 addresses), and <code>dualstack-without-public-ipv4</code>
|
|
4640
|
+
* (public IPv6 addresses and private IPv4 and IPv6 addresses).</p>
|
|
4641
|
+
* <p>Application Load Balancer authentication supports IPv4 addresses only when
|
|
4616
4642
|
* connecting to an Identity Provider (IdP) or Amazon Cognito endpoint. Without a public
|
|
4617
|
-
* IPv4 address the load balancer
|
|
4643
|
+
* IPv4 address the load balancer can't complete the authentication process, resulting
|
|
4618
4644
|
* in HTTP 500 errors.</p>
|
|
4619
|
-
* <p>[Network Load Balancers
|
|
4620
|
-
*
|
|
4621
|
-
* (for IPv4 and IPv6 addresses). You can’t specify <code>dualstack</code>
|
|
4622
|
-
* for a load balancer with a UDP or TCP_UDP listener.</p>
|
|
4623
|
-
* <p>[Gateway Load Balancers] The IP address type. The possible values are
|
|
4624
|
-
* <code>ipv4</code> (for only IPv4 addresses) and <code>dualstack</code>
|
|
4625
|
-
* (for IPv4 and IPv6 addresses).</p>
|
|
4645
|
+
* <p>[Network Load Balancers and Gateway Load Balancers] The possible values are <code>ipv4</code>
|
|
4646
|
+
* (IPv4 addresses) and <code>dualstack</code> (IPv4 and IPv6 addresses).</p>
|
|
4626
4647
|
* @public
|
|
4627
4648
|
*/
|
|
4628
4649
|
IpAddressType: IpAddressType | undefined;
|
|
@@ -4739,10 +4760,8 @@ export interface SetSubnetsInput {
|
|
|
4739
4760
|
* <p>[Application Load Balancers on Outposts] You must specify one Outpost subnet.</p>
|
|
4740
4761
|
* <p>[Application Load Balancers on Local Zones] You can specify subnets from one or more Local
|
|
4741
4762
|
* Zones.</p>
|
|
4742
|
-
* <p>[Network Load Balancers] You can specify subnets from one or more
|
|
4743
|
-
* Zones.</p>
|
|
4744
|
-
* <p>[Gateway Load Balancers] You can specify subnets from one or more Availability
|
|
4745
|
-
* Zones.</p>
|
|
4763
|
+
* <p>[Network Load Balancers and Gateway Load Balancers] You can specify subnets from one or more
|
|
4764
|
+
* Availability Zones.</p>
|
|
4746
4765
|
* @public
|
|
4747
4766
|
*/
|
|
4748
4767
|
Subnets?: string[];
|
|
@@ -4750,7 +4769,7 @@ export interface SetSubnetsInput {
|
|
|
4750
4769
|
* <p>The IDs of the public subnets. You can specify only one subnet per Availability Zone. You
|
|
4751
4770
|
* must specify either subnets or subnet mappings.</p>
|
|
4752
4771
|
* <p>[Application Load Balancers] You must specify subnets from at least two Availability
|
|
4753
|
-
* Zones. You
|
|
4772
|
+
* Zones. You can't specify Elastic IP addresses for your subnets.</p>
|
|
4754
4773
|
* <p>[Application Load Balancers on Outposts] You must specify one Outpost subnet.</p>
|
|
4755
4774
|
* <p>[Application Load Balancers on Local Zones] You can specify subnets from one or more Local
|
|
4756
4775
|
* Zones.</p>
|
|
@@ -4765,20 +4784,22 @@ export interface SetSubnetsInput {
|
|
|
4765
4784
|
*/
|
|
4766
4785
|
SubnetMappings?: SubnetMapping[];
|
|
4767
4786
|
/**
|
|
4768
|
-
* <p>
|
|
4769
|
-
*
|
|
4770
|
-
* IPv6 addresses), and <code>dualstack-without-public-ipv4</code>
|
|
4771
|
-
* addresses
|
|
4772
|
-
* <p>[Network Load Balancers
|
|
4773
|
-
*
|
|
4774
|
-
* <code>dualstack</code> (for IPv4 and IPv6 addresses). You can’t specify
|
|
4775
|
-
* <code>dualstack</code> for a load balancer with a UDP or TCP_UDP listener.</p>
|
|
4776
|
-
* <p>[Gateway Load Balancers] The type of IP addresses used by the subnets for your load
|
|
4777
|
-
* balancer. The possible values are <code>ipv4</code> (for IPv4 addresses) and
|
|
4778
|
-
* <code>dualstack</code> (for IPv4 and IPv6 addresses).</p>
|
|
4787
|
+
* <p>The IP address type.</p>
|
|
4788
|
+
* <p>[Application Load Balancers] The possible values are <code>ipv4</code> (IPv4 addresses),
|
|
4789
|
+
* <code>dualstack</code> (IPv4 and IPv6 addresses), and <code>dualstack-without-public-ipv4</code>
|
|
4790
|
+
* (public IPv6 addresses and private IPv4 and IPv6 addresses).</p>
|
|
4791
|
+
* <p>[Network Load Balancers and Gateway Load Balancers] The possible values are <code>ipv4</code>
|
|
4792
|
+
* (IPv4 addresses) and <code>dualstack</code> (IPv4 and IPv6 addresses).</p>
|
|
4779
4793
|
* @public
|
|
4780
4794
|
*/
|
|
4781
4795
|
IpAddressType?: IpAddressType;
|
|
4796
|
+
/**
|
|
4797
|
+
* <p>[Network Load Balancers with UDP listeners] Indicates whether to use an IPv6 prefix
|
|
4798
|
+
* from each subnet for source NAT. The IP address type must be <code>dualstack</code>.
|
|
4799
|
+
* The default value is <code>off</code>.</p>
|
|
4800
|
+
* @public
|
|
4801
|
+
*/
|
|
4802
|
+
EnablePrefixForIpv6SourceNat?: EnablePrefixForIpv6SourceNatEnum;
|
|
4782
4803
|
}
|
|
4783
4804
|
/**
|
|
4784
4805
|
* @public
|
|
@@ -4790,10 +4811,13 @@ export interface SetSubnetsOutput {
|
|
|
4790
4811
|
*/
|
|
4791
4812
|
AvailabilityZones?: AvailabilityZone[];
|
|
4792
4813
|
/**
|
|
4793
|
-
* <p>
|
|
4794
|
-
* <p>[Network Load Balancers] The IP address type.</p>
|
|
4795
|
-
* <p>[Gateway Load Balancers] The IP address type.</p>
|
|
4814
|
+
* <p>The IP address type.</p>
|
|
4796
4815
|
* @public
|
|
4797
4816
|
*/
|
|
4798
4817
|
IpAddressType?: IpAddressType;
|
|
4818
|
+
/**
|
|
4819
|
+
* <p>[Network Load Balancers] Indicates whether to use an IPv6 prefix from each subnet for source NAT.</p>
|
|
4820
|
+
* @public
|
|
4821
|
+
*/
|
|
4822
|
+
EnablePrefixForIpv6SourceNat?: EnablePrefixForIpv6SourceNatEnum;
|
|
4799
4823
|
}
|
|
@@ -304,6 +304,7 @@ export interface AvailabilityZone {
|
|
|
304
304
|
SubnetId?: string;
|
|
305
305
|
OutpostId?: string;
|
|
306
306
|
LoadBalancerAddresses?: LoadBalancerAddress[];
|
|
307
|
+
SourceNatIpv6Prefixes?: string[];
|
|
307
308
|
}
|
|
308
309
|
export declare class AvailabilityZoneNotSupportedException extends __BaseException {
|
|
309
310
|
readonly name: "AvailabilityZoneNotSupportedException";
|
|
@@ -497,6 +498,12 @@ export declare class UnsupportedProtocolException extends __BaseException {
|
|
|
497
498
|
opts: __ExceptionOptionType<UnsupportedProtocolException, __BaseException>
|
|
498
499
|
);
|
|
499
500
|
}
|
|
501
|
+
export declare const EnablePrefixForIpv6SourceNatEnum: {
|
|
502
|
+
readonly OFF: "off";
|
|
503
|
+
readonly ON: "on";
|
|
504
|
+
};
|
|
505
|
+
export type EnablePrefixForIpv6SourceNatEnum =
|
|
506
|
+
(typeof EnablePrefixForIpv6SourceNatEnum)[keyof typeof EnablePrefixForIpv6SourceNatEnum];
|
|
500
507
|
export declare const IpAddressType: {
|
|
501
508
|
readonly DUALSTACK: "dualstack";
|
|
502
509
|
readonly DUALSTACK_WITHOUT_PUBLIC_IPV4: "dualstack-without-public-ipv4";
|
|
@@ -514,6 +521,7 @@ export interface SubnetMapping {
|
|
|
514
521
|
AllocationId?: string;
|
|
515
522
|
PrivateIPv4Address?: string;
|
|
516
523
|
IPv6Address?: string;
|
|
524
|
+
SourceNatIpv6Prefix?: string;
|
|
517
525
|
}
|
|
518
526
|
export declare const LoadBalancerTypeEnum: {
|
|
519
527
|
readonly APPLICATION: "application";
|
|
@@ -532,6 +540,7 @@ export interface CreateLoadBalancerInput {
|
|
|
532
540
|
Type?: LoadBalancerTypeEnum;
|
|
533
541
|
IpAddressType?: IpAddressType;
|
|
534
542
|
CustomerOwnedIpv4Pool?: string;
|
|
543
|
+
EnablePrefixForIpv6SourceNat?: EnablePrefixForIpv6SourceNatEnum;
|
|
535
544
|
}
|
|
536
545
|
export declare const LoadBalancerStateEnum: {
|
|
537
546
|
readonly ACTIVE: "active";
|
|
@@ -560,6 +569,7 @@ export interface LoadBalancer {
|
|
|
560
569
|
IpAddressType?: IpAddressType;
|
|
561
570
|
CustomerOwnedIpv4Pool?: string;
|
|
562
571
|
EnforceSecurityGroupInboundRulesOnPrivateLinkTraffic?: string;
|
|
572
|
+
EnablePrefixForIpv6SourceNat?: EnablePrefixForIpv6SourceNatEnum;
|
|
563
573
|
}
|
|
564
574
|
export interface CreateLoadBalancerOutput {
|
|
565
575
|
LoadBalancers?: LoadBalancer[];
|
|
@@ -1277,8 +1287,10 @@ export interface SetSubnetsInput {
|
|
|
1277
1287
|
Subnets?: string[];
|
|
1278
1288
|
SubnetMappings?: SubnetMapping[];
|
|
1279
1289
|
IpAddressType?: IpAddressType;
|
|
1290
|
+
EnablePrefixForIpv6SourceNat?: EnablePrefixForIpv6SourceNatEnum;
|
|
1280
1291
|
}
|
|
1281
1292
|
export interface SetSubnetsOutput {
|
|
1282
1293
|
AvailabilityZones?: AvailabilityZone[];
|
|
1283
1294
|
IpAddressType?: IpAddressType;
|
|
1295
|
+
EnablePrefixForIpv6SourceNat?: EnablePrefixForIpv6SourceNatEnum;
|
|
1284
1296
|
}
|
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.686.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-elastic-load-balancing-v2",
|
|
@@ -20,45 +20,45 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/client-sso-oidc": "3.
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/core": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
27
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
28
|
-
"@aws-sdk/middleware-logger": "3.
|
|
29
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
30
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
31
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
32
|
-
"@aws-sdk/types": "3.
|
|
33
|
-
"@aws-sdk/util-endpoints": "3.
|
|
34
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
35
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
36
|
-
"@smithy/config-resolver": "^3.0.
|
|
37
|
-
"@smithy/core": "^2.
|
|
38
|
-
"@smithy/fetch-http-handler": "^
|
|
39
|
-
"@smithy/hash-node": "^3.0.
|
|
40
|
-
"@smithy/invalid-dependency": "^3.0.
|
|
41
|
-
"@smithy/middleware-content-length": "^3.0.
|
|
42
|
-
"@smithy/middleware-endpoint": "^3.1
|
|
43
|
-
"@smithy/middleware-retry": "^3.0.
|
|
44
|
-
"@smithy/middleware-serde": "^3.0.
|
|
45
|
-
"@smithy/middleware-stack": "^3.0.
|
|
46
|
-
"@smithy/node-config-provider": "^3.1.
|
|
47
|
-
"@smithy/node-http-handler": "^3.2.
|
|
48
|
-
"@smithy/protocol-http": "^4.1.
|
|
49
|
-
"@smithy/smithy-client": "^3.4.
|
|
50
|
-
"@smithy/types": "^3.
|
|
51
|
-
"@smithy/url-parser": "^3.0.
|
|
23
|
+
"@aws-sdk/client-sso-oidc": "3.686.0",
|
|
24
|
+
"@aws-sdk/client-sts": "3.686.0",
|
|
25
|
+
"@aws-sdk/core": "3.686.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.686.0",
|
|
27
|
+
"@aws-sdk/middleware-host-header": "3.686.0",
|
|
28
|
+
"@aws-sdk/middleware-logger": "3.686.0",
|
|
29
|
+
"@aws-sdk/middleware-recursion-detection": "3.686.0",
|
|
30
|
+
"@aws-sdk/middleware-user-agent": "3.686.0",
|
|
31
|
+
"@aws-sdk/region-config-resolver": "3.686.0",
|
|
32
|
+
"@aws-sdk/types": "3.686.0",
|
|
33
|
+
"@aws-sdk/util-endpoints": "3.686.0",
|
|
34
|
+
"@aws-sdk/util-user-agent-browser": "3.686.0",
|
|
35
|
+
"@aws-sdk/util-user-agent-node": "3.686.0",
|
|
36
|
+
"@smithy/config-resolver": "^3.0.10",
|
|
37
|
+
"@smithy/core": "^2.5.1",
|
|
38
|
+
"@smithy/fetch-http-handler": "^4.0.0",
|
|
39
|
+
"@smithy/hash-node": "^3.0.8",
|
|
40
|
+
"@smithy/invalid-dependency": "^3.0.8",
|
|
41
|
+
"@smithy/middleware-content-length": "^3.0.10",
|
|
42
|
+
"@smithy/middleware-endpoint": "^3.2.1",
|
|
43
|
+
"@smithy/middleware-retry": "^3.0.25",
|
|
44
|
+
"@smithy/middleware-serde": "^3.0.8",
|
|
45
|
+
"@smithy/middleware-stack": "^3.0.8",
|
|
46
|
+
"@smithy/node-config-provider": "^3.1.9",
|
|
47
|
+
"@smithy/node-http-handler": "^3.2.5",
|
|
48
|
+
"@smithy/protocol-http": "^4.1.5",
|
|
49
|
+
"@smithy/smithy-client": "^3.4.2",
|
|
50
|
+
"@smithy/types": "^3.6.0",
|
|
51
|
+
"@smithy/url-parser": "^3.0.8",
|
|
52
52
|
"@smithy/util-base64": "^3.0.0",
|
|
53
53
|
"@smithy/util-body-length-browser": "^3.0.0",
|
|
54
54
|
"@smithy/util-body-length-node": "^3.0.0",
|
|
55
|
-
"@smithy/util-defaults-mode-browser": "^3.0.
|
|
56
|
-
"@smithy/util-defaults-mode-node": "^3.0.
|
|
57
|
-
"@smithy/util-endpoints": "^2.1.
|
|
58
|
-
"@smithy/util-middleware": "^3.0.
|
|
59
|
-
"@smithy/util-retry": "^3.0.
|
|
55
|
+
"@smithy/util-defaults-mode-browser": "^3.0.25",
|
|
56
|
+
"@smithy/util-defaults-mode-node": "^3.0.25",
|
|
57
|
+
"@smithy/util-endpoints": "^2.1.4",
|
|
58
|
+
"@smithy/util-middleware": "^3.0.8",
|
|
59
|
+
"@smithy/util-retry": "^3.0.8",
|
|
60
60
|
"@smithy/util-utf8": "^3.0.0",
|
|
61
|
-
"@smithy/util-waiter": "^3.1.
|
|
61
|
+
"@smithy/util-waiter": "^3.1.7",
|
|
62
62
|
"tslib": "^2.6.2"
|
|
63
63
|
},
|
|
64
64
|
"devDependencies": {
|