@aws-sdk/client-ec2 3.1058.0 → 3.1059.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 (194) hide show
  1. package/README.md +14 -0
  2. package/dist-cjs/index.js +41 -0
  3. package/dist-cjs/schemas/schemas_0.js +171 -68
  4. package/dist-es/EC2.js +4 -0
  5. package/dist-es/commands/CreateCapacityReservationCancellationQuoteCommand.js +16 -0
  6. package/dist-es/commands/DescribeCapacityReservationCancellationQuotesCommand.js +16 -0
  7. package/dist-es/commands/index.js +2 -0
  8. package/dist-es/models/enums.js +11 -0
  9. package/dist-es/schemas/schemas_0.js +110 -8
  10. package/dist-types/EC2.d.ts +15 -0
  11. package/dist-types/EC2Client.d.ts +4 -2
  12. package/dist-types/commands/AcceptAddressTransferCommand.d.ts +1 -1
  13. package/dist-types/commands/AllocateAddressCommand.d.ts +1 -1
  14. package/dist-types/commands/AllocateHostsCommand.d.ts +1 -1
  15. package/dist-types/commands/AllocateIpamPoolCidrCommand.d.ts +1 -1
  16. package/dist-types/commands/AssociateIpamResourceDiscoveryCommand.d.ts +1 -1
  17. package/dist-types/commands/AuthorizeSecurityGroupEgressCommand.d.ts +1 -1
  18. package/dist-types/commands/AuthorizeSecurityGroupIngressCommand.d.ts +1 -1
  19. package/dist-types/commands/CancelCapacityReservationCommand.d.ts +16 -2
  20. package/dist-types/commands/CopyImageCommand.d.ts +1 -1
  21. package/dist-types/commands/CopySnapshotCommand.d.ts +1 -1
  22. package/dist-types/commands/CopyVolumesCommand.d.ts +1 -1
  23. package/dist-types/commands/CreateCapacityManagerDataExportCommand.d.ts +1 -1
  24. package/dist-types/commands/CreateCapacityReservationBySplittingCommand.d.ts +5 -5
  25. package/dist-types/commands/CreateCapacityReservationCancellationQuoteCommand.d.ts +117 -0
  26. package/dist-types/commands/CreateCapacityReservationCommand.d.ts +3 -3
  27. package/dist-types/commands/CreateCapacityReservationFleetCommand.d.ts +1 -1
  28. package/dist-types/commands/CreateCarrierGatewayCommand.d.ts +1 -1
  29. package/dist-types/commands/CreateClientVpnEndpointCommand.d.ts +1 -1
  30. package/dist-types/commands/CreateCoipPoolCommand.d.ts +1 -1
  31. package/dist-types/commands/CreateCustomerGatewayCommand.d.ts +1 -1
  32. package/dist-types/commands/CreateDefaultVpcCommand.d.ts +2 -1
  33. package/dist-types/commands/CreateDelegateMacVolumeOwnershipTaskCommand.d.ts +1 -1
  34. package/dist-types/commands/CreateDhcpOptionsCommand.d.ts +1 -1
  35. package/dist-types/commands/CreateEgressOnlyInternetGatewayCommand.d.ts +1 -1
  36. package/dist-types/commands/CreateFleetCommand.d.ts +1 -1
  37. package/dist-types/commands/CreateFlowLogsCommand.d.ts +1 -1
  38. package/dist-types/commands/CreateFpgaImageCommand.d.ts +1 -1
  39. package/dist-types/commands/CreateImageCommand.d.ts +1 -1
  40. package/dist-types/commands/CreateImageUsageReportCommand.d.ts +1 -1
  41. package/dist-types/commands/CreateInstanceConnectEndpointCommand.d.ts +1 -1
  42. package/dist-types/commands/CreateInstanceEventWindowCommand.d.ts +1 -1
  43. package/dist-types/commands/CreateInstanceExportTaskCommand.d.ts +1 -1
  44. package/dist-types/commands/CreateInternetGatewayCommand.d.ts +1 -1
  45. package/dist-types/commands/CreateInterruptibleCapacityReservationAllocationCommand.d.ts +1 -1
  46. package/dist-types/commands/CreateIpamCommand.d.ts +1 -1
  47. package/dist-types/commands/CreateIpamExternalResourceVerificationTokenCommand.d.ts +1 -1
  48. package/dist-types/commands/CreateIpamPolicyCommand.d.ts +1 -1
  49. package/dist-types/commands/CreateIpamPoolCommand.d.ts +1 -1
  50. package/dist-types/commands/CreateIpamPrefixListResolverCommand.d.ts +1 -1
  51. package/dist-types/commands/CreateIpamPrefixListResolverTargetCommand.d.ts +1 -1
  52. package/dist-types/commands/CreateIpamResourceDiscoveryCommand.d.ts +1 -1
  53. package/dist-types/commands/CreateIpamScopeCommand.d.ts +1 -1
  54. package/dist-types/commands/CreateKeyPairCommand.d.ts +1 -1
  55. package/dist-types/commands/CreateLaunchTemplateCommand.d.ts +2 -2
  56. package/dist-types/commands/CreateLaunchTemplateVersionCommand.d.ts +2 -2
  57. package/dist-types/commands/CreateLocalGatewayRouteTableCommand.d.ts +1 -1
  58. package/dist-types/commands/CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationCommand.d.ts +1 -1
  59. package/dist-types/commands/CreateLocalGatewayRouteTableVpcAssociationCommand.d.ts +1 -1
  60. package/dist-types/commands/CreateLocalGatewayVirtualInterfaceCommand.d.ts +1 -1
  61. package/dist-types/commands/CreateLocalGatewayVirtualInterfaceGroupCommand.d.ts +1 -1
  62. package/dist-types/commands/CreateMacSystemIntegrityProtectionModificationTaskCommand.d.ts +1 -1
  63. package/dist-types/commands/CreateManagedPrefixListCommand.d.ts +1 -1
  64. package/dist-types/commands/CreateNatGatewayCommand.d.ts +1 -1
  65. package/dist-types/commands/CreateNetworkAclCommand.d.ts +1 -1
  66. package/dist-types/commands/CreateNetworkInsightsAccessScopeCommand.d.ts +1 -1
  67. package/dist-types/commands/CreateNetworkInsightsPathCommand.d.ts +1 -1
  68. package/dist-types/commands/CreateNetworkInterfaceCommand.d.ts +1 -1
  69. package/dist-types/commands/CreatePlacementGroupCommand.d.ts +1 -1
  70. package/dist-types/commands/CreatePublicIpv4PoolCommand.d.ts +1 -1
  71. package/dist-types/commands/CreateReplaceRootVolumeTaskCommand.d.ts +1 -1
  72. package/dist-types/commands/CreateRestoreImageTaskCommand.d.ts +1 -1
  73. package/dist-types/commands/CreateRouteServerCommand.d.ts +1 -1
  74. package/dist-types/commands/CreateRouteServerEndpointCommand.d.ts +1 -1
  75. package/dist-types/commands/CreateRouteServerPeerCommand.d.ts +1 -1
  76. package/dist-types/commands/CreateRouteTableCommand.d.ts +3 -2
  77. package/dist-types/commands/CreateSecondaryNetworkCommand.d.ts +1 -1
  78. package/dist-types/commands/CreateSecondarySubnetCommand.d.ts +1 -1
  79. package/dist-types/commands/CreateSecurityGroupCommand.d.ts +1 -1
  80. package/dist-types/commands/CreateSnapshotCommand.d.ts +1 -1
  81. package/dist-types/commands/CreateSnapshotsCommand.d.ts +1 -1
  82. package/dist-types/commands/CreateSubnetCidrReservationCommand.d.ts +1 -1
  83. package/dist-types/commands/CreateSubnetCommand.d.ts +1 -1
  84. package/dist-types/commands/CreateTrafficMirrorFilterCommand.d.ts +1 -1
  85. package/dist-types/commands/CreateTrafficMirrorFilterRuleCommand.d.ts +1 -1
  86. package/dist-types/commands/CreateTrafficMirrorSessionCommand.d.ts +1 -1
  87. package/dist-types/commands/CreateTrafficMirrorTargetCommand.d.ts +1 -1
  88. package/dist-types/commands/CreateTransitGatewayCommand.d.ts +1 -1
  89. package/dist-types/commands/CreateTransitGatewayConnectCommand.d.ts +1 -1
  90. package/dist-types/commands/CreateTransitGatewayConnectPeerCommand.d.ts +1 -1
  91. package/dist-types/commands/CreateTransitGatewayMeteringPolicyCommand.d.ts +1 -1
  92. package/dist-types/commands/CreateTransitGatewayMulticastDomainCommand.d.ts +1 -1
  93. package/dist-types/commands/CreateTransitGatewayPeeringAttachmentCommand.d.ts +1 -1
  94. package/dist-types/commands/CreateTransitGatewayPolicyTableCommand.d.ts +1 -1
  95. package/dist-types/commands/CreateTransitGatewayRouteTableAnnouncementCommand.d.ts +1 -1
  96. package/dist-types/commands/CreateTransitGatewayRouteTableCommand.d.ts +1 -1
  97. package/dist-types/commands/CreateTransitGatewayVpcAttachmentCommand.d.ts +1 -1
  98. package/dist-types/commands/CreateVerifiedAccessEndpointCommand.d.ts +1 -1
  99. package/dist-types/commands/CreateVerifiedAccessGroupCommand.d.ts +1 -1
  100. package/dist-types/commands/CreateVerifiedAccessInstanceCommand.d.ts +1 -1
  101. package/dist-types/commands/CreateVerifiedAccessTrustProviderCommand.d.ts +1 -1
  102. package/dist-types/commands/CreateVolumeCommand.d.ts +1 -1
  103. package/dist-types/commands/CreateVpcBlockPublicAccessExclusionCommand.d.ts +1 -1
  104. package/dist-types/commands/CreateVpcCommand.d.ts +1 -1
  105. package/dist-types/commands/CreateVpcEncryptionControlCommand.d.ts +1 -1
  106. package/dist-types/commands/CreateVpcEndpointCommand.d.ts +1 -1
  107. package/dist-types/commands/CreateVpcEndpointServiceConfigurationCommand.d.ts +1 -1
  108. package/dist-types/commands/CreateVpcPeeringConnectionCommand.d.ts +1 -1
  109. package/dist-types/commands/CreateVpnConcentratorCommand.d.ts +1 -1
  110. package/dist-types/commands/CreateVpnConnectionCommand.d.ts +1 -1
  111. package/dist-types/commands/CreateVpnGatewayCommand.d.ts +1 -1
  112. package/dist-types/commands/DeleteSubnetCidrReservationCommand.d.ts +1 -1
  113. package/dist-types/commands/DeleteSubnetCommand.d.ts +1 -1
  114. package/dist-types/commands/DeleteTagsCommand.d.ts +1 -1
  115. package/dist-types/commands/DeleteTrafficMirrorFilterCommand.d.ts +1 -2
  116. package/dist-types/commands/DescribeCapacityReservationCancellationQuotesCommand.d.ts +119 -0
  117. package/dist-types/commands/DescribeCapacityReservationsCommand.d.ts +2 -2
  118. package/dist-types/commands/DescribeInstanceAttributeCommand.d.ts +2 -1
  119. package/dist-types/commands/DescribeInstanceConnectEndpointsCommand.d.ts +1 -1
  120. package/dist-types/commands/DescribeLaunchTemplateVersionsCommand.d.ts +1 -1
  121. package/dist-types/commands/DescribeSpotFleetRequestsCommand.d.ts +2 -2
  122. package/dist-types/commands/DescribeStaleSecurityGroupsCommand.d.ts +2 -1
  123. package/dist-types/commands/DescribeStoreImageTasksCommand.d.ts +1 -1
  124. package/dist-types/commands/DescribeSubnetsCommand.d.ts +1 -2
  125. package/dist-types/commands/DescribeTagsCommand.d.ts +1 -1
  126. package/dist-types/commands/ExportImageCommand.d.ts +1 -1
  127. package/dist-types/commands/GetCapacityManagerMetricDataCommand.d.ts +2 -1
  128. package/dist-types/commands/GetCapacityManagerMetricDimensionsCommand.d.ts +1 -1
  129. package/dist-types/commands/GetCapacityManagerMonitoredTagKeysCommand.d.ts +1 -2
  130. package/dist-types/commands/GetCapacityReservationUsageCommand.d.ts +1 -1
  131. package/dist-types/commands/GetLaunchTemplateDataCommand.d.ts +1 -1
  132. package/dist-types/commands/ImportImageCommand.d.ts +1 -1
  133. package/dist-types/commands/ImportKeyPairCommand.d.ts +1 -1
  134. package/dist-types/commands/ImportSnapshotCommand.d.ts +1 -1
  135. package/dist-types/commands/ModifyManagedPrefixListCommand.d.ts +2 -1
  136. package/dist-types/commands/ModifyManagedResourceVisibilityCommand.d.ts +1 -1
  137. package/dist-types/commands/ModifyNetworkInterfaceAttributeCommand.d.ts +1 -1
  138. package/dist-types/commands/ModifyPrivateDnsNameOptionsCommand.d.ts +1 -1
  139. package/dist-types/commands/MoveCapacityReservationInstancesCommand.d.ts +4 -4
  140. package/dist-types/commands/ProvisionByoipCidrCommand.d.ts +1 -1
  141. package/dist-types/commands/PurchaseCapacityBlockCommand.d.ts +3 -3
  142. package/dist-types/commands/PurchaseHostReservationCommand.d.ts +1 -1
  143. package/dist-types/commands/RegisterImageCommand.d.ts +1 -1
  144. package/dist-types/commands/RequestSpotFleetCommand.d.ts +2 -2
  145. package/dist-types/commands/RequestSpotInstancesCommand.d.ts +1 -1
  146. package/dist-types/commands/RunInstancesCommand.d.ts +1 -1
  147. package/dist-types/commands/StartDeclarativePoliciesReportCommand.d.ts +1 -1
  148. package/dist-types/commands/StartNetworkInsightsAccessScopeAnalysisCommand.d.ts +1 -1
  149. package/dist-types/commands/StartNetworkInsightsAnalysisCommand.d.ts +1 -1
  150. package/dist-types/commands/index.d.ts +2 -0
  151. package/dist-types/models/enums.d.ts +27 -0
  152. package/dist-types/models/models_0.d.ts +158 -184
  153. package/dist-types/models/models_1.d.ts +194 -230
  154. package/dist-types/models/models_2.d.ts +228 -94
  155. package/dist-types/models/models_3.d.ts +141 -274
  156. package/dist-types/models/models_4.d.ts +277 -375
  157. package/dist-types/models/models_5.d.ts +375 -226
  158. package/dist-types/models/models_6.d.ts +235 -208
  159. package/dist-types/models/models_7.d.ts +209 -7
  160. package/dist-types/schemas/schemas_0.d.ts +9 -0
  161. package/dist-types/ts3.4/EC2.d.ts +47 -0
  162. package/dist-types/ts3.4/EC2Client.d.ts +12 -0
  163. package/dist-types/ts3.4/commands/CreateCapacityReservationCancellationQuoteCommand.d.ts +53 -0
  164. package/dist-types/ts3.4/commands/CreateDefaultVpcCommand.d.ts +2 -4
  165. package/dist-types/ts3.4/commands/CreateRouteTableCommand.d.ts +2 -4
  166. package/dist-types/ts3.4/commands/DeleteSubnetCidrReservationCommand.d.ts +1 -1
  167. package/dist-types/ts3.4/commands/DeleteSubnetCommand.d.ts +1 -1
  168. package/dist-types/ts3.4/commands/DeleteTagsCommand.d.ts +1 -1
  169. package/dist-types/ts3.4/commands/DeleteTrafficMirrorFilterCommand.d.ts +4 -2
  170. package/dist-types/ts3.4/commands/DescribeCapacityReservationCancellationQuotesCommand.d.ts +53 -0
  171. package/dist-types/ts3.4/commands/DescribeInstanceAttributeCommand.d.ts +2 -4
  172. package/dist-types/ts3.4/commands/DescribeInstanceConnectEndpointsCommand.d.ts +1 -1
  173. package/dist-types/ts3.4/commands/DescribeStaleSecurityGroupsCommand.d.ts +2 -4
  174. package/dist-types/ts3.4/commands/DescribeStoreImageTasksCommand.d.ts +1 -1
  175. package/dist-types/ts3.4/commands/DescribeSubnetsCommand.d.ts +4 -2
  176. package/dist-types/ts3.4/commands/GetCapacityManagerMetricDataCommand.d.ts +2 -4
  177. package/dist-types/ts3.4/commands/GetCapacityManagerMetricDimensionsCommand.d.ts +1 -1
  178. package/dist-types/ts3.4/commands/GetCapacityManagerMonitoredTagKeysCommand.d.ts +4 -2
  179. package/dist-types/ts3.4/commands/ModifyManagedPrefixListCommand.d.ts +2 -4
  180. package/dist-types/ts3.4/commands/ModifyManagedResourceVisibilityCommand.d.ts +1 -1
  181. package/dist-types/ts3.4/commands/ModifyNetworkInterfaceAttributeCommand.d.ts +1 -1
  182. package/dist-types/ts3.4/commands/ModifyPrivateDnsNameOptionsCommand.d.ts +1 -1
  183. package/dist-types/ts3.4/commands/index.d.ts +2 -0
  184. package/dist-types/ts3.4/models/enums.d.ts +15 -0
  185. package/dist-types/ts3.4/models/models_0.d.ts +36 -45
  186. package/dist-types/ts3.4/models/models_1.d.ts +47 -48
  187. package/dist-types/ts3.4/models/models_2.d.ts +50 -22
  188. package/dist-types/ts3.4/models/models_3.d.ts +36 -54
  189. package/dist-types/ts3.4/models/models_4.d.ts +52 -52
  190. package/dist-types/ts3.4/models/models_5.d.ts +50 -44
  191. package/dist-types/ts3.4/models/models_6.d.ts +45 -47
  192. package/dist-types/ts3.4/models/models_7.d.ts +49 -3
  193. package/dist-types/ts3.4/schemas/schemas_0.d.ts +9 -0
  194. package/package.json +10 -10
