@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
package/dist-es/EC2.js CHANGED
@@ -77,6 +77,7 @@ import { CreateFleetCommand } from "./commands/CreateFleetCommand";
77
77
  import { CreateFlowLogsCommand, } from "./commands/CreateFlowLogsCommand";
78
78
  import { CreateFpgaImageCommand, } from "./commands/CreateFpgaImageCommand";
79
79
  import { CreateImageCommand } from "./commands/CreateImageCommand";
80
+ import { CreateImageUsageReportCommand, } from "./commands/CreateImageUsageReportCommand";
80
81
  import { CreateInstanceConnectEndpointCommand, } from "./commands/CreateInstanceConnectEndpointCommand";
81
82
  import { CreateInstanceEventWindowCommand, } from "./commands/CreateInstanceEventWindowCommand";
82
83
  import { CreateInstanceExportTaskCommand, } from "./commands/CreateInstanceExportTaskCommand";
@@ -162,6 +163,7 @@ import { DeleteEgressOnlyInternetGatewayCommand, } from "./commands/DeleteEgress
162
163
  import { DeleteFleetsCommand, } from "./commands/DeleteFleetsCommand";
163
164
  import { DeleteFlowLogsCommand, } from "./commands/DeleteFlowLogsCommand";
164
165
  import { DeleteFpgaImageCommand, } from "./commands/DeleteFpgaImageCommand";
166
+ import { DeleteImageUsageReportCommand, } from "./commands/DeleteImageUsageReportCommand";
165
167
  import { DeleteInstanceConnectEndpointCommand, } from "./commands/DeleteInstanceConnectEndpointCommand";
166
168
  import { DeleteInstanceEventWindowCommand, } from "./commands/DeleteInstanceEventWindowCommand";
167
169
  import { DeleteInternetGatewayCommand, } from "./commands/DeleteInternetGatewayCommand";
@@ -288,7 +290,10 @@ import { DescribeIamInstanceProfileAssociationsCommand, } from "./commands/Descr
288
290
  import { DescribeIdentityIdFormatCommand, } from "./commands/DescribeIdentityIdFormatCommand";
289
291
  import { DescribeIdFormatCommand, } from "./commands/DescribeIdFormatCommand";
290
292
  import { DescribeImageAttributeCommand, } from "./commands/DescribeImageAttributeCommand";
293
+ import { DescribeImageReferencesCommand, } from "./commands/DescribeImageReferencesCommand";
291
294
  import { DescribeImagesCommand, } from "./commands/DescribeImagesCommand";
295
+ import { DescribeImageUsageReportEntriesCommand, } from "./commands/DescribeImageUsageReportEntriesCommand";
296
+ import { DescribeImageUsageReportsCommand, } from "./commands/DescribeImageUsageReportsCommand";
292
297
  import { DescribeImportImageTasksCommand, } from "./commands/DescribeImportImageTasksCommand";
293
298
  import { DescribeImportSnapshotTasksCommand, } from "./commands/DescribeImportSnapshotTasksCommand";
294
299
  import { DescribeInstanceAttributeCommand, } from "./commands/DescribeInstanceAttributeCommand";
