@aws-sdk/client-ec2 3.452.0 → 3.454.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 (223) hide show
  1. package/README.md +48 -0
  2. package/dist-cjs/EC2.js +12 -0
  3. package/dist-cjs/commands/AssociateIpamByoasnCommand.js +51 -0
  4. package/dist-cjs/commands/DeprovisionIpamByoasnCommand.js +51 -0
  5. package/dist-cjs/commands/DescribeImportSnapshotTasksCommand.js +2 -2
  6. package/dist-cjs/commands/DescribeIpamByoasnCommand.js +51 -0
  7. package/dist-cjs/commands/DisassociateIpamByoasnCommand.js +51 -0
  8. package/dist-cjs/commands/GetIpamDiscoveredPublicAddressesCommand.js +51 -0
  9. package/dist-cjs/commands/GetLaunchTemplateDataCommand.js +2 -2
  10. package/dist-cjs/commands/GetPasswordDataCommand.js +2 -2
  11. package/dist-cjs/commands/ProvisionIpamByoasnCommand.js +51 -0
  12. package/dist-cjs/commands/RequestSpotFleetCommand.js +2 -2
  13. package/dist-cjs/commands/index.js +6 -0
  14. package/dist-cjs/models/models_0.js +12 -8
  15. package/dist-cjs/models/models_1.js +15 -19
  16. package/dist-cjs/models/models_2.js +19 -2
  17. package/dist-cjs/models/models_3.js +9 -37
  18. package/dist-cjs/models/models_4.js +37 -2
  19. package/dist-cjs/models/models_5.js +24 -20
  20. package/dist-cjs/models/models_6.js +20 -29
  21. package/dist-cjs/models/models_7.js +29 -3
  22. package/dist-cjs/protocols/Aws_ec2.js +814 -25
  23. package/dist-es/EC2.js +12 -0
  24. package/dist-es/commands/AssociateIpamByoasnCommand.js +47 -0
  25. package/dist-es/commands/DeprovisionIpamByoasnCommand.js +47 -0
  26. package/dist-es/commands/DescribeImportSnapshotTasksCommand.js +1 -1
  27. package/dist-es/commands/DescribeIpamByoasnCommand.js +47 -0
  28. package/dist-es/commands/DisassociateIpamByoasnCommand.js +47 -0
  29. package/dist-es/commands/GetIpamDiscoveredPublicAddressesCommand.js +47 -0
  30. package/dist-es/commands/GetLaunchTemplateDataCommand.js +1 -1
  31. package/dist-es/commands/GetPasswordDataCommand.js +1 -1
  32. package/dist-es/commands/ProvisionIpamByoasnCommand.js +47 -0
  33. package/dist-es/commands/RequestSpotFleetCommand.js +1 -1
  34. package/dist-es/commands/index.js +6 -0
  35. package/dist-es/models/models_0.js +10 -6
  36. package/dist-es/models/models_1.js +13 -17
  37. package/dist-es/models/models_2.js +17 -0
  38. package/dist-es/models/models_3.js +8 -32
  39. package/dist-es/models/models_4.js +32 -0
  40. package/dist-es/models/models_5.js +23 -17
  41. package/dist-es/models/models_6.js +18 -27
  42. package/dist-es/models/models_7.js +26 -2
  43. package/dist-es/protocols/Aws_ec2.js +777 -0
  44. package/dist-types/EC2.d.ts +42 -0
  45. package/dist-types/EC2Client.d.ts +8 -2
  46. package/dist-types/commands/AdvertiseByoipCidrCommand.d.ts +9 -0
  47. package/dist-types/commands/AllocateIpamPoolCidrCommand.d.ts +4 -1
  48. package/dist-types/commands/AssociateIpamByoasnCommand.d.ts +83 -0
  49. package/dist-types/commands/AssociateSubnetCidrBlockCommand.d.ts +4 -2
  50. package/dist-types/commands/AssociateTrunkInterfaceCommand.d.ts +1 -5
  51. package/dist-types/commands/AssociateVpcCidrBlockCommand.d.ts +1 -2
  52. package/dist-types/commands/AttachVerifiedAccessTrustProviderCommand.d.ts +3 -2
  53. package/dist-types/commands/CreateCarrierGatewayCommand.d.ts +2 -1
  54. package/dist-types/commands/CreateIpamCommand.d.ts +3 -0
  55. package/dist-types/commands/CreateIpamPoolCommand.d.ts +12 -0
  56. package/dist-types/commands/CreateLaunchTemplateCommand.d.ts +5 -0
  57. package/dist-types/commands/CreateLaunchTemplateVersionCommand.d.ts +10 -0
  58. package/dist-types/commands/CreateNetworkInterfaceCommand.d.ts +12 -1
  59. package/dist-types/commands/CreateNetworkInterfacePermissionCommand.d.ts +1 -1
  60. package/dist-types/commands/CreateSubnetCommand.d.ts +6 -2
  61. package/dist-types/commands/CreateVerifiedAccessInstanceCommand.d.ts +1 -1
  62. package/dist-types/commands/CreateVerifiedAccessTrustProviderCommand.d.ts +4 -2
  63. package/dist-types/commands/CreateVpcCommand.d.ts +4 -3
  64. package/dist-types/commands/DeleteIpamCommand.d.ts +2 -0
  65. package/dist-types/commands/DeleteIpamPoolCommand.d.ts +7 -0
  66. package/dist-types/commands/DeleteNatGatewayCommand.d.ts +2 -1
  67. package/dist-types/commands/DeleteNetworkAclCommand.d.ts +1 -1
  68. package/dist-types/commands/DeleteNetworkAclEntryCommand.d.ts +1 -1
  69. package/dist-types/commands/DeleteNetworkInsightsAccessScopeAnalysisCommand.d.ts +1 -1
  70. package/dist-types/commands/DeleteNetworkInsightsAccessScopeCommand.d.ts +1 -1
  71. package/dist-types/commands/DeleteNetworkInsightsAnalysisCommand.d.ts +1 -1
  72. package/dist-types/commands/DeleteNetworkInsightsPathCommand.d.ts +1 -1
  73. package/dist-types/commands/DeleteVerifiedAccessInstanceCommand.d.ts +1 -1
  74. package/dist-types/commands/DeleteVerifiedAccessTrustProviderCommand.d.ts +2 -1
  75. package/dist-types/commands/DeprovisionByoipCidrCommand.d.ts +8 -0
  76. package/dist-types/commands/DeprovisionIpamByoasnCommand.d.ts +81 -0
  77. package/dist-types/commands/DescribeByoipCidrsCommand.d.ts +8 -0
  78. package/dist-types/commands/DescribeImportSnapshotTasksCommand.d.ts +2 -1
  79. package/dist-types/commands/DescribeInstanceAttributeCommand.d.ts +1 -1
  80. package/dist-types/commands/DescribeInstanceConnectEndpointsCommand.d.ts +1 -1
  81. package/dist-types/commands/DescribeInstanceCreditSpecificationsCommand.d.ts +1 -1
  82. package/dist-types/commands/DescribeInstancesCommand.d.ts +5 -0
  83. package/dist-types/commands/DescribeIpamByoasnCommand.d.ts +83 -0
  84. package/dist-types/commands/DescribeIpamPoolsCommand.d.ts +6 -0
  85. package/dist-types/commands/DescribeIpamsCommand.d.ts +2 -0
  86. package/dist-types/commands/DescribeLaunchTemplateVersionsCommand.d.ts +5 -0
  87. package/dist-types/commands/DescribeNetworkInterfacesCommand.d.ts +5 -0
  88. package/dist-types/commands/DescribeSpotFleetRequestsCommand.d.ts +5 -0
  89. package/dist-types/commands/DescribeSpotInstanceRequestsCommand.d.ts +5 -0
  90. package/dist-types/commands/DescribeTagsCommand.d.ts +1 -1
  91. package/dist-types/commands/DescribeTrafficMirrorFiltersCommand.d.ts +1 -1
  92. package/dist-types/commands/DescribeTrafficMirrorSessionsCommand.d.ts +1 -1
  93. package/dist-types/commands/DescribeTrafficMirrorTargetsCommand.d.ts +1 -1
  94. package/dist-types/commands/DescribeTransitGatewayAttachmentsCommand.d.ts +1 -1
  95. package/dist-types/commands/DescribeTransitGatewayConnectPeersCommand.d.ts +1 -1
  96. package/dist-types/commands/DescribeTransitGatewayConnectsCommand.d.ts +1 -1
  97. package/dist-types/commands/DescribeTransitGatewayMulticastDomainsCommand.d.ts +1 -2
  98. package/dist-types/commands/DescribeTrunkInterfaceAssociationsCommand.d.ts +1 -5
  99. package/dist-types/commands/DescribeVerifiedAccessInstancesCommand.d.ts +1 -1
  100. package/dist-types/commands/DescribeVerifiedAccessTrustProvidersCommand.d.ts +2 -1
  101. package/dist-types/commands/DetachVerifiedAccessTrustProviderCommand.d.ts +3 -2
  102. package/dist-types/commands/DisassociateIpamByoasnCommand.d.ts +81 -0
  103. package/dist-types/commands/DisassociateTrunkInterfaceCommand.d.ts +1 -5
  104. package/dist-types/commands/GetIpamDiscoveredPublicAddressesCommand.d.ts +121 -0
  105. package/dist-types/commands/GetIpamDiscoveredResourceCidrsCommand.d.ts +1 -1
  106. package/dist-types/commands/GetIpamPoolAllocationsCommand.d.ts +1 -1
  107. package/dist-types/commands/GetIpamResourceCidrsCommand.d.ts +3 -3
  108. package/dist-types/commands/GetLaunchTemplateDataCommand.d.ts +6 -1
  109. package/dist-types/commands/GetManagedPrefixListAssociationsCommand.d.ts +1 -1
  110. package/dist-types/commands/GetManagedPrefixListEntriesCommand.d.ts +1 -1
  111. package/dist-types/commands/GetNetworkInsightsAccessScopeAnalysisFindingsCommand.d.ts +1 -1
  112. package/dist-types/commands/GetNetworkInsightsAccessScopeContentCommand.d.ts +1 -1
  113. package/dist-types/commands/GetPasswordDataCommand.d.ts +1 -1
  114. package/dist-types/commands/GetReservedInstancesExchangeQuoteCommand.d.ts +1 -1
  115. package/dist-types/commands/GetSecurityGroupsForVpcCommand.d.ts +1 -1
  116. package/dist-types/commands/GetSerialConsoleAccessStatusCommand.d.ts +1 -1
  117. package/dist-types/commands/ModifyIpamCommand.d.ts +3 -0
  118. package/dist-types/commands/ModifyIpamPoolCommand.d.ts +6 -0
  119. package/dist-types/commands/ModifyIpamResourceCidrCommand.d.ts +1 -1
  120. package/dist-types/commands/ModifyNetworkInterfaceAttributeCommand.d.ts +5 -0
  121. package/dist-types/commands/ModifyVerifiedAccessInstanceCommand.d.ts +1 -1
  122. package/dist-types/commands/ModifyVerifiedAccessTrustProviderCommand.d.ts +5 -1
  123. package/dist-types/commands/MoveByoipCidrToIpamCommand.d.ts +8 -0
  124. package/dist-types/commands/ProvisionByoipCidrCommand.d.ts +8 -0
  125. package/dist-types/commands/ProvisionIpamByoasnCommand.d.ts +84 -0
  126. package/dist-types/commands/RejectTransitGatewayMulticastDomainAssociationsCommand.d.ts +1 -1
  127. package/dist-types/commands/RejectTransitGatewayPeeringAttachmentCommand.d.ts +1 -1
  128. package/dist-types/commands/RejectTransitGatewayVpcAttachmentCommand.d.ts +1 -1
  129. package/dist-types/commands/RejectVpcEndpointConnectionsCommand.d.ts +1 -1
  130. package/dist-types/commands/RejectVpcPeeringConnectionCommand.d.ts +1 -1
  131. package/dist-types/commands/ReleaseAddressCommand.d.ts +1 -1
  132. package/dist-types/commands/ReleaseHostsCommand.d.ts +1 -1
  133. package/dist-types/commands/ReleaseIpamPoolAllocationCommand.d.ts +1 -1
  134. package/dist-types/commands/ReplaceIamInstanceProfileAssociationCommand.d.ts +1 -1
  135. package/dist-types/commands/ReplaceNetworkAclAssociationCommand.d.ts +1 -1
  136. package/dist-types/commands/ReplaceNetworkAclEntryCommand.d.ts +1 -1
  137. package/dist-types/commands/ReplaceRouteCommand.d.ts +1 -1
  138. package/dist-types/commands/ReplaceRouteTableAssociationCommand.d.ts +1 -1
  139. package/dist-types/commands/ReplaceTransitGatewayRouteCommand.d.ts +1 -1
  140. package/dist-types/commands/ReplaceVpnTunnelCommand.d.ts +1 -1
  141. package/dist-types/commands/ReportInstanceStatusCommand.d.ts +1 -1
  142. package/dist-types/commands/RequestSpotFleetCommand.d.ts +6 -1
  143. package/dist-types/commands/RequestSpotInstancesCommand.d.ts +10 -0
  144. package/dist-types/commands/RunInstancesCommand.d.ts +10 -0
  145. package/dist-types/commands/WithdrawByoipCidrCommand.d.ts +8 -0
  146. package/dist-types/commands/index.d.ts +6 -0
  147. package/dist-types/models/models_0.d.ts +113 -75
  148. package/dist-types/models/models_1.d.ts +267 -331
  149. package/dist-types/models/models_2.d.ts +374 -167
  150. package/dist-types/models/models_3.d.ts +243 -504
  151. package/dist-types/models/models_4.d.ts +1058 -1143
  152. package/dist-types/models/models_5.d.ts +4030 -3824
  153. package/dist-types/models/models_6.d.ts +4384 -4392
  154. package/dist-types/models/models_7.d.ts +826 -5
  155. package/dist-types/protocols/Aws_ec2.d.ts +54 -0
  156. package/dist-types/ts3.4/EC2.d.ts +102 -0
  157. package/dist-types/ts3.4/EC2Client.d.ts +36 -0
  158. package/dist-types/ts3.4/commands/AssociateIpamByoasnCommand.d.ts +39 -0
  159. package/dist-types/ts3.4/commands/CreateCarrierGatewayCommand.d.ts +2 -4
  160. package/dist-types/ts3.4/commands/CreateNetworkInterfaceCommand.d.ts +2 -4
  161. package/dist-types/ts3.4/commands/CreateNetworkInterfacePermissionCommand.d.ts +1 -1
  162. package/dist-types/ts3.4/commands/DeleteNatGatewayCommand.d.ts +2 -4
  163. package/dist-types/ts3.4/commands/DeleteNetworkAclCommand.d.ts +1 -1
  164. package/dist-types/ts3.4/commands/DeleteNetworkAclEntryCommand.d.ts +1 -1
  165. package/dist-types/ts3.4/commands/DeleteNetworkInsightsAccessScopeAnalysisCommand.d.ts +1 -1
  166. package/dist-types/ts3.4/commands/DeleteNetworkInsightsAccessScopeCommand.d.ts +1 -1
  167. package/dist-types/ts3.4/commands/DeleteNetworkInsightsAnalysisCommand.d.ts +1 -1
  168. package/dist-types/ts3.4/commands/DeleteNetworkInsightsPathCommand.d.ts +1 -1
  169. package/dist-types/ts3.4/commands/DeprovisionIpamByoasnCommand.d.ts +42 -0
  170. package/dist-types/ts3.4/commands/DescribeImportSnapshotTasksCommand.d.ts +2 -4
  171. package/dist-types/ts3.4/commands/DescribeInstanceAttributeCommand.d.ts +1 -1
  172. package/dist-types/ts3.4/commands/DescribeInstanceConnectEndpointsCommand.d.ts +1 -1
  173. package/dist-types/ts3.4/commands/DescribeInstanceCreditSpecificationsCommand.d.ts +1 -1
  174. package/dist-types/ts3.4/commands/DescribeIpamByoasnCommand.d.ts +39 -0
  175. package/dist-types/ts3.4/commands/DescribeTagsCommand.d.ts +1 -1
  176. package/dist-types/ts3.4/commands/DescribeTrafficMirrorFiltersCommand.d.ts +1 -1
  177. package/dist-types/ts3.4/commands/DescribeTrafficMirrorSessionsCommand.d.ts +1 -1
  178. package/dist-types/ts3.4/commands/DescribeTrafficMirrorTargetsCommand.d.ts +1 -1
  179. package/dist-types/ts3.4/commands/DescribeTransitGatewayAttachmentsCommand.d.ts +1 -1
  180. package/dist-types/ts3.4/commands/DescribeTransitGatewayConnectPeersCommand.d.ts +1 -1
  181. package/dist-types/ts3.4/commands/DescribeTransitGatewayConnectsCommand.d.ts +1 -1
  182. package/dist-types/ts3.4/commands/DescribeTransitGatewayMulticastDomainsCommand.d.ts +4 -2
  183. package/dist-types/ts3.4/commands/DisassociateIpamByoasnCommand.d.ts +42 -0
  184. package/dist-types/ts3.4/commands/GetIpamDiscoveredPublicAddressesCommand.d.ts +42 -0
  185. package/dist-types/ts3.4/commands/GetIpamResourceCidrsCommand.d.ts +1 -1
  186. package/dist-types/ts3.4/commands/GetLaunchTemplateDataCommand.d.ts +1 -1
  187. package/dist-types/ts3.4/commands/GetManagedPrefixListAssociationsCommand.d.ts +1 -1
  188. package/dist-types/ts3.4/commands/GetManagedPrefixListEntriesCommand.d.ts +1 -1
  189. package/dist-types/ts3.4/commands/GetNetworkInsightsAccessScopeAnalysisFindingsCommand.d.ts +1 -1
  190. package/dist-types/ts3.4/commands/GetNetworkInsightsAccessScopeContentCommand.d.ts +1 -1
  191. package/dist-types/ts3.4/commands/GetPasswordDataCommand.d.ts +1 -1
  192. package/dist-types/ts3.4/commands/GetReservedInstancesExchangeQuoteCommand.d.ts +1 -1
  193. package/dist-types/ts3.4/commands/GetSecurityGroupsForVpcCommand.d.ts +1 -1
  194. package/dist-types/ts3.4/commands/GetSerialConsoleAccessStatusCommand.d.ts +1 -1
  195. package/dist-types/ts3.4/commands/ProvisionIpamByoasnCommand.d.ts +39 -0
  196. package/dist-types/ts3.4/commands/RejectTransitGatewayMulticastDomainAssociationsCommand.d.ts +1 -1
  197. package/dist-types/ts3.4/commands/RejectTransitGatewayPeeringAttachmentCommand.d.ts +1 -1
  198. package/dist-types/ts3.4/commands/RejectTransitGatewayVpcAttachmentCommand.d.ts +1 -1
  199. package/dist-types/ts3.4/commands/RejectVpcEndpointConnectionsCommand.d.ts +1 -1
  200. package/dist-types/ts3.4/commands/RejectVpcPeeringConnectionCommand.d.ts +1 -1
  201. package/dist-types/ts3.4/commands/ReleaseAddressCommand.d.ts +1 -1
  202. package/dist-types/ts3.4/commands/ReleaseHostsCommand.d.ts +1 -1
  203. package/dist-types/ts3.4/commands/ReleaseIpamPoolAllocationCommand.d.ts +1 -1
  204. package/dist-types/ts3.4/commands/ReplaceIamInstanceProfileAssociationCommand.d.ts +1 -1
  205. package/dist-types/ts3.4/commands/ReplaceNetworkAclAssociationCommand.d.ts +1 -1
  206. package/dist-types/ts3.4/commands/ReplaceNetworkAclEntryCommand.d.ts +1 -1
  207. package/dist-types/ts3.4/commands/ReplaceRouteCommand.d.ts +1 -1
  208. package/dist-types/ts3.4/commands/ReplaceRouteTableAssociationCommand.d.ts +1 -1
  209. package/dist-types/ts3.4/commands/ReplaceTransitGatewayRouteCommand.d.ts +1 -1
  210. package/dist-types/ts3.4/commands/ReplaceVpnTunnelCommand.d.ts +1 -1
  211. package/dist-types/ts3.4/commands/ReportInstanceStatusCommand.d.ts +1 -1
  212. package/dist-types/ts3.4/commands/RequestSpotFleetCommand.d.ts +1 -1
  213. package/dist-types/ts3.4/commands/index.d.ts +6 -0
  214. package/dist-types/ts3.4/models/models_0.d.ts +33 -22
  215. package/dist-types/ts3.4/models/models_1.d.ts +66 -88
  216. package/dist-types/ts3.4/models/models_2.d.ts +101 -42
  217. package/dist-types/ts3.4/models/models_3.d.ts +65 -121
  218. package/dist-types/ts3.4/models/models_4.d.ts +141 -119
  219. package/dist-types/ts3.4/models/models_5.d.ts +197 -175
  220. package/dist-types/ts3.4/models/models_6.d.ts +202 -210
  221. package/dist-types/ts3.4/models/models_7.d.ts +206 -6
  222. package/dist-types/ts3.4/protocols/Aws_ec2.d.ts +72 -0
  223. package/package.json +2 -2
