@aws-sdk/client-ec2 3.557.0 → 3.562.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 (59) hide show
  1. package/README.md +16 -0
  2. package/dist-cjs/index.js +171 -26
  3. package/dist-es/EC2.js +4 -0
  4. package/dist-es/commands/DisableImageDeregistrationProtectionCommand.js +24 -0
  5. package/dist-es/commands/EnableImageDeregistrationProtectionCommand.js +24 -0
  6. package/dist-es/commands/index.js +2 -0
  7. package/dist-es/models/models_3.js +1 -0
  8. package/dist-es/models/models_4.js +1 -0
  9. package/dist-es/models/models_5.js +0 -11
  10. package/dist-es/models/models_6.js +11 -0
  11. package/dist-es/protocols/Aws_ec2.js +116 -13
  12. package/dist-types/EC2.d.ts +14 -0
  13. package/dist-types/EC2Client.d.ts +4 -2
  14. package/dist-types/commands/CreateDhcpOptionsCommand.d.ts +1 -1
  15. package/dist-types/commands/CreateLaunchTemplateCommand.d.ts +3 -3
  16. package/dist-types/commands/CreateLaunchTemplateVersionCommand.d.ts +6 -5
  17. package/dist-types/commands/DescribeImageAttributeCommand.d.ts +2 -1
  18. package/dist-types/commands/DescribeImagesCommand.d.ts +6 -0
  19. package/dist-types/commands/DescribeInstancesCommand.d.ts +4 -0
  20. package/dist-types/commands/DescribeNetworkInterfaceAttributeCommand.d.ts +2 -1
  21. package/dist-types/commands/DescribeNetworkInterfacesCommand.d.ts +4 -0
  22. package/dist-types/commands/DescribeSnapshotsCommand.d.ts +4 -0
  23. package/dist-types/commands/DescribeTagsCommand.d.ts +4 -0
  24. package/dist-types/commands/DescribeVolumesCommand.d.ts +4 -0
  25. package/dist-types/commands/DisableImageDeregistrationProtectionCommand.d.ts +66 -0
  26. package/dist-types/commands/EnableImageDeregistrationProtectionCommand.d.ts +66 -0
  27. package/dist-types/commands/GetIpamDiscoveredAccountsCommand.d.ts +2 -1
  28. package/dist-types/commands/GetIpamDiscoveredPublicAddressesCommand.d.ts +1 -2
  29. package/dist-types/commands/ModifyNetworkInterfaceAttributeCommand.d.ts +1 -0
  30. package/dist-types/commands/ProvisionPublicIpv4PoolCidrCommand.d.ts +2 -1
  31. package/dist-types/commands/PurchaseCapacityBlockCommand.d.ts +1 -1
  32. package/dist-types/commands/PurchaseHostReservationCommand.d.ts +1 -2
  33. package/dist-types/commands/index.d.ts +2 -0
  34. package/dist-types/models/models_0.d.ts +1 -1
  35. package/dist-types/models/models_1.d.ts +14 -14
  36. package/dist-types/models/models_2.d.ts +8 -8
  37. package/dist-types/models/models_3.d.ts +22 -0
  38. package/dist-types/models/models_4.d.ts +10 -5
  39. package/dist-types/models/models_5.d.ts +65 -83
  40. package/dist-types/models/models_6.d.ts +92 -99
  41. package/dist-types/models/models_7.d.ts +103 -15
  42. package/dist-types/protocols/Aws_ec2.d.ts +18 -0
  43. package/dist-types/ts3.4/EC2.d.ts +46 -0
  44. package/dist-types/ts3.4/EC2Client.d.ts +12 -0
  45. package/dist-types/ts3.4/commands/DisableImageDeregistrationProtectionCommand.d.ts +39 -0
  46. package/dist-types/ts3.4/commands/EnableImageDeregistrationProtectionCommand.d.ts +39 -0
  47. package/dist-types/ts3.4/commands/GetIpamDiscoveredAccountsCommand.d.ts +2 -4
  48. package/dist-types/ts3.4/commands/GetIpamDiscoveredPublicAddressesCommand.d.ts +4 -2
  49. package/dist-types/ts3.4/commands/ProvisionPublicIpv4PoolCidrCommand.d.ts +2 -4
  50. package/dist-types/ts3.4/commands/PurchaseCapacityBlockCommand.d.ts +1 -1
  51. package/dist-types/ts3.4/commands/PurchaseHostReservationCommand.d.ts +4 -2
  52. package/dist-types/ts3.4/commands/index.d.ts +2 -0
  53. package/dist-types/ts3.4/models/models_3.d.ts +4 -0
  54. package/dist-types/ts3.4/models/models_4.d.ts +2 -0
  55. package/dist-types/ts3.4/models/models_5.d.ts +15 -27
  56. package/dist-types/ts3.4/models/models_6.d.ts +29 -27
  57. package/dist-types/ts3.4/models/models_7.d.ts +24 -0
  58. package/dist-types/ts3.4/protocols/Aws_ec2.d.ts +24 -0
  59. package/package.json +1 -1
package/README.md CHANGED
@@ -3269,6 +3269,14 @@ DisableImageDeprecation
3269
3269
 
3270
3270
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/ec2/command/DisableImageDeprecationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ec2/Interface/DisableImageDeprecationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ec2/Interface/DisableImageDeprecationCommandOutput/)
3271
3271
 
3272
+ </details>
3273
+ <details>
3274
+ <summary>
3275
+ DisableImageDeregistrationProtection
3276
+ </summary>
3277
+
3278
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/ec2/command/DisableImageDeregistrationProtectionCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ec2/Interface/DisableImageDeregistrationProtectionCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ec2/Interface/DisableImageDeregistrationProtectionCommandOutput/)
3279
+
3272
3280
  </details>
