@aws-sdk/client-ec2 3.379.1 → 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.
Files changed (29) hide show
  1. package/dist-cjs/endpoint/ruleset.js +1 -1
  2. package/dist-cjs/protocols/Aws_ec2.js +30 -0
  3. package/dist-es/endpoint/ruleset.js +1 -1
  4. package/dist-es/protocols/Aws_ec2.js +30 -0
  5. package/dist-types/commands/CreateLaunchTemplateCommand.d.ts +1 -0
  6. package/dist-types/commands/CreateLaunchTemplateVersionCommand.d.ts +3 -0
  7. package/dist-types/commands/CreateNetworkInterfaceCommand.d.ts +3 -0
  8. package/dist-types/commands/DescribeInstancesCommand.d.ts +1 -0
  9. package/dist-types/commands/DescribeLaunchTemplateVersionsCommand.d.ts +2 -0
  10. package/dist-types/commands/DescribeNetworkInterfacesCommand.d.ts +1 -0
  11. package/dist-types/commands/DescribeSpotFleetRequestsCommand.d.ts +2 -0
  12. package/dist-types/commands/DescribeSpotInstanceRequestsCommand.d.ts +2 -0
  13. package/dist-types/commands/GetLaunchTemplateDataCommand.d.ts +2 -0
  14. package/dist-types/commands/ModifyNetworkInterfaceAttributeCommand.d.ts +1 -0
  15. package/dist-types/commands/RequestSpotFleetCommand.d.ts +2 -0
  16. package/dist-types/commands/RequestSpotInstancesCommand.d.ts +4 -0
  17. package/dist-types/commands/RunInstancesCommand.d.ts +5 -0
  18. package/dist-types/models/models_0.d.ts +939 -0
  19. package/dist-types/models/models_1.d.ts +1112 -3
  20. package/dist-types/models/models_2.d.ts +936 -0
  21. package/dist-types/models/models_3.d.ts +942 -0
  22. package/dist-types/models/models_4.d.ts +1153 -0
  23. package/dist-types/models/models_5.d.ts +903 -0
  24. package/dist-types/models/models_6.d.ts +1085 -0
  25. package/dist-types/models/models_7.d.ts +142 -0
  26. package/dist-types/ts3.4/models/models_1.d.ts +5 -0
  27. package/dist-types/ts3.4/models/models_4.d.ts +1 -0
  28. package/dist-types/ts3.4/models/models_6.d.ts +2 -0
  29. package/package.json +5 -5
@@ -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 }, { type: b, rules: [{ conditions: q, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: i, properties: l, headers: l }, type: d }] }] }, { type: b, rules: [{ 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: [{ 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: [{ 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: [{ 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 }] }, { type: b, rules: [{ endpoint: { url: "https://ec2.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: d }] }] }] }, { error: "Invalid Configuration: Missing Region", 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 }, { type: b, rules: [{ conditions: q, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: i, properties: l, headers: l }, type: d }] }] }, { type: b, rules: [{ 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: [{ 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: [{ 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: [{ 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 }] }, { type: b, rules: [{ endpoint: { url: "https://ec2.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: d }] }] }] }, { error: "Invalid Configuration: Missing Region", 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) => {
@@ -108,6 +108,7 @@ export interface CreateLaunchTemplateCommandOutput extends CreateLaunchTemplateR
108
108
  * },
109
109
  * ],
110
110
  * Ipv6PrefixCount: Number("int"),
111
+ * PrimaryIpv6: true || false,
111
112
  * },
112
113
  * ],
113
114
  * ImageId: "STRING_VALUE",
@@ -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",