@aws-sdk/client-ec2 3.677.0 → 3.679.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 (72) hide show
  1. package/README.md +9 -1
  2. package/dist-cjs/index.js +216 -23
  3. package/dist-es/EC2.js +2 -0
  4. package/dist-es/commands/DescribeInstanceImageMetadataCommand.js +22 -0
  5. package/dist-es/commands/index.js +1 -0
  6. package/dist-es/models/models_1.js +36 -0
  7. package/dist-es/models/models_4.js +8 -12
  8. package/dist-es/models/models_5.js +4 -6
  9. package/dist-es/models/models_6.js +6 -0
  10. package/dist-es/pagination/DescribeInstanceImageMetadataPaginator.js +4 -0
  11. package/dist-es/pagination/index.js +1 -0
  12. package/dist-es/protocols/Aws_ec2.js +140 -2
  13. package/dist-types/EC2.d.ts +8 -0
  14. package/dist-types/EC2Client.d.ts +3 -2
  15. package/dist-types/commands/CreateCapacityReservationFleetCommand.d.ts +2 -2
  16. package/dist-types/commands/CreateFleetCommand.d.ts +4 -4
  17. package/dist-types/commands/CreateLaunchTemplateCommand.d.ts +1 -1
  18. package/dist-types/commands/CreateLaunchTemplateVersionCommand.d.ts +2 -2
  19. package/dist-types/commands/DescribeCapacityReservationFleetsCommand.d.ts +1 -1
  20. package/dist-types/commands/DescribeFleetsCommand.d.ts +4 -4
  21. package/dist-types/commands/DescribeInstanceImageMetadataCommand.d.ts +132 -0
  22. package/dist-types/commands/DescribeInstanceTypeOfferingsCommand.d.ts +1 -1
  23. package/dist-types/commands/DescribeInstanceTypesCommand.d.ts +2 -2
  24. package/dist-types/commands/DescribeInstancesCommand.d.ts +1 -1
  25. package/dist-types/commands/DescribeLaunchTemplateVersionsCommand.d.ts +1 -1
  26. package/dist-types/commands/DescribeReservedInstancesCommand.d.ts +1 -1
  27. package/dist-types/commands/DescribeReservedInstancesModificationsCommand.d.ts +1 -1
  28. package/dist-types/commands/DescribeReservedInstancesOfferingsCommand.d.ts +2 -2
  29. package/dist-types/commands/DescribeSpotFleetRequestHistoryCommand.d.ts +2 -1
  30. package/dist-types/commands/DescribeSpotFleetRequestsCommand.d.ts +3 -4
  31. package/dist-types/commands/DescribeSpotInstanceRequestsCommand.d.ts +1 -1
  32. package/dist-types/commands/DescribeSpotPriceHistoryCommand.d.ts +2 -2
  33. package/dist-types/commands/GetEbsDefaultKmsKeyIdCommand.d.ts +2 -1
  34. package/dist-types/commands/GetEbsEncryptionByDefaultCommand.d.ts +1 -1
  35. package/dist-types/commands/GetLaunchTemplateDataCommand.d.ts +1 -1
  36. package/dist-types/commands/ImportInstanceCommand.d.ts +1 -1
  37. package/dist-types/commands/ModifyFleetCommand.d.ts +1 -1
  38. package/dist-types/commands/ModifyReservedInstancesCommand.d.ts +1 -1
  39. package/dist-types/commands/ModifySpotFleetRequestCommand.d.ts +1 -1
  40. package/dist-types/commands/ModifyVpcEndpointConnectionNotificationCommand.d.ts +1 -1
  41. package/dist-types/commands/ModifyVpcEndpointServiceConfigurationCommand.d.ts +1 -1
  42. package/dist-types/commands/RequestSpotFleetCommand.d.ts +2 -2
  43. package/dist-types/commands/RequestSpotInstancesCommand.d.ts +2 -2
  44. package/dist-types/commands/RunInstancesCommand.d.ts +2 -2
  45. package/dist-types/commands/index.d.ts +1 -0
  46. package/dist-types/models/models_1.d.ts +87 -15
  47. package/dist-types/models/models_4.d.ts +274 -167
  48. package/dist-types/models/models_5.d.ts +96 -53
  49. package/dist-types/models/models_6.d.ts +54 -117
  50. package/dist-types/models/models_7.d.ts +114 -0
  51. package/dist-types/pagination/DescribeInstanceImageMetadataPaginator.d.ts +7 -0
  52. package/dist-types/pagination/index.d.ts +1 -0
  53. package/dist-types/protocols/Aws_ec2.d.ts +9 -0
  54. package/dist-types/ts3.4/EC2.d.ts +18 -0
  55. package/dist-types/ts3.4/EC2Client.d.ts +6 -0
  56. package/dist-types/ts3.4/commands/DescribeInstanceImageMetadataCommand.d.ts +51 -0
  57. package/dist-types/ts3.4/commands/DescribeSpotFleetRequestHistoryCommand.d.ts +2 -4
  58. package/dist-types/ts3.4/commands/DescribeSpotFleetRequestsCommand.d.ts +4 -2
  59. package/dist-types/ts3.4/commands/GetEbsDefaultKmsKeyIdCommand.d.ts +2 -4
  60. package/dist-types/ts3.4/commands/GetEbsEncryptionByDefaultCommand.d.ts +1 -1
  61. package/dist-types/ts3.4/commands/ModifyVpcEndpointConnectionNotificationCommand.d.ts +1 -1
  62. package/dist-types/ts3.4/commands/ModifyVpcEndpointServiceConfigurationCommand.d.ts +1 -1
  63. package/dist-types/ts3.4/commands/index.d.ts +1 -0
  64. package/dist-types/ts3.4/models/models_1.d.ts +36 -0
  65. package/dist-types/ts3.4/models/models_4.d.ts +46 -36
  66. package/dist-types/ts3.4/models/models_5.d.ts +23 -21
  67. package/dist-types/ts3.4/models/models_6.d.ts +20 -27
  68. package/dist-types/ts3.4/models/models_7.d.ts +25 -0
  69. package/dist-types/ts3.4/pagination/DescribeInstanceImageMetadataPaginator.d.ts +11 -0
  70. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  71. package/dist-types/ts3.4/protocols/Aws_ec2.d.ts +12 -0
  72. package/package.json +15 -15
