@aws-sdk/client-ec2 3.805.0 → 3.808.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 (77) hide show
  1. package/dist-cjs/index.js +112 -22
  2. package/dist-cjs/runtimeConfig.js +6 -6
  3. package/dist-es/commands/RequestSpotFleetCommand.js +1 -1
  4. package/dist-es/models/models_4.js +4 -0
  5. package/dist-es/models/models_7.js +0 -7
  6. package/dist-es/models/models_8.js +7 -1
  7. package/dist-es/protocols/Aws_ec2.js +85 -0
  8. package/dist-es/runtimeConfig.js +6 -6
  9. package/dist-types/EC2.d.ts +1 -0
  10. package/dist-types/commands/AllocateHostsCommand.d.ts +3 -2
  11. package/dist-types/commands/AssignIpv6AddressesCommand.d.ts +6 -6
  12. package/dist-types/commands/AssignPrivateIpAddressesCommand.d.ts +17 -13
  13. package/dist-types/commands/AttachNetworkInterfaceCommand.d.ts +1 -0
  14. package/dist-types/commands/CancelReservedInstancesListingCommand.d.ts +2 -1
  15. package/dist-types/commands/CreateLaunchTemplateCommand.d.ts +1 -0
  16. package/dist-types/commands/CreateLaunchTemplateVersionCommand.d.ts +4 -1
  17. package/dist-types/commands/CreateNetworkInterfaceCommand.d.ts +3 -2
  18. package/dist-types/commands/CreateNetworkInterfacePermissionCommand.d.ts +4 -3
  19. package/dist-types/commands/CreateReservedInstancesListingCommand.d.ts +14 -11
  20. package/dist-types/commands/DeleteNetworkInterfaceCommand.d.ts +2 -1
  21. package/dist-types/commands/DeleteNetworkInterfacePermissionCommand.d.ts +3 -3
  22. package/dist-types/commands/DescribeCapacityReservationBillingRequestsCommand.d.ts +1 -0
  23. package/dist-types/commands/DescribeInstanceStatusCommand.d.ts +6 -0
  24. package/dist-types/commands/DescribeInstanceTypesCommand.d.ts +4 -0
  25. package/dist-types/commands/DescribeInstancesCommand.d.ts +7 -0
  26. package/dist-types/commands/DescribeLaunchTemplateVersionsCommand.d.ts +1 -0
  27. package/dist-types/commands/DescribeLocalGatewayVirtualInterfaceGroupsCommand.d.ts +2 -1
  28. package/dist-types/commands/DescribeNetworkInsightsAnalysesCommand.d.ts +8 -0
  29. package/dist-types/commands/DescribeNetworkInterfaceAttributeCommand.d.ts +3 -1
  30. package/dist-types/commands/DescribeNetworkInterfacesCommand.d.ts +7 -5
  31. package/dist-types/commands/DescribeReservedInstancesCommand.d.ts +4 -4
  32. package/dist-types/commands/DescribeReservedInstancesListingsCommand.d.ts +16 -7
  33. package/dist-types/commands/DescribeReservedInstancesModificationsCommand.d.ts +7 -4
  34. package/dist-types/commands/DescribeReservedInstancesOfferingsCommand.d.ts +11 -5
  35. package/dist-types/commands/DescribeSpotFleetRequestsCommand.d.ts +1 -0
  36. package/dist-types/commands/DescribeSpotInstanceRequestsCommand.d.ts +1 -0
  37. package/dist-types/commands/DescribeVolumeStatusCommand.d.ts +1 -0
  38. package/dist-types/commands/DisableAwsNetworkPerformanceMetricSubscriptionCommand.d.ts +2 -1
  39. package/dist-types/commands/GetLaunchTemplateDataCommand.d.ts +5 -3
  40. package/dist-types/commands/GetNetworkInsightsAccessScopeAnalysisFindingsCommand.d.ts +5 -3
  41. package/dist-types/commands/GetReservedInstancesExchangeQuoteCommand.d.ts +3 -3
  42. package/dist-types/commands/GetVerifiedAccessGroupPolicyCommand.d.ts +1 -2
  43. package/dist-types/commands/ModifyNetworkInterfaceAttributeCommand.d.ts +5 -3
  44. package/dist-types/commands/ModifyReservedInstancesCommand.d.ts +3 -2
  45. package/dist-types/commands/PurchaseReservedInstancesOfferingCommand.d.ts +7 -7
  46. package/dist-types/commands/RequestSpotFleetCommand.d.ts +2 -2
  47. package/dist-types/commands/RequestSpotInstancesCommand.d.ts +2 -0
  48. package/dist-types/commands/ResetNetworkInterfaceAttributeCommand.d.ts +2 -1
  49. package/dist-types/commands/RunInstancesCommand.d.ts +2 -0
  50. package/dist-types/commands/StartNetworkInsightsAnalysisCommand.d.ts +8 -0
  51. package/dist-types/commands/UnassignIpv6AddressesCommand.d.ts +2 -1
  52. package/dist-types/commands/UnassignPrivateIpAddressesCommand.d.ts +2 -2
  53. package/dist-types/models/models_0.d.ts +76 -37
  54. package/dist-types/models/models_1.d.ts +121 -90
  55. package/dist-types/models/models_2.d.ts +86 -53
  56. package/dist-types/models/models_3.d.ts +28 -19
  57. package/dist-types/models/models_4.d.ts +76 -35
  58. package/dist-types/models/models_5.d.ts +325 -203
  59. package/dist-types/models/models_6.d.ts +25 -28
  60. package/dist-types/models/models_7.d.ts +72 -57
  61. package/dist-types/models/models_8.d.ts +32 -7
  62. package/dist-types/ts3.4/EC2.d.ts +1 -0
  63. package/dist-types/ts3.4/commands/AllocateHostsCommand.d.ts +1 -1
  64. package/dist-types/ts3.4/commands/DescribeLocalGatewayVirtualInterfaceGroupsCommand.d.ts +2 -4
  65. package/dist-types/ts3.4/commands/DisableAwsNetworkPerformanceMetricSubscriptionCommand.d.ts +2 -4
  66. package/dist-types/ts3.4/commands/GetVerifiedAccessGroupPolicyCommand.d.ts +4 -2
  67. package/dist-types/ts3.4/commands/RequestSpotFleetCommand.d.ts +4 -2
  68. package/dist-types/ts3.4/models/models_0.d.ts +5 -1
  69. package/dist-types/ts3.4/models/models_1.d.ts +2 -0
  70. package/dist-types/ts3.4/models/models_2.d.ts +1 -0
  71. package/dist-types/ts3.4/models/models_3.d.ts +1 -0
  72. package/dist-types/ts3.4/models/models_4.d.ts +11 -7
  73. package/dist-types/ts3.4/models/models_5.d.ts +13 -3
  74. package/dist-types/ts3.4/models/models_6.d.ts +3 -4
  75. package/dist-types/ts3.4/models/models_7.d.ts +6 -8
  76. package/dist-types/ts3.4/models/models_8.d.ts +8 -0
  77. package/package.json +16 -16
