@aws-sdk/client-ec2 3.875.0 → 3.876.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 (232) hide show
  1. package/README.md +40 -0
  2. package/dist-cjs/index.js +1231 -396
  3. package/dist-es/EC2.js +10 -0
  4. package/dist-es/commands/CreateImageUsageReportCommand.js +22 -0
  5. package/dist-es/commands/DeleteImageUsageReportCommand.js +22 -0
  6. package/dist-es/commands/DescribeImageReferencesCommand.js +22 -0
  7. package/dist-es/commands/DescribeImageUsageReportEntriesCommand.js +22 -0
  8. package/dist-es/commands/DescribeImageUsageReportsCommand.js +22 -0
  9. package/dist-es/commands/GetPasswordDataCommand.js +1 -1
  10. package/dist-es/commands/index.js +5 -0
  11. package/dist-es/models/models_0.js +1 -0
  12. package/dist-es/models/models_3.js +0 -8
  13. package/dist-es/models/models_4.js +19 -40
  14. package/dist-es/models/models_5.js +40 -18
  15. package/dist-es/models/models_6.js +18 -12
  16. package/dist-es/models/models_7.js +12 -0
  17. package/dist-es/pagination/DescribeImageReferencesPaginator.js +4 -0
  18. package/dist-es/pagination/DescribeImageUsageReportEntriesPaginator.js +4 -0
  19. package/dist-es/pagination/DescribeImageUsageReportsPaginator.js +4 -0
  20. package/dist-es/pagination/index.js +3 -0
  21. package/dist-es/protocols/Aws_ec2.js +700 -25
  22. package/dist-es/waiters/index.js +1 -0
  23. package/dist-es/waiters/waitForImageUsageReportAvailable.js +54 -0
  24. package/dist-types/EC2.d.ts +37 -0
  25. package/dist-types/EC2Client.d.ts +7 -2
  26. package/dist-types/commands/AcceptAddressTransferCommand.d.ts +1 -1
  27. package/dist-types/commands/AllocateAddressCommand.d.ts +1 -1
  28. package/dist-types/commands/AllocateHostsCommand.d.ts +1 -1
  29. package/dist-types/commands/AssociateIpamResourceDiscoveryCommand.d.ts +1 -1
  30. package/dist-types/commands/AuthorizeSecurityGroupEgressCommand.d.ts +1 -1
  31. package/dist-types/commands/AuthorizeSecurityGroupIngressCommand.d.ts +1 -1
  32. package/dist-types/commands/CopyImageCommand.d.ts +1 -1
  33. package/dist-types/commands/CopySnapshotCommand.d.ts +1 -1
  34. package/dist-types/commands/CreateCapacityReservationBySplittingCommand.d.ts +1 -1
  35. package/dist-types/commands/CreateCapacityReservationCommand.d.ts +1 -1
  36. package/dist-types/commands/CreateCapacityReservationFleetCommand.d.ts +1 -1
  37. package/dist-types/commands/CreateCarrierGatewayCommand.d.ts +1 -1
  38. package/dist-types/commands/CreateClientVpnEndpointCommand.d.ts +1 -1
  39. package/dist-types/commands/CreateCoipPoolCommand.d.ts +1 -1
  40. package/dist-types/commands/CreateCustomerGatewayCommand.d.ts +1 -1
  41. package/dist-types/commands/CreateDelegateMacVolumeOwnershipTaskCommand.d.ts +1 -1
  42. package/dist-types/commands/CreateDhcpOptionsCommand.d.ts +1 -1
  43. package/dist-types/commands/CreateEgressOnlyInternetGatewayCommand.d.ts +1 -1
  44. package/dist-types/commands/CreateFleetCommand.d.ts +1 -1
  45. package/dist-types/commands/CreateFlowLogsCommand.d.ts +1 -1
  46. package/dist-types/commands/CreateFpgaImageCommand.d.ts +1 -1
  47. package/dist-types/commands/CreateImageCommand.d.ts +1 -1
  48. package/dist-types/commands/CreateImageUsageReportCommand.d.ts +105 -0
  49. package/dist-types/commands/CreateInstanceConnectEndpointCommand.d.ts +1 -1
  50. package/dist-types/commands/CreateInstanceEventWindowCommand.d.ts +1 -1
  51. package/dist-types/commands/CreateInstanceExportTaskCommand.d.ts +1 -1
  52. package/dist-types/commands/CreateInternetGatewayCommand.d.ts +1 -1
  53. package/dist-types/commands/CreateIpamCommand.d.ts +1 -1
  54. package/dist-types/commands/CreateIpamExternalResourceVerificationTokenCommand.d.ts +1 -1
  55. package/dist-types/commands/CreateIpamPoolCommand.d.ts +1 -1
  56. package/dist-types/commands/CreateIpamResourceDiscoveryCommand.d.ts +1 -1
  57. package/dist-types/commands/CreateIpamScopeCommand.d.ts +1 -1
  58. package/dist-types/commands/CreateKeyPairCommand.d.ts +1 -1
  59. package/dist-types/commands/CreateLaunchTemplateCommand.d.ts +2 -2
  60. package/dist-types/commands/CreateLaunchTemplateVersionCommand.d.ts +2 -2
  61. package/dist-types/commands/CreateLocalGatewayRouteTableCommand.d.ts +1 -1
  62. package/dist-types/commands/CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationCommand.d.ts +1 -1
  63. package/dist-types/commands/CreateLocalGatewayRouteTableVpcAssociationCommand.d.ts +1 -1
  64. package/dist-types/commands/CreateLocalGatewayVirtualInterfaceCommand.d.ts +1 -1
  65. package/dist-types/commands/CreateLocalGatewayVirtualInterfaceGroupCommand.d.ts +1 -1
  66. package/dist-types/commands/CreateMacSystemIntegrityProtectionModificationTaskCommand.d.ts +1 -1
  67. package/dist-types/commands/CreateManagedPrefixListCommand.d.ts +1 -1
  68. package/dist-types/commands/CreateNatGatewayCommand.d.ts +1 -1
  69. package/dist-types/commands/CreateNetworkAclCommand.d.ts +1 -1
  70. package/dist-types/commands/CreateNetworkInsightsAccessScopeCommand.d.ts +1 -1
  71. package/dist-types/commands/CreateNetworkInsightsPathCommand.d.ts +1 -1
  72. package/dist-types/commands/CreateNetworkInterfaceCommand.d.ts +1 -1
  73. package/dist-types/commands/CreatePlacementGroupCommand.d.ts +1 -1
  74. package/dist-types/commands/CreatePublicIpv4PoolCommand.d.ts +1 -1
  75. package/dist-types/commands/CreateReplaceRootVolumeTaskCommand.d.ts +1 -1
  76. package/dist-types/commands/CreateRestoreImageTaskCommand.d.ts +1 -1
  77. package/dist-types/commands/CreateRouteServerCommand.d.ts +1 -1
  78. package/dist-types/commands/CreateRouteServerEndpointCommand.d.ts +1 -1
  79. package/dist-types/commands/CreateRouteServerPeerCommand.d.ts +1 -1
  80. package/dist-types/commands/CreateRouteTableCommand.d.ts +1 -1
  81. package/dist-types/commands/CreateSecurityGroupCommand.d.ts +1 -1
  82. package/dist-types/commands/CreateSnapshotCommand.d.ts +1 -1
  83. package/dist-types/commands/CreateSnapshotsCommand.d.ts +1 -1
  84. package/dist-types/commands/CreateSubnetCidrReservationCommand.d.ts +1 -1
  85. package/dist-types/commands/CreateSubnetCommand.d.ts +1 -1
  86. package/dist-types/commands/CreateTrafficMirrorFilterCommand.d.ts +1 -1
  87. package/dist-types/commands/CreateTrafficMirrorFilterRuleCommand.d.ts +1 -1
  88. package/dist-types/commands/CreateTrafficMirrorSessionCommand.d.ts +1 -1
  89. package/dist-types/commands/CreateTrafficMirrorTargetCommand.d.ts +1 -1
  90. package/dist-types/commands/CreateTransitGatewayCommand.d.ts +1 -1
  91. package/dist-types/commands/CreateTransitGatewayConnectCommand.d.ts +1 -1
  92. package/dist-types/commands/CreateTransitGatewayConnectPeerCommand.d.ts +1 -1
  93. package/dist-types/commands/CreateTransitGatewayMulticastDomainCommand.d.ts +1 -1
  94. package/dist-types/commands/CreateTransitGatewayPeeringAttachmentCommand.d.ts +1 -1
  95. package/dist-types/commands/CreateTransitGatewayPolicyTableCommand.d.ts +1 -1
  96. package/dist-types/commands/CreateTransitGatewayRouteTableAnnouncementCommand.d.ts +1 -1
  97. package/dist-types/commands/CreateTransitGatewayRouteTableCommand.d.ts +1 -1
  98. package/dist-types/commands/CreateTransitGatewayVpcAttachmentCommand.d.ts +1 -1
  99. package/dist-types/commands/CreateVerifiedAccessEndpointCommand.d.ts +1 -1
  100. package/dist-types/commands/CreateVerifiedAccessGroupCommand.d.ts +1 -1
  101. package/dist-types/commands/CreateVerifiedAccessInstanceCommand.d.ts +1 -1
  102. package/dist-types/commands/CreateVerifiedAccessTrustProviderCommand.d.ts +1 -1
  103. package/dist-types/commands/CreateVolumeCommand.d.ts +1 -1
  104. package/dist-types/commands/CreateVpcBlockPublicAccessExclusionCommand.d.ts +1 -1
  105. package/dist-types/commands/CreateVpcCommand.d.ts +1 -1
  106. package/dist-types/commands/CreateVpcEndpointCommand.d.ts +2 -3
  107. package/dist-types/commands/CreateVpcEndpointServiceConfigurationCommand.d.ts +1 -1
  108. package/dist-types/commands/CreateVpcPeeringConnectionCommand.d.ts +1 -1
  109. package/dist-types/commands/CreateVpnConnectionCommand.d.ts +1 -1
  110. package/dist-types/commands/CreateVpnGatewayCommand.d.ts +1 -1
  111. package/dist-types/commands/DeleteImageUsageReportCommand.d.ts +75 -0
  112. package/dist-types/commands/DescribeCapacityReservationBillingRequestsCommand.d.ts +2 -1
  113. package/dist-types/commands/DescribeCapacityReservationFleetsCommand.d.ts +1 -2
  114. package/dist-types/commands/DescribeImageReferencesCommand.d.ts +100 -0
  115. package/dist-types/commands/DescribeImageUsageReportEntriesCommand.d.ts +101 -0
  116. package/dist-types/commands/DescribeImageUsageReportsCommand.d.ts +123 -0
  117. package/dist-types/commands/DescribeInstanceTypesCommand.d.ts +2 -1
  118. package/dist-types/commands/DescribeInternetGatewaysCommand.d.ts +1 -1
  119. package/dist-types/commands/DescribeIpamByoasnCommand.d.ts +1 -1
  120. package/dist-types/commands/DescribeIpamExternalResourceVerificationTokensCommand.d.ts +1 -1
  121. package/dist-types/commands/DescribeIpamPoolsCommand.d.ts +1 -2
  122. package/dist-types/commands/DescribeLaunchTemplateVersionsCommand.d.ts +1 -1
  123. package/dist-types/commands/DescribeSpotFleetRequestsCommand.d.ts +2 -2
  124. package/dist-types/commands/DescribeTagsCommand.d.ts +1 -1
  125. package/dist-types/commands/DescribeVpcAttributeCommand.d.ts +2 -1
  126. package/dist-types/commands/DescribeVpcBlockPublicAccessExclusionsCommand.d.ts +1 -1
  127. package/dist-types/commands/DescribeVpcBlockPublicAccessOptionsCommand.d.ts +1 -1
  128. package/dist-types/commands/DescribeVpcClassicLinkCommand.d.ts +1 -1
  129. package/dist-types/commands/DescribeVpcClassicLinkDnsSupportCommand.d.ts +1 -1
  130. package/dist-types/commands/DescribeVpcEndpointAssociationsCommand.d.ts +1 -1
  131. package/dist-types/commands/DescribeVpcEndpointConnectionNotificationsCommand.d.ts +1 -1
  132. package/dist-types/commands/ExportImageCommand.d.ts +1 -1
  133. package/dist-types/commands/GetLaunchTemplateDataCommand.d.ts +1 -1
  134. package/dist-types/commands/GetPasswordDataCommand.d.ts +1 -1
  135. package/dist-types/commands/GetReservedInstancesExchangeQuoteCommand.d.ts +1 -1
  136. package/dist-types/commands/GetRouteServerAssociationsCommand.d.ts +1 -1
  137. package/dist-types/commands/GetRouteServerPropagationsCommand.d.ts +1 -1
  138. package/dist-types/commands/GetRouteServerRoutingDatabaseCommand.d.ts +1 -1
  139. package/dist-types/commands/GetSecurityGroupsForVpcCommand.d.ts +1 -1
  140. package/dist-types/commands/ImportImageCommand.d.ts +1 -1
  141. package/dist-types/commands/ImportKeyPairCommand.d.ts +1 -1
  142. package/dist-types/commands/ImportSnapshotCommand.d.ts +1 -1
  143. package/dist-types/commands/ProvisionByoipCidrCommand.d.ts +1 -1
  144. package/dist-types/commands/ProvisionIpamPoolCidrCommand.d.ts +2 -1
  145. package/dist-types/commands/ProvisionPublicIpv4PoolCidrCommand.d.ts +1 -1
  146. package/dist-types/commands/PurchaseCapacityBlockCommand.d.ts +2 -2
  147. package/dist-types/commands/PurchaseCapacityBlockExtensionCommand.d.ts +1 -1
  148. package/dist-types/commands/PurchaseHostReservationCommand.d.ts +2 -2
  149. package/dist-types/commands/PurchaseReservedInstancesOfferingCommand.d.ts +1 -1
  150. package/dist-types/commands/PurchaseScheduledInstancesCommand.d.ts +1 -1
  151. package/dist-types/commands/RebootInstancesCommand.d.ts +1 -1
  152. package/dist-types/commands/RegisterImageCommand.d.ts +2 -2
  153. package/dist-types/commands/RegisterInstanceEventNotificationAttributesCommand.d.ts +1 -1
  154. package/dist-types/commands/RequestSpotFleetCommand.d.ts +2 -2
  155. package/dist-types/commands/RequestSpotInstancesCommand.d.ts +1 -1
  156. package/dist-types/commands/RunInstancesCommand.d.ts +1 -1
  157. package/dist-types/commands/StartDeclarativePoliciesReportCommand.d.ts +1 -1
  158. package/dist-types/commands/StartNetworkInsightsAccessScopeAnalysisCommand.d.ts +1 -1
  159. package/dist-types/commands/StartNetworkInsightsAnalysisCommand.d.ts +1 -1
  160. package/dist-types/commands/index.d.ts +5 -0
  161. package/dist-types/models/models_0.d.ts +1 -0
  162. package/dist-types/models/models_1.d.ts +93 -79
  163. package/dist-types/models/models_2.d.ts +80 -161
  164. package/dist-types/models/models_3.d.ts +190 -302
  165. package/dist-types/models/models_4.d.ts +886 -719
  166. package/dist-types/models/models_5.d.ts +1938 -1933
  167. package/dist-types/models/models_6.d.ts +1828 -1719
  168. package/dist-types/models/models_7.d.ts +4616 -4654
  169. package/dist-types/models/models_8.d.ts +547 -5
  170. package/dist-types/pagination/DescribeImageReferencesPaginator.d.ts +7 -0
  171. package/dist-types/pagination/DescribeImageUsageReportEntriesPaginator.d.ts +7 -0
  172. package/dist-types/pagination/DescribeImageUsageReportsPaginator.d.ts +7 -0
  173. package/dist-types/pagination/index.d.ts +3 -0
  174. package/dist-types/protocols/Aws_ec2.d.ts +45 -0
  175. package/dist-types/ts3.4/EC2.d.ts +87 -0
  176. package/dist-types/ts3.4/EC2Client.d.ts +30 -0
  177. package/dist-types/ts3.4/commands/CreateImageUsageReportCommand.d.ts +51 -0
  178. package/dist-types/ts3.4/commands/CreateVpcEndpointCommand.d.ts +4 -2
  179. package/dist-types/ts3.4/commands/DeleteImageUsageReportCommand.d.ts +51 -0
  180. package/dist-types/ts3.4/commands/DescribeCapacityReservationBillingRequestsCommand.d.ts +2 -4
  181. package/dist-types/ts3.4/commands/DescribeCapacityReservationFleetsCommand.d.ts +4 -2
  182. package/dist-types/ts3.4/commands/DescribeImageReferencesCommand.d.ts +51 -0
  183. package/dist-types/ts3.4/commands/DescribeImageUsageReportEntriesCommand.d.ts +51 -0
  184. package/dist-types/ts3.4/commands/DescribeImageUsageReportsCommand.d.ts +51 -0
  185. package/dist-types/ts3.4/commands/DescribeInstanceTypesCommand.d.ts +2 -4
  186. package/dist-types/ts3.4/commands/DescribeInternetGatewaysCommand.d.ts +1 -1
  187. package/dist-types/ts3.4/commands/DescribeIpamByoasnCommand.d.ts +1 -1
  188. package/dist-types/ts3.4/commands/DescribeIpamExternalResourceVerificationTokensCommand.d.ts +1 -1
  189. package/dist-types/ts3.4/commands/DescribeIpamPoolsCommand.d.ts +4 -2
  190. package/dist-types/ts3.4/commands/DescribeVpcAttributeCommand.d.ts +2 -4
  191. package/dist-types/ts3.4/commands/DescribeVpcBlockPublicAccessExclusionsCommand.d.ts +1 -1
  192. package/dist-types/ts3.4/commands/DescribeVpcBlockPublicAccessOptionsCommand.d.ts +1 -1
  193. package/dist-types/ts3.4/commands/DescribeVpcClassicLinkCommand.d.ts +1 -1
  194. package/dist-types/ts3.4/commands/DescribeVpcClassicLinkDnsSupportCommand.d.ts +1 -1
  195. package/dist-types/ts3.4/commands/DescribeVpcEndpointAssociationsCommand.d.ts +1 -1
  196. package/dist-types/ts3.4/commands/DescribeVpcEndpointConnectionNotificationsCommand.d.ts +1 -1
  197. package/dist-types/ts3.4/commands/GetPasswordDataCommand.d.ts +1 -1
  198. package/dist-types/ts3.4/commands/GetReservedInstancesExchangeQuoteCommand.d.ts +1 -1
  199. package/dist-types/ts3.4/commands/GetRouteServerAssociationsCommand.d.ts +1 -1
  200. package/dist-types/ts3.4/commands/GetRouteServerPropagationsCommand.d.ts +1 -1
  201. package/dist-types/ts3.4/commands/GetRouteServerRoutingDatabaseCommand.d.ts +1 -1
  202. package/dist-types/ts3.4/commands/GetSecurityGroupsForVpcCommand.d.ts +1 -1
  203. package/dist-types/ts3.4/commands/ProvisionIpamPoolCidrCommand.d.ts +2 -4
  204. package/dist-types/ts3.4/commands/ProvisionPublicIpv4PoolCidrCommand.d.ts +1 -1
  205. package/dist-types/ts3.4/commands/PurchaseCapacityBlockCommand.d.ts +1 -1
  206. package/dist-types/ts3.4/commands/PurchaseCapacityBlockExtensionCommand.d.ts +1 -1
  207. package/dist-types/ts3.4/commands/PurchaseHostReservationCommand.d.ts +1 -1
  208. package/dist-types/ts3.4/commands/PurchaseReservedInstancesOfferingCommand.d.ts +1 -1
  209. package/dist-types/ts3.4/commands/PurchaseScheduledInstancesCommand.d.ts +1 -1
  210. package/dist-types/ts3.4/commands/RebootInstancesCommand.d.ts +1 -1
  211. package/dist-types/ts3.4/commands/RegisterImageCommand.d.ts +1 -1
  212. package/dist-types/ts3.4/commands/RegisterInstanceEventNotificationAttributesCommand.d.ts +1 -1
  213. package/dist-types/ts3.4/commands/index.d.ts +5 -0
  214. package/dist-types/ts3.4/models/models_0.d.ts +1 -0
  215. package/dist-types/ts3.4/models/models_1.d.ts +19 -17
  216. package/dist-types/ts3.4/models/models_2.d.ts +21 -35
  217. package/dist-types/ts3.4/models/models_3.d.ts +41 -59
  218. package/dist-types/ts3.4/models/models_4.d.ts +148 -153
  219. package/dist-types/ts3.4/models/models_5.d.ts +165 -123
  220. package/dist-types/ts3.4/models/models_6.d.ts +125 -122
  221. package/dist-types/ts3.4/models/models_7.d.ts +125 -127
  222. package/dist-types/ts3.4/models/models_8.d.ts +128 -1
  223. package/dist-types/ts3.4/pagination/DescribeImageReferencesPaginator.d.ts +11 -0
  224. package/dist-types/ts3.4/pagination/DescribeImageUsageReportEntriesPaginator.d.ts +11 -0
  225. package/dist-types/ts3.4/pagination/DescribeImageUsageReportsPaginator.d.ts +11 -0
  226. package/dist-types/ts3.4/pagination/index.d.ts +3 -0
  227. package/dist-types/ts3.4/protocols/Aws_ec2.d.ts +60 -0
  228. package/dist-types/ts3.4/waiters/index.d.ts +1 -0
  229. package/dist-types/ts3.4/waiters/waitForImageUsageReportAvailable.d.ts +11 -0
  230. package/dist-types/waiters/index.d.ts +1 -0
  231. package/dist-types/waiters/waitForImageUsageReportAvailable.d.ts +14 -0
  232. package/package.json +6 -6
