@aws-sdk/client-ec2 3.556.0 → 3.561.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 (61) hide show
  1. package/README.md +16 -0
  2. package/dist-cjs/index.js +164 -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_5.js +0 -11
  9. package/dist-es/models/models_6.js +11 -0
  10. package/dist-es/protocols/Aws_ec2.js +110 -13
  11. package/dist-types/EC2.d.ts +14 -0
  12. package/dist-types/EC2Client.d.ts +4 -2
  13. package/dist-types/commands/CancelSpotFleetRequestsCommand.d.ts +9 -0
  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/DeleteFleetsCommand.d.ts +15 -8
  18. package/dist-types/commands/DescribeImageAttributeCommand.d.ts +2 -1
  19. package/dist-types/commands/DescribeImagesCommand.d.ts +6 -0
  20. package/dist-types/commands/DescribeInstanceTypeOfferingsCommand.d.ts +2 -2
  21. package/dist-types/commands/DescribeInstanceTypesCommand.d.ts +2 -2
  22. package/dist-types/commands/DescribeInstancesCommand.d.ts +4 -0
  23. package/dist-types/commands/DescribeNetworkInterfacesCommand.d.ts +4 -0
  24. package/dist-types/commands/DescribeSnapshotsCommand.d.ts +4 -0
  25. package/dist-types/commands/DescribeTagsCommand.d.ts +4 -0
  26. package/dist-types/commands/DescribeVolumesCommand.d.ts +4 -0
  27. package/dist-types/commands/DisableImageDeregistrationProtectionCommand.d.ts +66 -0
  28. package/dist-types/commands/EnableImageDeregistrationProtectionCommand.d.ts +66 -0
  29. package/dist-types/commands/GetConsoleScreenshotCommand.d.ts +1 -0
  30. package/dist-types/commands/GetIpamDiscoveredAccountsCommand.d.ts +2 -1
  31. package/dist-types/commands/GetIpamDiscoveredPublicAddressesCommand.d.ts +1 -2
  32. package/dist-types/commands/ModifyInstanceMetadataDefaultsCommand.d.ts +3 -2
  33. package/dist-types/commands/ProvisionPublicIpv4PoolCidrCommand.d.ts +2 -1
  34. package/dist-types/commands/PurchaseCapacityBlockCommand.d.ts +1 -1
  35. package/dist-types/commands/PurchaseHostReservationCommand.d.ts +1 -2
  36. package/dist-types/commands/index.d.ts +2 -0
  37. package/dist-types/models/models_0.d.ts +2 -1
  38. package/dist-types/models/models_1.d.ts +23 -20
  39. package/dist-types/models/models_2.d.ts +10 -8
  40. package/dist-types/models/models_3.d.ts +22 -0
  41. package/dist-types/models/models_4.d.ts +38 -16
  42. package/dist-types/models/models_5.d.ts +65 -83
  43. package/dist-types/models/models_6.d.ts +90 -104
  44. package/dist-types/models/models_7.d.ts +114 -37
  45. package/dist-types/protocols/Aws_ec2.d.ts +18 -0
  46. package/dist-types/ts3.4/EC2.d.ts +46 -0
  47. package/dist-types/ts3.4/EC2Client.d.ts +12 -0
  48. package/dist-types/ts3.4/commands/DisableImageDeregistrationProtectionCommand.d.ts +39 -0
  49. package/dist-types/ts3.4/commands/EnableImageDeregistrationProtectionCommand.d.ts +39 -0
  50. package/dist-types/ts3.4/commands/GetIpamDiscoveredAccountsCommand.d.ts +2 -4
  51. package/dist-types/ts3.4/commands/GetIpamDiscoveredPublicAddressesCommand.d.ts +4 -2
  52. package/dist-types/ts3.4/commands/ProvisionPublicIpv4PoolCidrCommand.d.ts +2 -4
  53. package/dist-types/ts3.4/commands/PurchaseCapacityBlockCommand.d.ts +1 -1
  54. package/dist-types/ts3.4/commands/PurchaseHostReservationCommand.d.ts +4 -2
  55. package/dist-types/ts3.4/commands/index.d.ts +2 -0
  56. package/dist-types/ts3.4/models/models_3.d.ts +4 -0
  57. package/dist-types/ts3.4/models/models_5.d.ts +15 -27
  58. package/dist-types/ts3.4/models/models_6.d.ts +28 -27
  59. package/dist-types/ts3.4/models/models_7.d.ts +24 -0
  60. package/dist-types/ts3.4/protocols/Aws_ec2.d.ts +24 -0
  61. 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]);