@@ -15908,6 +15908,9 @@ const se_AllocateHostsRequest = (input, context) => {
15908
15908
  entries[loc] = value;
15909
15909
  });
15910
15910
  }
15911
+ if (input[_AZI] != null) {
15912
+ entries[_AZI] = input[_AZI];
15913
+ }
15911
15914
  if (input[_AP] != null) {
15912
15915
  entries[_AP] = input[_AP];
15913
15916
  }
@@ -16574,6 +16577,9 @@ const se_AttachNetworkInterfaceRequest = (input, context) => {
16574
16577
  entries[loc] = value;
16575
16578
  });
16576
16579
  }
16580
+ if (input[_EQC] != null) {
16581
+ entries[_EQC] = input[_EQC];
16582
+ }
16577
16583
  if (input[_DRr] != null) {
16578
16584
  entries[_DRr] = input[_DRr];
16579
16585
  }
@@ -24461,6 +24467,9 @@ const se_DescribeReservedInstancesOfferingsRequest = (input, context) => {
24461
24467
  entries[loc] = value;
24462
24468
  });
24463
24469
  }
24470
+ if (input[_AZI] != null) {
24471
+ entries[_AZI] = input[_AZI];
24472
+ }
24464
24473
  if (input[_DRr] != null) {
24465
24474
  entries[_DRr] = input[_DRr];
24466
24475
  }
@@ -29547,6 +29556,9 @@ const se_InstanceNetworkInterfaceSpecification = (input, context) => {
29547
29556
  entries[loc] = value;
29548
29557
  });
29549
29558
  }
29559
+ if (input[_EQC] != null) {
29560
+ entries[_EQC] = input[_EQC];
29561
+ }
29550
29562
  return entries;
29551
29563
  };
29552
29564
  const se_InstanceNetworkInterfaceSpecificationList = (input, context) => {
@@ -30633,6 +30645,9 @@ const se_LaunchTemplateInstanceNetworkInterfaceSpecificationRequest = (input, co
30633
30645
  entries[loc] = value;
30634
30646
  });
30635
30647
  }
30648
+ if (input[_EQC] != null) {
30649
+ entries[_EQC] = input[_EQC];
30650
+ }
30636
30651
  return entries;
30637
30652
  };