@@ -1,11 +1,147 @@
1
- import { _InstanceType, ActiveInstance, ActivityStatus, AllocationStrategy, AlternatePathHint, AttachmentStatus, BatchState, CurrencyCodeValues, Explanation, IamInstanceProfile, IamInstanceProfileSpecification, InstanceEventWindow, IpamResourceDiscoveryAssociation, IpPermission, PathComponent, ReservedInstancesListing, ResourceType, SecurityGroupRule, Tag, TagSpecification, TransitGatewayAssociationState, TransitGatewayAttachmentResourceType, TransitGatewayAttachmentState, UserIdGroupPair } from "./models_0";
2
- import { AmdSevSnpSpecification, AttributeValue, BlockDeviceMapping, CapacityReservationPreference, CapacityReservationTargetResponse, EnaSrdSpecificationRequest, FleetLaunchTemplateSpecification, FleetType, GroupIdentifier, HostnameType, InstanceInterruptionBehavior, InstanceIpv6Address, InstanceRequirements, InternetGateway, Ipam, IpamPool, IpamResourceDiscovery, IpamScope, Ipv4PrefixSpecificationRequest, Ipv6PrefixSpecificationRequest, KeyType, LaunchTemplate, LaunchTemplateVersion, LocalGatewayRouteTable, LocalGatewayRouteTableVirtualInterfaceGroupAssociation, LocalGatewayRouteTableVpcAssociation, ManagedPrefixList, NatGateway, NetworkAcl, NetworkInsightsAccessScope, NetworkInsightsPath, NetworkInterface, NetworkInterfaceAttachment, NetworkInterfacePermission, NetworkInterfaceStatus, Placement, PlatformValues, PrivateIpAddressSpecification, SpotInstanceType, StateReason, Subnet, TargetCapacityUnitType, Tenancy } from "./models_1";
3
- import { PlacementGroup, ReplaceRootVolumeTask, RouteTable, Snapshot, SnapshotState, SpotDatafeedSubscription, SpotInstanceStateFault, StorageTier, TrafficMirrorFilter, TrafficMirrorSession, TrafficMirrorTarget, TransitGatewayConnect, TransitGatewayConnectPeer } from "./models_2";
4
- import { ArchitectureValues, AttributeBooleanValue, BootModeValues, DeviceType, EnclaveOptions, EventInformation, Filter, HypervisorType, IdFormat, InstanceBlockDeviceMapping, InstanceTagNotificationAttribute, PermissionGroup, ProductCode, VirtualizationType } from "./models_3";
1
+ import { _InstanceType, ActiveInstance, ActivityStatus, AllocationStrategy, AlternatePathHint, AttachmentStatus, BatchState, CurrencyCodeValues, Explanation, IamInstanceProfile, IamInstanceProfileSpecification, InstanceEventWindow, IpamResourceDiscoveryAssociation, IpPermission, PathComponent, ReservedInstancesListing, ResourceType, SecurityGroupRule, Tag, TagSpecification, UserIdGroupPair } from "./models_0";
2
+ import { AmdSevSnpSpecification, AttributeValue, BlockDeviceMapping, CapacityReservationPreference, CapacityReservationTargetResponse, ConnectionTrackingSpecificationRequest, Ec2InstanceConnectEndpoint, EnaSrdSpecificationRequest, FleetLaunchTemplateSpecification, FleetType, GroupIdentifier, HostnameType, InstanceInterruptionBehavior, InstanceIpv6Address, InstanceRequirements, InternetGateway, Ipam, IpamPool, IpamResourceDiscovery, IpamScope, Ipv4PrefixSpecificationRequest, Ipv6PrefixSpecificationRequest, KeyType, LaunchTemplate, LaunchTemplateVersion, LocalGatewayRouteTable, LocalGatewayRouteTableVirtualInterfaceGroupAssociation, LocalGatewayRouteTableVpcAssociation, ManagedPrefixList, NatGateway, NetworkAcl, NetworkInsightsAccessScope, NetworkInsightsPath, NetworkInterfaceAttachment, Placement, PlatformValues, PrivateIpAddressSpecification, SpotInstanceType, StateReason, Subnet, TargetCapacityUnitType, Tenancy } from "./models_1";
3
+ import { NetworkInterface, NetworkInterfacePermission, NetworkInterfaceStatus, PlacementGroup, ReplaceRootVolumeTask, RouteTable, Snapshot, SnapshotState, SpotDatafeedSubscription, SpotInstanceStateFault, StorageTier } from "./models_2";
4
+ import { ArchitectureValues, BootModeValues, Byoasn, DeviceType, EventInformation, Filter, HypervisorType, IdFormat, InstanceTagNotificationAttribute, PermissionGroup, ProductCode, UserBucketDetails, VirtualizationType } from "./models_3";
5
5
  /**
6
6
  * @public
7
+ * <p>Details about the import snapshot task.</p>
7
8
  */