@@ -1,8 +1,379 @@
1
- import type { AllowedImagesSettingsDisabledState, AllowedImagesSettingsEnabledState, CapacityManagerMonitoredTagKeyStatus, CapacityManagerStatus, CapacityTenancy, ClientCertificateRevocationListStatusCode, Comparison, DeviceTrustProviderType, DiskImageFormat, DnsNameState, FastLaunchResourceType, FastLaunchStateCode, FastSnapshotRestoreStateCode, FilterByDimension, GroupBy, ImageBlockPublicAccessDisabledState, ImageBlockPublicAccessEnabledState, IngestionStatus, InitializationType, InternetGatewayBlockMode, IpAddressType, ManagedBy, Metric, MetricType, PayerResponsibility, PeriodType, ReservationEndDateType, ReservationState, ReservationType, ResourceType, RouteServerPropagationState, SecurityGroupVpcAssociationState, ServiceConnectivityType, SnapshotBlockPublicAccessState, State, StatisticType, TransitGatewayAssociationState, TransitGatewayAttachmentResourceType, TransitGatewayAttachmentState, TransitGatewayPropagationState, UserTrustProviderType, VerifiedAccessLogDeliveryStatusCode, VolumeAttributeName, VolumeModificationState, VolumeStatusInfoStatus, VolumeStatusName, VolumeType, VpcAttributeName, VpcBlockPublicAccessExclusionsAllowed, VpcBlockPublicAccessState } from "./enums";
2
- import type { ActiveVpnTunnelStatus, AddressTransfer, AllowedPrincipal, AsnAssociation, AssociationStatus, IamInstanceProfileAssociation, InstanceEventWindow, IpamResourceDiscoveryAssociation, NatGatewayAddress, OperatorResponse, RouteServerAssociation, Subnet, SubnetIpv6CidrBlockAssociation, Tag, TagSpecification, TransitGatewayAssociation, TransitGatewayMulticastDomainAssociations, TransitGatewayPeeringAttachment, TransitGatewayPolicyTableAssociation, TransitGatewayVpcAttachment, TrunkInterfaceAssociation, VerifiedAccessInstance, VerifiedAccessTrustProvider, Volume, Vpc, VpcCidrBlockAssociation, VpcEncryptionControl, VpcIpv6CidrBlockAssociation, VpcPeeringConnection } from "./models_0";
1
+ import type { AllowedImagesSettingsDisabledState, AllowedImagesSettingsEnabledState, CapacityManagerStatus, CapacityTenancy, ClientCertificateRevocationListStatusCode, Comparison, DeviceTrustProviderType, DiskImageFormat, DnsNameState, FastLaunchResourceType, FastLaunchStateCode, FastSnapshotRestoreStateCode, FilterByDimension, GroupBy, ImageBlockPublicAccessDisabledState, ImageBlockPublicAccessEnabledState, IngestionStatus, InitializationType, InternetGatewayBlockMode, IpAddressType, ManagedBy, Metric, MetricType, PayerResponsibility, PeriodType, ReservationEndDateType, ReservationState, ReservationType, ResourceType, RouteServerPropagationState, SecurityGroupVpcAssociationState, ServiceConnectivityType, SnapshotBlockPublicAccessState, State, StatisticType, TransitGatewayAssociationState, TransitGatewayAttachmentResourceType, TransitGatewayAttachmentState, TransitGatewayPropagationState, UserTrustProviderType, VerifiedAccessLogDeliveryStatusCode, VolumeAttributeName, VolumeModificationState, VolumeStatusInfoStatus, VolumeStatusName, VolumeType, VpcAttributeName, VpcBlockPublicAccessExclusionsAllowed, VpcBlockPublicAccessState } from "./enums";
2
+ import type { ActiveVpnTunnelStatus, AddressTransfer, AllowedPrincipal, AsnAssociation, AssociationStatus, IamInstanceProfileAssociation, InstanceEventWindow, IpamResourceDiscoveryAssociation, NatGatewayAddress, OperatorResponse, RouteServerAssociation, Subnet, SubnetIpv6CidrBlockAssociation, Tag, TagSpecification, TransitGatewayAssociation, TransitGatewayMulticastDomainAssociations, TransitGatewayPeeringAttachment, TransitGatewayPolicyTableAssociation, TransitGatewayVpcAttachment, TrunkInterfaceAssociation, UserIdGroupPair, VerifiedAccessInstance, VerifiedAccessTrustProvider, Volume, VpcCidrBlockAssociation, VpcIpv6CidrBlockAssociation, VpcPeeringConnection } from "./models_0";
3
+ import type { Vpc, VpcEncryptionControl } from "./models_1";
3
4
  import type { ConnectionNotification, DnsEntry, ServiceConfiguration, ServiceTypeDetail, TrafficMirrorFilter, TrafficMirrorFilterRule, TrafficMirrorSession, TrafficMirrorTarget, TransitGateway, TransitGatewayConnect, TransitGatewayConnectPeer, TransitGatewayMeteringPolicy, TransitGatewayMulticastDomain, TransitGatewayPolicyTable, TransitGatewayRouteTable, TransitGatewayRouteTableAnnouncement, VerifiedAccessEndpoint, VerifiedAccessGroup, VpcBlockPublicAccessExclusion, VpcEndpoint, VpnConcentrator, VpnConnection, VpnGateway } from "./models_2";