package/README.md CHANGED
@@ -13,7 +13,7 @@ see the <a href="https://docs.aws.amazon.com/ec2/latest/devguide">Amazon EC2 Dev
13
13
 
14
14
  ## Installing
15
15
 
16
- To install the this package, simply type add or install @aws-sdk/client-ec2
16
+ To install this package, simply type add or install @aws-sdk/client-ec2
17
17
  using your favorite package manager:
18
18
 
19
19
  - `npm install @aws-sdk/client-ec2`
@@ -2405,6 +2405,14 @@ DescribeInstanceEventWindows
2405
2405
 
2406
2406
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/ec2/command/DescribeInstanceEventWindowsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ec2/Interface/DescribeInstanceEventWindowsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ec2/Interface/DescribeInstanceEventWindowsCommandOutput/)
2407
2407
 
2408
+ </details>
2409
+ <details>
2410
+ <summary>
2411
+ DescribeInstanceImageMetadata
2412
+ </summary>
2413
+
2414
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/ec2/command/DescribeInstanceImageMetadataCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ec2/Interface/DescribeInstanceImageMetadataCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ec2/Interface/DescribeInstanceImageMetadataCommandOutput/)
2415
+
2408
2416
  </details>
2409
2417
  <details>
2410
2418
  <summary>
package/dist-cjs/index.js CHANGED
@@ -386,6 +386,7 @@ __export(src_exports, {
386
386
  DescribeInstanceCreditSpecificationsCommand: () => DescribeInstanceCreditSpecificationsCommand,
387
387
  DescribeInstanceEventNotificationAttributesCommand: () => DescribeInstanceEventNotificationAttributesCommand,
388
388
  DescribeInstanceEventWindowsCommand: () => DescribeInstanceEventWindowsCommand,
389
+ DescribeInstanceImageMetadataCommand: () => DescribeInstanceImageMetadataCommand,
389
390
  DescribeInstanceStatusCommand: () => DescribeInstanceStatusCommand,
390
391
  DescribeInstanceTopologyCommand: () => DescribeInstanceTopologyCommand,
391
392
  DescribeInstanceTypeOfferingsCommand: () => DescribeInstanceTypeOfferingsCommand,
@@ -1119,6 +1120,7 @@ __export(src_exports, {
1119
1120
  paginateDescribeInstanceConnectEndpoints: () => paginateDescribeInstanceConnectEndpoints,
1120
1121
  paginateDescribeInstanceCreditSpecifications: () => paginateDescribeInstanceCreditSpecifications,
1121
1122
  paginateDescribeInstanceEventWindows: () => paginateDescribeInstanceEventWindows,
1123
+ paginateDescribeInstanceImageMetadata: () => paginateDescribeInstanceImageMetadata,
1122
1124
  paginateDescribeInstanceStatus: () => paginateDescribeInstanceStatus,
1123
1125
  paginateDescribeInstanceTopology: () => paginateDescribeInstanceTopology,
1124
1126
  paginateDescribeInstanceTypeOfferings: () => paginateDescribeInstanceTypeOfferings,
@@ -4217,6 +4219,16 @@ var se_DescribeInstanceEventWindowsCommand = /* @__PURE__ */ __name(async (input
4217
4219
  });
4218
4220
  return buildHttpRpcRequest(context, headers, "/", void 0, body);
4219
4221
  }, "se_DescribeInstanceEventWindowsCommand");
4222
+ var se_DescribeInstanceImageMetadataCommand = /* @__PURE__ */ __name(async (input, context) => {
4223
+ const headers = SHARED_HEADERS;
4224
+ let body;
4225
+ body = buildFormUrlencodedString({
4226
+ ...se_DescribeInstanceImageMetadataRequest(input, context),
4227
+ [_A]: _DIIM,
4228
+ [_V]: _
4229
+ });
4230
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
4231
+ }, "se_DescribeInstanceImageMetadataCommand");
4220
4232
  var se_DescribeInstancesCommand = /* @__PURE__ */ __name(async (input, context) => {
4221
4233
  const headers = SHARED_HEADERS;
4222
4234
  let body;
@@ -11291,6 +11303,19 @@ var de_DescribeInstanceEventWindowsCommand = /* @__PURE__ */ __name(async (outpu
11291
11303
  };
11292
11304
  return response;
11293
11305
  }, "de_DescribeInstanceEventWindowsCommand");
11306
+ var de_DescribeInstanceImageMetadataCommand = /* @__PURE__ */ __name(async (output, context) => {
11307
+ if (output.statusCode >= 300) {
11308
+ return de_CommandError(output, context);
11309
+ }
11310
+ const data = await (0, import_core2.parseXmlBody)(output.body, context);
11311
+ let contents = {};
11312
+ contents = de_DescribeInstanceImageMetadataResult(data, context);
11313
+ const response = {
11314
+ $metadata: deserializeMetadata(output),
11315
+ ...contents
11316
+ };
11317
+ return response;
11318
+ }, "de_DescribeInstanceImageMetadataCommand");
11294
11319
  var de_DescribeInstancesCommand = /* @__PURE__ */ __name(async (output, context) => {
11295
11320
  if (output.statusCode >= 300) {
11296
11321
  return de_CommandError(output, context);
@@ -22894,6 +22919,33 @@ var se_DescribeInstanceEventWindowsRequest = /* @__PURE__ */ __name((input, cont
22894
22919
  }
22895
22920
  return entries;
22896
22921
  }, "se_DescribeInstanceEventWindowsRequest");
22922
+ var se_DescribeInstanceImageMetadataRequest = /* @__PURE__ */ __name((input, context) => {
22923
+ const entries = {};
22924
+ if (input[_Fi] != null) {
22925
+ const memberEntries = se_FilterList(input[_Fi], context);
22926
+ Object.entries(memberEntries).forEach(([key, value]) => {
22927
+ const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`;
22928
+ entries[loc] = value;
22929
+ });
22930
+ }
22931
+ if (input[_IIns] != null) {
22932
+ const memberEntries = se_InstanceIdStringList(input[_IIns], context);
22933
+ Object.entries(memberEntries).forEach(([key, value]) => {
22934
+ const loc = `InstanceId.${key.substring(key.indexOf(".") + 1)}`;
22935
+ entries[loc] = value;
22936
+ });
22937
+ }
22938
+ if (input[_MR] != null) {
22939
+ entries[_MR] = input[_MR];
22940
+ }
22941
+ if (input[_NT] != null) {
22942
+ entries[_NT] = input[_NT];
22943
+ }
22944
+ if (input[_DRr] != null) {
22945
+ entries[_DRr] = input[_DRr];
22946
+ }
22947
+ return entries;
22948
+ }, "se_DescribeInstanceImageMetadataRequest");
22897
22949
  var se_DescribeInstancesRequest = /* @__PURE__ */ __name((input, context) => {
22898
22950
  const entries = {};
22899
22951
  if (input[_IIns] != null) {
@@ -41852,6 +41904,18 @@ var de_DescribeInstanceEventWindowsResult = /* @__PURE__ */ __name((output, cont
41852
41904
  }
41853
41905
  return contents;
41854
41906
  }, "de_DescribeInstanceEventWindowsResult");
41907
+ var de_DescribeInstanceImageMetadataResult = /* @__PURE__ */ __name((output, context) => {
41908
+ const contents = {};
41909
+ if (output.instanceImageMetadataSet === "") {
41910
+ contents[_IIM] = [];
41911
+ } else if (output[_iIMS] != null && output[_iIMS][_i] != null) {
41912
+ contents[_IIM] = de_InstanceImageMetadataList((0, import_smithy_client.getArrayIfSingleItem)(output[_iIMS][_i]), context);
41913
+ }
41914
+ if (output[_nTe] != null) {
41915
+ contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]);
41916
+ }
41917
+ return contents;
41918
+ }, "de_DescribeInstanceImageMetadataResult");
41855
41919
  var de_DescribeInstancesResult = /* @__PURE__ */ __name((output, context) => {
41856
41920
  const contents = {};
41857
41921
  if (output[_nTe] != null) {
@@ -46215,6 +46279,34 @@ var de_ImageList = /* @__PURE__ */ __name((output, context) => {
46215
46279
  return de_Image(entry, context);
46216
46280
  });
46217
46281
  }, "de_ImageList");
46282
+ var de_ImageMetadata = /* @__PURE__ */ __name((output, context) => {
46283
+ const contents = {};
46284
+ if (output[_iIma] != null) {
46285
+ contents[_IIma] = (0, import_smithy_client.expectString)(output[_iIma]);
46286
+ }
46287
+ if (output[_n] != null) {
46288
+ contents[_N] = (0, import_smithy_client.expectString)(output[_n]);
46289
+ }
46290
+ if (output[_iOI] != null) {
46291
+ contents[_OIwn] = (0, import_smithy_client.expectString)(output[_iOI]);
46292
+ }
46293
+ if (output[_iSma] != null) {
46294
+ contents[_Stat] = (0, import_smithy_client.expectString)(output[_iSma]);
46295
+ }
46296
+ if (output[_iOA] != null) {
46297
+ contents[_IOA] = (0, import_smithy_client.expectString)(output[_iOA]);
46298
+ }
46299
+ if (output[_cDr] != null) {
46300
+ contents[_CDre] = (0, import_smithy_client.expectString)(output[_cDr]);
46301
+ }
46302
+ if (output[_dTe] != null) {
46303
+ contents[_DTep] = (0, import_smithy_client.expectString)(output[_dTe]);
46304
+ }
46305
+ if (output[_iPs] != null) {
46306
+ contents[_IPs] = (0, import_smithy_client.parseBoolean)(output[_iPs]);
46307
+ }
46308
+ return contents;
46309
+ }, "de_ImageMetadata");
46218
46310
  var de_ImageRecycleBinInfo = /* @__PURE__ */ __name((output, context) => {
46219
46311
  const contents = {};
46220
46312
  if (output[_iIma] != null) {
@@ -47026,6 +47118,44 @@ var de_InstanceIdsSet = /* @__PURE__ */ __name((output, context) => {
47026
47118
  return (0, import_smithy_client.expectString)(entry);
47027
47119
  });
47028
47120
  }, "de_InstanceIdsSet");
47121
+ var de_InstanceImageMetadata = /* @__PURE__ */ __name((output, context) => {
47122
+ const contents = {};
47123
+ if (output[_iI] != null) {
47124
+ contents[_IIn] = (0, import_smithy_client.expectString)(output[_iI]);
47125
+ }
47126
+ if (output[_iT] != null) {
47127
+ contents[_IT] = (0, import_smithy_client.expectString)(output[_iT]);
47128
+ }
47129
+ if (output[_lTau] != null) {
47130
+ contents[_LTaun] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_lTau]));
47131
+ }
47132
+ if (output[_aZ] != null) {
47133
+ contents[_AZ] = (0, import_smithy_client.expectString)(output[_aZ]);
47134
+ }
47135
+ if (output[_zI] != null) {
47136
+ contents[_ZIo] = (0, import_smithy_client.expectString)(output[_zI]);
47137
+ }
47138
+ if (output[_iSnst] != null) {
47139
+ contents[_Stat] = de_InstanceState(output[_iSnst], context);
47140
+ }
47141
+ if (output[_iOIn] != null) {
47142
+ contents[_OIwn] = (0, import_smithy_client.expectString)(output[_iOIn]);
47143
+ }
47144
+ if (output.tagSet === "") {
47145
+ contents[_Ta] = [];
47146
+ } else if (output[_tS] != null && output[_tS][_i] != null) {
47147
+ contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context);
47148
+ }
47149
+ if (output[_iM] != null) {
47150
+ contents[_IMm] = de_ImageMetadata(output[_iM], context);
47151
+ }
47152
+ return contents;
47153
+ }, "de_InstanceImageMetadata");
47154
+ var de_InstanceImageMetadataList = /* @__PURE__ */ __name((output, context) => {
47155
+ return (output || []).filter((e) => e != null).map((entry) => {
47156
+ return de_InstanceImageMetadata(entry, context);
47157
+ });
47158
+ }, "de_InstanceImageMetadataList");
47029
47159
  var de_InstanceIpv4Prefix = /* @__PURE__ */ __name((output, context) => {
47030
47160
  const contents = {};
47031
47161
  if (output[_iPpv] != null) {
@@ -50496,7 +50626,7 @@ var de_NatGatewayAddress = /* @__PURE__ */ __name((output, context) => {
50496
50626
  contents[_AIss] = (0, import_smithy_client.expectString)(output[_aIs]);
50497
50627
  }
50498
50628
  if (output[_iPsr] != null) {
50499
- contents[_IPs] = (0, import_smithy_client.parseBoolean)(output[_iPsr]);
50629
+ contents[_IPsr] = (0, import_smithy_client.parseBoolean)(output[_iPsr]);
50500
50630
  }
50501
50631
  if (output[_fM] != null) {
50502
50632
  contents[_FM] = (0, import_smithy_client.expectString)(output[_fM]);
@@ -58170,6 +58300,7 @@ var _DIG = "DeleteInternetGateway";
58170
58300
  var _DIGe = "DescribeInternetGateways";
58171
58301
  var _DIGet = "DetachInternetGateway";
58172
58302
  var _DIIF = "DescribeIdentityIdFormat";
58303
+ var _DIIM = "DescribeInstanceImageMetadata";
58173
58304
  var _DIIP = "DisassociateIamInstanceProfile";
58174
58305
  var _DIIPA = "DescribeIamInstanceProfileAssociations";
58175
58306
  var _DIIT = "DescribeImportImageTasks";
@@ -58783,6 +58914,7 @@ var _IH = "InstanceHealth";
58783
58914
  var _IHn = "InboundHeader";
58784
58915
  var _II = "ImportImage";
58785
58916
  var _IIB = "InstanceInterruptionBehavior";
58917
+ var _IIM = "InstanceImageMetadata";
58786
58918
  var _IIP = "IamInstanceProfile";
58787
58919
  var _IIPA = "IamInstanceProfileAssociation";
58788
58920
  var _IIPAa = "IamInstanceProfileAssociations";
@@ -58809,6 +58941,7 @@ var _IMO = "InstanceMarketOptions";
58809
58941
  var _IMOn = "InstanceMetadataOptions";
58810
58942
  var _IMT = "InstanceMetadataTags";
58811
58943
  var _IMU = "ImportManifestUrl";
58944
+ var _IMm = "ImageMetadata";
58812
58945
  var _IMn = "InstanceMonitorings";
58813
58946
  var _IN = "Ipv6Native";
58814
58947
  var _INL = "Ipv6NetmaskLength";
@@ -58850,7 +58983,8 @@ var _IPpv = "Ipv6Pool";
58850
58983
  var _IPpvo = "Ipv6Pools";
58851
58984
  var _IPpvr = "Ipv4Prefix";
58852
58985
  var _IPpvre = "Ipv6Prefix";
58853
- var _IPs = "IsPrimary";
58986
+ var _IPs = "IsPublic";
58987
+ var _IPsr = "IsPrimary";
58854
58988
  var _IR = "InstanceRequirements";
58855
58989
  var _IRC = "IpamResourceCidrs";
58856
58990
  var _IRCp = "IpamResourceCidr";
@@ -60760,6 +60894,7 @@ var _iH = "instanceHealth";
60760
60894
  var _iHn = "inboundHeader";
60761
60895
  var _iI = "instanceId";
60762
60896
  var _iIB = "instanceInterruptionBehavior";
60897
+ var _iIMS = "instanceImageMetadataSet";
60763
60898
  var _iIP = "iamInstanceProfile";
60764
60899
  var _iIPA = "iamInstanceProfileAssociation";
60765
60900
  var _iIPAS = "iamInstanceProfileAssociationSet";
@@ -60772,6 +60907,7 @@ var _iIn = "instanceIds";
60772
60907
  var _iIp = "ipamId";
60773
60908
  var _iL = "imageLocation";
60774
60909
  var _iLn = "instanceLifecycle";
60910
+ var _iM = "imageMetadata";
60775
60911
  var _iMC = "instanceMatchCriteria";
60776
60912
  var _iMO = "instanceMetadataOptions";
60777
60913
  var _iMOn = "instanceMarketOptions";
@@ -63706,6 +63842,18 @@ var _InstanceType = {
63706
63842
  c7i_metal_24xl: "c7i.metal-24xl",
63707
63843
  c7i_metal_48xl: "c7i.metal-48xl",
63708
63844
  c7i_xlarge: "c7i.xlarge",
63845
+ c8g_12xlarge: "c8g.12xlarge",
63846
+ c8g_16xlarge: "c8g.16xlarge",
63847
+ c8g_24xlarge: "c8g.24xlarge",
63848
+ c8g_2xlarge: "c8g.2xlarge",
63849
+ c8g_48xlarge: "c8g.48xlarge",
63850
+ c8g_4xlarge: "c8g.4xlarge",
63851
+ c8g_8xlarge: "c8g.8xlarge",
63852
+ c8g_large: "c8g.large",
63853
+ c8g_medium: "c8g.medium",
63854
+ c8g_metal_24xl: "c8g.metal-24xl",
63855
+ c8g_metal_48xl: "c8g.metal-48xl",
63856
+ c8g_xlarge: "c8g.xlarge",
63709
63857
  cc1_4xlarge: "cc1.4xlarge",
63710
63858
  cc2_8xlarge: "cc2.8xlarge",
63711
63859
  cg1_4xlarge: "cg1.4xlarge",
@@ -64040,6 +64188,18 @@ var _InstanceType = {
64040
64188
  m7i_metal_24xl: "m7i.metal-24xl",
64041
64189
  m7i_metal_48xl: "m7i.metal-48xl",
64042
64190
  m7i_xlarge: "m7i.xlarge",
64191
+ m8g_12xlarge: "m8g.12xlarge",
64192
+ m8g_16xlarge: "m8g.16xlarge",
64193
+ m8g_24xlarge: "m8g.24xlarge",
64194
+ m8g_2xlarge: "m8g.2xlarge",
64195
+ m8g_48xlarge: "m8g.48xlarge",
64196
+ m8g_4xlarge: "m8g.4xlarge",
64197
+ m8g_8xlarge: "m8g.8xlarge",
64198
+ m8g_large: "m8g.large",
64199
+ m8g_medium: "m8g.medium",
64200
+ m8g_metal_24xl: "m8g.metal-24xl",
64201
+ m8g_metal_48xl: "m8g.metal-48xl",
64202
+ m8g_xlarge: "m8g.xlarge",
64043
64203
  mac1_metal: "mac1.metal",
64044
64204
  mac2_m1ultra_metal: "mac2-m1ultra.metal",
64045
64205
  mac2_m2_metal: "mac2-m2.metal",
@@ -64346,6 +64506,18 @@ var _InstanceType = {
64346
64506
  x2iezn_6xlarge: "x2iezn.6xlarge",
64347
64507
  x2iezn_8xlarge: "x2iezn.8xlarge",
64348
64508
  x2iezn_metal: "x2iezn.metal",
64509
+ x8g_12xlarge: "x8g.12xlarge",
64510
+ x8g_16xlarge: "x8g.16xlarge",
64511
+ x8g_24xlarge: "x8g.24xlarge",
64512
+ x8g_2xlarge: "x8g.2xlarge",
64513
+ x8g_48xlarge: "x8g.48xlarge",
64514
+ x8g_4xlarge: "x8g.4xlarge",
64515
+ x8g_8xlarge: "x8g.8xlarge",
64516
+ x8g_large: "x8g.large",
64517
+ x8g_medium: "x8g.medium",
64518
+ x8g_metal_24xl: "x8g.metal-24xl",
64519
+ x8g_metal_48xl: "x8g.metal-48xl",
64520
+ x8g_xlarge: "x8g.xlarge",
64349
64521
  z1d_12xlarge: "z1d.12xlarge",
64350
64522
  z1d_2xlarge: "z1d.2xlarge",
64351
64523
  z1d_3xlarge: "z1d.3xlarge",
@@ -68037,6 +68209,14 @@ var InstanceAttributeName = {
68037
68209
  sriovNetSupport: "sriovNetSupport",
68038
68210
  userData: "userData"
68039
68211
  };
68212
+ var InstanceStateName = {
68213
+ pending: "pending",
68214
+ running: "running",
68215
+ shutting_down: "shutting-down",
68216
+ stopped: "stopped",
68217
+ stopping: "stopping",
68218
+ terminated: "terminated"
68219
+ };
68040
68220
  var InstanceBootModeValues = {
68041
68221
  legacy_bios: "legacy-bios",
68042
68222
  uefi: "uefi"
@@ -68076,14 +68256,6 @@ var MonitoringState = {
68076
68256
  enabled: "enabled",
68077
68257
  pending: "pending"
68078
68258
  };
68079
- var InstanceStateName = {
68080
- pending: "pending",
68081
- running: "running",
68082
- shutting_down: "shutting-down",
68083
- stopped: "stopped",
68084
- stopping: "stopping",
68085
- terminated: "terminated"
68086
- };
68087
68259
  var StatusName = {
68088
68260
  reachability: "reachability"
68089
68261
  };
@@ -68270,10 +68442,6 @@ var EventType = {
68270
68442
  INFORMATION: "information",
68271
68443
  INSTANCE_CHANGE: "instanceChange"
68272
68444
  };
68273
- var ExcessCapacityTerminationPolicy = {
68274
- DEFAULT: "default",
68275
- NO_TERMINATION: "noTermination"
68276
- };
68277
68445
  var SnapshotDetailFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
68278
68446
  ...obj,
68279
68447
  ...obj.Url && { Url: import_smithy_client.SENSITIVE_STRING }
@@ -68403,6 +68571,20 @@ var _DescribeInstanceEventWindowsCommand = class _DescribeInstanceEventWindowsCo
68403
68571
  __name(_DescribeInstanceEventWindowsCommand, "DescribeInstanceEventWindowsCommand");
68404
68572
  var DescribeInstanceEventWindowsCommand = _DescribeInstanceEventWindowsCommand;
68405
68573
 
68574
+ // src/commands/DescribeInstanceImageMetadataCommand.ts
68575
+
68576
+
68577
+
68578
+ var _DescribeInstanceImageMetadataCommand = class _DescribeInstanceImageMetadataCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
68579
+ return [
68580
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
68581
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
68582
+ ];
68583
+ }).s("AmazonEC2", "DescribeInstanceImageMetadata", {}).n("EC2Client", "DescribeInstanceImageMetadataCommand").f(void 0, void 0).ser(se_DescribeInstanceImageMetadataCommand).de(de_DescribeInstanceImageMetadataCommand).build() {
68584
+ };
68585
+ __name(_DescribeInstanceImageMetadataCommand, "DescribeInstanceImageMetadataCommand");
68586
+ var DescribeInstanceImageMetadataCommand = _DescribeInstanceImageMetadataCommand;
68587
+
68406
68588
  // src/commands/DescribeInstancesCommand.ts
68407
68589
 
68408
68590
 
@@ -69222,6 +69404,10 @@ var DescribeSpotFleetRequestHistoryCommand = _DescribeSpotFleetRequestHistoryCom
69222
69404
 
69223
69405
  // src/models/models_5.ts
69224
69406
 
69407
+ var ExcessCapacityTerminationPolicy = {
69408
+ DEFAULT: "default",
69409
+ NO_TERMINATION: "noTermination"
69410
+ };
69225
69411
  var OnDemandAllocationStrategy = {
69226
69412
  LOWEST_PRICE: "lowestPrice",
69227
69413
  PRIORITIZED: "prioritized"
@@ -69293,12 +69479,6 @@ var UnlimitedSupportedInstanceFamily = {
69293
69479
  t3a: "t3a",
69294
69480
  t4g: "t4g"
69295
69481
  };
69296
- var PartitionLoadFrequency = {
69297
- DAILY: "daily",
69298
- MONTHLY: "monthly",
69299
- NONE: "none",
69300
- WEEKLY: "weekly"
69301
- };
69302
69482
  var SpotFleetLaunchSpecificationFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
69303
69483
  ...obj,
69304
69484
  ...obj.UserData && { UserData: import_smithy_client.SENSITIVE_STRING }
@@ -71025,6 +71205,12 @@ var GetInstanceMetadataDefaultsCommand = _GetInstanceMetadataDefaultsCommand;
71025
71205
 
71026
71206
  // src/models/models_6.ts
71027
71207
 
71208
+ var PartitionLoadFrequency = {
71209
+ DAILY: "daily",
71210
+ MONTHLY: "monthly",
71211
+ NONE: "none",
71212
+ WEEKLY: "weekly"
71213
+ };
71028
71214
  var EkPubKeyFormat = {
71029
71215
  der: "der",
71030
71216
  tpmt: "tpmt"
@@ -74164,6 +74350,7 @@ var commands = {
74164
74350
  DescribeInstanceCreditSpecificationsCommand,
74165
74351
  DescribeInstanceEventNotificationAttributesCommand,
74166
74352
  DescribeInstanceEventWindowsCommand,
74353
+ DescribeInstanceImageMetadataCommand,
74167
74354
  DescribeInstancesCommand,
74168
74355
  DescribeInstanceStatusCommand,
74169
74356
  DescribeInstanceTopologyCommand,
@@ -74665,6 +74852,10 @@ var paginateDescribeInstanceCreditSpecifications = (0, import_core.createPaginat
74665
74852
 
74666
74853
  var paginateDescribeInstanceEventWindows = (0, import_core.createPaginator)(EC2Client, DescribeInstanceEventWindowsCommand, "NextToken", "NextToken", "MaxResults");
74667
74854
 
74855
+ // src/pagination/DescribeInstanceImageMetadataPaginator.ts
74856
+
74857
+ var paginateDescribeInstanceImageMetadata = (0, import_core.createPaginator)(EC2Client, DescribeInstanceImageMetadataCommand, "NextToken", "NextToken", "MaxResults");
74858
+
74668
74859
  // src/pagination/DescribeInstanceStatusPaginator.ts
74669
74860
 
74670
74861
  var paginateDescribeInstanceStatus = (0, import_core.createPaginator)(EC2Client, DescribeInstanceStatusCommand, "NextToken", "NextToken", "MaxResults");
@@ -77256,6 +77447,7 @@ var waitUntilVpnConnectionDeleted = /* @__PURE__ */ __name(async (params, input)
77256
77447
  DescribeInstanceCreditSpecificationsCommand,
77257
77448
  DescribeInstanceEventNotificationAttributesCommand,
77258
77449
  DescribeInstanceEventWindowsCommand,
77450
+ DescribeInstanceImageMetadataCommand,
77259
77451
  DescribeInstanceStatusCommand,
77260
77452
  DescribeInstanceTopologyCommand,
77261
77453
  DescribeInstanceTypeOfferingsCommand,
@@ -77648,6 +77840,7 @@ var waitUntilVpnConnectionDeleted = /* @__PURE__ */ __name(async (params, input)
77648
77840
  paginateDescribeInstanceConnectEndpoints,
77649
77841
  paginateDescribeInstanceCreditSpecifications,
77650
77842
  paginateDescribeInstanceEventWindows,
77843
+ paginateDescribeInstanceImageMetadata,
77651
77844
  paginateDescribeInstanceStatus,
77652
77845
  paginateDescribeInstanceTopology,
77653
77846
  paginateDescribeInstanceTypeOfferings,
@@ -78107,6 +78300,7 @@ var waitUntilVpnConnectionDeleted = /* @__PURE__ */ __name(async (params, input)
78107
78300
  TpmSupportValues,
78108
78301
  VirtualizationType,
78109
78302
  InstanceAttributeName,
78303
+ InstanceStateName,
78110
78304
  InstanceBootModeValues,
78111
78305
  InstanceLifecycleType,
78112
78306
  InstanceAutoRecoveryState,
@@ -78116,7 +78310,6 @@ var waitUntilVpnConnectionDeleted = /* @__PURE__ */ __name(async (params, input)
78116
78310
  InstanceMetadataTagsState,
78117
78311
  InstanceMetadataOptionsState,
78118
78312
  MonitoringState,
78119
- InstanceStateName,
78120
78313
  StatusName,
78121
78314
  StatusType,
78122
78315
  SummaryStatus,
@@ -78153,7 +78346,6 @@ var waitUntilVpnConnectionDeleted = /* @__PURE__ */ __name(async (params, input)
78153
78346
  SnapshotAttributeName,
78154
78347
  TieringOperationStatus,
78155
78348
  EventType,
78156
- ExcessCapacityTerminationPolicy,
78157
78349
  SnapshotDetailFilterSensitiveLog,
78158
78350
  ImportImageTaskFilterSensitiveLog,
78159
78351
  DescribeImportImageTasksResultFilterSensitiveLog,
@@ -78161,6 +78353,7 @@ var waitUntilVpnConnectionDeleted = /* @__PURE__ */ __name(async (params, input)
78161
78353
  ImportSnapshotTaskFilterSensitiveLog,
78162
78354
  DescribeImportSnapshotTasksResultFilterSensitiveLog,
78163
78355
  DescribeLaunchTemplateVersionsResultFilterSensitiveLog,
78356
+ ExcessCapacityTerminationPolicy,
78164
78357
  OnDemandAllocationStrategy,
78165
78358
  ReplacementStrategy,
78166
78359
  SpotInstanceState,
@@ -78176,7 +78369,6 @@ var waitUntilVpnConnectionDeleted = /* @__PURE__ */ __name(async (params, input)
78176
78369
  ImageBlockPublicAccessEnabledState,
78177
78370
  ClientCertificateRevocationListStatusCode,
78178
78371
  UnlimitedSupportedInstanceFamily,
78179
- PartitionLoadFrequency,
78180
78372
  SpotFleetLaunchSpecificationFilterSensitiveLog,
78181
78373
  SpotFleetRequestConfigDataFilterSensitiveLog,
78182
78374
  SpotFleetRequestConfigFilterSensitiveLog,
@@ -78187,6 +78379,7 @@ var waitUntilVpnConnectionDeleted = /* @__PURE__ */ __name(async (params, input)
78187
78379
  DescribeVerifiedAccessTrustProvidersResultFilterSensitiveLog,
78188
78380
  DescribeVpnConnectionsResultFilterSensitiveLog,
78189
78381
  DetachVerifiedAccessTrustProviderResultFilterSensitiveLog,
78382
+ PartitionLoadFrequency,
78190
78383
  EkPubKeyFormat,
78191
78384
  EkPubKeyType,
78192
78385
  IpamComplianceStatus,
package/dist-es/EC2.js CHANGED
@@ -274,6 +274,7 @@ import { DescribeInstanceConnectEndpointsCommand, } from "./commands/DescribeIns
274
274
  import { DescribeInstanceCreditSpecificationsCommand, } from "./commands/DescribeInstanceCreditSpecificationsCommand";
275
275
  import { DescribeInstanceEventNotificationAttributesCommand, } from "./commands/DescribeInstanceEventNotificationAttributesCommand";
276
276
  import { DescribeInstanceEventWindowsCommand, } from "./commands/DescribeInstanceEventWindowsCommand";
277
+ import { DescribeInstanceImageMetadataCommand, } from "./commands/DescribeInstanceImageMetadataCommand";
277
278
  import { DescribeInstancesCommand, } from "./commands/DescribeInstancesCommand";
278
279
  import { DescribeInstanceStatusCommand, } from "./commands/DescribeInstanceStatusCommand";
279
280
  import { DescribeInstanceTopologyCommand, } from "./commands/DescribeInstanceTopologyCommand";
@@ -909,6 +910,7 @@ const commands = {
909
910
  DescribeInstanceCreditSpecificationsCommand,
910
911
  DescribeInstanceEventNotificationAttributesCommand,
911
912
  DescribeInstanceEventWindowsCommand,
913
+ DescribeInstanceImageMetadataCommand,
912
914
  DescribeInstancesCommand,
913
915
  DescribeInstanceStatusCommand,
914
916
  DescribeInstanceTopologyCommand,
@@ -0,0 +1,22 @@
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_DescribeInstanceImageMetadataCommand, se_DescribeInstanceImageMetadataCommand } from "../protocols/Aws_ec2";
6
+ export { $Command };
7
+ export class DescribeInstanceImageMetadataCommand extends $Command
8
+ .classBuilder()
9
+ .ep(commonParams)
10
+ .m(function (Command, cs, config, o) {
11
+ return [
12
+ getSerdePlugin(config, this.serialize, this.deserialize),
13
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
+ ];
15
+ })
16
+ .s("AmazonEC2", "DescribeInstanceImageMetadata", {})
17
+ .n("EC2Client", "DescribeInstanceImageMetadataCommand")
18
+ .f(void 0, void 0)
19
+ .ser(se_DescribeInstanceImageMetadataCommand)
20
+ .de(de_DescribeInstanceImageMetadataCommand)
21
+ .build() {
22
+ }
@@ -273,6 +273,7 @@ export * from "./DescribeInstanceConnectEndpointsCommand";
273
273
  export * from "./DescribeInstanceCreditSpecificationsCommand";
274
274
  export * from "./DescribeInstanceEventNotificationAttributesCommand";
275
275
  export * from "./DescribeInstanceEventWindowsCommand";
276
+ export * from "./DescribeInstanceImageMetadataCommand";
276
277
  export * from "./DescribeInstanceStatusCommand";
277
278
  export * from "./DescribeInstanceTopologyCommand";
278
279
  export * from "./DescribeInstanceTypeOfferingsCommand";
@@ -184,6 +184,18 @@ export const _InstanceType = {
184
184
  c7i_metal_24xl: "c7i.metal-24xl",
185
185
  c7i_metal_48xl: "c7i.metal-48xl",
186
186
  c7i_xlarge: "c7i.xlarge",
187
+ c8g_12xlarge: "c8g.12xlarge",
188
+ c8g_16xlarge: "c8g.16xlarge",
189
+ c8g_24xlarge: "c8g.24xlarge",
190
+ c8g_2xlarge: "c8g.2xlarge",
191
+ c8g_48xlarge: "c8g.48xlarge",
192
+ c8g_4xlarge: "c8g.4xlarge",
193
+ c8g_8xlarge: "c8g.8xlarge",
194
+ c8g_large: "c8g.large",
195
+ c8g_medium: "c8g.medium",
196
+ c8g_metal_24xl: "c8g.metal-24xl",
197
+ c8g_metal_48xl: "c8g.metal-48xl",
198
+ c8g_xlarge: "c8g.xlarge",
187
199
  cc1_4xlarge: "cc1.4xlarge",
188
200
  cc2_8xlarge: "cc2.8xlarge",
189
201
  cg1_4xlarge: "cg1.4xlarge",
@@ -518,6 +530,18 @@ export const _InstanceType = {
518
530
  m7i_metal_24xl: "m7i.metal-24xl",
519
531
  m7i_metal_48xl: "m7i.metal-48xl",
520
532
  m7i_xlarge: "m7i.xlarge",
533
+ m8g_12xlarge: "m8g.12xlarge",
534
+ m8g_16xlarge: "m8g.16xlarge",
535
+ m8g_24xlarge: "m8g.24xlarge",
536
+ m8g_2xlarge: "m8g.2xlarge",
537
+ m8g_48xlarge: "m8g.48xlarge",
538
+ m8g_4xlarge: "m8g.4xlarge",
539
+ m8g_8xlarge: "m8g.8xlarge",
540
+ m8g_large: "m8g.large",
541
+ m8g_medium: "m8g.medium",
542
+ m8g_metal_24xl: "m8g.metal-24xl",
543
+ m8g_metal_48xl: "m8g.metal-48xl",
544
+ m8g_xlarge: "m8g.xlarge",
521
545
  mac1_metal: "mac1.metal",
522
546
  mac2_m1ultra_metal: "mac2-m1ultra.metal",
523
547
  mac2_m2_metal: "mac2-m2.metal",
@@ -824,6 +848,18 @@ export const _InstanceType = {
824
848
  x2iezn_6xlarge: "x2iezn.6xlarge",
825
849
  x2iezn_8xlarge: "x2iezn.8xlarge",
826
850
  x2iezn_metal: "x2iezn.metal",
851
+ x8g_12xlarge: "x8g.12xlarge",
852
+ x8g_16xlarge: "x8g.16xlarge",
853
+ x8g_24xlarge: "x8g.24xlarge",
854
+ x8g_2xlarge: "x8g.2xlarge",
855
+ x8g_48xlarge: "x8g.48xlarge",
856
+ x8g_4xlarge: "x8g.4xlarge",
857
+ x8g_8xlarge: "x8g.8xlarge",
858
+ x8g_large: "x8g.large",
859
+ x8g_medium: "x8g.medium",
860
+ x8g_metal_24xl: "x8g.metal-24xl",
861
+ x8g_metal_48xl: "x8g.metal-48xl",
862
+ x8g_xlarge: "x8g.xlarge",
827
863
  z1d_12xlarge: "z1d.12xlarge",
828
864
  z1d_2xlarge: "z1d.2xlarge",
829
865
  z1d_3xlarge: "z1d.3xlarge",
@@ -63,6 +63,14 @@ export const InstanceAttributeName = {
63
63
  sriovNetSupport: "sriovNetSupport",
64
64
  userData: "userData",
65
65
  };
66
+ export const InstanceStateName = {
67
+ pending: "pending",
68
+ running: "running",
69
+ shutting_down: "shutting-down",
70
+ stopped: "stopped",
71
+ stopping: "stopping",
72
+ terminated: "terminated",
73
+ };
66
74
  export const InstanceBootModeValues = {
67
75
  legacy_bios: "legacy-bios",
68
76
  uefi: "uefi",
@@ -102,14 +110,6 @@ export const MonitoringState = {
102
110
  enabled: "enabled",
103
111
  pending: "pending",
104
112
  };
105
- export const InstanceStateName = {
106
- pending: "pending",
107
- running: "running",
108
- shutting_down: "shutting-down",
109
- stopped: "stopped",
110
- stopping: "stopping",
111
- terminated: "terminated",
112
- };
113
113
  export const StatusName = {
114
114
  reachability: "reachability",
115
115
  };
@@ -296,10 +296,6 @@ export const EventType = {
296
296
  INFORMATION: "information",
297
297
  INSTANCE_CHANGE: "instanceChange",
298
298
  };
299
- export const ExcessCapacityTerminationPolicy = {
300
- DEFAULT: "default",
301
- NO_TERMINATION: "noTermination",
302
- };
303
299
  export const SnapshotDetailFilterSensitiveLog = (obj) => ({
304
300
  ...obj,
305
301
  ...(obj.Url && { Url: SENSITIVE_STRING }),
@@ -1,6 +1,10 @@
1
1
  import { SENSITIVE_STRING } from "@smithy/smithy-client";
2
2
  import { VerifiedAccessTrustProviderFilterSensitiveLog, } from "./models_0";
3
3
  import { VpnConnectionFilterSensitiveLog, } from "./models_2";
4
+ export const ExcessCapacityTerminationPolicy = {
5
+ DEFAULT: "default",
6
+ NO_TERMINATION: "noTermination",
7
+ };
4
8
  export const OnDemandAllocationStrategy = {
5
9
  LOWEST_PRICE: "lowestPrice",
6
10
  PRIORITIZED: "prioritized",
@@ -72,12 +76,6 @@ export const UnlimitedSupportedInstanceFamily = {
72
76
  t3a: "t3a",
73
77
  t4g: "t4g",
74
78
  };
75
- export const PartitionLoadFrequency = {
76
- DAILY: "daily",
77
- MONTHLY: "monthly",
78
- NONE: "none",
79
- WEEKLY: "weekly",
80
- };
81
79
  export const SpotFleetLaunchSpecificationFilterSensitiveLog = (obj) => ({
82
80
  ...obj,
83
81
  ...(obj.UserData && { UserData: SENSITIVE_STRING }),
@@ -3,6 +3,12 @@ import { VerifiedAccessTrustProviderFilterSensitiveLog, } from "./models_0";
3
3
  import { ResponseLaunchTemplateDataFilterSensitiveLog, } from "./models_1";
4
4
  import { ConversionTaskFilterSensitiveLog, } from "./models_3";
5
5
  import { SnapshotDetailFilterSensitiveLog, SnapshotTaskDetailFilterSensitiveLog, } from "./models_4";
6
+ export const PartitionLoadFrequency = {
7
+ DAILY: "daily",
8
+ MONTHLY: "monthly",
9
+ NONE: "none",
10
+ WEEKLY: "weekly",
11
+ };
6
12
  export const EkPubKeyFormat = {
7
13
  der: "der",
8
14
  tpmt: "tpmt",