@@ -3,6 +3,7 @@ import {
3
3
  AddressAttributeName,
4
4
  ByoipCidr,
5
5
  ClientVpnAuthorizationRuleStatus,
6
+ CurrencyCodeValues,
6
7
  IamInstanceProfileAssociation,
7
8
  IamInstanceProfileSpecification,
8
9
  IpPermission,
@@ -20,6 +21,8 @@ import {
20
21
  _InstanceType,
21
22
  AmdSevSnpSpecification,
22
23
  BlockDeviceMapping,
24
+ CapacityReservation,
25
+ CapacityReservationInstancePlatform,
23
26
  CreditSpecificationRequest,
24
27
  ElasticGpuSpecification,
25
28
  HostnameType,
@@ -41,32 +44,156 @@ import {
41
44
  SSEType,
42
45
  TransitGatewayRoute,
43
46
  } from "./models_2";
44
- import { Filter } from "./models_3";
45
47
  import {
48
+ CapacityBlock,
49
+ CapacityBlockExtension,
50
+ Filter,
51
+ InstanceTagNotificationAttribute,
52
+ IpamPoolCidr,
53
+ } from "./models_3";
54
+ import {
55
+ ArchitectureValues,
56
+ BootModeValues,
46
57
  ClientVpnConnectionStatus,
47
58
  HttpTokensState,
59
+ ImdsSupportValues,
48
60
  InstanceAttributeName,
49
61
  InstanceAutoRecoveryState,
50
62
  InstanceMetadataEndpointState,
51
63
  InstanceMetadataProtocolState,
52
64
  InstanceMetadataTagsState,
53
65
  InstanceState,
66
+ TpmSupportValues,
54
67
  } from "./models_4";
55
68
  import {
56
69
  InstanceNetworkInterfaceSpecification,
57
70
  NetworkInsightsAccessScopeAnalysis,
58
71
  NetworkInsightsAnalysis,
72
+ PublicIpv4PoolRange,
59
73
  RunInstancesMonitoringEnabled,
74
+ ScheduledInstance,
60
75
  SnapshotAttributeName,
61
76
  SpotFleetRequestConfigData,
62
77
  SpotInstanceRequest,
63
78
  SpotPlacement,
64
79
  } from "./models_5";
80
+ import { Purchase } from "./models_6";
65
81
  import {
66
82
  CapacityReservationSpecification,
67
83
  InstanceMonitoring,
68
84
  Status,
69
85
  } from "./models_7";
86
+ export interface ProvisionIpamPoolCidrResult {
87
+ IpamPoolCidr?: IpamPoolCidr | undefined;
88
+ }
89
+ export interface ProvisionPublicIpv4PoolCidrRequest {
90
+ DryRun?: boolean | undefined;
91
+ IpamPoolId: string | undefined;
92
+ PoolId: string | undefined;
93
+ NetmaskLength: number | undefined;
94
+ NetworkBorderGroup?: string | undefined;
95
+ }
96
+ export interface ProvisionPublicIpv4PoolCidrResult {
97
+ PoolId?: string | undefined;
98
+ PoolAddressRange?: PublicIpv4PoolRange | undefined;
99
+ }
100
+ export interface PurchaseCapacityBlockRequest {
101
+ DryRun?: boolean | undefined;
102
+ TagSpecifications?: TagSpecification[] | undefined;
103
+ CapacityBlockOfferingId: string | undefined;
104
+ InstancePlatform: CapacityReservationInstancePlatform | undefined;
105
+ }
106
+ export interface PurchaseCapacityBlockResult {
107
+ CapacityReservation?: CapacityReservation | undefined;
108
+ CapacityBlocks?: CapacityBlock[] | undefined;
109
+ }
110
+ export interface PurchaseCapacityBlockExtensionRequest {
111
+ CapacityBlockExtensionOfferingId: string | undefined;
112
+ CapacityReservationId: string | undefined;
113
+ DryRun?: boolean | undefined;
114
+ }
115
+ export interface PurchaseCapacityBlockExtensionResult {
116
+ CapacityBlockExtensions?: CapacityBlockExtension[] | undefined;
117
+ }
118
+ export interface PurchaseHostReservationRequest {
119
+ ClientToken?: string | undefined;
120
+ CurrencyCode?: CurrencyCodeValues | undefined;
121
+ HostIdSet: string[] | undefined;
122
+ LimitPrice?: string | undefined;
123
+ OfferingId: string | undefined;
124
+ TagSpecifications?: TagSpecification[] | undefined;
125
+ }
126
+ export interface PurchaseHostReservationResult {
127
+ ClientToken?: string | undefined;
128
+ CurrencyCode?: CurrencyCodeValues | undefined;
129
+ Purchase?: Purchase[] | undefined;
130
+ TotalHourlyPrice?: string | undefined;
131
+ TotalUpfrontPrice?: string | undefined;
132
+ }
133
+ export interface ReservedInstanceLimitPrice {
134
+ Amount?: number | undefined;
135
+ CurrencyCode?: CurrencyCodeValues | undefined;
136
+ }
137
+ export interface PurchaseReservedInstancesOfferingRequest {
138
+ InstanceCount: number | undefined;
139
+ ReservedInstancesOfferingId: string | undefined;
140
+ PurchaseTime?: Date | undefined;
141
+ DryRun?: boolean | undefined;
142
+ LimitPrice?: ReservedInstanceLimitPrice | undefined;
143
+ }
144
+ export interface PurchaseReservedInstancesOfferingResult {
145
+ ReservedInstancesId?: string | undefined;
146
+ }
147
+ export interface PurchaseRequest {
148
+ InstanceCount: number | undefined;
149
+ PurchaseToken: string | undefined;
150
+ }
151
+ export interface PurchaseScheduledInstancesRequest {
152
+ ClientToken?: string | undefined;
153
+ DryRun?: boolean | undefined;
154
+ PurchaseRequests: PurchaseRequest[] | undefined;
155
+ }
156
+ export interface PurchaseScheduledInstancesResult {
157
+ ScheduledInstanceSet?: ScheduledInstance[] | undefined;
158
+ }
159
+ export interface RebootInstancesRequest {
160
+ InstanceIds: string[] | undefined;
161
+ DryRun?: boolean | undefined;
162
+ }
163
+ export interface RegisterImageRequest {
164
+ ImageLocation?: string | undefined;
165
+ BillingProducts?: string[] | undefined;
166
+ BootMode?: BootModeValues | undefined;
167
+ TpmSupport?: TpmSupportValues | undefined;
168
+ UefiData?: string | undefined;
169
+ ImdsSupport?: ImdsSupportValues | undefined;
170
+ TagSpecifications?: TagSpecification[] | undefined;
171
+ DryRun?: boolean | undefined;
172
+ Name: string | undefined;
173
+ Description?: string | undefined;
174
+ Architecture?: ArchitectureValues | undefined;
175
+ KernelId?: string | undefined;
176
+ RamdiskId?: string | undefined;
177
+ RootDeviceName?: string | undefined;
178
+ BlockDeviceMappings?: BlockDeviceMapping[] | undefined;
179
+ VirtualizationType?: string | undefined;
180
+ SriovNetSupport?: string | undefined;
181
+ EnaSupport?: boolean | undefined;
182
+ }
183
+ export interface RegisterImageResult {
184
+ ImageId?: string | undefined;
185
+ }
186
+ export interface RegisterInstanceTagAttributeRequest {
187
+ IncludeAllTagsOfInstance?: boolean | undefined;
188
+ InstanceTagKeys?: string[] | undefined;
189
+ }
190
+ export interface RegisterInstanceEventNotificationAttributesRequest {
191
+ DryRun?: boolean | undefined;
192
+ InstanceTagAttribute: RegisterInstanceTagAttributeRequest | undefined;
193
+ }
194
+ export interface RegisterInstanceEventNotificationAttributesResult {
195
+ InstanceTagAttribute?: InstanceTagNotificationAttribute | undefined;
196
+ }
70
197
  export interface RegisterTransitGatewayMulticastGroupMembersRequest {
71
198
  TransitGatewayMulticastDomainId: string | undefined;
72
199
  GroupIpAddress?: string | undefined;
@@ -0,0 +1,11 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import {
3
+ DescribeImageReferencesCommandInput,
4
+ DescribeImageReferencesCommandOutput,
5
+ } from "../commands/DescribeImageReferencesCommand";
6
+ import { EC2PaginationConfiguration } from "./Interfaces";
7
+ export declare const paginateDescribeImageReferences: (
8
+ config: EC2PaginationConfiguration,
9
+ input: DescribeImageReferencesCommandInput,
10
+ ...rest: any[]
11
+ ) => Paginator<DescribeImageReferencesCommandOutput>;
@@ -0,0 +1,11 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import {
3
+ DescribeImageUsageReportEntriesCommandInput,
4
+ DescribeImageUsageReportEntriesCommandOutput,
5
+ } from "../commands/DescribeImageUsageReportEntriesCommand";
6
+ import { EC2PaginationConfiguration } from "./Interfaces";
7
+ export declare const paginateDescribeImageUsageReportEntries: (
8
+ config: EC2PaginationConfiguration,
9
+ input: DescribeImageUsageReportEntriesCommandInput,
10
+ ...rest: any[]
11
+ ) => Paginator<DescribeImageUsageReportEntriesCommandOutput>;
@@ -0,0 +1,11 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import {
3
+ DescribeImageUsageReportsCommandInput,
4
+ DescribeImageUsageReportsCommandOutput,
5
+ } from "../commands/DescribeImageUsageReportsCommand";
6
+ import { EC2PaginationConfiguration } from "./Interfaces";
7
+ export declare const paginateDescribeImageUsageReports: (
8
+ config: EC2PaginationConfiguration,
9
+ input: DescribeImageUsageReportsCommandInput,
10
+ ...rest: any[]
11
+ ) => Paginator<DescribeImageUsageReportsCommandOutput>;
@@ -31,6 +31,9 @@ export * from "./DescribeHostReservationOfferingsPaginator";
31
31
  export * from "./DescribeHostReservationsPaginator";
32
32
  export * from "./DescribeHostsPaginator";
33
33
  export * from "./DescribeIamInstanceProfileAssociationsPaginator";
34
+ export * from "./DescribeImageReferencesPaginator";
35
+ export * from "./DescribeImageUsageReportEntriesPaginator";
36
+ export * from "./DescribeImageUsageReportsPaginator";
34
37
  export * from "./DescribeImagesPaginator";
35
38
  export * from "./DescribeImportImageTasksPaginator";
36
39
  export * from "./DescribeImportSnapshotTasksPaginator";
@@ -315,6 +315,10 @@ import {
315
315
  CreateImageCommandInput,
316
316
  CreateImageCommandOutput,
317
317
  } from "../commands/CreateImageCommand";
318
+ import {
319
+ CreateImageUsageReportCommandInput,
320
+ CreateImageUsageReportCommandOutput,
321
+ } from "../commands/CreateImageUsageReportCommand";
318
322
  import {
319
323
  CreateInstanceConnectEndpointCommandInput,
320
324
  CreateInstanceConnectEndpointCommandOutput,
@@ -655,6 +659,10 @@ import {
655
659
  DeleteFpgaImageCommandInput,
656
660
  DeleteFpgaImageCommandOutput,
657
661
  } from "../commands/DeleteFpgaImageCommand";
662
+ import {
663
+ DeleteImageUsageReportCommandInput,
664
+ DeleteImageUsageReportCommandOutput,
665
+ } from "../commands/DeleteImageUsageReportCommand";
658
666
  import {
659
667
  DeleteInstanceConnectEndpointCommandInput,
660
668
  DeleteInstanceConnectEndpointCommandOutput,
@@ -1159,10 +1167,22 @@ import {
1159
1167
  DescribeImageAttributeCommandInput,
1160
1168
  DescribeImageAttributeCommandOutput,
1161
1169
  } from "../commands/DescribeImageAttributeCommand";
1170
+ import {
1171
+ DescribeImageReferencesCommandInput,
1172
+ DescribeImageReferencesCommandOutput,
1173
+ } from "../commands/DescribeImageReferencesCommand";
1162
1174
  import {
1163
1175
  DescribeImagesCommandInput,
1164
1176
  DescribeImagesCommandOutput,
1165
1177
  } from "../commands/DescribeImagesCommand";
1178
+ import {
1179
+ DescribeImageUsageReportEntriesCommandInput,
1180
+ DescribeImageUsageReportEntriesCommandOutput,
1181
+ } from "../commands/DescribeImageUsageReportEntriesCommand";
1182
+ import {
1183
+ DescribeImageUsageReportsCommandInput,
1184
+ DescribeImageUsageReportsCommandOutput,
1185
+ } from "../commands/DescribeImageUsageReportsCommand";
1166
1186
  import {
1167
1187
  DescribeImportImageTasksCommandInput,
1168
1188
  DescribeImportImageTasksCommandOutput,
@@ -3071,6 +3091,10 @@ export declare const se_CreateImageCommand: (
3071
3091
  input: CreateImageCommandInput,
3072
3092
  context: __SerdeContext
3073
3093
  ) => Promise<__HttpRequest>;
3094
+ export declare const se_CreateImageUsageReportCommand: (
3095
+ input: CreateImageUsageReportCommandInput,
3096
+ context: __SerdeContext
3097
+ ) => Promise<__HttpRequest>;
3074
3098
  export declare const se_CreateInstanceConnectEndpointCommand: (
3075
3099
  input: CreateInstanceConnectEndpointCommandInput,
3076
3100
  context: __SerdeContext
@@ -3411,6 +3435,10 @@ export declare const se_DeleteFpgaImageCommand: (
3411
3435
  input: DeleteFpgaImageCommandInput,
3412
3436
  context: __SerdeContext
3413
3437
  ) => Promise<__HttpRequest>;
3438
+ export declare const se_DeleteImageUsageReportCommand: (
3439
+ input: DeleteImageUsageReportCommandInput,
3440
+ context: __SerdeContext
3441
+ ) => Promise<__HttpRequest>;
3414
3442
  export declare const se_DeleteInstanceConnectEndpointCommand: (
3415
3443
  input: DeleteInstanceConnectEndpointCommandInput,
3416
3444
  context: __SerdeContext
@@ -3915,10 +3943,22 @@ export declare const se_DescribeImageAttributeCommand: (
3915
3943
  input: DescribeImageAttributeCommandInput,
3916
3944
  context: __SerdeContext
3917
3945
  ) => Promise<__HttpRequest>;
3946
+ export declare const se_DescribeImageReferencesCommand: (
3947
+ input: DescribeImageReferencesCommandInput,
3948
+ context: __SerdeContext
3949
+ ) => Promise<__HttpRequest>;
3918
3950
  export declare const se_DescribeImagesCommand: (
3919
3951
  input: DescribeImagesCommandInput,
3920
3952
  context: __SerdeContext
3921
3953
  ) => Promise<__HttpRequest>;
3954
+ export declare const se_DescribeImageUsageReportEntriesCommand: (
3955
+ input: DescribeImageUsageReportEntriesCommandInput,
3956
+ context: __SerdeContext
3957
+ ) => Promise<__HttpRequest>;
3958
+ export declare const se_DescribeImageUsageReportsCommand: (
3959
+ input: DescribeImageUsageReportsCommandInput,
3960
+ context: __SerdeContext
3961
+ ) => Promise<__HttpRequest>;
3922
3962
  export declare const se_DescribeImportImageTasksCommand: (
3923
3963
  input: DescribeImportImageTasksCommandInput,
3924
3964
  context: __SerdeContext
@@ -5827,6 +5867,10 @@ export declare const de_CreateImageCommand: (
5827
5867
  output: __HttpResponse,
5828
5868
  context: __SerdeContext
5829
5869
  ) => Promise<CreateImageCommandOutput>;
5870
+ export declare const de_CreateImageUsageReportCommand: (
5871
+ output: __HttpResponse,
5872
+ context: __SerdeContext
5873
+ ) => Promise<CreateImageUsageReportCommandOutput>;
5830
5874
  export declare const de_CreateInstanceConnectEndpointCommand: (
5831
5875
  output: __HttpResponse,
5832
5876
  context: __SerdeContext
@@ -6167,6 +6211,10 @@ export declare const de_DeleteFpgaImageCommand: (
6167
6211
  output: __HttpResponse,
6168
6212
  context: __SerdeContext
6169
6213
  ) => Promise<DeleteFpgaImageCommandOutput>;
6214
+ export declare const de_DeleteImageUsageReportCommand: (
6215
+ output: __HttpResponse,
6216
+ context: __SerdeContext
6217
+ ) => Promise<DeleteImageUsageReportCommandOutput>;
6170
6218
  export declare const de_DeleteInstanceConnectEndpointCommand: (
6171
6219
  output: __HttpResponse,
6172
6220
  context: __SerdeContext
@@ -6671,10 +6719,22 @@ export declare const de_DescribeImageAttributeCommand: (
6671
6719
  output: __HttpResponse,
6672
6720
  context: __SerdeContext
6673
6721
  ) => Promise<DescribeImageAttributeCommandOutput>;
6722
+ export declare const de_DescribeImageReferencesCommand: (
6723
+ output: __HttpResponse,
6724
+ context: __SerdeContext
6725
+ ) => Promise<DescribeImageReferencesCommandOutput>;
6674
6726
  export declare const de_DescribeImagesCommand: (
6675
6727
  output: __HttpResponse,
6676
6728
  context: __SerdeContext
6677
6729
  ) => Promise<DescribeImagesCommandOutput>;
6730
+ export declare const de_DescribeImageUsageReportEntriesCommand: (
6731
+ output: __HttpResponse,
6732
+ context: __SerdeContext
6733
+ ) => Promise<DescribeImageUsageReportEntriesCommandOutput>;
6734
+ export declare const de_DescribeImageUsageReportsCommand: (
6735
+ output: __HttpResponse,
6736
+ context: __SerdeContext
6737
+ ) => Promise<DescribeImageUsageReportsCommandOutput>;
6678
6738
  export declare const de_DescribeImportImageTasksCommand: (
6679
6739
  output: __HttpResponse,
6680
6740
  context: __SerdeContext
@@ -7,6 +7,7 @@ export * from "./waitForExportTaskCancelled";
7
7
  export * from "./waitForExportTaskCompleted";
8
8
  export * from "./waitForImageAvailable";
9
9
  export * from "./waitForImageExists";
10
+ export * from "./waitForImageUsageReportAvailable";
10
11
  export * from "./waitForInstanceExists";
11
12
  export * from "./waitForInstanceRunning";
12
13
  export * from "./waitForInstanceStatusOk";
@@ -0,0 +1,11 @@
1
+ import { WaiterConfiguration, WaiterResult } from "@smithy/util-waiter";
2
+ import { DescribeImageUsageReportsCommandInput } from "../commands/DescribeImageUsageReportsCommand";
3
+ import { EC2Client } from "../EC2Client";
4
+ export declare const waitForImageUsageReportAvailable: (
5
+ params: WaiterConfiguration<EC2Client>,
6
+ input: DescribeImageUsageReportsCommandInput
7
+ ) => Promise<WaiterResult>;
8
+ export declare const waitUntilImageUsageReportAvailable: (
9
+ params: WaiterConfiguration<EC2Client>,
10
+ input: DescribeImageUsageReportsCommandInput
11
+ ) => Promise<WaiterResult>;
@@ -7,6 +7,7 @@ export * from "./waitForExportTaskCancelled";
7
7
  export * from "./waitForExportTaskCompleted";
8
8
  export * from "./waitForImageAvailable";
9
9
  export * from "./waitForImageExists";
10
+ export * from "./waitForImageUsageReportAvailable";
10
11
  export * from "./waitForInstanceExists";
11
12
  export * from "./waitForInstanceRunning";
12
13
  export * from "./waitForInstanceStatusOk";
@@ -0,0 +1,14 @@
1
+ import { WaiterConfiguration, WaiterResult } from "@smithy/util-waiter";
2
+ import { DescribeImageUsageReportsCommandInput } from "../commands/DescribeImageUsageReportsCommand";
3
+ import { EC2Client } from "../EC2Client";
4
+ /**
5
+ *
6
+ * @deprecated Use waitUntilImageUsageReportAvailable instead. waitForImageUsageReportAvailable does not throw error in non-success cases.
7
+ */
8
+ export declare const waitForImageUsageReportAvailable: (params: WaiterConfiguration<EC2Client>, input: DescribeImageUsageReportsCommandInput) => Promise<WaiterResult>;
9
+ /**
10
+ *
11
+ * @param params - Waiter configuration options.
12
+ * @param input - The input to DescribeImageUsageReportsCommand for polling.
13
+ */
14
+ export declare const waitUntilImageUsageReportAvailable: (params: WaiterConfiguration<EC2Client>, input: DescribeImageUsageReportsCommandInput) => Promise<WaiterResult>;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-ec2",
3
3
  "description": "AWS SDK for JavaScript Ec2 Client for Node.js, Browser and React Native",
4
- "version": "3.875.0",
4
+ "version": "3.876.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-ec2",
@@ -20,18 +20,18 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/core": "3.873.0",
24
- "@aws-sdk/credential-provider-node": "3.873.0",
23
+ "@aws-sdk/core": "3.876.0",
24
+ "@aws-sdk/credential-provider-node": "3.876.0",
25
25
  "@aws-sdk/middleware-host-header": "3.873.0",
26
- "@aws-sdk/middleware-logger": "3.873.0",
26
+ "@aws-sdk/middleware-logger": "3.876.0",
27
27
  "@aws-sdk/middleware-recursion-detection": "3.873.0",
28
28
  "@aws-sdk/middleware-sdk-ec2": "3.873.0",
29
- "@aws-sdk/middleware-user-agent": "3.873.0",
29
+ "@aws-sdk/middleware-user-agent": "3.876.0",
30
30
  "@aws-sdk/region-config-resolver": "3.873.0",
31
31
  "@aws-sdk/types": "3.862.0",
32
32
  "@aws-sdk/util-endpoints": "3.873.0",
33
33
  "@aws-sdk/util-user-agent-browser": "3.873.0",
34
- "@aws-sdk/util-user-agent-node": "3.873.0",
34
+ "@aws-sdk/util-user-agent-node": "3.876.0",
35
35
  "@smithy/config-resolver": "^4.1.5",
36
36
  "@smithy/core": "^3.8.0",
37
37
  "@smithy/fetch-http-handler": "^5.1.1",