@@ -768,6 +773,7 @@ const commands = {
768
773
  CreateFlowLogsCommand,
769
774
  CreateFpgaImageCommand,
770
775
  CreateImageCommand,
776
+ CreateImageUsageReportCommand,
771
777
  CreateInstanceConnectEndpointCommand,
772
778
  CreateInstanceEventWindowCommand,
773
779
  CreateInstanceExportTaskCommand,
@@ -853,6 +859,7 @@ const commands = {
853
859
  DeleteFleetsCommand,
854
860
  DeleteFlowLogsCommand,
855
861
  DeleteFpgaImageCommand,
862
+ DeleteImageUsageReportCommand,
856
863
  DeleteInstanceConnectEndpointCommand,
857
864
  DeleteInstanceEventWindowCommand,
858
865
  DeleteInternetGatewayCommand,
@@ -979,7 +986,10 @@ const commands = {
979
986
  DescribeIdentityIdFormatCommand,
980
987
  DescribeIdFormatCommand,
981
988
  DescribeImageAttributeCommand,
989
+ DescribeImageReferencesCommand,
982
990
  DescribeImagesCommand,
991
+ DescribeImageUsageReportEntriesCommand,
992
+ DescribeImageUsageReportsCommand,
983
993
  DescribeImportImageTasksCommand,
984
994
  DescribeImportSnapshotTasksCommand,
985
995
  DescribeInstanceAttributeCommand,
@@ -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_CreateImageUsageReportCommand, se_CreateImageUsageReportCommand } from "../protocols/Aws_ec2";
6
+ export { $Command };
7
+ export class CreateImageUsageReportCommand 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", "CreateImageUsageReport", {})
17
+ .n("EC2Client", "CreateImageUsageReportCommand")
18
+ .f(void 0, void 0)
19
+ .ser(se_CreateImageUsageReportCommand)
20
+ .de(de_CreateImageUsageReportCommand)
21
+ .build() {
22
+ }
@@ -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_DeleteImageUsageReportCommand, se_DeleteImageUsageReportCommand } from "../protocols/Aws_ec2";
6
+ export { $Command };
7
+ export class DeleteImageUsageReportCommand 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", "DeleteImageUsageReport", {})
17
+ .n("EC2Client", "DeleteImageUsageReportCommand")
18
+ .f(void 0, void 0)
19
+ .ser(se_DeleteImageUsageReportCommand)
20
+ .de(de_DeleteImageUsageReportCommand)
21
+ .build() {
22
+ }
@@ -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_DescribeImageReferencesCommand, se_DescribeImageReferencesCommand } from "../protocols/Aws_ec2";
6
+ export { $Command };
7
+ export class DescribeImageReferencesCommand 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", "DescribeImageReferences", {})
17
+ .n("EC2Client", "DescribeImageReferencesCommand")
18
+ .f(void 0, void 0)
19
+ .ser(se_DescribeImageReferencesCommand)
20
+ .de(de_DescribeImageReferencesCommand)
21
+ .build() {
22
+ }
@@ -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_DescribeImageUsageReportEntriesCommand, se_DescribeImageUsageReportEntriesCommand, } from "../protocols/Aws_ec2";
6
+ export { $Command };
7
+ export class DescribeImageUsageReportEntriesCommand 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", "DescribeImageUsageReportEntries", {})
17
+ .n("EC2Client", "DescribeImageUsageReportEntriesCommand")
18
+ .f(void 0, void 0)
19
+ .ser(se_DescribeImageUsageReportEntriesCommand)
20
+ .de(de_DescribeImageUsageReportEntriesCommand)
21
+ .build() {
22
+ }
@@ -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_DescribeImageUsageReportsCommand, se_DescribeImageUsageReportsCommand } from "../protocols/Aws_ec2";
6
+ export { $Command };
7
+ export class DescribeImageUsageReportsCommand 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", "DescribeImageUsageReports", {})
17
+ .n("EC2Client", "DescribeImageUsageReportsCommand")
18
+ .f(void 0, void 0)
19
+ .ser(se_DescribeImageUsageReportsCommand)
20
+ .de(de_DescribeImageUsageReportsCommand)
21
+ .build() {
22
+ }
@@ -2,7 +2,7 @@ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
4
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { GetPasswordDataResultFilterSensitiveLog, } from "../models/models_6";
5
+ import { GetPasswordDataResultFilterSensitiveLog, } from "../models/models_7";
6
6
  import { de_GetPasswordDataCommand, se_GetPasswordDataCommand } from "../protocols/Aws_ec2";
7
7
  export { $Command };
8
8
  export class GetPasswordDataCommand extends $Command
@@ -76,6 +76,7 @@ export * from "./CreateFleetCommand";
76
76
  export * from "./CreateFlowLogsCommand";
77
77
  export * from "./CreateFpgaImageCommand";
78
78
  export * from "./CreateImageCommand";
79
+ export * from "./CreateImageUsageReportCommand";
79
80
  export * from "./CreateInstanceConnectEndpointCommand";
80
81
  export * from "./CreateInstanceEventWindowCommand";
81
82
  export * from "./CreateInstanceExportTaskCommand";
@@ -161,6 +162,7 @@ export * from "./DeleteEgressOnlyInternetGatewayCommand";
161
162
  export * from "./DeleteFleetsCommand";
162
163
  export * from "./DeleteFlowLogsCommand";
163
164
  export * from "./DeleteFpgaImageCommand";
165
+ export * from "./DeleteImageUsageReportCommand";
164
166
  export * from "./DeleteInstanceConnectEndpointCommand";
165
167
  export * from "./DeleteInstanceEventWindowCommand";
166
168
  export * from "./DeleteInternetGatewayCommand";