4
- import type { AttributeBooleanValue, ExportTaskS3Location, FastLaunchLaunchTemplateSpecificationResponse, FastLaunchSnapshotConfigurationResponse, Filter, ProductCode } from "./models_3";
5
- import type { RegisteredInstance } from "./models_4";
5
+ import type { ExportTaskS3Location, FastLaunchLaunchTemplateSpecificationResponse, FastLaunchSnapshotConfigurationResponse, Filter, ProductCode } from "./models_3";
6
+ import type { AttributeBooleanValue, RegisteredInstance } from "./models_4";
7
+ /**
8
+ * <p>Describes a stale rule in a security group.</p>
9
+ * @public
10
+ */
11
+ export interface StaleIpPermission {
12
+ /**
13
+ * <p>If the protocol is TCP or UDP, this is the start of the port range.
14
+ * If the protocol is ICMP or ICMPv6, this is the ICMP type or -1 (all ICMP types).</p>
15
+ * @public
16
+ */
17
+ FromPort?: number | undefined;
18
+ /**
19
+ * <p>The IP protocol name (<code>tcp</code>, <code>udp</code>, <code>icmp</code>, <code>icmpv6</code>) or number
20
+ * (see <a href="http://www.iana.org/assignments/protocol-numbers/protocol-numbers.xhtml">Protocol Numbers)</a>.</p>
21
+ * @public
22
+ */
23
+ IpProtocol?: string | undefined;
24
+ /**
25
+ * <p>The IP ranges. Not applicable for stale security group rules.</p>
26
+ * @public
27
+ */
28
+ IpRanges?: string[] | undefined;
29
+ /**
30
+ * <p>The prefix list IDs. Not applicable for stale security group rules.</p>
31
+ * @public
32
+ */
33
+ PrefixListIds?: string[] | undefined;
34
+ /**
35
+ * <p>If the protocol is TCP or UDP, this is the end of the port range.
36
+ * If the protocol is ICMP or ICMPv6, this is the ICMP code or -1 (all ICMP codes).</p>
37
+ * @public
38
+ */
39
+ ToPort?: number | undefined;
40
+ /**
41
+ * <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>
42
+ * @public
43
+ */
44
+ UserIdGroupPairs?: UserIdGroupPair[] | undefined;
45
+ }
46
+ /**
47
+ * <p>Describes a stale security group (a security group that contains stale rules).</p>
48
+ * @public
49
+ */
50
+ export interface StaleSecurityGroup {
51
+ /**
52
+ * <p>The description of the security group.</p>
53
+ * @public
54
+ */
55
+ Description?: string | undefined;
56
+ /**
57
+ * <p>The ID of the security group.</p>
58
+ * @public
59
+ */
60
+ GroupId?: string | undefined;
61
+ /**
62
+ * <p>The name of the security group.</p>
63
+ * @public
64
+ */
65
+ GroupName?: string | undefined;
66
+ /**
67
+ * <p>Information about the stale inbound rules in the security group.</p>
68
+ * @public
69
+ */
70
+ StaleIpPermissions?: StaleIpPermission[] | undefined;
71
+ /**
72
+ * <p>Information about the stale outbound rules in the security group.</p>
73
+ * @public
74
+ */
75
+ StaleIpPermissionsEgress?: StaleIpPermission[] | undefined;
76
+ /**
77
+ * <p>The ID of the VPC for the security group.</p>
78
+ * @public
79
+ */
80
+ VpcId?: string | undefined;
81
+ }
82
+ /**
83
+ * @public
84
+ */
85
+ export interface DescribeStaleSecurityGroupsResult {
86
+ /**
87
+ * <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>
88
+ * @public
89
+ */
90
+ NextToken?: string | undefined;
91
+ /**
92
+ * <p>Information about the stale security groups.</p>
93
+ * @public
94
+ */
95
+ StaleSecurityGroupSet?: StaleSecurityGroup[] | undefined;
96
+ }
97
+ /**
98
+ * @public
99
+ */
100
+ export interface DescribeStoreImageTasksRequest {
101
+ /**
102
+ * <p>The AMI IDs for which to show progress. Up to 20 AMI IDs can be included in a
103
+ * request.</p>
104
+ * @public
105
+ */
106
+ ImageIds?: string[] | undefined;
107
+ /**
108
+ * <p>Checks whether you have the required permissions for the action, without actually making the request,
109
+ * and provides an error response. If you have the required permissions, the error response is
110
+ * <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.</p>
111
+ * @public
112
+ */
113
+ DryRun?: boolean | undefined;
114
+ /**
115
+ * <p>The filters.</p>
116
+ * <ul>
117
+ * <li>
118
+ * <p>
119
+ * <code>task-state</code> - Returns tasks in a certain state (<code>InProgress</code> |
120
+ * <code>Completed</code> | <code>Failed</code>)</p>
121
+ * </li>
122
+ * <li>
123
+ * <p>
124
+ * <code>bucket</code> - Returns task information for tasks that targeted a specific
125
+ * bucket. For the filter value, specify the bucket name.</p>
126
+ * </li>
127
+ * </ul>
128
+ * <note>
129
+ * <p>When you specify the <code>ImageIds</code> parameter, any filters that you specify are
130
+ * ignored. To use the filters, you must remove the <code>ImageIds</code> parameter.</p>
131
+ * </note>
132
+ * @public
133
+ */
134
+ Filters?: Filter[] | undefined;
135
+ /**
136
+ * <p>The token returned from a previous paginated request. Pagination continues from the end of the items returned by the previous request.</p>
137
+ * @public
138
+ */
139
+ NextToken?: string | undefined;
140
+ /**
141
+ * <p>The maximum number of items to return for this request.
142
+ * To get the next page of items, make another request with the token returned in the output.
143
+ * For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination">Pagination</a>.</p>
144
+ * <p>You cannot specify this parameter and the <code>ImageIds</code> parameter in the same
145
+ * call.</p>
146
+ * @public
147
+ */
148
+ MaxResults?: number | undefined;
149
+ }
150
+ /**
151
+ * <p>The information about the AMI store task, including the progress of the task.</p>
152
+ * @public
153
+ */
154
+ export interface StoreImageTaskResult {
155
+ /**
156
+ * <p>The ID of the AMI that is being stored.</p>
157
+ * @public
158
+ */
159
+ AmiId?: string | undefined;
160
+ /**
161
+ * <p>The time the task started.</p>
162
+ * @public
163
+ */
164
+ TaskStartTime?: Date | undefined;
165
+ /**
166
+ * <p>The name of the Amazon S3 bucket that contains the stored AMI object.</p>
167
+ * @public
168
+ */
169
+ Bucket?: string | undefined;
170
+ /**
171
+ * <p>The name of the stored AMI object in the bucket.</p>
172
+ * @public
173
+ */
174
+ S3objectKey?: string | undefined;
175
+ /**
176
+ * <p>The progress of the task as a percentage.</p>
177
+ * @public
178
+ */
179
+ ProgressPercentage?: number | undefined;
180
+ /**
181
+ * <p>The state of the store task (<code>InProgress</code>, <code>Completed</code>, or
182
+ * <code>Failed</code>).</p>
183
+ * @public
184
+ */
185
+ StoreTaskState?: string | undefined;
186
+ /**
187
+ * <p>If the tasks fails, the reason for the failure is returned. If the task succeeds,
188
+ * <code>null</code> is returned.</p>
189
+ * @public
190
+ */
191
+ StoreTaskFailureReason?: string | undefined;
192
+ }
193
+ /**
194
+ * @public
195
+ */
196
+ export interface DescribeStoreImageTasksResult {
197
+ /**
198
+ * <p>The information about the AMI store tasks.</p>
199
+ * @public
200
+ */
201
+ StoreImageTaskResults?: StoreImageTaskResult[] | undefined;
202
+ /**
203
+ * <p>The token to include in another request to get the next page of items. This value is <code>null</code> when there
204
+ * are no more items to return.</p>
205
+ * @public
206
+ */
207
+ NextToken?: string | undefined;
208
+ }
209
+ /**
210
+ * @public
211
+ */
212
+ export interface DescribeSubnetsRequest {
213
+ /**
214
+ * <p>The filters.</p>
215
+ * <ul>
216
+ * <li>
217
+ * <p>
218
+ * <code>availability-zone</code> - The Availability Zone for the subnet. You can also use
219
+ * <code>availabilityZone</code> as the filter name.</p>
220
+ * </li>
221
+ * <li>
222
+ * <p>
223
+ * <code>availability-zone-id</code> - The ID of the Availability Zone for the subnet.
224
+ * You can also use <code>availabilityZoneId</code> as the filter name.</p>
225
+ * </li>
226
+ * <li>
227
+ * <p>
228
+ * <code>available-ip-address-count</code> - The number of IPv4 addresses in the
229
+ * subnet that are available.</p>
230
+ * </li>
231
+ * <li>
232
+ * <p>
233
+ * <code>cidr-block</code> - The IPv4 CIDR block of the subnet. The CIDR block
234
+ * you specify must exactly match the subnet's CIDR block for information to be
235
+ * returned for the subnet. You can also use <code>cidr</code> or
236
+ * <code>cidrBlock</code> as the filter names.</p>
237
+ * </li>
238
+ * <li>
239
+ * <p>
240
+ * <code>customer-owned-ipv4-pool</code> - The customer-owned IPv4 address pool
241
+ * associated with the subnet.</p>
242
+ * </li>
243
+ * <li>
244
+ * <p>
245
+ * <code>default-for-az</code> - Indicates whether this is the default subnet for
246
+ * the Availability Zone (<code>true</code> | <code>false</code>). You can also use
247
+ * <code>defaultForAz</code> as the filter name.</p>
248
+ * </li>
249
+ * <li>
250
+ * <p>
251
+ * <code>enable-dns64</code> - Indicates whether DNS queries made to the
252
+ * Amazon-provided DNS Resolver in this subnet should return synthetic IPv6
253
+ * addresses for IPv4-only destinations.</p>
254
+ * </li>
255
+ * <li>
256
+ * <p>
257
+ * <code>enable-lni-at-device-index</code> - Indicates the device position for
258
+ * local network interfaces in this subnet. For example, <code>1</code> indicates
259
+ * local network interfaces in this subnet are the secondary network interface
260
+ * (eth1). </p>
261
+ * </li>
262
+ * <li>
263
+ * <p>
264
+ * <code>ipv6-cidr-block-association.ipv6-cidr-block</code> - An IPv6 CIDR
265
+ * block associated with the subnet.</p>
266
+ * </li>
267
+ * <li>
268
+ * <p>
269
+ * <code>ipv6-cidr-block-association.association-id</code> - An association ID
270
+ * for an IPv6 CIDR block associated with the subnet.</p>
271
+ * </li>
272
+ * <li>
273
+ * <p>
274
+ * <code>ipv6-cidr-block-association.state</code> - The state of an IPv6 CIDR
275
+ * block associated with the subnet.</p>
276
+ * </li>
277
+ * <li>
278
+ * <p>
279
+ * <code>ipv6-native</code> - Indicates whether this is an IPv6 only subnet
280
+ * (<code>true</code> | <code>false</code>).</p>
281
+ * </li>
282
+ * <li>
283
+ * <p>
284
+ * <code>map-customer-owned-ip-on-launch</code> - Indicates whether a network
285
+ * interface created in this subnet (including a network interface created by <a>RunInstances</a>) receives a customer-owned IPv4 address.</p>
286
+ * </li>
287
+ * <li>
288
+ * <p>
289
+ * <code>map-public-ip-on-launch</code> - Indicates whether instances launched in
290
+ * this subnet receive a public IPv4 address.</p>
291
+ * </li>
292
+ * <li>
293
+ * <p>
294
+ * <code>outpost-arn</code> - The Amazon Resource Name (ARN) of the Outpost.</p>
295
+ * </li>
296
+ * <li>
297
+ * <p>
298
+ * <code>owner-id</code> - The ID of the Amazon Web Services account that owns the
299
+ * subnet.</p>
300
+ * </li>
301
+ * <li>
302
+ * <p>
303
+ * <code>private-dns-name-options-on-launch.hostname-type</code> - The type of
304
+ * hostname to assign to instances in the subnet at launch. For IPv4-only and
305
+ * dual-stack (IPv4 and IPv6) subnets, an instance DNS name can be based on the
306
+ * instance IPv4 address (ip-name) or the instance ID (resource-name). For IPv6
307
+ * only subnets, an instance DNS name must be based on the instance ID
308
+ * (resource-name).</p>
309
+ * </li>
310
+ * <li>
311
+ * <p>
312
+ * <code>private-dns-name-options-on-launch.enable-resource-name-dns-a-record</code>
313
+ * - Indicates whether to respond to DNS queries for instance hostnames with DNS A
314
+ * records.</p>
315
+ * </li>
316
+ * <li>
317
+ * <p>
318
+ * <code>private-dns-name-options-on-launch.enable-resource-name-dns-aaaa-record</code>
319
+ * - Indicates whether to respond to DNS queries for instance hostnames with DNS
320
+ * AAAA records.</p>
321
+ * </li>
322
+ * <li>
323
+ * <p>
324
+ * <code>state</code> - The state of the subnet (<code>pending</code> | <code>available</code>).</p>
325
+ * </li>
326
+ * <li>
327
+ * <p>
328
+ * <code>subnet-arn</code> - The Amazon Resource Name (ARN) of the subnet.</p>
329
+ * </li>
330
+ * <li>
331
+ * <p>
332
+ * <code>subnet-id</code> - The ID of the subnet.</p>
333
+ * </li>
334
+ * <li>
335
+ * <p>
336
+ * <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.
337
+ * 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>
338
+ * </li>
339
+ * <li>
340
+ * <p>
341
+ * <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>
342
+ * </li>
343
+ * <li>
344
+ * <p>
345
+ * <code>vpc-id</code> - The ID of the VPC for the subnet.</p>
346
+ * </li>
347
+ * </ul>
348
+ * @public
349
+ */
350
+ Filters?: Filter[] | undefined;
351
+ /**
352
+ * <p>The IDs of the subnets.</p>
353
+ * <p>Default: Describes all your subnets.</p>
354
+ * @public
355
+ */
356
+ SubnetIds?: string[] | undefined;
357
+ /**
358
+ * <p>The token returned from a previous paginated request. Pagination continues from the end of the items returned by the previous request.</p>
359
+ * @public
360
+ */
361
+ NextToken?: string | undefined;
362
+ /**
363
+ * <p>The maximum number of items to return for this request.
364
+ * To get the next page of items, make another request with the token returned in the output.
365
+ * For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination">Pagination</a>.</p>
366
+ * @public
367
+ */
368
+ MaxResults?: number | undefined;
369
+ /**
370
+ * <p>Checks whether you have the required permissions for the action, without actually making the request,
371
+ * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
372
+ * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
373
+ * @public
374
+ */
375
+ DryRun?: boolean | undefined;
376
+ }
6
377
  /**
7
378
  * @public
8
379
  */