30638
30653
  const se_LaunchTemplateInstanceNetworkInterfaceSpecificationRequestList = (input, context) => {
@@ -33594,6 +33609,12 @@ const se_NetworkInsightsPathIdList = (input, context) => {
33594
33609
  };
33595
33610
  const se_NetworkInterfaceAttachmentChanges = (input, context) => {
33596
33611
  const entries = {};
33612
+ if (input[_DEQC] != null) {
33613
+ entries[_DEQC] = input[_DEQC];
33614
+ }
33615
+ if (input[_EQC] != null) {
33616
+ entries[_EQC] = input[_EQC];
33617
+ }
33597
33618
  if (input[_AIt] != null) {
33598
33619
  entries[_AIt] = input[_AIt];
33599
33620
  }
@@ -35667,6 +35688,9 @@ const se_ReservedInstancesConfiguration = (input, context) => {
35667
35688
  if (input[_Sc] != null) {
35668
35689
  entries[_Sc] = input[_Sc];
35669
35690
  }
35691
+ if (input[_AZI] != null) {
35692
+ entries[_AZI] = input[_AZI];
35693
+ }
35670
35694
  return entries;
35671
35695
  };
35672
35696
  const se_ReservedInstancesConfigurationList = (input, context) => {
@@ -39288,6 +39312,9 @@ const de_AnalysisLoadBalancerTarget = (output, context) => {
39288
39312
  if (output[_aZ] != null) {
39289
39313
  contents[_AZ] = __expectString(output[_aZ]);
39290
39314
  }
39315
+ if (output[_aZI] != null) {
39316
+ contents[_AZI] = __expectString(output[_aZI]);
39317
+ }
39291
39318
  if (output[_in] != null) {
39292
39319
  contents[_Ins] = de_AnalysisComponent(output[_in], context);
39293
39320
  }
@@ -40710,6 +40737,9 @@ const de_CapacityReservationInfo = (output, context) => {
40710
40737
  if (output[_t] != null) {
40711
40738
  contents[_Te] = __expectString(output[_t]);
40712
40739
  }
40740
+ if (output[_aZI] != null) {
40741
+ contents[_AZI] = __expectString(output[_aZI]);
40742
+ }
40713
40743
  return contents;
40714
40744
  };
40715
40745
  const de_CapacityReservationOptions = (output, context) => {
@@ -46525,6 +46555,12 @@ const de_Explanation = (output, context) => {
46525
46555
  else if (output[_aZS] != null && output[_aZS][_i] != null) {
46526
46556
  contents[_AZv] = de_ValueStringList(__getArrayIfSingleItem(output[_aZS][_i]), context);
46527
46557
  }
46558
+ if (output.availabilityZoneIdSet === "") {
46559
+ contents[_AZIv] = [];
46560
+ }
46561
+ else if (output[_aZIS] != null && output[_aZIS][_i] != null) {
46562
+ contents[_AZIv] = de_ValueStringList(__getArrayIfSingleItem(output[_aZIS][_i]), context);
46563
+ }
46528
46564
  if (output.cidrSet === "") {
46529
46565
  contents[_Ci] = [];
46530
46566
  }
@@ -50025,6 +50061,9 @@ const de_InstanceNetworkInterfaceAttachment = (output, context) => {
50025
50061
  if (output[_eSS] != null) {
50026
50062
  contents[_ESS] = de_InstanceAttachmentEnaSrdSpecification(output[_eSS], context);
50027
50063
  }
50064
+ if (output[_eQC] != null) {
50065
+ contents[_EQC] = __strictParseInt32(output[_eQC]);
50066
+ }
50028
50067
  return contents;
50029
50068
  };
50030
50069
  const de_InstanceNetworkInterfaceList = (output, context) => {
@@ -50117,6 +50156,9 @@ const de_InstanceNetworkInterfaceSpecification = (output, context) => {
50117
50156
  if (output[_CTS] != null) {
50118
50157
  contents[_CTS] = de_ConnectionTrackingSpecificationRequest(output[_CTS], context);
50119
50158
  }
50159
+ if (output[_EQC] != null) {
50160
+ contents[_EQC] = __strictParseInt32(output[_EQC]);
50161
+ }
50120
50162
  return contents;
50121
50163
  };
50122
50164
  const de_InstanceNetworkInterfaceSpecificationList = (output, context) => {
@@ -52199,6 +52241,9 @@ const de_LaunchTemplateInstanceNetworkInterfaceSpecification = (output, context)
52199
52241
  if (output[_cTS] != null) {
52200
52242
  contents[_CTS] = de_ConnectionTrackingSpecification(output[_cTS], context);
52201
52243
  }
52244
+ if (output[_eQC] != null) {
52245
+ contents[_EQC] = __strictParseInt32(output[_eQC]);
52246
+ }
52202
52247
  return contents;
52203
52248
  };
52204
52249
  const de_LaunchTemplateInstanceNetworkInterfaceSpecificationList = (output, context) => {
@@ -53794,6 +53839,15 @@ const de_NetworkCardInfo = (output, context) => {
53794
53839
  if (output[_pBIG] != null) {
53795
53840
  contents[_PBIG] = __strictParseFloat(output[_pBIG]);
53796
53841
  }
53842
+ if (output[_dEQCPI] != null) {
53843
+ contents[_DEQCPI] = __strictParseInt32(output[_dEQCPI]);
53844
+ }
53845
+ if (output[_mEQC] != null) {
53846
+ contents[_MEQC] = __strictParseInt32(output[_mEQC]);
53847
+ }
53848
+ if (output[_mEQCPI] != null) {
53849
+ contents[_MEQCPI] = __strictParseInt32(output[_mEQCPI]);
53850
+ }
53797
53851
  return contents;
53798
53852
  };
53799
53853
  const de_NetworkCardInfoList = (output, context) => {
@@ -53853,6 +53907,9 @@ const de_NetworkInfo = (output, context) => {
53853
53907
  else if (output[_bWa] != null && output[_bWa][_i] != null) {
53854
53908
  contents[_BWa] = de_BandwidthWeightingTypeList(__getArrayIfSingleItem(output[_bWa][_i]), context);
53855
53909
  }
53910
+ if (output[_fEQS] != null) {
53911
+ contents[_FEQS] = __expectString(output[_fEQS]);
53912
+ }
53856
53913
  return contents;
53857
53914
  };
53858
53915
  const de_NetworkInsightsAccessScope = (output, context) => {
@@ -54255,6 +54312,9 @@ const de_NetworkInterfaceAttachment = (output, context) => {
54255
54312
  if (output[_eSS] != null) {
54256
54313
  contents[_ESS] = de_AttachmentEnaSrdSpecification(output[_eSS], context);
54257
54314
  }
54315
+ if (output[_eQC] != null) {
54316
+ contents[_EQC] = __strictParseInt32(output[_eQC]);
54317
+ }
54258
54318
  return contents;
54259
54319
  };
54260
54320
  const de_NetworkInterfaceCount = (output, context) => {
@@ -55840,6 +55900,9 @@ const de_ReservedInstances = (output, context) => {
55840
55900
  else if (output[_tS] != null && output[_tS][_i] != null) {
55841
55901
  contents[_Ta] = de_TagList(__getArrayIfSingleItem(output[_tS][_i]), context);
55842
55902
  }
55903
+ if (output[_aZI] != null) {
55904
+ contents[_AZI] = __expectString(output[_aZI]);
55905
+ }
55843
55906
  if (output[_rII] != null) {
55844
55907
  contents[_RIIe] = __expectString(output[_rII]);
55845
55908
  }
@@ -55892,6 +55955,9 @@ const de_ReservedInstancesConfiguration = (output, context) => {
55892
55955
  if (output[_sc] != null) {
55893
55956
  contents[_Sc] = __expectString(output[_sc]);
55894
55957
  }
55958
+ if (output[_aZI] != null) {
55959
+ contents[_AZI] = __expectString(output[_aZI]);
55960
+ }
55895
55961
  return contents;
55896
55962
  };
55897
55963
  const de_ReservedInstancesId = (output, context) => {
@@ -56051,6 +56117,9 @@ const de_ReservedInstancesOffering = (output, context) => {
56051
56117
  if (output[_sc] != null) {
56052
56118
  contents[_Sc] = __expectString(output[_sc]);
56053
56119
  }
56120
+ if (output[_aZI] != null) {
56121
+ contents[_AZI] = __expectString(output[_aZI]);
56122
+ }
56054
56123
  if (output[_rIOI] != null) {
56055
56124
  contents[_RIOIe] = __expectString(output[_rIOI]);
56056
56125
  }
@@ -61450,6 +61519,9 @@ const de_VolumeStatusItem = (output, context) => {
61450
61519
  else if (output[_aStt] != null && output[_aStt][_i] != null) {
61451
61520
  contents[_AStt] = de_VolumeStatusAttachmentStatusList(__getArrayIfSingleItem(output[_aStt][_i]), context);
61452
61521
  }
61522
+ if (output[_aZI] != null) {
61523
+ contents[_AZI] = __expectString(output[_aZI]);
61524
+ }
61453
61525
  return contents;
61454
61526
  };
61455
61527
  const de_VolumeStatusList = (output, context) => {
@@ -62474,6 +62546,7 @@ const _AWSAKI = "AWSAccessKeyId";
62474
62546
  const _AZ = "AvailabilityZone";
62475
62547
  const _AZG = "AvailabilityZoneGroup";
62476
62548
  const _AZI = "AvailabilityZoneId";
62549
+ const _AZIv = "AvailabilityZoneIds";
62477
62550
  const _AZv = "AvailabilityZones";
62478
62551
  const _Ac = "Accept";
62479
62552
  const _Acc = "Accelerators";
@@ -62892,6 +62965,8 @@ const _DEIT = "DescribeExportImageTasks";
62892
62965
  const _DEKI = "DataEncryptionKeyId";
62893
62966
  const _DEOIG = "DeleteEgressOnlyInternetGateway";
62894
62967
  const _DEOIGe = "DescribeEgressOnlyInternetGateways";
62968
+ const _DEQC = "DefaultEnaQueueCount";
62969
+ const _DEQCPI = "DefaultEnaQueueCountPerInterface";
62895
62970
  const _DET = "DescribeExportTasks";
62896
62971
  const _DEn = "DnsEntry";
62897
62972
  const _DF = "DeleteFleets";
@@ -63319,6 +63394,7 @@ const _EP = "ExcludePaths";
63319
63394
  const _EPG = "EnablePrivateGua";
63320
63395
  const _EPI = "EnablePrimaryIpv6";
63321
63396
  const _EPg = "EgressPackets";
63397
+ const _EQC = "EnaQueueCount";
63322
63398
  const _ERAOS = "EnableReachabilityAnalyzerOrganizationSharing";
63323
63399
  const _ERNDAAAAR = "EnableResourceNameDnsAAAARecord";
63324
63400
  const _ERNDAAAAROL = "EnableResourceNameDnsAAAARecordOnLaunch";
@@ -63384,6 +63460,7 @@ const _FCi = "FindingComponents";
63384
63460
  const _FD = "ForceDelete";
63385
63461
  const _FDN = "FipsDnsName";
63386
63462
  const _FE = "FipsEnabled";
63463
+ const _FEQS = "FlexibleEnaQueuesSupport";
63387
63464
  const _FF = "FileFormat";
63388
63465
  const _FFC = "FailedFleetCancellations";
63389
63466
  const _FFi = "FindingsFound";
@@ -63913,6 +63990,8 @@ const _ME = "MaxEntries";
63913
63990
  const _MEDKKI = "ModifyEbsDefaultKmsKeyId";
63914
63991
  const _MEI = "MaximumEfaInterfaces";
63915
63992
  const _MEM = "ManagedExceptionMessage";
63993
+ const _MEQC = "MaximumEnaQueueCount";
63994
+ const _MEQCPI = "MaximumEnaQueueCountPerInterface";
63916
63995
  const _MF = "ModifyFleet";
63917
63996
  const _MFIA = "ModifyFpgaImageAttribute";
63918
63997
  const _MFV = "MostFrequentValue";
@@ -65196,6 +65275,7 @@ const _aVS = "attributeValueSet";
65196
65275
  const _aZ = "availabilityZone";
65197
65276
  const _aZG = "availabilityZoneGroup";
65198
65277
  const _aZI = "availabilityZoneId";
65278
+ const _aZIS = "availabilityZoneIdSet";
65199
65279
  const _aZIv = "availabilityZoneInfo";
65200
65280
  const _aZS = "availabilityZoneSet";
65201
65281
  const _ac = "acl";
@@ -65420,6 +65500,7 @@ const _dCS = "dhcpConfigurationSet";
65420
65500
  const _dCe = "defaultCores";
65421
65501
  const _dE = "dnsEntry";
65422
65502
  const _dEKI = "dataEncryptionKeyId";
65503
+ const _dEQCPI = "defaultEnaQueueCountPerInterface";
65423
65504
  const _dES = "dnsEntrySet";
65424
65505
  const _dFA = "defaultForAz";
65425
65506
  const _dHIS = "dedicatedHostIdSet";
@@ -65562,6 +65643,7 @@ const _eOn = "enclaveOptions";
65562
65643
  const _eP = "egressPackets";
65563
65644
  const _ePG = "enablePrivateGua";
65564
65645
  const _ePS = "excludePathSet";
65646
+ const _eQC = "enaQueueCount";
65565
65647
  const _eRNDAAAAR = "enableResourceNameDnsAAAARecord";
65566
65648
  const _eRNDAR = "enableResourceNameDnsARecord";
65567
65649
  const _eS = "ephemeralStorage";
@@ -65609,6 +65691,7 @@ const _fCS = "findingComponentSet";
65609
65691
  const _fCa = "failureCode";
65610
65692
  const _fDN = "fipsDnsName";
65611
65693
  const _fE = "fipsEnabled";
65694
+ const _fEQS = "flexibleEnaQueuesSupport";
65612
65695
  const _fF = "fileFormat";
65613
65696
  const _fFCS = "failedFleetCancellationSet";
65614
65697
  const _fFi = "findingsFound";
@@ -66008,6 +66091,8 @@ const _mDe = "metaData";
66008
66091
  const _mE = "maxEntries";
66009
66092
  const _mEI = "maximumEfaInterfaces";
66010
66093
  const _mEM = "managedExceptionMessage";
66094
+ const _mEQC = "maximumEnaQueueCount";
66095
+ const _mEQCPI = "maximumEnaQueueCountPerInterface";
66011
66096
  const _mFV = "mostFrequentValue";
66012
66097
  const _mG = "multicastGroups";
66013
66098
  const _mGBPVC = "memoryGiBPerVCpu";
@@ -19,20 +19,20 @@ export const getRuntimeConfig = (config) => {
19
19
  const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode);
20
20
  const clientSharedValues = getSharedRuntimeConfig(config);
21
21
  awsCheckVersion(process.version);
22
- const profileConfig = { profile: config?.profile };
22
+ const loaderConfig = { profile: config?.profile, logger: clientSharedValues.logger };
23
23
  return {
24
24
  ...clientSharedValues,
25
25
  ...config,
26
26
  runtime: "node",
27
27
  defaultsMode,
28
- authSchemePreference: config?.authSchemePreference ?? loadNodeConfig(NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, profileConfig),
28
+ authSchemePreference: config?.authSchemePreference ?? loadNodeConfig(NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),
29
29
  bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
30
30
  credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider,
31
31
  defaultUserAgentProvider: config?.defaultUserAgentProvider ??
32
32
  createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
33
33
  maxAttempts: config?.maxAttempts ?? loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),
34
34
  region: config?.region ??
35
- loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, { ...NODE_REGION_CONFIG_FILE_OPTIONS, ...profileConfig }),
35
+ loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, { ...NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),
36
36
  requestHandler: RequestHandler.create(config?.requestHandler ?? defaultConfigProvider),
37
37
  retryMode: config?.retryMode ??
38
38
  loadNodeConfig({
@@ -41,8 +41,8 @@ export const getRuntimeConfig = (config) => {
41
41
  }, config),
42
42
  sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
43
43
  streamCollector: config?.streamCollector ?? streamCollector,
44
- useDualstackEndpoint: config?.useDualstackEndpoint ?? loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, profileConfig),
45
- useFipsEndpoint: config?.useFipsEndpoint ?? loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, profileConfig),
46
- userAgentAppId: config?.userAgentAppId ?? loadNodeConfig(NODE_APP_ID_CONFIG_OPTIONS, profileConfig),
44
+ useDualstackEndpoint: config?.useDualstackEndpoint ?? loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
45
+ useFipsEndpoint: config?.useFipsEndpoint ?? loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
46
+ userAgentAppId: config?.userAgentAppId ?? loadNodeConfig(NODE_APP_ID_CONFIG_OPTIONS, loaderConfig),
47
47
  };
48
48
  };
@@ -747,6 +747,7 @@ export interface EC2 {
747
747
  /**
748
748
  * @see {@link AllocateHostsCommand}
749
749
  */
750
+ allocateHosts(): Promise<AllocateHostsCommandOutput>;
750
751
  allocateHosts(args: AllocateHostsCommandInput, options?: __HttpHandlerOptions): Promise<AllocateHostsCommandOutput>;
751
752
  allocateHosts(args: AllocateHostsCommandInput, cb: (err: any, data?: AllocateHostsCommandOutput) => void): void;
752
753
  allocateHosts(args: AllocateHostsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: AllocateHostsCommandOutput) => void): void;
@@ -23,7 +23,7 @@ export interface AllocateHostsCommandOutput extends AllocateHostsResult, __Metad
23
23
  }
24
24
  declare const AllocateHostsCommand_base: {
25
25
  new (input: AllocateHostsCommandInput): import("@smithy/smithy-client").CommandImpl<AllocateHostsCommandInput, AllocateHostsCommandOutput, EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: AllocateHostsCommandInput): import("@smithy/smithy-client").CommandImpl<AllocateHostsCommandInput, AllocateHostsCommandOutput, EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (...[input]: [] | [AllocateHostsCommandInput]): import("@smithy/smithy-client").CommandImpl<AllocateHostsCommandInput, AllocateHostsCommandOutput, EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
@@ -55,11 +55,12 @@ declare const AllocateHostsCommand_base: {
55
55
  * AssetIds: [ // AssetIdList
56
56
  * "STRING_VALUE",
57
57
  * ],
58
+ * AvailabilityZoneId: "STRING_VALUE",
58
59
  * AutoPlacement: "on" || "off",
59
60
  * ClientToken: "STRING_VALUE",
60
61
  * InstanceType: "STRING_VALUE",
61
62
  * Quantity: Number("int"),
62
- * AvailabilityZone: "STRING_VALUE", // required
63
+ * AvailabilityZone: "STRING_VALUE",
63
64
  * };
64
65
  * const command = new AllocateHostsCommand(input);
65
66
  * const response = await client.send(command);
@@ -28,15 +28,15 @@ declare const AssignIpv6AddressesCommand_base: {
28
28
  };
29
29
  /**
30
30
  * <p>Assigns the specified IPv6 addresses to the specified network interface. You can
31
- * specify specific IPv6 addresses, or you can specify the number of IPv6
32
- * addresses to be automatically assigned from the subnet's IPv6 CIDR block range.
33
- * You can assign as many IPv6 addresses to a network interface as you can assign private
34
- * IPv4 addresses, and the limit varies by instance type.</p>
31
+ * specify specific IPv6 addresses, or you can specify the number of IPv6 addresses to be
32
+ * automatically assigned from the subnet's IPv6 CIDR block range. You can assign as many
33
+ * IPv6 addresses to a network interface as you can assign private IPv4 addresses, and the
34
+ * limit varies by instance type.</p>
35
35
  * <p>You must specify either the IPv6 addresses or the IPv6 address count in the request. </p>
36
36
  * <p>You can optionally use Prefix Delegation on the network interface. You must specify
37
37
  * either the IPV6 Prefix Delegation prefixes, or the IPv6 Prefix Delegation count. For
38
- * information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-prefix-eni.html">
39
- * Assigning prefixes to network interfaces</a> in the <i>Amazon EC2 User Guide</i>.</p>
38
+ * information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-prefix-eni.html"> Assigning prefixes to network
39
+ * interfaces</a> in the <i>Amazon EC2 User Guide</i>.</p>
40
40
  * @example
41
41
  * Use a bare-bones client and the command you need to make an API call.
42
42
  * ```javascript
@@ -27,21 +27,25 @@ declare const AssignPrivateIpAddressesCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p>Assigns the specified secondary private IP addresses to the specified network interface.</p>
31
- * <p>You can specify specific secondary IP addresses, or you can specify the number
32
- * of secondary IP addresses to be automatically assigned from the subnet's CIDR block range.
33
- * The number of secondary IP addresses that you can assign to an instance varies by instance type.
34
- * For more information about Elastic IP addresses, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/elastic-ip-addresses-eip.html">Elastic IP Addresses</a> in the <i>Amazon EC2 User Guide</i>.</p>
35
- * <p>When you move a secondary private IP address to another network interface, any Elastic IP address
36
- * that is associated with the IP address is also moved.</p>
37
- * <p>Remapping an IP address is an asynchronous operation. When you move an IP address from one network
38
- * interface to another, check <code>network/interfaces/macs/mac/local-ipv4s</code> in the instance
39
- * metadata to confirm that the remapping is complete.</p>
40
- * <p>You must specify either the IP addresses or the IP address count in the request.</p>
30
+ * <p>Assigns the specified secondary private IP addresses to the specified network
31
+ * interface.</p>
32
+ * <p>You can specify specific secondary IP addresses, or you can specify the number of
33
+ * secondary IP addresses to be automatically assigned from the subnet's CIDR block range.
34
+ * The number of secondary IP addresses that you can assign to an instance varies by
35
+ * instance type. For more information about Elastic IP addresses, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/elastic-ip-addresses-eip.html">Elastic IP
36
+ * Addresses</a> in the <i>Amazon EC2 User Guide</i>.</p>
37
+ * <p>When you move a secondary private IP address to another network interface, any Elastic
38
+ * IP address that is associated with the IP address is also moved.</p>
39
+ * <p>Remapping an IP address is an asynchronous operation. When you move an IP address from
40
+ * one network interface to another, check
41
+ * <code>network/interfaces/macs/mac/local-ipv4s</code> in the instance metadata to
42
+ * confirm that the remapping is complete.</p>
43
+ * <p>You must specify either the IP addresses or the IP address count in the
44
+ * request.</p>
41
45
  * <p>You can optionally use Prefix Delegation on the network interface. You must specify
42
46
  * either the IPv4 Prefix Delegation prefixes, or the IPv4 Prefix Delegation count. For
43
- * information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-prefix-eni.html">
44
- * Assigning prefixes to network interfaces</a> in the <i>Amazon EC2 User Guide</i>.</p>
47
+ * information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-prefix-eni.html"> Assigning prefixes to network
48
+ * interfaces</a> in the <i>Amazon EC2 User Guide</i>.</p>
45
49
  * @example
46
50
  * Use a bare-bones client and the command you need to make an API call.
47
51
  * ```javascript
@@ -42,6 +42,7 @@ declare const AttachNetworkInterfaceCommand_base: {
42
42
  * EnaSrdUdpEnabled: true || false,
43
43
  * },
44
44
  * },
45
+ * EnaQueueCount: Number("int"),
45
46
  * DryRun: true || false,
46
47
  * NetworkInterfaceId: "STRING_VALUE", // required
47
48
  * InstanceId: "STRING_VALUE", // required
@@ -27,7 +27,8 @@ declare const CancelReservedInstancesListingCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p>Cancels the specified Reserved Instance listing in the Reserved Instance Marketplace.</p>
30
+ * <p>Cancels the specified Reserved Instance listing in the Reserved Instance
31
+ * Marketplace.</p>
31
32
  * <p>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ri-market-general.html">Sell in the Reserved Instance
32
33
  * Marketplace</a> in the <i>Amazon EC2 User Guide</i>.</p>
33
34
  * @example
@@ -125,6 +125,7 @@ declare const CreateLaunchTemplateCommand_base: {
125
125
  * UdpStreamTimeout: Number("int"),
126
126
  * UdpTimeout: Number("int"),
127
127
  * },
128
+ * EnaQueueCount: Number("int"),
128
129
  * },
129
130
  * ],
130
131
  * ImageId: "STRING_VALUE",
@@ -36,7 +36,8 @@ declare const CreateLaunchTemplateVersionCommand_base: {
36
36
  * <p>Launch templates are immutable; after you create a launch template, you can't modify
37
37
  * it. Instead, you can create a new version of the launch template that includes the
38
38
  * changes that you require.</p>
39
- * <p>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/manage-launch-template-versions.html">Modify a launch template (manage launch template versions)</a> in the
39
+ * <p>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/manage-launch-template-versions.html">Modify a launch
40
+ * template (manage launch template versions)</a> in the
40
41
  * <i>Amazon EC2 User Guide</i>.</p>
41
42
  * @example
42
43
  * Use a bare-bones client and the command you need to make an API call.
@@ -128,6 +129,7 @@ declare const CreateLaunchTemplateVersionCommand_base: {
128
129
  * UdpStreamTimeout: Number("int"),
129
130
  * UdpTimeout: Number("int"),
130
131
  * },
132
+ * EnaQueueCount: Number("int"),
131
133
  * },
132
134
  * ],
133
135
  * ImageId: "STRING_VALUE",
@@ -407,6 +409,7 @@ declare const CreateLaunchTemplateVersionCommand_base: {
407
409
  * // UdpTimeout: Number("int"),
408
410
  * // UdpStreamTimeout: Number("int"),
409
411
  * // },
412
+ * // EnaQueueCount: Number("int"),
410
413
  * // },
411
414
  * // ],
412
415
  * // ImageId: "STRING_VALUE",
@@ -30,8 +30,8 @@ declare const CreateNetworkInterfaceCommand_base: {
30
30
  * <p>Creates a network interface in the specified subnet.</p>
31
31
  * <p>The number of IP addresses you can assign to a network interface varies by instance
32
32
  * type.</p>
33
- * <p>For more information about network interfaces, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-eni.html">Elastic network interfaces</a>
34
- * in the <i>Amazon EC2 User Guide</i>.</p>
33
+ * <p>For more information about network interfaces, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-eni.html">Elastic network interfaces</a> in the
34
+ * <i>Amazon EC2 User Guide</i>.</p>
35
35
  * @example
36
36
  * Use a bare-bones client and the command you need to make an API call.
37
37
  * ```javascript
@@ -123,6 +123,7 @@ declare const CreateNetworkInterfaceCommand_base: {
123
123
  * // EnaSrdUdpEnabled: true || false,
124
124
  * // },
125
125
  * // },
126
+ * // EnaQueueCount: Number("int"),
126
127
  * // },
127
128
  * // AvailabilityZone: "STRING_VALUE",
128
129
  * // ConnectionTrackingConfiguration: { // ConnectionTrackingConfiguration
@@ -27,9 +27,10 @@ declare const CreateNetworkInterfacePermissionCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p>Grants an Amazon Web Services-authorized account permission to attach the specified network interface to
31
- * an instance in their account.</p>
32
- * <p>You can grant permission to a single Amazon Web Services account only, and only one account at a time.</p>
30
+ * <p>Grants an Amazon Web Services-authorized account permission to attach the specified
31
+ * network interface to an instance in their account.</p>
32
+ * <p>You can grant permission to a single Amazon Web Services account only, and only one
33
+ * account at a time.</p>
33
34
  * @example
34
35
  * Use a bare-bones client and the command you need to make an API call.
35
36
  * ```javascript
@@ -27,20 +27,23 @@ declare const CreateReservedInstancesListingCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p>Creates a listing for Amazon EC2 Standard Reserved Instances to be sold in the Reserved Instance
31
- * Marketplace. You can submit one Standard Reserved Instance listing at a time. To get a list of your
32
- * Standard Reserved Instances, you can use the <a>DescribeReservedInstances</a> operation.</p>
30
+ * <p>Creates a listing for Amazon EC2 Standard Reserved Instances to be sold in the Reserved
31
+ * Instance Marketplace. You can submit one Standard Reserved Instance listing at a time. To get
32
+ * a list of your Standard Reserved Instances, you can use the <a>DescribeReservedInstances</a> operation.</p>
33
33
  * <note>
34
34
  * <p>Only Standard Reserved Instances can be sold in the Reserved Instance Marketplace.
35
- * Convertible Reserved Instances cannot be sold.</p>
35
+ * Convertible Reserved Instances cannot be sold.</p>
36
36
  * </note>
37
- * <p>The Reserved Instance Marketplace matches sellers who want to resell Standard Reserved Instance capacity that they no longer need with buyers who want to purchase additional capacity. Reserved Instances bought and sold through the Reserved Instance Marketplace work like any other Reserved Instances.</p>
38
- * <p>To sell your Standard Reserved Instances, you must first register as a seller in the Reserved Instance
39
- * Marketplace. After completing the registration process, you can create a Reserved Instance
40
- * Marketplace listing of some or all of your Standard Reserved Instances, and specify the upfront price
41
- * to receive for them. Your Standard Reserved Instance listings then become available for purchase. To
42
- * view the details of your Standard Reserved Instance listing, you can use the
43
- * <a>DescribeReservedInstancesListings</a> operation.</p>
37
+ * <p>The Reserved Instance Marketplace matches sellers who want to resell Standard Reserved
38
+ * Instance capacity that they no longer need with buyers who want to purchase additional
39
+ * capacity. Reserved Instances bought and sold through the Reserved Instance Marketplace work
40
+ * like any other Reserved Instances.</p>
41
+ * <p>To sell your Standard Reserved Instances, you must first register as a seller in the
42
+ * Reserved Instance Marketplace. After completing the registration process, you can create a
43
+ * Reserved Instance Marketplace listing of some or all of your Standard Reserved Instances, and
44
+ * specify the upfront price to receive for them. Your Standard Reserved Instance listings then
45
+ * become available for purchase. To view the details of your Standard Reserved Instance listing,
46
+ * you can use the <a>DescribeReservedInstancesListings</a> operation.</p>
44
47
  * <p>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ri-market-general.html">Sell in the Reserved Instance
45
48
  * Marketplace</a> in the <i>Amazon EC2 User Guide</i>.</p>
46
49
  * @example
@@ -27,7 +27,8 @@ declare const DeleteNetworkInterfaceCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p>Deletes the specified network interface. You must detach the network interface before you can delete it.</p>
30
+ * <p>Deletes the specified network interface. You must detach the network interface before
31
+ * you can delete it.</p>
31
32
  * @example
32
33
  * Use a bare-bones client and the command you need to make an API call.
33
34
  * ```javascript
@@ -28,9 +28,9 @@ declare const DeleteNetworkInterfacePermissionCommand_base: {
28
28
  };
29
29
  /**
30
30
  * <p>Deletes a permission for a network interface. By default, you cannot delete the
31
- * permission if the account for which you're removing the permission has attached the
32
- * network interface to an instance. However, you can force delete the permission,
33
- * regardless of any attachment.</p>
31
+ * permission if the account for which you're removing the permission has attached the
32
+ * network interface to an instance. However, you can force delete the permission,
33
+ * regardless of any attachment.</p>
34
34
  * @example
35
35
  * Use a bare-bones client and the command you need to make an API call.
36
36
  * ```javascript
@@ -69,6 +69,7 @@ declare const DescribeCapacityReservationBillingRequestsCommand_base: {
69
69
  * // InstanceType: "STRING_VALUE",
70
70
  * // AvailabilityZone: "STRING_VALUE",
71
71
  * // Tenancy: "default" || "dedicated",
72
+ * // AvailabilityZoneId: "STRING_VALUE",
72
73
  * // },
73
74
  * // },
74
75
  * // ],
@@ -56,6 +56,12 @@ declare const DescribeInstanceStatusCommand_base: {
56
56
  * lifecycle</a> in the <i>Amazon EC2 User Guide</i>.</p>
57
57
  * </li>
58
58
  * </ul>
59
+ * <p>The Amazon EC2 API follows an eventual consistency model. This means that the result of an
60
+ * API command you run that creates or modifies resources might not be immediately
61
+ * available to all subsequent commands you run. For guidance on how to manage eventual
62
+ * consistency, see <a href="https://docs.aws.amazon.com/ec2/latest/devguide/eventual-consistency.html">Eventual consistency in the
63
+ * Amazon EC2 API</a> in the <i>Amazon EC2 Developer
64
+ * Guide</i>.</p>
59
65
  * <note>
60
66
  * <p>The order of the elements in the response, including those within nested
61
67
  * structures, might vary. Applications should not assume the elements appear in a
@@ -132,6 +132,9 @@ declare const DescribeInstanceTypesCommand_base: {
132
132
  * // MaximumNetworkInterfaces: Number("int"),
133
133
  * // BaselineBandwidthInGbps: Number("double"),
134
134
  * // PeakBandwidthInGbps: Number("double"),
135
+ * // DefaultEnaQueueCountPerInterface: Number("int"),
136
+ * // MaximumEnaQueueCount: Number("int"),
137
+ * // MaximumEnaQueueCountPerInterface: Number("int"),
135
138
  * // },
136
139
  * // ],
137
140
  * // Ipv4AddressesPerInterface: Number("int"),
@@ -147,6 +150,7 @@ declare const DescribeInstanceTypesCommand_base: {
147
150
  * // BandwidthWeightings: [ // BandwidthWeightingTypeList
148
151
  * // "default" || "vpc-1" || "ebs-1",
149
152
  * // ],
153
+ * // FlexibleEnaQueuesSupport: "unsupported" || "supported",
150
154
  * // },
151
155
  * // GpuInfo: { // GpuInfo
152
156
  * // Gpus: [ // GpuDeviceInfoList
@@ -43,6 +43,12 @@ declare const DescribeInstancesCommand_base: {
43
43
  * not specify any instance IDs at all, the call fails. If you describe instances and
44
44
  * specify only instance IDs that are in an unaffected zone, the call works
45
45
  * normally.</p>
46
+ * <p>The Amazon EC2 API follows an eventual consistency model. This means that the result of an
47
+ * API command you run that creates or modifies resources might not be immediately
48
+ * available to all subsequent commands you run. For guidance on how to manage eventual
49
+ * consistency, see <a href="https://docs.aws.amazon.com/ec2/latest/devguide/eventual-consistency.html">Eventual consistency in the
50
+ * Amazon EC2 API</a> in the <i>Amazon EC2 Developer
51
+ * Guide</i>.</p>
46
52
  * <important>
47
53
  * <p>We strongly recommend using only paginated requests. Unpaginated requests are
48
54
  * susceptible to throttling and timeouts.</p>
@@ -156,6 +162,7 @@ declare const DescribeInstancesCommand_base: {
156
162
  * // EnaSrdUdpEnabled: true || false,
157
163
  * // },
158
164
  * // },
165
+ * // EnaQueueCount: Number("int"),
159
166
  * // },
160
167
  * // Description: "STRING_VALUE",
161
168
  * // Groups: [