@@ -287,6 +289,9 @@ export * from "./DescribeIamInstanceProfileAssociationsCommand";
287
289
  export * from "./DescribeIdFormatCommand";
288
290
  export * from "./DescribeIdentityIdFormatCommand";
289
291
  export * from "./DescribeImageAttributeCommand";
292
+ export * from "./DescribeImageReferencesCommand";
293
+ export * from "./DescribeImageUsageReportEntriesCommand";
294
+ export * from "./DescribeImageUsageReportsCommand";
290
295
  export * from "./DescribeImagesCommand";
291
296
  export * from "./DescribeImportImageTasksCommand";
292
297
  export * from "./DescribeImportSnapshotTasksCommand";
@@ -45,6 +45,7 @@ export const ResourceType = {
45
45
  fpga_image: "fpga-image",
46
46
  host_reservation: "host-reservation",
47
47
  image: "image",
48
+ image_usage_report: "image-usage-report",
48
49
  import_image_task: "import-image-task",
49
50
  import_snapshot_task: "import-snapshot-task",
50
51
  instance: "instance",
@@ -172,14 +172,6 @@ export const CallerRole = {
172
172
  odcr_owner: "odcr-owner",
173
173
  unused_reservation_billing_owner: "unused-reservation-billing-owner",
174
174
  };
175
- export const CapacityReservationBillingRequestStatus = {
176
- accepted: "accepted",
177
- cancelled: "cancelled",
178
- expired: "expired",
179
- pending: "pending",
180
- rejected: "rejected",
181
- revoked: "revoked",
182
- };
183
175
  export const VpnTunnelOptionsSpecificationFilterSensitiveLog = (obj) => ({
184
176
  ...obj,
185
177
  ...(obj.PreSharedKey && { PreSharedKey: SENSITIVE_STRING }),
@@ -1,4 +1,12 @@
1
1
  import { SENSITIVE_STRING } from "@smithy/smithy-client";
2
+ export const CapacityReservationBillingRequestStatus = {
3
+ accepted: "accepted",
4
+ cancelled: "cancelled",
5
+ expired: "expired",
6
+ pending: "pending",
7
+ rejected: "rejected",
8
+ revoked: "revoked",
9
+ };
2
10
  export const ClientVpnConnectionStatusCode = {
3
11
  active: "active",
4
12
  failed_to_terminate: "failed-to-terminate",
@@ -108,6 +116,17 @@ export const ImageAttributeName = {
108
116
  tpmSupport: "tpmSupport",
109
117
  uefiData: "uefiData",
110
118
  };
119
+ export const ImageReferenceResourceType = {
120
+ EC2_INSTANCE: "ec2:Instance",
121
+ EC2_LAUNCH_TEMPLATE: "ec2:LaunchTemplate",
122
+ IMAGE_BUILDER_CONTAINER_RECIPE: "imagebuilder:ContainerRecipe",
123
+ IMAGE_BUILDER_IMAGE_RECIPE: "imagebuilder:ImageRecipe",
124
+ SSM_PARAMETER: "ssm:Parameter",
125
+ };
126
+ export const ImageReferenceOptionName = {
127
+ STATE_NAME: "state-name",
128
+ VERSION_DEPTH: "version-depth",
129
+ };
111
130
  export const ArchitectureValues = {
112
131
  arm64: "arm64",
113
132
  arm64_mac: "arm64_mac",
@@ -300,46 +319,6 @@ export const NitroEnclavesSupport = {
300
319
  SUPPORTED: "supported",
301
320
  UNSUPPORTED: "unsupported",
302
321
  };
303
- export const NitroTpmSupport = {
304
- SUPPORTED: "supported",
305
- UNSUPPORTED: "unsupported",
306
- };
307
- export const PhcSupport = {
308
- SUPPORTED: "supported",
309
- UNSUPPORTED: "unsupported",
310
- };
311
- export const PlacementGroupStrategy = {
312
- cluster: "cluster",
313
- partition: "partition",
314
- spread: "spread",
315
- };
316
- export const ArchitectureType = {
317
- arm64: "arm64",
318
- arm64_mac: "arm64_mac",
319
- i386: "i386",
320
- x86_64: "x86_64",
321
- x86_64_mac: "x86_64_mac",
322
- };
323
- export const SupportedAdditionalProcessorFeature = {
324
- AMD_SEV_SNP: "amd-sev-snp",
325
- };
326
- export const RebootMigrationSupport = {
327
- SUPPORTED: "supported",
328
- UNSUPPORTED: "unsupported",
329
- };
330
- export const BootModeType = {
331
- legacy_bios: "legacy-bios",
332
- uefi: "uefi",
333
- };
334
- export const RootDeviceType = {
335
- ebs: "ebs",
336
- instance_store: "instance-store",
337
- };
338
- export const UsageClassType = {
339
- capacity_block: "capacity-block",
340
- on_demand: "on-demand",
341
- spot: "spot",
342
- };
343
322
  export const DiskImageDescriptionFilterSensitiveLog = (obj) => ({
344
323
  ...obj,
345
324
  ...(obj.ImportManifestUrl && { ImportManifestUrl: SENSITIVE_STRING }),
@@ -1,6 +1,46 @@
1
1
  import { SENSITIVE_STRING } from "@smithy/smithy-client";
2
2
  import { VerifiedAccessTrustProviderFilterSensitiveLog, } from "./models_0";
3
3
  import { LaunchTemplateVersionFilterSensitiveLog, } from "./models_2";
4
+ export const NitroTpmSupport = {
5
+ SUPPORTED: "supported",
6
+ UNSUPPORTED: "unsupported",
7
+ };
8
+ export const PhcSupport = {
9
+ SUPPORTED: "supported",
10
+ UNSUPPORTED: "unsupported",
11
+ };
12
+ export const PlacementGroupStrategy = {
13
+ cluster: "cluster",
14
+ partition: "partition",
15
+ spread: "spread",
16
+ };
17
+ export const ArchitectureType = {
18
+ arm64: "arm64",
19
+ arm64_mac: "arm64_mac",
20
+ i386: "i386",
21
+ x86_64: "x86_64",
22
+ x86_64_mac: "x86_64_mac",
23
+ };
24
+ export const SupportedAdditionalProcessorFeature = {
25
+ AMD_SEV_SNP: "amd-sev-snp",
26
+ };
27
+ export const RebootMigrationSupport = {
28
+ SUPPORTED: "supported",
29
+ UNSUPPORTED: "unsupported",
30
+ };
31
+ export const BootModeType = {
32
+ legacy_bios: "legacy-bios",
33
+ uefi: "uefi",
34
+ };
35
+ export const RootDeviceType = {
36
+ ebs: "ebs",
37
+ instance_store: "instance-store",
38
+ };
39
+ export const UsageClassType = {
40
+ capacity_block: "capacity-block",
41
+ on_demand: "on-demand",
42
+ spot: "spot",
43
+ };
4
44
  export const LockState = {
5
45
  compliance: "compliance",
6
46
  compliance_cooloff: "compliance-cooloff",
@@ -142,24 +182,6 @@ export const VpcAttributeName = {
142
182
  enableDnsSupport: "enableDnsSupport",
143
183
  enableNetworkAddressUsageMetrics: "enableNetworkAddressUsageMetrics",
144
184
  };
145
- export const VpcBlockPublicAccessExclusionsAllowed = {
146
- allowed: "allowed",
147
- not_allowed: "not-allowed",
148
- };
149
- export const InternetGatewayBlockMode = {
150
- block_bidirectional: "block-bidirectional",
151
- block_ingress: "block-ingress",
152
- off: "off",
153
- };
154
- export const ManagedBy = {
155
- account: "account",
156
- declarative_policy: "declarative-policy",
157
- };
158
- export const VpcBlockPublicAccessState = {
159
- default_state: "default-state",
160
- update_complete: "update-complete",
161
- update_in_progress: "update-in-progress",
162
- };
163
185
  export const DescribeLaunchTemplateVersionsResultFilterSensitiveLog = (obj) => ({
164
186
  ...obj,
165
187
  ...(obj.LaunchTemplateVersions && {
@@ -2,6 +2,24 @@ import { SENSITIVE_STRING } from "@smithy/smithy-client";
2
2
  import { VerifiedAccessTrustProviderFilterSensitiveLog, } from "./models_0";
3
3
  import { ResponseLaunchTemplateDataFilterSensitiveLog, } from "./models_2";
4
4
  import { VpnConnectionFilterSensitiveLog, } from "./models_3";
5
+ export const VpcBlockPublicAccessExclusionsAllowed = {
6
+ allowed: "allowed",
7
+ not_allowed: "not-allowed",
8
+ };
9
+ export const InternetGatewayBlockMode = {
10
+ block_bidirectional: "block-bidirectional",
11
+ block_ingress: "block-ingress",
12
+ off: "off",
13
+ };
14
+ export const ManagedBy = {
15
+ account: "account",
16
+ declarative_policy: "declarative-policy",
17
+ };
18
+ export const VpcBlockPublicAccessState = {
19
+ default_state: "default-state",
20
+ update_complete: "update-complete",
21
+ update_in_progress: "update-in-progress",
22
+ };
5
23
  export const ImageBlockPublicAccessDisabledState = {
6
24
  unblocked: "unblocked",
7
25
  };
@@ -116,14 +134,6 @@ export const IpamManagementState = {
116
134
  managed: "managed",
117
135
  unmanaged: "unmanaged",
118
136
  };
119
- export const RouteServerRouteInstallationStatus = {
120
- INSTALLED: "installed",
121
- REJECTED: "rejected",
122
- };
123
- export const RouteServerRouteStatus = {
124
- IN_FIB: "in-fib",
125
- IN_RIB: "in-rib",
126
- };
127
137
  export const DescribeVpnConnectionsResultFilterSensitiveLog = (obj) => ({
128
138
  ...obj,
129
139
  ...(obj.VpnConnections && {
@@ -156,7 +166,3 @@ export const GetLaunchTemplateDataResultFilterSensitiveLog = (obj) => ({
156
166
  LaunchTemplateData: ResponseLaunchTemplateDataFilterSensitiveLog(obj.LaunchTemplateData),
157
167
  }),
158
168
  });
159
- export const GetPasswordDataResultFilterSensitiveLog = (obj) => ({
160
- ...obj,
161
- ...(obj.PasswordData && { PasswordData: SENSITIVE_STRING }),
162
- });
@@ -2,6 +2,14 @@ import { SENSITIVE_STRING } from "@smithy/smithy-client";
2
2
  import { VerifiedAccessTrustProviderFilterSensitiveLog, } from "./models_0";
3
3
  import { VpnConnectionFilterSensitiveLog, } from "./models_3";
4
4
  import { ConversionTaskFilterSensitiveLog, SnapshotDetailFilterSensitiveLog, SnapshotTaskDetailFilterSensitiveLog, } from "./models_4";
5
+ export const RouteServerRouteInstallationStatus = {
6
+ INSTALLED: "installed",
7
+ REJECTED: "rejected",
8
+ };
9
+ export const RouteServerRouteStatus = {
10
+ IN_FIB: "in-fib",
11
+ IN_RIB: "in-rib",
12
+ };
5
13
  export const LockMode = {
6
14
  compliance: "compliance",
7
15
  governance: "governance",
@@ -71,6 +79,10 @@ export const VerificationMethod = {
71
79
  dns_token: "dns-token",
72
80
  remarks_x509: "remarks-x509",
73
81
  };
82
+ export const GetPasswordDataResultFilterSensitiveLog = (obj) => ({
83
+ ...obj,
84
+ ...(obj.PasswordData && { PasswordData: SENSITIVE_STRING }),
85
+ });
74
86
  export const GetVpnConnectionDeviceSampleConfigurationResultFilterSensitiveLog = (obj) => ({
75
87
  ...obj,
76
88
  ...(obj.VpnConnectionDeviceSampleConfiguration && { VpnConnectionDeviceSampleConfiguration: SENSITIVE_STRING }),
@@ -0,0 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
2
+ import { DescribeImageReferencesCommand, } from "../commands/DescribeImageReferencesCommand";
3
+ import { EC2Client } from "../EC2Client";
4
+ export const paginateDescribeImageReferences = createPaginator(EC2Client, DescribeImageReferencesCommand, "NextToken", "NextToken", "MaxResults");
@@ -0,0 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
2
+ import { DescribeImageUsageReportEntriesCommand, } from "../commands/DescribeImageUsageReportEntriesCommand";
3
+ import { EC2Client } from "../EC2Client";
4
+ export const paginateDescribeImageUsageReportEntries = createPaginator(EC2Client, DescribeImageUsageReportEntriesCommand, "NextToken", "NextToken", "MaxResults");
@@ -0,0 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
2
+ import { DescribeImageUsageReportsCommand, } from "../commands/DescribeImageUsageReportsCommand";
3
+ import { EC2Client } from "../EC2Client";
4
+ export const paginateDescribeImageUsageReports = createPaginator(EC2Client, DescribeImageUsageReportsCommand, "NextToken", "NextToken", "MaxResults");
@@ -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";