@@ -37345,8 +37416,8 @@ var se_SpotFleetLaunchSpecification = /* @__PURE__ */ __name((input, context) =>
37345
37416
  if (input[_UD] != null) {
37346
37417
  entries[_UD] = input[_UD];
37347
37418
  }
37348
- if (input[_WC] != null) {
37349
- entries[_WC] = (0, import_smithy_client.serializeFloat)(input[_WC]);
37419
+ if (input[_WCe] != null) {
37420
+ entries[_WCe] = (0, import_smithy_client.serializeFloat)(input[_WCe]);
37350
37421
  }
37351
37422
  if (input[_TS] != null) {
37352
37423
  const memberEntries = se_SpotFleetTagSpecificationList(input[_TS], context);
@@ -44862,6 +44933,13 @@ var de_DisableImageDeprecationResult = /* @__PURE__ */ __name((output, context)
44862
44933
  }
44863
44934
  return contents;
44864
44935
  }, "de_DisableImageDeprecationResult");
44936
+ var de_DisableImageDeregistrationProtectionResult = /* @__PURE__ */ __name((output, context) => {
44937
+ const contents = {};
44938
+ if (output[_r] != null) {
44939
+ contents[_Ret] = (0, import_smithy_client.expectString)(output[_r]);
44940
+ }
44941
+ return contents;
44942
+ }, "de_DisableImageDeregistrationProtectionResult");
44865
44943
  var de_DisableImageResult = /* @__PURE__ */ __name((output, context) => {
44866
44944
  const contents = {};
44867
44945
  if (output[_r] != null) {
@@ -45523,6 +45601,13 @@ var de_EnableImageDeprecationResult = /* @__PURE__ */ __name((output, context) =
45523
45601
  }
45524
45602
  return contents;
45525
45603
  }, "de_EnableImageDeprecationResult");
45604
+ var de_EnableImageDeregistrationProtectionResult = /* @__PURE__ */ __name((output, context) => {
45605
+ const contents = {};
45606
+ if (output[_r] != null) {
45607
+ contents[_Ret] = (0, import_smithy_client.expectString)(output[_r]);
45608
+ }
45609
+ return contents;
45610
+ }, "de_EnableImageDeregistrationProtectionResult");
45526
45611
  var de_EnableImageResult = /* @__PURE__ */ __name((output, context) => {
45527
45612
  const contents = {};
45528
45613
  if (output[_r] != null) {
@@ -46259,7 +46344,7 @@ var de_FleetLaunchTemplateOverrides = /* @__PURE__ */ __name((output, context) =
46259
46344
  contents[_AZ] = (0, import_smithy_client.expectString)(output[_aZ]);
46260
46345
  }
46261
46346
  if (output[_wC] != null) {
46262
- contents[_WC] = (0, import_smithy_client.strictParseFloat)(output[_wC]);
46347
+ contents[_WCe] = (0, import_smithy_client.strictParseFloat)(output[_wC]);
46263
46348
  }
46264
46349
  if (output[_pri] != null) {
46265
46350
  contents[_Pri] = (0, import_smithy_client.strictParseFloat)(output[_pri]);
@@ -47587,6 +47672,12 @@ var de_Image = /* @__PURE__ */ __name((output, context) => {
47587
47672
  if (output[_sII] != null) {
47588
47673
  contents[_SIIo] = (0, import_smithy_client.expectString)(output[_sII]);
47589
47674
  }
47675
+ if (output[_dP] != null) {
47676
+ contents[_DPer] = (0, import_smithy_client.expectString)(output[_dP]);
47677
+ }
47678
+ if (output[_lLT] != null) {
47679
+ contents[_LLT] = (0, import_smithy_client.expectString)(output[_lLT]);
47680
+ }
47590
47681
  return contents;
47591
47682
  }, "de_Image");
47592
47683
  var de_ImageAttribute = /* @__PURE__ */ __name((output, context) => {
@@ -47636,6 +47727,9 @@ var de_ImageAttribute = /* @__PURE__ */ __name((output, context) => {
47636
47727
  if (output[_iSmd] != null) {
47637
47728
  contents[_ISm] = de_AttributeValue(output[_iSmd], context);
47638
47729
  }
47730
+ if (output[_dP] != null) {
47731
+ contents[_DPer] = de_AttributeValue(output[_dP], context);
47732
+ }
47639
47733
  return contents;
47640
47734
  }, "de_ImageAttribute");
47641
47735
  var de_ImageList = /* @__PURE__ */ __name((output, context) => {
@@ -50601,7 +50695,7 @@ var de_LaunchTemplateOverrides = /* @__PURE__ */ __name((output, context) => {
50601
50695
  contents[_AZ] = (0, import_smithy_client.expectString)(output[_aZ]);
50602
50696
  }
50603
50697
  if (output[_wC] != null) {
50604
- contents[_WC] = (0, import_smithy_client.strictParseFloat)(output[_wC]);
50698
+ contents[_WCe] = (0, import_smithy_client.strictParseFloat)(output[_wC]);
50605
50699
  }
50606
50700
  if (output[_pri] != null) {
50607
50701
  contents[_Pri] = (0, import_smithy_client.strictParseFloat)(output[_pri]);
@@ -52208,8 +52302,8 @@ var de_NetworkInsightsPath = /* @__PURE__ */ __name((output, context) => {
52208
52302
  if (output[_pr] != null) {
52209
52303
  contents[_P] = (0, import_smithy_client.expectString)(output[_pr]);
52210
52304
  }
52211
- if (output[_dP] != null) {
52212
- contents[_DP] = (0, import_smithy_client.strictParseInt32)(output[_dP]);
52305
+ if (output[_dPe] != null) {
52306
+ contents[_DP] = (0, import_smithy_client.strictParseInt32)(output[_dPe]);
52213
52307
  }
52214
52308
  if (output.tagSet === "") {
52215
52309
  contents[_Ta] = [];
@@ -55285,7 +55379,7 @@ var de_SpotFleetLaunchSpecification = /* @__PURE__ */ __name((output, context) =
55285
55379
  contents[_UD] = (0, import_smithy_client.expectString)(output[_uDs]);
55286
55380
  }
55287
55381
  if (output[_wC] != null) {
55288
- contents[_WC] = (0, import_smithy_client.strictParseFloat)(output[_wC]);
55382
+ contents[_WCe] = (0, import_smithy_client.strictParseFloat)(output[_wC]);
55289
55383
  }
55290
55384
  if (output.tagSpecificationSet === "") {
55291
55385
  contents[_TS] = [];
@@ -59449,6 +59543,7 @@ var _DICE = "DeleteInstanceConnectEndpoint";
59449
59543
  var _DICEe = "DescribeInstanceConnectEndpoints";
59450
59544
  var _DICS = "DescribeInstanceCreditSpecifications";
59451
59545
  var _DID = "DisableImageDeprecation";
59546
+ var _DIDP = "DisableImageDeregistrationProtection";
59452
59547
  var _DIENA = "DeregisterInstanceEventNotificationAttributes";
59453
59548
  var _DIENAe = "DescribeInstanceEventNotificationAttributes";
59454
59549
  var _DIEW = "DeleteInstanceEventWindow";
@@ -59567,6 +59662,7 @@ var _DPR = "DestinationPortRange";
59567
59662
  var _DPRT = "DefaultPropagationRouteTable";
59568
59663
  var _DPRe = "DestinationPortRanges";
59569
59664
  var _DPe = "DestinationPorts";
59665
+ var _DPer = "DeregistrationProtection";
59570
59666
  var _DQ = "DataQueries";
59571
59667
  var _DQRI = "DeleteQueuedReservedInstances";
59572
59668
  var _DR = "DeleteRoute";
@@ -59776,6 +59872,7 @@ var _EIAAT = "ElasticInferenceAcceleratorAssociationTime";
59776
59872
  var _EIAAl = "ElasticInferenceAcceleratorAssociations";
59777
59873
  var _EIBPA = "EnableImageBlockPublicAccess";
59778
59874
  var _EID = "EnableImageDeprecation";
59875
+ var _EIDP = "EnableImageDeregistrationProtection";
59779
59876
  var _EIOAA = "EnableIpamOrganizationAdminAccount";
59780
59877
  var _EIT = "ExcludedInstanceTypes";
59781
59878
  var _EITI = "ExportImageTaskIds";
@@ -61385,7 +61482,8 @@ var _Vp = "Vpc";
61385
61482
  var _Vpc = "Vpcs";
61386
61483
  var _W = "Weight";
61387
61484
  var _WBC = "WithdrawByoipCidr";
61388
- var _WC = "WeightedCapacity";
61485
+ var _WC = "WithCooldown";
61486
+ var _WCe = "WeightedCapacity";
61389
61487
  var _WM = "WarningMessage";
61390
61488
  var _WU = "WakeUp";
61391
61489
  var _Wa = "Warning";
@@ -61729,13 +61827,14 @@ var _dOT = "deleteOnTermination";
61729
61827
  var _dOe = "destinationOptions";
61730
61828
  var _dOev = "deviceOptions";
61731
61829
  var _dOn = "dnsOptions";
61732
- var _dP = "destinationPort";
61830
+ var _dP = "deregistrationProtection";
61733
61831
  var _dPLI = "destinationPrefixListId";
61734
61832
  var _dPLS = "destinationPrefixListSet";
61735
61833
  var _dPR = "destinationPortRange";
61736
61834
  var _dPRS = "destinationPortRangeSet";
61737
61835
  var _dPRT = "defaultPropagationRouteTable";
61738
61836
  var _dPS = "destinationPortSet";
61837
+ var _dPe = "destinationPort";
61739
61838
  var _dR = "discoveryRegion";
61740
61839
  var _dRDAI = "defaultResourceDiscoveryAssociationId";
61741
61840
  var _dRDI = "defaultResourceDiscoveryId";
@@ -68750,6 +68849,7 @@ var ReservationState = {
68750
68849
  var ImageAttributeName = {
68751
68850
  blockDeviceMapping: "blockDeviceMapping",
68752
68851
  bootMode: "bootMode",
68852
+ deregistrationProtection: "deregistrationProtection",
68753
68853
  description: "description",
68754
68854
  imdsSupport: "imdsSupport",
68755
68855
  kernel: "kernel",
@@ -71820,17 +71920,6 @@ var IpamDiscoveryFailureCode = {
71820
71920
  throttling_failure: "throttling-failure",
71821
71921
  unauthorized_failure: "unauthorized-failure"
71822
71922
  };
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
71923
  var DescribeVerifiedAccessTrustProvidersResultFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
71835
71924
  ...obj,
71836
71925
  ...obj.VerifiedAccessTrustProviders && {
@@ -72392,6 +72481,23 @@ var _DisableImageDeprecationCommand = class _DisableImageDeprecationCommand exte
72392
72481
  __name(_DisableImageDeprecationCommand, "DisableImageDeprecationCommand");
72393
72482
  var DisableImageDeprecationCommand = _DisableImageDeprecationCommand;
72394
72483
 
72484
+ // src/commands/DisableImageDeregistrationProtectionCommand.ts
72485
+
72486
+
72487
+
72488
+
72489
+ var _DisableImageDeregistrationProtectionCommand = class _DisableImageDeregistrationProtectionCommand extends import_smithy_client.Command.classBuilder().ep({
72490
+ ...commonParams
72491
+ }).m(function(Command, cs, config, o) {
72492
+ return [
72493
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
72494
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
72495
+ ];
72496
+ }).s("AmazonEC2", "DisableImageDeregistrationProtection", {}).n("EC2Client", "DisableImageDeregistrationProtectionCommand").f(void 0, void 0).ser(se_DisableImageDeregistrationProtectionCommand).de(de_DisableImageDeregistrationProtectionCommand).build() {
72497
+ };
72498
+ __name(_DisableImageDeregistrationProtectionCommand, "DisableImageDeregistrationProtectionCommand");
72499
+ var DisableImageDeregistrationProtectionCommand = _DisableImageDeregistrationProtectionCommand;
72500
+
72395
72501
  // src/commands/DisableIpamOrganizationAdminAccountCommand.ts
72396
72502
 
72397
72503
 
@@ -72902,6 +73008,23 @@ var _EnableImageDeprecationCommand = class _EnableImageDeprecationCommand extend
72902
73008
  __name(_EnableImageDeprecationCommand, "EnableImageDeprecationCommand");
72903
73009
  var EnableImageDeprecationCommand = _EnableImageDeprecationCommand;
72904
73010
 
73011
+ // src/commands/EnableImageDeregistrationProtectionCommand.ts
73012
+
73013
+
73014
+
73015
+
73016
+ var _EnableImageDeregistrationProtectionCommand = class _EnableImageDeregistrationProtectionCommand extends import_smithy_client.Command.classBuilder().ep({
73017
+ ...commonParams
73018
+ }).m(function(Command, cs, config, o) {
73019
+ return [
73020
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
73021
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
73022
+ ];
73023
+ }).s("AmazonEC2", "EnableImageDeregistrationProtection", {}).n("EC2Client", "EnableImageDeregistrationProtectionCommand").f(void 0, void 0).ser(se_EnableImageDeregistrationProtectionCommand).de(de_EnableImageDeregistrationProtectionCommand).build() {
73024
+ };
73025
+ __name(_EnableImageDeregistrationProtectionCommand, "EnableImageDeregistrationProtectionCommand");
73026
+ var EnableImageDeregistrationProtectionCommand = _EnableImageDeregistrationProtectionCommand;
73027
+
72905
73028
  // src/commands/EnableIpamOrganizationAdminAccountCommand.ts
72906
73029
 
72907
73030
 
@@ -73539,6 +73662,17 @@ var GetIpamResourceCidrsCommand = _GetIpamResourceCidrsCommand;
73539
73662
 
73540
73663
  // src/models/models_6.ts
73541
73664
 
73665
+ var IpamPublicAddressType = {
73666
+ AMAZON_OWNED_EIP: "amazon-owned-eip",
73667
+ BYOIP: "byoip",
73668
+ EC2_PUBLIC_IP: "ec2-public-ip",
73669
+ SERVICE_MANAGED_BYOIP: "service-managed-byoip",
73670
+ SERVICE_MANAGED_IP: "service-managed-ip"
73671
+ };
73672
+ var IpamPublicAddressAssociationStatus = {
73673
+ ASSOCIATED: "associated",
73674
+ DISASSOCIATED: "disassociated"
73675
+ };
73542
73676
  var IpamPublicAddressAwsService = {
73543
73677
  AGA: "global-accelerator",
73544
73678
  DMS: "database-migration-service",
@@ -77042,6 +77176,7 @@ var commands = {
77042
77176
  DisableImageCommand,
77043
77177
  DisableImageBlockPublicAccessCommand,
77044
77178
  DisableImageDeprecationCommand,
77179
+ DisableImageDeregistrationProtectionCommand,
77045
77180
  DisableIpamOrganizationAdminAccountCommand,
77046
77181
  DisableSerialConsoleAccessCommand,
77047
77182
  DisableSnapshotBlockPublicAccessCommand,
@@ -77072,6 +77207,7 @@ var commands = {
77072
77207
  EnableImageCommand,
77073
77208
  EnableImageBlockPublicAccessCommand,
77074
77209
  EnableImageDeprecationCommand,
77210
+ EnableImageDeregistrationProtectionCommand,
77075
77211
  EnableIpamOrganizationAdminAccountCommand,
77076
77212
  EnableReachabilityAnalyzerOrganizationSharingCommand,
77077
77213
  EnableSerialConsoleAccessCommand,
@@ -80115,6 +80251,7 @@ var waitUntilVpnConnectionDeleted = /* @__PURE__ */ __name(async (params, input)
80115
80251
  DisableImageBlockPublicAccessCommand,
80116
80252
  DisableImageCommand,
80117
80253
  DisableImageDeprecationCommand,
80254
+ DisableImageDeregistrationProtectionCommand,
80118
80255
  DisableIpamOrganizationAdminAccountCommand,
80119
80256
  DisableSerialConsoleAccessCommand,
80120
80257
  DisableSnapshotBlockPublicAccessCommand,
@@ -80145,6 +80282,7 @@ var waitUntilVpnConnectionDeleted = /* @__PURE__ */ __name(async (params, input)
80145
80282
  EnableImageBlockPublicAccessCommand,
80146
80283
  EnableImageCommand,
80147
80284
  EnableImageDeprecationCommand,
80285
+ EnableImageDeregistrationProtectionCommand,
80148
80286
  EnableIpamOrganizationAdminAccountCommand,
80149
80287
  EnableReachabilityAnalyzerOrganizationSharingCommand,
80150
80288
  EnableSerialConsoleAccessCommand,
@@ -80916,11 +81054,11 @@ var waitUntilVpnConnectionDeleted = /* @__PURE__ */ __name(async (params, input)
80916
81054
  IpamOverlapStatus,
80917
81055
  IpamAddressHistoryResourceType,
80918
81056
  IpamDiscoveryFailureCode,
80919
- IpamPublicAddressType,
80920
- IpamPublicAddressAssociationStatus,
80921
81057
  DescribeVerifiedAccessTrustProvidersResultFilterSensitiveLog,
80922
81058
  DescribeVpnConnectionsResultFilterSensitiveLog,
80923
81059
  DetachVerifiedAccessTrustProviderResultFilterSensitiveLog,
81060
+ IpamPublicAddressType,
81061
+ IpamPublicAddressAssociationStatus,
80924
81062
  IpamPublicAddressAwsService,
80925
81063
  IpamResourceType,
80926
81064
  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",
@@ -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",