8
- export interface DescribeInstanceEventNotificationAttributesRequest {
9
+ export interface SnapshotTaskDetail {
10
+ /**
11
+ * @public
12
+ * <p>The description of the snapshot.</p>
13
+ */
14
+ Description?: string;
15
+ /**
16
+ * @public
17
+ * <p>The size of the disk in the snapshot, in GiB.</p>
18
+ */
19
+ DiskImageSize?: number;
20
+ /**
21
+ * @public
22
+ * <p>Indicates whether the snapshot is encrypted.</p>
23
+ */
24
+ Encrypted?: boolean;
25
+ /**
26
+ * @public
27
+ * <p>The format of the disk image from which the snapshot is created.</p>
28
+ */
29
+ Format?: string;
30
+ /**
31
+ * @public
32
+ * <p>The identifier for the KMS key that was used to create the encrypted snapshot.</p>
33
+ */
34
+ KmsKeyId?: string;
35
+ /**
36
+ * @public
37
+ * <p>The percentage of completion for the import snapshot task.</p>
38
+ */
39
+ Progress?: string;
40
+ /**
41
+ * @public
42
+ * <p>The snapshot ID of the disk being imported.</p>
43
+ */
44
+ SnapshotId?: string;
45
+ /**
46
+ * @public
47
+ * <p>A brief status for the import snapshot task.</p>
48
+ */
49
+ Status?: string;
50
+ /**
51
+ * @public
52
+ * <p>A detailed status message for the import snapshot task.</p>
53
+ */
54
+ StatusMessage?: string;
55
+ /**
56
+ * @public
57
+ * <p>The URL of the disk image from which the snapshot is created.</p>
58
+ */
59
+ Url?: string;
60
+ /**
61
+ * @public
62
+ * <p>The Amazon S3 bucket for the disk image.</p>
63
+ */
64
+ UserBucket?: UserBucketDetails;
65
+ }
66
+ /**
67
+ * @public
68
+ * <p>Describes an import snapshot task.</p>
69
+ */
70
+ export interface ImportSnapshotTask {
71
+ /**
72
+ * @public
73
+ * <p>A description of the import snapshot task.</p>
74
+ */
75
+ Description?: string;
76
+ /**
77
+ * @public
78
+ * <p>The ID of the import snapshot task.</p>
79
+ */
80
+ ImportTaskId?: string;
81
+ /**
82
+ * @public
83
+ * <p>Describes an import snapshot task.</p>
84
+ */
85
+ SnapshotTaskDetail?: SnapshotTaskDetail;
86
+ /**
87
+ * @public
88
+ * <p>The tags for the import snapshot task.</p>
89
+ */
90
+ Tags?: Tag[];
91
+ }
92
+ /**
93
+ * @public
94
+ */
95
+ export interface DescribeImportSnapshotTasksResult {
96
+ /**
97
+ * @public
98
+ * <p>A list of zero or more import snapshot tasks that are currently active or were completed or canceled in the
99
+ * previous 7 days.</p>
100
+ */
101
+ ImportSnapshotTasks?: ImportSnapshotTask[];
102
+ /**
103
+ * @public
104
+ * <p>The token to use to get the next page of results. This value is <code>null</code> when there are no more results
105
+ * to return.</p>
106
+ */
107
+ NextToken?: string;
108
+ }
109
+ /**
110
+ * @public
111
+ * @enum
112
+ */
113
+ export declare const InstanceAttributeName: {
114
+ readonly blockDeviceMapping: "blockDeviceMapping";
115
+ readonly disableApiStop: "disableApiStop";
116
+ readonly disableApiTermination: "disableApiTermination";
117
+ readonly ebsOptimized: "ebsOptimized";
118
+ readonly enaSupport: "enaSupport";
119
+ readonly enclaveOptions: "enclaveOptions";
120
+ readonly groupSet: "groupSet";
121
+ readonly instanceInitiatedShutdownBehavior: "instanceInitiatedShutdownBehavior";
122
+ readonly instanceType: "instanceType";
123
+ readonly kernel: "kernel";
124
+ readonly productCodes: "productCodes";
125
+ readonly ramdisk: "ramdisk";
126
+ readonly rootDeviceName: "rootDeviceName";
127
+ readonly sourceDestCheck: "sourceDestCheck";
128
+ readonly sriovNetSupport: "sriovNetSupport";
129
+ readonly userData: "userData";
130
+ };
131
+ /**
132
+ * @public
133
+ */
134
+ export type InstanceAttributeName = (typeof InstanceAttributeName)[keyof typeof InstanceAttributeName];
135
+ /**
136
+ * @public
137
+ */
138
+ export interface DescribeInstanceAttributeRequest {
139
+ /**
140
+ * @public
141
+ * <p>The instance attribute.</p>
142
+ * <p>Note: The <code>enaSupport</code> attribute is not supported at this time.</p>
143
+ */
144
+ Attribute: InstanceAttributeName | undefined;
9
145
  /**
10
146
  * @public
11
147
  * <p>Checks whether you have the required permissions for the action, without actually making the request,
@@ -13,104 +149,453 @@ export interface DescribeInstanceEventNotificationAttributesRequest {
13
149
  * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
14
150
  */
15
151
  DryRun?: boolean;
152
+ /**
153
+ * @public
154
+ * <p>The ID of the instance.</p>
155
+ */
156
+ InstanceId: string | undefined;
16
157
  }
17
158
  /**
18
159
  * @public
160
+ * <p>Describes a parameter used to set up an EBS volume in a block device mapping.</p>
19
161
  */
20
- export interface DescribeInstanceEventNotificationAttributesResult {
162
+ export interface EbsInstanceBlockDevice {
21
163
  /**
22
164
  * @public
23
- * <p>Information about the registered tag keys.</p>
165
+ * <p>The time stamp when the attachment initiated.</p>
24
166
  */
25
- InstanceTagAttribute?: InstanceTagNotificationAttribute;
167
+ AttachTime?: Date;
168
+ /**
169
+ * @public
170
+ * <p>Indicates whether the volume is deleted on instance termination.</p>
171
+ */
172
+ DeleteOnTermination?: boolean;
173
+ /**
174
+ * @public
175
+ * <p>The attachment state.</p>
176
+ */
177
+ Status?: AttachmentStatus;
178
+ /**
179
+ * @public
180
+ * <p>The ID of the EBS volume.</p>
181
+ */
182
+ VolumeId?: string;
26
183
  }
27
184
  /**
28
185
  * @public
29
- * <para>Describe instance event windows by InstanceEventWindow.</para>
186
+ * <p>Describes a block device mapping.</p>
30
187
  */
31
- export interface DescribeInstanceEventWindowsRequest {
188
+ export interface InstanceBlockDeviceMapping {
189
+ /**
190
+ * @public
191
+ * <p>The device name (for example, <code>/dev/sdh</code> or <code>xvdh</code>).</p>
192
+ */
193
+ DeviceName?: string;
194
+ /**
195
+ * @public
196
+ * <p>Parameters used to automatically set up EBS volumes when the instance is
197
+ * launched.</p>
198
+ */
199
+ Ebs?: EbsInstanceBlockDevice;
200
+ }
201
+ /**
202
+ * @public
203
+ * <p>Describes a value for a resource attribute that is a Boolean value.</p>
204
+ */
205
+ export interface AttributeBooleanValue {
206
+ /**
207
+ * @public
208
+ * <p>The attribute value. The valid values are <code>true</code> or <code>false</code>.</p>
209
+ */
210
+ Value?: boolean;
211
+ }
212
+ /**
213
+ * @public
214
+ * <p>Indicates whether the instance is enabled for Amazon Web Services Nitro
215
+ * Enclaves.</p>
216
+ */
217
+ export interface EnclaveOptions {
218
+ /**
219
+ * @public
220
+ * <p>If this parameter is set to <code>true</code>, the instance is enabled for Amazon Web Services Nitro Enclaves; otherwise, it is not enabled for Amazon Web Services Nitro
221
+ * Enclaves.</p>
222
+ */
223
+ Enabled?: boolean;
224
+ }
225
+ /**
226
+ * @public
227
+ * <p>Describes an instance attribute.</p>
228
+ */
229
+ export interface InstanceAttribute {
230
+ /**
231
+ * @public
232
+ * <p>The security groups associated with the instance.</p>
233
+ */
234
+ Groups?: GroupIdentifier[];
235
+ /**
236
+ * @public
237
+ * <p>The block device mapping of the instance.</p>
238
+ */
239
+ BlockDeviceMappings?: InstanceBlockDeviceMapping[];
240
+ /**
241
+ * @public
242
+ * <p>If the value is <code>true</code>, you can't terminate the instance through the Amazon
243
+ * EC2 console, CLI, or API; otherwise, you can.</p>
244
+ */
245
+ DisableApiTermination?: AttributeBooleanValue;
246
+ /**
247
+ * @public
248
+ * <p>Indicates whether enhanced networking with ENA is enabled.</p>
249
+ */
250
+ EnaSupport?: AttributeBooleanValue;
251
+ /**
252
+ * @public
253
+ * <p>To enable the instance for Amazon Web Services Nitro Enclaves, set this parameter to
254
+ * <code>true</code>; otherwise, set it to <code>false</code>.</p>
255
+ */
256
+ EnclaveOptions?: EnclaveOptions;
257
+ /**
258
+ * @public
259
+ * <p>Indicates whether the instance is optimized for Amazon EBS I/O.</p>
260
+ */
261
+ EbsOptimized?: AttributeBooleanValue;
262
+ /**
263
+ * @public
264
+ * <p>The ID of the instance.</p>
265
+ */
266
+ InstanceId?: string;
267
+ /**
268
+ * @public
269
+ * <p>Indicates whether an instance stops or terminates when you initiate shutdown from the
270
+ * instance (using the operating system command for system shutdown).</p>
271
+ */
272
+ InstanceInitiatedShutdownBehavior?: AttributeValue;
273
+ /**
274
+ * @public
275
+ * <p>The instance type.</p>
276
+ */
277
+ InstanceType?: AttributeValue;
278
+ /**
279
+ * @public
280
+ * <p>The kernel ID.</p>
281
+ */
282
+ KernelId?: AttributeValue;
283
+ /**
284
+ * @public
285
+ * <p>A list of product codes.</p>
286
+ */
287
+ ProductCodes?: ProductCode[];
288
+ /**
289
+ * @public
290
+ * <p>The RAM disk ID.</p>
291
+ */
292
+ RamdiskId?: AttributeValue;
293
+ /**
294
+ * @public
295
+ * <p>The device name of the root device volume (for example,
296
+ * <code>/dev/sda1</code>).</p>
297
+ */
298
+ RootDeviceName?: AttributeValue;
299
+ /**
300
+ * @public
301
+ * <p>Enable or disable source/destination checks, which ensure that the instance is either
302
+ * the source or the destination of any traffic that it receives. If the value is
303
+ * <code>true</code>, source/destination checks are enabled; otherwise, they are
304
+ * disabled. The default value is <code>true</code>. You must disable source/destination
305
+ * checks if the instance runs services such as network address translation, routing, or
306
+ * firewalls.</p>
307
+ */
308
+ SourceDestCheck?: AttributeBooleanValue;
309
+ /**
310
+ * @public
311
+ * <p>Indicates whether enhanced networking with the Intel 82599 Virtual Function interface
312
+ * is enabled.</p>
313
+ */
314
+ SriovNetSupport?: AttributeValue;
315
+ /**
316
+ * @public
317
+ * <p>The user data.</p>
318
+ */
319
+ UserData?: AttributeValue;
320
+ /**
321
+ * @public
322
+ * <p>To enable the instance for Amazon Web Services Stop Protection, set this parameter to
323
+ * <code>true</code>; otherwise, set it to <code>false</code>.</p>
324
+ */
325
+ DisableApiStop?: AttributeBooleanValue;
326
+ }
327
+ /**
328
+ * @public
329
+ */
330
+ export interface DescribeInstanceConnectEndpointsRequest {
32
331
  /**
33
332
  * @public
34
333
  * <p>Checks whether you have the required permissions for the action, without actually making the request,
35
- * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
36
- * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
334
+ * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
335
+ * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
37
336
  */
38
337
  DryRun?: boolean;
39
338
  /**
40
339
  * @public
41
- * <p>The IDs of the event windows.</p>
340
+ * <p>The maximum number of items to return for this request.
341
+ * To get the next page of items, make another request with the token returned in the output.
342
+ * For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination">Pagination</a>.</p>
42
343
  */
43
- InstanceEventWindowIds?: string[];
344
+ MaxResults?: number;
345
+ /**
346
+ * @public
347
+ * <p>The token returned from a previous paginated request. Pagination continues from the end of the items returned by the previous request.</p>
348
+ */
349
+ NextToken?: string;
44
350
  /**
45
351
  * @public
46
352
  * <p>One or more filters.</p>
47
353
  * <ul>
48
354
  * <li>
49
355
  * <p>
50
- * <code>dedicated-host-id</code> - The event windows associated with the specified
51
- * Dedicated Host ID.</p>
52
- * </li>
53
- * <li>
54
- * <p>
55
- * <code>event-window-name</code> - The event windows associated with the specified
56
- * names. </p>
57
- * </li>
58
- * <li>
59
- * <p>
60
- * <code>instance-id</code> - The event windows associated with the specified instance
61
- * ID.</p>
356
+ * <code>instance-connect-endpoint-id</code> - The ID of the EC2 Instance Connect Endpoint.</p>
62
357
  * </li>
63
358
  * <li>
64
359
  * <p>
65
- * <code>instance-tag</code> - The event windows associated with the specified tag and
66
- * value.</p>
360
+ * <code>state</code> - The state of the EC2 Instance Connect Endpoint (<code>create-in-progress</code> | <code>create-complete</code> | <code>create-failed</code> |
361
+ * <code>delete-in-progress</code> | <code>delete-complete</code> | <code>delete-failed</code>).</p>
67
362
  * </li>
68
363
  * <li>
69
364
  * <p>
70
- * <code>instance-tag-key</code> - The event windows associated with the specified tag
71
- * key, regardless of the value.</p>
365
+ * <code>subnet-id</code> - The ID of the subnet in which the EC2 Instance
366
+ * Connect Endpoint was created.</p>
72
367
  * </li>
73
368
  * <li>
74
369
  * <p>
75
- * <code>instance-tag-value</code> - The event windows associated with the specified tag
76
- * value, regardless of the key.</p>
370
+ * <code>tag</code>:<key> - The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value.
371
+ * For example, to find all resources that have a tag with the key <code>Owner</code> and the value <code>TeamA</code>, specify <code>tag:Owner</code> for the filter name and <code>TeamA</code> for the filter value.</p>
77
372
  * </li>
78
373
  * <li>
79
374
  * <p>
80
- * <code>tag:<key></code> - The key/value combination of a tag assigned to the
81
- * event window. Use the tag key in the filter name and the tag value as the filter
82
- * value. For example, to find all resources that have a tag with the key
83
- * <code>Owner</code> and the value <code>CMX</code>, specify <code>tag:Owner</code>
84
- * for the filter name and <code>CMX</code> for the filter value. </p>
375
+ * <code>tag-key</code> - The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value.</p>
85
376
  * </li>
86
377
  * <li>
87
378
  * <p>
88
- * <code>tag-key</code> - The key of a tag assigned to the event window. Use this filter
89
- * to find all event windows that have a tag with a specific key, regardless of the tag
90
- * value. </p>
379
+ * <code>tag-value</code> - The value of a tag assigned to the resource. Use this filter to find all resources
380
+ * that have a tag with a specific value, regardless of tag key.</p>
91
381
  * </li>
92
382
  * <li>
93
383
  * <p>
94
- * <code>tag-value</code> - The value of a tag assigned to the event window. Use this
95
- * filter to find all event windows that have a tag with a specific value, regardless of
96
- * the tag key. </p>
384
+ * <code>vpc-id</code> - The ID of the VPC in which the EC2 Instance Connect
385
+ * Endpoint was created.</p>
97
386
  * </li>
98
387
  * </ul>
99
388
  */
100
389
  Filters?: Filter[];
101
390
  /**
102
391
  * @public
103
- * <p>The maximum number of results to return in a single call. To retrieve the remaining
104
- * results, make another call with the returned <code>NextToken</code> value. This value can
105
- * be between 20 and 500. You cannot specify this parameter and the event window IDs parameter
106
- * in the same call.</p>
107
- */
108
- MaxResults?: number;
109
- /**
110
- * @public
111
- * <p>The token to request the next page of results.</p>
392
+ * <p>One or more EC2 Instance Connect Endpoint IDs.</p>
112
393
  */
113
- NextToken?: string;
394
+ InstanceConnectEndpointIds?: string[];
395
+ }
396
+ /**
397
+ * @public
398
+ */
399
+ export interface DescribeInstanceConnectEndpointsResult {
400
+ /**
401
+ * @public
402
+ * <p>Information about the EC2 Instance Connect Endpoints.</p>
403
+ */
404
+ InstanceConnectEndpoints?: Ec2InstanceConnectEndpoint[];
405
+ /**
406
+ * @public
407
+ * <p>The token to include in another request to get the next page of items. This value is <code>null</code> when there
408
+ * are no more items to return.</p>
409
+ */
410
+ NextToken?: string;
411
+ }
412
+ /**
413
+ * @public
414
+ */
415
+ export interface DescribeInstanceCreditSpecificationsRequest {
416
+ /**
417
+ * @public
418
+ * <p>Checks whether you have the required permissions for the action, without actually making the request,
419
+ * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
420
+ * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
421
+ */
422
+ DryRun?: boolean;
423
+ /**
424
+ * @public
425
+ * <p>The filters.</p>
426
+ * <ul>
427
+ * <li>
428
+ * <p>
429
+ * <code>instance-id</code> - The ID of the instance.</p>
430
+ * </li>
431
+ * </ul>
432
+ */
433
+ Filters?: Filter[];
434
+ /**
435
+ * @public
436
+ * <p>The instance IDs.</p>
437
+ * <p>Default: Describes all your instances.</p>
438
+ * <p>Constraints: Maximum 1000 explicitly specified instance IDs.</p>
439
+ */
440
+ InstanceIds?: string[];
441
+ /**
442
+ * @public
443
+ * <p>The maximum number of items to return for this request.
444
+ * To get the next page of items, make another request with the token returned in the output.
445
+ * For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination">Pagination</a>.</p>
446
+ * <p>You cannot specify this parameter and the instance IDs
447
+ * parameter in the same call.</p>
448
+ */
449
+ MaxResults?: number;
450
+ /**
451
+ * @public
452
+ * <p>The token returned from a previous paginated request. Pagination continues from the end of the items returned by the previous request.</p>
453
+ */
454
+ NextToken?: string;
455
+ }
456
+ /**
457
+ * @public
458
+ * <p>Describes the credit option for CPU usage of a burstable performance instance. </p>
459
+ */
460
+ export interface InstanceCreditSpecification {
461
+ /**
462
+ * @public
463
+ * <p>The ID of the instance.</p>
464
+ */
465
+ InstanceId?: string;
466
+ /**
467
+ * @public
468
+ * <p>The credit option for CPU usage of the instance.</p>
469
+ * <p>Valid values: <code>standard</code> | <code>unlimited</code>
470
+ * </p>
471
+ */
472
+ CpuCredits?: string;
473
+ }
474
+ /**
475
+ * @public
476
+ */
477
+ export interface DescribeInstanceCreditSpecificationsResult {
478
+ /**
479
+ * @public
480
+ * <p>Information about the credit option for CPU usage of an instance.</p>
481
+ */
482
+ InstanceCreditSpecifications?: InstanceCreditSpecification[];
483
+ /**
484
+ * @public
485
+ * <p>The token to include in another request to get the next page of items. This value is <code>null</code> when there
486
+ * are no more items to return.</p>
487
+ */
488
+ NextToken?: string;
489
+ }
490
+ /**
491
+ * @public
492
+ */
493
+ export interface DescribeInstanceEventNotificationAttributesRequest {
494
+ /**
495
+ * @public
496
+ * <p>Checks whether you have the required permissions for the action, without actually making the request,
497
+ * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
498
+ * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
499
+ */
500
+ DryRun?: boolean;
501
+ }
502
+ /**
503
+ * @public
504
+ */
505
+ export interface DescribeInstanceEventNotificationAttributesResult {
506
+ /**
507
+ * @public
508
+ * <p>Information about the registered tag keys.</p>
509
+ */
510
+ InstanceTagAttribute?: InstanceTagNotificationAttribute;
511
+ }
512
+ /**
513
+ * @public
514
+ * <para>Describe instance event windows by InstanceEventWindow.</para>
515
+ */
516
+ export interface DescribeInstanceEventWindowsRequest {
517
+ /**
518
+ * @public
519
+ * <p>Checks whether you have the required permissions for the action, without actually making the request,
520
+ * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
521
+ * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
522
+ */
523
+ DryRun?: boolean;
524
+ /**
525
+ * @public
526
+ * <p>The IDs of the event windows.</p>
527
+ */
528
+ InstanceEventWindowIds?: string[];
529
+ /**
530
+ * @public
531
+ * <p>One or more filters.</p>
532
+ * <ul>
533
+ * <li>
534
+ * <p>
535
+ * <code>dedicated-host-id</code> - The event windows associated with the specified
536
+ * Dedicated Host ID.</p>
537
+ * </li>
538
+ * <li>
539
+ * <p>
540
+ * <code>event-window-name</code> - The event windows associated with the specified
541
+ * names. </p>
542
+ * </li>
543
+ * <li>
544
+ * <p>
545
+ * <code>instance-id</code> - The event windows associated with the specified instance
546
+ * ID.</p>
547
+ * </li>
548
+ * <li>
549
+ * <p>
550
+ * <code>instance-tag</code> - The event windows associated with the specified tag and
551
+ * value.</p>
552
+ * </li>
553
+ * <li>
554
+ * <p>
555
+ * <code>instance-tag-key</code> - The event windows associated with the specified tag
556
+ * key, regardless of the value.</p>
557
+ * </li>
558
+ * <li>
559
+ * <p>
560
+ * <code>instance-tag-value</code> - The event windows associated with the specified tag
561
+ * value, regardless of the key.</p>
562
+ * </li>
563
+ * <li>
564
+ * <p>
565
+ * <code>tag:<key></code> - The key/value combination of a tag assigned to the
566
+ * event window. Use the tag key in the filter name and the tag value as the filter
567
+ * value. For example, to find all resources that have a tag with the key
568
+ * <code>Owner</code> and the value <code>CMX</code>, specify <code>tag:Owner</code>
569
+ * for the filter name and <code>CMX</code> for the filter value. </p>
570
+ * </li>
571
+ * <li>
572
+ * <p>
573
+ * <code>tag-key</code> - The key of a tag assigned to the event window. Use this filter
574
+ * to find all event windows that have a tag with a specific key, regardless of the tag
575
+ * value. </p>
576
+ * </li>
577
+ * <li>
578
+ * <p>
579
+ * <code>tag-value</code> - The value of a tag assigned to the event window. Use this
580
+ * filter to find all event windows that have a tag with a specific value, regardless of
581
+ * the tag key. </p>
582
+ * </li>
583
+ * </ul>
584
+ */
585
+ Filters?: Filter[];
586
+ /**
587
+ * @public
588
+ * <p>The maximum number of results to return in a single call. To retrieve the remaining
589
+ * results, make another call with the returned <code>NextToken</code> value. This value can
590
+ * be between 20 and 500. You cannot specify this parameter and the event window IDs parameter
591
+ * in the same call.</p>
592
+ */
593
+ MaxResults?: number;
594
+ /**
595
+ * @public
596
+ * <p>The token to request the next page of results.</p>
597
+ */
598
+ NextToken?: string;
114
599
  }
115
600
  /**
116
601
  * @public
@@ -1308,6 +1793,34 @@ export interface InstanceNetworkInterfaceAttachment {
1308
1793
  */
1309
1794
  EnaSrdSpecification?: InstanceAttachmentEnaSrdSpecification;
1310
1795
  }
1796
+ /**
1797
+ * @public
1798
+ * <p>A security group connection tracking specification response that enables you to set the idle timeout for connection tracking on an Elastic network interface. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/security-group-connection-tracking.html#connection-tracking-timeouts">Connection tracking timeouts</a> in the <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
1799
+ */
1800
+ export interface ConnectionTrackingSpecificationResponse {
1801
+ /**
1802
+ * @public
1803
+ * <p>Timeout (in seconds) for idle TCP
1804
+ * connections in an established state. Min: 60 seconds. Max: 432000 seconds (5
1805
+ * days). Default: 432000 seconds. Recommended: Less than 432000 seconds.</p>
1806
+ */
1807
+ TcpEstablishedTimeout?: number;
1808
+ /**
1809
+ * @public
1810
+ * <p>Timeout (in seconds) for idle UDP
1811
+ * flows classified as streams which have seen more than one request-response
1812
+ * transaction. Min: 60 seconds. Max: 180 seconds (3 minutes). Default: 180
1813
+ * seconds.</p>
1814
+ */
1815
+ UdpStreamTimeout?: number;
1816
+ /**
1817
+ * @public
1818
+ * <p>Timeout (in seconds) for idle UDP flows that
1819
+ * have seen traffic only in a single direction or a single request-response
1820
+ * transaction. Min: 30 seconds. Max: 60 seconds. Default: 30 seconds.</p>
1821
+ */
1822
+ UdpTimeout?: number;
1823
+ }
1311
1824
  /**
1312
1825
  * @public
1313
1826
  * <p>Information about an IPv4 prefix.</p>
@@ -1454,6 +1967,11 @@ export interface InstanceNetworkInterface {
1454
1967
  * <p>The IPv6 delegated prefixes that are assigned to the network interface.</p>
1455
1968
  */
1456
1969
  Ipv6Prefixes?: InstanceIpv6Prefix[];
1970
+ /**
1971
+ * @public
1972
+ * <p>A security group connection tracking configuration that enables you to set the timeout for connection tracking on an Elastic network interface. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/security-group-connection-tracking.html#connection-tracking-timeouts">Connection tracking timeouts</a> in the <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
1973
+ */
1974
+ ConnectionTrackingConfiguration?: ConnectionTrackingSpecificationResponse;
1457
1975
  }
1458
1976
  /**
1459
1977
  * @public
@@ -1605,7 +2123,7 @@ export interface Instance {
1605
2123
  Placement?: Placement;
1606
2124
  /**
1607
2125
  * @public
1608
- * <p>The value is <code>Windows</code> for Windows instances; otherwise blank.</p>
2126
+ * <p>The platform. This value is <code>windows</code> for Windows instances; otherwise, it is empty.</p>
1609
2127
  */
1610
2128
  Platform?: PlatformValues;
1611
2129
  /**
@@ -3646,6 +4164,44 @@ export interface DescribeInternetGatewaysResult {
3646
4164
  */
3647
4165
  NextToken?: string;
3648
4166
  }