3273
3281
  <details>
3274
3282
  <summary>
@@ -3509,6 +3517,14 @@ EnableImageDeprecation
3509
3517
 
3510
3518
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/ec2/command/EnableImageDeprecationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ec2/Interface/EnableImageDeprecationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ec2/Interface/EnableImageDeprecationCommandOutput/)
3511
3519
 
3520
+ </details>
3521
+ <details>
3522
+ <summary>
3523
+ EnableImageDeregistrationProtection
3524
+ </summary>
3525
+
3526
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/ec2/command/EnableImageDeregistrationProtectionCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ec2/Interface/EnableImageDeregistrationProtectionCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ec2/Interface/EnableImageDeregistrationProtectionCommandOutput/)
3527
+
3512
3528
  </details>
3513
3529
  <details>
3514
3530
  <summary>
package/dist-cjs/index.js CHANGED
@@ -501,6 +501,7 @@ __export(src_exports, {
501
501
  DisableImageBlockPublicAccessCommand: () => DisableImageBlockPublicAccessCommand,
502
502
  DisableImageCommand: () => DisableImageCommand,
503
503
  DisableImageDeprecationCommand: () => DisableImageDeprecationCommand,
504
+ DisableImageDeregistrationProtectionCommand: () => DisableImageDeregistrationProtectionCommand,
504
505
  DisableIpamOrganizationAdminAccountCommand: () => DisableIpamOrganizationAdminAccountCommand,
505
506
  DisableSerialConsoleAccessCommand: () => DisableSerialConsoleAccessCommand,
506
507
  DisableSnapshotBlockPublicAccessCommand: () => DisableSnapshotBlockPublicAccessCommand,
@@ -551,6 +552,7 @@ __export(src_exports, {
551
552
  EnableImageBlockPublicAccessCommand: () => EnableImageBlockPublicAccessCommand,
552
553
  EnableImageCommand: () => EnableImageCommand,
553
554
  EnableImageDeprecationCommand: () => EnableImageDeprecationCommand,
555
+ EnableImageDeregistrationProtectionCommand: () => EnableImageDeregistrationProtectionCommand,
554
556
  EnableIpamOrganizationAdminAccountCommand: () => EnableIpamOrganizationAdminAccountCommand,
555
557
  EnableReachabilityAnalyzerOrganizationSharingCommand: () => EnableReachabilityAnalyzerOrganizationSharingCommand,
556
558
  EnableSerialConsoleAccessCommand: () => EnableSerialConsoleAccessCommand,
@@ -5274,6 +5276,16 @@ var se_DisableImageDeprecationCommand = /* @__PURE__ */ __name(async (input, con
5274
5276
  });
5275
5277
  return buildHttpRpcRequest(context, headers, "/", void 0, body);
5276
5278
  }, "se_DisableImageDeprecationCommand");
5279
+ var se_DisableImageDeregistrationProtectionCommand = /* @__PURE__ */ __name(async (input, context) => {
5280
+ const headers = SHARED_HEADERS;
5281
+ let body;
5282
+ body = buildFormUrlencodedString({
5283
+ ...se_DisableImageDeregistrationProtectionRequest(input, context),
5284
+ [_A]: _DIDP,
5285
+ [_V]: _
5286
+ });
5287
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
5288
+ }, "se_DisableImageDeregistrationProtectionCommand");
5277
5289
  var se_DisableIpamOrganizationAdminAccountCommand = /* @__PURE__ */ __name(async (input, context) => {
5278
5290
  const headers = SHARED_HEADERS;
5279
5291
  let body;
@@ -5574,6 +5586,16 @@ var se_EnableImageDeprecationCommand = /* @__PURE__ */ __name(async (input, cont
5574
5586
  });
5575
5587
  return buildHttpRpcRequest(context, headers, "/", void 0, body);
5576
5588
  }, "se_EnableImageDeprecationCommand");
5589
+ var se_EnableImageDeregistrationProtectionCommand = /* @__PURE__ */ __name(async (input, context) => {
5590
+ const headers = SHARED_HEADERS;
5591
+ let body;
5592
+ body = buildFormUrlencodedString({
5593
+ ...se_EnableImageDeregistrationProtectionRequest(input, context),
5594
+ [_A]: _EIDP,
5595
+ [_V]: _
5596
+ });
5597
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
5598
+ }, "se_EnableImageDeregistrationProtectionCommand");
5577
5599
  var se_EnableIpamOrganizationAdminAccountCommand = /* @__PURE__ */ __name(async (input, context) => {
5578
5600
  const headers = SHARED_HEADERS;
5579
5601
  let body;
@@ -12513,6 +12535,19 @@ var de_DisableImageDeprecationCommand = /* @__PURE__ */ __name(async (output, co
12513
12535
  };
12514
12536
  return response;
12515
12537
  }, "de_DisableImageDeprecationCommand");
12538
+ var de_DisableImageDeregistrationProtectionCommand = /* @__PURE__ */ __name(async (output, context) => {
12539
+ if (output.statusCode >= 300) {
12540
+ return de_CommandError(output, context);
12541
+ }
12542
+ const data = await (0, import_core2.parseXmlBody)(output.body, context);
12543
+ let contents = {};
12544
+ contents = de_DisableImageDeregistrationProtectionResult(data, context);
12545
+ const response = {
12546
+ $metadata: deserializeMetadata(output),
12547
+ ...contents
12548
+ };
12549
+ return response;
12550
+ }, "de_DisableImageDeregistrationProtectionCommand");
12516
12551
  var de_DisableIpamOrganizationAdminAccountCommand = /* @__PURE__ */ __name(async (output, context) => {
12517
12552
  if (output.statusCode >= 300) {
12518
12553
  return de_CommandError(output, context);
@@ -12894,6 +12929,19 @@ var de_EnableImageDeprecationCommand = /* @__PURE__ */ __name(async (output, con
12894
12929
  };
12895
12930
  return response;
12896
12931
  }, "de_EnableImageDeprecationCommand");
12932
+ var de_EnableImageDeregistrationProtectionCommand = /* @__PURE__ */ __name(async (output, context) => {
12933
+ if (output.statusCode >= 300) {
12934
+ return de_CommandError(output, context);
12935
+ }
12936
+ const data = await (0, import_core2.parseXmlBody)(output.body, context);
12937
+ let contents = {};
12938
+ contents = de_EnableImageDeregistrationProtectionResult(data, context);
12939
+ const response = {
12940
+ $metadata: deserializeMetadata(output),
12941
+ ...contents
12942
+ };
12943
+ return response;
12944
+ }, "de_EnableImageDeregistrationProtectionCommand");
12897
12945
  var de_EnableIpamOrganizationAdminAccountCommand = /* @__PURE__ */ __name(async (output, context) => {
12898
12946
  if (output.statusCode >= 300) {
12899
12947
  return de_CommandError(output, context);
@@ -26689,6 +26737,16 @@ var se_DisableImageDeprecationRequest = /* @__PURE__ */ __name((input, context)
26689
26737
  }
26690
26738
  return entries;
26691
26739
  }, "se_DisableImageDeprecationRequest");
26740
+ var se_DisableImageDeregistrationProtectionRequest = /* @__PURE__ */ __name((input, context) => {
26741
+ const entries = {};
26742
+ if (input[_IIma] != null) {
26743
+ entries[_IIma] = input[_IIma];
26744
+ }
26745
+ if (input[_DRr] != null) {
26746
+ entries[_DRr] = input[_DRr];
26747
+ }
26748
+ return entries;
26749
+ }, "se_DisableImageDeregistrationProtectionRequest");
26692
26750
  var se_DisableImageRequest = /* @__PURE__ */ __name((input, context) => {
26693
26751
  const entries = {};
26694
26752
  if (input[_IIma] != null) {
@@ -27305,6 +27363,19 @@ var se_EnableImageDeprecationRequest = /* @__PURE__ */ __name((input, context) =
27305
27363
  }
27306
27364
  return entries;
27307
27365
  }, "se_EnableImageDeprecationRequest");
27366
+ var se_EnableImageDeregistrationProtectionRequest = /* @__PURE__ */ __name((input, context) => {
27367
+ const entries = {};
27368
+ if (input[_IIma] != null) {
27369
+ entries[_IIma] = input[_IIma];
27370
+ }
27371
+ if (input[_WC] != null) {
27372
+ entries[_WC] = input[_WC];
27373
+ }
27374
+ if (input[_DRr] != null) {
27375
+ entries[_DRr] = input[_DRr];
27376
+ }
27377
+ return entries;
27378
+ }, "se_EnableImageDeregistrationProtectionRequest");
27308
27379
  var se_EnableImageRequest = /* @__PURE__ */ __name((input, context) => {
27309
27380
  const entries = {};
27310
27381
  if (input[_IIma] != null) {
@@ -27768,8 +27839,8 @@ var se_FleetLaunchTemplateOverridesRequest = /* @__PURE__ */ __name((input, cont
27768
27839
  if (input[_AZ] != null) {
27769
27840
  entries[_AZ] = input[_AZ];
27770
27841
  }
27771
- if (input[_WC] != null) {
27772
- entries[_WC] = (0, import_smithy_client.serializeFloat)(input[_WC]);
27842
+ if (input[_WCe] != null) {
27843
+ entries[_WCe] = (0, import_smithy_client.serializeFloat)(input[_WCe]);
27773
27844
  }
27774
27845
  if (input[_Pri] != null) {
27775
27846
  entries[_Pri] = (0, import_smithy_client.serializeFloat)(input[_Pri]);
@@ -31008,8 +31079,8 @@ var se_LaunchTemplateOverrides = /* @__PURE__ */ __name((input, context) => {
31008
31079
  if (input[_AZ] != null) {
31009
31080
  entries[_AZ] = input[_AZ];
31010
31081
  }
31011
- if (input[_WC] != null) {
31012
- entries[_WC] = (0, import_smithy_client.serializeFloat)(input[_WC]);
31082
+ if (input[_WCe] != null) {
31083
+ entries[_WCe] = (0, import_smithy_client.serializeFloat)(input[_WCe]);
31013
31084
  }
31014
31085
  if (input[_Pri] != null) {
31015
31086
  entries[_Pri] = (0, import_smithy_client.serializeFloat)(input[_Pri]);
@@ -32415,6 +32486,9 @@ var se_ModifyNetworkInterfaceAttributeRequest = /* @__PURE__ */ __name((input, c
32415
32486
  entries[loc] = value;
32416
32487
  });
32417
32488
  }
32489
+ if (input[_APIAs] != null) {
32490
+ entries[_APIAs] = input[_APIAs];
32491
+ }
32418
32492
  return entries;
32419
32493
  }, "se_ModifyNetworkInterfaceAttributeRequest");
32420
32494
  var se_ModifyPrivateDnsNameOptionsRequest = /* @__PURE__ */ __name((input, context) => {
@@ -37345,8 +37419,8 @@ var se_SpotFleetLaunchSpecification = /* @__PURE__ */ __name((input, context) =>
37345
37419
  if (input[_UD] != null) {
37346
37420
  entries[_UD] = input[_UD];
37347
37421
  }
37348
- if (input[_WC] != null) {
37349
- entries[_WC] = (0, import_smithy_client.serializeFloat)(input[_WC]);
37422
+ if (input[_WCe] != null) {
37423
+ entries[_WCe] = (0, import_smithy_client.serializeFloat)(input[_WCe]);
37350
37424
  }
37351
37425
  if (input[_TS] != null) {
37352
37426
  const memberEntries = se_SpotFleetTagSpecificationList(input[_TS], context);
@@ -43792,6 +43866,9 @@ var de_DescribeNetworkInterfaceAttributeResult = /* @__PURE__ */ __name((output,
43792
43866
  if (output[_sDC] != null) {
43793
43867
  contents[_SDC] = de_AttributeBooleanValue(output[_sDC], context);
43794
43868
  }
43869
+ if (output[_aPIA] != null) {
43870
+ contents[_APIAs] = (0, import_smithy_client.parseBoolean)(output[_aPIA]);
43871
+ }
43795
43872
  return contents;
43796
43873
  }, "de_DescribeNetworkInterfaceAttributeResult");
43797
43874
  var de_DescribeNetworkInterfacePermissionsResult = /* @__PURE__ */ __name((output, context) => {
@@ -44862,6 +44939,13 @@ var de_DisableImageDeprecationResult = /* @__PURE__ */ __name((output, context)
44862
44939
  }
44863
44940
  return contents;
44864
44941
  }, "de_DisableImageDeprecationResult");
44942
+ var de_DisableImageDeregistrationProtectionResult = /* @__PURE__ */ __name((output, context) => {
44943
+ const contents = {};
44944
+ if (output[_r] != null) {
44945
+ contents[_Ret] = (0, import_smithy_client.expectString)(output[_r]);
44946
+ }
44947
+ return contents;
44948
+ }, "de_DisableImageDeregistrationProtectionResult");
44865
44949
  var de_DisableImageResult = /* @__PURE__ */ __name((output, context) => {
44866
44950
  const contents = {};
44867
44951
  if (output[_r] != null) {
@@ -45523,6 +45607,13 @@ var de_EnableImageDeprecationResult = /* @__PURE__ */ __name((output, context) =
45523
45607
  }
45524
45608
  return contents;
45525
45609
  }, "de_EnableImageDeprecationResult");
45610
+ var de_EnableImageDeregistrationProtectionResult = /* @__PURE__ */ __name((output, context) => {
45611
+ const contents = {};
45612
+ if (output[_r] != null) {
45613
+ contents[_Ret] = (0, import_smithy_client.expectString)(output[_r]);
45614
+ }
45615
+ return contents;
45616
+ }, "de_EnableImageDeregistrationProtectionResult");
45526
45617
  var de_EnableImageResult = /* @__PURE__ */ __name((output, context) => {
45527
45618
  const contents = {};
45528
45619
  if (output[_r] != null) {
@@ -46259,7 +46350,7 @@ var de_FleetLaunchTemplateOverrides = /* @__PURE__ */ __name((output, context) =
46259
46350
  contents[_AZ] = (0, import_smithy_client.expectString)(output[_aZ]);
46260
46351
  }
46261
46352
  if (output[_wC] != null) {
46262
- contents[_WC] = (0, import_smithy_client.strictParseFloat)(output[_wC]);
46353
+ contents[_WCe] = (0, import_smithy_client.strictParseFloat)(output[_wC]);
46263
46354
  }
46264
46355
  if (output[_pri] != null) {
46265
46356
  contents[_Pri] = (0, import_smithy_client.strictParseFloat)(output[_pri]);
@@ -47587,6 +47678,12 @@ var de_Image = /* @__PURE__ */ __name((output, context) => {
47587
47678
  if (output[_sII] != null) {
47588
47679
  contents[_SIIo] = (0, import_smithy_client.expectString)(output[_sII]);
47589
47680
  }
47681
+ if (output[_dP] != null) {
47682
+ contents[_DPer] = (0, import_smithy_client.expectString)(output[_dP]);
47683
+ }
47684
+ if (output[_lLT] != null) {
47685
+ contents[_LLT] = (0, import_smithy_client.expectString)(output[_lLT]);
47686
+ }
47590
47687
  return contents;
47591
47688
  }, "de_Image");
47592
47689
  var de_ImageAttribute = /* @__PURE__ */ __name((output, context) => {
@@ -47636,6 +47733,9 @@ var de_ImageAttribute = /* @__PURE__ */ __name((output, context) => {
47636
47733
  if (output[_iSmd] != null) {
47637
47734
  contents[_ISm] = de_AttributeValue(output[_iSmd], context);
47638
47735
  }
47736
+ if (output[_dP] != null) {
47737
+ contents[_DPer] = de_AttributeValue(output[_dP], context);
47738
+ }
47639
47739
  return contents;
47640
47740
  }, "de_ImageAttribute");
47641
47741
  var de_ImageList = /* @__PURE__ */ __name((output, context) => {
@@ -50601,7 +50701,7 @@ var de_LaunchTemplateOverrides = /* @__PURE__ */ __name((output, context) => {
50601
50701
  contents[_AZ] = (0, import_smithy_client.expectString)(output[_aZ]);
50602
50702
  }
50603
50703
  if (output[_wC] != null) {
50604
- contents[_WC] = (0, import_smithy_client.strictParseFloat)(output[_wC]);
50704
+ contents[_WCe] = (0, import_smithy_client.strictParseFloat)(output[_wC]);
50605
50705
  }
50606
50706
  if (output[_pri] != null) {
50607
50707
  contents[_Pri] = (0, import_smithy_client.strictParseFloat)(output[_pri]);
@@ -52208,8 +52308,8 @@ var de_NetworkInsightsPath = /* @__PURE__ */ __name((output, context) => {
52208
52308
  if (output[_pr] != null) {
52209
52309
  contents[_P] = (0, import_smithy_client.expectString)(output[_pr]);
52210
52310
  }
52211
- if (output[_dP] != null) {
52212
- contents[_DP] = (0, import_smithy_client.strictParseInt32)(output[_dP]);
52311
+ if (output[_dPe] != null) {
52312
+ contents[_DP] = (0, import_smithy_client.strictParseInt32)(output[_dPe]);
52213
52313
  }
52214
52314
  if (output.tagSet === "") {
52215
52315
  contents[_Ta] = [];
@@ -55285,7 +55385,7 @@ var de_SpotFleetLaunchSpecification = /* @__PURE__ */ __name((output, context) =
55285
55385
  contents[_UD] = (0, import_smithy_client.expectString)(output[_uDs]);
55286
55386
  }
55287
55387
  if (output[_wC] != null) {
55288
- contents[_WC] = (0, import_smithy_client.strictParseFloat)(output[_wC]);
55388
+ contents[_WCe] = (0, import_smithy_client.strictParseFloat)(output[_wC]);
55289
55389
  }
55290
55390
  if (output.tagSpecificationSet === "") {
55291
55391
  contents[_TS] = [];
@@ -59449,6 +59549,7 @@ var _DICE = "DeleteInstanceConnectEndpoint";
59449
59549
  var _DICEe = "DescribeInstanceConnectEndpoints";
59450
59550
  var _DICS = "DescribeInstanceCreditSpecifications";
59451
59551
  var _DID = "DisableImageDeprecation";
59552
+ var _DIDP = "DisableImageDeregistrationProtection";
59452
59553
  var _DIENA = "DeregisterInstanceEventNotificationAttributes";
59453
59554
  var _DIENAe = "DescribeInstanceEventNotificationAttributes";
59454
59555
  var _DIEW = "DeleteInstanceEventWindow";
@@ -59567,6 +59668,7 @@ var _DPR = "DestinationPortRange";
59567
59668
  var _DPRT = "DefaultPropagationRouteTable";
59568
59669
  var _DPRe = "DestinationPortRanges";
59569
59670
  var _DPe = "DestinationPorts";
59671
+ var _DPer = "DeregistrationProtection";
59570
59672
  var _DQ = "DataQueries";
59571
59673
  var _DQRI = "DeleteQueuedReservedInstances";
59572
59674
  var _DR = "DeleteRoute";
@@ -59776,6 +59878,7 @@ var _EIAAT = "ElasticInferenceAcceleratorAssociationTime";
59776
59878
  var _EIAAl = "ElasticInferenceAcceleratorAssociations";
59777
59879
  var _EIBPA = "EnableImageBlockPublicAccess";
59778
59880
  var _EID = "EnableImageDeprecation";
59881
+ var _EIDP = "EnableImageDeregistrationProtection";
59779
59882
  var _EIOAA = "EnableIpamOrganizationAdminAccount";
59780
59883
  var _EIT = "ExcludedInstanceTypes";
59781
59884
  var _EITI = "ExportImageTaskIds";
@@ -61385,7 +61488,8 @@ var _Vp = "Vpc";
61385
61488
  var _Vpc = "Vpcs";
61386
61489
  var _W = "Weight";
61387
61490
  var _WBC = "WithdrawByoipCidr";
61388
- var _WC = "WeightedCapacity";
61491
+ var _WC = "WithCooldown";
61492
+ var _WCe = "WeightedCapacity";
61389
61493
  var _WM = "WarningMessage";
61390
61494
  var _WU = "WakeUp";
61391
61495
  var _Wa = "Warning";
@@ -61729,13 +61833,14 @@ var _dOT = "deleteOnTermination";
61729
61833
  var _dOe = "destinationOptions";
61730
61834
  var _dOev = "deviceOptions";
61731
61835
  var _dOn = "dnsOptions";
61732
- var _dP = "destinationPort";
61836
+ var _dP = "deregistrationProtection";
61733
61837
  var _dPLI = "destinationPrefixListId";
61734
61838
  var _dPLS = "destinationPrefixListSet";
61735
61839
  var _dPR = "destinationPortRange";
61736
61840
  var _dPRS = "destinationPortRangeSet";
61737
61841
  var _dPRT = "defaultPropagationRouteTable";
61738
61842
  var _dPS = "destinationPortSet";
61843
+ var _dPe = "destinationPort";
61739
61844
  var _dR = "discoveryRegion";
61740
61845
  var _dRDAI = "defaultResourceDiscoveryAssociationId";
61741
61846
  var _dRDI = "defaultResourceDiscoveryId";
@@ -68750,6 +68855,7 @@ var ReservationState = {
68750
68855
  var ImageAttributeName = {
68751
68856
  blockDeviceMapping: "blockDeviceMapping",
68752
68857
  bootMode: "bootMode",
68858
+ deregistrationProtection: "deregistrationProtection",
68753
68859
  description: "description",
68754
68860
  imdsSupport: "imdsSupport",
68755
68861
  kernel: "kernel",
@@ -70102,6 +70208,7 @@ var AnalysisStatus = {
70102
70208
  succeeded: "succeeded"
70103
70209
  };
70104
70210
  var NetworkInterfaceAttribute = {
70211
+ associatePublicIpAddress: "associatePublicIpAddress",
70105
70212
  attachment: "attachment",
70106
70213
  description: "description",
70107
70214
  groupSet: "groupSet",
@@ -71820,17 +71927,6 @@ var IpamDiscoveryFailureCode = {
71820
71927
  throttling_failure: "throttling-failure",
71821
71928
  unauthorized_failure: "unauthorized-failure"
71822
71929
  };
71823
- var IpamPublicAddressType = {
71824
- AMAZON_OWNED_EIP: "amazon-owned-eip",
71825
- BYOIP: "byoip",
71826
- EC2_PUBLIC_IP: "ec2-public-ip",
71827
- SERVICE_MANAGED_BYOIP: "service-managed-byoip",
71828
- SERVICE_MANAGED_IP: "service-managed-ip"
71829
- };
71830
- var IpamPublicAddressAssociationStatus = {
71831
- ASSOCIATED: "associated",
71832
- DISASSOCIATED: "disassociated"
71833
- };
71834
71930
  var DescribeVerifiedAccessTrustProvidersResultFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
71835
71931
  ...obj,
71836
71932
  ...obj.VerifiedAccessTrustProviders && {
@@ -72392,6 +72488,23 @@ var _DisableImageDeprecationCommand = class _DisableImageDeprecationCommand exte
72392
72488
  __name(_DisableImageDeprecationCommand, "DisableImageDeprecationCommand");
72393
72489
  var DisableImageDeprecationCommand = _DisableImageDeprecationCommand;
72394
72490
 
72491
+ // src/commands/DisableImageDeregistrationProtectionCommand.ts
72492
+
72493
+
72494
+
72495
+
72496
+ var _DisableImageDeregistrationProtectionCommand = class _DisableImageDeregistrationProtectionCommand extends import_smithy_client.Command.classBuilder().ep({
72497
+ ...commonParams
72498
+ }).m(function(Command, cs, config, o) {
72499
+ return [
72500
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
72501
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
72502
+ ];
72503
+ }).s("AmazonEC2", "DisableImageDeregistrationProtection", {}).n("EC2Client", "DisableImageDeregistrationProtectionCommand").f(void 0, void 0).ser(se_DisableImageDeregistrationProtectionCommand).de(de_DisableImageDeregistrationProtectionCommand).build() {
72504
+ };
72505
+ __name(_DisableImageDeregistrationProtectionCommand, "DisableImageDeregistrationProtectionCommand");
72506
+ var DisableImageDeregistrationProtectionCommand = _DisableImageDeregistrationProtectionCommand;
72507
+
72395
72508
  // src/commands/DisableIpamOrganizationAdminAccountCommand.ts
72396
72509
 
72397
72510
 
@@ -72902,6 +73015,23 @@ var _EnableImageDeprecationCommand = class _EnableImageDeprecationCommand extend
72902
73015
  __name(_EnableImageDeprecationCommand, "EnableImageDeprecationCommand");
72903
73016
  var EnableImageDeprecationCommand = _EnableImageDeprecationCommand;
72904
73017
 
73018
+ // src/commands/EnableImageDeregistrationProtectionCommand.ts
73019
+
73020
+
73021
+
73022
+
73023
+ var _EnableImageDeregistrationProtectionCommand = class _EnableImageDeregistrationProtectionCommand extends import_smithy_client.Command.classBuilder().ep({
73024
+ ...commonParams
73025
+ }).m(function(Command, cs, config, o) {
73026
+ return [
73027
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
73028
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
73029
+ ];
73030
+ }).s("AmazonEC2", "EnableImageDeregistrationProtection", {}).n("EC2Client", "EnableImageDeregistrationProtectionCommand").f(void 0, void 0).ser(se_EnableImageDeregistrationProtectionCommand).de(de_EnableImageDeregistrationProtectionCommand).build() {
73031
+ };
73032
+ __name(_EnableImageDeregistrationProtectionCommand, "EnableImageDeregistrationProtectionCommand");
73033
+ var EnableImageDeregistrationProtectionCommand = _EnableImageDeregistrationProtectionCommand;
73034
+
72905
73035
  // src/commands/EnableIpamOrganizationAdminAccountCommand.ts
72906
73036
 
72907
73037
 
@@ -73539,6 +73669,17 @@ var GetIpamResourceCidrsCommand = _GetIpamResourceCidrsCommand;
73539
73669
 
73540
73670
  // src/models/models_6.ts
73541
73671
 
73672
+ var IpamPublicAddressType = {
73673
+ AMAZON_OWNED_EIP: "amazon-owned-eip",
73674
+ BYOIP: "byoip",
73675
+ EC2_PUBLIC_IP: "ec2-public-ip",
73676
+ SERVICE_MANAGED_BYOIP: "service-managed-byoip",
73677
+ SERVICE_MANAGED_IP: "service-managed-ip"
73678
+ };
73679
+ var IpamPublicAddressAssociationStatus = {
73680
+ ASSOCIATED: "associated",
73681
+ DISASSOCIATED: "disassociated"
73682
+ };
73542
73683
  var IpamPublicAddressAwsService = {
73543
73684
  AGA: "global-accelerator",
73544
73685
  DMS: "database-migration-service",
@@ -77042,6 +77183,7 @@ var commands = {
77042
77183
  DisableImageCommand,
77043
77184
  DisableImageBlockPublicAccessCommand,
77044
77185
  DisableImageDeprecationCommand,
77186
+ DisableImageDeregistrationProtectionCommand,
77045
77187
  DisableIpamOrganizationAdminAccountCommand,
77046
77188
  DisableSerialConsoleAccessCommand,
77047
77189
  DisableSnapshotBlockPublicAccessCommand,
@@ -77072,6 +77214,7 @@ var commands = {
77072
77214
  EnableImageCommand,
77073
77215
  EnableImageBlockPublicAccessCommand,
77074
77216
  EnableImageDeprecationCommand,
77217
+ EnableImageDeregistrationProtectionCommand,
77075
77218
  EnableIpamOrganizationAdminAccountCommand,
77076
77219
  EnableReachabilityAnalyzerOrganizationSharingCommand,
77077
77220
  EnableSerialConsoleAccessCommand,
@@ -80115,6 +80258,7 @@ var waitUntilVpnConnectionDeleted = /* @__PURE__ */ __name(async (params, input)
80115
80258
  DisableImageBlockPublicAccessCommand,
80116
80259
  DisableImageCommand,
80117
80260
  DisableImageDeprecationCommand,
80261
+ DisableImageDeregistrationProtectionCommand,
80118
80262
  DisableIpamOrganizationAdminAccountCommand,
80119
80263
  DisableSerialConsoleAccessCommand,
80120
80264
  DisableSnapshotBlockPublicAccessCommand,
@@ -80145,6 +80289,7 @@ var waitUntilVpnConnectionDeleted = /* @__PURE__ */ __name(async (params, input)
80145
80289
  EnableImageBlockPublicAccessCommand,
80146
80290
  EnableImageCommand,
80147
80291
  EnableImageDeprecationCommand,
80292
+ EnableImageDeregistrationProtectionCommand,
80148
80293
  EnableIpamOrganizationAdminAccountCommand,
80149
80294
  EnableReachabilityAnalyzerOrganizationSharingCommand,
80150
80295
  EnableSerialConsoleAccessCommand,
@@ -80916,11 +81061,11 @@ var waitUntilVpnConnectionDeleted = /* @__PURE__ */ __name(async (params, input)
80916
81061
  IpamOverlapStatus,
80917
81062
  IpamAddressHistoryResourceType,
80918
81063
  IpamDiscoveryFailureCode,
80919
- IpamPublicAddressType,
80920
- IpamPublicAddressAssociationStatus,
80921
81064
  DescribeVerifiedAccessTrustProvidersResultFilterSensitiveLog,
80922
81065
  DescribeVpnConnectionsResultFilterSensitiveLog,
80923
81066
  DetachVerifiedAccessTrustProviderResultFilterSensitiveLog,
81067
+ IpamPublicAddressType,
81068
+ IpamPublicAddressAssociationStatus,
80924
81069
  IpamPublicAddressAwsService,
80925
81070
  IpamResourceType,
80926
81071
  IpamManagementState,
package/dist-es/EC2.js CHANGED
@@ -382,6 +382,7 @@ import { DisableFastSnapshotRestoresCommand, } from "./commands/DisableFastSnaps
382
382
  import { DisableImageBlockPublicAccessCommand, } from "./commands/DisableImageBlockPublicAccessCommand";
383
383
  import { DisableImageCommand, } from "./commands/DisableImageCommand";
384
384
  import { DisableImageDeprecationCommand, } from "./commands/DisableImageDeprecationCommand";
385
+ import { DisableImageDeregistrationProtectionCommand, } from "./commands/DisableImageDeregistrationProtectionCommand";
385
386
  import { DisableIpamOrganizationAdminAccountCommand, } from "./commands/DisableIpamOrganizationAdminAccountCommand";
386
387
  import { DisableSerialConsoleAccessCommand, } from "./commands/DisableSerialConsoleAccessCommand";
387
388
  import { DisableSnapshotBlockPublicAccessCommand, } from "./commands/DisableSnapshotBlockPublicAccessCommand";
@@ -412,6 +413,7 @@ import { EnableFastSnapshotRestoresCommand, } from "./commands/EnableFastSnapsho
412
413
  import { EnableImageBlockPublicAccessCommand, } from "./commands/EnableImageBlockPublicAccessCommand";
413
414
  import { EnableImageCommand } from "./commands/EnableImageCommand";
414
415
  import { EnableImageDeprecationCommand, } from "./commands/EnableImageDeprecationCommand";
416
+ import { EnableImageDeregistrationProtectionCommand, } from "./commands/EnableImageDeregistrationProtectionCommand";
415
417
  import { EnableIpamOrganizationAdminAccountCommand, } from "./commands/EnableIpamOrganizationAdminAccountCommand";
416
418
  import { EnableReachabilityAnalyzerOrganizationSharingCommand, } from "./commands/EnableReachabilityAnalyzerOrganizationSharingCommand";
417
419
  import { EnableSerialConsoleAccessCommand, } from "./commands/EnableSerialConsoleAccessCommand";
@@ -1002,6 +1004,7 @@ const commands = {
1002
1004
  DisableImageCommand,
1003
1005
  DisableImageBlockPublicAccessCommand,
1004
1006
  DisableImageDeprecationCommand,
1007
+ DisableImageDeregistrationProtectionCommand,
1005
1008
  DisableIpamOrganizationAdminAccountCommand,
1006
1009
  DisableSerialConsoleAccessCommand,
1007
1010
  DisableSnapshotBlockPublicAccessCommand,
@@ -1032,6 +1035,7 @@ const commands = {
1032
1035
  EnableImageCommand,
1033
1036
  EnableImageBlockPublicAccessCommand,
1034
1037
  EnableImageDeprecationCommand,
1038
+ EnableImageDeregistrationProtectionCommand,
1035
1039
  EnableIpamOrganizationAdminAccountCommand,
1036
1040
  EnableReachabilityAnalyzerOrganizationSharingCommand,
1037
1041
  EnableSerialConsoleAccessCommand,
@@ -0,0 +1,24 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_DisableImageDeregistrationProtectionCommand, se_DisableImageDeregistrationProtectionCommand, } from "../protocols/Aws_ec2";
6
+ export { $Command };
7
+ export class DisableImageDeregistrationProtectionCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("AmazonEC2", "DisableImageDeregistrationProtection", {})
19
+ .n("EC2Client", "DisableImageDeregistrationProtectionCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_DisableImageDeregistrationProtectionCommand)
22
+ .de(de_DisableImageDeregistrationProtectionCommand)
23
+ .build() {
24
+ }
@@ -0,0 +1,24 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_EnableImageDeregistrationProtectionCommand, se_EnableImageDeregistrationProtectionCommand, } from "../protocols/Aws_ec2";
6
+ export { $Command };
7
+ export class EnableImageDeregistrationProtectionCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("AmazonEC2", "EnableImageDeregistrationProtection", {})
19
+ .n("EC2Client", "EnableImageDeregistrationProtectionCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_EnableImageDeregistrationProtectionCommand)
22
+ .de(de_EnableImageDeregistrationProtectionCommand)
23
+ .build() {
24
+ }
@@ -381,6 +381,7 @@ export * from "./DisableFastSnapshotRestoresCommand";
381
381
  export * from "./DisableImageBlockPublicAccessCommand";
382
382
  export * from "./DisableImageCommand";
383
383
  export * from "./DisableImageDeprecationCommand";
384
+ export * from "./DisableImageDeregistrationProtectionCommand";
384
385
  export * from "./DisableIpamOrganizationAdminAccountCommand";
385
386
  export * from "./DisableSerialConsoleAccessCommand";
386
387
  export * from "./DisableSnapshotBlockPublicAccessCommand";
@@ -411,6 +412,7 @@ export * from "./EnableFastSnapshotRestoresCommand";
411
412
  export * from "./EnableImageBlockPublicAccessCommand";
412
413
  export * from "./EnableImageCommand";
413
414
  export * from "./EnableImageDeprecationCommand";
415
+ export * from "./EnableImageDeregistrationProtectionCommand";
414
416
  export * from "./EnableIpamOrganizationAdminAccountCommand";
415
417
  export * from "./EnableReachabilityAnalyzerOrganizationSharingCommand";
416
418
  export * from "./EnableSerialConsoleAccessCommand";
@@ -144,6 +144,7 @@ export const ReservationState = {
144
144
  export const ImageAttributeName = {
145
145
  blockDeviceMapping: "blockDeviceMapping",
146
146
  bootMode: "bootMode",
147
+ deregistrationProtection: "deregistrationProtection",
147
148
  description: "description",
148
149
  imdsSupport: "imdsSupport",
149
150
  kernel: "kernel",
@@ -187,6 +187,7 @@ export const AnalysisStatus = {
187
187
  succeeded: "succeeded",
188
188
  };
189
189
  export const NetworkInterfaceAttribute = {
190
+ associatePublicIpAddress: "associatePublicIpAddress",
190
191
  attachment: "attachment",
191
192
  description: "description",
192
193
  groupSet: "groupSet",
@@ -84,17 +84,6 @@ export const IpamDiscoveryFailureCode = {
84
84
  throttling_failure: "throttling-failure",
85
85
  unauthorized_failure: "unauthorized-failure",
86
86
  };
87
- export const IpamPublicAddressType = {
88
- AMAZON_OWNED_EIP: "amazon-owned-eip",
89
- BYOIP: "byoip",
90
- EC2_PUBLIC_IP: "ec2-public-ip",
91
- SERVICE_MANAGED_BYOIP: "service-managed-byoip",
92
- SERVICE_MANAGED_IP: "service-managed-ip",
93
- };
94
- export const IpamPublicAddressAssociationStatus = {
95
- ASSOCIATED: "associated",
96
- DISASSOCIATED: "disassociated",
97
- };
98
87
  export const DescribeVerifiedAccessTrustProvidersResultFilterSensitiveLog = (obj) => ({
99
88
  ...obj,
100
89
  ...(obj.VerifiedAccessTrustProviders && {
@@ -4,6 +4,17 @@ import { ResponseLaunchTemplateDataFilterSensitiveLog, } from "./models_1";
4
4
  import { VpnConnectionFilterSensitiveLog, } from "./models_2";
5
5
  import { ConversionTaskFilterSensitiveLog, SnapshotDetailFilterSensitiveLog, } from "./models_3";
6
6
  import { SnapshotTaskDetailFilterSensitiveLog, } from "./models_4";
7
+ export const IpamPublicAddressType = {
8
+ AMAZON_OWNED_EIP: "amazon-owned-eip",
9
+ BYOIP: "byoip",
10
+ EC2_PUBLIC_IP: "ec2-public-ip",
11
+ SERVICE_MANAGED_BYOIP: "service-managed-byoip",
12
+ SERVICE_MANAGED_IP: "service-managed-ip",
13
+ };
14
+ export const IpamPublicAddressAssociationStatus = {
15
+ ASSOCIATED: "associated",
16
+ DISASSOCIATED: "disassociated",
17
+ };
7
18
  export const IpamPublicAddressAwsService = {
8
19
  AGA: "global-accelerator",
9
20
  DMS: "database-migration-service",