@@ -7894,225 +8265,3 @@ export interface CapacityManagerDimension {
7894
8265
  */
7895
8266
  Tags?: CapacityManagerTagDimension[] | undefined;
7896
8267
  }
7897
- /**
7898
- * <p>
7899
- * Represents a single metric value with its associated statistic, such as the sum or average of unused capacity hours.
7900
- * </p>
7901
- * @public
7902
- */
7903
- export interface MetricValue {
7904
- /**
7905
- * <p>
7906
- * The name of the metric.
7907
- * </p>
7908
- * @public
7909
- */
7910
- Metric?: Metric | undefined;
7911
- /**
7912
- * <p>
7913
- * The numerical value of the metric for the specified statistic and time period.
7914
- * </p>
7915
- * @public
7916
- */
7917
- Value?: number | undefined;
7918
- }
7919
- /**
7920
- * <p>
7921
- * Contains a single data point from a capacity metrics query, including the dimension values, timestamp, and metric values for that specific combination.
7922
- * </p>
7923
- * @public
7924
- */
7925
- export interface MetricDataResult {
7926
- /**
7927
- * <p>
7928
- * The dimension values that identify this specific data point, such as account ID, region, and instance family.
7929
- * </p>
7930
- * @public
7931
- */
7932
- Dimension?: CapacityManagerDimension | undefined;
7933
- /**
7934
- * <p>
7935
- * The timestamp for this data point, indicating when the capacity usage occurred.
7936
- * </p>
7937
- * @public
7938
- */
7939
- Timestamp?: Date | undefined;
7940
- /**
7941
- * <p>
7942
- * The metric values and statistics for this data point, containing the actual capacity usage numbers.
7943
- * </p>
7944
- * @public
7945
- */
7946
- MetricValues?: MetricValue[] | undefined;
7947
- }
7948
- /**
7949
- * @public
7950
- */
7951
- export interface GetCapacityManagerMetricDataResult {
7952
- /**
7953
- * <p>
7954
- * The metric data points returned by the query. Each result contains dimension values, timestamp, and metric values with their associated statistics.
7955
- * </p>
7956
- * @public
7957
- */
7958
- MetricDataResults?: MetricDataResult[] | undefined;
7959
- /**
7960
- * <p>
7961
- * The token to use to retrieve the next page of results. This value is null when there are no more results to return.
7962
- * </p>
7963
- * @public
7964
- */
7965
- NextToken?: string | undefined;
7966
- }
7967
- /**
7968
- * @public
7969
- */
7970
- export interface GetCapacityManagerMetricDimensionsRequest {
7971
- /**
7972
- * <p>
7973
- * The dimensions to group by when retrieving available dimension values. This determines which dimension combinations are returned. Required parameter.
7974
- * </p>
7975
- * @public
7976
- */
7977
- GroupBy: GroupBy[] | undefined;
7978
- /**
7979
- * <p>
7980
- * Conditions to filter which dimension values are returned. Each filter specifies a dimension, comparison operator, and values to match against.
7981
- * </p>
7982
- * @public
7983
- */
7984
- FilterBy?: CapacityManagerCondition[] | undefined;
7985
- /**
7986
- * <p>
7987
- * The start time for the dimension query, in ISO 8601 format. Only dimensions with data in this time range will be returned.
7988
- * </p>
7989
- * @public
7990
- */
7991
- StartTime: Date | undefined;
7992
- /**
7993
- * <p>
7994
- * The end time for the dimension query, in ISO 8601 format. Only dimensions with data in this time range will be returned.
7995
- * </p>
7996
- * @public
7997
- */
7998
- EndTime: Date | undefined;
7999
- /**
8000
- * <p>
8001
- * The metric names to use as an additional filter when retrieving dimensions. Only dimensions that have data for these
8002
- * metrics will be returned. Required parameter with maximum size of 1 for v1.
8003
- * </p>
8004
- * @public
8005
- */
8006
- MetricNames: Metric[] | undefined;
8007
- /**
8008
- * <p>
8009
- * The maximum number of dimension combinations to return. Valid range is 1 to 1000. Use with NextToken for pagination.
8010
- * </p>
8011
- * @public
8012
- */
8013
- MaxResults?: number | undefined;
8014
- /**
8015
- * <p>
8016
- * The token for the next page of results. Use this value in a subsequent call to retrieve additional dimension values.
8017
- * </p>
8018
- * @public
8019
- */
8020
- NextToken?: string | undefined;
8021
- /**
8022
- * <p>
8023
- * Checks whether you have the required permissions for the action, without actually making the request, and provides
8024
- * an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.
8025
- * </p>
8026
- * @public
8027
- */
8028
- DryRun?: boolean | undefined;
8029
- }
8030
- /**
8031
- * @public
8032
- */
8033
- export interface GetCapacityManagerMetricDimensionsResult {
8034
- /**
8035
- * <p>
8036
- * The available dimension combinations that have data within the specified time range and filters.
8037
- * </p>
8038
- * @public
8039
- */
8040
- MetricDimensionResults?: CapacityManagerDimension[] | undefined;
8041
- /**
8042
- * <p>
8043
- * The token to use to retrieve the next page of results. This value is null when there are no more results to return.
8044
- * </p>
8045
- * @public
8046
- */
8047
- NextToken?: string | undefined;
8048
- }
8049
- /**
8050
- * @public
8051
- */
8052
- export interface GetCapacityManagerMonitoredTagKeysRequest {
8053
- /**
8054
- * <p>
8055
- * The maximum number of results to return in a single call. To retrieve the remaining results, make another call with the returned <code>NextToken</code> value. If not specified, up to 1000 results are returned.
8056
- * </p>
8057
- * @public
8058
- */
8059
- MaxResults?: number | undefined;
8060
- /**
8061
- * <p>
8062
- * The token for the next page of results. Use the value returned from a previous call to retrieve additional results.
8063
- * </p>
8064
- * @public
8065
- */
8066
- NextToken?: string | undefined;
8067
- /**
8068
- * <p>
8069
- * Checks whether you have the required permissions for the action, without actually making the request, and provides an error response.
8070
- * If you have the required permissions, the error response is <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.
8071
- * </p>
8072
- * @public
8073
- */
8074
- DryRun?: boolean | undefined;
8075
- }
8076
- /**
8077
- * <p>
8078
- * Describes a tag key that is being monitored by Capacity Manager, including its activation status and the earliest available data point.
8079
- * </p>
8080
- * @public
8081
- */
8082
- export interface CapacityManagerMonitoredTagKey {
8083
- /**
8084
- * <p>
8085
- * The tag key being monitored.
8086
- * </p>
8087
- * @public
8088
- */
8089
- TagKey?: string | undefined;
8090
- /**
8091
- * <p>
8092
- * The current status of the monitored tag key. Valid values are <code>activating</code>, <code>activated</code>, <code>deactivating</code>, and <code>suspended</code>.
8093
- * </p>
8094
- * @public
8095
- */
8096
- Status?: CapacityManagerMonitoredTagKeyStatus | undefined;
8097
- /**
8098
- * <p>
8099
- * A message providing additional details about the current status of the monitored tag key.
8100
- * </p>
8101
- * @public
8102
- */
8103
- StatusMessage?: string | undefined;
8104
- /**
8105
- * <p>
8106
- * Indicates whether this tag key is provided by Capacity Manager by default, rather than being user-activated.
8107
- * </p>
8108
- * @public
8109
- */
8110
- CapacityManagerProvided?: boolean | undefined;
8111
- /**
8112
- * <p>
8113
- * The earliest timestamp from which tag data is available for queries, in UTC ISO 8601 format.
8114
- * </p>
8115
- * @public
8116
- */
8117
- EarliestDatapointTimestamp?: Date | undefined;
8118
- }