@aws-sdk/client-ec2 3.932.0 → 3.934.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 (251) hide show
  1. package/README.md +56 -0
  2. package/dist-cjs/index.js +715 -68
  3. package/dist-es/EC2.js +14 -0
  4. package/dist-es/commands/CreateVpnConcentratorCommand.js +16 -0
  5. package/dist-es/commands/DeleteVpnConcentratorCommand.js +16 -0
  6. package/dist-es/commands/DescribeInstanceSqlHaHistoryStatesCommand.js +16 -0
  7. package/dist-es/commands/DescribeInstanceSqlHaStatesCommand.js +16 -0
  8. package/dist-es/commands/DescribeVpnConcentratorsCommand.js +16 -0
  9. package/dist-es/commands/DisableInstanceSqlHaStandbyDetectionsCommand.js +16 -0
  10. package/dist-es/commands/EnableInstanceSqlHaStandbyDetectionsCommand.js +16 -0
  11. package/dist-es/commands/index.js +7 -0
  12. package/dist-es/models/models_0.js +2 -0
  13. package/dist-es/models/models_3.js +3 -12
  14. package/dist-es/models/models_4.js +22 -13
  15. package/dist-es/models/models_5.js +13 -0
  16. package/dist-es/models/models_6.js +0 -12
  17. package/dist-es/models/models_7.js +12 -14
  18. package/dist-es/models/models_8.js +14 -0
  19. package/dist-es/pagination/DescribeVpnConcentratorsPaginator.js +4 -0
  20. package/dist-es/pagination/index.js +1 -0
  21. package/dist-es/schemas/schemas_0.js +592 -64
  22. package/dist-types/EC2.d.ts +52 -0
  23. package/dist-types/EC2Client.d.ts +9 -2
  24. package/dist-types/commands/AcceptAddressTransferCommand.d.ts +1 -1
  25. package/dist-types/commands/AcceptTransitGatewayMulticastDomainAssociationsCommand.d.ts +1 -1
  26. package/dist-types/commands/AllocateAddressCommand.d.ts +1 -1
  27. package/dist-types/commands/AllocateHostsCommand.d.ts +1 -1
  28. package/dist-types/commands/AssociateIpamResourceDiscoveryCommand.d.ts +1 -1
  29. package/dist-types/commands/AssociateTransitGatewayMulticastDomainCommand.d.ts +1 -1
  30. package/dist-types/commands/AssociateTransitGatewayPolicyTableCommand.d.ts +1 -1
  31. package/dist-types/commands/AssociateTransitGatewayRouteTableCommand.d.ts +1 -1
  32. package/dist-types/commands/AuthorizeSecurityGroupEgressCommand.d.ts +1 -1
  33. package/dist-types/commands/AuthorizeSecurityGroupIngressCommand.d.ts +1 -1
  34. package/dist-types/commands/CopyImageCommand.d.ts +1 -1
  35. package/dist-types/commands/CopySnapshotCommand.d.ts +1 -1
  36. package/dist-types/commands/CopyVolumesCommand.d.ts +1 -1
  37. package/dist-types/commands/CreateCapacityManagerDataExportCommand.d.ts +1 -1
  38. package/dist-types/commands/CreateCapacityReservationBySplittingCommand.d.ts +1 -1
  39. package/dist-types/commands/CreateCapacityReservationCommand.d.ts +1 -1
  40. package/dist-types/commands/CreateCapacityReservationFleetCommand.d.ts +1 -1
  41. package/dist-types/commands/CreateCarrierGatewayCommand.d.ts +1 -1
  42. package/dist-types/commands/CreateClientVpnEndpointCommand.d.ts +1 -1
  43. package/dist-types/commands/CreateCoipPoolCommand.d.ts +1 -1
  44. package/dist-types/commands/CreateCustomerGatewayCommand.d.ts +1 -1
  45. package/dist-types/commands/CreateDelegateMacVolumeOwnershipTaskCommand.d.ts +1 -1
  46. package/dist-types/commands/CreateDhcpOptionsCommand.d.ts +1 -1
  47. package/dist-types/commands/CreateEgressOnlyInternetGatewayCommand.d.ts +1 -1
  48. package/dist-types/commands/CreateFleetCommand.d.ts +1 -1
  49. package/dist-types/commands/CreateFlowLogsCommand.d.ts +1 -1
  50. package/dist-types/commands/CreateFpgaImageCommand.d.ts +1 -1
  51. package/dist-types/commands/CreateImageCommand.d.ts +1 -1
  52. package/dist-types/commands/CreateImageUsageReportCommand.d.ts +1 -1
  53. package/dist-types/commands/CreateInstanceConnectEndpointCommand.d.ts +1 -1
  54. package/dist-types/commands/CreateInstanceEventWindowCommand.d.ts +1 -1
  55. package/dist-types/commands/CreateInstanceExportTaskCommand.d.ts +1 -1
  56. package/dist-types/commands/CreateInternetGatewayCommand.d.ts +1 -1
  57. package/dist-types/commands/CreateIpamCommand.d.ts +1 -1
  58. package/dist-types/commands/CreateIpamExternalResourceVerificationTokenCommand.d.ts +1 -1
  59. package/dist-types/commands/CreateIpamPoolCommand.d.ts +1 -1
  60. package/dist-types/commands/CreateIpamPrefixListResolverCommand.d.ts +1 -1
  61. package/dist-types/commands/CreateIpamPrefixListResolverTargetCommand.d.ts +1 -1
  62. package/dist-types/commands/CreateIpamResourceDiscoveryCommand.d.ts +1 -1
  63. package/dist-types/commands/CreateIpamScopeCommand.d.ts +1 -1
  64. package/dist-types/commands/CreateKeyPairCommand.d.ts +1 -1
  65. package/dist-types/commands/CreateLaunchTemplateCommand.d.ts +2 -2
  66. package/dist-types/commands/CreateLaunchTemplateVersionCommand.d.ts +2 -2
  67. package/dist-types/commands/CreateLocalGatewayRouteTableCommand.d.ts +1 -1
  68. package/dist-types/commands/CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationCommand.d.ts +1 -1
  69. package/dist-types/commands/CreateLocalGatewayRouteTableVpcAssociationCommand.d.ts +1 -1
  70. package/dist-types/commands/CreateLocalGatewayVirtualInterfaceCommand.d.ts +1 -1
  71. package/dist-types/commands/CreateLocalGatewayVirtualInterfaceGroupCommand.d.ts +1 -1
  72. package/dist-types/commands/CreateMacSystemIntegrityProtectionModificationTaskCommand.d.ts +1 -1
  73. package/dist-types/commands/CreateManagedPrefixListCommand.d.ts +1 -1
  74. package/dist-types/commands/CreateNatGatewayCommand.d.ts +1 -1
  75. package/dist-types/commands/CreateNetworkAclCommand.d.ts +1 -1
  76. package/dist-types/commands/CreateNetworkInsightsAccessScopeCommand.d.ts +1 -1
  77. package/dist-types/commands/CreateNetworkInsightsPathCommand.d.ts +1 -1
  78. package/dist-types/commands/CreateNetworkInterfaceCommand.d.ts +1 -1
  79. package/dist-types/commands/CreatePlacementGroupCommand.d.ts +1 -1
  80. package/dist-types/commands/CreatePublicIpv4PoolCommand.d.ts +1 -1
  81. package/dist-types/commands/CreateReplaceRootVolumeTaskCommand.d.ts +1 -1
  82. package/dist-types/commands/CreateRestoreImageTaskCommand.d.ts +1 -1
  83. package/dist-types/commands/CreateRouteServerCommand.d.ts +1 -1
  84. package/dist-types/commands/CreateRouteServerEndpointCommand.d.ts +1 -1
  85. package/dist-types/commands/CreateRouteServerPeerCommand.d.ts +1 -1
  86. package/dist-types/commands/CreateRouteTableCommand.d.ts +1 -1
  87. package/dist-types/commands/CreateSecurityGroupCommand.d.ts +1 -1
  88. package/dist-types/commands/CreateSnapshotCommand.d.ts +1 -1
  89. package/dist-types/commands/CreateSnapshotsCommand.d.ts +1 -1
  90. package/dist-types/commands/CreateSubnetCidrReservationCommand.d.ts +1 -1
  91. package/dist-types/commands/CreateSubnetCommand.d.ts +1 -1
  92. package/dist-types/commands/CreateTrafficMirrorFilterCommand.d.ts +1 -1
  93. package/dist-types/commands/CreateTrafficMirrorFilterRuleCommand.d.ts +1 -1
  94. package/dist-types/commands/CreateTrafficMirrorSessionCommand.d.ts +1 -1
  95. package/dist-types/commands/CreateTrafficMirrorTargetCommand.d.ts +1 -1
  96. package/dist-types/commands/CreateTransitGatewayCommand.d.ts +1 -1
  97. package/dist-types/commands/CreateTransitGatewayConnectCommand.d.ts +1 -1
  98. package/dist-types/commands/CreateTransitGatewayConnectPeerCommand.d.ts +1 -1
  99. package/dist-types/commands/CreateTransitGatewayMulticastDomainCommand.d.ts +1 -1
  100. package/dist-types/commands/CreateTransitGatewayPeeringAttachmentCommand.d.ts +1 -1
  101. package/dist-types/commands/CreateTransitGatewayPolicyTableCommand.d.ts +1 -1
  102. package/dist-types/commands/CreateTransitGatewayPrefixListReferenceCommand.d.ts +1 -1
  103. package/dist-types/commands/CreateTransitGatewayRouteCommand.d.ts +1 -1
  104. package/dist-types/commands/CreateTransitGatewayRouteTableAnnouncementCommand.d.ts +1 -1
  105. package/dist-types/commands/CreateTransitGatewayRouteTableCommand.d.ts +1 -1
  106. package/dist-types/commands/CreateTransitGatewayVpcAttachmentCommand.d.ts +1 -1
  107. package/dist-types/commands/CreateVerifiedAccessEndpointCommand.d.ts +1 -1
  108. package/dist-types/commands/CreateVerifiedAccessGroupCommand.d.ts +1 -1
  109. package/dist-types/commands/CreateVerifiedAccessInstanceCommand.d.ts +1 -1
  110. package/dist-types/commands/CreateVerifiedAccessTrustProviderCommand.d.ts +1 -1
  111. package/dist-types/commands/CreateVolumeCommand.d.ts +1 -1
  112. package/dist-types/commands/CreateVpcBlockPublicAccessExclusionCommand.d.ts +1 -1
  113. package/dist-types/commands/CreateVpcCommand.d.ts +1 -1
  114. package/dist-types/commands/CreateVpcEndpointCommand.d.ts +1 -1
  115. package/dist-types/commands/CreateVpcEndpointServiceConfigurationCommand.d.ts +1 -1
  116. package/dist-types/commands/CreateVpcPeeringConnectionCommand.d.ts +1 -1
  117. package/dist-types/commands/CreateVpnConcentratorCommand.d.ts +99 -0
  118. package/dist-types/commands/CreateVpnConnectionCommand.d.ts +3 -1
  119. package/dist-types/commands/CreateVpnGatewayCommand.d.ts +1 -1
  120. package/dist-types/commands/DeleteTransitGatewayPrefixListReferenceCommand.d.ts +1 -1
  121. package/dist-types/commands/DeleteTransitGatewayRouteCommand.d.ts +1 -1
  122. package/dist-types/commands/DeleteVpnConcentratorCommand.d.ts +75 -0
  123. package/dist-types/commands/DescribeAvailabilityZonesCommand.d.ts +2 -1
  124. package/dist-types/commands/DescribeAwsNetworkPerformanceMetricSubscriptionsCommand.d.ts +1 -2
  125. package/dist-types/commands/DescribeInstanceSqlHaHistoryStatesCommand.d.ts +106 -0
  126. package/dist-types/commands/DescribeInstanceSqlHaStatesCommand.d.ts +104 -0
  127. package/dist-types/commands/DescribeInstanceStatusCommand.d.ts +2 -1
  128. package/dist-types/commands/DescribeInstanceTopologyCommand.d.ts +1 -1
  129. package/dist-types/commands/DescribeInstanceTypeOfferingsCommand.d.ts +1 -1
  130. package/dist-types/commands/DescribeLaunchTemplateVersionsCommand.d.ts +1 -1
  131. package/dist-types/commands/DescribeSpotFleetRequestsCommand.d.ts +2 -2
  132. package/dist-types/commands/DescribeTagsCommand.d.ts +1 -1
  133. package/dist-types/commands/DescribeTransitGatewayAttachmentsCommand.d.ts +1 -1
  134. package/dist-types/commands/DescribeTransitGatewayMulticastDomainsCommand.d.ts +2 -1
  135. package/dist-types/commands/DescribeTransitGatewayPeeringAttachmentsCommand.d.ts +1 -1
  136. package/dist-types/commands/DescribeTransitGatewayPolicyTablesCommand.d.ts +1 -1
  137. package/dist-types/commands/DescribeTransitGatewayRouteTableAnnouncementsCommand.d.ts +1 -1
  138. package/dist-types/commands/DescribeTransitGatewayRouteTablesCommand.d.ts +1 -1
  139. package/dist-types/commands/DescribeTransitGatewayVpcAttachmentsCommand.d.ts +1 -1
  140. package/dist-types/commands/DescribeTransitGatewaysCommand.d.ts +1 -1
  141. package/dist-types/commands/DescribeVpnConcentratorsCommand.d.ts +102 -0
  142. package/dist-types/commands/DescribeVpnConnectionsCommand.d.ts +1 -0
  143. package/dist-types/commands/DisableInstanceSqlHaStandbyDetectionsCommand.d.ts +95 -0
  144. package/dist-types/commands/DisableTransitGatewayRouteTablePropagationCommand.d.ts +1 -1
  145. package/dist-types/commands/DisassociateTransitGatewayMulticastDomainCommand.d.ts +1 -1
  146. package/dist-types/commands/DisassociateTransitGatewayPolicyTableCommand.d.ts +1 -1
  147. package/dist-types/commands/DisassociateTransitGatewayRouteTableCommand.d.ts +1 -1
  148. package/dist-types/commands/EnableInstanceSqlHaStandbyDetectionsCommand.d.ts +102 -0
  149. package/dist-types/commands/EnableTransitGatewayRouteTablePropagationCommand.d.ts +1 -1
  150. package/dist-types/commands/ExportImageCommand.d.ts +1 -1
  151. package/dist-types/commands/GetConsoleOutputCommand.d.ts +1 -1
  152. package/dist-types/commands/GetConsoleScreenshotCommand.d.ts +1 -1
  153. package/dist-types/commands/GetDeclarativePoliciesReportSummaryCommand.d.ts +1 -1
  154. package/dist-types/commands/GetDefaultCreditSpecificationCommand.d.ts +1 -1
  155. package/dist-types/commands/GetEbsDefaultKmsKeyIdCommand.d.ts +1 -1
  156. package/dist-types/commands/GetEbsEncryptionByDefaultCommand.d.ts +1 -1
  157. package/dist-types/commands/GetImageAncestryCommand.d.ts +1 -1
  158. package/dist-types/commands/GetLaunchTemplateDataCommand.d.ts +1 -1
  159. package/dist-types/commands/GetTransitGatewayMulticastDomainAssociationsCommand.d.ts +1 -1
  160. package/dist-types/commands/GetTransitGatewayPolicyTableAssociationsCommand.d.ts +1 -1
  161. package/dist-types/commands/GetTransitGatewayPrefixListReferencesCommand.d.ts +1 -1
  162. package/dist-types/commands/GetTransitGatewayRouteTableAssociationsCommand.d.ts +1 -1
  163. package/dist-types/commands/GetTransitGatewayRouteTablePropagationsCommand.d.ts +1 -1
  164. package/dist-types/commands/ImportImageCommand.d.ts +1 -1
  165. package/dist-types/commands/ImportKeyPairCommand.d.ts +1 -1
  166. package/dist-types/commands/ImportSnapshotCommand.d.ts +1 -1
  167. package/dist-types/commands/ModifySnapshotAttributeCommand.d.ts +1 -1
  168. package/dist-types/commands/ModifySnapshotTierCommand.d.ts +1 -1
  169. package/dist-types/commands/ModifySpotFleetRequestCommand.d.ts +1 -1
  170. package/dist-types/commands/ModifySubnetAttributeCommand.d.ts +1 -1
  171. package/dist-types/commands/ModifyTrafficMirrorFilterNetworkServicesCommand.d.ts +1 -1
  172. package/dist-types/commands/ModifyTrafficMirrorFilterRuleCommand.d.ts +1 -1
  173. package/dist-types/commands/ModifyTrafficMirrorSessionCommand.d.ts +1 -1
  174. package/dist-types/commands/ModifyTransitGatewayCommand.d.ts +1 -1
  175. package/dist-types/commands/ModifyTransitGatewayPrefixListReferenceCommand.d.ts +1 -1
  176. package/dist-types/commands/ModifyVpnConnectionCommand.d.ts +1 -0
  177. package/dist-types/commands/ModifyVpnConnectionOptionsCommand.d.ts +1 -0
  178. package/dist-types/commands/ModifyVpnTunnelCertificateCommand.d.ts +1 -0
  179. package/dist-types/commands/ModifyVpnTunnelOptionsCommand.d.ts +1 -0
  180. package/dist-types/commands/ProvisionByoipCidrCommand.d.ts +1 -1
  181. package/dist-types/commands/PurchaseCapacityBlockCommand.d.ts +1 -1
  182. package/dist-types/commands/PurchaseHostReservationCommand.d.ts +1 -1
  183. package/dist-types/commands/RegisterImageCommand.d.ts +1 -1
  184. package/dist-types/commands/RejectTransitGatewayMulticastDomainAssociationsCommand.d.ts +1 -1
  185. package/dist-types/commands/ReplaceTransitGatewayRouteCommand.d.ts +1 -1
  186. package/dist-types/commands/RequestSpotFleetCommand.d.ts +2 -2
  187. package/dist-types/commands/RequestSpotInstancesCommand.d.ts +1 -1
  188. package/dist-types/commands/RunInstancesCommand.d.ts +1 -1
  189. package/dist-types/commands/SearchTransitGatewayMulticastGroupsCommand.d.ts +1 -1
  190. package/dist-types/commands/SearchTransitGatewayRoutesCommand.d.ts +1 -1
  191. package/dist-types/commands/StartDeclarativePoliciesReportCommand.d.ts +1 -1
  192. package/dist-types/commands/StartNetworkInsightsAccessScopeAnalysisCommand.d.ts +1 -1
  193. package/dist-types/commands/StartNetworkInsightsAnalysisCommand.d.ts +1 -1
  194. package/dist-types/commands/index.d.ts +7 -0
  195. package/dist-types/models/models_0.d.ts +2 -0
  196. package/dist-types/models/models_3.d.ts +121 -167
  197. package/dist-types/models/models_4.d.ts +453 -441
  198. package/dist-types/models/models_5.d.ts +1606 -1612
  199. package/dist-types/models/models_6.d.ts +552 -387
  200. package/dist-types/models/models_7.d.ts +4608 -4809
  201. package/dist-types/models/models_8.d.ts +584 -3
  202. package/dist-types/pagination/DescribeVpnConcentratorsPaginator.d.ts +7 -0
  203. package/dist-types/pagination/index.d.ts +1 -0
  204. package/dist-types/schemas/schemas_0.d.ts +27 -0
  205. package/dist-types/ts3.4/EC2.d.ts +140 -0
  206. package/dist-types/ts3.4/EC2Client.d.ts +42 -0
  207. package/dist-types/ts3.4/commands/CreateVpnConcentratorCommand.d.ts +51 -0
  208. package/dist-types/ts3.4/commands/DeleteVpnConcentratorCommand.d.ts +51 -0
  209. package/dist-types/ts3.4/commands/DescribeAvailabilityZonesCommand.d.ts +2 -4
  210. package/dist-types/ts3.4/commands/DescribeAwsNetworkPerformanceMetricSubscriptionsCommand.d.ts +4 -2
  211. package/dist-types/ts3.4/commands/DescribeInstanceSqlHaHistoryStatesCommand.d.ts +51 -0
  212. package/dist-types/ts3.4/commands/DescribeInstanceSqlHaStatesCommand.d.ts +51 -0
  213. package/dist-types/ts3.4/commands/DescribeInstanceStatusCommand.d.ts +2 -4
  214. package/dist-types/ts3.4/commands/DescribeInstanceTopologyCommand.d.ts +1 -1
  215. package/dist-types/ts3.4/commands/DescribeInstanceTypeOfferingsCommand.d.ts +1 -1
  216. package/dist-types/ts3.4/commands/DescribeTransitGatewayMulticastDomainsCommand.d.ts +2 -4
  217. package/dist-types/ts3.4/commands/DescribeTransitGatewayPeeringAttachmentsCommand.d.ts +1 -1
  218. package/dist-types/ts3.4/commands/DescribeTransitGatewayPolicyTablesCommand.d.ts +1 -1
  219. package/dist-types/ts3.4/commands/DescribeTransitGatewayRouteTableAnnouncementsCommand.d.ts +1 -1
  220. package/dist-types/ts3.4/commands/DescribeTransitGatewayRouteTablesCommand.d.ts +1 -1
  221. package/dist-types/ts3.4/commands/DescribeTransitGatewayVpcAttachmentsCommand.d.ts +1 -1
  222. package/dist-types/ts3.4/commands/DescribeTransitGatewaysCommand.d.ts +1 -1
  223. package/dist-types/ts3.4/commands/DescribeVpnConcentratorsCommand.d.ts +51 -0
  224. package/dist-types/ts3.4/commands/DisableInstanceSqlHaStandbyDetectionsCommand.d.ts +51 -0
  225. package/dist-types/ts3.4/commands/EnableInstanceSqlHaStandbyDetectionsCommand.d.ts +51 -0
  226. package/dist-types/ts3.4/commands/GetConsoleOutputCommand.d.ts +1 -1
  227. package/dist-types/ts3.4/commands/GetConsoleScreenshotCommand.d.ts +1 -1
  228. package/dist-types/ts3.4/commands/GetDeclarativePoliciesReportSummaryCommand.d.ts +1 -1
  229. package/dist-types/ts3.4/commands/GetDefaultCreditSpecificationCommand.d.ts +1 -1
  230. package/dist-types/ts3.4/commands/GetEbsDefaultKmsKeyIdCommand.d.ts +1 -1
  231. package/dist-types/ts3.4/commands/GetEbsEncryptionByDefaultCommand.d.ts +1 -1
  232. package/dist-types/ts3.4/commands/ModifySnapshotAttributeCommand.d.ts +1 -1
  233. package/dist-types/ts3.4/commands/ModifySnapshotTierCommand.d.ts +1 -1
  234. package/dist-types/ts3.4/commands/ModifySpotFleetRequestCommand.d.ts +1 -1
  235. package/dist-types/ts3.4/commands/ModifySubnetAttributeCommand.d.ts +1 -1
  236. package/dist-types/ts3.4/commands/ModifyTrafficMirrorFilterNetworkServicesCommand.d.ts +1 -1
  237. package/dist-types/ts3.4/commands/ModifyTrafficMirrorFilterRuleCommand.d.ts +1 -1
  238. package/dist-types/ts3.4/commands/ModifyTrafficMirrorSessionCommand.d.ts +1 -1
  239. package/dist-types/ts3.4/commands/ModifyTransitGatewayCommand.d.ts +1 -1
  240. package/dist-types/ts3.4/commands/index.d.ts +7 -0
  241. package/dist-types/ts3.4/models/models_0.d.ts +2 -0
  242. package/dist-types/ts3.4/models/models_3.d.ts +31 -42
  243. package/dist-types/ts3.4/models/models_4.d.ts +88 -85
  244. package/dist-types/ts3.4/models/models_5.d.ts +91 -81
  245. package/dist-types/ts3.4/models/models_6.d.ts +112 -99
  246. package/dist-types/ts3.4/models/models_7.d.ts +99 -152
  247. package/dist-types/ts3.4/models/models_8.d.ts +150 -1
  248. package/dist-types/ts3.4/pagination/DescribeVpnConcentratorsPaginator.d.ts +11 -0
  249. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  250. package/dist-types/ts3.4/schemas/schemas_0.d.ts +27 -0
  251. package/package.json +6 -6
@@ -1,101 +1,526 @@
1
- import { ActiveInstance, ActivityStatus, AllocationStrategy, AlternatePathHint, BatchState, CurrencyCodeValues, Explanation, IamInstanceProfileSpecification, IpamResourceDiscoveryAssociation, IpPermission, PathComponent, ReservedInstancesListing, ResourceType, SecurityGroupRule, SecurityGroupVpcAssociationState, Tag, TagSpecification, TransitGatewayAssociationState, TransitGatewayAttachmentResourceType, TransitGatewayAttachmentState, TransitGatewayPeeringAttachment, TransitGatewayVpcAttachment, UserIdGroupPair } from "./models_0";
2
- import { _InstanceType, AttributeValue, BlockDeviceMapping, ConnectionTrackingSpecificationRequest, EnaSrdSpecificationRequest, FleetLaunchTemplateSpecification, FleetType, InstanceInterruptionBehavior, InstanceRequirements, InternetGateway, Ipam, IpamExternalResourceVerificationToken, IpamPool, IpamPrefixListResolver, IpamPrefixListResolverTarget, IpamResourceDiscovery, IpamScope, Ipv4PrefixSpecificationRequest, Ipv6PrefixSpecificationRequest, KeyType, MacModificationTask, SpotInstanceType, Subnet, TargetCapacityUnitType, Tenancy } from "./models_1";
3
- import { GroupIdentifier, InstanceIpv6Address, LaunchTemplate, LaunchTemplateVersion, LocalGatewayRouteTable, LocalGatewayRouteTableVirtualInterfaceGroupAssociation, LocalGatewayRouteTableVpcAssociation, LocalGatewayVirtualInterface, LocalGatewayVirtualInterfaceGroup, ManagedPrefixList, NatGateway, NetworkAcl, NetworkInsightsAccessScope, NetworkInsightsPath, NetworkInterface, NetworkInterfaceAttachment, NetworkInterfacePermission, PlacementGroup, PrivateIpAddressSpecification, ReplaceRootVolumeTask, RouteServer, RouteServerEndpoint, RouteServerPeer, RouteTable, Snapshot, SnapshotState, SpotDatafeedSubscription, SpotInstanceStateFault, StorageTier, TrafficMirrorFilter, TrafficMirrorFilterRule, TrafficMirrorSession, TrafficMirrorTarget, TransitGateway, TransitGatewayConnect, TransitGatewayConnectPeer, TransitGatewayMulticastDomain, TransitGatewayPolicyTable, TransitGatewayRouteTable, TransitGatewayRouteTableAnnouncement } from "./models_2";
1
+ import { ActiveInstance, ActivityStatus, AllocationStrategy, AlternatePathHint, BatchState, CurrencyCodeValues, Explanation, IamInstanceProfileSpecification, IpamResourceDiscoveryAssociation, IpPermission, PathComponent, ReservedInstancesListing, ResourceType, SecurityGroupRule, SecurityGroupVpcAssociationState, Tag, TagSpecification, TransitGatewayAssociationState, TransitGatewayAttachmentResourceType, TransitGatewayAttachmentState, UserIdGroupPair } from "./models_0";
2
+ import { _InstanceType, AttributeValue, BlockDeviceMapping, ConnectionTrackingSpecificationRequest, EnaSrdSpecificationRequest, FleetLaunchTemplateSpecification, FleetType, InstanceInterruptionBehavior, InstanceRequirements, InternetGateway, Ipam, IpamExternalResourceVerificationToken, IpamPool, IpamPrefixListResolver, IpamPrefixListResolverTarget, IpamResourceDiscovery, IpamScope, Ipv4PrefixSpecificationRequest, Ipv6PrefixSpecificationRequest, KeyType, MacModificationTask, OperatorResponse, SpotInstanceType, Subnet, TargetCapacityUnitType, Tenancy } from "./models_1";
3
+ import { GroupIdentifier, InstanceIpv6Address, LaunchTemplate, LaunchTemplateVersion, LocalGatewayRouteTable, LocalGatewayRouteTableVirtualInterfaceGroupAssociation, LocalGatewayRouteTableVpcAssociation, LocalGatewayVirtualInterface, LocalGatewayVirtualInterfaceGroup, ManagedPrefixList, NatGateway, NetworkAcl, NetworkInsightsAccessScope, NetworkInsightsPath, NetworkInterface, NetworkInterfaceAttachment, NetworkInterfacePermission, PlacementGroup, PrivateIpAddressSpecification, ReplaceRootVolumeTask, RouteServer, RouteServerEndpoint, RouteServerPeer, RouteTable, Snapshot, SnapshotState, SpotDatafeedSubscription, SpotInstanceStateFault, StorageTier, TrafficMirrorFilter, TrafficMirrorFilterRule, TrafficMirrorSession, TrafficMirrorTarget, TransitGatewayConnect, TransitGatewayConnectPeer } from "./models_2";
4
4
  import { Byoasn, Filter, IdFormat } from "./models_3";