4167
+ /**
4168
+ * @public
4169
+ */
4170
+ export interface DescribeIpamByoasnRequest {
4171
+ /**
4172
+ * @public
4173
+ * <p>Checks whether you have the required permissions for the action, without actually making the request,
4174
+ * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
4175
+ * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
4176
+ */
4177
+ DryRun?: boolean;
4178
+ /**
4179
+ * @public
4180
+ * <p>The maximum number of results to return with a single call.
4181
+ * To retrieve the remaining results, make another call with the returned <code>nextToken</code> value.</p>
4182
+ */
4183
+ MaxResults?: number;
4184
+ /**
4185
+ * @public
4186
+ * <p>The token for the next page of results.</p>
4187
+ */
4188
+ NextToken?: string;
4189
+ }
4190
+ /**
4191
+ * @public
4192
+ */
4193
+ export interface DescribeIpamByoasnResult {
4194
+ /**
4195
+ * @public
4196
+ * <p>ASN and BYOIP CIDR associations.</p>
4197
+ */
4198
+ Byoasns?: Byoasn[];
4199
+ /**
4200
+ * @public
4201
+ * <p>The token to use to retrieve the next page of results. This value is <code>null</code> when there are no more results to return.</p>
4202
+ */
4203
+ NextToken?: string;
4204
+ }
3649
4205
  /**
3650
4206
  * @public
3651
4207
  */
@@ -9200,6 +9756,11 @@ export interface InstanceNetworkInterfaceSpecification {
9200
9756
  * the instance.</p>
9201
9757
  */
9202
9758
  EnaSrdSpecification?: EnaSrdSpecificationRequest;
9759
+ /**
9760
+ * @public
9761
+ * <p>A security group connection tracking specification that enables you to set the timeout for connection tracking on an Elastic network interface. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/security-group-connection-tracking.html#connection-tracking-timeouts">Connection tracking timeouts</a> in the <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
9762
+ */
9763
+ ConnectionTrackingSpecification?: ConnectionTrackingSpecificationRequest;
9203
9764
  }
9204
9765
  /**
9205
9766
  * @public
@@ -10157,656 +10718,273 @@ export interface DescribeSpotInstanceRequestsRequest {
10157
10718
  * For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination">Pagination</a>.</p>
10158
10719
  */
10159
10720
  MaxResults?: number;
10160
- }
10161
- /**
10162
- * @public
10163
- * <p>Describes the monitoring of an instance.</p>
10164
- */
10165
- export interface RunInstancesMonitoringEnabled {
10166
- /**
10167
- * @public
10168
- * <p>Indicates whether detailed monitoring is enabled. Otherwise, basic monitoring is
10169
- * enabled.</p>
10170
- */
10171
- Enabled: boolean | undefined;
10172
- }
10173
- /**
10174
- * @public
10175
- * <p>Describes the launch specification for an instance.</p>
10176
- */
10177
- export interface LaunchSpecification {
10178
- /**
10179
- * @public
10180
- * <p>The base64-encoded user data that instances use when starting up. User data is limited to 16 KB.</p>
10181
- */
10182
- UserData?: string;
10183
- /**
10184
- * @public
10185
- * <p>The IDs of the security groups.</p>
10186
- */
10187
- SecurityGroups?: GroupIdentifier[];
10188
- /**
10189
- * @public
10190
- * <p>Deprecated.</p>
10191
- */
10192
- AddressingType?: string;
10193
- /**
10194
- * @public
10195
- * <p>The block device mapping entries.</p>
10196
- */
10197
- BlockDeviceMappings?: BlockDeviceMapping[];
10198
- /**
10199
- * @public
10200
- * <p>Indicates whether the instance is optimized for EBS I/O. This optimization provides dedicated throughput to Amazon EBS and an optimized configuration stack to provide optimal EBS I/O performance. This optimization isn't available with all instance types. Additional usage charges apply when using an EBS Optimized instance.</p>
10201
- * <p>Default: <code>false</code>
10202
- * </p>
10203
- */
10204
- EbsOptimized?: boolean;
10205
- /**
10206
- * @public
10207
- * <p>The IAM instance profile.</p>
10208
- */
10209
- IamInstanceProfile?: IamInstanceProfileSpecification;
10210
- /**
10211
- * @public
10212
- * <p>The ID of the AMI.</p>
10213
- */
10214
- ImageId?: string;
10215
- /**
10216
- * @public
10217
- * <p>The instance type. Only one instance type can be specified.</p>
10218
- */
10219
- InstanceType?: _InstanceType;
10220
- /**
10221
- * @public
10222
- * <p>The ID of the kernel.</p>
10223
- */
10224
- KernelId?: string;
10225
- /**
10226
- * @public
10227
- * <p>The name of the key pair.</p>
10228
- */
10229
- KeyName?: string;
10230
- /**
10231
- * @public
10232
- * <p>The network interfaces. If you specify a network interface, you must specify
10233
- * subnet IDs and security group IDs using the network interface.</p>
10234
- */
10235
- NetworkInterfaces?: InstanceNetworkInterfaceSpecification[];
10236
- /**
10237
- * @public
10238
- * <p>The placement information for the instance.</p>
10239
- */
10240
- Placement?: SpotPlacement;
10241
- /**
10242
- * @public
10243
- * <p>The ID of the RAM disk.</p>
10244
- */
10245
- RamdiskId?: string;
10246
- /**
10247
- * @public
10248
- * <p>The ID of the subnet in which to launch the instance.</p>
10249
- */
10250
- SubnetId?: string;
10251
- /**
10252
- * @public
10253
- * <p>Describes the monitoring of an instance.</p>
10254
- */
10255
- Monitoring?: RunInstancesMonitoringEnabled;
10256
- }
10257
- /**
10258
- * @public
10259
- * @enum
10260
- */
10261
- export declare const SpotInstanceState: {
10262
- readonly active: "active";
10263
- readonly cancelled: "cancelled";
10264
- readonly closed: "closed";
10265
- readonly disabled: "disabled";
10266
- readonly failed: "failed";
10267
- readonly open: "open";
10268
- };
10269
- /**
10270
- * @public
10271
- */
10272
- export type SpotInstanceState = (typeof SpotInstanceState)[keyof typeof SpotInstanceState];
10273
- /**
10274
- * @public
10275
- * <p>Describes the status of a Spot Instance request.</p>
10276
- */
10277
- export interface SpotInstanceStatus {
10278
- /**
10279
- * @public
10280
- * <p>The status code. For a list of status codes, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/spot-request-status.html#spot-instance-request-status-understand">Spot request status codes</a> in the <i>Amazon EC2 User Guide for Linux Instances</i>.</p>
10281
- */
10282
- Code?: string;
10283
- /**
10284
- * @public
10285
- * <p>The description for the status code.</p>
10286
- */
10287
- Message?: string;
10288
- /**
10289
- * @public
10290
- * <p>The date and time of the most recent status update, in UTC format (for example,
10291
- * <i>YYYY</i>-<i>MM</i>-<i>DD</i>T<i>HH</i>:<i>MM</i>:<i>SS</i>Z).</p>
10292
- */
10293
- UpdateTime?: Date;
10294
- }
10295
- /**
10296
- * @public
10297
- * <p>Describes a Spot Instance request.</p>
10298
- */
10299
- export interface SpotInstanceRequest {
10300
- /**
10301
- * @public
10302
- * <p>Deprecated.</p>
10303
- */
10304
- ActualBlockHourlyPrice?: string;
10305
- /**
10306
- * @public
10307
- * <p>The Availability Zone group. If you specify the same Availability Zone group for all Spot Instance requests, all Spot Instances are launched in the same Availability Zone.</p>
10308
- */
10309
- AvailabilityZoneGroup?: string;
10310
- /**
10311
- * @public
10312
- * <p>Deprecated.</p>
10313
- */
10314
- BlockDurationMinutes?: number;
10315
- /**
10316
- * @public
10317
- * <p>The date and time when the Spot Instance request was created, in UTC format (for example, <i>YYYY</i>-<i>MM</i>-<i>DD</i>T<i>HH</i>:<i>MM</i>:<i>SS</i>Z).</p>
10318
- */
10319
- CreateTime?: Date;
10320
- /**
10321
- * @public
10322
- * <p>The fault codes for the Spot Instance request, if any.</p>
10323
- */
10324
- Fault?: SpotInstanceStateFault;
10325
- /**
10326
- * @public
10327
- * <p>The instance ID, if an instance has been launched to fulfill the Spot Instance request.</p>
10328
- */
10329
- InstanceId?: string;
10330
- /**
10331
- * @public
10332
- * <p>The instance launch group. Launch groups are Spot Instances that launch together and terminate together.</p>
10333
- */
10334
- LaunchGroup?: string;
10335
- /**
10336
- * @public
10337
- * <p>Additional information for launching instances.</p>
10338
- */
10339
- LaunchSpecification?: LaunchSpecification;
10340
- /**
10341
- * @public
10342
- * <p>The Availability Zone in which the request is launched.</p>
10343
- */
10344
- LaunchedAvailabilityZone?: string;
10345
- /**
10346
- * @public
10347
- * <p>The product description associated with the Spot Instance.</p>
10348
- */
10349
- ProductDescription?: RIProductDescription;
10350
- /**
10351
- * @public
10352
- * <p>The ID of the Spot Instance request.</p>
10353
- */
10354
- SpotInstanceRequestId?: string;
10355
- /**
10356
- * @public
10357
- * <p>The maximum price per unit hour that you are willing to pay for a Spot Instance. We do not recommend
10358
- * using this parameter because it can lead to increased interruptions. If you do not specify this parameter, you will pay the current Spot price.</p>
10359
- * <important>
10360
- * <p>If you specify a maximum price, your instances will be interrupted more frequently than if you do not specify this parameter.</p>
10361
- * </important>
10362
- */
10363
- SpotPrice?: string;
10364
- /**
10365
- * @public
10366
- * <p>The state of the Spot Instance request. Spot request status information helps track your Spot
10367
- * Instance requests. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/spot-request-status.html">Spot request status</a> in the
10368
- * <i>Amazon EC2 User Guide for Linux Instances</i>.</p>
10369
- */
10370
- State?: SpotInstanceState;
10371
- /**
10372
- * @public
10373
- * <p>The status code and status message describing the Spot Instance request.</p>
10374
- */
10375
- Status?: SpotInstanceStatus;
10376
- /**
10377
- * @public
10378
- * <p>Any tags assigned to the resource.</p>
10379
- */
10380
- Tags?: Tag[];
10381
- /**
10382
- * @public
10383
- * <p>The Spot Instance request type.</p>
10384
- */
10385
- Type?: SpotInstanceType;
10386
- /**
10387
- * @public
10388
- * <p>The start date of the request, in UTC format (for example,
10389
- * <i>YYYY</i>-<i>MM</i>-<i>DD</i>T<i>HH</i>:<i>MM</i>:<i>SS</i>Z).
10390
- * The request becomes active at this date and time.</p>
10391
- */
10392
- ValidFrom?: Date;
10393
- /**
10394
- * @public
10395
- * <p>The end date of the request, in UTC format
10396
- * (<i>YYYY</i>-<i>MM</i>-<i>DD</i>T<i>HH</i>:<i>MM</i>:<i>SS</i>Z).</p>
10397
- * <ul>
10398
- * <li>
10399
- * <p>For a persistent request, the request remains active until the <code>validUntil</code> date
10400
- * and time is reached. Otherwise, the request remains active until you cancel it.
10401
- * </p>
10402
- * </li>
10403
- * <li>
10404
- * <p>For a one-time request, the request remains active until all instances launch,
10405
- * the request is canceled, or the <code>validUntil</code> date and time is reached. By default, the
10406
- * request is valid for 7 days from the date the request was created.</p>
10407
- * </li>
10408
- * </ul>
10409
- */
10410
- ValidUntil?: Date;
10411
- /**
10412
- * @public
10413
- * <p>The behavior when a Spot Instance is interrupted.</p>
10414
- */
10415
- InstanceInterruptionBehavior?: InstanceInterruptionBehavior;
10416
- }
10417
- /**
10418
- * @public
10419
- * <p>Contains the output of DescribeSpotInstanceRequests.</p>
10420
- */
10421
- export interface DescribeSpotInstanceRequestsResult {
10422
- /**
10423
- * @public
10424
- * <p>The Spot Instance requests.</p>
10425
- */
10426
- SpotInstanceRequests?: SpotInstanceRequest[];
10427
- /**
10428
- * @public
10429
- * <p>The token to include in another request to get the next page of items. This value is <code>null</code> when there
10430
- * are no more items to return.</p>
10431
- */
10432
- NextToken?: string;
10433
- }
10434
- /**
10435
- * @public
10436
- * <p>Contains the parameters for DescribeSpotPriceHistory.</p>
10437
- */
10438
- export interface DescribeSpotPriceHistoryRequest {
10439
- /**
10440
- * @public
10441
- * <p>The filters.</p>
10442
- * <ul>
10443
- * <li>
10444
- * <p>
10445
- * <code>availability-zone</code> - The Availability Zone for which prices should
10446
- * be returned.</p>
10447
- * </li>
10448
- * <li>
10449
- * <p>
10450
- * <code>instance-type</code> - The type of instance (for example,
10451
- * <code>m3.medium</code>).</p>
10452
- * </li>
10453
- * <li>
10454
- * <p>
10455
- * <code>product-description</code> - The product description for the Spot price
10456
- * (<code>Linux/UNIX</code> | <code>Red Hat Enterprise Linux</code> |
10457
- * <code>SUSE Linux</code> | <code>Windows</code> | <code>Linux/UNIX (Amazon
10458
- * VPC)</code> | <code>Red Hat Enterprise Linux (Amazon VPC)</code> |
10459
- * <code>SUSE Linux (Amazon VPC)</code> | <code>Windows (Amazon
10460
- * VPC)</code>).</p>
10461
- * </li>
10462
- * <li>
10463
- * <p>
10464
- * <code>spot-price</code> - The Spot price. The value must match exactly (or use
10465
- * wildcards; greater than or less than comparison is not supported).</p>
10466
- * </li>
10467
- * <li>
10468
- * <p>
10469
- * <code>timestamp</code> - The time stamp of the Spot price history, in UTC format
10470
- * (for example, <i>ddd MMM dd
10471
- * HH</i>:<i>mm</i>:<i>ss</i> UTC
10472
- * <i>YYYY</i>). You can use wildcards (<code>*</code> and
10473
- * <code>?</code>). Greater than or less than comparison is not
10474
- * supported.</p>
10475
- * </li>
10476
- * </ul>
10477
- */
10478
- Filters?: Filter[];
10479
- /**
10480
- * @public
10481
- * <p>Filters the results by the specified Availability Zone.</p>
10482
- */
10483
- AvailabilityZone?: string;
10484
- /**
10485
- * @public
10486
- * <p>Checks whether you have the required permissions for the action, without actually
10487
- * making the request, and provides an error response. If you have the required
10488
- * permissions, the error response is <code>DryRunOperation</code>. Otherwise, it is
10489
- * <code>UnauthorizedOperation</code>.</p>
10490
- */
10491
- DryRun?: boolean;
10492
- /**
10493
- * @public
10494
- * <p>The date and time, up to the current date, from which to stop retrieving the price
10495
- * history data, in UTC format (for example,
10496
- * <i>YYYY</i>-<i>MM</i>-<i>DD</i>T<i>HH</i>:<i>MM</i>:<i>SS</i>Z).</p>
10497
- */
10498
- EndTime?: Date;
10499
- /**
10500
- * @public
10501
- * <p>Filters the results by the specified instance types.</p>
10502
- */
10503
- InstanceTypes?: _InstanceType[];
10504
- /**
10505
- * @public
10506
- * <p>The maximum number of items to return for this request.
10507
- * To get the next page of items, make another request with the token returned in the output.
10508
- * For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination">Pagination</a>.</p>
10509
- */
10510
- MaxResults?: number;
10511
- /**
10512
- * @public
10513
- * <p>The token returned from a previous paginated request. Pagination continues from the end of the items returned by the previous request.</p>
10514
- */
10515
- NextToken?: string;
10516
- /**
10517
- * @public
10518
- * <p>Filters the results by the specified basic product descriptions.</p>
10519
- */
10520
- ProductDescriptions?: string[];
10721
+ }
10722
+ /**
10723
+ * @public
10724
+ * <p>Describes the monitoring of an instance.</p>
10725
+ */
10726
+ export interface RunInstancesMonitoringEnabled {
10521
10727
  /**
10522
10728
  * @public
10523
- * <p>The date and time, up to the past 90 days, from which to start retrieving the price
10524
- * history data, in UTC format (for example,
10525
- * <i>YYYY</i>-<i>MM</i>-<i>DD</i>T<i>HH</i>:<i>MM</i>:<i>SS</i>Z).</p>
10729
+ * <p>Indicates whether detailed monitoring is enabled. Otherwise, basic monitoring is
10730
+ * enabled.</p>
10526
10731
  */
10527
- StartTime?: Date;
10732
+ Enabled: boolean | undefined;
10528
10733
  }
10529
10734
  /**
10530
10735
  * @public
10531
- * <p>The maximum price per unit hour that you are willing to pay for a Spot Instance. We do not recommend
10532
- * using this parameter because it can lead to increased interruptions. If you do not specify this parameter, you will pay the current Spot price.</p>
10533
- * <important>
10534
- * <p>If you specify a maximum price, your instances will be interrupted more frequently than if you do not specify this parameter.</p>
10535
- * </important>
10736
+ * <p>Describes the launch specification for an instance.</p>
10536
10737
  */
