@aws-sdk/client-ec2 3.382.0 → 3.384.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/endpoint/ruleset.js +1 -1
- package/dist-cjs/protocols/Aws_ec2.js +30 -0
- package/dist-es/endpoint/ruleset.js +1 -1
- package/dist-es/protocols/Aws_ec2.js +30 -0
- package/dist-types/commands/CreateLaunchTemplateCommand.d.ts +1 -0
- package/dist-types/commands/CreateLaunchTemplateVersionCommand.d.ts +3 -0
- package/dist-types/commands/CreateNetworkInterfaceCommand.d.ts +3 -0
- package/dist-types/commands/DescribeInstancesCommand.d.ts +1 -0
- package/dist-types/commands/DescribeLaunchTemplateVersionsCommand.d.ts +2 -0
- package/dist-types/commands/DescribeNetworkInterfacesCommand.d.ts +1 -0
- package/dist-types/commands/DescribeSpotFleetRequestsCommand.d.ts +2 -0
- package/dist-types/commands/DescribeSpotInstanceRequestsCommand.d.ts +2 -0
- package/dist-types/commands/GetLaunchTemplateDataCommand.d.ts +2 -0
- package/dist-types/commands/ModifyNetworkInterfaceAttributeCommand.d.ts +1 -0
- package/dist-types/commands/RequestSpotFleetCommand.d.ts +2 -0
- package/dist-types/commands/RequestSpotInstancesCommand.d.ts +4 -0
- package/dist-types/commands/RunInstancesCommand.d.ts +5 -0
- package/dist-types/models/models_1.d.ts +38 -3
- package/dist-types/models/models_4.d.ts +5 -0
- package/dist-types/models/models_6.d.ts +32 -0
- package/dist-types/ts3.4/models/models_1.d.ts +5 -0
- package/dist-types/ts3.4/models/models_4.d.ts +1 -0
- package/dist-types/ts3.4/models/models_6.d.ts +2 -0
- package/package.json +1 -1
|
@@ -3,5 +3,5 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.ruleSet = void 0;
|
|
4
4
|
const s = "required", t = "fn", u = "argv", v = "ref";
|
|
5
5
|
const a = "isSet", b = "tree", c = "error", d = "endpoint", e = "PartitionResult", f = "getAttr", g = { [s]: false, "type": "String" }, h = { [s]: true, "default": false, "type": "Boolean" }, i = { [v]: "Endpoint" }, j = { [t]: "booleanEquals", [u]: [{ [v]: "UseFIPS" }, true] }, k = { [t]: "booleanEquals", [u]: [{ [v]: "UseDualStack" }, true] }, l = {}, m = { [t]: "booleanEquals", [u]: [true, { [t]: f, [u]: [{ [v]: e }, "supportsFIPS"] }] }, n = { [v]: e }, o = { [t]: "booleanEquals", [u]: [true, { [t]: f, [u]: [n, "supportsDualStack"] }] }, p = [j], q = [k], r = [{ [v]: "Region" }];
|
|
6
|
-
const _data = { version: "1.0", parameters: { Region: g, UseDualStack: h, UseFIPS: h, Endpoint: g }, rules: [{ conditions: [{ [t]: a, [u]: [i] }], type: b, rules: [{ conditions: p, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, {
|
|
6
|
+
const _data = { version: "1.0", parameters: { Region: g, UseDualStack: h, UseFIPS: h, Endpoint: g }, rules: [{ conditions: [{ [t]: a, [u]: [i] }], type: b, rules: [{ conditions: p, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { conditions: q, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: i, properties: l, headers: l }, type: d }] }, { conditions: [{ [t]: a, [u]: r }], type: b, rules: [{ conditions: [{ [t]: "aws.partition", [u]: r, assign: e }], type: b, rules: [{ conditions: [j, k], type: b, rules: [{ conditions: [m, o], type: b, rules: [{ endpoint: { url: "https://ec2-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: d }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: p, type: b, rules: [{ conditions: [m], type: b, rules: [{ conditions: [{ [t]: "stringEquals", [u]: ["aws-us-gov", { [t]: f, [u]: [n, "name"] }] }], endpoint: { url: "https://ec2.{Region}.amazonaws.com", properties: l, headers: l }, type: d }, { endpoint: { url: "https://ec2-fips.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: d }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: q, type: b, rules: [{ conditions: [o], type: b, rules: [{ endpoint: { url: "https://ec2.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: d }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { endpoint: { url: "https://ec2.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: d }] }] }, { error: "Invalid Configuration: Missing Region", type: c }] };
|
|
7
7
|
exports.ruleSet = _data;
|
|
@@ -25768,6 +25768,9 @@ const se_CreateNetworkInterfaceRequest = (input, context) => {
|
|
|
25768
25768
|
if (input.ClientToken != null) {
|
|
25769
25769
|
entries["ClientToken"] = input.ClientToken;
|
|
25770
25770
|
}
|
|
25771
|
+
if (input.EnablePrimaryIpv6 != null) {
|
|
25772
|
+
entries["EnablePrimaryIpv6"] = input.EnablePrimaryIpv6;
|
|
25773
|
+
}
|
|
25771
25774
|
return entries;
|
|
25772
25775
|
};
|
|
25773
25776
|
const se_CreatePlacementGroupRequest = (input, context) => {
|
|
@@ -35731,6 +35734,9 @@ const se_InstanceIpv6Address = (input, context) => {
|
|
|
35731
35734
|
if (input.Ipv6Address != null) {
|
|
35732
35735
|
entries["Ipv6Address"] = input.Ipv6Address;
|
|
35733
35736
|
}
|
|
35737
|
+
if (input.IsPrimaryIpv6 != null) {
|
|
35738
|
+
entries["IsPrimaryIpv6"] = input.IsPrimaryIpv6;
|
|
35739
|
+
}
|
|
35734
35740
|
return entries;
|
|
35735
35741
|
};
|
|
35736
35742
|
const se_InstanceIpv6AddressList = (input, context) => {
|
|
@@ -35904,6 +35910,9 @@ const se_InstanceNetworkInterfaceSpecification = (input, context) => {
|
|
|
35904
35910
|
if (input.Ipv6PrefixCount != null) {
|
|
35905
35911
|
entries["Ipv6PrefixCount"] = input.Ipv6PrefixCount;
|
|
35906
35912
|
}
|
|
35913
|
+
if (input.PrimaryIpv6 != null) {
|
|
35914
|
+
entries["PrimaryIpv6"] = input.PrimaryIpv6;
|
|
35915
|
+
}
|
|
35907
35916
|
return entries;
|
|
35908
35917
|
};
|
|
35909
35918
|
const se_InstanceNetworkInterfaceSpecificationList = (input, context) => {
|
|
@@ -37011,6 +37020,9 @@ const se_LaunchTemplateInstanceNetworkInterfaceSpecificationRequest = (input, co
|
|
|
37011
37020
|
if (input.Ipv6PrefixCount != null) {
|
|
37012
37021
|
entries["Ipv6PrefixCount"] = input.Ipv6PrefixCount;
|
|
37013
37022
|
}
|
|
37023
|
+
if (input.PrimaryIpv6 != null) {
|
|
37024
|
+
entries["PrimaryIpv6"] = input.PrimaryIpv6;
|
|
37025
|
+
}
|
|
37014
37026
|
return entries;
|
|
37015
37027
|
};
|
|
37016
37028
|
const se_LaunchTemplateInstanceNetworkInterfaceSpecificationRequestList = (input, context) => {
|
|
@@ -38412,6 +38424,9 @@ const se_ModifyNetworkInterfaceAttributeRequest = (input, context) => {
|
|
|
38412
38424
|
entries[loc] = value;
|
|
38413
38425
|
});
|
|
38414
38426
|
}
|
|
38427
|
+
if (input.EnablePrimaryIpv6 != null) {
|
|
38428
|
+
entries["EnablePrimaryIpv6"] = input.EnablePrimaryIpv6;
|
|
38429
|
+
}
|
|
38415
38430
|
return entries;
|
|
38416
38431
|
};
|
|
38417
38432
|
const se_ModifyPrivateDnsNameOptionsRequest = (input, context) => {
|
|
@@ -42422,6 +42437,9 @@ const se_RunInstancesRequest = (input, context) => {
|
|
|
42422
42437
|
if (input.DisableApiStop != null) {
|
|
42423
42438
|
entries["DisableApiStop"] = input.DisableApiStop;
|
|
42424
42439
|
}
|
|
42440
|
+
if (input.EnablePrimaryIpv6 != null) {
|
|
42441
|
+
entries["EnablePrimaryIpv6"] = input.EnablePrimaryIpv6;
|
|
42442
|
+
}
|
|
42425
42443
|
return entries;
|
|
42426
42444
|
};
|
|
42427
42445
|
const se_RunScheduledInstancesRequest = (input, context) => {
|
|
@@ -54516,6 +54534,9 @@ const de_InstanceIpv6Address = (output, context) => {
|
|
|
54516
54534
|
if (output["ipv6Address"] !== undefined) {
|
|
54517
54535
|
contents.Ipv6Address = (0, smithy_client_1.expectString)(output["ipv6Address"]);
|
|
54518
54536
|
}
|
|
54537
|
+
if (output["isPrimaryIpv6"] !== undefined) {
|
|
54538
|
+
contents.IsPrimaryIpv6 = (0, smithy_client_1.parseBoolean)(output["isPrimaryIpv6"]);
|
|
54539
|
+
}
|
|
54519
54540
|
return contents;
|
|
54520
54541
|
};
|
|
54521
54542
|
const de_InstanceIpv6AddressList = (output, context) => {
|
|
@@ -54787,6 +54808,9 @@ const de_InstanceNetworkInterfaceSpecification = (output, context) => {
|
|
|
54787
54808
|
if (output["Ipv6PrefixCount"] !== undefined) {
|
|
54788
54809
|
contents.Ipv6PrefixCount = (0, smithy_client_1.strictParseInt32)(output["Ipv6PrefixCount"]);
|
|
54789
54810
|
}
|
|
54811
|
+
if (output["PrimaryIpv6"] !== undefined) {
|
|
54812
|
+
contents.PrimaryIpv6 = (0, smithy_client_1.parseBoolean)(output["PrimaryIpv6"]);
|
|
54813
|
+
}
|
|
54790
54814
|
return contents;
|
|
54791
54815
|
};
|
|
54792
54816
|
const de_InstanceNetworkInterfaceSpecificationList = (output, context) => {
|
|
@@ -56551,6 +56575,9 @@ const de_LaunchTemplateInstanceNetworkInterfaceSpecification = (output, context)
|
|
|
56551
56575
|
if (output["ipv6PrefixCount"] !== undefined) {
|
|
56552
56576
|
contents.Ipv6PrefixCount = (0, smithy_client_1.strictParseInt32)(output["ipv6PrefixCount"]);
|
|
56553
56577
|
}
|
|
56578
|
+
if (output["primaryIpv6"] !== undefined) {
|
|
56579
|
+
contents.PrimaryIpv6 = (0, smithy_client_1.parseBoolean)(output["primaryIpv6"]);
|
|
56580
|
+
}
|
|
56554
56581
|
return contents;
|
|
56555
56582
|
};
|
|
56556
56583
|
const de_LaunchTemplateInstanceNetworkInterfaceSpecificationList = (output, context) => {
|
|
@@ -58349,6 +58376,9 @@ const de_NetworkInterfaceIpv6Address = (output, context) => {
|
|
|
58349
58376
|
if (output["ipv6Address"] !== undefined) {
|
|
58350
58377
|
contents.Ipv6Address = (0, smithy_client_1.expectString)(output["ipv6Address"]);
|
|
58351
58378
|
}
|
|
58379
|
+
if (output["isPrimaryIpv6"] !== undefined) {
|
|
58380
|
+
contents.IsPrimaryIpv6 = (0, smithy_client_1.parseBoolean)(output["isPrimaryIpv6"]);
|
|
58381
|
+
}
|
|
58352
58382
|
return contents;
|
|
58353
58383
|
};
|
|
58354
58384
|
const de_NetworkInterfaceIpv6AddressesList = (output, context) => {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
const s = "required", t = "fn", u = "argv", v = "ref";
|
|
2
2
|
const a = "isSet", b = "tree", c = "error", d = "endpoint", e = "PartitionResult", f = "getAttr", g = { [s]: false, "type": "String" }, h = { [s]: true, "default": false, "type": "Boolean" }, i = { [v]: "Endpoint" }, j = { [t]: "booleanEquals", [u]: [{ [v]: "UseFIPS" }, true] }, k = { [t]: "booleanEquals", [u]: [{ [v]: "UseDualStack" }, true] }, l = {}, m = { [t]: "booleanEquals", [u]: [true, { [t]: f, [u]: [{ [v]: e }, "supportsFIPS"] }] }, n = { [v]: e }, o = { [t]: "booleanEquals", [u]: [true, { [t]: f, [u]: [n, "supportsDualStack"] }] }, p = [j], q = [k], r = [{ [v]: "Region" }];
|
|
3
|
-
const _data = { version: "1.0", parameters: { Region: g, UseDualStack: h, UseFIPS: h, Endpoint: g }, rules: [{ conditions: [{ [t]: a, [u]: [i] }], type: b, rules: [{ conditions: p, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, {
|
|
3
|
+
const _data = { version: "1.0", parameters: { Region: g, UseDualStack: h, UseFIPS: h, Endpoint: g }, rules: [{ conditions: [{ [t]: a, [u]: [i] }], type: b, rules: [{ conditions: p, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { conditions: q, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: i, properties: l, headers: l }, type: d }] }, { conditions: [{ [t]: a, [u]: r }], type: b, rules: [{ conditions: [{ [t]: "aws.partition", [u]: r, assign: e }], type: b, rules: [{ conditions: [j, k], type: b, rules: [{ conditions: [m, o], type: b, rules: [{ endpoint: { url: "https://ec2-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: d }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: p, type: b, rules: [{ conditions: [m], type: b, rules: [{ conditions: [{ [t]: "stringEquals", [u]: ["aws-us-gov", { [t]: f, [u]: [n, "name"] }] }], endpoint: { url: "https://ec2.{Region}.amazonaws.com", properties: l, headers: l }, type: d }, { endpoint: { url: "https://ec2-fips.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: d }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: q, type: b, rules: [{ conditions: [o], type: b, rules: [{ endpoint: { url: "https://ec2.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: d }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { endpoint: { url: "https://ec2.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: d }] }] }, { error: "Invalid Configuration: Missing Region", type: c }] };
|
|
4
4
|
export const ruleSet = _data;
|
|
@@ -24554,6 +24554,9 @@ const se_CreateNetworkInterfaceRequest = (input, context) => {
|
|
|
24554
24554
|
if (input.ClientToken != null) {
|
|
24555
24555
|
entries["ClientToken"] = input.ClientToken;
|
|
24556
24556
|
}
|
|
24557
|
+
if (input.EnablePrimaryIpv6 != null) {
|
|
24558
|
+
entries["EnablePrimaryIpv6"] = input.EnablePrimaryIpv6;
|
|
24559
|
+
}
|
|
24557
24560
|
return entries;
|
|
24558
24561
|
};
|
|
24559
24562
|
const se_CreatePlacementGroupRequest = (input, context) => {
|
|
@@ -34517,6 +34520,9 @@ const se_InstanceIpv6Address = (input, context) => {
|
|
|
34517
34520
|
if (input.Ipv6Address != null) {
|
|
34518
34521
|
entries["Ipv6Address"] = input.Ipv6Address;
|
|
34519
34522
|
}
|
|
34523
|
+
if (input.IsPrimaryIpv6 != null) {
|
|
34524
|
+
entries["IsPrimaryIpv6"] = input.IsPrimaryIpv6;
|
|
34525
|
+
}
|
|
34520
34526
|
return entries;
|
|
34521
34527
|
};
|
|
34522
34528
|
const se_InstanceIpv6AddressList = (input, context) => {
|
|
@@ -34690,6 +34696,9 @@ const se_InstanceNetworkInterfaceSpecification = (input, context) => {
|
|
|
34690
34696
|
if (input.Ipv6PrefixCount != null) {
|
|
34691
34697
|
entries["Ipv6PrefixCount"] = input.Ipv6PrefixCount;
|
|
34692
34698
|
}
|
|
34699
|
+
if (input.PrimaryIpv6 != null) {
|
|
34700
|
+
entries["PrimaryIpv6"] = input.PrimaryIpv6;
|
|
34701
|
+
}
|
|
34693
34702
|
return entries;
|
|
34694
34703
|
};
|
|
34695
34704
|
const se_InstanceNetworkInterfaceSpecificationList = (input, context) => {
|
|
@@ -35797,6 +35806,9 @@ const se_LaunchTemplateInstanceNetworkInterfaceSpecificationRequest = (input, co
|
|
|
35797
35806
|
if (input.Ipv6PrefixCount != null) {
|
|
35798
35807
|
entries["Ipv6PrefixCount"] = input.Ipv6PrefixCount;
|
|
35799
35808
|
}
|
|
35809
|
+
if (input.PrimaryIpv6 != null) {
|
|
35810
|
+
entries["PrimaryIpv6"] = input.PrimaryIpv6;
|
|
35811
|
+
}
|
|
35800
35812
|
return entries;
|
|
35801
35813
|
};
|
|
35802
35814
|
const se_LaunchTemplateInstanceNetworkInterfaceSpecificationRequestList = (input, context) => {
|
|
@@ -37198,6 +37210,9 @@ const se_ModifyNetworkInterfaceAttributeRequest = (input, context) => {
|
|
|
37198
37210
|
entries[loc] = value;
|
|
37199
37211
|
});
|
|
37200
37212
|
}
|
|
37213
|
+
if (input.EnablePrimaryIpv6 != null) {
|
|
37214
|
+
entries["EnablePrimaryIpv6"] = input.EnablePrimaryIpv6;
|
|
37215
|
+
}
|
|
37201
37216
|
return entries;
|
|
37202
37217
|
};
|
|
37203
37218
|
const se_ModifyPrivateDnsNameOptionsRequest = (input, context) => {
|
|
@@ -41208,6 +41223,9 @@ const se_RunInstancesRequest = (input, context) => {
|
|
|
41208
41223
|
if (input.DisableApiStop != null) {
|
|
41209
41224
|
entries["DisableApiStop"] = input.DisableApiStop;
|
|
41210
41225
|
}
|
|
41226
|
+
if (input.EnablePrimaryIpv6 != null) {
|
|
41227
|
+
entries["EnablePrimaryIpv6"] = input.EnablePrimaryIpv6;
|
|
41228
|
+
}
|
|
41211
41229
|
return entries;
|
|
41212
41230
|
};
|
|
41213
41231
|
const se_RunScheduledInstancesRequest = (input, context) => {
|
|
@@ -53302,6 +53320,9 @@ const de_InstanceIpv6Address = (output, context) => {
|
|
|
53302
53320
|
if (output["ipv6Address"] !== undefined) {
|
|
53303
53321
|
contents.Ipv6Address = __expectString(output["ipv6Address"]);
|
|
53304
53322
|
}
|
|
53323
|
+
if (output["isPrimaryIpv6"] !== undefined) {
|
|
53324
|
+
contents.IsPrimaryIpv6 = __parseBoolean(output["isPrimaryIpv6"]);
|
|
53325
|
+
}
|
|
53305
53326
|
return contents;
|
|
53306
53327
|
};
|
|
53307
53328
|
const de_InstanceIpv6AddressList = (output, context) => {
|
|
@@ -53573,6 +53594,9 @@ const de_InstanceNetworkInterfaceSpecification = (output, context) => {
|
|
|
53573
53594
|
if (output["Ipv6PrefixCount"] !== undefined) {
|
|
53574
53595
|
contents.Ipv6PrefixCount = __strictParseInt32(output["Ipv6PrefixCount"]);
|
|
53575
53596
|
}
|
|
53597
|
+
if (output["PrimaryIpv6"] !== undefined) {
|
|
53598
|
+
contents.PrimaryIpv6 = __parseBoolean(output["PrimaryIpv6"]);
|
|
53599
|
+
}
|
|
53576
53600
|
return contents;
|
|
53577
53601
|
};
|
|
53578
53602
|
const de_InstanceNetworkInterfaceSpecificationList = (output, context) => {
|
|
@@ -55337,6 +55361,9 @@ const de_LaunchTemplateInstanceNetworkInterfaceSpecification = (output, context)
|
|
|
55337
55361
|
if (output["ipv6PrefixCount"] !== undefined) {
|
|
55338
55362
|
contents.Ipv6PrefixCount = __strictParseInt32(output["ipv6PrefixCount"]);
|
|
55339
55363
|
}
|
|
55364
|
+
if (output["primaryIpv6"] !== undefined) {
|
|
55365
|
+
contents.PrimaryIpv6 = __parseBoolean(output["primaryIpv6"]);
|
|
55366
|
+
}
|
|
55340
55367
|
return contents;
|
|
55341
55368
|
};
|
|
55342
55369
|
const de_LaunchTemplateInstanceNetworkInterfaceSpecificationList = (output, context) => {
|
|
@@ -57135,6 +57162,9 @@ const de_NetworkInterfaceIpv6Address = (output, context) => {
|
|
|
57135
57162
|
if (output["ipv6Address"] !== undefined) {
|
|
57136
57163
|
contents.Ipv6Address = __expectString(output["ipv6Address"]);
|
|
57137
57164
|
}
|
|
57165
|
+
if (output["isPrimaryIpv6"] !== undefined) {
|
|
57166
|
+
contents.IsPrimaryIpv6 = __parseBoolean(output["isPrimaryIpv6"]);
|
|
57167
|
+
}
|
|
57138
57168
|
return contents;
|
|
57139
57169
|
};
|
|
57140
57170
|
const de_NetworkInterfaceIpv6AddressesList = (output, context) => {
|
|
@@ -109,6 +109,7 @@ export interface CreateLaunchTemplateVersionCommandOutput extends CreateLaunchTe
|
|
|
109
109
|
* },
|
|
110
110
|
* ],
|
|
111
111
|
* Ipv6PrefixCount: Number("int"),
|
|
112
|
+
* PrimaryIpv6: true || false,
|
|
112
113
|
* },
|
|
113
114
|
* ],
|
|
114
115
|
* ImageId: "STRING_VALUE",
|
|
@@ -333,6 +334,7 @@ export interface CreateLaunchTemplateVersionCommandOutput extends CreateLaunchTe
|
|
|
333
334
|
* // Ipv6Addresses: [ // InstanceIpv6AddressList
|
|
334
335
|
* // { // InstanceIpv6Address
|
|
335
336
|
* // Ipv6Address: "STRING_VALUE",
|
|
337
|
+
* // IsPrimaryIpv6: true || false,
|
|
336
338
|
* // },
|
|
337
339
|
* // ],
|
|
338
340
|
* // NetworkInterfaceId: "STRING_VALUE",
|
|
@@ -358,6 +360,7 @@ export interface CreateLaunchTemplateVersionCommandOutput extends CreateLaunchTe
|
|
|
358
360
|
* // },
|
|
359
361
|
* // ],
|
|
360
362
|
* // Ipv6PrefixCount: Number("int"),
|
|
363
|
+
* // PrimaryIpv6: true || false,
|
|
361
364
|
* // },
|
|
362
365
|
* // ],
|
|
363
366
|
* // ImageId: "STRING_VALUE",
|
|
@@ -45,6 +45,7 @@ export interface CreateNetworkInterfaceCommandOutput extends CreateNetworkInterf
|
|
|
45
45
|
* Ipv6Addresses: [ // InstanceIpv6AddressList
|
|
46
46
|
* { // InstanceIpv6Address
|
|
47
47
|
* Ipv6Address: "STRING_VALUE",
|
|
48
|
+
* IsPrimaryIpv6: true || false,
|
|
48
49
|
* },
|
|
49
50
|
* ],
|
|
50
51
|
* PrivateIpAddress: "STRING_VALUE",
|
|
@@ -81,6 +82,7 @@ export interface CreateNetworkInterfaceCommandOutput extends CreateNetworkInterf
|
|
|
81
82
|
* },
|
|
82
83
|
* ],
|
|
83
84
|
* ClientToken: "STRING_VALUE",
|
|
85
|
+
* EnablePrimaryIpv6: true || false,
|
|
84
86
|
* };
|
|
85
87
|
* const command = new CreateNetworkInterfaceCommand(input);
|
|
86
88
|
* const response = await client.send(command);
|
|
@@ -123,6 +125,7 @@ export interface CreateNetworkInterfaceCommandOutput extends CreateNetworkInterf
|
|
|
123
125
|
* // Ipv6Addresses: [ // NetworkInterfaceIpv6AddressesList
|
|
124
126
|
* // { // NetworkInterfaceIpv6Address
|
|
125
127
|
* // Ipv6Address: "STRING_VALUE",
|
|
128
|
+
* // IsPrimaryIpv6: true || false,
|
|
126
129
|
* // },
|
|
127
130
|
* // ],
|
|
128
131
|
* // MacAddress: "STRING_VALUE",
|
|
@@ -179,6 +179,7 @@ export interface DescribeInstancesCommandOutput extends DescribeInstancesResult,
|
|
|
179
179
|
* // Ipv6Addresses: [ // InstanceIpv6AddressList
|
|
180
180
|
* // { // InstanceIpv6Address
|
|
181
181
|
* // Ipv6Address: "STRING_VALUE",
|
|
182
|
+
* // IsPrimaryIpv6: true || false,
|
|
182
183
|
* // },
|
|
183
184
|
* // ],
|
|
184
185
|
* // MacAddress: "STRING_VALUE",
|
|
@@ -105,6 +105,7 @@ export interface DescribeLaunchTemplateVersionsCommandOutput extends DescribeLau
|
|
|
105
105
|
* // Ipv6Addresses: [ // InstanceIpv6AddressList
|
|
106
106
|
* // { // InstanceIpv6Address
|
|
107
107
|
* // Ipv6Address: "STRING_VALUE",
|
|
108
|
+
* // IsPrimaryIpv6: true || false,
|
|
108
109
|
* // },
|
|
109
110
|
* // ],
|
|
110
111
|
* // NetworkInterfaceId: "STRING_VALUE",
|
|
@@ -130,6 +131,7 @@ export interface DescribeLaunchTemplateVersionsCommandOutput extends DescribeLau
|
|
|
130
131
|
* // },
|
|
131
132
|
* // ],
|
|
132
133
|
* // Ipv6PrefixCount: Number("int"),
|
|
134
|
+
* // PrimaryIpv6: true || false,
|
|
133
135
|
* // },
|
|
134
136
|
* // ],
|
|
135
137
|
* // ImageId: "STRING_VALUE",
|
|
@@ -88,6 +88,7 @@ export interface DescribeNetworkInterfacesCommandOutput extends DescribeNetworkI
|
|
|
88
88
|
* // Ipv6Addresses: [ // NetworkInterfaceIpv6AddressesList
|
|
89
89
|
* // { // NetworkInterfaceIpv6Address
|
|
90
90
|
* // Ipv6Address: "STRING_VALUE",
|
|
91
|
+
* // IsPrimaryIpv6: true || false,
|
|
91
92
|
* // },
|
|
92
93
|
* // ],
|
|
93
94
|
* // MacAddress: "STRING_VALUE",
|
|
@@ -114,6 +114,7 @@ export interface DescribeSpotFleetRequestsCommandOutput extends DescribeSpotFlee
|
|
|
114
114
|
* // Ipv6Addresses: [ // InstanceIpv6AddressList
|
|
115
115
|
* // { // InstanceIpv6Address
|
|
116
116
|
* // Ipv6Address: "STRING_VALUE",
|
|
117
|
+
* // IsPrimaryIpv6: true || false,
|
|
117
118
|
* // },
|
|
118
119
|
* // ],
|
|
119
120
|
* // NetworkInterfaceId: "STRING_VALUE",
|
|
@@ -141,6 +142,7 @@ export interface DescribeSpotFleetRequestsCommandOutput extends DescribeSpotFlee
|
|
|
141
142
|
* // },
|
|
142
143
|
* // ],
|
|
143
144
|
* // Ipv6PrefixCount: Number("int"),
|
|
145
|
+
* // PrimaryIpv6: true || false,
|
|
144
146
|
* // },
|
|
145
147
|
* // ],
|
|
146
148
|
* // Placement: { // SpotPlacement
|
|
@@ -125,6 +125,7 @@ export interface DescribeSpotInstanceRequestsCommandOutput extends DescribeSpotI
|
|
|
125
125
|
* // Ipv6Addresses: [ // InstanceIpv6AddressList
|
|
126
126
|
* // { // InstanceIpv6Address
|
|
127
127
|
* // Ipv6Address: "STRING_VALUE",
|
|
128
|
+
* // IsPrimaryIpv6: true || false,
|
|
128
129
|
* // },
|
|
129
130
|
* // ],
|
|
130
131
|
* // NetworkInterfaceId: "STRING_VALUE",
|
|
@@ -152,6 +153,7 @@ export interface DescribeSpotInstanceRequestsCommandOutput extends DescribeSpotI
|
|
|
152
153
|
* // },
|
|
153
154
|
* // ],
|
|
154
155
|
* // Ipv6PrefixCount: Number("int"),
|
|
156
|
+
* // PrimaryIpv6: true || false,
|
|
155
157
|
* // },
|
|
156
158
|
* // ],
|
|
157
159
|
* // Placement: { // SpotPlacement
|
|
@@ -83,6 +83,7 @@ export interface GetLaunchTemplateDataCommandOutput extends GetLaunchTemplateDat
|
|
|
83
83
|
* // Ipv6Addresses: [ // InstanceIpv6AddressList
|
|
84
84
|
* // { // InstanceIpv6Address
|
|
85
85
|
* // Ipv6Address: "STRING_VALUE",
|
|
86
|
+
* // IsPrimaryIpv6: true || false,
|
|
86
87
|
* // },
|
|
87
88
|
* // ],
|
|
88
89
|
* // NetworkInterfaceId: "STRING_VALUE",
|
|
@@ -108,6 +109,7 @@ export interface GetLaunchTemplateDataCommandOutput extends GetLaunchTemplateDat
|
|
|
108
109
|
* // },
|
|
109
110
|
* // ],
|
|
110
111
|
* // Ipv6PrefixCount: Number("int"),
|
|
112
|
+
* // PrimaryIpv6: true || false,
|
|
111
113
|
* // },
|
|
112
114
|
* // ],
|
|
113
115
|
* // ImageId: "STRING_VALUE",
|
|
@@ -54,6 +54,7 @@ export interface ModifyNetworkInterfaceAttributeCommandOutput extends __Metadata
|
|
|
54
54
|
* EnaSrdUdpEnabled: true || false,
|
|
55
55
|
* },
|
|
56
56
|
* },
|
|
57
|
+
* EnablePrimaryIpv6: true || false,
|
|
57
58
|
* };
|
|
58
59
|
* const command = new ModifyNetworkInterfaceAttributeCommand(input);
|
|
59
60
|
* const response = await client.send(command);
|
|
@@ -124,6 +124,7 @@ export interface RequestSpotFleetCommandOutput extends RequestSpotFleetResponse,
|
|
|
124
124
|
* Ipv6Addresses: [ // InstanceIpv6AddressList
|
|
125
125
|
* { // InstanceIpv6Address
|
|
126
126
|
* Ipv6Address: "STRING_VALUE",
|
|
127
|
+
* IsPrimaryIpv6: true || false,
|
|
127
128
|
* },
|
|
128
129
|
* ],
|
|
129
130
|
* NetworkInterfaceId: "STRING_VALUE",
|
|
@@ -151,6 +152,7 @@ export interface RequestSpotFleetCommandOutput extends RequestSpotFleetResponse,
|
|
|
151
152
|
* },
|
|
152
153
|
* ],
|
|
153
154
|
* Ipv6PrefixCount: Number("int"),
|
|
155
|
+
* PrimaryIpv6: true || false,
|
|
154
156
|
* },
|
|
155
157
|
* ],
|
|
156
158
|
* Placement: { // SpotPlacement
|
|
@@ -97,6 +97,7 @@ export interface RequestSpotInstancesCommandOutput extends RequestSpotInstancesR
|
|
|
97
97
|
* Ipv6Addresses: [ // InstanceIpv6AddressList
|
|
98
98
|
* { // InstanceIpv6Address
|
|
99
99
|
* Ipv6Address: "STRING_VALUE",
|
|
100
|
+
* IsPrimaryIpv6: true || false,
|
|
100
101
|
* },
|
|
101
102
|
* ],
|
|
102
103
|
* NetworkInterfaceId: "STRING_VALUE",
|
|
@@ -124,6 +125,7 @@ export interface RequestSpotInstancesCommandOutput extends RequestSpotInstancesR
|
|
|
124
125
|
* },
|
|
125
126
|
* ],
|
|
126
127
|
* Ipv6PrefixCount: Number("int"),
|
|
128
|
+
* PrimaryIpv6: true || false,
|
|
127
129
|
* },
|
|
128
130
|
* ],
|
|
129
131
|
* Placement: { // SpotPlacement
|
|
@@ -216,6 +218,7 @@ export interface RequestSpotInstancesCommandOutput extends RequestSpotInstancesR
|
|
|
216
218
|
* // Ipv6Addresses: [ // InstanceIpv6AddressList
|
|
217
219
|
* // { // InstanceIpv6Address
|
|
218
220
|
* // Ipv6Address: "STRING_VALUE",
|
|
221
|
+
* // IsPrimaryIpv6: true || false,
|
|
219
222
|
* // },
|
|
220
223
|
* // ],
|
|
221
224
|
* // NetworkInterfaceId: "STRING_VALUE",
|
|
@@ -243,6 +246,7 @@ export interface RequestSpotInstancesCommandOutput extends RequestSpotInstancesR
|
|
|
243
246
|
* // },
|
|
244
247
|
* // ],
|
|
245
248
|
* // Ipv6PrefixCount: Number("int"),
|
|
249
|
+
* // PrimaryIpv6: true || false,
|
|
246
250
|
* // },
|
|
247
251
|
* // ],
|
|
248
252
|
* // Placement: { // SpotPlacement
|
|
@@ -103,6 +103,7 @@ export interface RunInstancesCommandOutput extends Reservation, __MetadataBearer
|
|
|
103
103
|
* Ipv6Addresses: [ // InstanceIpv6AddressList
|
|
104
104
|
* { // InstanceIpv6Address
|
|
105
105
|
* Ipv6Address: "STRING_VALUE",
|
|
106
|
+
* IsPrimaryIpv6: true || false,
|
|
106
107
|
* },
|
|
107
108
|
* ],
|
|
108
109
|
* KernelId: "STRING_VALUE",
|
|
@@ -155,6 +156,7 @@ export interface RunInstancesCommandOutput extends Reservation, __MetadataBearer
|
|
|
155
156
|
* Ipv6Addresses: [
|
|
156
157
|
* {
|
|
157
158
|
* Ipv6Address: "STRING_VALUE",
|
|
159
|
+
* IsPrimaryIpv6: true || false,
|
|
158
160
|
* },
|
|
159
161
|
* ],
|
|
160
162
|
* NetworkInterfaceId: "STRING_VALUE",
|
|
@@ -182,6 +184,7 @@ export interface RunInstancesCommandOutput extends Reservation, __MetadataBearer
|
|
|
182
184
|
* },
|
|
183
185
|
* ],
|
|
184
186
|
* Ipv6PrefixCount: Number("int"),
|
|
187
|
+
* PrimaryIpv6: true || false,
|
|
185
188
|
* },
|
|
186
189
|
* ],
|
|
187
190
|
* PrivateIpAddress: "STRING_VALUE",
|
|
@@ -264,6 +267,7 @@ export interface RunInstancesCommandOutput extends Reservation, __MetadataBearer
|
|
|
264
267
|
* AutoRecovery: "disabled" || "default",
|
|
265
268
|
* },
|
|
266
269
|
* DisableApiStop: true || false,
|
|
270
|
+
* EnablePrimaryIpv6: true || false,
|
|
267
271
|
* };
|
|
268
272
|
* const command = new RunInstancesCommand(input);
|
|
269
273
|
* const response = await client.send(command);
|
|
@@ -380,6 +384,7 @@ export interface RunInstancesCommandOutput extends Reservation, __MetadataBearer
|
|
|
380
384
|
* // Ipv6Addresses: [ // InstanceIpv6AddressList
|
|
381
385
|
* // { // InstanceIpv6Address
|
|
382
386
|
* // Ipv6Address: "STRING_VALUE",
|
|
387
|
+
* // IsPrimaryIpv6: true || false,
|
|
383
388
|
* // },
|
|
384
389
|
* // ],
|
|
385
390
|
* // MacAddress: "STRING_VALUE",
|
|
@@ -3594,9 +3594,7 @@ export interface EbsBlockDevice {
|
|
|
3594
3594
|
/**
|
|
3595
3595
|
* @public
|
|
3596
3596
|
* <p>The ARN of the Outpost on which the snapshot is stored.</p>
|
|
3597
|
-
* <p>This parameter is
|
|
3598
|
-
* <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateImage.html">
|
|
3599
|
-
* CreateImage</a>.</p>
|
|
3597
|
+
* <p>This parameter is not supported when using <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateImage.html">CreateImage</a>.</p>
|
|
3600
3598
|
*/
|
|
3601
3599
|
OutpostArn?: string;
|
|
3602
3600
|
/**
|
|
@@ -5950,6 +5948,11 @@ export interface LaunchTemplateInstanceNetworkInterfaceSpecificationRequest {
|
|
|
5950
5948
|
* cannot use this option if you use the <code>Ipv6Prefix</code> option.</p>
|
|
5951
5949
|
*/
|
|
5952
5950
|
Ipv6PrefixCount?: number;
|
|
5951
|
+
/**
|
|
5952
|
+
* @public
|
|
5953
|
+
* <p>The primary IPv6 address of the network interface. When you enable an IPv6 GUA address to be a primary IPv6, the first IPv6 GUA will be made the primary IPv6 address until the instance is terminated or the network interface is detached. For more information about primary IPv6 addresses, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RunInstances.html">RunInstances</a>.</p>
|
|
5954
|
+
*/
|
|
5955
|
+
PrimaryIpv6?: boolean;
|
|
5953
5956
|
}
|
|
5954
5957
|
/**
|
|
5955
5958
|
* @public
|
|
@@ -6978,6 +6981,12 @@ export interface InstanceIpv6Address {
|
|
|
6978
6981
|
* <p>The IPv6 address.</p>
|
|
6979
6982
|
*/
|
|
6980
6983
|
Ipv6Address?: string;
|
|
6984
|
+
/**
|
|
6985
|
+
* @public
|
|
6986
|
+
* <p>Determines if an IPv6 address associated with a network interface is the primary IPv6 address. When you enable an IPv6 GUA address to be a primary IPv6, the first IPv6 GUA will be made the primary IPv6 address until the instance is terminated or the network interface is detached.
|
|
6987
|
+
* For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RunInstances.html">RunInstances</a>.</p>
|
|
6988
|
+
*/
|
|
6989
|
+
IsPrimaryIpv6?: boolean;
|
|
6981
6990
|
}
|
|
6982
6991
|
/**
|
|
6983
6992
|
* @public
|
|
@@ -7100,6 +7109,11 @@ export interface LaunchTemplateInstanceNetworkInterfaceSpecification {
|
|
|
7100
7109
|
* interface.</p>
|
|
7101
7110
|
*/
|
|
7102
7111
|
Ipv6PrefixCount?: number;
|
|
7112
|
+
/**
|
|
7113
|
+
* @public
|
|
7114
|
+
* <p>The primary IPv6 address of the network interface. When you enable an IPv6 GUA address to be a primary IPv6, the first IPv6 GUA will be made the primary IPv6 address until the instance is terminated or the network interface is detached. For more information about primary IPv6 addresses, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RunInstances.html">RunInstances</a>.</p>
|
|
7115
|
+
*/
|
|
7116
|
+
PrimaryIpv6?: boolean;
|
|
7103
7117
|
}
|
|
7104
7118
|
/**
|
|
7105
7119
|
* @public
|
|
@@ -9041,6 +9055,22 @@ export interface CreateNetworkInterfaceRequest {
|
|
|
9041
9055
|
* <p>Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html">Ensuring Idempotency</a>.</p>
|
|
9042
9056
|
*/
|
|
9043
9057
|
ClientToken?: string;
|
|
9058
|
+
/**
|
|
9059
|
+
* @public
|
|
9060
|
+
* <p>If you’re creating a network interface in a dual-stack or IPv6-only subnet, you have
|
|
9061
|
+
* the option to assign a primary IPv6 IP address. A primary IPv6 address is an IPv6 GUA
|
|
9062
|
+
* address associated with an ENI that you have enabled to use a primary IPv6 address. Use this option if the instance that
|
|
9063
|
+
* this ENI will be attached to relies on its IPv6 address not changing. Amazon Web Services
|
|
9064
|
+
* will automatically assign an IPv6 address associated with the ENI attached to your
|
|
9065
|
+
* instance to be the primary IPv6 address. Once you enable an IPv6 GUA address to be a
|
|
9066
|
+
* primary IPv6, you cannot disable it. When you enable an IPv6 GUA address to be a primary
|
|
9067
|
+
* IPv6, the first IPv6 GUA will be made the primary IPv6 address until the instance is
|
|
9068
|
+
* terminated or the network interface is detached. If you have multiple IPv6 addresses
|
|
9069
|
+
* associated with an ENI attached to your instance and you enable a primary IPv6 address,
|
|
9070
|
+
* the first IPv6 GUA address associated with the ENI becomes the primary IPv6
|
|
9071
|
+
* address.</p>
|
|
9072
|
+
*/
|
|
9073
|
+
EnablePrimaryIpv6?: boolean;
|
|
9044
9074
|
}
|
|
9045
9075
|
/**
|
|
9046
9076
|
* @public
|
|
@@ -9221,6 +9251,11 @@ export interface NetworkInterfaceIpv6Address {
|
|
|
9221
9251
|
* <p>The IPv6 address.</p>
|
|
9222
9252
|
*/
|
|
9223
9253
|
Ipv6Address?: string;
|
|
9254
|
+
/**
|
|
9255
|
+
* @public
|
|
9256
|
+
* <p>Determines if an IPv6 address associated with a network interface is the primary IPv6 address. When you enable an IPv6 GUA address to be a primary IPv6, the first IPv6 GUA will be made the primary IPv6 address until the instance is terminated or the network interface is detached. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_ModifyNetworkInterfaceAttribute.html">ModifyNetworkInterfaceAttribute</a>.</p>
|
|
9257
|
+
*/
|
|
9258
|
+
IsPrimaryIpv6?: boolean;
|
|
9224
9259
|
}
|
|
9225
9260
|
/**
|
|
9226
9261
|
* @public
|
|
@@ -7866,6 +7866,11 @@ export interface InstanceNetworkInterfaceSpecification {
|
|
|
7866
7866
|
* You cannot use this option if you use the <code>Ipv6Prefix</code> option.</p>
|
|
7867
7867
|
*/
|
|
7868
7868
|
Ipv6PrefixCount?: number;
|
|
7869
|
+
/**
|
|
7870
|
+
* @public
|
|
7871
|
+
* <p>The primary IPv6 address of the network interface. When you enable an IPv6 GUA address to be a primary IPv6, the first IPv6 GUA will be made the primary IPv6 address until the instance is terminated or the network interface is detached. For more information about primary IPv6 addresses, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RunInstances.html">RunInstances</a>.</p>
|
|
7872
|
+
*/
|
|
7873
|
+
PrimaryIpv6?: boolean;
|
|
7869
7874
|
}
|
|
7870
7875
|
/**
|
|
7871
7876
|
* @public
|
|
@@ -2866,6 +2866,22 @@ export interface ModifyNetworkInterfaceAttributeRequest {
|
|
|
2866
2866
|
* instance.</p>
|
|
2867
2867
|
*/
|
|
2868
2868
|
EnaSrdSpecification?: EnaSrdSpecification;
|
|
2869
|
+
/**
|
|
2870
|
+
* @public
|
|
2871
|
+
* <p>If you’re modifying a network interface in a dual-stack or IPv6-only subnet, you have
|
|
2872
|
+
* the option to assign a primary IPv6 IP address. A primary IPv6 address is an IPv6 GUA
|
|
2873
|
+
* address associated with an ENI that you have enabled to use a primary IPv6 address. Use
|
|
2874
|
+
* this option if the instance that this ENI will be attached to relies on its IPv6 address
|
|
2875
|
+
* not changing. Amazon Web Services will automatically assign an IPv6 address associated
|
|
2876
|
+
* with the ENI attached to your instance to be the primary IPv6 address. Once you enable
|
|
2877
|
+
* an IPv6 GUA address to be a primary IPv6, you cannot disable it. When you enable an IPv6
|
|
2878
|
+
* GUA address to be a primary IPv6, the first IPv6 GUA will be made the primary IPv6
|
|
2879
|
+
* address until the instance is terminated or the network interface is detached. If you
|
|
2880
|
+
* have multiple IPv6 addresses associated with an ENI attached to your instance and you
|
|
2881
|
+
* enable a primary IPv6 address, the first IPv6 GUA address associated with the ENI
|
|
2882
|
+
* becomes the primary IPv6 address.</p>
|
|
2883
|
+
*/
|
|
2884
|
+
EnablePrimaryIpv6?: boolean;
|
|
2869
2885
|
}
|
|
2870
2886
|
/**
|
|
2871
2887
|
* @public
|
|
@@ -8208,6 +8224,22 @@ export interface RunInstancesRequest {
|
|
|
8208
8224
|
* protection</a>. </p>
|
|
8209
8225
|
*/
|
|
8210
8226
|
DisableApiStop?: boolean;
|
|
8227
|
+
/**
|
|
8228
|
+
* @public
|
|
8229
|
+
* <p>If you’re launching an instance into a dual-stack or IPv6-only subnet, you can enable
|
|
8230
|
+
* assigning a primary IPv6 address. A primary IPv6 address is an IPv6 GUA address
|
|
8231
|
+
* associated with an ENI that you have enabled to use a primary IPv6 address. Use this
|
|
8232
|
+
* option if an instance relies on its IPv6 address not changing. When you launch the
|
|
8233
|
+
* instance, Amazon Web Services will automatically assign an IPv6 address associated with
|
|
8234
|
+
* the ENI attached to your instance to be the primary IPv6 address. Once you enable an
|
|
8235
|
+
* IPv6 GUA address to be a primary IPv6, you cannot disable it. When you enable an IPv6
|
|
8236
|
+
* GUA address to be a primary IPv6, the first IPv6 GUA will be made the primary IPv6
|
|
8237
|
+
* address until the instance is terminated or the network interface is detached. If you
|
|
8238
|
+
* have multiple IPv6 addresses associated with an ENI attached to your instance and you
|
|
8239
|
+
* enable a primary IPv6 address, the first IPv6 GUA address associated with the ENI
|
|
8240
|
+
* becomes the primary IPv6 address.</p>
|
|
8241
|
+
*/
|
|
8242
|
+
EnablePrimaryIpv6?: boolean;
|
|
8211
8243
|
}
|
|
8212
8244
|
/**
|
|
8213
8245
|
* @public
|
|
@@ -1283,6 +1283,7 @@ export interface LaunchTemplateInstanceNetworkInterfaceSpecificationRequest {
|
|
|
1283
1283
|
Ipv4PrefixCount?: number;
|
|
1284
1284
|
Ipv6Prefixes?: Ipv6PrefixSpecificationRequest[];
|
|
1285
1285
|
Ipv6PrefixCount?: number;
|
|
1286
|
+
PrimaryIpv6?: boolean;
|
|
1286
1287
|
}
|
|
1287
1288
|
export interface LaunchTemplatePlacementRequest {
|
|
1288
1289
|
AvailabilityZone?: string;
|
|
@@ -1463,6 +1464,7 @@ export interface Ipv4PrefixSpecificationResponse {
|
|
|
1463
1464
|
}
|
|
1464
1465
|
export interface InstanceIpv6Address {
|
|
1465
1466
|
Ipv6Address?: string;
|
|
1467
|
+
IsPrimaryIpv6?: boolean;
|
|
1466
1468
|
}
|
|
1467
1469
|
export interface Ipv6PrefixSpecificationResponse {
|
|
1468
1470
|
Ipv6Prefix?: string;
|
|
@@ -1487,6 +1489,7 @@ export interface LaunchTemplateInstanceNetworkInterfaceSpecification {
|
|
|
1487
1489
|
Ipv4PrefixCount?: number;
|
|
1488
1490
|
Ipv6Prefixes?: Ipv6PrefixSpecificationResponse[];
|
|
1489
1491
|
Ipv6PrefixCount?: number;
|
|
1492
|
+
PrimaryIpv6?: boolean;
|
|
1490
1493
|
}
|
|
1491
1494
|
export interface LaunchTemplatePlacement {
|
|
1492
1495
|
AvailabilityZone?: string;
|
|
@@ -1906,6 +1909,7 @@ export interface CreateNetworkInterfaceRequest {
|
|
|
1906
1909
|
SubnetId: string | undefined;
|
|
1907
1910
|
TagSpecifications?: TagSpecification[];
|
|
1908
1911
|
ClientToken?: string;
|
|
1912
|
+
EnablePrimaryIpv6?: boolean;
|
|
1909
1913
|
}
|
|
1910
1914
|
export interface NetworkInterfaceAssociation {
|
|
1911
1915
|
AllocationId?: string;
|
|
@@ -1961,6 +1965,7 @@ export type NetworkInterfaceType =
|
|
|
1961
1965
|
(typeof NetworkInterfaceType)[keyof typeof NetworkInterfaceType];
|
|
1962
1966
|
export interface NetworkInterfaceIpv6Address {
|
|
1963
1967
|
Ipv6Address?: string;
|
|
1968
|
+
IsPrimaryIpv6?: boolean;
|
|
1964
1969
|
}
|
|
1965
1970
|
export interface Ipv6PrefixSpecification {
|
|
1966
1971
|
Ipv6Prefix?: string;
|
|
@@ -1593,6 +1593,7 @@ export interface InstanceNetworkInterfaceSpecification {
|
|
|
1593
1593
|
Ipv4PrefixCount?: number;
|
|
1594
1594
|
Ipv6Prefixes?: Ipv6PrefixSpecificationRequest[];
|
|
1595
1595
|
Ipv6PrefixCount?: number;
|
|
1596
|
+
PrimaryIpv6?: boolean;
|
|
1596
1597
|
}
|
|
1597
1598
|
export interface SpotPlacement {
|
|
1598
1599
|
AvailabilityZone?: string;
|
|
@@ -733,6 +733,7 @@ export interface ModifyNetworkInterfaceAttributeRequest {
|
|
|
733
733
|
NetworkInterfaceId: string | undefined;
|
|
734
734
|
SourceDestCheck?: AttributeBooleanValue;
|
|
735
735
|
EnaSrdSpecification?: EnaSrdSpecification;
|
|
736
|
+
EnablePrimaryIpv6?: boolean;
|
|
736
737
|
}
|
|
737
738
|
export interface ModifyPrivateDnsNameOptionsRequest {
|
|
738
739
|
DryRun?: boolean;
|
|
@@ -1838,6 +1839,7 @@ export interface RunInstancesRequest {
|
|
|
1838
1839
|
PrivateDnsNameOptions?: PrivateDnsNameOptionsRequest;
|
|
1839
1840
|
MaintenanceOptions?: InstanceMaintenanceOptionsRequest;
|
|
1840
1841
|
DisableApiStop?: boolean;
|
|
1842
|
+
EnablePrimaryIpv6?: boolean;
|
|
1841
1843
|
}
|
|
1842
1844
|
export interface ScheduledInstancesEbs {
|
|
1843
1845
|
DeleteOnTermination?: boolean;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-ec2",
|
|
3
3
|
"description": "AWS SDK for JavaScript Ec2 Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.384.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|