5
- import { AttributeBooleanValue, EventInformation, PermissionGroup, ProductCode, VirtualizationType } from "./models_4";
5
+ import { AttributeBooleanValue, EbsStatusSummary, EventInformation, InstanceState, PermissionGroup, ProductCode, StatusName, StatusType, SummaryStatus, VirtualizationType } from "./models_4";
6
6
  /**
7
7
  * @public
8
+ * @enum
8
9
  */
9
- export interface DescribeInstanceTypesRequest {
10
+ export declare const EventCode: {
11
+ readonly instance_reboot: "instance-reboot";
12
+ readonly instance_retirement: "instance-retirement";
13
+ readonly instance_stop: "instance-stop";
14
+ readonly system_maintenance: "system-maintenance";
15
+ readonly system_reboot: "system-reboot";
16
+ };
17
+ /**
18
+ * @public
19
+ */
20
+ export type EventCode = (typeof EventCode)[keyof typeof EventCode];
21
+ /**
22
+ * <p>Describes a scheduled event for an instance.</p>
23
+ * @public
24
+ */
25
+ export interface InstanceStatusEvent {
10
26
  /**
11
- * <p>Checks whether you have the required permissions for the action, without actually making the request,
12
- * and provides an error response. If you have the required permissions, the error response is
13
- * <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.</p>
27
+ * <p>The ID of the event.</p>
28
+ * @public
29
+ */
30
+ InstanceEventId?: string | undefined;
31
+ /**
32
+ * <p>The event code.</p>
33
+ * @public
34
+ */
35
+ Code?: EventCode | undefined;
36
+ /**
37
+ * <p>A description of the event.</p>
38
+ * <p>After a scheduled event is completed, it can still be described for up to a week. If
39
+ * the event has been completed, this description starts with the following text:
40
+ * [Completed].</p>
41
+ * @public
42
+ */
43
+ Description?: string | undefined;
44
+ /**
45
+ * <p>The latest scheduled end time for the event.</p>
46
+ * @public
47
+ */
48
+ NotAfter?: Date | undefined;
49
+ /**
50
+ * <p>The earliest scheduled start time for the event.</p>
51
+ * @public
52
+ */
53
+ NotBefore?: Date | undefined;
54
+ /**
55
+ * <p>The deadline for starting the event.</p>
56
+ * @public
57
+ */
58
+ NotBeforeDeadline?: Date | undefined;
59
+ }
60
+ /**
61
+ * <p>Describes the instance status.</p>
62
+ * @public
63
+ */
64
+ export interface InstanceStatusDetails {
65
+ /**
66
+ * <p>The time when a status check failed. For an instance that was launched and impaired,
67
+ * this is the time when the instance was launched.</p>
68
+ * @public
69
+ */
70
+ ImpairedSince?: Date | undefined;
71
+ /**
72
+ * <p>The type of instance status.</p>
73
+ * @public
74
+ */
75
+ Name?: StatusName | undefined;
76
+ /**
77
+ * <p>The status.</p>
78
+ * @public
79
+ */
80
+ Status?: StatusType | undefined;
81
+ }
82
+ /**
83
+ * <p>Describes the status of an instance.</p>
84
+ * @public
85
+ */
86
+ export interface InstanceStatusSummary {
87
+ /**
88
+ * <p>The system instance health or application instance health.</p>
89
+ * @public
90
+ */
91
+ Details?: InstanceStatusDetails[] | undefined;
92
+ /**
93
+ * <p>The status.</p>
94
+ * @public
95
+ */
96
+ Status?: SummaryStatus | undefined;
97
+ }
98
+ /**
99
+ * <p>Describes the status of an instance.</p>
100
+ * @public
101
+ */
102
+ export interface InstanceStatus {
103
+ /**
104
+ * <p>The Availability Zone of the instance.</p>
105
+ * @public
106
+ */
107
+ AvailabilityZone?: string | undefined;
108
+ /**
109
+ * <p>The ID of the Availability Zone of the instance.</p>
110
+ * @public
111
+ */
112
+ AvailabilityZoneId?: string | undefined;
113
+ /**
114
+ * <p>The Amazon Resource Name (ARN) of the Outpost.</p>
115
+ * @public
116
+ */
117
+ OutpostArn?: string | undefined;
118
+ /**
119
+ * <p>The service provider that manages the instance.</p>
120
+ * @public
121
+ */
122
+ Operator?: OperatorResponse | undefined;
123
+ /**
124
+ * <p>Any scheduled events associated with the instance.</p>
125
+ * @public
126
+ */
127
+ Events?: InstanceStatusEvent[] | undefined;
128
+ /**
129
+ * <p>The ID of the instance.</p>
130
+ * @public
131
+ */
132
+ InstanceId?: string | undefined;
133
+ /**
134
+ * <p>The intended state of the instance. <a>DescribeInstanceStatus</a> requires
135
+ * that an instance be in the <code>running</code> state.</p>
136
+ * @public
137
+ */
138
+ InstanceState?: InstanceState | undefined;
139
+ /**
140
+ * <p>Reports impaired functionality that stems from issues internal to the instance, such
141
+ * as impaired reachability.</p>
142
+ * @public
143
+ */
144
+ InstanceStatus?: InstanceStatusSummary | undefined;
145
+ /**
146
+ * <p>Reports impaired functionality that stems from issues related to the systems that
147
+ * support an instance, such as hardware failures and network connectivity problems.</p>
148
+ * @public
149
+ */
150
+ SystemStatus?: InstanceStatusSummary | undefined;
151
+ /**
152
+ * <p>Reports impaired functionality that stems from an attached Amazon EBS volume that is
153
+ * unreachable and unable to complete I/O operations.</p>
154
+ * @public
155
+ */
156
+ AttachedEbsStatus?: EbsStatusSummary | undefined;
157
+ }
158
+ /**
159
+ * @public
160
+ */
161
+ export interface DescribeInstanceStatusResult {
162
+ /**
163
+ * <p>Information about the status of the instances.</p>
164
+ * @public
165
+ */
166
+ InstanceStatuses?: InstanceStatus[] | undefined;
167
+ /**
168
+ * <p>The token to include in another request to get the next page of items. This value is <code>null</code> when there
169
+ * are no more items to return.</p>
170
+ * @public
171
+ */
172
+ NextToken?: string | undefined;
173
+ }
174
+ /**
175
+ * @public
176
+ */
177
+ export interface DescribeInstanceTopologyRequest {
178
+ /**
179
+ * <p>Checks whether you have the required permissions for the operation, without actually making the
180
+ * request, and provides an error response. If you have the required permissions, the error response is
181
+ * <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.</p>
14
182
  * @public
15
183
  */
16
184
  DryRun?: boolean | undefined;
17
185
  /**
18
- * <p>The instance types.</p>
186
+ * <p>The token returned from a previous paginated request. Pagination continues from the end of the items returned by the previous request.</p>
19
187
  * @public
20
188
  */
21
- InstanceTypes?: _InstanceType[] | undefined;
189
+ NextToken?: string | undefined;
22
190
  /**
23
- * <p>One or more filters. Filter names and values are case-sensitive.</p>
191
+ * <p>The maximum number of items to return for this request.
192
+ * To get the next page of items, make another request with the token returned in the output.
193
+ * For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination">Pagination</a>.</p>
194
+ * <p>You can't specify this parameter and the instance IDs parameter in the same
195
+ * request.</p>
196
+ * <p>Default: <code>20</code>
197
+ * </p>
198
+ * @public
199
+ */
200
+ MaxResults?: number | undefined;
201
+ /**
202
+ * <p>The instance IDs.</p>
203
+ * <p>Default: Describes all your instances.</p>
204
+ * <p>Constraints: Maximum 100 explicitly specified instance IDs.</p>
205
+ * @public
206
+ */
207
+ InstanceIds?: string[] | undefined;
208
+ /**
209
+ * <p>The name of the placement group that each instance is in.</p>
210
+ * <p>Constraints: Maximum 100 explicitly specified placement group names.</p>
211
+ * @public
212
+ */
213
+ GroupNames?: string[] | undefined;
214
+ /**
215
+ * <p>The filters.</p>
24
216
  * <ul>
25
217
  * <li>
26
218
  * <p>
27
- * <code>auto-recovery-supported</code> - Indicates whether Amazon CloudWatch action
28
- * based recovery is supported (<code>true</code> | <code>false</code>).</p>
29
- * </li>
30
- * <li>
31
- * <p>
32
- * <code>bare-metal</code> - Indicates whether it is a bare metal instance type
33
- * (<code>true</code> | <code>false</code>).</p>
34
- * </li>
35
- * <li>
36
- * <p>
37
- * <code>burstable-performance-supported</code> - Indicates whether the instance type is a
38
- * burstable performance T instance type (<code>true</code> | <code>false</code>).</p>
39
- * </li>
40
- * <li>
41
- * <p>
42
- * <code>current-generation</code> - Indicates whether this instance type is the latest
43
- * generation instance type of an instance family (<code>true</code> | <code>false</code>).</p>
219
+ * <code>availability-zone</code> - The name of the Availability Zone (for
220
+ * example, <code>us-west-2a</code>) or Local Zone (for example,
221
+ * <code>us-west-2-lax-1b</code>) that the instance is in.</p>
44
222
  * </li>
45
223
  * <li>
46
224
  * <p>
47
- * <code>dedicated-hosts-supported</code> - Indicates whether the instance type supports
48
- * Dedicated Hosts. (<code>true</code> | <code>false</code>)</p>
225
+ * <code>instance-type</code> - The instance type (for example,
226
+ * <code>p4d.24xlarge</code>) or instance family (for example,
227
+ * <code>p4d*</code>). You can use the <code>*</code> wildcard to match zero or
228
+ * more characters, or the <code>?</code> wildcard to match zero or one
229
+ * character.</p>
49
230
  * </li>
50
231
  * <li>
51
232
  * <p>
52
- * <code>ebs-info.attachment-limit-type</code> - The type of Amazon EBS volume attachment limit
53
- * (<code>shared</code> | <code>dedicated</code>).</p>
233
+ * <code>zone-id</code> - The ID of the Availability Zone (for example,
234
+ * <code>usw2-az2</code>) or Local Zone (for example,
235
+ * <code>usw2-lax1-az1</code>) that the instance is in.</p>
54
236
  * </li>
237
+ * </ul>
238
+ * @public
239
+ */
240
+ Filters?: Filter[] | undefined;
241
+ }
242
+ /**
243
+ * <p>Information about the instance topology.</p>
244
+ * @public
245
+ */
246
+ export interface InstanceTopology {
247
+ /**
248
+ * <p>The instance ID.</p>
249
+ * @public
250
+ */
251
+ InstanceId?: string | undefined;
252
+ /**
253
+ * <p>The instance type.</p>
254
+ * @public
255
+ */
256
+ InstanceType?: string | undefined;
257
+ /**
258
+ * <p>The name of the placement group that the instance is in.</p>
259
+ * @public
260
+ */
261
+ GroupName?: string | undefined;
262
+ /**
263
+ * <p>The network nodes. The nodes are hashed based on your account. Instances from
264
+ * different accounts running under the same server will return a different hashed list of
265
+ * strings.</p>
266
+ * <p>The value is <code>null</code> or empty if:</p>
267
+ * <ul>
55
268
  * <li>
56
- * <p>
57
- * <code>ebs-info.maximum-ebs-attachments</code> - The maximum number of Amazon EBS volumes that
58
- * can be attached to the instance type.</p>
269
+ * <p>The instance type is not supported.</p>
59
270
  * </li>
60
271
  * <li>
61
- * <p>
62
- * <code>ebs-info.ebs-optimized-info.baseline-bandwidth-in-mbps</code> - The baseline
63
- * bandwidth performance for an EBS-optimized instance type, in Mbps.</p>
272
+ * <p>The instance is in a state other than <code>running</code>.</p>
64
273
  * </li>
274
+ * </ul>
275
+ * @public
276
+ */
277
+ NetworkNodes?: string[] | undefined;
278
+ /**
279
+ * <p>The name of the Availability Zone or Local Zone that the instance is in.</p>
280
+ * @public
281
+ */
282
+ AvailabilityZone?: string | undefined;
283
+ /**
284
+ * <p>The ID of the Availability Zone or Local Zone that the instance is in.</p>
285
+ * @public
286
+ */
287
+ ZoneId?: string | undefined;
288
+ /**
289
+ * <p>The ID of the Capacity Block. This parameter is only supported for UltraServer
290
+ * instances and identifies instances within the UltraServer domain.</p>
291
+ * @public
292
+ */
293
+ CapacityBlockId?: string | undefined;
294
+ }
295
+ /**
296
+ * @public
297
+ */
298
+ export interface DescribeInstanceTopologyResult {
299
+ /**
300
+ * <p>Information about the topology of each instance.</p>
301
+ * @public
302
+ */
303
+ Instances?: InstanceTopology[] | undefined;
304
+ /**
305
+ * <p>The token to include in another request to get the next page of items. This value is <code>null</code> when there
306
+ * are no more items to return.</p>
307
+ * @public
308
+ */
309
+ NextToken?: string | undefined;
310
+ }
311
+ /**
312
+ * @public
313
+ * @enum
314
+ */
315
+ export declare const LocationType: {
316
+ readonly availability_zone: "availability-zone";
317
+ readonly availability_zone_id: "availability-zone-id";
318
+ readonly outpost: "outpost";
319
+ readonly region: "region";
320
+ };
321
+ /**
322
+ * @public
323
+ */
324
+ export type LocationType = (typeof LocationType)[keyof typeof LocationType];
325
+ /**
326
+ * @public
327
+ */
328
+ export interface DescribeInstanceTypeOfferingsRequest {
329
+ /**
330
+ * <p>Checks whether you have the required permissions for the action, without actually making the request,
331
+ * and provides an error response. If you have the required permissions, the error response is
332
+ * <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.</p>
333
+ * @public
334
+ */
335
+ DryRun?: boolean | undefined;
336
+ /**
337
+ * <p>The location type.</p>
338
+ * <ul>
65
339
  * <li>
66
340
  * <p>
67
- * <code>ebs-info.ebs-optimized-info.baseline-iops</code> - The baseline input/output storage
68
- * operations per second for an EBS-optimized instance type.</p>
341
+ * <code>availability-zone</code> - The Availability Zone. When you specify a location
342
+ * filter, it must be an Availability Zone for the current Region.</p>
69
343
  * </li>
70
344
  * <li>
71
345
  * <p>
72
- * <code>ebs-info.ebs-optimized-info.baseline-throughput-in-mbps</code> - The baseline
73
- * throughput performance for an EBS-optimized instance type, in MB/s.</p>
346
+ * <code>availability-zone-id</code> - The AZ ID. When you specify a location filter, it must
347
+ * be an AZ ID for the current Region.</p>
74
348
  * </li>
75
349
  * <li>
76
350
  * <p>
77
- * <code>ebs-info.ebs-optimized-info.maximum-bandwidth-in-mbps</code> - The maximum bandwidth
78
- * performance for an EBS-optimized instance type, in Mbps.</p>
351
+ * <code>outpost</code> - The Outpost ARN. When you specify a location filter, it must be an
352
+ * Outpost ARN for the current Region.</p>
79
353
  * </li>
80
354
  * <li>
81
355
  * <p>
82
- * <code>ebs-info.ebs-optimized-info.maximum-iops</code> - The maximum input/output storage
83
- * operations per second for an EBS-optimized instance type.</p>
356
+ * <code>region</code> - The current Region. If you specify a location filter, it must match
357
+ * the current Region.</p>
84
358
  * </li>
359
+ * </ul>
360
+ * @public
361
+ */
362
+ LocationType?: LocationType | undefined;
363
+ /**
364
+ * <p>One or more filters. Filter names and values are case-sensitive.</p>
365
+ * <ul>
85
366
  * <li>
86
367
  * <p>
87
- * <code>ebs-info.ebs-optimized-info.maximum-throughput-in-mbps</code> - The maximum
88
- * throughput performance for an EBS-optimized instance type, in MB/s.</p>
368
+ * <code>instance-type</code> - The instance type. For a list of possible values, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_Instance.html">Instance</a>.</p>
89
369
  * </li>
90
370
  * <li>
91
371
  * <p>
92
- * <code>ebs-info.ebs-optimized-support</code> - Indicates whether the instance type is
93
- * EBS-optimized (<code>supported</code> | <code>unsupported</code> |
94
- * <code>default</code>).</p>
372
+ * <code>location</code> - The location. For a list of possible identifiers, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-regions-availability-zones.html">Regions and Zones</a>.</p>
95
373
  * </li>
96
- * <li>
97
- * <p>
98
- * <code>ebs-info.encryption-support</code> - Indicates whether EBS encryption is supported
374
+ * </ul>
375
+ * @public
376
+ */
377
+ Filters?: Filter[] | undefined;
378
+ /**
379
+ * <p>The maximum number of items to return for this request.
380
+ * To get the next page of items, make another request with the token returned in the output.
381
+ * For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination">Pagination</a>.</p>
382
+ * @public
383
+ */
384
+ MaxResults?: number | undefined;
385
+ /**
386
+ * <p>The token returned from a previous paginated request. Pagination continues from the end of the items returned by the previous request.</p>
387
+ * @public
388
+ */
389
+ NextToken?: string | undefined;
390
+ }
391
+ /**
392
+ * <p>The instance types offered.</p>
393
+ * @public
394
+ */
395
+ export interface InstanceTypeOffering {
396
+ /**
397
+ * <p>The instance type. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html">Instance types</a> in the <i>Amazon EC2
398
+ * User Guide</i>.</p>
399
+ * @public
400
+ */
401
+ InstanceType?: _InstanceType | undefined;
402
+ /**
403
+ * <p>The location type.</p>
404
+ * @public
405
+ */
406
+ LocationType?: LocationType | undefined;
407
+ /**
408
+ * <p>The identifier for the location. This depends on the location type. For example, if the
409
+ * location type is <code>region</code>, the location is the Region code (for example,
410
+ * <code>us-east-2</code>.)</p>
411
+ * @public
412
+ */
413
+ Location?: string | undefined;
414
+ }
415
+ /**
416
+ * @public
417
+ */
418
+ export interface DescribeInstanceTypeOfferingsResult {
419
+ /**
420
+ * <p>The instance types offered in the location.</p>
421
+ * @public
422
+ */
423
+ InstanceTypeOfferings?: InstanceTypeOffering[] | undefined;
424
+ /**
425
+ * <p>The token to include in another request to get the next page of items. This value is <code>null</code> when there
426
+ * are no more items to return.</p>
427
+ * @public
428
+ */
429
+ NextToken?: string | undefined;
430
+ }
431
+ /**
432
+ * @public
433
+ */
434
+ export interface DescribeInstanceTypesRequest {
435
+ /**
436
+ * <p>Checks whether you have the required permissions for the action, without actually making the request,
437
+ * and provides an error response. If you have the required permissions, the error response is
438
+ * <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.</p>
439
+ * @public
440
+ */
441
+ DryRun?: boolean | undefined;
442
+ /**
443
+ * <p>The instance types.</p>
444
+ * @public
445
+ */
446
+ InstanceTypes?: _InstanceType[] | undefined;
447
+ /**
448
+ * <p>One or more filters. Filter names and values are case-sensitive.</p>
449
+ * <ul>
450
+ * <li>
451
+ * <p>
452
+ * <code>auto-recovery-supported</code> - Indicates whether Amazon CloudWatch action
453
+ * based recovery is supported (<code>true</code> | <code>false</code>).</p>
454
+ * </li>
455
+ * <li>
456
+ * <p>
457
+ * <code>bare-metal</code> - Indicates whether it is a bare metal instance type
458
+ * (<code>true</code> | <code>false</code>).</p>
459
+ * </li>
460
+ * <li>
461
+ * <p>
462
+ * <code>burstable-performance-supported</code> - Indicates whether the instance type is a
463
+ * burstable performance T instance type (<code>true</code> | <code>false</code>).</p>
464
+ * </li>
465
+ * <li>
466
+ * <p>
467
+ * <code>current-generation</code> - Indicates whether this instance type is the latest
468
+ * generation instance type of an instance family (<code>true</code> | <code>false</code>).</p>
469
+ * </li>
470
+ * <li>
471
+ * <p>
472
+ * <code>dedicated-hosts-supported</code> - Indicates whether the instance type supports
473
+ * Dedicated Hosts. (<code>true</code> | <code>false</code>)</p>
474
+ * </li>
475
+ * <li>
476
+ * <p>
477
+ * <code>ebs-info.attachment-limit-type</code> - The type of Amazon EBS volume attachment limit
478
+ * (<code>shared</code> | <code>dedicated</code>).</p>
479
+ * </li>
480
+ * <li>
481
+ * <p>
482
+ * <code>ebs-info.maximum-ebs-attachments</code> - The maximum number of Amazon EBS volumes that
483
+ * can be attached to the instance type.</p>
484
+ * </li>
485
+ * <li>
486
+ * <p>
487
+ * <code>ebs-info.ebs-optimized-info.baseline-bandwidth-in-mbps</code> - The baseline
488
+ * bandwidth performance for an EBS-optimized instance type, in Mbps.</p>
489
+ * </li>
490
+ * <li>
491
+ * <p>
492
+ * <code>ebs-info.ebs-optimized-info.baseline-iops</code> - The baseline input/output storage
493
+ * operations per second for an EBS-optimized instance type.</p>
494
+ * </li>
495
+ * <li>
496
+ * <p>
497
+ * <code>ebs-info.ebs-optimized-info.baseline-throughput-in-mbps</code> - The baseline
498
+ * throughput performance for an EBS-optimized instance type, in MB/s.</p>
499
+ * </li>
500
+ * <li>
501
+ * <p>
502
+ * <code>ebs-info.ebs-optimized-info.maximum-bandwidth-in-mbps</code> - The maximum bandwidth
503
+ * performance for an EBS-optimized instance type, in Mbps.</p>
504
+ * </li>
505
+ * <li>
506
+ * <p>
507
+ * <code>ebs-info.ebs-optimized-info.maximum-iops</code> - The maximum input/output storage
508
+ * operations per second for an EBS-optimized instance type.</p>
509
+ * </li>
510
+ * <li>
511
+ * <p>
512
+ * <code>ebs-info.ebs-optimized-info.maximum-throughput-in-mbps</code> - The maximum
513
+ * throughput performance for an EBS-optimized instance type, in MB/s.</p>
514
+ * </li>
515
+ * <li>
516
+ * <p>
517
+ * <code>ebs-info.ebs-optimized-support</code> - Indicates whether the instance type is
518
+ * EBS-optimized (<code>supported</code> | <code>unsupported</code> |
519
+ * <code>default</code>).</p>
520
+ * </li>
521
+ * <li>
522
+ * <p>
523
+ * <code>ebs-info.encryption-support</code> - Indicates whether EBS encryption is supported
99
524
  * (<code>supported</code> | <code>unsupported</code>).</p>
100
525
  * </li>
101
526
  * <li>
@@ -8522,1217 +8947,817 @@ export interface SpotFleetRequestConfigData {
8522
8947
  * </important>
8523
8948
  * <p>Spot Fleet requests instances from the lowest priced Spot Instance pool that has available
8524
8949
  * capacity. If the lowest priced pool doesn't have available capacity, the Spot Instances
8525
- * come from the next lowest priced pool that has available capacity. If a pool runs
8526
- * out of capacity before fulfilling your desired capacity, Spot Fleet will continue to
8527
- * fulfill your request by drawing from the next lowest priced pool. To ensure that
8528
- * your desired capacity is met, you might receive Spot Instances from several pools. Because
8529
- * this strategy only considers instance price and not capacity availability, it
8530
- * might lead to high interruption rates.</p>
8531
- * </dd>
8532
- * </dl>
8533
- * <p>Default: <code>lowestPrice</code>
8534
- * </p>
8535
- * @public
8536
- */
8537
- AllocationStrategy?: AllocationStrategy | undefined;
8538
- /**
8539
- * <p>The order of the launch template overrides to use in fulfilling On-Demand capacity. If
8540
- * you specify <code>lowestPrice</code>, Spot Fleet uses price to determine the order, launching
8541
- * the lowest price first. If you specify <code>prioritized</code>, Spot Fleet uses the priority
8542
- * that you assign to each Spot Fleet launch template override, launching the highest priority
8543
- * first. If you do not specify a value, Spot Fleet defaults to <code>lowestPrice</code>.</p>
8544
- * @public
8545
- */
8546
- OnDemandAllocationStrategy?: OnDemandAllocationStrategy | undefined;
8547
- /**
8548
- * <p>The strategies for managing your Spot Instances that are at an elevated risk of being
8549
- * interrupted.</p>
8550
- * @public
8551
- */
8552
- SpotMaintenanceStrategies?: SpotMaintenanceStrategies | undefined;
8553
- /**
8554
- * <p>A unique, case-sensitive identifier that you provide to ensure the idempotency of your
8555
- * listings. This helps to avoid duplicate listings. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html">Ensuring Idempotency</a>.</p>
8556
- * @public
8557
- */
8558
- ClientToken?: string | undefined;
8559
- /**
8560
- * <p>Indicates whether running instances should be terminated if you decrease the
8561
- * target capacity of the Spot Fleet request below the current size of the Spot Fleet.</p>
8562
- * <p>Supported only for fleets of type <code>maintain</code>.</p>
8563
- * @public
8564
- */
8565
- ExcessCapacityTerminationPolicy?: ExcessCapacityTerminationPolicy | undefined;
8566
- /**
8567
- * <p>The number of units fulfilled by this request compared to the set target capacity. You
8568
- * cannot set this value.</p>
8569
- * @public
8570
- */
8571
- FulfilledCapacity?: number | undefined;
8572
- /**
8573
- * <p>The number of On-Demand units fulfilled by this request compared to the set target
8574
- * On-Demand capacity.</p>
8575
- * @public
8576
- */
8577
- OnDemandFulfilledCapacity?: number | undefined;
8578
- /**
8579
- * <p>The Amazon Resource Name (ARN) of an Identity and Access Management (IAM) role
8580
- * that grants the Spot Fleet the permission to request, launch, terminate, and tag instances
8581
- * on your behalf. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/spot-fleet-requests.html#spot-fleet-prerequisites">Spot
8582
- * Fleet prerequisites</a> in the <i>Amazon EC2 User Guide</i>. Spot Fleet can
8583
- * terminate Spot Instances on your behalf when you cancel its Spot Fleet request using <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CancelSpotFleetRequests">CancelSpotFleetRequests</a> or when the Spot Fleet request expires, if you set
8584
- * <code>TerminateInstancesWithExpiration</code>.</p>
8585
- * @public
8586
- */
8587
- IamFleetRole: string | undefined;
8588
- /**
8589
- * <p>The launch specifications for the Spot Fleet request. If you specify
8590
- * <code>LaunchSpecifications</code>, you can't specify
8591
- * <code>LaunchTemplateConfigs</code>. If you include On-Demand capacity in your
8592
- * request, you must use <code>LaunchTemplateConfigs</code>.</p>
8593
- * <note>
8594
- * <p>If an AMI specified in a launch specification is deregistered or disabled, no new
8595
- * instances can be launched from the AMI. For fleets of type <code>maintain</code>, the
8596
- * target capacity will not be maintained.</p>
8597
- * </note>
8598
- * @public
8599
- */
8600
- LaunchSpecifications?: SpotFleetLaunchSpecification[] | undefined;
8601
- /**
8602
- * <p>The launch template and overrides. If you specify <code>LaunchTemplateConfigs</code>,
8603
- * you can't specify <code>LaunchSpecifications</code>. If you include On-Demand capacity
8604
- * in your request, you must use <code>LaunchTemplateConfigs</code>.</p>
8605
- * @public
8606
- */
8607
- LaunchTemplateConfigs?: LaunchTemplateConfig[] | undefined;
8608
- /**
8609
- * <p>The maximum price per unit hour that you are willing to pay for a Spot Instance. We do not recommend
8610
- * 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>
8611
- * <important>
8612
- * <p>If you specify a maximum price, your instances will be interrupted more frequently than if you do not specify this parameter.</p>
8613
- * </important>
8614
- * @public
8615
- */
8616
- SpotPrice?: string | undefined;
8617
- /**
8618
- * <p>The number of units to request for the Spot Fleet. You can choose to set the target
8619
- * capacity in terms of instances or a performance characteristic that is important to your
8620
- * application workload, such as vCPUs, memory, or I/O. If the request type is
8621
- * <code>maintain</code>, you can specify a target capacity of 0 and add capacity
8622
- * later.</p>
8623
- * @public
8624
- */
8625
- TargetCapacity: number | undefined;
8626
- /**
8627
- * <p>The number of On-Demand units to request. You can choose to set the target capacity in
8628
- * terms of instances or a performance characteristic that is important to your application
8629
- * workload, such as vCPUs, memory, or I/O. If the request type is <code>maintain</code>,
8630
- * you can specify a target capacity of 0 and add capacity later.</p>
8631
- * @public
8632
- */
8633
- OnDemandTargetCapacity?: number | undefined;
8634
- /**
8635
- * <p>The maximum amount per hour for On-Demand Instances that you're willing to pay. You
8636
- * can use the <code>onDemandMaxTotalPrice</code> parameter, the
8637
- * <code>spotMaxTotalPrice</code> parameter, or both parameters to ensure that your
8638
- * fleet cost does not exceed your budget. If you set a maximum price per hour for the
8639
- * On-Demand Instances and Spot Instances in your request, Spot Fleet will launch instances until it reaches the
8640
- * maximum amount you're willing to pay. When the maximum amount you're willing to pay is
8641
- * reached, the fleet stops launching instances even if it hasn’t met the target
8642
- * capacity.</p>
8643
- * <note>
8644
- * <p>If your fleet includes T instances that are configured as <code>unlimited</code>,
8645
- * and if their average CPU usage exceeds the baseline utilization, you will incur a charge
8646
- * for surplus credits. The <code>onDemandMaxTotalPrice</code> does not account for surplus
8647
- * credits, and, if you use surplus credits, your final cost might be higher than what you
8648
- * specified for <code>onDemandMaxTotalPrice</code>. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/burstable-performance-instances-unlimited-mode-concepts.html#unlimited-mode-surplus-credits">Surplus credits can incur charges</a> in the
8649
- * <i>Amazon EC2 User Guide</i>.</p>
8650
- * </note>
8651
- * @public
8652
- */
8653
- OnDemandMaxTotalPrice?: string | undefined;
8654
- /**
8655
- * <p>The maximum amount per hour for Spot Instances that you're willing to pay. You can use
8656
- * the <code>spotMaxTotalPrice</code> parameter, the <code>onDemandMaxTotalPrice</code>
8657
- * parameter, or both parameters to ensure that your fleet cost does not exceed your budget.
8658
- * If you set a maximum price per hour for the On-Demand Instances and Spot Instances in your request, Spot Fleet will
8659
- * launch instances until it reaches the maximum amount you're willing to pay. When the
8660
- * maximum amount you're willing to pay is reached, the fleet stops launching instances even
8661
- * if it hasn’t met the target capacity.</p>
8662
- * <note>
8663
- * <p>If your fleet includes T instances that are configured as <code>unlimited</code>,
8664
- * and if their average CPU usage exceeds the baseline utilization, you will incur a charge
8665
- * for surplus credits. The <code>spotMaxTotalPrice</code> does not account for surplus
8666
- * credits, and, if you use surplus credits, your final cost might be higher than what you
8667
- * specified for <code>spotMaxTotalPrice</code>. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/burstable-performance-instances-unlimited-mode-concepts.html#unlimited-mode-surplus-credits">Surplus credits can incur charges</a> in the
8668
- * <i>Amazon EC2 User Guide</i>.</p>
8669
- * </note>
8670
- * @public
8671
- */
8672
- SpotMaxTotalPrice?: string | undefined;
8673
- /**
8674
- * <p>Indicates whether running Spot Instances are terminated when the Spot Fleet request
8675
- * expires.</p>
8676
- * @public
8677
- */
8678
- TerminateInstancesWithExpiration?: boolean | undefined;
8679
- /**
8680
- * <p>The type of request. Indicates whether the Spot Fleet only requests the target
8681
- * capacity or also attempts to maintain it. When this value is <code>request</code>, the
8682
- * Spot Fleet only places the required requests. It does not attempt to replenish Spot
8683
- * Instances if capacity is diminished, nor does it submit requests in alternative Spot
8684
- * pools if capacity is not available. When this value is <code>maintain</code>, the Spot
8685
- * Fleet maintains the target capacity. The Spot Fleet places the required requests to meet
8686
- * capacity and automatically replenishes any interrupted instances. Default:
8687
- * <code>maintain</code>. <code>instant</code> is listed but is not used by Spot
8688
- * Fleet.</p>
8689
- * @public
8690
- */
8691
- Type?: FleetType | undefined;
8692
- /**
8693
- * <p>The start date and time of the request, in UTC format
8694
- * (<i>YYYY</i>-<i>MM</i>-<i>DD</i>T<i>HH</i>:<i>MM</i>:<i>SS</i>Z).
8695
- * By default, Amazon EC2 starts fulfilling the request immediately.</p>
8696
- * @public
8697
- */
8698
- ValidFrom?: Date | undefined;
8699
- /**
8700
- * <p>The end date and time of the request, in UTC format
8701
- * (<i>YYYY</i>-<i>MM</i>-<i>DD</i>T<i>HH</i>:<i>MM</i>:<i>SS</i>Z).
8702
- * After the end date and time, no new Spot Instance requests are placed or able to fulfill
8703
- * the request. If no value is specified, the Spot Fleet request remains until you cancel
8704
- * it.</p>
8705
- * @public
8706
- */
8707
- ValidUntil?: Date | undefined;
8708
- /**
8709
- * <p>Indicates whether Spot Fleet should replace unhealthy instances.</p>
8710
- * @public
8711
- */
8712
- ReplaceUnhealthyInstances?: boolean | undefined;
8713
- /**
8714
- * <p>The behavior when a Spot Instance is interrupted. The default is
8715
- * <code>terminate</code>.</p>
8716
- * @public
8717
- */
8718
- InstanceInterruptionBehavior?: InstanceInterruptionBehavior | undefined;
8719
- /**
8720
- * <p>One or more Classic Load Balancers and target groups to attach to the Spot Fleet
8721
- * request. Spot Fleet registers the running Spot Instances with the specified Classic Load
8722
- * Balancers and target groups.</p>
8723
- * <p>With Network Load Balancers, Spot Fleet cannot register instances that have the
8724
- * following instance types: C1, CC1, CC2, CG1, CG2, CR1, CS1, G1, G2, HI1, HS1, M1, M2,
8725
- * M3, and T1.</p>
8726
- * @public
8727
- */
8728
- LoadBalancersConfig?: LoadBalancersConfig | undefined;
8729
- /**
8730
- * <p>The number of Spot pools across which to allocate your target Spot capacity. Valid
8731
- * only when Spot <b>AllocationStrategy</b> is set to
8732
- * <code>lowest-price</code>. Spot Fleet selects the cheapest Spot pools and evenly
8733
- * allocates your target Spot capacity across the number of Spot pools that you
8734
- * specify.</p>
8735
- * <p>Note that Spot Fleet attempts to draw Spot Instances from the number of pools that you specify on a
8736
- * best effort basis. If a pool runs out of Spot capacity before fulfilling your target
8737
- * capacity, Spot Fleet will continue to fulfill your request by drawing from the next cheapest
8738
- * pool. To ensure that your target capacity is met, you might receive Spot Instances from more than
8739
- * the number of pools that you specified. Similarly, if most of the pools have no Spot
8740
- * capacity, you might receive your full target capacity from fewer than the number of
8741
- * pools that you specified.</p>
8742
- * @public
8743
- */
8744
- InstancePoolsToUseCount?: number | undefined;
8745
- /**
8746
- * <p>Reserved.</p>
8747
- * @public
8748
- */
8749
- Context?: string | undefined;
8750
- /**
8751
- * <p>The unit for the target capacity. You can specify this parameter only when
8752
- * using attribute-based instance type selection.</p>
8753
- * <p>Default: <code>units</code> (the number of instances)</p>
8754
- * @public
8755
- */
8756
- TargetCapacityUnitType?: TargetCapacityUnitType | undefined;
8757
- /**
8758
- * <p>The key-value pair for tagging the Spot Fleet request on creation. The value for
8759
- * <code>ResourceType</code> must be <code>spot-fleet-request</code>, otherwise the
8760
- * Spot Fleet request fails. To tag instances at launch, specify the tags in the <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-launch-templates.html#create-launch-template">launch
8761
- * template</a> (valid only if you use <code>LaunchTemplateConfigs</code>) or in
8762
- * the <code>
8763
- * <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_SpotFleetTagSpecification.html">SpotFleetTagSpecification</a>
8764
- * </code> (valid only if you use
8765
- * <code>LaunchSpecifications</code>). For information about tagging after launch, see
8766
- * <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Using_Tags.html#tag-resources">Tag your resources</a>.</p>
8767
- * @public
8768
- */
8769
- TagSpecifications?: TagSpecification[] | undefined;
8770
- }
8771
- /**
8772
- * <p>Describes a Spot Fleet request.</p>
8773
- * @public
8774
- */
8775
- export interface SpotFleetRequestConfig {
8776
- /**
8777
- * <p>The progress of the Spot Fleet request.
8778
- * If there is an error, the status is <code>error</code>.
8779
- * After all requests are placed, the status is <code>pending_fulfillment</code>.
8780
- * If the size of the fleet is equal to or greater than its target capacity, the status is <code>fulfilled</code>.
8781
- * If the size of the fleet is decreased, the status is <code>pending_termination</code>
8782
- * while Spot Instances are terminating.</p>
8783
- * @public
8784
- */
8785
- ActivityStatus?: ActivityStatus | undefined;
8786
- /**
8787
- * <p>The creation date and time of the request.</p>
8788
- * @public
8789
- */
8790
- CreateTime?: Date | undefined;
8791
- /**
8792
- * <p>The configuration of the Spot Fleet request.</p>
8793
- * @public
8794
- */
8795
- SpotFleetRequestConfig?: SpotFleetRequestConfigData | undefined;
8796
- /**
8797
- * <p>The ID of the Spot Fleet request.</p>
8798
- * @public
8799
- */
8800
- SpotFleetRequestId?: string | undefined;
8801
- /**
8802
- * <p>The state of the Spot Fleet request.</p>
8803
- * @public
8804
- */
8805
- SpotFleetRequestState?: BatchState | undefined;
8806
- /**
8807
- * <p>The tags for a Spot Fleet resource.</p>
8808
- * @public
8809
- */
8810
- Tags?: Tag[] | undefined;
8811
- }
8812
- /**
8813
- * <p>Contains the output of DescribeSpotFleetRequests.</p>
8814
- * @public
8815
- */
8816
- export interface DescribeSpotFleetRequestsResponse {
8817
- /**
8818
- * <p>The token to include in another request to get the next page of items. This value is <code>null</code> when there
8819
- * are no more items to return.</p>
8820
- * @public
8821
- */
8822
- NextToken?: string | undefined;
8823
- /**
8824
- * <p>Information about the configuration of your Spot Fleet.</p>
8825
- * @public
8826
- */
8827
- SpotFleetRequestConfigs?: SpotFleetRequestConfig[] | undefined;
8828
- }
8829
- /**
8830
- * <p>Contains the parameters for DescribeSpotInstanceRequests.</p>
8831
- * @public
8832
- */
8833
- export interface DescribeSpotInstanceRequestsRequest {
8834
- /**
8835
- * <p>The token returned from a previous paginated request. Pagination continues from the end of the items returned by the previous request.</p>
8836
- * @public
8837
- */
8838
- NextToken?: string | undefined;
8839
- /**
8840
- * <p>The maximum number of items to return for this request.
8841
- * To get the next page of items, make another request with the token returned in the output.
8842
- * For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination">Pagination</a>.</p>
8843
- * @public
8844
- */
8845
- MaxResults?: number | undefined;
8846
- /**
8847
- * <p>Checks whether you have the required permissions for the action, without actually
8848
- * making the request, and provides an error response. If you have the required
8849
- * permissions, the error response is <code>DryRunOperation</code>. Otherwise, it is
8850
- * <code>UnauthorizedOperation</code>.</p>
8851
- * @public
8852
- */
8853
- DryRun?: boolean | undefined;
8854
- /**
8855
- * <p>The IDs of the Spot Instance requests.</p>
8856
- * @public
8857
- */
8858
- SpotInstanceRequestIds?: string[] | undefined;
8859
- /**
8860
- * <p>The filters.</p>
8861
- * <ul>
8862
- * <li>
8863
- * <p>
8864
- * <code>availability-zone-group</code> - The Availability Zone group.</p>
8865
- * </li>
8866
- * <li>
8867
- * <p>
8868
- * <code>create-time</code> - The time stamp when the Spot Instance request was
8869
- * created.</p>
8870
- * </li>
8871
- * <li>
8872
- * <p>
8873
- * <code>fault-code</code> - The fault code related to the request.</p>
8874
- * </li>
8875
- * <li>
8876
- * <p>
8877
- * <code>fault-message</code> - The fault message related to the request.</p>
8878
- * </li>
8879
- * <li>
8880
- * <p>
8881
- * <code>instance-id</code> - The ID of the instance that fulfilled the
8882
- * request.</p>
8883
- * </li>
8884
- * <li>
8885
- * <p>
8886
- * <code>launch-group</code> - The Spot Instance launch group.</p>
8887
- * </li>
8888
- * <li>
8889
- * <p>
8890
- * <code>launch.block-device-mapping.delete-on-termination</code> - Indicates
8891
- * whether the EBS volume is deleted on instance termination.</p>
8892
- * </li>
8893
- * <li>
8894
- * <p>
8895
- * <code>launch.block-device-mapping.device-name</code> - The device name for the
8896
- * volume in the block device mapping (for example, <code>/dev/sdh</code> or
8897
- * <code>xvdh</code>).</p>
8898
- * </li>
8899
- * <li>
8900
- * <p>
8901
- * <code>launch.block-device-mapping.snapshot-id</code> - The ID of the snapshot
8902
- * for the EBS volume.</p>
8903
- * </li>
8904
- * <li>
8905
- * <p>
8906
- * <code>launch.block-device-mapping.volume-size</code> - The size of the EBS
8907
- * volume, in GiB.</p>
8908
- * </li>
8909
- * <li>
8910
- * <p>
8911
- * <code>launch.block-device-mapping.volume-type</code> - The type of EBS volume:
8912
- * <code>gp2</code> or <code>gp3</code> for General Purpose SSD, <code>io1</code>
8913
- * or <code>io2</code> for Provisioned IOPS SSD, <code>st1</code> for Throughput
8914
- * Optimized HDD, <code>sc1</code> for Cold HDD, or <code>standard</code> for
8915
- * Magnetic.</p>
8916
- * </li>
8917
- * <li>
8918
- * <p>
8919
- * <code>launch.group-id</code> - The ID of the security group for the
8920
- * instance.</p>
8921
- * </li>
8922
- * <li>
8923
- * <p>
8924
- * <code>launch.group-name</code> - The name of the security group for the
8925
- * instance.</p>
8926
- * </li>
8927
- * <li>
8928
- * <p>
8929
- * <code>launch.image-id</code> - The ID of the AMI.</p>
8930
- * </li>
8931
- * <li>
8932
- * <p>
8933
- * <code>launch.instance-type</code> - The type of instance (for example,
8934
- * <code>m3.medium</code>).</p>
8935
- * </li>
8936
- * <li>
8937
- * <p>
8938
- * <code>launch.kernel-id</code> - The kernel ID.</p>
8939
- * </li>
8940
- * <li>
8941
- * <p>
8942
- * <code>launch.key-name</code> - The name of the key pair the instance launched
8943
- * with.</p>
8944
- * </li>
8945
- * <li>
8946
- * <p>
8947
- * <code>launch.monitoring-enabled</code> - Whether detailed monitoring is
8948
- * enabled for the Spot Instance.</p>
8949
- * </li>
8950
- * <li>
8951
- * <p>
8952
- * <code>launch.ramdisk-id</code> - The RAM disk ID.</p>
8953
- * </li>
8954
- * <li>
8955
- * <p>
8956
- * <code>launched-availability-zone</code> - The Availability Zone in which the
8957
- * request is launched.</p>
8958
- * </li>
8959
- * <li>
8960
- * <p>
8961
- * <code>launched-availability-zone-id</code> - The ID of the Availability Zone
8962
- * in which the request is launched.</p>
8963
- * </li>
8964
- * <li>
8965
- * <p>
8966
- * <code>network-interface.addresses.primary</code> - Indicates whether the IP
8967
- * address is the primary private IP address.</p>
8968
- * </li>
8969
- * <li>
8970
- * <p>
8971
- * <code>network-interface.delete-on-termination</code> - Indicates whether the
8972
- * network interface is deleted when the instance is terminated.</p>
8973
- * </li>
8974
- * <li>
8975
- * <p>
8976
- * <code>network-interface.description</code> - A description of the network
8977
- * interface.</p>
8978
- * </li>
8979
- * <li>
8980
- * <p>
8981
- * <code>network-interface.device-index</code> - The index of the device for the
8982
- * network interface attachment on the instance.</p>
8983
- * </li>
8984
- * <li>
8985
- * <p>
8986
- * <code>network-interface.group-id</code> - The ID of the security group
8987
- * associated with the network interface.</p>
8988
- * </li>
8989
- * <li>
8990
- * <p>
8991
- * <code>network-interface.network-interface-id</code> - The ID of the network
8992
- * interface.</p>
8993
- * </li>
8994
- * <li>
8995
- * <p>
8996
- * <code>network-interface.private-ip-address</code> - The primary private IP
8997
- * address of the network interface.</p>
8998
- * </li>
8999
- * <li>
9000
- * <p>
9001
- * <code>network-interface.subnet-id</code> - The ID of the subnet for the
9002
- * instance.</p>
9003
- * </li>
9004
- * <li>
9005
- * <p>
9006
- * <code>product-description</code> - The product description associated with the
9007
- * instance (<code>Linux/UNIX</code> | <code>Windows</code>).</p>
9008
- * </li>
9009
- * <li>
9010
- * <p>
9011
- * <code>spot-instance-request-id</code> - The Spot Instance request ID.</p>
9012
- * </li>
9013
- * <li>
9014
- * <p>
9015
- * <code>spot-price</code> - The maximum hourly price for any Spot Instance
9016
- * launched to fulfill the request.</p>
9017
- * </li>
9018
- * <li>
9019
- * <p>
9020
- * <code>state</code> - The state of the Spot Instance request (<code>open</code>
9021
- * | <code>active</code> | <code>closed</code> | <code>cancelled</code> |
9022
- * <code>failed</code>). Spot request status information can help you track
9023
- * your Amazon EC2 Spot Instance requests. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/spot-request-status.html">Spot
9024
- * request status</a> in the <i>Amazon EC2 User Guide</i>.</p>
9025
- * </li>
9026
- * <li>
9027
- * <p>
9028
- * <code>status-code</code> - The short code describing the most recent
9029
- * evaluation of your Spot Instance request.</p>
9030
- * </li>
9031
- * <li>
9032
- * <p>
9033
- * <code>status-message</code> - The message explaining the status of the Spot
9034
- * Instance request.</p>
9035
- * </li>
9036
- * <li>
9037
- * <p>
9038
- * <code>tag:<key></code> - 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.
9039
- * 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>
9040
- * </li>
9041
- * <li>
9042
- * <p>
9043
- * <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>
9044
- * </li>
9045
- * <li>
9046
- * <p>
9047
- * <code>type</code> - The type of Spot Instance request (<code>one-time</code> |
9048
- * <code>persistent</code>).</p>
9049
- * </li>
9050
- * <li>
9051
- * <p>
9052
- * <code>valid-from</code> - The start date of the request.</p>
9053
- * </li>
9054
- * <li>
9055
- * <p>
9056
- * <code>valid-until</code> - The end date of the request.</p>
9057
- * </li>
9058
- * </ul>
9059
- * @public
9060
- */
9061
- Filters?: Filter[] | undefined;
9062
- }
9063
- /**
9064
- * <p>Describes the monitoring of an instance.</p>
9065
- * @public
9066
- */
9067
- export interface RunInstancesMonitoringEnabled {
9068
- /**
9069
- * <p>Indicates whether detailed monitoring is enabled. Otherwise, basic monitoring is
9070
- * enabled.</p>
9071
- * @public
9072
- */
9073
- Enabled: boolean | undefined;
9074
- }
9075
- /**
9076
- * <p>Describes the launch specification for an instance.</p>
9077
- * @public
9078
- */
9079
- export interface LaunchSpecification {
9080
- /**
9081
- * <p>The base64-encoded user data that instances use when starting up. User data is limited to 16 KB.</p>
9082
- * @public
9083
- */
9084
- UserData?: string | undefined;
9085
- /**
9086
- * <p>Deprecated.</p>
9087
- * @public
9088
- */
9089
- AddressingType?: string | undefined;
9090
- /**
9091
- * <p>The block device mapping entries.</p>
9092
- * @public
9093
- */
9094
- BlockDeviceMappings?: BlockDeviceMapping[] | undefined;
9095
- /**
9096
- * <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>
9097
- * <p>Default: <code>false</code>
8950
+ * come from the next lowest priced pool that has available capacity. If a pool runs
8951
+ * out of capacity before fulfilling your desired capacity, Spot Fleet will continue to
8952
+ * fulfill your request by drawing from the next lowest priced pool. To ensure that
8953
+ * your desired capacity is met, you might receive Spot Instances from several pools. Because
8954
+ * this strategy only considers instance price and not capacity availability, it
8955
+ * might lead to high interruption rates.</p>
8956
+ * </dd>
8957
+ * </dl>
8958
+ * <p>Default: <code>lowestPrice</code>
9098
8959
  * </p>
9099
8960
  * @public
9100
8961
  */
9101
- EbsOptimized?: boolean | undefined;
9102
- /**
9103
- * <p>The IAM instance profile.</p>
9104
- * @public
9105
- */
9106
- IamInstanceProfile?: IamInstanceProfileSpecification | undefined;
9107
- /**
9108
- * <p>The ID of the AMI.</p>
9109
- * @public
9110
- */
9111
- ImageId?: string | undefined;
9112
- /**
9113
- * <p>The instance type. Only one instance type can be specified.</p>
9114
- * @public
9115
- */
9116
- InstanceType?: _InstanceType | undefined;
8962
+ AllocationStrategy?: AllocationStrategy | undefined;
9117
8963
  /**
9118
- * <p>The ID of the kernel.</p>
8964
+ * <p>The order of the launch template overrides to use in fulfilling On-Demand capacity. If
8965
+ * you specify <code>lowestPrice</code>, Spot Fleet uses price to determine the order, launching
8966
+ * the lowest price first. If you specify <code>prioritized</code>, Spot Fleet uses the priority
8967
+ * that you assign to each Spot Fleet launch template override, launching the highest priority
8968
+ * first. If you do not specify a value, Spot Fleet defaults to <code>lowestPrice</code>.</p>
9119
8969
  * @public
9120
8970
  */
9121
- KernelId?: string | undefined;
8971
+ OnDemandAllocationStrategy?: OnDemandAllocationStrategy | undefined;
9122
8972
  /**
9123
- * <p>The name of the key pair.</p>
8973
+ * <p>The strategies for managing your Spot Instances that are at an elevated risk of being
8974
+ * interrupted.</p>
9124
8975
  * @public
9125
8976
  */
9126
- KeyName?: string | undefined;
8977
+ SpotMaintenanceStrategies?: SpotMaintenanceStrategies | undefined;
9127
8978
  /**
9128
- * <p>The network interfaces. If you specify a network interface, you must specify
9129
- * subnet IDs and security group IDs using the network interface.</p>
8979
+ * <p>A unique, case-sensitive identifier that you provide to ensure the idempotency of your
8980
+ * listings. This helps to avoid duplicate listings. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html">Ensuring Idempotency</a>.</p>
9130
8981
  * @public
9131
8982
  */
9132
- NetworkInterfaces?: InstanceNetworkInterfaceSpecification[] | undefined;
8983
+ ClientToken?: string | undefined;
9133
8984
  /**
9134
- * <p>The placement information for the instance.</p>
8985
+ * <p>Indicates whether running instances should be terminated if you decrease the
8986
+ * target capacity of the Spot Fleet request below the current size of the Spot Fleet.</p>
8987
+ * <p>Supported only for fleets of type <code>maintain</code>.</p>
9135
8988
  * @public
9136
8989
  */
9137
- Placement?: SpotPlacement | undefined;
8990
+ ExcessCapacityTerminationPolicy?: ExcessCapacityTerminationPolicy | undefined;
9138
8991
  /**
9139
- * <p>The ID of the RAM disk.</p>
8992
+ * <p>The number of units fulfilled by this request compared to the set target capacity. You
8993
+ * cannot set this value.</p>
9140
8994
  * @public
9141
8995
  */
9142
- RamdiskId?: string | undefined;
8996
+ FulfilledCapacity?: number | undefined;
9143
8997
  /**
9144
- * <p>The ID of the subnet in which to launch the instance.</p>
8998
+ * <p>The number of On-Demand units fulfilled by this request compared to the set target
8999
+ * On-Demand capacity.</p>
9145
9000
  * @public
9146
9001
  */
9147
- SubnetId?: string | undefined;
9002
+ OnDemandFulfilledCapacity?: number | undefined;
9148
9003
  /**
9149
- * <p>The IDs of the security groups.</p>
9004
+ * <p>The Amazon Resource Name (ARN) of an Identity and Access Management (IAM) role
9005
+ * that grants the Spot Fleet the permission to request, launch, terminate, and tag instances
9006
+ * on your behalf. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/spot-fleet-requests.html#spot-fleet-prerequisites">Spot
9007
+ * Fleet prerequisites</a> in the <i>Amazon EC2 User Guide</i>. Spot Fleet can
9008
+ * terminate Spot Instances on your behalf when you cancel its Spot Fleet request using <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CancelSpotFleetRequests">CancelSpotFleetRequests</a> or when the Spot Fleet request expires, if you set
9009
+ * <code>TerminateInstancesWithExpiration</code>.</p>
9150
9010
  * @public
9151
9011
  */
9152
- SecurityGroups?: GroupIdentifier[] | undefined;
9012
+ IamFleetRole: string | undefined;
9153
9013
  /**
9154
- * <p>Describes the monitoring of an instance.</p>
9014
+ * <p>The launch specifications for the Spot Fleet request. If you specify
9015
+ * <code>LaunchSpecifications</code>, you can't specify
9016
+ * <code>LaunchTemplateConfigs</code>. If you include On-Demand capacity in your
9017
+ * request, you must use <code>LaunchTemplateConfigs</code>.</p>
9018
+ * <note>
9019
+ * <p>If an AMI specified in a launch specification is deregistered or disabled, no new
9020
+ * instances can be launched from the AMI. For fleets of type <code>maintain</code>, the
9021
+ * target capacity will not be maintained.</p>
9022
+ * </note>
9155
9023
  * @public
9156
9024
  */
9157
- Monitoring?: RunInstancesMonitoringEnabled | undefined;
9158
- }
9159
- /**
9160
- * @public
9161
- * @enum
9162
- */
9163
- export declare const SpotInstanceState: {
9164
- readonly active: "active";
9165
- readonly cancelled: "cancelled";
9166
- readonly closed: "closed";
9167
- readonly disabled: "disabled";
9168
- readonly failed: "failed";
9169
- readonly open: "open";
9170
- };
9171
- /**
9172
- * @public
9173
- */
9174
- export type SpotInstanceState = (typeof SpotInstanceState)[keyof typeof SpotInstanceState];
9175
- /**
9176
- * <p>Describes the status of a Spot Instance request.</p>
9177
- * @public
9178
- */
9179
- export interface SpotInstanceStatus {
9025
+ LaunchSpecifications?: SpotFleetLaunchSpecification[] | undefined;
9180
9026
  /**
9181
- * <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</i>.</p>
9027
+ * <p>The launch template and overrides. If you specify <code>LaunchTemplateConfigs</code>,
9028
+ * you can't specify <code>LaunchSpecifications</code>. If you include On-Demand capacity
9029
+ * in your request, you must use <code>LaunchTemplateConfigs</code>.</p>
9182
9030
  * @public
9183
9031
  */
9184
- Code?: string | undefined;
9032
+ LaunchTemplateConfigs?: LaunchTemplateConfig[] | undefined;
9185
9033
  /**
9186
- * <p>The description for the status code.</p>
9034
+ * <p>The maximum price per unit hour that you are willing to pay for a Spot Instance. We do not recommend
9035
+ * 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>
9036
+ * <important>
9037
+ * <p>If you specify a maximum price, your instances will be interrupted more frequently than if you do not specify this parameter.</p>
9038
+ * </important>
9187
9039
  * @public
9188
9040
  */
9189
- Message?: string | undefined;
9041
+ SpotPrice?: string | undefined;
9190
9042
  /**
9191
- * <p>The date and time of the most recent status update, in UTC format (for example,
9192
- * <i>YYYY</i>-<i>MM</i>-<i>DD</i>T<i>HH</i>:<i>MM</i>:<i>SS</i>Z).</p>
9043
+ * <p>The number of units to request for the Spot Fleet. You can choose to set the target
9044
+ * capacity in terms of instances or a performance characteristic that is important to your
9045
+ * application workload, such as vCPUs, memory, or I/O. If the request type is
9046
+ * <code>maintain</code>, you can specify a target capacity of 0 and add capacity
9047
+ * later.</p>
9193
9048
  * @public
9194
9049
  */
9195
- UpdateTime?: Date | undefined;
9196
- }
9197
- /**
9198
- * <p>Describes a Spot Instance request.</p>
9199
- * @public
9200
- */
9201
- export interface SpotInstanceRequest {
9050
+ TargetCapacity: number | undefined;
9202
9051
  /**
9203
- * <p>Deprecated.</p>
9052
+ * <p>The number of On-Demand units to request. You can choose to set the target capacity in
9053
+ * terms of instances or a performance characteristic that is important to your application
9054
+ * workload, such as vCPUs, memory, or I/O. If the request type is <code>maintain</code>,
9055
+ * you can specify a target capacity of 0 and add capacity later.</p>
9204
9056
  * @public
9205
9057
  */
9206
- ActualBlockHourlyPrice?: string | undefined;
9058
+ OnDemandTargetCapacity?: number | undefined;
9207
9059
  /**
9208
- * <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>
9060
+ * <p>The maximum amount per hour for On-Demand Instances that you're willing to pay. You
9061
+ * can use the <code>onDemandMaxTotalPrice</code> parameter, the
9062
+ * <code>spotMaxTotalPrice</code> parameter, or both parameters to ensure that your
9063
+ * fleet cost does not exceed your budget. If you set a maximum price per hour for the
9064
+ * On-Demand Instances and Spot Instances in your request, Spot Fleet will launch instances until it reaches the
9065
+ * maximum amount you're willing to pay. When the maximum amount you're willing to pay is
9066
+ * reached, the fleet stops launching instances even if it hasn’t met the target
9067
+ * capacity.</p>
9068
+ * <note>
9069
+ * <p>If your fleet includes T instances that are configured as <code>unlimited</code>,
9070
+ * and if their average CPU usage exceeds the baseline utilization, you will incur a charge
9071
+ * for surplus credits. The <code>onDemandMaxTotalPrice</code> does not account for surplus
9072
+ * credits, and, if you use surplus credits, your final cost might be higher than what you
9073
+ * specified for <code>onDemandMaxTotalPrice</code>. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/burstable-performance-instances-unlimited-mode-concepts.html#unlimited-mode-surplus-credits">Surplus credits can incur charges</a> in the
9074
+ * <i>Amazon EC2 User Guide</i>.</p>
9075
+ * </note>
9209
9076
  * @public
9210
9077
  */
9211
- AvailabilityZoneGroup?: string | undefined;
9078
+ OnDemandMaxTotalPrice?: string | undefined;
9212
9079
  /**
9213
- * <p>Deprecated.</p>
9080
+ * <p>The maximum amount per hour for Spot Instances that you're willing to pay. You can use
9081
+ * the <code>spotMaxTotalPrice</code> parameter, the <code>onDemandMaxTotalPrice</code>
9082
+ * parameter, or both parameters to ensure that your fleet cost does not exceed your budget.
9083
+ * If you set a maximum price per hour for the On-Demand Instances and Spot Instances in your request, Spot Fleet will
9084
+ * launch instances until it reaches the maximum amount you're willing to pay. When the
9085
+ * maximum amount you're willing to pay is reached, the fleet stops launching instances even
9086
+ * if it hasn’t met the target capacity.</p>
9087
+ * <note>
9088
+ * <p>If your fleet includes T instances that are configured as <code>unlimited</code>,
9089
+ * and if their average CPU usage exceeds the baseline utilization, you will incur a charge
9090
+ * for surplus credits. The <code>spotMaxTotalPrice</code> does not account for surplus
9091
+ * credits, and, if you use surplus credits, your final cost might be higher than what you
9092
+ * specified for <code>spotMaxTotalPrice</code>. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/burstable-performance-instances-unlimited-mode-concepts.html#unlimited-mode-surplus-credits">Surplus credits can incur charges</a> in the
9093
+ * <i>Amazon EC2 User Guide</i>.</p>
9094
+ * </note>
9214
9095
  * @public
9215
9096
  */
9216
- BlockDurationMinutes?: number | undefined;
9097
+ SpotMaxTotalPrice?: string | undefined;
9217
9098
  /**
9218
- * <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>
9099
+ * <p>Indicates whether running Spot Instances are terminated when the Spot Fleet request
9100
+ * expires.</p>
9219
9101
  * @public
9220
9102
  */
9221
- CreateTime?: Date | undefined;
9103
+ TerminateInstancesWithExpiration?: boolean | undefined;
9222
9104
  /**
9223
- * <p>The fault codes for the Spot Instance request, if any.</p>
9105
+ * <p>The type of request. Indicates whether the Spot Fleet only requests the target
9106
+ * capacity or also attempts to maintain it. When this value is <code>request</code>, the
9107
+ * Spot Fleet only places the required requests. It does not attempt to replenish Spot
9108
+ * Instances if capacity is diminished, nor does it submit requests in alternative Spot
9109
+ * pools if capacity is not available. When this value is <code>maintain</code>, the Spot
9110
+ * Fleet maintains the target capacity. The Spot Fleet places the required requests to meet
9111
+ * capacity and automatically replenishes any interrupted instances. Default:
9112
+ * <code>maintain</code>. <code>instant</code> is listed but is not used by Spot
9113
+ * Fleet.</p>
9224
9114
  * @public
9225
9115
  */
9226
- Fault?: SpotInstanceStateFault | undefined;
9116
+ Type?: FleetType | undefined;
9227
9117
  /**
9228
- * <p>The instance ID, if an instance has been launched to fulfill the Spot Instance request.</p>
9118
+ * <p>The start date and time of the request, in UTC format
9119
+ * (<i>YYYY</i>-<i>MM</i>-<i>DD</i>T<i>HH</i>:<i>MM</i>:<i>SS</i>Z).
9120
+ * By default, Amazon EC2 starts fulfilling the request immediately.</p>
9229
9121
  * @public
9230
9122
  */
9231
- InstanceId?: string | undefined;
9123
+ ValidFrom?: Date | undefined;
9232
9124
  /**
9233
- * <p>The instance launch group. Launch groups are Spot Instances that launch together and terminate together.</p>
9125
+ * <p>The end date and time of the request, in UTC format
9126
+ * (<i>YYYY</i>-<i>MM</i>-<i>DD</i>T<i>HH</i>:<i>MM</i>:<i>SS</i>Z).
9127
+ * After the end date and time, no new Spot Instance requests are placed or able to fulfill
9128
+ * the request. If no value is specified, the Spot Fleet request remains until you cancel
9129
+ * it.</p>
9234
9130
  * @public
9235
9131
  */
9236
- LaunchGroup?: string | undefined;
9132
+ ValidUntil?: Date | undefined;
9237
9133
  /**
9238
- * <p>Additional information for launching instances.</p>
9134
+ * <p>Indicates whether Spot Fleet should replace unhealthy instances.</p>
9239
9135
  * @public
9240
9136
  */
9241
- LaunchSpecification?: LaunchSpecification | undefined;
9137
+ ReplaceUnhealthyInstances?: boolean | undefined;
9242
9138
  /**
9243
- * <p>The Availability Zone in which the request is launched.</p>
9244
- * <p>Either <code>launchedAvailabilityZone</code> or <code>launchedAvailabilityZoneId</code> can be specified, but not both</p>
9139
+ * <p>The behavior when a Spot Instance is interrupted. The default is
9140
+ * <code>terminate</code>.</p>
9245
9141
  * @public
9246
9142
  */
9247
- LaunchedAvailabilityZone?: string | undefined;
9143
+ InstanceInterruptionBehavior?: InstanceInterruptionBehavior | undefined;
9248
9144
  /**
9249
- * <p>The ID of the Availability Zone in which the request is launched.</p>
9250
- * <p>Either <code>launchedAvailabilityZone</code> or <code>launchedAvailabilityZoneId</code> can be specified, but not both</p>
9145
+ * <p>One or more Classic Load Balancers and target groups to attach to the Spot Fleet
9146
+ * request. Spot Fleet registers the running Spot Instances with the specified Classic Load
9147
+ * Balancers and target groups.</p>
9148
+ * <p>With Network Load Balancers, Spot Fleet cannot register instances that have the
9149
+ * following instance types: C1, CC1, CC2, CG1, CG2, CR1, CS1, G1, G2, HI1, HS1, M1, M2,
9150
+ * M3, and T1.</p>
9251
9151
  * @public
9252
9152
  */
9253
- LaunchedAvailabilityZoneId?: string | undefined;
9153
+ LoadBalancersConfig?: LoadBalancersConfig | undefined;
9254
9154
  /**
9255
- * <p>The product description associated with the Spot Instance.</p>
9155
+ * <p>The number of Spot pools across which to allocate your target Spot capacity. Valid
9156
+ * only when Spot <b>AllocationStrategy</b> is set to
9157
+ * <code>lowest-price</code>. Spot Fleet selects the cheapest Spot pools and evenly
9158
+ * allocates your target Spot capacity across the number of Spot pools that you
9159
+ * specify.</p>
9160
+ * <p>Note that Spot Fleet attempts to draw Spot Instances from the number of pools that you specify on a
9161
+ * best effort basis. If a pool runs out of Spot capacity before fulfilling your target
9162
+ * capacity, Spot Fleet will continue to fulfill your request by drawing from the next cheapest
9163
+ * pool. To ensure that your target capacity is met, you might receive Spot Instances from more than
9164
+ * the number of pools that you specified. Similarly, if most of the pools have no Spot
9165
+ * capacity, you might receive your full target capacity from fewer than the number of
9166
+ * pools that you specified.</p>
9256
9167
  * @public
9257
9168
  */
9258
- ProductDescription?: RIProductDescription | undefined;
9169
+ InstancePoolsToUseCount?: number | undefined;
9259
9170
  /**
9260
- * <p>The ID of the Spot Instance request.</p>
9171
+ * <p>Reserved.</p>
9261
9172
  * @public
9262
9173
  */
9263
- SpotInstanceRequestId?: string | undefined;
9174
+ Context?: string | undefined;
9264
9175
  /**
9265
- * <p>The maximum price per unit hour that you are willing to pay for a Spot Instance. We do not recommend
9266
- * 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>
9267
- * <important>
9268
- * <p>If you specify a maximum price, your instances will be interrupted more frequently than if you do not specify this parameter.</p>
9269
- * </important>
9176
+ * <p>The unit for the target capacity. You can specify this parameter only when
9177
+ * using attribute-based instance type selection.</p>
9178
+ * <p>Default: <code>units</code> (the number of instances)</p>
9270
9179
  * @public
9271
9180
  */
9272
- SpotPrice?: string | undefined;
9181
+ TargetCapacityUnitType?: TargetCapacityUnitType | undefined;
9273
9182
  /**
9274
- * <p>The state of the Spot Instance request. Spot request status information helps track your Spot
9275
- * 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
9276
- * <i>Amazon EC2 User Guide</i>.</p>
9183
+ * <p>The key-value pair for tagging the Spot Fleet request on creation. The value for
9184
+ * <code>ResourceType</code> must be <code>spot-fleet-request</code>, otherwise the
9185
+ * Spot Fleet request fails. To tag instances at launch, specify the tags in the <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-launch-templates.html#create-launch-template">launch
9186
+ * template</a> (valid only if you use <code>LaunchTemplateConfigs</code>) or in
9187
+ * the <code>
9188
+ * <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_SpotFleetTagSpecification.html">SpotFleetTagSpecification</a>
9189
+ * </code> (valid only if you use
9190
+ * <code>LaunchSpecifications</code>). For information about tagging after launch, see
9191
+ * <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Using_Tags.html#tag-resources">Tag your resources</a>.</p>
9277
9192
  * @public
9278
9193
  */
9279
- State?: SpotInstanceState | undefined;
9194
+ TagSpecifications?: TagSpecification[] | undefined;
9195
+ }
9196
+ /**
9197
+ * <p>Describes a Spot Fleet request.</p>
9198
+ * @public
9199
+ */
9200
+ export interface SpotFleetRequestConfig {
9280
9201
  /**
9281
- * <p>The status code and status message describing the Spot Instance request.</p>
9202
+ * <p>The progress of the Spot Fleet request.
9203
+ * If there is an error, the status is <code>error</code>.
9204
+ * After all requests are placed, the status is <code>pending_fulfillment</code>.
9205
+ * If the size of the fleet is equal to or greater than its target capacity, the status is <code>fulfilled</code>.
9206
+ * If the size of the fleet is decreased, the status is <code>pending_termination</code>
9207
+ * while Spot Instances are terminating.</p>
9282
9208
  * @public
9283
9209
  */
9284
- Status?: SpotInstanceStatus | undefined;
9210
+ ActivityStatus?: ActivityStatus | undefined;
9285
9211
  /**
9286
- * <p>Any tags assigned to the resource.</p>
9212
+ * <p>The creation date and time of the request.</p>
9287
9213
  * @public
9288
9214
  */
9289
- Tags?: Tag[] | undefined;
9215
+ CreateTime?: Date | undefined;
9290
9216
  /**
9291
- * <p>The Spot Instance request type.</p>
9217
+ * <p>The configuration of the Spot Fleet request.</p>
9292
9218
  * @public
9293
9219
  */
9294
- Type?: SpotInstanceType | undefined;
9220
+ SpotFleetRequestConfig?: SpotFleetRequestConfigData | undefined;
9295
9221
  /**
9296
- * <p>The start date of the request, in UTC format (for example,
9297
- * <i>YYYY</i>-<i>MM</i>-<i>DD</i>T<i>HH</i>:<i>MM</i>:<i>SS</i>Z).
9298
- * The request becomes active at this date and time.</p>
9222
+ * <p>The ID of the Spot Fleet request.</p>
9299
9223
  * @public
9300
9224
  */
9301
- ValidFrom?: Date | undefined;
9225
+ SpotFleetRequestId?: string | undefined;
9302
9226
  /**
9303
- * <p>The end date of the request, in UTC format
9304
- * (<i>YYYY</i>-<i>MM</i>-<i>DD</i>T<i>HH</i>:<i>MM</i>:<i>SS</i>Z).</p>
9305
- * <ul>
9306
- * <li>
9307
- * <p>For a persistent request, the request remains active until the <code>validUntil</code> date
9308
- * and time is reached. Otherwise, the request remains active until you cancel it.
9309
- * </p>
9310
- * </li>
9311
- * <li>
9312
- * <p>For a one-time request, the request remains active until all instances launch,
9313
- * the request is canceled, or the <code>validUntil</code> date and time is reached. By default, the
9314
- * request is valid for 7 days from the date the request was created.</p>
9315
- * </li>
9316
- * </ul>
9227
+ * <p>The state of the Spot Fleet request.</p>
9317
9228
  * @public
9318
9229
  */
9319
- ValidUntil?: Date | undefined;
9230
+ SpotFleetRequestState?: BatchState | undefined;
9320
9231
  /**
9321
- * <p>The behavior when a Spot Instance is interrupted.</p>
9232
+ * <p>The tags for a Spot Fleet resource.</p>
9322
9233
  * @public
9323
9234
  */
9324
- InstanceInterruptionBehavior?: InstanceInterruptionBehavior | undefined;
9235
+ Tags?: Tag[] | undefined;
9325
9236
  }
9326
9237
  /**
9327
- * <p>Contains the output of DescribeSpotInstanceRequests.</p>
9238
+ * <p>Contains the output of DescribeSpotFleetRequests.</p>
9328
9239
  * @public
9329
9240
  */
9330
- export interface DescribeSpotInstanceRequestsResult {
9331
- /**
9332
- * <p>The Spot Instance requests.</p>
9333
- * @public
9334
- */
9335
- SpotInstanceRequests?: SpotInstanceRequest[] | undefined;
9241
+ export interface DescribeSpotFleetRequestsResponse {
9336
9242
  /**
9337
9243
  * <p>The token to include in another request to get the next page of items. This value is <code>null</code> when there
9338
9244
  * are no more items to return.</p>
9339
9245
  * @public
9340
9246
  */
9341
9247
  NextToken?: string | undefined;
9248
+ /**
9249
+ * <p>Information about the configuration of your Spot Fleet.</p>
9250
+ * @public
9251
+ */
9252
+ SpotFleetRequestConfigs?: SpotFleetRequestConfig[] | undefined;
9342
9253
  }
9343
9254
  /**
9344
- * <p>Contains the parameters for DescribeSpotPriceHistory.</p>
9255
+ * <p>Contains the parameters for DescribeSpotInstanceRequests.</p>
9345
9256
  * @public
9346
9257
  */
9347
- export interface DescribeSpotPriceHistoryRequest {
9258
+ export interface DescribeSpotInstanceRequestsRequest {
9348
9259
  /**
9349
- * <p>Filters the results by the specified ID of the Availability Zone.</p>
9350
- * <p>Either <code>AvailabilityZone</code> or <code>AvailabilityZoneId</code> can be specified, but not both</p>
9260
+ * <p>The token returned from a previous paginated request. Pagination continues from the end of the items returned by the previous request.</p>
9351
9261
  * @public
9352
9262
  */
9353
- AvailabilityZoneId?: string | undefined;
9263
+ NextToken?: string | undefined;
9264
+ /**
9265
+ * <p>The maximum number of items to return for this request.
9266
+ * To get the next page of items, make another request with the token returned in the output.
9267
+ * For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination">Pagination</a>.</p>
9268
+ * @public
9269
+ */
9270
+ MaxResults?: number | undefined;
9354
9271
  /**
9355
9272
  * <p>Checks whether you have the required permissions for the action, without actually
9356
9273
  * making the request, and provides an error response. If you have the required
9357
9274
  * permissions, the error response is <code>DryRunOperation</code>. Otherwise, it is
9358
- * <code>UnauthorizedOperation</code>.</p>
9275
+ * <code>UnauthorizedOperation</code>.</p>
9359
9276
  * @public
9360
9277
  */
9361
9278
  DryRun?: boolean | undefined;
9362
9279
  /**
9363
- * <p>The date and time, up to the past 90 days, from which to start retrieving the price
9364
- * history data, in UTC format (for example,
9365
- * <i>YYYY</i>-<i>MM</i>-<i>DD</i>T<i>HH</i>:<i>MM</i>:<i>SS</i>Z).</p>
9366
- * @public
9367
- */
9368
- StartTime?: Date | undefined;
9369
- /**
9370
- * <p>The date and time, up to the current date, from which to stop retrieving the price
9371
- * history data, in UTC format (for example,
9372
- * <i>YYYY</i>-<i>MM</i>-<i>DD</i>T<i>HH</i>:<i>MM</i>:<i>SS</i>Z).</p>
9373
- * @public
9374
- */
9375
- EndTime?: Date | undefined;
9376
- /**
9377
- * <p>Filters the results by the specified instance types.</p>
9378
- * @public
9379
- */
9380
- InstanceTypes?: _InstanceType[] | undefined;
9381
- /**
9382
- * <p>Filters the results by the specified basic product descriptions.</p>
9280
+ * <p>The IDs of the Spot Instance requests.</p>
9383
9281
  * @public
9384
9282
  */
9385
- ProductDescriptions?: string[] | undefined;
9283
+ SpotInstanceRequestIds?: string[] | undefined;
9386
9284
  /**
9387
9285
  * <p>The filters.</p>
9388
9286
  * <ul>
9389
9287
  * <li>
9390
9288
  * <p>
9391
- * <code>availability-zone</code> - The Availability Zone for which prices should
9392
- * be returned.</p>
9289
+ * <code>availability-zone-group</code> - The Availability Zone group.</p>
9290
+ * </li>
9291
+ * <li>
9292
+ * <p>
9293
+ * <code>create-time</code> - The time stamp when the Spot Instance request was
9294
+ * created.</p>
9295
+ * </li>
9296
+ * <li>
9297
+ * <p>
9298
+ * <code>fault-code</code> - The fault code related to the request.</p>
9299
+ * </li>
9300
+ * <li>
9301
+ * <p>
9302
+ * <code>fault-message</code> - The fault message related to the request.</p>
9303
+ * </li>
9304
+ * <li>
9305
+ * <p>
9306
+ * <code>instance-id</code> - The ID of the instance that fulfilled the
9307
+ * request.</p>
9308
+ * </li>
9309
+ * <li>
9310
+ * <p>
9311
+ * <code>launch-group</code> - The Spot Instance launch group.</p>
9312
+ * </li>
9313
+ * <li>
9314
+ * <p>
9315
+ * <code>launch.block-device-mapping.delete-on-termination</code> - Indicates
9316
+ * whether the EBS volume is deleted on instance termination.</p>
9317
+ * </li>
9318
+ * <li>
9319
+ * <p>
9320
+ * <code>launch.block-device-mapping.device-name</code> - The device name for the
9321
+ * volume in the block device mapping (for example, <code>/dev/sdh</code> or
9322
+ * <code>xvdh</code>).</p>
9323
+ * </li>
9324
+ * <li>
9325
+ * <p>
9326
+ * <code>launch.block-device-mapping.snapshot-id</code> - The ID of the snapshot
9327
+ * for the EBS volume.</p>
9328
+ * </li>
9329
+ * <li>
9330
+ * <p>
9331
+ * <code>launch.block-device-mapping.volume-size</code> - The size of the EBS
9332
+ * volume, in GiB.</p>
9333
+ * </li>
9334
+ * <li>
9335
+ * <p>
9336
+ * <code>launch.block-device-mapping.volume-type</code> - The type of EBS volume:
9337
+ * <code>gp2</code> or <code>gp3</code> for General Purpose SSD, <code>io1</code>
9338
+ * or <code>io2</code> for Provisioned IOPS SSD, <code>st1</code> for Throughput
9339
+ * Optimized HDD, <code>sc1</code> for Cold HDD, or <code>standard</code> for
9340
+ * Magnetic.</p>
9341
+ * </li>
9342
+ * <li>
9343
+ * <p>
9344
+ * <code>launch.group-id</code> - The ID of the security group for the
9345
+ * instance.</p>
9346
+ * </li>
9347
+ * <li>
9348
+ * <p>
9349
+ * <code>launch.group-name</code> - The name of the security group for the
9350
+ * instance.</p>
9351
+ * </li>
9352
+ * <li>
9353
+ * <p>
9354
+ * <code>launch.image-id</code> - The ID of the AMI.</p>
9355
+ * </li>
9356
+ * <li>
9357
+ * <p>
9358
+ * <code>launch.instance-type</code> - The type of instance (for example,
9359
+ * <code>m3.medium</code>).</p>
9360
+ * </li>
9361
+ * <li>
9362
+ * <p>
9363
+ * <code>launch.kernel-id</code> - The kernel ID.</p>
9364
+ * </li>
9365
+ * <li>
9366
+ * <p>
9367
+ * <code>launch.key-name</code> - The name of the key pair the instance launched
9368
+ * with.</p>
9369
+ * </li>
9370
+ * <li>
9371
+ * <p>
9372
+ * <code>launch.monitoring-enabled</code> - Whether detailed monitoring is
9373
+ * enabled for the Spot Instance.</p>
9374
+ * </li>
9375
+ * <li>
9376
+ * <p>
9377
+ * <code>launch.ramdisk-id</code> - The RAM disk ID.</p>
9378
+ * </li>
9379
+ * <li>
9380
+ * <p>
9381
+ * <code>launched-availability-zone</code> - The Availability Zone in which the
9382
+ * request is launched.</p>
9383
+ * </li>
9384
+ * <li>
9385
+ * <p>
9386
+ * <code>launched-availability-zone-id</code> - The ID of the Availability Zone
9387
+ * in which the request is launched.</p>
9388
+ * </li>
9389
+ * <li>
9390
+ * <p>
9391
+ * <code>network-interface.addresses.primary</code> - Indicates whether the IP
9392
+ * address is the primary private IP address.</p>
9393
+ * </li>
9394
+ * <li>
9395
+ * <p>
9396
+ * <code>network-interface.delete-on-termination</code> - Indicates whether the
9397
+ * network interface is deleted when the instance is terminated.</p>
9398
+ * </li>
9399
+ * <li>
9400
+ * <p>
9401
+ * <code>network-interface.description</code> - A description of the network
9402
+ * interface.</p>
9403
+ * </li>
9404
+ * <li>
9405
+ * <p>
9406
+ * <code>network-interface.device-index</code> - The index of the device for the
9407
+ * network interface attachment on the instance.</p>
9408
+ * </li>
9409
+ * <li>
9410
+ * <p>
9411
+ * <code>network-interface.group-id</code> - The ID of the security group
9412
+ * associated with the network interface.</p>
9413
+ * </li>
9414
+ * <li>
9415
+ * <p>
9416
+ * <code>network-interface.network-interface-id</code> - The ID of the network
9417
+ * interface.</p>
9418
+ * </li>
9419
+ * <li>
9420
+ * <p>
9421
+ * <code>network-interface.private-ip-address</code> - The primary private IP
9422
+ * address of the network interface.</p>
9423
+ * </li>
9424
+ * <li>
9425
+ * <p>
9426
+ * <code>network-interface.subnet-id</code> - The ID of the subnet for the
9427
+ * instance.</p>
9393
9428
  * </li>
9394
9429
  * <li>
9395
9430
  * <p>
9396
- * <code>availability-zone-id</code> - The ID of the Availability Zone for which
9397
- * prices should be returned.</p>
9431
+ * <code>product-description</code> - The product description associated with the
9432
+ * instance (<code>Linux/UNIX</code> | <code>Windows</code>).</p>
9398
9433
  * </li>
9399
9434
  * <li>
9400
9435
  * <p>
9401
- * <code>instance-type</code> - The type of instance (for example,
9402
- * <code>m3.medium</code>).</p>
9436
+ * <code>spot-instance-request-id</code> - The Spot Instance request ID.</p>
9403
9437
  * </li>
9404
9438
  * <li>
9405
9439
  * <p>
9406
- * <code>product-description</code> - The product description for the Spot price
9407
- * (<code>Linux/UNIX</code> | <code>Red Hat Enterprise Linux</code> |
9408
- * <code>SUSE Linux</code> | <code>Windows</code> | <code>Linux/UNIX (Amazon
9409
- * VPC)</code> | <code>Red Hat Enterprise Linux (Amazon VPC)</code> |
9410
- * <code>SUSE Linux (Amazon VPC)</code> | <code>Windows (Amazon
9411
- * VPC)</code>).</p>
9440
+ * <code>spot-price</code> - The maximum hourly price for any Spot Instance
9441
+ * launched to fulfill the request.</p>
9412
9442
  * </li>
9413
9443
  * <li>
9414
9444
  * <p>
9415
- * <code>spot-price</code> - The Spot price. The value must match exactly (or use
9416
- * wildcards; greater than or less than comparison is not supported).</p>
9445
+ * <code>state</code> - The state of the Spot Instance request (<code>open</code>
9446
+ * | <code>active</code> | <code>closed</code> | <code>cancelled</code> |
9447
+ * <code>failed</code>). Spot request status information can help you track
9448
+ * your Amazon EC2 Spot Instance requests. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/spot-request-status.html">Spot
9449
+ * request status</a> in the <i>Amazon EC2 User Guide</i>.</p>
9417
9450
  * </li>
9418
9451
  * <li>
9419
9452
  * <p>
9420
- * <code>timestamp</code> - The time stamp of the Spot price history, in UTC format
9421
- * (for example, <i>ddd MMM dd
9422
- * HH</i>:<i>mm</i>:<i>ss</i> UTC
9423
- * <i>YYYY</i>). You can use wildcards (<code>*</code> and
9424
- * <code>?</code>). Greater than or less than comparison is not
9425
- * supported.</p>
9453
+ * <code>status-code</code> - The short code describing the most recent
9454
+ * evaluation of your Spot Instance request.</p>
9455
+ * </li>
9456
+ * <li>
9457
+ * <p>
9458
+ * <code>status-message</code> - The message explaining the status of the Spot
9459
+ * Instance request.</p>
9460
+ * </li>
9461
+ * <li>
9462
+ * <p>
9463
+ * <code>tag:<key></code> - 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.
9464
+ * 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>
9465
+ * </li>
9466
+ * <li>
9467
+ * <p>
9468
+ * <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>
9469
+ * </li>
9470
+ * <li>
9471
+ * <p>
9472
+ * <code>type</code> - The type of Spot Instance request (<code>one-time</code> |
9473
+ * <code>persistent</code>).</p>
9474
+ * </li>
9475
+ * <li>
9476
+ * <p>
9477
+ * <code>valid-from</code> - The start date of the request.</p>
9478
+ * </li>
9479
+ * <li>
9480
+ * <p>
9481
+ * <code>valid-until</code> - The end date of the request.</p>
9426
9482
  * </li>
9427
9483
  * </ul>
9428
9484
  * @public
9429
9485
  */
9430
9486
  Filters?: Filter[] | undefined;
9487
+ }
9488
+ /**
9489
+ * <p>Describes the monitoring of an instance.</p>
9490
+ * @public
9491
+ */
9492
+ export interface RunInstancesMonitoringEnabled {
9431
9493
  /**
9432
- * <p>Filters the results by the specified Availability Zone.</p>
9433
- * <p>Either <code>AvailabilityZone</code> or <code>AvailabilityZoneId</code> can be specified, but not both</p>
9434
- * @public
9435
- */
9436
- AvailabilityZone?: string | undefined;
9437
- /**
9438
- * <p>The maximum number of items to return for this request.
9439
- * To get the next page of items, make another request with the token returned in the output.
9440
- * For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination">Pagination</a>.</p>
9441
- * @public
9442
- */
9443
- MaxResults?: number | undefined;
9444
- /**
9445
- * <p>The token returned from a previous paginated request. Pagination continues from the end of the items returned by the previous request.</p>
9494
+ * <p>Indicates whether detailed monitoring is enabled. Otherwise, basic monitoring is
9495
+ * enabled.</p>
9446
9496
  * @public
9447
9497
  */
9448
- NextToken?: string | undefined;
9498
+ Enabled: boolean | undefined;
9449
9499
  }
9450
9500
  /**
9451
- * <p>The maximum price per unit hour that you are willing to pay for a Spot Instance. We do not recommend
9452
- * 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>
9453
- * <important>
9454
- * <p>If you specify a maximum price, your instances will be interrupted more frequently than if you do not specify this parameter.</p>
9455
- * </important>
9501
+ * <p>Describes the launch specification for an instance.</p>
9456
9502
  * @public
9457
9503
  */
9458
- export interface SpotPrice {
9504
+ export interface LaunchSpecification {
9459
9505
  /**
9460
- * <p>The Availability Zone.</p>
9506
+ * <p>The base64-encoded user data that instances use when starting up. User data is limited to 16 KB.</p>
9461
9507
  * @public
9462
9508
  */
9463
- AvailabilityZone?: string | undefined;
9509
+ UserData?: string | undefined;
9464
9510
  /**
9465
- * <p>The ID of the Availability Zone.</p>
9511
+ * <p>Deprecated.</p>
9466
9512
  * @public
9467
9513
  */
9468
- AvailabilityZoneId?: string | undefined;
9514
+ AddressingType?: string | undefined;
9469
9515
  /**
9470
- * <p>The instance type.</p>
9516
+ * <p>The block device mapping entries.</p>
9471
9517
  * @public
9472
9518
  */
9473
- InstanceType?: _InstanceType | undefined;
9519
+ BlockDeviceMappings?: BlockDeviceMapping[] | undefined;
9474
9520
  /**
9475
- * <p>A general description of the AMI.</p>
9521
+ * <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>
9522
+ * <p>Default: <code>false</code>
9523
+ * </p>
9476
9524
  * @public
9477
9525
  */
9478
- ProductDescription?: RIProductDescription | undefined;
9526
+ EbsOptimized?: boolean | undefined;
9479
9527
  /**
9480
- * <p>The maximum price per unit hour that you are willing to pay for a Spot Instance. We do not recommend
9481
- * 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>
9482
- * <important>
9483
- * <p>If you specify a maximum price, your instances will be interrupted more frequently than if you do not specify this parameter.</p>
9484
- * </important>
9528
+ * <p>The IAM instance profile.</p>
9485
9529
  * @public
9486
9530
  */
9487
- SpotPrice?: string | undefined;
9531
+ IamInstanceProfile?: IamInstanceProfileSpecification | undefined;
9488
9532
  /**
9489
- * <p>The date and time the request was created, in UTC format (for example,
9490
- * <i>YYYY</i>-<i>MM</i>-<i>DD</i>T<i>HH</i>:<i>MM</i>:<i>SS</i>Z).</p>
9533
+ * <p>The ID of the AMI.</p>
9491
9534
  * @public
9492
9535
  */
9493
- Timestamp?: Date | undefined;
9494
- }
9495
- /**
9496
- * <p>Contains the output of DescribeSpotPriceHistory.</p>
9497
- * @public
9498
- */
9499
- export interface DescribeSpotPriceHistoryResult {
9536
+ ImageId?: string | undefined;
9500
9537
  /**
9501
- * <p>The token to include in another request to get the next page of items. This value is
9502
- * an empty string (<code>""</code>) or <code>null</code> when there are no more items to return.</p>
9538
+ * <p>The instance type. Only one instance type can be specified.</p>
9503
9539
  * @public
9504
9540
  */
9505
- NextToken?: string | undefined;
9541
+ InstanceType?: _InstanceType | undefined;
9506
9542
  /**
9507
- * <p>The historical Spot prices.</p>
9543
+ * <p>The ID of the kernel.</p>
9508
9544
  * @public
9509
9545
  */
9510
- SpotPriceHistory?: SpotPrice[] | undefined;
9511
- }
9512
- /**
9513
- * @public
9514
- */
9515
- export interface DescribeStaleSecurityGroupsRequest {
9546
+ KernelId?: string | undefined;
9516
9547
  /**
9517
- * <p>Checks whether you have the required permissions for the action, without actually making the request,
9518
- * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
9519
- * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
9548
+ * <p>The name of the key pair.</p>
9520
9549
  * @public
9521
9550
  */
9522
- DryRun?: boolean | undefined;
9551
+ KeyName?: string | undefined;
9523
9552
  /**
9524
- * <p>The maximum number of items to return for this request. To get the next page of items,
9525
- * make another request with the token returned in the output. For more information,
9526
- * see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination">Pagination</a>.</p>
9553
+ * <p>The network interfaces. If you specify a network interface, you must specify
9554
+ * subnet IDs and security group IDs using the network interface.</p>
9527
9555
  * @public
9528
9556
  */
9529
- MaxResults?: number | undefined;
9557
+ NetworkInterfaces?: InstanceNetworkInterfaceSpecification[] | undefined;
9530
9558
  /**
9531
- * <p>The token returned from a previous paginated request. Pagination continues from the end of the items returned by the previous request.</p>
9559
+ * <p>The placement information for the instance.</p>
9532
9560
  * @public
9533
9561
  */
9534
- NextToken?: string | undefined;
9562
+ Placement?: SpotPlacement | undefined;
9535
9563
  /**
9536
- * <p>The ID of the VPC.</p>
9564
+ * <p>The ID of the RAM disk.</p>
9537
9565
  * @public
9538
9566
  */
9539
- VpcId: string | undefined;
9540
- }
9541
- /**
9542
- * <p>Describes a stale rule in a security group.</p>
9543
- * @public
9544
- */
9545
- export interface StaleIpPermission {
9567
+ RamdiskId?: string | undefined;
9546
9568
  /**
9547
- * <p>If the protocol is TCP or UDP, this is the start of the port range.
9548
- * If the protocol is ICMP or ICMPv6, this is the ICMP type or -1 (all ICMP types).</p>
9569
+ * <p>The ID of the subnet in which to launch the instance.</p>
9549
9570
  * @public
9550
9571
  */
9551
- FromPort?: number | undefined;
9572
+ SubnetId?: string | undefined;
9552
9573
  /**
9553
- * <p>The IP protocol name (<code>tcp</code>, <code>udp</code>, <code>icmp</code>, <code>icmpv6</code>) or number
9554
- * (see <a href="http://www.iana.org/assignments/protocol-numbers/protocol-numbers.xhtml">Protocol Numbers)</a>.</p>
9574
+ * <p>The IDs of the security groups.</p>
9555
9575
  * @public
9556
9576
  */
9557
- IpProtocol?: string | undefined;
9577
+ SecurityGroups?: GroupIdentifier[] | undefined;
9558
9578
  /**
9559
- * <p>The IP ranges. Not applicable for stale security group rules.</p>
9579
+ * <p>Describes the monitoring of an instance.</p>
9560
9580
  * @public
9561
9581
  */
9562
- IpRanges?: string[] | undefined;
9582
+ Monitoring?: RunInstancesMonitoringEnabled | undefined;
9583
+ }
9584
+ /**
9585
+ * @public
9586
+ * @enum
9587
+ */
9588
+ export declare const SpotInstanceState: {
9589
+ readonly active: "active";
9590
+ readonly cancelled: "cancelled";
9591
+ readonly closed: "closed";
9592
+ readonly disabled: "disabled";
9593
+ readonly failed: "failed";
9594
+ readonly open: "open";
9595
+ };
9596
+ /**
9597
+ * @public
9598
+ */
9599
+ export type SpotInstanceState = (typeof SpotInstanceState)[keyof typeof SpotInstanceState];
9600
+ /**
9601
+ * <p>Describes the status of a Spot Instance request.</p>
9602
+ * @public
9603
+ */
9604
+ export interface SpotInstanceStatus {
9563
9605
  /**
9564
- * <p>The prefix list IDs. Not applicable for stale security group rules.</p>
9606
+ * <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</i>.</p>
9565
9607
  * @public
9566
9608
  */
9567
- PrefixListIds?: string[] | undefined;
9609
+ Code?: string | undefined;
9568
9610
  /**
9569
- * <p>If the protocol is TCP or UDP, this is the end of the port range.
9570
- * If the protocol is ICMP or ICMPv6, this is the ICMP code or -1 (all ICMP codes).</p>
9611
+ * <p>The description for the status code.</p>
9571
9612
  * @public
9572
9613
  */
9573
- ToPort?: number | undefined;
9614
+ Message?: string | undefined;
9574
9615
  /**
9575
- * <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>
9616
+ * <p>The date and time of the most recent status update, in UTC format (for example,
9617
+ * <i>YYYY</i>-<i>MM</i>-<i>DD</i>T<i>HH</i>:<i>MM</i>:<i>SS</i>Z).</p>
9576
9618
  * @public
9577
9619
  */
9578
- UserIdGroupPairs?: UserIdGroupPair[] | undefined;
9620
+ UpdateTime?: Date | undefined;
9579
9621
  }
9580
9622
  /**
9581
- * <p>Describes a stale security group (a security group that contains stale rules).</p>
9623
+ * <p>Describes a Spot Instance request.</p>
9582
9624
  * @public
9583
9625
  */
9584
- export interface StaleSecurityGroup {
9626
+ export interface SpotInstanceRequest {
9585
9627
  /**
9586
- * <p>The description of the security group.</p>
9628
+ * <p>Deprecated.</p>
9587
9629
  * @public
9588
9630
  */
9589
- Description?: string | undefined;
9631
+ ActualBlockHourlyPrice?: string | undefined;
9590
9632
  /**
9591
- * <p>The ID of the security group.</p>
9633
+ * <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>
9592
9634
  * @public
9593
9635
  */
9594
- GroupId?: string | undefined;
9636
+ AvailabilityZoneGroup?: string | undefined;
9595
9637
  /**
9596
- * <p>The name of the security group.</p>
9638
+ * <p>Deprecated.</p>
9597
9639
  * @public
9598
9640
  */
9599
- GroupName?: string | undefined;
9641
+ BlockDurationMinutes?: number | undefined;
9600
9642
  /**
9601
- * <p>Information about the stale inbound rules in the security group.</p>
9643
+ * <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>
9602
9644
  * @public
9603
9645
  */
9604
- StaleIpPermissions?: StaleIpPermission[] | undefined;
9646
+ CreateTime?: Date | undefined;
9605
9647
  /**
9606
- * <p>Information about the stale outbound rules in the security group.</p>
9648
+ * <p>The fault codes for the Spot Instance request, if any.</p>
9607
9649
  * @public
9608
9650
  */
9609
- StaleIpPermissionsEgress?: StaleIpPermission[] | undefined;
9651
+ Fault?: SpotInstanceStateFault | undefined;
9610
9652
  /**
9611
- * <p>The ID of the VPC for the security group.</p>
9612
- * @public
9613
- */
9614
- VpcId?: string | undefined;
9615
- }
9616
- /**
9617
- * @public
9618
- */
9619
- export interface DescribeStaleSecurityGroupsResult {
9653
+ * <p>The instance ID, if an instance has been launched to fulfill the Spot Instance request.</p>
9654
+ * @public
9655
+ */
9656
+ InstanceId?: string | undefined;
9620
9657
  /**
9621
- * <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>
9658
+ * <p>The instance launch group. Launch groups are Spot Instances that launch together and terminate together.</p>
9622
9659
  * @public
9623
9660
  */
9624
- NextToken?: string | undefined;
9661
+ LaunchGroup?: string | undefined;
9625
9662
  /**
9626
- * <p>Information about the stale security groups.</p>
9663
+ * <p>Additional information for launching instances.</p>
9627
9664
  * @public
9628
9665
  */
9629
- StaleSecurityGroupSet?: StaleSecurityGroup[] | undefined;
9630
- }
9631
- /**
9632
- * @public
9633
- */
9634
- export interface DescribeStoreImageTasksRequest {
9666
+ LaunchSpecification?: LaunchSpecification | undefined;
9635
9667
  /**
9636
- * <p>The AMI IDs for which to show progress. Up to 20 AMI IDs can be included in a
9637
- * request.</p>
9668
+ * <p>The Availability Zone in which the request is launched.</p>
9669
+ * <p>Either <code>launchedAvailabilityZone</code> or <code>launchedAvailabilityZoneId</code> can be specified, but not both</p>
9638
9670
  * @public
9639
9671
  */
9640
- ImageIds?: string[] | undefined;
9672
+ LaunchedAvailabilityZone?: string | undefined;
9641
9673
  /**
9642
- * <p>Checks whether you have the required permissions for the action, without actually making the request,
9643
- * and provides an error response. If you have the required permissions, the error response is
9644
- * <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.</p>
9674
+ * <p>The ID of the Availability Zone in which the request is launched.</p>
9675
+ * <p>Either <code>launchedAvailabilityZone</code> or <code>launchedAvailabilityZoneId</code> can be specified, but not both</p>
9645
9676
  * @public
9646
9677
  */
9647
- DryRun?: boolean | undefined;
9678
+ LaunchedAvailabilityZoneId?: string | undefined;
9648
9679
  /**
9649
- * <p>The filters.</p>
9650
- * <ul>
9651
- * <li>
9652
- * <p>
9653
- * <code>task-state</code> - Returns tasks in a certain state (<code>InProgress</code> |
9654
- * <code>Completed</code> | <code>Failed</code>)</p>
9655
- * </li>
9656
- * <li>
9657
- * <p>
9658
- * <code>bucket</code> - Returns task information for tasks that targeted a specific
9659
- * bucket. For the filter value, specify the bucket name.</p>
9660
- * </li>
9661
- * </ul>
9662
- * <note>
9663
- * <p>When you specify the <code>ImageIds</code> parameter, any filters that you specify are
9664
- * ignored. To use the filters, you must remove the <code>ImageIds</code> parameter.</p>
9665
- * </note>
9680
+ * <p>The product description associated with the Spot Instance.</p>
9666
9681
  * @public
9667
9682
  */
9668
- Filters?: Filter[] | undefined;
9683
+ ProductDescription?: RIProductDescription | undefined;
9669
9684
  /**
9670
- * <p>The token returned from a previous paginated request. Pagination continues from the end of the items returned by the previous request.</p>
9685
+ * <p>The ID of the Spot Instance request.</p>
9671
9686
  * @public
9672
9687
  */
9673
- NextToken?: string | undefined;
9688
+ SpotInstanceRequestId?: string | undefined;
9674
9689
  /**
9675
- * <p>The maximum number of items to return for this request.
9676
- * To get the next page of items, make another request with the token returned in the output.
9677
- * For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination">Pagination</a>.</p>
9678
- * <p>You cannot specify this parameter and the <code>ImageIds</code> parameter in the same
9679
- * call.</p>
9690
+ * <p>The maximum price per unit hour that you are willing to pay for a Spot Instance. We do not recommend
9691
+ * 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>
9692
+ * <important>
9693
+ * <p>If you specify a maximum price, your instances will be interrupted more frequently than if you do not specify this parameter.</p>
9694
+ * </important>
9680
9695
  * @public
9681
9696
  */
9682
- MaxResults?: number | undefined;
9683
- }
9684
- /**
9685
- * <p>The information about the AMI store task, including the progress of the task.</p>
9686
- * @public
9687
- */
9688
- export interface StoreImageTaskResult {
9697
+ SpotPrice?: string | undefined;
9689
9698
  /**
9690
- * <p>The ID of the AMI that is being stored.</p>
9699
+ * <p>The state of the Spot Instance request. Spot request status information helps track your Spot
9700
+ * 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
9701
+ * <i>Amazon EC2 User Guide</i>.</p>
9691
9702
  * @public
9692
9703
  */
9693
- AmiId?: string | undefined;
9704
+ State?: SpotInstanceState | undefined;
9694
9705
  /**
9695
- * <p>The time the task started.</p>
9706
+ * <p>The status code and status message describing the Spot Instance request.</p>
9696
9707
  * @public
9697
9708
  */
9698
- TaskStartTime?: Date | undefined;
9709
+ Status?: SpotInstanceStatus | undefined;
9699
9710
  /**
9700
- * <p>The name of the Amazon S3 bucket that contains the stored AMI object.</p>
9711
+ * <p>Any tags assigned to the resource.</p>
9701
9712
  * @public
9702
9713
  */
9703
- Bucket?: string | undefined;
9714
+ Tags?: Tag[] | undefined;
9704
9715
  /**
9705
- * <p>The name of the stored AMI object in the bucket.</p>
9716
+ * <p>The Spot Instance request type.</p>
9706
9717
  * @public
9707
9718
  */
9708
- S3objectKey?: string | undefined;
9719
+ Type?: SpotInstanceType | undefined;
9709
9720
  /**
9710
- * <p>The progress of the task as a percentage.</p>
9721
+ * <p>The start date of the request, in UTC format (for example,
9722
+ * <i>YYYY</i>-<i>MM</i>-<i>DD</i>T<i>HH</i>:<i>MM</i>:<i>SS</i>Z).
9723
+ * The request becomes active at this date and time.</p>
9711
9724
  * @public
9712
9725
  */
9713
- ProgressPercentage?: number | undefined;
9726
+ ValidFrom?: Date | undefined;
9714
9727
  /**
9715
- * <p>The state of the store task (<code>InProgress</code>, <code>Completed</code>, or
9716
- * <code>Failed</code>).</p>
9728
+ * <p>The end date of the request, in UTC format
9729
+ * (<i>YYYY</i>-<i>MM</i>-<i>DD</i>T<i>HH</i>:<i>MM</i>:<i>SS</i>Z).</p>
9730
+ * <ul>
9731
+ * <li>
9732
+ * <p>For a persistent request, the request remains active until the <code>validUntil</code> date
9733
+ * and time is reached. Otherwise, the request remains active until you cancel it.
9734
+ * </p>
9735
+ * </li>
9736
+ * <li>
9737
+ * <p>For a one-time request, the request remains active until all instances launch,
9738
+ * the request is canceled, or the <code>validUntil</code> date and time is reached. By default, the
9739
+ * request is valid for 7 days from the date the request was created.</p>
9740
+ * </li>
9741
+ * </ul>
9717
9742
  * @public
9718
9743
  */
9719
- StoreTaskState?: string | undefined;
9744
+ ValidUntil?: Date | undefined;
9720
9745
  /**
9721
- * <p>If the tasks fails, the reason for the failure is returned. If the task succeeds,
9722
- * <code>null</code> is returned.</p>
9746
+ * <p>The behavior when a Spot Instance is interrupted.</p>
9723
9747
  * @public
9724
9748
  */
9725
- StoreTaskFailureReason?: string | undefined;
9749
+ InstanceInterruptionBehavior?: InstanceInterruptionBehavior | undefined;
9726
9750
  }
9727
9751
  /**
9752
+ * <p>Contains the output of DescribeSpotInstanceRequests.</p>
9728
9753
  * @public
9729
9754
  */
9730
- export interface DescribeStoreImageTasksResult {
9755
+ export interface DescribeSpotInstanceRequestsResult {
9731
9756
  /**
9732
- * <p>The information about the AMI store tasks.</p>
9757
+ * <p>The Spot Instance requests.</p>
9733
9758
  * @public
9734
9759
  */
9735
- StoreImageTaskResults?: StoreImageTaskResult[] | undefined;
9760
+ SpotInstanceRequests?: SpotInstanceRequest[] | undefined;
9736
9761
  /**
9737
9762
  * <p>The token to include in another request to get the next page of items. This value is <code>null</code> when there
9738
9763
  * are no more items to return.</p>
@@ -9741,192 +9766,178 @@ export interface DescribeStoreImageTasksResult {
9741
9766
  NextToken?: string | undefined;
9742
9767
  }
9743
9768
  /**
9769
+ * <p>Contains the parameters for DescribeSpotPriceHistory.</p>
9744
9770
  * @public
9745
9771
  */
9746
- export interface DescribeSubnetsRequest {
9772
+ export interface DescribeSpotPriceHistoryRequest {
9747
9773
  /**
9748
- * <p>The filters.</p>
9749
- * <ul>
9750
- * <li>
9751
- * <p>
9752
- * <code>availability-zone</code> - The Availability Zone for the subnet. You can also use
9753
- * <code>availabilityZone</code> as the filter name.</p>
9754
- * </li>
9755
- * <li>
9756
- * <p>
9757
- * <code>availability-zone-id</code> - The ID of the Availability Zone for the subnet.
9758
- * You can also use <code>availabilityZoneId</code> as the filter name.</p>
9759
- * </li>
9760
- * <li>
9761
- * <p>
9762
- * <code>available-ip-address-count</code> - The number of IPv4 addresses in the
9763
- * subnet that are available.</p>
9764
- * </li>
9765
- * <li>
9766
- * <p>
9767
- * <code>cidr-block</code> - The IPv4 CIDR block of the subnet. The CIDR block
9768
- * you specify must exactly match the subnet's CIDR block for information to be
9769
- * returned for the subnet. You can also use <code>cidr</code> or
9770
- * <code>cidrBlock</code> as the filter names.</p>
9771
- * </li>
9772
- * <li>
9773
- * <p>
9774
- * <code>customer-owned-ipv4-pool</code> - The customer-owned IPv4 address pool
9775
- * associated with the subnet.</p>
9776
- * </li>
9777
- * <li>
9778
- * <p>
9779
- * <code>default-for-az</code> - Indicates whether this is the default subnet for
9780
- * the Availability Zone (<code>true</code> | <code>false</code>). You can also use
9781
- * <code>defaultForAz</code> as the filter name.</p>
9782
- * </li>
9783
- * <li>
9784
- * <p>
9785
- * <code>enable-dns64</code> - Indicates whether DNS queries made to the
9786
- * Amazon-provided DNS Resolver in this subnet should return synthetic IPv6
9787
- * addresses for IPv4-only destinations.</p>
9788
- * </li>
9789
- * <li>
9790
- * <p>
9791
- * <code>enable-lni-at-device-index</code> - Indicates the device position for
9792
- * local network interfaces in this subnet. For example, <code>1</code> indicates
9793
- * local network interfaces in this subnet are the secondary network interface
9794
- * (eth1). </p>
9795
- * </li>
9796
- * <li>
9797
- * <p>
9798
- * <code>ipv6-cidr-block-association.ipv6-cidr-block</code> - An IPv6 CIDR
9799
- * block associated with the subnet.</p>
9800
- * </li>
9801
- * <li>
9802
- * <p>
9803
- * <code>ipv6-cidr-block-association.association-id</code> - An association ID
9804
- * for an IPv6 CIDR block associated with the subnet.</p>
9805
- * </li>
9806
- * <li>
9807
- * <p>
9808
- * <code>ipv6-cidr-block-association.state</code> - The state of an IPv6 CIDR
9809
- * block associated with the subnet.</p>
9810
- * </li>
9811
- * <li>
9812
- * <p>
9813
- * <code>ipv6-native</code> - Indicates whether this is an IPv6 only subnet
9814
- * (<code>true</code> | <code>false</code>).</p>
9815
- * </li>
9816
- * <li>
9817
- * <p>
9818
- * <code>map-customer-owned-ip-on-launch</code> - Indicates whether a network
9819
- * interface created in this subnet (including a network interface created by <a>RunInstances</a>) receives a customer-owned IPv4 address.</p>
9820
- * </li>
9821
- * <li>
9822
- * <p>
9823
- * <code>map-public-ip-on-launch</code> - Indicates whether instances launched in
9824
- * this subnet receive a public IPv4 address.</p>
9825
- * </li>
9826
- * <li>
9827
- * <p>
9828
- * <code>outpost-arn</code> - The Amazon Resource Name (ARN) of the Outpost.</p>
9829
- * </li>
9830
- * <li>
9831
- * <p>
9832
- * <code>owner-id</code> - The ID of the Amazon Web Services account that owns the
9833
- * subnet.</p>
9834
- * </li>
9835
- * <li>
9836
- * <p>
9837
- * <code>private-dns-name-options-on-launch.hostname-type</code> - The type of
9838
- * hostname to assign to instances in the subnet at launch. For IPv4-only and
9839
- * dual-stack (IPv4 and IPv6) subnets, an instance DNS name can be based on the
9840
- * instance IPv4 address (ip-name) or the instance ID (resource-name). For IPv6
9841
- * only subnets, an instance DNS name must be based on the instance ID
9842
- * (resource-name).</p>
9843
- * </li>
9844
- * <li>
9845
- * <p>
9846
- * <code>private-dns-name-options-on-launch.enable-resource-name-dns-a-record</code>
9847
- * - Indicates whether to respond to DNS queries for instance hostnames with DNS A
9848
- * records.</p>
9849
- * </li>
9850
- * <li>
9851
- * <p>
9852
- * <code>private-dns-name-options-on-launch.enable-resource-name-dns-aaaa-record</code>
9853
- * - Indicates whether to respond to DNS queries for instance hostnames with DNS
9854
- * AAAA records.</p>
9855
- * </li>
9774
+ * <p>Filters the results by the specified ID of the Availability Zone.</p>
9775
+ * <p>Either <code>AvailabilityZone</code> or <code>AvailabilityZoneId</code> can be specified, but not both</p>
9776
+ * @public
9777
+ */
9778
+ AvailabilityZoneId?: string | undefined;
9779
+ /**
9780
+ * <p>Checks whether you have the required permissions for the action, without actually
9781
+ * making the request, and provides an error response. If you have the required
9782
+ * permissions, the error response is <code>DryRunOperation</code>. Otherwise, it is
9783
+ * <code>UnauthorizedOperation</code>.</p>
9784
+ * @public
9785
+ */
9786
+ DryRun?: boolean | undefined;
9787
+ /**
9788
+ * <p>The date and time, up to the past 90 days, from which to start retrieving the price
9789
+ * history data, in UTC format (for example,
9790
+ * <i>YYYY</i>-<i>MM</i>-<i>DD</i>T<i>HH</i>:<i>MM</i>:<i>SS</i>Z).</p>
9791
+ * @public
9792
+ */
9793
+ StartTime?: Date | undefined;
9794
+ /**
9795
+ * <p>The date and time, up to the current date, from which to stop retrieving the price
9796
+ * history data, in UTC format (for example,
9797
+ * <i>YYYY</i>-<i>MM</i>-<i>DD</i>T<i>HH</i>:<i>MM</i>:<i>SS</i>Z).</p>
9798
+ * @public
9799
+ */
9800
+ EndTime?: Date | undefined;
9801
+ /**
9802
+ * <p>Filters the results by the specified instance types.</p>
9803
+ * @public
9804
+ */
9805
+ InstanceTypes?: _InstanceType[] | undefined;
9806
+ /**
9807
+ * <p>Filters the results by the specified basic product descriptions.</p>
9808
+ * @public
9809
+ */
9810
+ ProductDescriptions?: string[] | undefined;
9811
+ /**
9812
+ * <p>The filters.</p>
9813
+ * <ul>
9856
9814
  * <li>
9857
9815
  * <p>
9858
- * <code>state</code> - The state of the subnet (<code>pending</code> | <code>available</code>).</p>
9816
+ * <code>availability-zone</code> - The Availability Zone for which prices should
9817
+ * be returned.</p>
9859
9818
  * </li>
9860
9819
  * <li>
9861
9820
  * <p>
9862
- * <code>subnet-arn</code> - The Amazon Resource Name (ARN) of the subnet.</p>
9821
+ * <code>availability-zone-id</code> - The ID of the Availability Zone for which
9822
+ * prices should be returned.</p>
9863
9823
  * </li>
9864
9824
  * <li>
9865
9825
  * <p>
9866
- * <code>subnet-id</code> - The ID of the subnet.</p>
9826
+ * <code>instance-type</code> - The type of instance (for example,
9827
+ * <code>m3.medium</code>).</p>
9867
9828
  * </li>
9868
9829
  * <li>
9869
9830
  * <p>
9870
- * <code>tag</code> - 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.
9871
- * 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>
9831
+ * <code>product-description</code> - The product description for the Spot price
9832
+ * (<code>Linux/UNIX</code> | <code>Red Hat Enterprise Linux</code> |
9833
+ * <code>SUSE Linux</code> | <code>Windows</code> | <code>Linux/UNIX (Amazon
9834
+ * VPC)</code> | <code>Red Hat Enterprise Linux (Amazon VPC)</code> |
9835
+ * <code>SUSE Linux (Amazon VPC)</code> | <code>Windows (Amazon
9836
+ * VPC)</code>).</p>
9872
9837
  * </li>
9873
9838
  * <li>
9874
9839
  * <p>
9875
- * <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>
9840
+ * <code>spot-price</code> - The Spot price. The value must match exactly (or use
9841
+ * wildcards; greater than or less than comparison is not supported).</p>
9876
9842
  * </li>
9877
9843
  * <li>
9878
9844
  * <p>
9879
- * <code>vpc-id</code> - The ID of the VPC for the subnet.</p>
9845
+ * <code>timestamp</code> - The time stamp of the Spot price history, in UTC format
9846
+ * (for example, <i>ddd MMM dd
9847
+ * HH</i>:<i>mm</i>:<i>ss</i> UTC
9848
+ * <i>YYYY</i>). You can use wildcards (<code>*</code> and
9849
+ * <code>?</code>). Greater than or less than comparison is not
9850
+ * supported.</p>
9880
9851
  * </li>
9881
9852
  * </ul>
9882
9853
  * @public
9883
9854
  */
9884
9855
  Filters?: Filter[] | undefined;
9885
9856
  /**
9886
- * <p>The IDs of the subnets.</p>
9887
- * <p>Default: Describes all your subnets.</p>
9857
+ * <p>Filters the results by the specified Availability Zone.</p>
9858
+ * <p>Either <code>AvailabilityZone</code> or <code>AvailabilityZoneId</code> can be specified, but not both</p>
9888
9859
  * @public
9889
9860
  */
9890
- SubnetIds?: string[] | undefined;
9861
+ AvailabilityZone?: string | undefined;
9862
+ /**
9863
+ * <p>The maximum number of items to return for this request.
9864
+ * To get the next page of items, make another request with the token returned in the output.
9865
+ * For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination">Pagination</a>.</p>
9866
+ * @public
9867
+ */
9868
+ MaxResults?: number | undefined;
9891
9869
  /**
9892
9870
  * <p>The token returned from a previous paginated request. Pagination continues from the end of the items returned by the previous request.</p>
9893
9871
  * @public
9894
9872
  */
9895
9873
  NextToken?: string | undefined;
9874
+ }
9875
+ /**
9876
+ * <p>The maximum price per unit hour that you are willing to pay for a Spot Instance. We do not recommend
9877
+ * 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>
9878
+ * <important>
9879
+ * <p>If you specify a maximum price, your instances will be interrupted more frequently than if you do not specify this parameter.</p>
9880
+ * </important>
9881
+ * @public
9882
+ */
9883
+ export interface SpotPrice {
9896
9884
  /**
9897
- * <p>The maximum number of items to return for this request.
9898
- * To get the next page of items, make another request with the token returned in the output.
9899
- * For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination">Pagination</a>.</p>
9885
+ * <p>The Availability Zone.</p>
9900
9886
  * @public
9901
9887
  */
9902
- MaxResults?: number | undefined;
9888
+ AvailabilityZone?: string | undefined;
9903
9889
  /**
9904
- * <p>Checks whether you have the required permissions for the action, without actually making the request,
9905
- * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
9906
- * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
9890
+ * <p>The ID of the Availability Zone.</p>
9907
9891
  * @public
9908
9892
  */
9909
- DryRun?: boolean | undefined;
9893
+ AvailabilityZoneId?: string | undefined;
9894
+ /**
9895
+ * <p>The instance type.</p>
9896
+ * @public
9897
+ */
9898
+ InstanceType?: _InstanceType | undefined;
9899
+ /**
9900
+ * <p>A general description of the AMI.</p>
9901
+ * @public
9902
+ */
9903
+ ProductDescription?: RIProductDescription | undefined;
9904
+ /**
9905
+ * <p>The maximum price per unit hour that you are willing to pay for a Spot Instance. We do not recommend
9906
+ * 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>
9907
+ * <important>
9908
+ * <p>If you specify a maximum price, your instances will be interrupted more frequently than if you do not specify this parameter.</p>
9909
+ * </important>
9910
+ * @public
9911
+ */
9912
+ SpotPrice?: string | undefined;
9913
+ /**
9914
+ * <p>The date and time the request was created, in UTC format (for example,
9915
+ * <i>YYYY</i>-<i>MM</i>-<i>DD</i>T<i>HH</i>:<i>MM</i>:<i>SS</i>Z).</p>
9916
+ * @public
9917
+ */
9918
+ Timestamp?: Date | undefined;
9910
9919
  }
9911
9920
  /**
9921
+ * <p>Contains the output of DescribeSpotPriceHistory.</p>
9912
9922
  * @public
9913
9923
  */
9914
- export interface DescribeSubnetsResult {
9924
+ export interface DescribeSpotPriceHistoryResult {
9915
9925
  /**
9916
- * <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>
9926
+ * <p>The token to include in another request to get the next page of items. This value is
9927
+ * an empty string (<code>""</code>) or <code>null</code> when there are no more items to return.</p>
9917
9928
  * @public
9918
9929
  */
9919
9930
  NextToken?: string | undefined;
9920
9931
  /**
9921
- * <p>Information about the subnets.</p>
9932
+ * <p>The historical Spot prices.</p>
9922
9933
  * @public
9923
9934
  */
9924
- Subnets?: Subnet[] | undefined;
9935
+ SpotPriceHistory?: SpotPrice[] | undefined;
9925
9936
  }
9926
9937
  /**
9927
9938
  * @public
9928
9939
  */
9929
- export interface DescribeTagsRequest {
9940
+ export interface DescribeStaleSecurityGroupsRequest {
9930
9941
  /**
9931
9942
  * <p>Checks whether you have the required permissions for the action, without actually making the request,
9932
9943
  * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
@@ -9935,335 +9946,412 @@ export interface DescribeTagsRequest {
9935
9946
  */
9936
9947
  DryRun?: boolean | undefined;
9937
9948
  /**
9938
- * <p>The filters.</p>
9939
- * <ul>
9940
- * <li>
9941
- * <p>
9942
- * <code>key</code> - The tag key.</p>
9943
- * </li>
9944
- * <li>
9945
- * <p>
9946
- * <code>resource-id</code> - The ID of the resource.</p>
9947
- * </li>
9948
- * <li>
9949
- * <p>
9950
- * <code>resource-type</code> - The resource type. For a list of possible values, see
9951
- * <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_TagSpecification.html">TagSpecification</a>.</p>
9952
- * </li>
9953
- * <li>
9954
- * <p>
9955
- * <code>tag</code>:<key> - The key/value combination of the tag. For example,
9956
- * specify "tag:Owner" for the filter name and "TeamA" for the filter value to find
9957
- * resources with the tag "Owner=TeamA".</p>
9958
- * </li>
9959
- * <li>
9960
- * <p>
9961
- * <code>value</code> - The tag value.</p>
9962
- * </li>
9963
- * </ul>
9949
+ * <p>The maximum number of items to return for this request. To get the next page of items,
9950
+ * make another request with the token returned in the output. For more information,
9951
+ * see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination">Pagination</a>.</p>
9964
9952
  * @public
9965
9953
  */
9966
- Filters?: Filter[] | undefined;
9954
+ MaxResults?: number | undefined;
9967
9955
  /**
9968
- * <p>The maximum number of items to return for this request. This value can be between 5 and 1000.
9969
- * To get the next page of items, make another request with the token returned in the output.
9970
- * For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination">Pagination</a>.</p>
9956
+ * <p>The token returned from a previous paginated request. Pagination continues from the end of the items returned by the previous request.</p>
9971
9957
  * @public
9972
9958
  */
9973
- MaxResults?: number | undefined;
9959
+ NextToken?: string | undefined;
9974
9960
  /**
9975
- * <p>The token returned from a previous paginated request.
9976
- * Pagination continues from the end of the items returned by the previous request.</p>
9961
+ * <p>The ID of the VPC.</p>
9977
9962
  * @public
9978
9963
  */
9979
- NextToken?: string | undefined;
9964
+ VpcId: string | undefined;
9980
9965
  }
9981
9966
  /**
9982
- * <p>Describes a tag.</p>
9967
+ * <p>Describes a stale rule in a security group.</p>
9983
9968
  * @public
9984
9969
  */
9985
- export interface TagDescription {
9970
+ export interface StaleIpPermission {
9986
9971
  /**
9987
- * <p>The tag key.</p>
9972
+ * <p>If the protocol is TCP or UDP, this is the start of the port range.
9973
+ * If the protocol is ICMP or ICMPv6, this is the ICMP type or -1 (all ICMP types).</p>
9988
9974
  * @public
9989
9975
  */
9990
- Key?: string | undefined;
9976
+ FromPort?: number | undefined;
9991
9977
  /**
9992
- * <p>The ID of the resource.</p>
9978
+ * <p>The IP protocol name (<code>tcp</code>, <code>udp</code>, <code>icmp</code>, <code>icmpv6</code>) or number
9979
+ * (see <a href="http://www.iana.org/assignments/protocol-numbers/protocol-numbers.xhtml">Protocol Numbers)</a>.</p>
9993
9980
  * @public
9994
9981
  */
9995
- ResourceId?: string | undefined;
9982
+ IpProtocol?: string | undefined;
9996
9983
  /**
9997
- * <p>The resource type.</p>
9984
+ * <p>The IP ranges. Not applicable for stale security group rules.</p>
9998
9985
  * @public
9999
9986
  */
10000
- ResourceType?: ResourceType | undefined;
9987
+ IpRanges?: string[] | undefined;
10001
9988
  /**
10002
- * <p>The tag value.</p>
9989
+ * <p>The prefix list IDs. Not applicable for stale security group rules.</p>
10003
9990
  * @public
10004
9991
  */
10005
- Value?: string | undefined;
10006
- }
10007
- /**
10008
- * @public
10009
- */
10010
- export interface DescribeTagsResult {
9992
+ PrefixListIds?: string[] | undefined;
10011
9993
  /**
10012
- * <p>The token to include in another request to get the next page of items.
10013
- * This value is <code>null</code> when there are no more items to return.</p>
9994
+ * <p>If the protocol is TCP or UDP, this is the end of the port range.
9995
+ * If the protocol is ICMP or ICMPv6, this is the ICMP code or -1 (all ICMP codes).</p>
10014
9996
  * @public
10015
9997
  */
10016
- NextToken?: string | undefined;
9998
+ ToPort?: number | undefined;
10017
9999
  /**
10018
- * <p>The tags.</p>
10000
+ * <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>
10019
10001
  * @public
10020
10002
  */
10021
- Tags?: TagDescription[] | undefined;
10003
+ UserIdGroupPairs?: UserIdGroupPair[] | undefined;
10022
10004
  }
10023
10005
  /**
10006
+ * <p>Describes a stale security group (a security group that contains stale rules).</p>
10024
10007
  * @public
10025
10008
  */
10026
- export interface DescribeTrafficMirrorFilterRulesRequest {
10027
- /**
10028
- * <p>Traffic filter rule IDs.</p>
10029
- * @public
10030
- */
10031
- TrafficMirrorFilterRuleIds?: string[] | undefined;
10009
+ export interface StaleSecurityGroup {
10032
10010
  /**
10033
- * <p>Traffic filter ID.</p>
10011
+ * <p>The description of the security group.</p>
10034
10012
  * @public
10035
10013
  */
10036
- TrafficMirrorFilterId?: string | undefined;
10014
+ Description?: string | undefined;
10037
10015
  /**
10038
- * <p>Checks whether you have the required permissions for the action, without actually making the request,
10039
- * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
10040
- * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
10016
+ * <p>The ID of the security group.</p>
10041
10017
  * @public
10042
- */
10043
- DryRun?: boolean | undefined;
10044
- /**
10045
- * <p>Traffic mirror filters.</p>
10046
- * <ul>
10047
- * <li>
10048
- * <p>
10049
- * <code>traffic-mirror-filter-rule-id</code>: The ID of the Traffic Mirror rule.</p>
10050
- * </li>
10051
- * <li>
10052
- * <p>
10053
- * <code>traffic-mirror-filter-id</code>: The ID of the filter that this rule is associated with.</p>
10054
- * </li>
10055
- * <li>
10056
- * <p>
10057
- * <code>rule-number</code>: The number of the Traffic Mirror rule.</p>
10058
- * </li>
10059
- * <li>
10060
- * <p>
10061
- * <code>rule-action</code>: The action taken on the filtered traffic. Possible actions are <code>accept</code> and <code>reject</code>.</p>
10062
- * </li>
10063
- * <li>
10064
- * <p>
10065
- * <code>traffic-direction</code>: The traffic direction. Possible directions are <code>ingress</code> and <code>egress</code>.</p>
10066
- * </li>
10067
- * <li>
10068
- * <p>
10069
- * <code>protocol</code>: The protocol, for example UDP, assigned to the Traffic Mirror rule.</p>
10070
- * </li>
10071
- * <li>
10072
- * <p>
10073
- * <code>source-cidr-block</code>: The source CIDR block assigned to the Traffic Mirror rule.</p>
10074
- * </li>
10075
- * <li>
10076
- * <p>
10077
- * <code>destination-cidr-block</code>: The destination CIDR block assigned to the Traffic Mirror rule.</p>
10078
- * </li>
10079
- * <li>
10080
- * <p>
10081
- * <code>description</code>: The description of the Traffic Mirror rule.</p>
10082
- * </li>
10083
- * </ul>
10018
+ */
10019
+ GroupId?: string | undefined;
10020
+ /**
10021
+ * <p>The name of the security group.</p>
10084
10022
  * @public
10085
10023
  */
10086
- Filters?: Filter[] | undefined;
10024
+ GroupName?: string | undefined;
10087
10025
  /**
10088
- * <p>The maximum number of results to return with a single call.
10089
- * To retrieve the remaining results, make another call with the returned <code>nextToken</code> value.</p>
10026
+ * <p>Information about the stale inbound rules in the security group.</p>
10090
10027
  * @public
10091
10028
  */
10092
- MaxResults?: number | undefined;
10029
+ StaleIpPermissions?: StaleIpPermission[] | undefined;
10093
10030
  /**
10094
- * <p>The token for the next page of results.</p>
10031
+ * <p>Information about the stale outbound rules in the security group.</p>
10095
10032
  * @public
10096
10033
  */
10097
- NextToken?: string | undefined;
10034
+ StaleIpPermissionsEgress?: StaleIpPermission[] | undefined;
10035
+ /**
10036
+ * <p>The ID of the VPC for the security group.</p>
10037
+ * @public
10038
+ */
10039
+ VpcId?: string | undefined;
10098
10040
  }
10099
10041
  /**
10100
10042
  * @public
10101
10043
  */
10102
- export interface DescribeTrafficMirrorFilterRulesResult {
10044
+ export interface DescribeStaleSecurityGroupsResult {
10103
10045
  /**
10104
- * <p>Traffic mirror rules.</p>
10046
+ * <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>
10105
10047
  * @public
10106
10048
  */
10107
- TrafficMirrorFilterRules?: TrafficMirrorFilterRule[] | undefined;
10049
+ NextToken?: string | undefined;
10108
10050
  /**
10109
- * <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>
10051
+ * <p>Information about the stale security groups.</p>
10110
10052
  * @public
10111
10053
  */
10112
- NextToken?: string | undefined;
10054
+ StaleSecurityGroupSet?: StaleSecurityGroup[] | undefined;
10113
10055
  }
10114
10056
  /**
10115
10057
  * @public
10116
10058
  */
10117
- export interface DescribeTrafficMirrorFiltersRequest {
10059
+ export interface DescribeStoreImageTasksRequest {
10118
10060
  /**
10119
- * <p>The ID of the Traffic Mirror filter.</p>
10061
+ * <p>The AMI IDs for which to show progress. Up to 20 AMI IDs can be included in a
10062
+ * request.</p>
10120
10063
  * @public
10121
10064
  */
10122
- TrafficMirrorFilterIds?: string[] | undefined;
10065
+ ImageIds?: string[] | undefined;
10123
10066
  /**
10124
10067
  * <p>Checks whether you have the required permissions for the action, without actually making the request,
10125
- * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
10126
- * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
10068
+ * and provides an error response. If you have the required permissions, the error response is
10069
+ * <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.</p>
10127
10070
  * @public
10128
10071
  */
10129
10072
  DryRun?: boolean | undefined;
10130
10073
  /**
10131
- * <p>One or more filters. The possible values are:</p>
10074
+ * <p>The filters.</p>
10132
10075
  * <ul>
10133
10076
  * <li>
10134
10077
  * <p>
10135
- * <code>description</code>: The Traffic Mirror filter description.</p>
10078
+ * <code>task-state</code> - Returns tasks in a certain state (<code>InProgress</code> |
10079
+ * <code>Completed</code> | <code>Failed</code>)</p>
10136
10080
  * </li>
10137
10081
  * <li>
10138
10082
  * <p>
10139
- * <code>traffic-mirror-filter-id</code>: The ID of the Traffic Mirror filter.</p>
10083
+ * <code>bucket</code> - Returns task information for tasks that targeted a specific
10084
+ * bucket. For the filter value, specify the bucket name.</p>
10140
10085
  * </li>
10141
10086
  * </ul>
10087
+ * <note>
10088
+ * <p>When you specify the <code>ImageIds</code> parameter, any filters that you specify are
10089
+ * ignored. To use the filters, you must remove the <code>ImageIds</code> parameter.</p>
10090
+ * </note>
10142
10091
  * @public
10143
10092
  */
10144
10093
  Filters?: Filter[] | undefined;
10145
10094
  /**
10146
- * <p>The maximum number of results to return with a single call.
10147
- * To retrieve the remaining results, make another call with the returned <code>nextToken</code> value.</p>
10095
+ * <p>The token returned from a previous paginated request. Pagination continues from the end of the items returned by the previous request.</p>
10148
10096
  * @public
10149
10097
  */
10150
- MaxResults?: number | undefined;
10098
+ NextToken?: string | undefined;
10151
10099
  /**
10152
- * <p>The token for the next page of results.</p>
10100
+ * <p>The maximum number of items to return for this request.
10101
+ * To get the next page of items, make another request with the token returned in the output.
10102
+ * For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination">Pagination</a>.</p>
10103
+ * <p>You cannot specify this parameter and the <code>ImageIds</code> parameter in the same
10104
+ * call.</p>
10153
10105
  * @public
10154
10106
  */
10155
- NextToken?: string | undefined;
10107
+ MaxResults?: number | undefined;
10156
10108
  }
10157
10109
  /**
10110
+ * <p>The information about the AMI store task, including the progress of the task.</p>
10158
10111
  * @public
10159
10112
  */
10160
- export interface DescribeTrafficMirrorFiltersResult {
10113
+ export interface StoreImageTaskResult {
10161
10114
  /**
10162
- * <p>Information about one or more Traffic Mirror filters.</p>
10115
+ * <p>The ID of the AMI that is being stored.</p>
10163
10116
  * @public
10164
10117
  */
10165
- TrafficMirrorFilters?: TrafficMirrorFilter[] | undefined;
10118
+ AmiId?: string | undefined;
10166
10119
  /**
10167
- * <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>
10120
+ * <p>The time the task started.</p>
10168
10121
  * @public
10169
10122
  */
10170
- NextToken?: string | undefined;
10123
+ TaskStartTime?: Date | undefined;
10124
+ /**
10125
+ * <p>The name of the Amazon S3 bucket that contains the stored AMI object.</p>
10126
+ * @public
10127
+ */
10128
+ Bucket?: string | undefined;
10129
+ /**
10130
+ * <p>The name of the stored AMI object in the bucket.</p>
10131
+ * @public
10132
+ */
10133
+ S3objectKey?: string | undefined;
10134
+ /**
10135
+ * <p>The progress of the task as a percentage.</p>
10136
+ * @public
10137
+ */
10138
+ ProgressPercentage?: number | undefined;
10139
+ /**
10140
+ * <p>The state of the store task (<code>InProgress</code>, <code>Completed</code>, or
10141
+ * <code>Failed</code>).</p>
10142
+ * @public
10143
+ */
10144
+ StoreTaskState?: string | undefined;
10145
+ /**
10146
+ * <p>If the tasks fails, the reason for the failure is returned. If the task succeeds,
10147
+ * <code>null</code> is returned.</p>
10148
+ * @public
10149
+ */
10150
+ StoreTaskFailureReason?: string | undefined;
10171
10151
  }
10172
10152
  /**
10173
10153
  * @public
10174
10154
  */
10175
- export interface DescribeTrafficMirrorSessionsRequest {
10155
+ export interface DescribeStoreImageTasksResult {
10176
10156
  /**
10177
- * <p>The ID of the Traffic Mirror session.</p>
10157
+ * <p>The information about the AMI store tasks.</p>
10178
10158
  * @public
10179
10159
  */
10180
- TrafficMirrorSessionIds?: string[] | undefined;
10160
+ StoreImageTaskResults?: StoreImageTaskResult[] | undefined;
10181
10161
  /**
10182
- * <p>Checks whether you have the required permissions for the action, without actually making the request,
10183
- * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
10184
- * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
10162
+ * <p>The token to include in another request to get the next page of items. This value is <code>null</code> when there
10163
+ * are no more items to return.</p>
10185
10164
  * @public
10186
10165
  */
10187
- DryRun?: boolean | undefined;
10166
+ NextToken?: string | undefined;
10167
+ }
10168
+ /**
10169
+ * @public
10170
+ */
10171
+ export interface DescribeSubnetsRequest {
10188
10172
  /**
10189
- * <p>One or more filters. The possible values are:</p>
10173
+ * <p>The filters.</p>
10190
10174
  * <ul>
10191
10175
  * <li>
10192
10176
  * <p>
10193
- * <code>description</code>: The Traffic Mirror session description.</p>
10177
+ * <code>availability-zone</code> - The Availability Zone for the subnet. You can also use
10178
+ * <code>availabilityZone</code> as the filter name.</p>
10194
10179
  * </li>
10195
10180
  * <li>
10196
10181
  * <p>
10197
- * <code>network-interface-id</code>: The ID of the Traffic Mirror session network interface.</p>
10182
+ * <code>availability-zone-id</code> - The ID of the Availability Zone for the subnet.
10183
+ * You can also use <code>availabilityZoneId</code> as the filter name.</p>
10198
10184
  * </li>
10199
10185
  * <li>
10200
10186
  * <p>
10201
- * <code>owner-id</code>: The ID of the account that owns the Traffic Mirror session.</p>
10187
+ * <code>available-ip-address-count</code> - The number of IPv4 addresses in the
10188
+ * subnet that are available.</p>
10202
10189
  * </li>
10203
10190
  * <li>
10204
10191
  * <p>
10205
- * <code>packet-length</code>: The assigned number of packets to mirror. </p>
10192
+ * <code>cidr-block</code> - The IPv4 CIDR block of the subnet. The CIDR block
10193
+ * you specify must exactly match the subnet's CIDR block for information to be
10194
+ * returned for the subnet. You can also use <code>cidr</code> or
10195
+ * <code>cidrBlock</code> as the filter names.</p>
10206
10196
  * </li>
10207
10197
  * <li>
10208
10198
  * <p>
10209
- * <code>session-number</code>: The assigned session number. </p>
10199
+ * <code>customer-owned-ipv4-pool</code> - The customer-owned IPv4 address pool
10200
+ * associated with the subnet.</p>
10210
10201
  * </li>
10211
10202
  * <li>
10212
10203
  * <p>
10213
- * <code>traffic-mirror-filter-id</code>: The ID of the Traffic Mirror filter.</p>
10204
+ * <code>default-for-az</code> - Indicates whether this is the default subnet for
10205
+ * the Availability Zone (<code>true</code> | <code>false</code>). You can also use
10206
+ * <code>defaultForAz</code> as the filter name.</p>
10214
10207
  * </li>
10215
10208
  * <li>
10216
10209
  * <p>
10217
- * <code>traffic-mirror-session-id</code>: The ID of the Traffic Mirror session.</p>
10210
+ * <code>enable-dns64</code> - Indicates whether DNS queries made to the
10211
+ * Amazon-provided DNS Resolver in this subnet should return synthetic IPv6
10212
+ * addresses for IPv4-only destinations.</p>
10218
10213
  * </li>
10219
10214
  * <li>
10220
10215
  * <p>
10221
- * <code>traffic-mirror-target-id</code>: The ID of the Traffic Mirror target.</p>
10216
+ * <code>enable-lni-at-device-index</code> - Indicates the device position for
10217
+ * local network interfaces in this subnet. For example, <code>1</code> indicates
10218
+ * local network interfaces in this subnet are the secondary network interface
10219
+ * (eth1). </p>
10222
10220
  * </li>
10223
10221
  * <li>
10224
10222
  * <p>
10225
- * <code>virtual-network-id</code>: The virtual network ID of the Traffic Mirror session.</p>
10223
+ * <code>ipv6-cidr-block-association.ipv6-cidr-block</code> - An IPv6 CIDR
10224
+ * block associated with the subnet.</p>
10225
+ * </li>
10226
+ * <li>
10227
+ * <p>
10228
+ * <code>ipv6-cidr-block-association.association-id</code> - An association ID
10229
+ * for an IPv6 CIDR block associated with the subnet.</p>
10230
+ * </li>
10231
+ * <li>
10232
+ * <p>
10233
+ * <code>ipv6-cidr-block-association.state</code> - The state of an IPv6 CIDR
10234
+ * block associated with the subnet.</p>
10235
+ * </li>
10236
+ * <li>
10237
+ * <p>
10238
+ * <code>ipv6-native</code> - Indicates whether this is an IPv6 only subnet
10239
+ * (<code>true</code> | <code>false</code>).</p>
10240
+ * </li>
10241
+ * <li>
10242
+ * <p>
10243
+ * <code>map-customer-owned-ip-on-launch</code> - Indicates whether a network
10244
+ * interface created in this subnet (including a network interface created by <a>RunInstances</a>) receives a customer-owned IPv4 address.</p>
10245
+ * </li>
10246
+ * <li>
10247
+ * <p>
10248
+ * <code>map-public-ip-on-launch</code> - Indicates whether instances launched in
10249
+ * this subnet receive a public IPv4 address.</p>
10250
+ * </li>
10251
+ * <li>
10252
+ * <p>
10253
+ * <code>outpost-arn</code> - The Amazon Resource Name (ARN) of the Outpost.</p>
10254
+ * </li>
10255
+ * <li>
10256
+ * <p>
10257
+ * <code>owner-id</code> - The ID of the Amazon Web Services account that owns the
10258
+ * subnet.</p>
10259
+ * </li>
10260
+ * <li>
10261
+ * <p>
10262
+ * <code>private-dns-name-options-on-launch.hostname-type</code> - The type of
10263
+ * hostname to assign to instances in the subnet at launch. For IPv4-only and
10264
+ * dual-stack (IPv4 and IPv6) subnets, an instance DNS name can be based on the
10265
+ * instance IPv4 address (ip-name) or the instance ID (resource-name). For IPv6
10266
+ * only subnets, an instance DNS name must be based on the instance ID
10267
+ * (resource-name).</p>
10268
+ * </li>
10269
+ * <li>
10270
+ * <p>
10271
+ * <code>private-dns-name-options-on-launch.enable-resource-name-dns-a-record</code>
10272
+ * - Indicates whether to respond to DNS queries for instance hostnames with DNS A
10273
+ * records.</p>
10274
+ * </li>
10275
+ * <li>
10276
+ * <p>
10277
+ * <code>private-dns-name-options-on-launch.enable-resource-name-dns-aaaa-record</code>
10278
+ * - Indicates whether to respond to DNS queries for instance hostnames with DNS
10279
+ * AAAA records.</p>
10280
+ * </li>
10281
+ * <li>
10282
+ * <p>
10283
+ * <code>state</code> - The state of the subnet (<code>pending</code> | <code>available</code>).</p>
10284
+ * </li>
10285
+ * <li>
10286
+ * <p>
10287
+ * <code>subnet-arn</code> - The Amazon Resource Name (ARN) of the subnet.</p>
10288
+ * </li>
10289
+ * <li>
10290
+ * <p>
10291
+ * <code>subnet-id</code> - The ID of the subnet.</p>
10292
+ * </li>
10293
+ * <li>
10294
+ * <p>
10295
+ * <code>tag</code> - 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.
10296
+ * 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>
10297
+ * </li>
10298
+ * <li>
10299
+ * <p>
10300
+ * <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>
10301
+ * </li>
10302
+ * <li>
10303
+ * <p>
10304
+ * <code>vpc-id</code> - The ID of the VPC for the subnet.</p>
10226
10305
  * </li>
10227
10306
  * </ul>
10228
10307
  * @public
10229
10308
  */
10230
10309
  Filters?: Filter[] | undefined;
10231
10310
  /**
10232
- * <p>The maximum number of results to return with a single call.
10233
- * To retrieve the remaining results, make another call with the returned <code>nextToken</code> value.</p>
10311
+ * <p>The IDs of the subnets.</p>
10312
+ * <p>Default: Describes all your subnets.</p>
10313
+ * @public
10314
+ */
10315
+ SubnetIds?: string[] | undefined;
10316
+ /**
10317
+ * <p>The token returned from a previous paginated request. Pagination continues from the end of the items returned by the previous request.</p>
10318
+ * @public
10319
+ */
10320
+ NextToken?: string | undefined;
10321
+ /**
10322
+ * <p>The maximum number of items to return for this request.
10323
+ * To get the next page of items, make another request with the token returned in the output.
10324
+ * For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination">Pagination</a>.</p>
10234
10325
  * @public
10235
10326
  */
10236
10327
  MaxResults?: number | undefined;
10237
10328
  /**
10238
- * <p>The token for the next page of results.</p>
10329
+ * <p>Checks whether you have the required permissions for the action, without actually making the request,
10330
+ * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
10331
+ * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
10239
10332
  * @public
10240
10333
  */
10241
- NextToken?: string | undefined;
10334
+ DryRun?: boolean | undefined;
10242
10335
  }
10243
10336
  /**
10244
10337
  * @public
10245
10338
  */
10246
- export interface DescribeTrafficMirrorSessionsResult {
10339
+ export interface DescribeSubnetsResult {
10247
10340
  /**
10248
- * <p>Describes one or more Traffic Mirror sessions. By default, all Traffic Mirror sessions are described. Alternatively, you can filter the results.</p>
10341
+ * <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>
10249
10342
  * @public
10250
10343
  */
10251
- TrafficMirrorSessions?: TrafficMirrorSession[] | undefined;
10344
+ NextToken?: string | undefined;
10252
10345
  /**
10253
- * <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>
10346
+ * <p>Information about the subnets.</p>
10254
10347
  * @public
10255
10348
  */
10256
- NextToken?: string | undefined;
10349
+ Subnets?: Subnet[] | undefined;
10257
10350
  }
10258
10351
  /**
10259
10352
  * @public
10260
10353
  */
10261
- export interface DescribeTrafficMirrorTargetsRequest {
10262
- /**
10263
- * <p>The ID of the Traffic Mirror targets.</p>
10264
- * @public
10265
- */
10266
- TrafficMirrorTargetIds?: string[] | undefined;
10354
+ export interface DescribeTagsRequest {
10267
10355
  /**
10268
10356
  * <p>Checks whether you have the required permissions for the action, without actually making the request,
10269
10357
  * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
@@ -10272,109 +10360,150 @@ export interface DescribeTrafficMirrorTargetsRequest {
10272
10360
  */
10273
10361
  DryRun?: boolean | undefined;
10274
10362
  /**
10275
- * <p>One or more filters. The possible values are:</p>
10363
+ * <p>The filters.</p>
10276
10364
  * <ul>
10277
10365
  * <li>
10278
10366
  * <p>
10279
- * <code>description</code>: The Traffic Mirror target description.</p>
10367
+ * <code>key</code> - The tag key.</p>
10280
10368
  * </li>
10281
10369
  * <li>
10282
10370
  * <p>
10283
- * <code>network-interface-id</code>: The ID of the Traffic Mirror session network interface.</p>
10371
+ * <code>resource-id</code> - The ID of the resource.</p>
10284
10372
  * </li>
10285
10373
  * <li>
10286
10374
  * <p>
10287
- * <code>network-load-balancer-arn</code>: The Amazon Resource Name (ARN) of the Network Load Balancer that is associated with the session.</p>
10375
+ * <code>resource-type</code> - The resource type. For a list of possible values, see
10376
+ * <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_TagSpecification.html">TagSpecification</a>.</p>
10288
10377
  * </li>
10289
10378
  * <li>
10290
10379
  * <p>
10291
- * <code>owner-id</code>: The ID of the account that owns the Traffic Mirror session.</p>
10380
+ * <code>tag</code>:<key> - The key/value combination of the tag. For example,
10381
+ * specify "tag:Owner" for the filter name and "TeamA" for the filter value to find
10382
+ * resources with the tag "Owner=TeamA".</p>
10292
10383
  * </li>
10293
10384
  * <li>
10294
10385
  * <p>
10295
- * <code>traffic-mirror-target-id</code>: The ID of the Traffic Mirror target.</p>
10386
+ * <code>value</code> - The tag value.</p>
10296
10387
  * </li>
10297
10388
  * </ul>
10298
10389
  * @public
10299
10390
  */
10300
10391
  Filters?: Filter[] | undefined;
10301
10392
  /**
10302
- * <p>The maximum number of results to return with a single call.
10303
- * To retrieve the remaining results, make another call with the returned <code>nextToken</code> value.</p>
10393
+ * <p>The maximum number of items to return for this request. This value can be between 5 and 1000.
10394
+ * To get the next page of items, make another request with the token returned in the output.
10395
+ * For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination">Pagination</a>.</p>
10304
10396
  * @public
10305
10397
  */
10306
10398
  MaxResults?: number | undefined;
10307
10399
  /**
10308
- * <p>The token for the next page of results.</p>
10400
+ * <p>The token returned from a previous paginated request.
10401
+ * Pagination continues from the end of the items returned by the previous request.</p>
10309
10402
  * @public
10310
10403
  */
10311
10404
  NextToken?: string | undefined;
10312
10405
  }
10313
10406
  /**
10407
+ * <p>Describes a tag.</p>
10314
10408
  * @public
10315
10409
  */
10316
- export interface DescribeTrafficMirrorTargetsResult {
10410
+ export interface TagDescription {
10317
10411
  /**
10318
- * <p>Information about one or more Traffic Mirror targets.</p>
10412
+ * <p>The tag key.</p>
10319
10413
  * @public
10320
10414
  */
10321
- TrafficMirrorTargets?: TrafficMirrorTarget[] | undefined;
10415
+ Key?: string | undefined;
10322
10416
  /**
10323
- * <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>
10417
+ * <p>The ID of the resource.</p>
10418
+ * @public
10419
+ */
10420
+ ResourceId?: string | undefined;
10421
+ /**
10422
+ * <p>The resource type.</p>
10423
+ * @public
10424
+ */
10425
+ ResourceType?: ResourceType | undefined;
10426
+ /**
10427
+ * <p>The tag value.</p>
10428
+ * @public
10429
+ */
10430
+ Value?: string | undefined;
10431
+ }
10432
+ /**
10433
+ * @public
10434
+ */
10435
+ export interface DescribeTagsResult {
10436
+ /**
10437
+ * <p>The token to include in another request to get the next page of items.
10438
+ * This value is <code>null</code> when there are no more items to return.</p>
10324
10439
  * @public
10325
10440
  */
10326
10441
  NextToken?: string | undefined;
10442
+ /**
10443
+ * <p>The tags.</p>
10444
+ * @public
10445
+ */
10446
+ Tags?: TagDescription[] | undefined;
10327
10447
  }
10328
10448
  /**
10329
10449
  * @public
10330
10450
  */
10331
- export interface DescribeTransitGatewayAttachmentsRequest {
10451
+ export interface DescribeTrafficMirrorFilterRulesRequest {
10332
10452
  /**
10333
- * <p>The IDs of the attachments.</p>
10453
+ * <p>Traffic filter rule IDs.</p>
10334
10454
  * @public
10335
10455
  */
10336
- TransitGatewayAttachmentIds?: string[] | undefined;
10456
+ TrafficMirrorFilterRuleIds?: string[] | undefined;
10337
10457
  /**
10338
- * <p>One or more filters. The possible values are:</p>
10458
+ * <p>Traffic filter ID.</p>
10459
+ * @public
10460
+ */
10461
+ TrafficMirrorFilterId?: string | undefined;
10462
+ /**
10463
+ * <p>Checks whether you have the required permissions for the action, without actually making the request,
10464
+ * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
10465
+ * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
10466
+ * @public
10467
+ */
10468
+ DryRun?: boolean | undefined;
10469
+ /**
10470
+ * <p>Traffic mirror filters.</p>
10339
10471
  * <ul>
10340
10472
  * <li>
10341
10473
  * <p>
10342
- * <code>association.state</code> - The state of the association (<code>associating</code> | <code>associated</code> |
10343
- * <code>disassociating</code>).</p>
10474
+ * <code>traffic-mirror-filter-rule-id</code>: The ID of the Traffic Mirror rule.</p>
10344
10475
  * </li>
10345
10476
  * <li>
10346
10477
  * <p>
10347
- * <code>association.transit-gateway-route-table-id</code> - The ID of the route table for the transit gateway.</p>
10478
+ * <code>traffic-mirror-filter-id</code>: The ID of the filter that this rule is associated with.</p>
10348
10479
  * </li>
10349
10480
  * <li>
10350
10481
  * <p>
10351
- * <code>resource-id</code> - The ID of the resource.</p>
10482
+ * <code>rule-number</code>: The number of the Traffic Mirror rule.</p>
10352
10483
  * </li>
10353
10484
  * <li>
10354
10485
  * <p>
10355
- * <code>resource-owner-id</code> - The ID of the Amazon Web Services account that owns the resource.</p>
10486
+ * <code>rule-action</code>: The action taken on the filtered traffic. Possible actions are <code>accept</code> and <code>reject</code>.</p>
10356
10487
  * </li>
10357
10488
  * <li>
10358
10489
  * <p>
10359
- * <code>resource-type</code> - The resource type. Valid values are <code>vpc</code>
10360
- * | <code>vpn</code> | <code>direct-connect-gateway</code> | <code>peering</code>
10361
- * | <code>connect</code>.</p>
10490
+ * <code>traffic-direction</code>: The traffic direction. Possible directions are <code>ingress</code> and <code>egress</code>.</p>
10362
10491
  * </li>
10363
10492
  * <li>
10364
10493
  * <p>
10365
- * <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>
10494
+ * <code>protocol</code>: The protocol, for example UDP, assigned to the Traffic Mirror rule.</p>
10366
10495
  * </li>
10367
10496
  * <li>
10368
10497
  * <p>
10369
- * <code>transit-gateway-attachment-id</code> - The ID of the attachment.</p>
10498
+ * <code>source-cidr-block</code>: The source CIDR block assigned to the Traffic Mirror rule.</p>
10370
10499
  * </li>
10371
10500
  * <li>
10372
10501
  * <p>
10373
- * <code>transit-gateway-id</code> - The ID of the transit gateway.</p>
10502
+ * <code>destination-cidr-block</code>: The destination CIDR block assigned to the Traffic Mirror rule.</p>
10374
10503
  * </li>
10375
10504
  * <li>
10376
10505
  * <p>
10377
- * <code>transit-gateway-owner-id</code> - The ID of the Amazon Web Services account that owns the transit gateway.</p>
10506
+ * <code>description</code>: The description of the Traffic Mirror rule.</p>
10378
10507
  * </li>
10379
10508
  * </ul>
10380
10509
  * @public
@@ -10391,126 +10520,48 @@ export interface DescribeTransitGatewayAttachmentsRequest {
10391
10520
  * @public
10392
10521
  */
10393
10522
  NextToken?: string | undefined;
10394
- /**
10395
- * <p>Checks whether you have the required permissions for the action, without actually making the request,
10396
- * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
10397
- * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
10398
- * @public
10399
- */
10400
- DryRun?: boolean | undefined;
10401
- }
10402
- /**
10403
- * <p>Describes an association.</p>
10404
- * @public
10405
- */
10406
- export interface TransitGatewayAttachmentAssociation {
10407
- /**
10408
- * <p>The ID of the route table for the transit gateway.</p>
10409
- * @public
10410
- */
10411
- TransitGatewayRouteTableId?: string | undefined;
10412
- /**
10413
- * <p>The state of the association.</p>
10414
- * @public
10415
- */
10416
- State?: TransitGatewayAssociationState | undefined;
10417
10523
  }
10418
10524
  /**
10419
- * <p>Describes an attachment between a resource and a transit gateway.</p>
10420
10525
  * @public
10421
10526
  */
10422
- export interface TransitGatewayAttachment {
10423
- /**
10424
- * <p>The ID of the attachment.</p>
10425
- * @public
10426
- */
10427
- TransitGatewayAttachmentId?: string | undefined;
10428
- /**
10429
- * <p>The ID of the transit gateway.</p>
10430
- * @public
10431
- */
10432
- TransitGatewayId?: string | undefined;
10433
- /**
10434
- * <p>The ID of the Amazon Web Services account that owns the transit gateway.</p>
10435
- * @public
10436
- */
10437
- TransitGatewayOwnerId?: string | undefined;
10438
- /**
10439
- * <p>The ID of the Amazon Web Services account that owns the resource.</p>
10440
- * @public
10441
- */
10442
- ResourceOwnerId?: string | undefined;
10443
- /**
10444
- * <p>The resource type. Note that the <code>tgw-peering</code> resource type has been deprecated.</p>
10445
- * @public
10446
- */
10447
- ResourceType?: TransitGatewayAttachmentResourceType | undefined;
10448
- /**
10449
- * <p>The ID of the resource.</p>
10450
- * @public
10451
- */
10452
- ResourceId?: string | undefined;
10453
- /**
10454
- * <p>The attachment state. Note that the <code>initiating</code> state has been deprecated.</p>
10455
- * @public
10456
- */
10457
- State?: TransitGatewayAttachmentState | undefined;
10458
- /**
10459
- * <p>The association.</p>
10460
- * @public
10461
- */
10462
- Association?: TransitGatewayAttachmentAssociation | undefined;
10527
+ export interface DescribeTrafficMirrorFilterRulesResult {
10463
10528
  /**
10464
- * <p>The creation time.</p>
10529
+ * <p>Traffic mirror rules.</p>
10465
10530
  * @public
10466
10531
  */
10467
- CreationTime?: Date | undefined;
10532
+ TrafficMirrorFilterRules?: TrafficMirrorFilterRule[] | undefined;
10468
10533
  /**
10469
- * <p>The tags for the attachment.</p>
10534
+ * <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>
10470
10535
  * @public
10471
10536
  */
10472
- Tags?: Tag[] | undefined;
10537
+ NextToken?: string | undefined;
10473
10538
  }
10474
10539
  /**
10475
10540
  * @public
10476
10541
  */
10477
- export interface DescribeTransitGatewayAttachmentsResult {
10478
- /**
10479
- * <p>Information about the attachments.</p>
10480
- * @public
10481
- */
10482
- TransitGatewayAttachments?: TransitGatewayAttachment[] | undefined;
10542
+ export interface DescribeTrafficMirrorFiltersRequest {
10483
10543
  /**
10484
- * <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>
10544
+ * <p>The ID of the Traffic Mirror filter.</p>
10485
10545
  * @public
10486
10546
  */
10487
- NextToken?: string | undefined;
10488
- }
10489
- /**
10490
- * @public
10491
- */
10492
- export interface DescribeTransitGatewayConnectPeersRequest {
10547
+ TrafficMirrorFilterIds?: string[] | undefined;
10493
10548
  /**
10494
- * <p>The IDs of the Connect peers.</p>
10549
+ * <p>Checks whether you have the required permissions for the action, without actually making the request,
10550
+ * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
10551
+ * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
10495
10552
  * @public
10496
10553
  */
10497
- TransitGatewayConnectPeerIds?: string[] | undefined;
10554
+ DryRun?: boolean | undefined;
10498
10555
  /**
10499
10556
  * <p>One or more filters. The possible values are:</p>
10500
10557
  * <ul>
10501
10558
  * <li>
10502
10559
  * <p>
10503
- * <code>state</code> - The state of the Connect peer (<code>pending</code> |
10504
- * <code>available</code> | <code>deleting</code> |
10505
- * <code>deleted</code>).</p>
10506
- * </li>
10507
- * <li>
10508
- * <p>
10509
- * <code>transit-gateway-attachment-id</code> - The ID of the attachment.</p>
10560
+ * <code>description</code>: The Traffic Mirror filter description.</p>
10510
10561
  * </li>
10511
10562
  * <li>
10512
10563
  * <p>
10513
- * <code>transit-gateway-connect-peer-id</code> - The ID of the Connect peer.</p>
10564
+ * <code>traffic-mirror-filter-id</code>: The ID of the Traffic Mirror filter.</p>
10514
10565
  * </li>
10515
10566
  * </ul>
10516
10567
  * @public
@@ -10527,25 +10578,18 @@ export interface DescribeTransitGatewayConnectPeersRequest {
10527
10578
  * @public
10528
10579
  */
10529
10580
  NextToken?: string | undefined;
10530
- /**
10531
- * <p>Checks whether you have the required permissions for the action, without actually making the request,
10532
- * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
10533
- * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
10534
- * @public
10535
- */
10536
- DryRun?: boolean | undefined;
10537
10581
  }
10538
10582
  /**
10539
10583
  * @public
10540
10584
  */
10541
- export interface DescribeTransitGatewayConnectPeersResult {
10585
+ export interface DescribeTrafficMirrorFiltersResult {
10542
10586
  /**
10543
- * <p>Information about the Connect peers.</p>
10587
+ * <p>Information about one or more Traffic Mirror filters.</p>
10544
10588
  * @public
10545
10589
  */
10546
- TransitGatewayConnectPeers?: TransitGatewayConnectPeer[] | undefined;
10590
+ TrafficMirrorFilters?: TrafficMirrorFilter[] | undefined;
10547
10591
  /**
10548
- * <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>
10592
+ * <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>
10549
10593
  * @public
10550
10594
  */
10551
10595
  NextToken?: string | undefined;
@@ -10553,40 +10597,57 @@ export interface DescribeTransitGatewayConnectPeersResult {
10553
10597
  /**
10554
10598
  * @public
10555
10599
  */
10556
- export interface DescribeTransitGatewayConnectsRequest {
10600
+ export interface DescribeTrafficMirrorSessionsRequest {
10557
10601
  /**
10558
- * <p>The IDs of the attachments.</p>
10602
+ * <p>The ID of the Traffic Mirror session.</p>
10559
10603
  * @public
10560
10604
  */
10561
- TransitGatewayAttachmentIds?: string[] | undefined;
10605
+ TrafficMirrorSessionIds?: string[] | undefined;
10606
+ /**
10607
+ * <p>Checks whether you have the required permissions for the action, without actually making the request,
10608
+ * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
10609
+ * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
10610
+ * @public
10611
+ */
10612
+ DryRun?: boolean | undefined;
10562
10613
  /**
10563
10614
  * <p>One or more filters. The possible values are:</p>
10564
10615
  * <ul>
10565
10616
  * <li>
10566
10617
  * <p>
10567
- * <code>options.protocol</code> - The tunnel protocol (<code>gre</code>).</p>
10618
+ * <code>description</code>: The Traffic Mirror session description.</p>
10619
+ * </li>
10620
+ * <li>
10621
+ * <p>
10622
+ * <code>network-interface-id</code>: The ID of the Traffic Mirror session network interface.</p>
10568
10623
  * </li>
10569
10624
  * <li>
10570
10625
  * <p>
10571
- * <code>state</code> - The state of the attachment (<code>initiating</code> |
10572
- * <code>initiatingRequest</code> | <code>pendingAcceptance</code> |
10573
- * <code>rollingBack</code> | <code>pending</code> | <code>available</code> |
10574
- * <code>modifying</code> | <code>deleting</code> | <code>deleted</code> |
10575
- * <code>failed</code> | <code>rejected</code> | <code>rejecting</code> |
10576
- * <code>failing</code>).</p>
10626
+ * <code>owner-id</code>: The ID of the account that owns the Traffic Mirror session.</p>
10577
10627
  * </li>
10578
10628
  * <li>
10579
10629
  * <p>
10580
- * <code>transit-gateway-attachment-id</code> - The ID of the
10581
- * Connect attachment.</p>
10630
+ * <code>packet-length</code>: The assigned number of packets to mirror. </p>
10582
10631
  * </li>
10583
10632
  * <li>
10584
10633
  * <p>
10585
- * <code>transit-gateway-id</code> - The ID of the transit gateway.</p>
10634
+ * <code>session-number</code>: The assigned session number. </p>
10586
10635
  * </li>
10587
10636
  * <li>
10588
10637
  * <p>
10589
- * <code>transport-transit-gateway-attachment-id</code> - The ID of the transit gateway attachment from which the Connect attachment was created.</p>
10638
+ * <code>traffic-mirror-filter-id</code>: The ID of the Traffic Mirror filter.</p>
10639
+ * </li>
10640
+ * <li>
10641
+ * <p>
10642
+ * <code>traffic-mirror-session-id</code>: The ID of the Traffic Mirror session.</p>
10643
+ * </li>
10644
+ * <li>
10645
+ * <p>
10646
+ * <code>traffic-mirror-target-id</code>: The ID of the Traffic Mirror target.</p>
10647
+ * </li>
10648
+ * <li>
10649
+ * <p>
10650
+ * <code>virtual-network-id</code>: The virtual network ID of the Traffic Mirror session.</p>
10590
10651
  * </li>
10591
10652
  * </ul>
10592
10653
  * @public
@@ -10603,25 +10664,18 @@ export interface DescribeTransitGatewayConnectsRequest {
10603
10664
  * @public
10604
10665
  */
10605
10666
  NextToken?: string | undefined;
10606
- /**
10607
- * <p>Checks whether you have the required permissions for the action, without actually making the request,
10608
- * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
10609
- * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
10610
- * @public
10611
- */
10612
- DryRun?: boolean | undefined;
10613
10667
  }
10614
10668
  /**
10615
10669
  * @public
10616
10670
  */
10617
- export interface DescribeTransitGatewayConnectsResult {
10671
+ export interface DescribeTrafficMirrorSessionsResult {
10618
10672
  /**
10619
- * <p>Information about the Connect attachments.</p>
10673
+ * <p>Describes one or more Traffic Mirror sessions. By default, all Traffic Mirror sessions are described. Alternatively, you can filter the results.</p>
10620
10674
  * @public
10621
10675
  */
10622
- TransitGatewayConnects?: TransitGatewayConnect[] | undefined;
10676
+ TrafficMirrorSessions?: TrafficMirrorSession[] | undefined;
10623
10677
  /**
10624
- * <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>
10678
+ * <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>
10625
10679
  * @public
10626
10680
  */
10627
10681
  NextToken?: string | undefined;
@@ -10629,26 +10683,41 @@ export interface DescribeTransitGatewayConnectsResult {
10629
10683
  /**
10630
10684
  * @public
10631
10685
  */
10632
- export interface DescribeTransitGatewayMulticastDomainsRequest {
10686
+ export interface DescribeTrafficMirrorTargetsRequest {
10633
10687
  /**
10634
- * <p>The ID of the transit gateway multicast domain.</p>
10688
+ * <p>The ID of the Traffic Mirror targets.</p>
10635
10689
  * @public
10636
10690
  */
10637
- TransitGatewayMulticastDomainIds?: string[] | undefined;
10691
+ TrafficMirrorTargetIds?: string[] | undefined;
10692
+ /**
10693
+ * <p>Checks whether you have the required permissions for the action, without actually making the request,
10694
+ * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
10695
+ * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
10696
+ * @public
10697
+ */
10698
+ DryRun?: boolean | undefined;
10638
10699
  /**
10639
10700
  * <p>One or more filters. The possible values are:</p>
10640
10701
  * <ul>
10641
10702
  * <li>
10642
10703
  * <p>
10643
- * <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>
10704
+ * <code>description</code>: The Traffic Mirror target description.</p>
10644
10705
  * </li>
10645
10706
  * <li>
10646
10707
  * <p>
10647
- * <code>transit-gateway-id</code> - The ID of the transit gateway.</p>
10708
+ * <code>network-interface-id</code>: The ID of the Traffic Mirror session network interface.</p>
10648
10709
  * </li>
10649
10710
  * <li>
10650
10711
  * <p>
10651
- * <code>transit-gateway-multicast-domain-id</code> - The ID of the transit gateway multicast domain.</p>
10712
+ * <code>network-load-balancer-arn</code>: The Amazon Resource Name (ARN) of the Network Load Balancer that is associated with the session.</p>
10713
+ * </li>
10714
+ * <li>
10715
+ * <p>
10716
+ * <code>owner-id</code>: The ID of the account that owns the Traffic Mirror session.</p>
10717
+ * </li>
10718
+ * <li>
10719
+ * <p>
10720
+ * <code>traffic-mirror-target-id</code>: The ID of the Traffic Mirror target.</p>
10652
10721
  * </li>
10653
10722
  * </ul>
10654
10723
  * @public
@@ -10665,25 +10734,18 @@ export interface DescribeTransitGatewayMulticastDomainsRequest {
10665
10734
  * @public
10666
10735
  */
10667
10736
  NextToken?: string | undefined;
10668
- /**
10669
- * <p>Checks whether you have the required permissions for the action, without actually making the request,
10670
- * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
10671
- * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
10672
- * @public
10673
- */
10674
- DryRun?: boolean | undefined;
10675
10737
  }
10676
10738
  /**
10677
10739
  * @public
10678
10740
  */
10679
- export interface DescribeTransitGatewayMulticastDomainsResult {
10741
+ export interface DescribeTrafficMirrorTargetsResult {
10680
10742
  /**
10681
- * <p>Information about the transit gateway multicast domains.</p>
10743
+ * <p>Information about one or more Traffic Mirror targets.</p>
10682
10744
  * @public
10683
10745
  */
10684
- TransitGatewayMulticastDomains?: TransitGatewayMulticastDomain[] | undefined;
10746
+ TrafficMirrorTargets?: TrafficMirrorTarget[] | undefined;
10685
10747
  /**
10686
- * <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>
10748
+ * <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>
10687
10749
  * @public
10688
10750
  */
10689
10751
  NextToken?: string | undefined;
@@ -10691,9 +10753,9 @@ export interface DescribeTransitGatewayMulticastDomainsResult {
10691
10753
  /**
10692
10754
  * @public
10693
10755
  */
10694
- export interface DescribeTransitGatewayPeeringAttachmentsRequest {
10756
+ export interface DescribeTransitGatewayAttachmentsRequest {
10695
10757
  /**
10696
- * <p>One or more IDs of the transit gateway peering attachments.</p>
10758
+ * <p>The IDs of the attachments.</p>
10697
10759
  * @public
10698
10760
  */
10699
10761
  TransitGatewayAttachmentIds?: string[] | undefined;
@@ -10702,33 +10764,43 @@ export interface DescribeTransitGatewayPeeringAttachmentsRequest {
10702
10764
  * <ul>
10703
10765
  * <li>
10704
10766
  * <p>
10705
- * <code>transit-gateway-attachment-id</code> - The ID of the transit gateway attachment.</p>
10767
+ * <code>association.state</code> - The state of the association (<code>associating</code> | <code>associated</code> |
10768
+ * <code>disassociating</code>).</p>
10706
10769
  * </li>
10707
10770
  * <li>
10708
10771
  * <p>
10709
- * <code>local-owner-id</code> - The ID of your Amazon Web Services account.</p>
10772
+ * <code>association.transit-gateway-route-table-id</code> - The ID of the route table for the transit gateway.</p>
10710
10773
  * </li>
10711
10774
  * <li>
10712
10775
  * <p>
10713
- * <code>remote-owner-id</code> - The ID of the Amazon Web Services account in the remote Region that owns the transit gateway.</p>
10776
+ * <code>resource-id</code> - The ID of the resource.</p>
10714
10777
  * </li>
10715
10778
  * <li>
10716
10779
  * <p>
10717
- * <code>state</code> - The state of the peering 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>
10780
+ * <code>resource-owner-id</code> - The ID of the Amazon Web Services account that owns the resource.</p>
10718
10781
  * </li>
10719
10782
  * <li>
10720
10783
  * <p>
10721
- * <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.
10722
- * 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>
10784
+ * <code>resource-type</code> - The resource type. Valid values are <code>vpc</code>
10785
+ * | <code>vpn</code> | <code>direct-connect-gateway</code> | <code>peering</code>
10786
+ * | <code>connect</code>.</p>
10723
10787
  * </li>
10724
10788
  * <li>
10725
10789
  * <p>
10726
- * <code>tag-key</code> - The key of a tag assigned to the resource. Use this filter to find all resources that have a tag with a specific key, regardless of the tag value.</p>
10790
+ * <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>
10791
+ * </li>
10792
+ * <li>
10793
+ * <p>
10794
+ * <code>transit-gateway-attachment-id</code> - The ID of the attachment.</p>
10727
10795
  * </li>
10728
10796
  * <li>
10729
10797
  * <p>
10730
10798
  * <code>transit-gateway-id</code> - The ID of the transit gateway.</p>
10731
10799
  * </li>
10800
+ * <li>
10801
+ * <p>
10802
+ * <code>transit-gateway-owner-id</code> - The ID of the Amazon Web Services account that owns the transit gateway.</p>
10803
+ * </li>
10732
10804
  * </ul>
10733
10805
  * @public
10734
10806
  */
@@ -10753,112 +10825,88 @@ export interface DescribeTransitGatewayPeeringAttachmentsRequest {
10753
10825
  DryRun?: boolean | undefined;
10754
10826
  }
10755
10827
  /**
10828
+ * <p>Describes an association.</p>
10756
10829
  * @public
10757
10830
  */
10758
- export interface DescribeTransitGatewayPeeringAttachmentsResult {
10831
+ export interface TransitGatewayAttachmentAssociation {
10759
10832
  /**
10760
- * <p>The transit gateway peering attachments.</p>
10833
+ * <p>The ID of the route table for the transit gateway.</p>
10761
10834
  * @public
10762
10835
  */
10763
- TransitGatewayPeeringAttachments?: TransitGatewayPeeringAttachment[] | undefined;
10836
+ TransitGatewayRouteTableId?: string | undefined;
10764
10837
  /**
10765
- * <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>
10838
+ * <p>The state of the association.</p>
10766
10839
  * @public
10767
10840
  */
10768
- NextToken?: string | undefined;
10841
+ State?: TransitGatewayAssociationState | undefined;
10769
10842
  }
10770
10843
  /**
10844
+ * <p>Describes an attachment between a resource and a transit gateway.</p>
10771
10845
  * @public
10772
10846
  */
10773
- export interface DescribeTransitGatewayPolicyTablesRequest {
10774
- /**
10775
- * <p>The IDs of the transit gateway policy tables.</p>
10776
- * @public
10777
- */
10778
- TransitGatewayPolicyTableIds?: string[] | undefined;
10779
- /**
10780
- * <p>The filters associated with the transit gateway policy table.</p>
10781
- * @public
10782
- */
10783
- Filters?: Filter[] | undefined;
10847
+ export interface TransitGatewayAttachment {
10784
10848
  /**
10785
- * <p>The maximum number of results to return with a single call.
10786
- * To retrieve the remaining results, make another call with the returned <code>nextToken</code> value.</p>
10849
+ * <p>The ID of the attachment.</p>
10787
10850
  * @public
10788
10851
  */
10789
- MaxResults?: number | undefined;
10852
+ TransitGatewayAttachmentId?: string | undefined;
10790
10853
  /**
10791
- * <p>The token for the next page of results.</p>
10854
+ * <p>The ID of the transit gateway.</p>
10792
10855
  * @public
10793
10856
  */
10794
- NextToken?: string | undefined;
10857
+ TransitGatewayId?: string | undefined;
10795
10858
  /**
10796
- * <p>Checks whether you have the required permissions for the action, without actually making the request,
10797
- * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
10798
- * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
10859
+ * <p>The ID of the Amazon Web Services account that owns the transit gateway.</p>
10799
10860
  * @public
10800
10861
  */
10801
- DryRun?: boolean | undefined;
10802
- }
10803
- /**
10804
- * @public
10805
- */
10806
- export interface DescribeTransitGatewayPolicyTablesResult {
10862
+ TransitGatewayOwnerId?: string | undefined;
10807
10863
  /**
10808
- * <p>Describes the transit gateway policy tables.</p>
10864
+ * <p>The ID of the Amazon Web Services account that owns the resource.</p>
10809
10865
  * @public
10810
10866
  */
10811
- TransitGatewayPolicyTables?: TransitGatewayPolicyTable[] | undefined;
10867
+ ResourceOwnerId?: string | undefined;
10812
10868
  /**
10813
- * <p>The token for the next page of results.</p>
10869
+ * <p>The resource type. Note that the <code>tgw-peering</code> resource type has been deprecated.</p>
10814
10870
  * @public
10815
10871
  */
10816
- NextToken?: string | undefined;
10817
- }
10818
- /**
10819
- * @public
10820
- */
10821
- export interface DescribeTransitGatewayRouteTableAnnouncementsRequest {
10872
+ ResourceType?: TransitGatewayAttachmentResourceType | undefined;
10822
10873
  /**
10823
- * <p>The IDs of the transit gateway route tables that are being advertised.</p>
10874
+ * <p>The ID of the resource.</p>
10824
10875
  * @public
10825
10876
  */
10826
- TransitGatewayRouteTableAnnouncementIds?: string[] | undefined;
10877
+ ResourceId?: string | undefined;
10827
10878
  /**
10828
- * <p>The filters associated with the transit gateway policy table.</p>
10879
+ * <p>The attachment state. Note that the <code>initiating</code> state has been deprecated.</p>
10829
10880
  * @public
10830
10881
  */
10831
- Filters?: Filter[] | undefined;
10882
+ State?: TransitGatewayAttachmentState | undefined;
10832
10883
  /**
10833
- * <p>The maximum number of results to return with a single call.
10834
- * To retrieve the remaining results, make another call with the returned <code>nextToken</code> value.</p>
10884
+ * <p>The association.</p>
10835
10885
  * @public
10836
10886
  */
10837
- MaxResults?: number | undefined;
10887
+ Association?: TransitGatewayAttachmentAssociation | undefined;
10838
10888
  /**
10839
- * <p>The token for the next page of results.</p>
10889
+ * <p>The creation time.</p>
10840
10890
  * @public
10841
10891
  */
10842
- NextToken?: string | undefined;
10892
+ CreationTime?: Date | undefined;
10843
10893
  /**
10844
- * <p>Checks whether you have the required permissions for the action, without actually making the request,
10845
- * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
10846
- * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
10894
+ * <p>The tags for the attachment.</p>
10847
10895
  * @public
10848
10896
  */
10849
- DryRun?: boolean | undefined;
10897
+ Tags?: Tag[] | undefined;
10850
10898
  }
10851
10899
  /**
10852
10900
  * @public
10853
10901
  */
10854
- export interface DescribeTransitGatewayRouteTableAnnouncementsResult {
10902
+ export interface DescribeTransitGatewayAttachmentsResult {
10855
10903
  /**
10856
- * <p>Describes the transit gateway route table announcement.</p>
10904
+ * <p>Information about the attachments.</p>
10857
10905
  * @public
10858
10906
  */
10859
- TransitGatewayRouteTableAnnouncements?: TransitGatewayRouteTableAnnouncement[] | undefined;
10907
+ TransitGatewayAttachments?: TransitGatewayAttachment[] | undefined;
10860
10908
  /**
10861
- * <p>The token for the next page of results.</p>
10909
+ * <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>
10862
10910
  * @public
10863
10911
  */
10864
10912
  NextToken?: string | undefined;
@@ -10866,36 +10914,28 @@ export interface DescribeTransitGatewayRouteTableAnnouncementsResult {
10866
10914
  /**
10867
10915
  * @public
10868
10916
  */
10869
- export interface DescribeTransitGatewayRouteTablesRequest {
10917
+ export interface DescribeTransitGatewayConnectPeersRequest {
10870
10918
  /**
10871
- * <p>The IDs of the transit gateway route tables.</p>
10919
+ * <p>The IDs of the Connect peers.</p>
10872
10920
  * @public
10873
10921
  */
10874
- TransitGatewayRouteTableIds?: string[] | undefined;
10922
+ TransitGatewayConnectPeerIds?: string[] | undefined;
10875
10923
  /**
10876
10924
  * <p>One or more filters. The possible values are:</p>
10877
10925
  * <ul>
10878
10926
  * <li>
10879
10927
  * <p>
10880
- * <code>default-association-route-table</code> - Indicates whether this is the default
10881
- * association route table for the transit gateway (<code>true</code> | <code>false</code>).</p>
10882
- * </li>
10883
- * <li>
10884
- * <p>
10885
- * <code>default-propagation-route-table</code> - Indicates whether this is the default
10886
- * propagation route table for the transit gateway (<code>true</code> | <code>false</code>).</p>
10887
- * </li>
10888
- * <li>
10889
- * <p>
10890
- * <code>state</code> - The state of the route table (<code>available</code> | <code>deleting</code> | <code>deleted</code> | <code>pending</code>).</p>
10928
+ * <code>state</code> - The state of the Connect peer (<code>pending</code> |
10929
+ * <code>available</code> | <code>deleting</code> |
10930
+ * <code>deleted</code>).</p>
10891
10931
  * </li>
10892
10932
  * <li>
10893
10933
  * <p>
10894
- * <code>transit-gateway-id</code> - The ID of the transit gateway.</p>
10934
+ * <code>transit-gateway-attachment-id</code> - The ID of the attachment.</p>
10895
10935
  * </li>
10896
10936
  * <li>
10897
10937
  * <p>
10898
- * <code>transit-gateway-route-table-id</code> - The ID of the transit gateway route table.</p>
10938
+ * <code>transit-gateway-connect-peer-id</code> - The ID of the Connect peer.</p>
10899
10939
  * </li>
10900
10940
  * </ul>
10901
10941
  * @public
@@ -10923,12 +10963,12 @@ export interface DescribeTransitGatewayRouteTablesRequest {
10923
10963
  /**
10924
10964
  * @public
10925
10965
  */
10926
- export interface DescribeTransitGatewayRouteTablesResult {
10966
+ export interface DescribeTransitGatewayConnectPeersResult {
10927
10967
  /**
10928
- * <p>Information about the transit gateway route tables.</p>
10968
+ * <p>Information about the Connect peers.</p>
10929
10969
  * @public
10930
10970
  */
10931
- TransitGatewayRouteTables?: TransitGatewayRouteTable[] | undefined;
10971
+ TransitGatewayConnectPeers?: TransitGatewayConnectPeer[] | undefined;
10932
10972
  /**
10933
10973
  * <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>
10934
10974
  * @public
@@ -10938,56 +10978,32 @@ export interface DescribeTransitGatewayRouteTablesResult {
10938
10978
  /**
10939
10979
  * @public
10940
10980
  */
10941
- export interface DescribeTransitGatewaysRequest {
10981
+ export interface DescribeTransitGatewayConnectsRequest {
10942
10982
  /**
10943
- * <p>The IDs of the transit gateways.</p>
10983
+ * <p>The IDs of the attachments.</p>
10944
10984
  * @public
10945
10985
  */
10946
- TransitGatewayIds?: string[] | undefined;
10986
+ TransitGatewayAttachmentIds?: string[] | undefined;
10947
10987
  /**
10948
10988
  * <p>One or more filters. The possible values are:</p>
10949
10989
  * <ul>
10950
10990
  * <li>
10951
10991
  * <p>
10952
- * <code>options.propagation-default-route-table-id</code> - The ID of the default propagation route table.</p>
10953
- * </li>
10954
- * <li>
10955
- * <p>
10956
- * <code>options.amazon-side-asn</code> - The private ASN for the Amazon side of a BGP session.</p>
10957
- * </li>
10958
- * <li>
10959
- * <p>
10960
- * <code>options.association-default-route-table-id</code> - The ID of the default association route table.</p>
10961
- * </li>
10962
- * <li>
10963
- * <p>
10964
- * <code>options.auto-accept-shared-attachments</code> - Indicates whether there is automatic acceptance of attachment requests (<code>enable</code> | <code>disable</code>).</p>
10965
- * </li>
10966
- * <li>
10967
- * <p>
10968
- * <code>options.default-route-table-association</code> - Indicates whether resource attachments are automatically
10969
- * associated with the default association route table (<code>enable</code> | <code>disable</code>).</p>
10970
- * </li>
10971
- * <li>
10972
- * <p>
10973
- * <code>options.default-route-table-propagation</code> - Indicates whether resource attachments automatically propagate
10974
- * routes to the default propagation route table (<code>enable</code> | <code>disable</code>).</p>
10975
- * </li>
10976
- * <li>
10977
- * <p>
10978
- * <code>options.dns-support</code> - Indicates whether DNS support is enabled (<code>enable</code> | <code>disable</code>).</p>
10979
- * </li>
10980
- * <li>
10981
- * <p>
10982
- * <code>options.vpn-ecmp-support</code> - Indicates whether Equal Cost Multipath Protocol support is enabled (<code>enable</code> | <code>disable</code>).</p>
10992
+ * <code>options.protocol</code> - The tunnel protocol (<code>gre</code>).</p>
10983
10993
  * </li>
10984
10994
  * <li>
10985
10995
  * <p>
10986
- * <code>owner-id</code> - The ID of the Amazon Web Services account that owns the transit gateway.</p>
10996
+ * <code>state</code> - The state of the attachment (<code>initiating</code> |
10997
+ * <code>initiatingRequest</code> | <code>pendingAcceptance</code> |
10998
+ * <code>rollingBack</code> | <code>pending</code> | <code>available</code> |
10999
+ * <code>modifying</code> | <code>deleting</code> | <code>deleted</code> |
11000
+ * <code>failed</code> | <code>rejected</code> | <code>rejecting</code> |
11001
+ * <code>failing</code>).</p>
10987
11002
  * </li>
10988
11003
  * <li>
10989
11004
  * <p>
10990
- * <code>state</code> - The state of the transit gateway (<code>available</code> | <code>deleted</code> | <code>deleting</code> | <code>modifying</code> | <code>pending</code>).</p>
11005
+ * <code>transit-gateway-attachment-id</code> - The ID of the
11006
+ * Connect attachment.</p>
10991
11007
  * </li>
10992
11008
  * <li>
10993
11009
  * <p>
@@ -10995,10 +11011,7 @@ export interface DescribeTransitGatewaysRequest {
10995
11011
  * </li>
10996
11012
  * <li>
10997
11013
  * <p>
10998
- * <code>tag-key </code>- The key/value combination of a tag assigned to the resource. Use the
10999
- * tag key in the filter name and the tag value as the filter value. For example, to
11000
- * find all resources that have a tag with the key <code>Owner</code> and the value <code>TeamA</code>, specify
11001
- * <code>tag:Owner</code> for the filter name and <code>TeamA</code> for the filter value.</p>
11014
+ * <code>transport-transit-gateway-attachment-id</code> - The ID of the transit gateway attachment from which the Connect attachment was created.</p>
11002
11015
  * </li>
11003
11016
  * </ul>
11004
11017
  * @public
@@ -11026,12 +11039,12 @@ export interface DescribeTransitGatewaysRequest {
11026
11039
  /**
11027
11040
  * @public
11028
11041
  */
11029
- export interface DescribeTransitGatewaysResult {
11042
+ export interface DescribeTransitGatewayConnectsResult {
11030
11043
  /**
11031
- * <p>Information about the transit gateways.</p>
11044
+ * <p>Information about the Connect attachments.</p>
11032
11045
  * @public
11033
11046
  */
11034
- TransitGateways?: TransitGateway[] | undefined;
11047
+ TransitGatewayConnects?: TransitGatewayConnect[] | undefined;
11035
11048
  /**
11036
11049
  * <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>
11037
11050
  * @public
@@ -11041,22 +11054,18 @@ export interface DescribeTransitGatewaysResult {
11041
11054
  /**
11042
11055
  * @public
11043
11056
  */
11044
- export interface DescribeTransitGatewayVpcAttachmentsRequest {
11057
+ export interface DescribeTransitGatewayMulticastDomainsRequest {
11045
11058
  /**
11046
- * <p>The IDs of the attachments.</p>
11059
+ * <p>The ID of the transit gateway multicast domain.</p>
11047
11060
  * @public
11048
11061
  */
11049
- TransitGatewayAttachmentIds?: string[] | undefined;
11062
+ TransitGatewayMulticastDomainIds?: string[] | undefined;
11050
11063
  /**
11051
11064
  * <p>One or more filters. The possible values are:</p>
11052
11065
  * <ul>
11053
11066
  * <li>
11054
11067
  * <p>
11055
- * <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>
11056
- * </li>
11057
- * <li>
11058
- * <p>
11059
- * <code>transit-gateway-attachment-id</code> - The ID of the attachment.</p>
11068
+ * <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>
11060
11069
  * </li>
11061
11070
  * <li>
11062
11071
  * <p>
@@ -11064,7 +11073,7 @@ export interface DescribeTransitGatewayVpcAttachmentsRequest {
11064
11073
  * </li>
11065
11074
  * <li>
11066
11075
  * <p>
11067
- * <code>vpc-id</code> - The ID of the VPC.</p>
11076
+ * <code>transit-gateway-multicast-domain-id</code> - The ID of the transit gateway multicast domain.</p>
11068
11077
  * </li>
11069
11078
  * </ul>
11070
11079
  * @public
@@ -11089,18 +11098,3 @@ export interface DescribeTransitGatewayVpcAttachmentsRequest {
11089
11098
  */
11090
11099
  DryRun?: boolean | undefined;
11091
11100
  }
11092
- /**
11093
- * @public
11094
- */
11095
- export interface DescribeTransitGatewayVpcAttachmentsResult {
11096
- /**
11097
- * <p>Information about the VPC attachments.</p>
11098
- * @public
11099
- */
11100
- TransitGatewayVpcAttachments?: TransitGatewayVpcAttachment[] | undefined;
11101
- /**
11102
- * <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>
11103
- * @public
11104
- */
11105
- NextToken?: string | undefined;
11106
- }