10537
- export interface SpotPrice {
10738
+ export interface LaunchSpecification {
10538
10739
  /**
10539
10740
  * @public
10540
- * <p>The Availability Zone.</p>
10741
+ * <p>The base64-encoded user data that instances use when starting up. User data is limited to 16 KB.</p>
10541
10742
  */
10542
- AvailabilityZone?: string;
10743
+ UserData?: string;
10543
10744
  /**
10544
10745
  * @public
10545
- * <p>The instance type.</p>
10746
+ * <p>The IDs of the security groups.</p>
10546
10747
  */
10547
- InstanceType?: _InstanceType;
10748
+ SecurityGroups?: GroupIdentifier[];
10548
10749
  /**
10549
10750
  * @public
10550
- * <p>A general description of the AMI.</p>
10751
+ * <p>Deprecated.</p>
10551
10752
  */
10552
- ProductDescription?: RIProductDescription;
10753
+ AddressingType?: string;
10553
10754
  /**
10554
10755
  * @public
10555
- * <p>The maximum price per unit hour that you are willing to pay for a Spot Instance. We do not recommend
10556
- * using this parameter because it can lead to increased interruptions. If you do not specify this parameter, you will pay the current Spot price.</p>
10557
- * <important>
10558
- * <p>If you specify a maximum price, your instances will be interrupted more frequently than if you do not specify this parameter.</p>
10559
- * </important>
10756
+ * <p>The block device mapping entries.</p>
10560
10757
  */
10561
- SpotPrice?: string;
10758
+ BlockDeviceMappings?: BlockDeviceMapping[];
10562
10759
  /**
10563
10760
  * @public
10564
- * <p>The date and time the request was created, in UTC format (for example,
10565
- * <i>YYYY</i>-<i>MM</i>-<i>DD</i>T<i>HH</i>:<i>MM</i>:<i>SS</i>Z).</p>
10761
+ * <p>Indicates whether the instance is optimized for EBS I/O. This optimization provides dedicated throughput to Amazon EBS and an optimized configuration stack to provide optimal EBS I/O performance. This optimization isn't available with all instance types. Additional usage charges apply when using an EBS Optimized instance.</p>
10762
+ * <p>Default: <code>false</code>
10763
+ * </p>
10566
10764
  */
10567
- Timestamp?: Date;
10568
- }
10569
- /**
10570
- * @public
10571
- * <p>Contains the output of DescribeSpotPriceHistory.</p>
10572
- */
10573
- export interface DescribeSpotPriceHistoryResult {
10765
+ EbsOptimized?: boolean;
10574
10766
  /**
10575
10767
  * @public
10576
- * <p>The token to include in another request to get the next page of items. This value is <code>null</code> when there
10577
- * are no more items to return.</p>
10768
+ * <p>The IAM instance profile.</p>
10578
10769
  */
10579
- NextToken?: string;
10770
+ IamInstanceProfile?: IamInstanceProfileSpecification;
10580
10771
  /**
10581
10772
  * @public
10582
- * <p>The historical Spot prices.</p>
10773
+ * <p>The ID of the AMI.</p>
10583
10774
  */
10584
- SpotPriceHistory?: SpotPrice[];
10585
- }
10586
- /**
10587
- * @public
10588
- */
10589
- export interface DescribeStaleSecurityGroupsRequest {
10775
+ ImageId?: string;
10590
10776
  /**
10591
10777
  * @public
10592
- * <p>Checks whether you have the required permissions for the action, without actually making the request,
10593
- * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
10594
- * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
10778
+ * <p>The instance type. Only one instance type can be specified.</p>
10595
10779
  */
10596
- DryRun?: boolean;
10780
+ InstanceType?: _InstanceType;
10597
10781
  /**
10598
10782
  * @public
10599
- * <p>The maximum number of items to return for this request. To get the next page of items,
10600
- * make another request with the token returned in the output. For more information,
10601
- * see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination">Pagination</a>.</p>
10783
+ * <p>The ID of the kernel.</p>
10602
10784
  */
10603
- MaxResults?: number;
10785
+ KernelId?: string;
10604
10786
  /**
10605
10787
  * @public
10606
- * <p>The token returned from a previous paginated request.
10607
- * Pagination continues from the end of the items returned by the previous request.</p>
10788
+ * <p>The name of the key pair.</p>
10608
10789
  */
10609
- NextToken?: string;
10790
+ KeyName?: string;
10610
10791
  /**
10611
10792
  * @public
10612
- * <p>The ID of the VPC.</p>
10793
+ * <p>The network interfaces. If you specify a network interface, you must specify
10794
+ * subnet IDs and security group IDs using the network interface.</p>
10613
10795
  */
10614
- VpcId: string | undefined;
10615
- }
10616
- /**
10617
- * @public
10618
- * <p>Describes a stale rule in a security group.</p>
10619
- */
10620
- export interface StaleIpPermission {
10796
+ NetworkInterfaces?: InstanceNetworkInterfaceSpecification[];
10621
10797
  /**
10622
10798
  * @public
10623
- * <p>The start of the port range for the TCP and UDP protocols, or an ICMP type number. A value of
10624
- * -1 indicates all ICMP types. </p>
10799
+ * <p>The placement information for the instance.</p>
10625
10800
  */
10626
- FromPort?: number;
10801
+ Placement?: SpotPlacement;
10627
10802
  /**
10628
10803
  * @public
10629
- * <p>The IP protocol name (for <code>tcp</code>, <code>udp</code>, and <code>icmp</code>) or number (see <a href="http://www.iana.org/assignments/protocol-numbers/protocol-numbers.xhtml">Protocol Numbers)</a>.</p>
10804
+ * <p>The ID of the RAM disk.</p>
10630
10805
  */
10631
- IpProtocol?: string;
10806
+ RamdiskId?: string;
10632
10807
  /**
10633
10808
  * @public
10634
- * <p>The IP ranges. Not applicable for stale security group rules.</p>
10809
+ * <p>The ID of the subnet in which to launch the instance.</p>
10635
10810
  */
10636
- IpRanges?: string[];
10811
+ SubnetId?: string;
10637
10812
  /**
10638
10813
  * @public
10639
- * <p>The prefix list IDs. Not applicable for stale security group rules.</p>
10814
+ * <p>Describes the monitoring of an instance.</p>
10640
10815
  */
10641
- PrefixListIds?: string[];
10816
+ Monitoring?: RunInstancesMonitoringEnabled;
10817
+ }
10818
+ /**
10819
+ * @public
10820
+ * @enum
10821
+ */
10822
+ export declare const SpotInstanceState: {
10823
+ readonly active: "active";
10824
+ readonly cancelled: "cancelled";
10825
+ readonly closed: "closed";
10826
+ readonly disabled: "disabled";
10827
+ readonly failed: "failed";
10828
+ readonly open: "open";
10829
+ };
10830
+ /**
10831
+ * @public
10832
+ */
10833
+ export type SpotInstanceState = (typeof SpotInstanceState)[keyof typeof SpotInstanceState];
10834
+ /**
10835
+ * @public
10836
+ * <p>Describes the status of a Spot Instance request.</p>
10837
+ */
10838
+ export interface SpotInstanceStatus {
10642
10839
  /**
10643
10840
  * @public
10644
- * <p>The end of the port range for the TCP and UDP protocols, or an ICMP type number. A value of
10645
- * <code>-1</code> indicates all ICMP types. </p>
10841
+ * <p>The status code. For a list of status codes, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/spot-request-status.html#spot-instance-request-status-understand">Spot request status codes</a> in the <i>Amazon EC2 User Guide for Linux Instances</i>.</p>
10646
10842
  */
10647
- ToPort?: number;
10843
+ Code?: string;
10648
10844
  /**
10649
10845
  * @public
10650
- * <p>The security group pairs. Returns the ID of the referenced security group and VPC, and the ID and status of the VPC peering connection.</p>
10846
+ * <p>The description for the status code.</p>
10651
10847
  */
10652
- UserIdGroupPairs?: UserIdGroupPair[];
10848
+ Message?: string;
10849
+ /**
10850
+ * @public
10851
+ * <p>The date and time of the most recent status update, in UTC format (for example,
10852
+ * <i>YYYY</i>-<i>MM</i>-<i>DD</i>T<i>HH</i>:<i>MM</i>:<i>SS</i>Z).</p>
10853
+ */
10854
+ UpdateTime?: Date;
10653
10855
  }
10654
10856
  /**
10655
10857
  * @public
10656
- * <p>Describes a stale security group (a security group that contains stale rules).</p>
10858
+ * <p>Describes a Spot Instance request.</p>
10657
10859
  */
10658
- export interface StaleSecurityGroup {
10659
- /**
10660
- * @public
10661
- * <p>The description of the security group.</p>
10662
- */
10663
- Description?: string;
10860
+ export interface SpotInstanceRequest {
10664
10861
  /**
10665
10862
  * @public
10666
- * <p>The ID of the security group.</p>
10863
+ * <p>Deprecated.</p>
10667
10864
  */
10668
- GroupId?: string;
10865
+ ActualBlockHourlyPrice?: string;
10669
10866
  /**
10670
10867
  * @public
10671
- * <p>The name of the security group.</p>
10868
+ * <p>The Availability Zone group. If you specify the same Availability Zone group for all Spot Instance requests, all Spot Instances are launched in the same Availability Zone.</p>
10672
10869
  */
10673
- GroupName?: string;
10870
+ AvailabilityZoneGroup?: string;
10674
10871
  /**
10675
10872
  * @public
10676
- * <p>Information about the stale inbound rules in the security group.</p>
10873
+ * <p>Deprecated.</p>
10677
10874
  */
10678
- StaleIpPermissions?: StaleIpPermission[];
10875
+ BlockDurationMinutes?: number;
10679
10876
  /**
10680
10877
  * @public
10681
- * <p>Information about the stale outbound rules in the security group.</p>
10878
+ * <p>The date and time when the Spot Instance request was created, in UTC format (for example, <i>YYYY</i>-<i>MM</i>-<i>DD</i>T<i>HH</i>:<i>MM</i>:<i>SS</i>Z).</p>
10682
10879
  */
10683
- StaleIpPermissionsEgress?: StaleIpPermission[];
10880
+ CreateTime?: Date;
10684
10881
  /**
10685
10882
  * @public
10686
- * <p>The ID of the VPC for the security group.</p>
10883
+ * <p>The fault codes for the Spot Instance request, if any.</p>
10687
10884
  */
10688
- VpcId?: string;
10689
- }
10690
- /**
10691
- * @public
10692
- */
10693
- export interface DescribeStaleSecurityGroupsResult {
10885
+ Fault?: SpotInstanceStateFault;
10694
10886
  /**
10695
10887
  * @public
10696
- * <p>The token to include in another request to get the next page of items.
10697
- * If there are no additional items to return, the string is empty.</p>
10888
+ * <p>The instance ID, if an instance has been launched to fulfill the Spot Instance request.</p>
10698
10889
  */
10699
- NextToken?: string;
10890
+ InstanceId?: string;
10700
10891
  /**
10701
10892
  * @public
10702
- * <p>Information about the stale security groups.</p>
10893
+ * <p>The instance launch group. Launch groups are Spot Instances that launch together and terminate together.</p>
10703
10894
  */
10704
- StaleSecurityGroupSet?: StaleSecurityGroup[];
10705
- }
10706
- /**
10707
- * @public
10708
- */
10709
- export interface DescribeStoreImageTasksRequest {
10895
+ LaunchGroup?: string;
10710
10896
  /**
10711
10897
  * @public
10712
- * <p>The AMI IDs for which to show progress. Up to 20 AMI IDs can be included in a request.</p>
10898
+ * <p>Additional information for launching instances.</p>
10713
10899
  */
10714
- ImageIds?: string[];
10900
+ LaunchSpecification?: LaunchSpecification;
10715
10901
  /**
10716
10902
  * @public
10717
- * <p>Checks whether you have the required permissions for the action, without actually making the request,
10718
- * and provides an error response. If you have the required permissions, the error response is
10719
- * <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.</p>
10903
+ * <p>The Availability Zone in which the request is launched.</p>
10720
10904
  */
10721
- DryRun?: boolean;
10905
+ LaunchedAvailabilityZone?: string;
10722
10906
  /**
10723
10907
  * @public
10724
- * <p>The filters.</p>
10725
- * <ul>
10726
- * <li>
10727
- * <p>
10728
- * <code>task-state</code> - Returns tasks in a certain state (<code>InProgress</code> |
10729
- * <code>Completed</code> | <code>Failed</code>)</p>
10730
- * </li>
10731
- * <li>
10732
- * <p>
10733
- * <code>bucket</code> - Returns task information for tasks that targeted a specific
10734
- * bucket. For the filter value, specify the bucket name.</p>
10735
- * </li>
10736
- * </ul>
10737
- * <note>
10738
- * <p>When you specify the <code>ImageIds</code> parameter, any filters that you specify are
10739
- * ignored. To use the filters, you must remove the <code>ImageIds</code> parameter.</p>
10740
- * </note>
10908
+ * <p>The product description associated with the Spot Instance.</p>
10741
10909
  */
10742
- Filters?: Filter[];
10910
+ ProductDescription?: RIProductDescription;
10743
10911
  /**
10744
10912
  * @public
10745
- * <p>The token returned from a previous paginated request. Pagination continues from the end of the items returned by the previous request.</p>
10913
+ * <p>The ID of the Spot Instance request.</p>
10746
10914
  */
10747
- NextToken?: string;
10915
+ SpotInstanceRequestId?: string;
10748
10916
  /**
10749
10917
  * @public
10750
- * <p>The maximum number of items to return for this request.
10751
- * To get the next page of items, make another request with the token returned in the output.
10752
- * For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination">Pagination</a>.</p>
10753
- * <p>You cannot specify this parameter and the <code>ImageIds</code> parameter in the same
10754
- * call.</p>
10918
+ * <p>The maximum price per unit hour that you are willing to pay for a Spot Instance. We do not recommend
10919
+ * using this parameter because it can lead to increased interruptions. If you do not specify this parameter, you will pay the current Spot price.</p>
10920
+ * <important>
10921
+ * <p>If you specify a maximum price, your instances will be interrupted more frequently than if you do not specify this parameter.</p>
10922
+ * </important>
10755
10923
  */
10756
- MaxResults?: number;
10757
- }
10758
- /**
10759
- * @public
10760
- * <p>The information about the AMI store task, including the progress of the task.</p>
10761
- */
10762
- export interface StoreImageTaskResult {
10924
+ SpotPrice?: string;
10763
10925
  /**
10764
10926
  * @public
10765
- * <p>The ID of the AMI that is being stored.</p>
10927
+ * <p>The state of the Spot Instance request. Spot request status information helps track your Spot
10928
+ * Instance requests. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/spot-request-status.html">Spot request status</a> in the
10929
+ * <i>Amazon EC2 User Guide for Linux Instances</i>.</p>
10766
10930
  */
10767
- AmiId?: string;
10931
+ State?: SpotInstanceState;
10768
10932
  /**
10769
10933
  * @public
10770
- * <p>The time the task started.</p>
10934
+ * <p>The status code and status message describing the Spot Instance request.</p>
10771
10935
  */
10772
- TaskStartTime?: Date;
10936
+ Status?: SpotInstanceStatus;
10773
10937
  /**
10774
10938
  * @public
10775
- * <p>The name of the Amazon S3 bucket that contains the stored AMI object.</p>
10939
+ * <p>Any tags assigned to the resource.</p>
10776
10940
  */
10777
- Bucket?: string;
10941
+ Tags?: Tag[];
10778
10942
  /**
10779
10943
  * @public
10780
- * <p>The name of the stored AMI object in the bucket.</p>
10944
+ * <p>The Spot Instance request type.</p>
10781
10945
  */
10782
- S3objectKey?: string;
10946
+ Type?: SpotInstanceType;
10783
10947
  /**
10784
10948
  * @public
10785
- * <p>The progress of the task as a percentage.</p>
10949
+ * <p>The start date of the request, in UTC format (for example,
10950
+ * <i>YYYY</i>-<i>MM</i>-<i>DD</i>T<i>HH</i>:<i>MM</i>:<i>SS</i>Z).
10951
+ * The request becomes active at this date and time.</p>
10786
10952
  */
10787
- ProgressPercentage?: number;
10953
+ ValidFrom?: Date;
10788
10954
  /**
10789
10955
  * @public
10790
- * <p>The state of the store task (<code>InProgress</code>, <code>Completed</code>, or
10791
- * <code>Failed</code>).</p>
10956
+ * <p>The end date of the request, in UTC format
10957
+ * (<i>YYYY</i>-<i>MM</i>-<i>DD</i>T<i>HH</i>:<i>MM</i>:<i>SS</i>Z).</p>
10958
+ * <ul>
10959
+ * <li>
10960
+ * <p>For a persistent request, the request remains active until the <code>validUntil</code> date
10961
+ * and time is reached. Otherwise, the request remains active until you cancel it.
10962
+ * </p>
10963
+ * </li>
10964
+ * <li>
10965
+ * <p>For a one-time request, the request remains active until all instances launch,
10966
+ * the request is canceled, or the <code>validUntil</code> date and time is reached. By default, the
10967
+ * request is valid for 7 days from the date the request was created.</p>
10968
+ * </li>
10969
+ * </ul>
10792
10970
  */
10793
- StoreTaskState?: string;
10971
+ ValidUntil?: Date;
10794
10972
  /**
10795
10973
  * @public
10796
- * <p>If the tasks fails, the reason for the failure is returned. If the task succeeds,
10797
- * <code>null</code> is returned.</p>
10974
+ * <p>The behavior when a Spot Instance is interrupted.</p>
10798
10975
  */
10799
- StoreTaskFailureReason?: string;
10976
+ InstanceInterruptionBehavior?: InstanceInterruptionBehavior;
10800
10977
  }
10801
10978
  /**
10802
10979
  * @public
10980
+ * <p>Contains the output of DescribeSpotInstanceRequests.</p>
10803
10981
  */
10804
- export interface DescribeStoreImageTasksResult {
10982
+ export interface DescribeSpotInstanceRequestsResult {
10805
10983
  /**
10806
10984
  * @public
10807
- * <p>The information about the AMI store tasks.</p>
10985
+ * <p>The Spot Instance requests.</p>
10808
10986
  */
10809
- StoreImageTaskResults?: StoreImageTaskResult[];
10987
+ SpotInstanceRequests?: SpotInstanceRequest[];
10810
10988
  /**
10811
10989
  * @public
10812
10990
  * <p>The token to include in another request to get the next page of items. This value is <code>null</code> when there
@@ -10816,292 +10994,160 @@ export interface DescribeStoreImageTasksResult {
10816
10994
  }
10817
10995
  /**
10818
10996
  * @public
10997
+ * <p>Contains the parameters for DescribeSpotPriceHistory.</p>
10819
10998
  */
10820
- export interface DescribeSubnetsRequest {
10999
+ export interface DescribeSpotPriceHistoryRequest {
10821
11000
  /**
10822
11001
  * @public
10823
11002
  * <p>The filters.</p>
10824
11003
  * <ul>
10825
11004
  * <li>
10826
11005
  * <p>
10827
- * <code>availability-zone</code> - The Availability Zone for the subnet. You can also use
10828
- * <code>availabilityZone</code> as the filter name.</p>
10829
- * </li>
10830
- * <li>
10831
- * <p>
10832
- * <code>availability-zone-id</code> - The ID of the Availability Zone for the subnet.
10833
- * You can also use <code>availabilityZoneId</code> as the filter name.</p>
10834
- * </li>
10835
- * <li>
10836
- * <p>
10837
- * <code>available-ip-address-count</code> - The number of IPv4 addresses in the
10838
- * subnet that are available.</p>
10839
- * </li>
10840
- * <li>
10841
- * <p>
10842
- * <code>cidr-block</code> - The IPv4 CIDR block of the subnet. The CIDR block
10843
- * you specify must exactly match the subnet's CIDR block for information to be
10844
- * returned for the subnet. You can also use <code>cidr</code> or
10845
- * <code>cidrBlock</code> as the filter names.</p>
10846
- * </li>
10847
- * <li>
10848
- * <p>
10849
- * <code>customer-owned-ipv4-pool</code> - The customer-owned IPv4 address pool
10850
- * associated with the subnet.</p>
10851
- * </li>
10852
- * <li>
10853
- * <p>
10854
- * <code>default-for-az</code> - Indicates whether this is the default subnet for
10855
- * the Availability Zone (<code>true</code> | <code>false</code>). You can also use
10856
- * <code>defaultForAz</code> as the filter name.</p>
10857
- * </li>
10858
- * <li>
10859
- * <p>
10860
- * <code>enable-dns64</code> - Indicates whether DNS queries made to the
10861
- * Amazon-provided DNS Resolver in this subnet should return synthetic IPv6
10862
- * addresses for IPv4-only destinations.</p>
10863
- * </li>
10864
- * <li>
10865
- * <p>
10866
- * <code>enable-lni-at-device-index</code> - Indicates the device position for
10867
- * local network interfaces in this subnet. For example, <code>1</code> indicates
10868
- * local network interfaces in this subnet are the secondary network interface
10869
- * (eth1). </p>
10870
- * </li>
10871
- * <li>
10872
- * <p>
10873
- * <code>ipv6-cidr-block-association.ipv6-cidr-block</code> - An IPv6 CIDR
10874
- * block associated with the subnet.</p>
10875
- * </li>
10876
- * <li>
10877
- * <p>
10878
- * <code>ipv6-cidr-block-association.association-id</code> - An association ID
10879
- * for an IPv6 CIDR block associated with the subnet.</p>
10880
- * </li>
10881
- * <li>
10882
- * <p>
10883
- * <code>ipv6-cidr-block-association.state</code> - The state of an IPv6 CIDR
10884
- * block associated with the subnet.</p>
10885
- * </li>
10886
- * <li>
10887
- * <p>
10888
- * <code>ipv6-native</code> - Indicates whether this is an IPv6 only subnet
10889
- * (<code>true</code> | <code>false</code>).</p>
10890
- * </li>
10891
- * <li>
10892
- * <p>
10893
- * <code>map-customer-owned-ip-on-launch</code> - Indicates whether a network
10894
- * interface created in this subnet (including a network interface created by <a>RunInstances</a>) receives a customer-owned IPv4 address.</p>
10895
- * </li>
10896
- * <li>
10897
- * <p>
10898
- * <code>map-public-ip-on-launch</code> - Indicates whether instances launched in
10899
- * this subnet receive a public IPv4 address.</p>
10900
- * </li>
10901
- * <li>
10902
- * <p>
10903
- * <code>outpost-arn</code> - The Amazon Resource Name (ARN) of the Outpost.</p>
10904
- * </li>
10905
- * <li>
10906
- * <p>
10907
- * <code>owner-id</code> - The ID of the Amazon Web Services account that owns the
10908
- * subnet.</p>
10909
- * </li>
10910
- * <li>
10911
- * <p>
10912
- * <code>private-dns-name-options-on-launch.hostname-type</code> - The type of
10913
- * hostname to assign to instances in the subnet at launch. For IPv4-only and
10914
- * dual-stack (IPv4 and IPv6) subnets, an instance DNS name can be based on the
10915
- * instance IPv4 address (ip-name) or the instance ID (resource-name). For IPv6
10916
- * only subnets, an instance DNS name must be based on the instance ID
10917
- * (resource-name).</p>
10918
- * </li>
10919
- * <li>
10920
- * <p>
10921
- * <code>private-dns-name-options-on-launch.enable-resource-name-dns-a-record</code>
10922
- * - Indicates whether to respond to DNS queries for instance hostnames with DNS A
10923
- * records.</p>
10924
- * </li>
10925
- * <li>
10926
- * <p>
10927
- * <code>private-dns-name-options-on-launch.enable-resource-name-dns-aaaa-record</code>
10928
- * - Indicates whether to respond to DNS queries for instance hostnames with DNS
10929
- * AAAA records.</p>
10930
- * </li>
10931
- * <li>
10932
- * <p>
10933
- * <code>state</code> - The state of the subnet (<code>pending</code> | <code>available</code>).</p>
10934
- * </li>
10935
- * <li>
10936
- * <p>
10937
- * <code>subnet-arn</code> - The Amazon Resource Name (ARN) of the subnet.</p>
11006
+ * <code>availability-zone</code> - The Availability Zone for which prices should
11007
+ * be returned.</p>
10938
11008
  * </li>
10939
11009
  * <li>
10940
11010
  * <p>
10941
- * <code>subnet-id</code> - The ID of the subnet.</p>
11011
+ * <code>instance-type</code> - The type of instance (for example,
11012
+ * <code>m3.medium</code>).</p>
10942
11013
  * </li>
10943
11014
  * <li>
10944
11015
  * <p>
10945
- * <code>tag</code>:<key> - The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value.
10946
- * For example, to find all resources that have a tag with the key <code>Owner</code> and the value <code>TeamA</code>, specify <code>tag:Owner</code> for the filter name and <code>TeamA</code> for the filter value.</p>
11016
+ * <code>product-description</code> - The product description for the Spot price
11017
+ * (<code>Linux/UNIX</code> | <code>Red Hat Enterprise Linux</code> |
11018
+ * <code>SUSE Linux</code> | <code>Windows</code> | <code>Linux/UNIX (Amazon
11019
+ * VPC)</code> | <code>Red Hat Enterprise Linux (Amazon VPC)</code> |
11020
+ * <code>SUSE Linux (Amazon VPC)</code> | <code>Windows (Amazon
11021
+ * VPC)</code>).</p>
10947
11022
  * </li>
10948
11023
  * <li>
10949
11024
  * <p>
10950
- * <code>tag-key</code> - The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value.</p>
11025
+ * <code>spot-price</code> - The Spot price. The value must match exactly (or use
11026
+ * wildcards; greater than or less than comparison is not supported).</p>
10951
11027
  * </li>
10952
11028
  * <li>
10953
11029
  * <p>
10954
- * <code>vpc-id</code> - The ID of the VPC for the subnet.</p>
11030
+ * <code>timestamp</code> - The time stamp of the Spot price history, in UTC format
11031
+ * (for example, <i>ddd MMM dd
11032
+ * HH</i>:<i>mm</i>:<i>ss</i> UTC
11033
+ * <i>YYYY</i>). You can use wildcards (<code>*</code> and
11034
+ * <code>?</code>). Greater than or less than comparison is not
11035
+ * supported.</p>
10955
11036
  * </li>
10956
11037
  * </ul>
10957
11038
  */
10958
11039
  Filters?: Filter[];
10959
11040
  /**
10960
11041
  * @public
10961
- * <p>The IDs of the subnets.</p>
10962
- * <p>Default: Describes all your subnets.</p>
11042
+ * <p>Filters the results by the specified Availability Zone.</p>
10963
11043
  */
10964
- SubnetIds?: string[];
11044
+ AvailabilityZone?: string;
10965
11045
  /**
10966
11046
  * @public
10967
- * <p>Checks whether you have the required permissions for the action, without actually making the request,
10968
- * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
10969
- * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
11047
+ * <p>Checks whether you have the required permissions for the action, without actually
11048
+ * making the request, and provides an error response. If you have the required
11049
+ * permissions, the error response is <code>DryRunOperation</code>. Otherwise, it is
11050
+ * <code>UnauthorizedOperation</code>.</p>
10970
11051
  */
10971
11052
  DryRun?: boolean;
10972
11053
  /**
10973
11054
  * @public
10974
- * <p>The token returned from a previous paginated request. Pagination continues from the end of the items returned by the previous request.</p>
11055
+ * <p>The date and time, up to the current date, from which to stop retrieving the price
11056
+ * history data, in UTC format (for example,
11057
+ * <i>YYYY</i>-<i>MM</i>-<i>DD</i>T<i>HH</i>:<i>MM</i>:<i>SS</i>Z).</p>
10975
11058
  */
10976
- NextToken?: string;
11059
+ EndTime?: Date;
10977
11060
  /**
10978
11061
  * @public
10979
- * <p>The maximum number of items to return for this request.
10980
- * To get the next page of items, make another request with the token returned in the output.
10981
- * For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination">Pagination</a>.</p>
11062
+ * <p>Filters the results by the specified instance types.</p>
10982
11063
  */
10983
- MaxResults?: number;
10984
- }
10985
- /**
10986
- * @public
10987
- */
10988
- export interface DescribeSubnetsResult {
11064
+ InstanceTypes?: _InstanceType[];
10989
11065
  /**
10990
11066
  * @public
10991
- * <p>Information about one or more subnets.</p>
11067
+ * <p>The maximum number of items to return for this request.
11068
+ * To get the next page of items, make another request with the token returned in the output.
11069
+ * For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination">Pagination</a>.</p>
10992
11070
  */
10993
- Subnets?: Subnet[];
11071
+ MaxResults?: number;
10994
11072
  /**
10995
11073
  * @public
10996
- * <p>The token to include in another request to get the next page of items. This value is <code>null</code> when there are no more items to return.</p>
11074
+ * <p>The token returned from a previous paginated request. Pagination continues from the end of the items returned by the previous request.</p>
10997
11075
  */
10998
11076
  NextToken?: string;
10999
- }
11000
- /**
11001
- * @public
11002
- */
11003
- export interface DescribeTagsRequest {
11004
- /**
11005
- * @public
11006
- * <p>Checks whether you have the required permissions for the action, without actually making the request,
11007
- * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
11008
- * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
11009
- */
11010
- DryRun?: boolean;
11011
- /**
11012
- * @public
11013
- * <p>The filters.</p>
11014
- * <ul>
11015
- * <li>
11016
- * <p>
11017
- * <code>key</code> - The tag key.</p>
11018
- * </li>
11019
- * <li>
11020
- * <p>
11021
- * <code>resource-id</code> - The ID of the resource.</p>
11022
- * </li>
11023
- * <li>
11024
- * <p>
11025
- * <code>resource-type</code> - The resource type (<code>customer-gateway</code> | <code>dedicated-host</code> | <code>dhcp-options</code> | <code>elastic-ip</code> | <code>fleet</code> | <code>fpga-image</code> | <code>host-reservation</code> | <code>image</code> | <code>instance</code> | <code>internet-gateway</code> | <code>key-pair</code> | <code>launch-template</code> | <code>natgateway</code> | <code>network-acl</code> | <code>network-interface</code> | <code>placement-group</code> | <code>reserved-instances</code> | <code>route-table</code> | <code>security-group</code> | <code>snapshot</code> | <code>spot-instances-request</code> | <code>subnet</code> | <code>volume</code> | <code>vpc</code> | <code>vpc-endpoint</code> | <code>vpc-endpoint-service</code> | <code>vpc-peering-connection</code> | <code>vpn-connection</code> | <code>vpn-gateway</code>).</p>
11026
- * </li>
11027
- * <li>
11028
- * <p>
11029
- * <code>tag</code>:<key> - The key/value combination of the tag. For example,
11030
- * specify "tag:Owner" for the filter name and "TeamA" for the filter value to find
11031
- * resources with the tag "Owner=TeamA".</p>
11032
- * </li>
11033
- * <li>
11034
- * <p>
11035
- * <code>value</code> - The tag value.</p>
11036
- * </li>
11037
- * </ul>
11038
- */
11039
- Filters?: Filter[];
11040
11077
  /**
11041
11078
  * @public
11042
- * <p>The maximum number of items to return for this request. This value can be between 5 and 1000.
11043
- * To get the next page of items, make another request with the token returned in the output.
11044
- * For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination">Pagination</a>.</p>
11079
+ * <p>Filters the results by the specified basic product descriptions.</p>
11045
11080
  */
11046
- MaxResults?: number;
11081
+ ProductDescriptions?: string[];
11047
11082
  /**
11048
11083
  * @public
11049
- * <p>The token returned from a previous paginated request.
11050
- * Pagination continues from the end of the items returned by the previous request.</p>
11084
+ * <p>The date and time, up to the past 90 days, from which to start retrieving the price
11085
+ * history data, in UTC format (for example,
11086
+ * <i>YYYY</i>-<i>MM</i>-<i>DD</i>T<i>HH</i>:<i>MM</i>:<i>SS</i>Z).</p>
11051
11087
  */
11052
- NextToken?: string;
11088
+ StartTime?: Date;
11053
11089
  }
11054
11090
  /**
11055
11091
  * @public
11056
- * <p>Describes a tag.</p>
11092
+ * <p>The maximum price per unit hour that you are willing to pay for a Spot Instance. We do not recommend
11093
+ * using this parameter because it can lead to increased interruptions. If you do not specify this parameter, you will pay the current Spot price.</p>
11094
+ * <important>
11095
+ * <p>If you specify a maximum price, your instances will be interrupted more frequently than if you do not specify this parameter.</p>
11096
+ * </important>
11057
11097
  */
11058
- export interface TagDescription {
11098
+ export interface SpotPrice {
11099
+ /**
11100
+ * @public
11101
+ * <p>The Availability Zone.</p>
11102
+ */
11103
+ AvailabilityZone?: string;
11059
11104
  /**
11060
11105
  * @public
11061
- * <p>The tag key.</p>
11106
+ * <p>The instance type.</p>
11062
11107
  */
11063
- Key?: string;
11108
+ InstanceType?: _InstanceType;
11064
11109
  /**
11065
11110
  * @public
11066
- * <p>The ID of the resource.</p>
11111
+ * <p>A general description of the AMI.</p>
11067
11112
  */
11068
- ResourceId?: string;
11113
+ ProductDescription?: RIProductDescription;
11069
11114
  /**
11070
11115
  * @public
11071
- * <p>The resource type.</p>
11116
+ * <p>The maximum price per unit hour that you are willing to pay for a Spot Instance. We do not recommend
11117
+ * using this parameter because it can lead to increased interruptions. If you do not specify this parameter, you will pay the current Spot price.</p>
11118
+ * <important>
11119
+ * <p>If you specify a maximum price, your instances will be interrupted more frequently than if you do not specify this parameter.</p>
11120
+ * </important>
11072
11121
  */
11073
- ResourceType?: ResourceType;
11122
+ SpotPrice?: string;
11074
11123
  /**
11075
11124
  * @public
11076
- * <p>The tag value.</p>
11125
+ * <p>The date and time the request was created, in UTC format (for example,
11126
+ * <i>YYYY</i>-<i>MM</i>-<i>DD</i>T<i>HH</i>:<i>MM</i>:<i>SS</i>Z).</p>
11077
11127
  */
11078
- Value?: string;
11128
+ Timestamp?: Date;
11079
11129
  }
11080
11130
  /**
11081
11131
  * @public
11132
+ * <p>Contains the output of DescribeSpotPriceHistory.</p>
11082
11133
  */
11083
- export interface DescribeTagsResult {
11134
+ export interface DescribeSpotPriceHistoryResult {
11084
11135
  /**
11085
11136
  * @public
11086
- * <p>The token to include in another request to get the next page of items.
11087
- * This value is <code>null</code> when there are no more items to return.</p>
11137
+ * <p>The token to include in another request to get the next page of items. This value is <code>null</code> when there
11138
+ * are no more items to return.</p>
11088
11139
  */
11089
11140
  NextToken?: string;
11090
11141
  /**
11091
11142
  * @public
11092
- * <p>The tags.</p>
11143
+ * <p>The historical Spot prices.</p>
11093
11144
  */
11094
- Tags?: TagDescription[];
11145
+ SpotPriceHistory?: SpotPrice[];
11095
11146
  }
11096
11147
  /**
11097
11148
  * @public
11098
11149
  */
11099
- export interface DescribeTrafficMirrorFiltersRequest {
11100
- /**
11101
- * @public
11102
- * <p>The ID of the Traffic Mirror filter.</p>
11103
- */
11104
- TrafficMirrorFilterIds?: string[];
11150
+ export interface DescribeStaleSecurityGroupsRequest {
11105
11151
  /**
11106
11152
  * @public
11107
11153
  * <p>Checks whether you have the required permissions for the action, without actually making the request,
@@ -11111,480 +11157,372 @@ export interface DescribeTrafficMirrorFiltersRequest {
11111
11157
  DryRun?: boolean;
11112
11158
  /**
11113
11159
  * @public
11114
- * <p>One or more filters. The possible values are:</p>
11115
- * <ul>
11116
- * <li>
11117
- * <p>
11118
- * <code>description</code>: The Traffic Mirror filter description.</p>
11119
- * </li>
11120
- * <li>
11121
- * <p>
11122
- * <code>traffic-mirror-filter-id</code>: The ID of the Traffic Mirror filter.</p>
11123
- * </li>
11124
- * </ul>
11160
+ * <p>The maximum number of items to return for this request. To get the next page of items,
11161
+ * make another request with the token returned in the output. For more information,
11162
+ * see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination">Pagination</a>.</p>
11125
11163
  */
11126
- Filters?: Filter[];
11164
+ MaxResults?: number;
11127
11165
  /**
11128
11166
  * @public
11129
- * <p>The maximum number of results to return with a single call.
11130
- * To retrieve the remaining results, make another call with the returned <code>nextToken</code> value.</p>
11167
+ * <p>The token returned from a previous paginated request.
11168
+ * Pagination continues from the end of the items returned by the previous request.</p>
11131
11169
  */
11132
- MaxResults?: number;
11170
+ NextToken?: string;
11133
11171
  /**
11134
11172
  * @public
11135
- * <p>The token for the next page of results.</p>
11173
+ * <p>The ID of the VPC.</p>
11136
11174
  */
11137
- NextToken?: string;
11175
+ VpcId: string | undefined;
11138
11176
  }
11139
11177
  /**
11140
11178
  * @public
11179
+ * <p>Describes a stale rule in a security group.</p>
11141
11180
  */
11142
- export interface DescribeTrafficMirrorFiltersResult {
11143
- /**
11144
- * @public
11145
- * <p>Information about one or more Traffic Mirror filters.</p>
11146
- */
11147
- TrafficMirrorFilters?: TrafficMirrorFilter[];
11181
+ export interface StaleIpPermission {
11148
11182
  /**
11149
11183
  * @public
11150
- * <p>The token to use to retrieve the next page of results. The value is <code>null</code> when there are no more results to return.</p>
11184
+ * <p>The start of the port range for the TCP and UDP protocols, or an ICMP type number. A value of
11185
+ * -1 indicates all ICMP types. </p>
11151
11186
  */
11152
- NextToken?: string;
11153
- }
11154
- /**
11155
- * @public
11156
- */
11157
- export interface DescribeTrafficMirrorSessionsRequest {
11187
+ FromPort?: number;
11158
11188
  /**
11159
11189
  * @public
11160
- * <p>The ID of the Traffic Mirror session.</p>
11190
+ * <p>The IP protocol name (for <code>tcp</code>, <code>udp</code>, and <code>icmp</code>) or number (see <a href="http://www.iana.org/assignments/protocol-numbers/protocol-numbers.xhtml">Protocol Numbers)</a>.</p>
11161
11191
  */
11162
- TrafficMirrorSessionIds?: string[];
11192
+ IpProtocol?: string;
11163
11193
  /**
11164
11194
  * @public
11165
- * <p>Checks whether you have the required permissions for the action, without actually making the request,
11166
- * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
11167
- * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
11195
+ * <p>The IP ranges. Not applicable for stale security group rules.</p>
11168
11196
  */
11169
- DryRun?: boolean;
11197
+ IpRanges?: string[];
11170
11198
  /**
11171
11199
  * @public
11172
- * <p>One or more filters. The possible values are:</p>
11173
- * <ul>
11174
- * <li>
11175
- * <p>
11176
- * <code>description</code>: The Traffic Mirror session description.</p>
11177
- * </li>
11178
- * <li>
11179
- * <p>
11180
- * <code>network-interface-id</code>: The ID of the Traffic Mirror session network interface.</p>
11181
- * </li>
11182
- * <li>
11183
- * <p>
11184
- * <code>owner-id</code>: The ID of the account that owns the Traffic Mirror session.</p>
11185
- * </li>
11186
- * <li>
11187
- * <p>
11188
- * <code>packet-length</code>: The assigned number of packets to mirror. </p>
11189
- * </li>
11190
- * <li>
11191
- * <p>
11192
- * <code>session-number</code>: The assigned session number. </p>
11193
- * </li>
11194
- * <li>
11195
- * <p>
11196
- * <code>traffic-mirror-filter-id</code>: The ID of the Traffic Mirror filter.</p>
11197
- * </li>
11198
- * <li>
11199
- * <p>
11200
- * <code>traffic-mirror-session-id</code>: The ID of the Traffic Mirror session.</p>
11201
- * </li>
11202
- * <li>
11203
- * <p>
11204
- * <code>traffic-mirror-target-id</code>: The ID of the Traffic Mirror target.</p>
11205
- * </li>
11206
- * <li>
11207
- * <p>
11208
- * <code>virtual-network-id</code>: The virtual network ID of the Traffic Mirror session.</p>
11209
- * </li>
11210
- * </ul>
11200
+ * <p>The prefix list IDs. Not applicable for stale security group rules.</p>
11211
11201
  */
11212
- Filters?: Filter[];
11202
+ PrefixListIds?: string[];
11213
11203
  /**
11214
11204
  * @public
11215
- * <p>The maximum number of results to return with a single call.
11216
- * To retrieve the remaining results, make another call with the returned <code>nextToken</code> value.</p>
11205
+ * <p>The end of the port range for the TCP and UDP protocols, or an ICMP type number. A value of
11206
+ * <code>-1</code> indicates all ICMP types. </p>
11217
11207
  */
11218
- MaxResults?: number;
11208
+ ToPort?: number;
11219
11209
  /**
11220
11210
  * @public
11221
- * <p>The token for the next page of results.</p>
11211
+ * <p>The security group pairs. Returns the ID of the referenced security group and VPC, and the ID and status of the VPC peering connection.</p>
11222
11212
  */
11223
- NextToken?: string;
11213
+ UserIdGroupPairs?: UserIdGroupPair[];
11224
11214
  }
11225
11215
  /**
11226
11216
  * @public
11217
+ * <p>Describes a stale security group (a security group that contains stale rules).</p>
11227
11218
  */
11228
- export interface DescribeTrafficMirrorSessionsResult {
11229
- /**
11230
- * @public
11231
- * <p>Describes one or more Traffic Mirror sessions. By default, all Traffic Mirror sessions are described. Alternatively, you can filter the results.</p>
11232
- */
11233
- TrafficMirrorSessions?: TrafficMirrorSession[];
11219
+ export interface StaleSecurityGroup {
11234
11220
  /**
11235
11221
  * @public
11236
- * <p>The token to use to retrieve the next page of results. The value is <code>null</code> when there are no more results to return.</p>
11222
+ * <p>The description of the security group.</p>
11237
11223
  */
11238
- NextToken?: string;
11239
- }
11240
- /**
11241
- * @public
11242
- */
11243
- export interface DescribeTrafficMirrorTargetsRequest {
11224
+ Description?: string;
11244
11225
  /**
11245
11226
  * @public
11246
- * <p>The ID of the Traffic Mirror targets.</p>
11227
+ * <p>The ID of the security group.</p>
11247
11228
  */
11248
- TrafficMirrorTargetIds?: string[];
11229
+ GroupId?: string;
11249
11230
  /**
11250
11231
  * @public
11251
- * <p>Checks whether you have the required permissions for the action, without actually making the request,
11252
- * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
11253
- * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
11232
+ * <p>The name of the security group.</p>
11254
11233
  */
11255
- DryRun?: boolean;
11234
+ GroupName?: string;
11256
11235
  /**
11257
11236
  * @public
11258
- * <p>One or more filters. The possible values are:</p>
11259
- * <ul>
11260
- * <li>
11261
- * <p>
11262
- * <code>description</code>: The Traffic Mirror target description.</p>
11263
- * </li>
11264
- * <li>
11265
- * <p>
11266
- * <code>network-interface-id</code>: The ID of the Traffic Mirror session network interface.</p>
11267
- * </li>
11268
- * <li>
11269
- * <p>
11270
- * <code>network-load-balancer-arn</code>: The Amazon Resource Name (ARN) of the Network Load Balancer that is associated with the session.</p>
11271
- * </li>
11272
- * <li>
11273
- * <p>
11274
- * <code>owner-id</code>: The ID of the account that owns the Traffic Mirror session.</p>
11275
- * </li>
11276
- * <li>
11277
- * <p>
11278
- * <code>traffic-mirror-target-id</code>: The ID of the Traffic Mirror target.</p>
11279
- * </li>
11280
- * </ul>
11237
+ * <p>Information about the stale inbound rules in the security group.</p>
11281
11238
  */
11282
- Filters?: Filter[];
11239
+ StaleIpPermissions?: StaleIpPermission[];
11283
11240
  /**
11284
11241
  * @public
11285
- * <p>The maximum number of results to return with a single call.
11286
- * To retrieve the remaining results, make another call with the returned <code>nextToken</code> value.</p>
11242
+ * <p>Information about the stale outbound rules in the security group.</p>
11287
11243
  */
11288
- MaxResults?: number;
11244
+ StaleIpPermissionsEgress?: StaleIpPermission[];
11289
11245
  /**
11290
11246
  * @public
11291
- * <p>The token for the next page of results.</p>
11247
+ * <p>The ID of the VPC for the security group.</p>
11292
11248
  */
11293
- NextToken?: string;
11249
+ VpcId?: string;
11294
11250
  }
11295
11251
  /**
11296
11252
  * @public
11297
11253
  */
11298
- export interface DescribeTrafficMirrorTargetsResult {
11254
+ export interface DescribeStaleSecurityGroupsResult {
11299
11255
  /**
11300
11256
  * @public
11301
- * <p>Information about one or more Traffic Mirror targets.</p>
11257
+ * <p>The token to include in another request to get the next page of items.
11258
+ * If there are no additional items to return, the string is empty.</p>
11302
11259
  */
11303
- TrafficMirrorTargets?: TrafficMirrorTarget[];
11260
+ NextToken?: string;
11304
11261
  /**
11305
11262
  * @public
11306
- * <p>The token to use to retrieve the next page of results. The value is <code>null</code> when there are no more results to return.</p>
11263
+ * <p>Information about the stale security groups.</p>
11307
11264
  */
11308
- NextToken?: string;
11265
+ StaleSecurityGroupSet?: StaleSecurityGroup[];
11309
11266
  }
11310
11267
  /**
11311
11268
  * @public
11312
11269
  */
11313
- export interface DescribeTransitGatewayAttachmentsRequest {
11270
+ export interface DescribeStoreImageTasksRequest {
11271
+ /**
11272
+ * @public
11273
+ * <p>The AMI IDs for which to show progress. Up to 20 AMI IDs can be included in a request.</p>
11274
+ */
11275
+ ImageIds?: string[];
11314
11276
  /**
11315
11277
  * @public
11316
- * <p>The IDs of the attachments.</p>
11278
+ * <p>Checks whether you have the required permissions for the action, without actually making the request,
11279
+ * and provides an error response. If you have the required permissions, the error response is
11280
+ * <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.</p>
11317
11281
  */
11318
- TransitGatewayAttachmentIds?: string[];
11282
+ DryRun?: boolean;
11319
11283
  /**
11320
11284
  * @public
11321
- * <p>One or more filters. The possible values are:</p>
11285
+ * <p>The filters.</p>
11322
11286
  * <ul>
11323
11287
  * <li>
11324
11288
  * <p>
11325
- * <code>association.state</code> - The state of the association (<code>associating</code> | <code>associated</code> |
11326
- * <code>disassociating</code>).</p>
11327
- * </li>
11328
- * <li>
11329
- * <p>
11330
- * <code>association.transit-gateway-route-table-id</code> - The ID of the route table for the transit gateway.</p>
11331
- * </li>
11332
- * <li>
11333
- * <p>
11334
- * <code>resource-id</code> - The ID of the resource.</p>
11335
- * </li>
11336
- * <li>
11337
- * <p>
11338
- * <code>resource-owner-id</code> - The ID of the Amazon Web Services account that owns the resource.</p>
11339
- * </li>
11340
- * <li>
11341
- * <p>
11342
- * <code>resource-type</code> - The resource type. Valid values are <code>vpc</code>
11343
- * | <code>vpn</code> | <code>direct-connect-gateway</code> | <code>peering</code>
11344
- * | <code>connect</code>.</p>
11345
- * </li>
11346
- * <li>
11347
- * <p>
11348
- * <code>state</code> - The state of the attachment. Valid values are <code>available</code> | <code>deleted</code> | <code>deleting</code> | <code>failed</code> | <code>failing</code> | <code>initiatingRequest</code> | <code>modifying</code> | <code>pendingAcceptance</code> | <code>pending</code> | <code>rollingBack</code> | <code>rejected</code> | <code>rejecting</code>.</p>
11349
- * </li>
11350
- * <li>
11351
- * <p>
11352
- * <code>transit-gateway-attachment-id</code> - The ID of the attachment.</p>
11353
- * </li>
11354
- * <li>
11355
- * <p>
11356
- * <code>transit-gateway-id</code> - The ID of the transit gateway.</p>
11289
+ * <code>task-state</code> - Returns tasks in a certain state (<code>InProgress</code> |
11290
+ * <code>Completed</code> | <code>Failed</code>)</p>
11357
11291
  * </li>
11358
11292
  * <li>
11359
11293
  * <p>
11360
- * <code>transit-gateway-owner-id</code> - The ID of the Amazon Web Services account that owns the transit gateway.</p>
11294
+ * <code>bucket</code> - Returns task information for tasks that targeted a specific
11295
+ * bucket. For the filter value, specify the bucket name.</p>
11361
11296
  * </li>
11362
11297
  * </ul>
11298
+ * <note>
11299
+ * <p>When you specify the <code>ImageIds</code> parameter, any filters that you specify are
11300
+ * ignored. To use the filters, you must remove the <code>ImageIds</code> parameter.</p>
11301
+ * </note>
11363
11302
  */
11364
11303
  Filters?: Filter[];
11365
11304
  /**
11366
11305
  * @public
11367
- * <p>The maximum number of results to return with a single call.
11368
- * To retrieve the remaining results, make another call with the returned <code>nextToken</code> value.</p>
11369
- */
11370
- MaxResults?: number;
11371
- /**
11372
- * @public
11373
- * <p>The token for the next page of results.</p>
11306
+ * <p>The token returned from a previous paginated request. Pagination continues from the end of the items returned by the previous request.</p>
11374
11307
  */
11375
11308
  NextToken?: string;
11376
11309
  /**
11377
11310
  * @public
11378
- * <p>Checks whether you have the required permissions for the action, without actually making the request,
11379
- * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
11380
- * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
11381
- */
11382
- DryRun?: boolean;
11383
- }
11384
- /**
11385
- * @public
11386
- * <p>Describes an association.</p>
11387
- */
11388
- export interface TransitGatewayAttachmentAssociation {
11389
- /**
11390
- * @public
11391
- * <p>The ID of the route table for the transit gateway.</p>
11392
- */
11393
- TransitGatewayRouteTableId?: string;
11394
- /**
11395
- * @public
11396
- * <p>The state of the association.</p>
11311
+ * <p>The maximum number of items to return for this request.
11312
+ * To get the next page of items, make another request with the token returned in the output.
11313
+ * For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination">Pagination</a>.</p>
11314
+ * <p>You cannot specify this parameter and the <code>ImageIds</code> parameter in the same
11315
+ * call.</p>
11397
11316
  */
11398
- State?: TransitGatewayAssociationState;
11317
+ MaxResults?: number;
11399
11318
  }
11400
11319
  /**
11401
11320
  * @public
11402
- * <p>Describes an attachment between a resource and a transit gateway.</p>
11321
+ * <p>The information about the AMI store task, including the progress of the task.</p>
11403
11322
  */
11404
- export interface TransitGatewayAttachment {
11405
- /**
11406
- * @public
11407
- * <p>The ID of the attachment.</p>
11408
- */
11409
- TransitGatewayAttachmentId?: string;
11410
- /**
11411
- * @public
11412
- * <p>The ID of the transit gateway.</p>
11413
- */
11414
- TransitGatewayId?: string;
11415
- /**
11416
- * @public
11417
- * <p>The ID of the Amazon Web Services account that owns the transit gateway.</p>
11418
- */
11419
- TransitGatewayOwnerId?: string;
11323
+ export interface StoreImageTaskResult {
11420
11324
  /**
11421
11325
  * @public
11422
- * <p>The ID of the Amazon Web Services account that owns the resource.</p>
11326
+ * <p>The ID of the AMI that is being stored.</p>
11423
11327
  */
11424
- ResourceOwnerId?: string;
11328
+ AmiId?: string;
11425
11329
  /**
11426
11330
  * @public
11427
- * <p>The resource type. Note that the <code>tgw-peering</code> resource type has been deprecated.</p>
11331
+ * <p>The time the task started.</p>
11428
11332
  */
11429
- ResourceType?: TransitGatewayAttachmentResourceType;
11333
+ TaskStartTime?: Date;
11430
11334
  /**
11431
11335
  * @public
11432
- * <p>The ID of the resource.</p>
11336
+ * <p>The name of the Amazon S3 bucket that contains the stored AMI object.</p>
11433
11337
  */
11434
- ResourceId?: string;
11338
+ Bucket?: string;
11435
11339
  /**
11436
11340
  * @public
11437
- * <p>The attachment state. Note that the <code>initiating</code> state has been deprecated.</p>
11341
+ * <p>The name of the stored AMI object in the bucket.</p>
11438
11342
  */
11439
- State?: TransitGatewayAttachmentState;
11343
+ S3objectKey?: string;
11440
11344
  /**
11441
11345
  * @public
11442
- * <p>The association.</p>
11346
+ * <p>The progress of the task as a percentage.</p>
11443
11347
  */
11444
- Association?: TransitGatewayAttachmentAssociation;
11348
+ ProgressPercentage?: number;
11445
11349
  /**
11446
11350
  * @public
11447
- * <p>The creation time.</p>
11351
+ * <p>The state of the store task (<code>InProgress</code>, <code>Completed</code>, or
11352
+ * <code>Failed</code>).</p>
11448
11353
  */
11449
- CreationTime?: Date;
11354
+ StoreTaskState?: string;
11450
11355
  /**
11451
11356
  * @public
11452
- * <p>The tags for the attachment.</p>
11357
+ * <p>If the tasks fails, the reason for the failure is returned. If the task succeeds,
11358
+ * <code>null</code> is returned.</p>
11453
11359
  */
11454
- Tags?: Tag[];
11360
+ StoreTaskFailureReason?: string;
11455
11361
  }
11456
11362
  /**
11457
11363
  * @public
11458
11364
  */
11459
- export interface DescribeTransitGatewayAttachmentsResult {
11365
+ export interface DescribeStoreImageTasksResult {
11460
11366
  /**
11461
11367
  * @public
11462
- * <p>Information about the attachments.</p>
11368
+ * <p>The information about the AMI store tasks.</p>
11463
11369
  */
11464
- TransitGatewayAttachments?: TransitGatewayAttachment[];
11370
+ StoreImageTaskResults?: StoreImageTaskResult[];
11465
11371
  /**
11466
11372
  * @public
11467
- * <p>The token to use to retrieve the next page of results. This value is <code>null</code> when there are no more results to return.</p>
11373
+ * <p>The token to include in another request to get the next page of items. This value is <code>null</code> when there
11374
+ * are no more items to return.</p>
11468
11375
  */
11469
11376
  NextToken?: string;
11470
11377
  }
11471
11378
  /**
11472
11379
  * @public
11473
11380
  */
11474
- export interface DescribeTransitGatewayConnectPeersRequest {
11475
- /**
11476
- * @public
11477
- * <p>The IDs of the Connect peers.</p>
11478
- */
11479
- TransitGatewayConnectPeerIds?: string[];
11381
+ export interface DescribeSubnetsRequest {
11480
11382
  /**
11481
11383
  * @public
11482
- * <p>One or more filters. The possible values are:</p>
11384
+ * <p>The filters.</p>
11483
11385
  * <ul>
11484
11386
  * <li>
11485
11387
  * <p>
11486
- * <code>state</code> - The state of the Connect peer (<code>pending</code> |
11487
- * <code>available</code> | <code>deleting</code> |
11488
- * <code>deleted</code>).</p>
11388
+ * <code>availability-zone</code> - The Availability Zone for the subnet. You can also use
11389
+ * <code>availabilityZone</code> as the filter name.</p>
11489
11390
  * </li>
11490
11391
  * <li>
11491
11392
  * <p>
11492
- * <code>transit-gateway-attachment-id</code> - The ID of the attachment.</p>
11393
+ * <code>availability-zone-id</code> - The ID of the Availability Zone for the subnet.
11394
+ * You can also use <code>availabilityZoneId</code> as the filter name.</p>
11493
11395
  * </li>
11494
11396
  * <li>
11495
11397
  * <p>
11496
- * <code>transit-gateway-connect-peer-id</code> - The ID of the Connect peer.</p>
11398
+ * <code>available-ip-address-count</code> - The number of IPv4 addresses in the
11399
+ * subnet that are available.</p>
11400
+ * </li>
11401
+ * <li>
11402
+ * <p>
11403
+ * <code>cidr-block</code> - The IPv4 CIDR block of the subnet. The CIDR block
11404
+ * you specify must exactly match the subnet's CIDR block for information to be
11405
+ * returned for the subnet. You can also use <code>cidr</code> or
11406
+ * <code>cidrBlock</code> as the filter names.</p>
11407
+ * </li>
11408
+ * <li>
11409
+ * <p>
11410
+ * <code>customer-owned-ipv4-pool</code> - The customer-owned IPv4 address pool
11411
+ * associated with the subnet.</p>
11412
+ * </li>
11413
+ * <li>
11414
+ * <p>
11415
+ * <code>default-for-az</code> - Indicates whether this is the default subnet for
11416
+ * the Availability Zone (<code>true</code> | <code>false</code>). You can also use
11417
+ * <code>defaultForAz</code> as the filter name.</p>
11418
+ * </li>
11419
+ * <li>
11420
+ * <p>
11421
+ * <code>enable-dns64</code> - Indicates whether DNS queries made to the
11422
+ * Amazon-provided DNS Resolver in this subnet should return synthetic IPv6
11423
+ * addresses for IPv4-only destinations.</p>
11424
+ * </li>
11425
+ * <li>
11426
+ * <p>
11427
+ * <code>enable-lni-at-device-index</code> - Indicates the device position for
11428
+ * local network interfaces in this subnet. For example, <code>1</code> indicates
11429
+ * local network interfaces in this subnet are the secondary network interface
11430
+ * (eth1). </p>
11431
+ * </li>
11432
+ * <li>
11433
+ * <p>
11434
+ * <code>ipv6-cidr-block-association.ipv6-cidr-block</code> - An IPv6 CIDR
11435
+ * block associated with the subnet.</p>
11436
+ * </li>
11437
+ * <li>
11438
+ * <p>
11439
+ * <code>ipv6-cidr-block-association.association-id</code> - An association ID
11440
+ * for an IPv6 CIDR block associated with the subnet.</p>
11441
+ * </li>
11442
+ * <li>
11443
+ * <p>
11444
+ * <code>ipv6-cidr-block-association.state</code> - The state of an IPv6 CIDR
11445
+ * block associated with the subnet.</p>
11446
+ * </li>
11447
+ * <li>
11448
+ * <p>
11449
+ * <code>ipv6-native</code> - Indicates whether this is an IPv6 only subnet
11450
+ * (<code>true</code> | <code>false</code>).</p>
11451
+ * </li>
11452
+ * <li>
11453
+ * <p>
11454
+ * <code>map-customer-owned-ip-on-launch</code> - Indicates whether a network
11455
+ * interface created in this subnet (including a network interface created by <a>RunInstances</a>) receives a customer-owned IPv4 address.</p>
11456
+ * </li>
11457
+ * <li>
11458
+ * <p>
11459
+ * <code>map-public-ip-on-launch</code> - Indicates whether instances launched in
11460
+ * this subnet receive a public IPv4 address.</p>
11461
+ * </li>
11462
+ * <li>
11463
+ * <p>
11464
+ * <code>outpost-arn</code> - The Amazon Resource Name (ARN) of the Outpost.</p>
11465
+ * </li>
11466
+ * <li>
11467
+ * <p>
11468
+ * <code>owner-id</code> - The ID of the Amazon Web Services account that owns the
11469
+ * subnet.</p>
11497
11470
  * </li>
11498
- * </ul>
11499
- */
11500
- Filters?: Filter[];
11501
- /**
11502
- * @public
11503
- * <p>The maximum number of results to return with a single call.
11504
- * To retrieve the remaining results, make another call with the returned <code>nextToken</code> value.</p>
11505
- */
11506
- MaxResults?: number;
11507
- /**
11508
- * @public
11509
- * <p>The token for the next page of results.</p>
11510
- */
11511
- NextToken?: string;
11512
- /**
11513
- * @public
11514
- * <p>Checks whether you have the required permissions for the action, without actually making the request,
11515
- * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
11516
- * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
11517
- */
11518
- DryRun?: boolean;
11519
- }
11520
- /**
11521
- * @public
11522
- */
11523
- export interface DescribeTransitGatewayConnectPeersResult {
11524
- /**
11525
- * @public
11526
- * <p>Information about the Connect peers.</p>
11527
- */
11528
- TransitGatewayConnectPeers?: TransitGatewayConnectPeer[];
11529
- /**
11530
- * @public
11531
- * <p>The token to use to retrieve the next page of results. This value is <code>null</code> when there are no more results to return.</p>
11532
- */
11533
- NextToken?: string;
11534
- }
11535
- /**
11536
- * @public
11537
- */
11538
- export interface DescribeTransitGatewayConnectsRequest {
11539
- /**
11540
- * @public
11541
- * <p>The IDs of the attachments.</p>
11542
- */
11543
- TransitGatewayAttachmentIds?: string[];
11544
- /**
11545
- * @public
11546
- * <p>One or more filters. The possible values are:</p>
11547
- * <ul>
11548
11471
  * <li>
11549
11472
  * <p>
11550
- * <code>options.protocol</code> - The tunnel protocol (<code>gre</code>).</p>
11473
+ * <code>private-dns-name-options-on-launch.hostname-type</code> - The type of
11474
+ * hostname to assign to instances in the subnet at launch. For IPv4-only and
11475
+ * dual-stack (IPv4 and IPv6) subnets, an instance DNS name can be based on the
11476
+ * instance IPv4 address (ip-name) or the instance ID (resource-name). For IPv6
11477
+ * only subnets, an instance DNS name must be based on the instance ID
11478
+ * (resource-name).</p>
11479
+ * </li>
11480
+ * <li>
11481
+ * <p>
11482
+ * <code>private-dns-name-options-on-launch.enable-resource-name-dns-a-record</code>
11483
+ * - Indicates whether to respond to DNS queries for instance hostnames with DNS A
11484
+ * records.</p>
11485
+ * </li>
11486
+ * <li>
11487
+ * <p>
11488
+ * <code>private-dns-name-options-on-launch.enable-resource-name-dns-aaaa-record</code>
11489
+ * - Indicates whether to respond to DNS queries for instance hostnames with DNS
11490
+ * AAAA records.</p>
11491
+ * </li>
11492
+ * <li>
11493
+ * <p>
11494
+ * <code>state</code> - The state of the subnet (<code>pending</code> | <code>available</code>).</p>
11495
+ * </li>
11496
+ * <li>
11497
+ * <p>
11498
+ * <code>subnet-arn</code> - The Amazon Resource Name (ARN) of the subnet.</p>
11551
11499
  * </li>
11552
11500
  * <li>
11553
11501
  * <p>
11554
- * <code>state</code> - The state of the attachment (<code>initiating</code> |
11555
- * <code>initiatingRequest</code> | <code>pendingAcceptance</code> |
11556
- * <code>rollingBack</code> | <code>pending</code> | <code>available</code> |
11557
- * <code>modifying</code> | <code>deleting</code> | <code>deleted</code> |
11558
- * <code>failed</code> | <code>rejected</code> | <code>rejecting</code> |
11559
- * <code>failing</code>).</p>
11502
+ * <code>subnet-id</code> - The ID of the subnet.</p>
11560
11503
  * </li>
11561
11504
  * <li>
11562
11505
  * <p>
11563
- * <code>transit-gateway-attachment-id</code> - The ID of the
11564
- * Connect attachment.</p>
11506
+ * <code>tag</code>:<key> - The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value.
11507
+ * For example, to find all resources that have a tag with the key <code>Owner</code> and the value <code>TeamA</code>, specify <code>tag:Owner</code> for the filter name and <code>TeamA</code> for the filter value.</p>
11565
11508
  * </li>
11566
11509
  * <li>
11567
11510
  * <p>
11568
- * <code>transit-gateway-id</code> - The ID of the transit gateway.</p>
11511
+ * <code>tag-key</code> - The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value.</p>
11569
11512
  * </li>
11570
11513
  * <li>
11571
11514
  * <p>
11572
- * <code>transport-transit-gateway-attachment-id</code> - The ID of the transit gateway attachment from which the Connect attachment was created.</p>
11515
+ * <code>vpc-id</code> - The ID of the VPC for the subnet.</p>
11573
11516
  * </li>
11574
11517
  * </ul>
11575
11518
  */
11576
11519
  Filters?: Filter[];
11577
11520
  /**
11578
11521
  * @public
11579
- * <p>The maximum number of results to return with a single call.
11580
- * To retrieve the remaining results, make another call with the returned <code>nextToken</code> value.</p>
11581
- */
11582
- MaxResults?: number;
11583
- /**
11584
- * @public
11585
- * <p>The token for the next page of results.</p>
11522
+ * <p>The IDs of the subnets.</p>
11523
+ * <p>Default: Describes all your subnets.</p>
11586
11524
  */
11587
- NextToken?: string;
11525
+ SubnetIds?: string[];
11588
11526
  /**
11589
11527
  * @public
11590
11528
  * <p>Checks whether you have the required permissions for the action, without actually making the request,
@@ -11592,69 +11530,46 @@ export interface DescribeTransitGatewayConnectsRequest {
11592
11530
  * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
11593
11531
  */
11594
11532
  DryRun?: boolean;
11595
- }
11596
- /**
11597
- * @public
11598
- */
11599
- export interface DescribeTransitGatewayConnectsResult {
11600
11533
  /**
11601
11534
  * @public
11602
- * <p>Information about the Connect attachments.</p>
11535
+ * <p>The token returned from a previous paginated request. Pagination continues from the end of the items returned by the previous request.</p>
11603
11536
  */
11604
- TransitGatewayConnects?: TransitGatewayConnect[];
11537
+ NextToken?: string;
11605
11538
  /**
11606
11539
  * @public
11607
- * <p>The token to use to retrieve the next page of results. This value is <code>null</code> when there are no more results to return.</p>
11540
+ * <p>The maximum number of items to return for this request.
11541
+ * To get the next page of items, make another request with the token returned in the output.
11542
+ * For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination">Pagination</a>.</p>
11608
11543
  */
11609
- NextToken?: string;
11544
+ MaxResults?: number;
11610
11545
  }
11611
11546
  /**
11612
11547
  * @public
11613
11548
  */
11614
- export interface DescribeTransitGatewayMulticastDomainsRequest {
11615
- /**
11616
- * @public
11617
- * <p>The ID of the transit gateway multicast domain.</p>
11618
- */
11619
- TransitGatewayMulticastDomainIds?: string[];
11620
- /**
11621
- * @public
11622
- * <p>One or more filters. The possible values are:</p>
11623
- * <ul>
11624
- * <li>
11625
- * <p>
11626
- * <code>state</code> - The state of the transit gateway multicast domain. Valid values are <code>pending</code> | <code>available</code> | <code>deleting</code> | <code>deleted</code>.</p>
11627
- * </li>
11628
- * <li>
11629
- * <p>
11630
- * <code>transit-gateway-id</code> - The ID of the transit gateway.</p>
11631
- * </li>
11632
- * <li>
11633
- * <p>
11634
- * <code>transit-gateway-multicast-domain-id</code> - The ID of the transit gateway multicast domain.</p>
11635
- * </li>
11636
- * </ul>
11637
- */
11638
- Filters?: Filter[];
11549
+ export interface DescribeSubnetsResult {
11639
11550
  /**
11640
11551
  * @public
11641
- * <p>The maximum number of results to return with a single call.
11642
- * To retrieve the remaining results, make another call with the returned <code>nextToken</code> value.</p>
11552
+ * <p>Information about one or more subnets.</p>
11643
11553
  */
11644
- MaxResults?: number;
11554
+ Subnets?: Subnet[];
11645
11555
  /**
11646
11556
  * @public
11647
- * <p>The token for the next page of results.</p>
11557
+ * <p>The token to include in another request to get the next page of items. This value is <code>null</code> when there are no more items to return.</p>
11648
11558
  */
11649
11559
  NextToken?: string;
11650
- /**
11651
- * @public
11652
- * <p>Checks whether you have the required permissions for the action, without actually making the request,
11653
- * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
11654
- * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
11655
- */
11656
- DryRun?: boolean;
11657
11560
  }
11561
+ /**
11562
+ * @internal
11563
+ */
11564
+ export declare const SnapshotTaskDetailFilterSensitiveLog: (obj: SnapshotTaskDetail) => any;
11565
+ /**
11566
+ * @internal
11567
+ */
11568
+ export declare const ImportSnapshotTaskFilterSensitiveLog: (obj: ImportSnapshotTask) => any;
11569
+ /**
11570
+ * @internal
11571
+ */
11572
+ export declare const DescribeImportSnapshotTasksResultFilterSensitiveLog: (obj: DescribeImportSnapshotTasksResult) => any;
11658
11573
  /**
11659
11574
  * @internal
11660
11575
  */