@aws-sdk/client-ec2 3.842.0 → 3.844.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 (211) hide show
  1. package/README.md +16 -0
  2. package/dist-cjs/index.js +679 -169
  3. package/dist-es/EC2.js +4 -0
  4. package/dist-es/commands/DescribeCapacityBlockStatusCommand.js +22 -0
  5. package/dist-es/commands/DescribeCapacityBlocksCommand.js +22 -0
  6. package/dist-es/commands/index.js +2 -0
  7. package/dist-es/models/models_0.js +1 -0
  8. package/dist-es/models/models_1.js +1 -0
  9. package/dist-es/models/models_3.js +15 -6
  10. package/dist-es/models/models_4.js +6 -0
  11. package/dist-es/pagination/DescribeCapacityBlockStatusPaginator.js +4 -0
  12. package/dist-es/pagination/DescribeCapacityBlocksPaginator.js +4 -0
  13. package/dist-es/pagination/index.js +3 -1
  14. package/dist-es/protocols/Aws_ec2.js +359 -60
  15. package/dist-es/waiters/index.js +4 -2
  16. package/dist-es/waiters/waitForSecurityGroupVpcAssociationAssociated.js +69 -0
  17. package/dist-es/waiters/waitForSecurityGroupVpcAssociationDisassociated.js +79 -0
  18. package/dist-types/EC2.d.ts +16 -0
  19. package/dist-types/EC2Client.d.ts +4 -2
  20. package/dist-types/commands/AcceptAddressTransferCommand.d.ts +1 -1
  21. package/dist-types/commands/AllocateAddressCommand.d.ts +1 -1
  22. package/dist-types/commands/AllocateHostsCommand.d.ts +1 -1
  23. package/dist-types/commands/AssociateIpamResourceDiscoveryCommand.d.ts +1 -1
  24. package/dist-types/commands/AssociateSecurityGroupVpcCommand.d.ts +1 -1
  25. package/dist-types/commands/AuthorizeSecurityGroupEgressCommand.d.ts +1 -1
  26. package/dist-types/commands/AuthorizeSecurityGroupIngressCommand.d.ts +1 -1
  27. package/dist-types/commands/CopyImageCommand.d.ts +1 -1
  28. package/dist-types/commands/CopySnapshotCommand.d.ts +1 -1
  29. package/dist-types/commands/CreateCapacityReservationBySplittingCommand.d.ts +5 -3
  30. package/dist-types/commands/CreateCapacityReservationCommand.d.ts +3 -2
  31. package/dist-types/commands/CreateCapacityReservationFleetCommand.d.ts +1 -1
  32. package/dist-types/commands/CreateCarrierGatewayCommand.d.ts +1 -1
  33. package/dist-types/commands/CreateClientVpnEndpointCommand.d.ts +1 -1
  34. package/dist-types/commands/CreateCoipPoolCommand.d.ts +1 -1
  35. package/dist-types/commands/CreateCustomerGatewayCommand.d.ts +1 -1
  36. package/dist-types/commands/CreateDelegateMacVolumeOwnershipTaskCommand.d.ts +1 -1
  37. package/dist-types/commands/CreateDhcpOptionsCommand.d.ts +1 -1
  38. package/dist-types/commands/CreateEgressOnlyInternetGatewayCommand.d.ts +1 -1
  39. package/dist-types/commands/CreateFleetCommand.d.ts +1 -1
  40. package/dist-types/commands/CreateFlowLogsCommand.d.ts +1 -1
  41. package/dist-types/commands/CreateFpgaImageCommand.d.ts +1 -1
  42. package/dist-types/commands/CreateImageCommand.d.ts +1 -1
  43. package/dist-types/commands/CreateInstanceConnectEndpointCommand.d.ts +1 -1
  44. package/dist-types/commands/CreateInstanceEventWindowCommand.d.ts +1 -1
  45. package/dist-types/commands/CreateInstanceExportTaskCommand.d.ts +1 -1
  46. package/dist-types/commands/CreateInternetGatewayCommand.d.ts +1 -1
  47. package/dist-types/commands/CreateIpamCommand.d.ts +1 -1
  48. package/dist-types/commands/CreateIpamExternalResourceVerificationTokenCommand.d.ts +1 -1
  49. package/dist-types/commands/CreateIpamPoolCommand.d.ts +1 -1
  50. package/dist-types/commands/CreateIpamResourceDiscoveryCommand.d.ts +1 -1
  51. package/dist-types/commands/CreateIpamScopeCommand.d.ts +1 -1
  52. package/dist-types/commands/CreateKeyPairCommand.d.ts +1 -1
  53. package/dist-types/commands/CreateLaunchTemplateCommand.d.ts +2 -2
  54. package/dist-types/commands/CreateLaunchTemplateVersionCommand.d.ts +2 -2
  55. package/dist-types/commands/CreateLocalGatewayRouteTableCommand.d.ts +1 -1
  56. package/dist-types/commands/CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationCommand.d.ts +1 -1
  57. package/dist-types/commands/CreateLocalGatewayRouteTableVpcAssociationCommand.d.ts +1 -1
  58. package/dist-types/commands/CreateLocalGatewayVirtualInterfaceCommand.d.ts +1 -1
  59. package/dist-types/commands/CreateLocalGatewayVirtualInterfaceGroupCommand.d.ts +1 -1
  60. package/dist-types/commands/CreateMacSystemIntegrityProtectionModificationTaskCommand.d.ts +1 -1
  61. package/dist-types/commands/CreateManagedPrefixListCommand.d.ts +1 -1
  62. package/dist-types/commands/CreateNatGatewayCommand.d.ts +1 -1
  63. package/dist-types/commands/CreateNetworkAclCommand.d.ts +1 -1
  64. package/dist-types/commands/CreateNetworkInsightsAccessScopeCommand.d.ts +1 -1
  65. package/dist-types/commands/CreateNetworkInsightsPathCommand.d.ts +1 -1
  66. package/dist-types/commands/CreateNetworkInterfaceCommand.d.ts +1 -1
  67. package/dist-types/commands/CreatePlacementGroupCommand.d.ts +1 -1
  68. package/dist-types/commands/CreatePublicIpv4PoolCommand.d.ts +1 -1
  69. package/dist-types/commands/CreateReplaceRootVolumeTaskCommand.d.ts +1 -1
  70. package/dist-types/commands/CreateRestoreImageTaskCommand.d.ts +1 -1
  71. package/dist-types/commands/CreateRouteServerCommand.d.ts +1 -1
  72. package/dist-types/commands/CreateRouteServerEndpointCommand.d.ts +1 -1
  73. package/dist-types/commands/CreateRouteServerPeerCommand.d.ts +1 -1
  74. package/dist-types/commands/CreateRouteTableCommand.d.ts +1 -1
  75. package/dist-types/commands/CreateSecurityGroupCommand.d.ts +1 -1
  76. package/dist-types/commands/CreateSnapshotCommand.d.ts +1 -1
  77. package/dist-types/commands/CreateSnapshotsCommand.d.ts +1 -1
  78. package/dist-types/commands/CreateSubnetCidrReservationCommand.d.ts +1 -1
  79. package/dist-types/commands/CreateSubnetCommand.d.ts +1 -1
  80. package/dist-types/commands/CreateTrafficMirrorFilterCommand.d.ts +1 -1
  81. package/dist-types/commands/CreateTrafficMirrorFilterRuleCommand.d.ts +1 -1
  82. package/dist-types/commands/CreateTrafficMirrorSessionCommand.d.ts +1 -1
  83. package/dist-types/commands/CreateTrafficMirrorTargetCommand.d.ts +1 -1
  84. package/dist-types/commands/CreateTransitGatewayCommand.d.ts +1 -1
  85. package/dist-types/commands/CreateTransitGatewayConnectCommand.d.ts +1 -1
  86. package/dist-types/commands/CreateTransitGatewayConnectPeerCommand.d.ts +1 -1
  87. package/dist-types/commands/CreateTransitGatewayMulticastDomainCommand.d.ts +1 -1
  88. package/dist-types/commands/CreateTransitGatewayPeeringAttachmentCommand.d.ts +1 -1
  89. package/dist-types/commands/CreateTransitGatewayPolicyTableCommand.d.ts +1 -1
  90. package/dist-types/commands/CreateTransitGatewayRouteTableAnnouncementCommand.d.ts +1 -1
  91. package/dist-types/commands/CreateTransitGatewayRouteTableCommand.d.ts +1 -1
  92. package/dist-types/commands/CreateTransitGatewayVpcAttachmentCommand.d.ts +1 -1
  93. package/dist-types/commands/CreateVerifiedAccessEndpointCommand.d.ts +1 -1
  94. package/dist-types/commands/CreateVerifiedAccessGroupCommand.d.ts +1 -1
  95. package/dist-types/commands/CreateVerifiedAccessInstanceCommand.d.ts +1 -1
  96. package/dist-types/commands/CreateVerifiedAccessTrustProviderCommand.d.ts +1 -1
  97. package/dist-types/commands/CreateVolumeCommand.d.ts +1 -1
  98. package/dist-types/commands/CreateVpcBlockPublicAccessExclusionCommand.d.ts +1 -1
  99. package/dist-types/commands/CreateVpcCommand.d.ts +1 -1
  100. package/dist-types/commands/CreateVpcEndpointCommand.d.ts +1 -1
  101. package/dist-types/commands/CreateVpcEndpointServiceConfigurationCommand.d.ts +1 -1
  102. package/dist-types/commands/CreateVpcPeeringConnectionCommand.d.ts +1 -1
  103. package/dist-types/commands/CreateVpnConnectionCommand.d.ts +1 -1
  104. package/dist-types/commands/CreateVpnGatewayCommand.d.ts +1 -1
  105. package/dist-types/commands/DescribeCapacityBlockOfferingsCommand.d.ts +6 -2
  106. package/dist-types/commands/DescribeCapacityBlockStatusCommand.d.ts +102 -0
  107. package/dist-types/commands/DescribeCapacityBlocksCommand.d.ts +106 -0
  108. package/dist-types/commands/DescribeCapacityReservationsCommand.d.ts +2 -1
  109. package/dist-types/commands/DescribeCarrierGatewaysCommand.d.ts +2 -1
  110. package/dist-types/commands/DescribeClassicLinkInstancesCommand.d.ts +1 -1
  111. package/dist-types/commands/DescribeClientVpnAuthorizationRulesCommand.d.ts +1 -1
  112. package/dist-types/commands/DescribeClientVpnConnectionsCommand.d.ts +1 -2
  113. package/dist-types/commands/DescribeInstanceTopologyCommand.d.ts +14 -59
  114. package/dist-types/commands/DescribeInstancesCommand.d.ts +1 -0
  115. package/dist-types/commands/DescribeIpamResourceDiscoveryAssociationsCommand.d.ts +2 -1
  116. package/dist-types/commands/DescribeIpamScopesCommand.d.ts +1 -1
  117. package/dist-types/commands/DescribeIpamsCommand.d.ts +1 -1
  118. package/dist-types/commands/DescribeIpv6PoolsCommand.d.ts +1 -1
  119. package/dist-types/commands/DescribeLaunchTemplateVersionsCommand.d.ts +1 -1
  120. package/dist-types/commands/DescribeSecurityGroupVpcAssociationsCommand.d.ts +1 -0
  121. package/dist-types/commands/DescribeSpotFleetRequestsCommand.d.ts +2 -2
  122. package/dist-types/commands/DescribeTagsCommand.d.ts +1 -1
  123. package/dist-types/commands/DescribeVpcEndpointServiceConfigurationsCommand.d.ts +2 -1
  124. package/dist-types/commands/DescribeVpcEndpointServicePermissionsCommand.d.ts +1 -1
  125. package/dist-types/commands/DescribeVpcEndpointServicesCommand.d.ts +1 -1
  126. package/dist-types/commands/DescribeVpcPeeringConnectionsCommand.d.ts +1 -1
  127. package/dist-types/commands/DetachVolumeCommand.d.ts +3 -3
  128. package/dist-types/commands/ExportImageCommand.d.ts +1 -1
  129. package/dist-types/commands/GetCapacityReservationUsageCommand.d.ts +1 -1
  130. package/dist-types/commands/GetLaunchTemplateDataCommand.d.ts +1 -1
  131. package/dist-types/commands/GetSpotPlacementScoresCommand.d.ts +2 -1
  132. package/dist-types/commands/GetSubnetCidrReservationsCommand.d.ts +1 -1
  133. package/dist-types/commands/GetTransitGatewayAttachmentPropagationsCommand.d.ts +1 -1
  134. package/dist-types/commands/GetTransitGatewayMulticastDomainAssociationsCommand.d.ts +1 -2
  135. package/dist-types/commands/ImportImageCommand.d.ts +1 -1
  136. package/dist-types/commands/ImportKeyPairCommand.d.ts +1 -1
  137. package/dist-types/commands/ImportSnapshotCommand.d.ts +1 -1
  138. package/dist-types/commands/MoveCapacityReservationInstancesCommand.d.ts +4 -2
  139. package/dist-types/commands/ProvisionByoipCidrCommand.d.ts +1 -1
  140. package/dist-types/commands/PurchaseCapacityBlockCommand.d.ts +24 -2
  141. package/dist-types/commands/PurchaseHostReservationCommand.d.ts +1 -1
  142. package/dist-types/commands/RegisterImageCommand.d.ts +1 -1
  143. package/dist-types/commands/RejectTransitGatewayMulticastDomainAssociationsCommand.d.ts +1 -1
  144. package/dist-types/commands/RejectTransitGatewayPeeringAttachmentCommand.d.ts +1 -1
  145. package/dist-types/commands/RejectTransitGatewayVpcAttachmentCommand.d.ts +1 -1
  146. package/dist-types/commands/RejectVpcEndpointConnectionsCommand.d.ts +1 -1
  147. package/dist-types/commands/RejectVpcPeeringConnectionCommand.d.ts +1 -2
  148. package/dist-types/commands/RequestSpotFleetCommand.d.ts +2 -2
  149. package/dist-types/commands/RequestSpotInstancesCommand.d.ts +1 -1
  150. package/dist-types/commands/RunInstancesCommand.d.ts +2 -1
  151. package/dist-types/commands/StartDeclarativePoliciesReportCommand.d.ts +1 -1
  152. package/dist-types/commands/StartNetworkInsightsAccessScopeAnalysisCommand.d.ts +1 -1
  153. package/dist-types/commands/StartNetworkInsightsAnalysisCommand.d.ts +1 -1
  154. package/dist-types/commands/index.d.ts +2 -0
  155. package/dist-types/models/models_0.d.ts +7 -6
  156. package/dist-types/models/models_1.d.ts +14 -2
  157. package/dist-types/models/models_3.d.ts +329 -270
  158. package/dist-types/models/models_4.d.ts +288 -210
  159. package/dist-types/models/models_5.d.ts +217 -381
  160. package/dist-types/models/models_6.d.ts +381 -294
  161. package/dist-types/models/models_7.d.ts +301 -145
  162. package/dist-types/models/models_8.d.ts +141 -1
  163. package/dist-types/pagination/DescribeCapacityBlockStatusPaginator.d.ts +7 -0
  164. package/dist-types/pagination/DescribeCapacityBlocksPaginator.d.ts +7 -0
  165. package/dist-types/pagination/index.d.ts +3 -1
  166. package/dist-types/protocols/Aws_ec2.d.ts +18 -0
  167. package/dist-types/ts3.4/EC2.d.ts +36 -0
  168. package/dist-types/ts3.4/EC2Client.d.ts +12 -0
  169. package/dist-types/ts3.4/commands/DescribeCapacityBlockStatusCommand.d.ts +51 -0
  170. package/dist-types/ts3.4/commands/DescribeCapacityBlocksCommand.d.ts +51 -0
  171. package/dist-types/ts3.4/commands/DescribeCarrierGatewaysCommand.d.ts +2 -4
  172. package/dist-types/ts3.4/commands/DescribeClassicLinkInstancesCommand.d.ts +1 -1
  173. package/dist-types/ts3.4/commands/DescribeClientVpnAuthorizationRulesCommand.d.ts +1 -1
  174. package/dist-types/ts3.4/commands/DescribeClientVpnConnectionsCommand.d.ts +4 -2
  175. package/dist-types/ts3.4/commands/DescribeIpamResourceDiscoveryAssociationsCommand.d.ts +2 -4
  176. package/dist-types/ts3.4/commands/DescribeIpamScopesCommand.d.ts +1 -1
  177. package/dist-types/ts3.4/commands/DescribeIpamsCommand.d.ts +1 -1
  178. package/dist-types/ts3.4/commands/DescribeIpv6PoolsCommand.d.ts +1 -1
  179. package/dist-types/ts3.4/commands/DescribeVpcEndpointServiceConfigurationsCommand.d.ts +2 -4
  180. package/dist-types/ts3.4/commands/DescribeVpcEndpointServicePermissionsCommand.d.ts +1 -1
  181. package/dist-types/ts3.4/commands/DescribeVpcEndpointServicesCommand.d.ts +1 -1
  182. package/dist-types/ts3.4/commands/DescribeVpcPeeringConnectionsCommand.d.ts +1 -1
  183. package/dist-types/ts3.4/commands/GetSpotPlacementScoresCommand.d.ts +2 -4
  184. package/dist-types/ts3.4/commands/GetSubnetCidrReservationsCommand.d.ts +1 -1
  185. package/dist-types/ts3.4/commands/GetTransitGatewayAttachmentPropagationsCommand.d.ts +1 -1
  186. package/dist-types/ts3.4/commands/GetTransitGatewayMulticastDomainAssociationsCommand.d.ts +4 -2
  187. package/dist-types/ts3.4/commands/RejectTransitGatewayMulticastDomainAssociationsCommand.d.ts +1 -1
  188. package/dist-types/ts3.4/commands/RejectTransitGatewayPeeringAttachmentCommand.d.ts +1 -1
  189. package/dist-types/ts3.4/commands/RejectTransitGatewayVpcAttachmentCommand.d.ts +1 -1
  190. package/dist-types/ts3.4/commands/RejectVpcEndpointConnectionsCommand.d.ts +1 -1
  191. package/dist-types/ts3.4/commands/RejectVpcPeeringConnectionCommand.d.ts +4 -2
  192. package/dist-types/ts3.4/commands/index.d.ts +2 -0
  193. package/dist-types/ts3.4/models/models_0.d.ts +1 -0
  194. package/dist-types/ts3.4/models/models_1.d.ts +2 -0
  195. package/dist-types/ts3.4/models/models_3.d.ts +71 -57
  196. package/dist-types/ts3.4/models/models_4.d.ts +59 -52
  197. package/dist-types/ts3.4/models/models_5.d.ts +53 -72
  198. package/dist-types/ts3.4/models/models_6.d.ts +67 -54
  199. package/dist-types/ts3.4/models/models_7.d.ts +56 -38
  200. package/dist-types/ts3.4/models/models_8.d.ts +38 -0
  201. package/dist-types/ts3.4/pagination/DescribeCapacityBlockStatusPaginator.d.ts +11 -0
  202. package/dist-types/ts3.4/pagination/DescribeCapacityBlocksPaginator.d.ts +11 -0
  203. package/dist-types/ts3.4/pagination/index.d.ts +3 -1
  204. package/dist-types/ts3.4/protocols/Aws_ec2.d.ts +24 -0
  205. package/dist-types/ts3.4/waiters/index.d.ts +4 -2
  206. package/dist-types/ts3.4/waiters/waitForSecurityGroupVpcAssociationAssociated.d.ts +11 -0
  207. package/dist-types/ts3.4/waiters/waitForSecurityGroupVpcAssociationDisassociated.d.ts +11 -0
  208. package/dist-types/waiters/index.d.ts +4 -2
  209. package/dist-types/waiters/waitForSecurityGroupVpcAssociationAssociated.d.ts +14 -0
  210. package/dist-types/waiters/waitForSecurityGroupVpcAssociationDisassociated.d.ts +14 -0
  211. package/package.json +15 -15
@@ -1,7 +1,275 @@
1
- import { ActiveInstance, AllocationState, AllowsMultipleInstanceTypes, AssociationStatus, AttachmentStatus, AutoPlacement, CurrencyCodeValues, HostMaintenance, HostRecovery, IamInstanceProfile, IamInstanceProfileAssociation, InstanceEventWindow, IpamResourceDiscoveryAssociation, Tag } from "./models_0";
2
- import { _InstanceType, AmdSevSnpSpecification, AttributeValue, BlockDeviceMapping, CapacityReservationPreference, CapacityReservationTargetResponse, ClientVpnAuthenticationType, ClientVpnEndpointStatus, ClientVpnRouteStatus, CoipPool, CustomerGateway, DefaultTargetCapacityType, DestinationFileFormat, DhcpOptions, DiskImageFormat, Ec2InstanceConnectEndpoint, EgressOnlyInternetGateway, ExportTask, FleetCapacityReservationUsageStrategy, FleetExcessCapacityTerminationPolicy, FleetLaunchTemplateOverrides, FleetLaunchTemplateSpecification, FleetOnDemandAllocationStrategy, FleetReplacementStrategy, FleetType, HostnameType, InstanceBandwidthWeighting, InstanceLifecycle, InternetGateway, Ipam, IpamExternalResourceVerificationToken, IpamPool, IpamResourceDiscovery, IpamScope, LaunchTemplateAndOverridesResponse, LogDestinationType, OperatorResponse, Placement, PlatformValues, SpotAllocationStrategy, SpotInstanceInterruptionBehavior, TargetCapacityUnitType, TrafficType, TransportProtocol } from "./models_1";
1
+ import { ActiveInstance, AllocationState, AllowsMultipleInstanceTypes, AssociationStatus, AttachmentStatus, AutoPlacement, ClientVpnAuthorizationRuleStatus, CurrencyCodeValues, HostMaintenance, HostRecovery, IamInstanceProfile, IamInstanceProfileAssociation, InstanceEventWindow, Tag } from "./models_0";
2
+ import { _InstanceType, AmdSevSnpSpecification, AttributeValue, BlockDeviceMapping, CapacityReservationPreference, CapacityReservationTargetResponse, CarrierGateway, ClientVpnAuthenticationType, ClientVpnEndpointStatus, ClientVpnRouteStatus, CoipPool, CustomerGateway, DefaultTargetCapacityType, DestinationFileFormat, DhcpOptions, DiskImageFormat, Ec2InstanceConnectEndpoint, EgressOnlyInternetGateway, ExportTask, FleetCapacityReservationUsageStrategy, FleetExcessCapacityTerminationPolicy, FleetLaunchTemplateOverrides, FleetLaunchTemplateSpecification, FleetOnDemandAllocationStrategy, FleetReplacementStrategy, FleetType, HostnameType, InstanceBandwidthWeighting, InstanceLifecycle, InternetGateway, IpamExternalResourceVerificationToken, IpamPool, IpamResourceDiscovery, LaunchTemplateAndOverridesResponse, LogDestinationType, OperatorResponse, Placement, PlatformValues, SpotAllocationStrategy, SpotInstanceInterruptionBehavior, TargetCapacityUnitType, TrafficType, TransportProtocol } from "./models_1";
3
3
  import { GroupIdentifier, InstanceIpv6Address, NetworkInterfaceStatus, StateReason } from "./models_2";
4
- import { Byoasn, ClientVpnConnectionStatusCode, Filter, FleetStateCode, IdFormat, InstanceTagNotificationAttribute } from "./models_3";
4
+ import { Byoasn, Filter, FleetStateCode, IdFormat, InstanceTagNotificationAttribute } from "./models_3";
5
+ /**
6
+ * @public
7
+ */
8
+ export interface DescribeCarrierGatewaysResult {
9
+ /**
10
+ * <p>Information about the carrier gateway.</p>
11
+ * @public
12
+ */
13
+ CarrierGateways?: CarrierGateway[] | undefined;
14
+ /**
15
+ * <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>
16
+ * @public
17
+ */
18
+ NextToken?: string | undefined;
19
+ }
20
+ /**
21
+ * @public
22
+ */
23
+ export interface DescribeClassicLinkInstancesRequest {
24
+ /**
25
+ * <p>Checks whether you have the required permissions for the action, without actually making the request,
26
+ * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
27
+ * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
28
+ * @public
29
+ */
30
+ DryRun?: boolean | undefined;
31
+ /**
32
+ * <p>The instance IDs. Must be instances linked to a VPC through ClassicLink.</p>
33
+ * @public
34
+ */
35
+ InstanceIds?: string[] | undefined;
36
+ /**
37
+ * <p>The filters.</p>
38
+ * <ul>
39
+ * <li>
40
+ * <p>
41
+ * <code>group-id</code> - The ID of a VPC security group that's associated with the instance.</p>
42
+ * </li>
43
+ * <li>
44
+ * <p>
45
+ * <code>instance-id</code> - The ID of the instance.</p>
46
+ * </li>
47
+ * <li>
48
+ * <p>
49
+ * <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.
50
+ * 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>
51
+ * </li>
52
+ * <li>
53
+ * <p>
54
+ * <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>
55
+ * </li>
56
+ * <li>
57
+ * <p>
58
+ * <code>vpc-id</code> - The ID of the VPC to which the instance is linked.</p>
59
+ * </li>
60
+ * </ul>
61
+ * @public
62
+ */
63
+ Filters?: Filter[] | undefined;
64
+ /**
65
+ * <p>The token returned from a previous paginated request. Pagination continues from the end of the items returned by the previous request.</p>
66
+ * @public
67
+ */
68
+ NextToken?: string | undefined;
69
+ /**
70
+ * <p>The maximum number of items to return for this request.
71
+ * To get the next page of items, make another request with the token returned in the output.
72
+ * For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination">Pagination</a>.</p>
73
+ * <p>Constraint: If the value is greater than 1000, we return only 1000 items.</p>
74
+ * @public
75
+ */
76
+ MaxResults?: number | undefined;
77
+ }
78
+ /**
79
+ * <note>
80
+ * <p>Deprecated.</p>
81
+ * </note>
82
+ * <p>Describes a linked EC2-Classic instance.</p>
83
+ * @public
84
+ */
85
+ export interface ClassicLinkInstance {
86
+ /**
87
+ * <p>The security groups.</p>
88
+ * @public
89
+ */
90
+ Groups?: GroupIdentifier[] | undefined;
91
+ /**
92
+ * <p>The ID of the instance.</p>
93
+ * @public
94
+ */
95
+ InstanceId?: string | undefined;
96
+ /**
97
+ * <p>Any tags assigned to the instance.</p>
98
+ * @public
99
+ */
100
+ Tags?: Tag[] | undefined;
101
+ /**
102
+ * <p>The ID of the VPC.</p>
103
+ * @public
104
+ */
105
+ VpcId?: string | undefined;
106
+ }
107
+ /**
108
+ * @public
109
+ */
110
+ export interface DescribeClassicLinkInstancesResult {
111
+ /**
112
+ * <p>Information about one or more linked EC2-Classic instances.</p>
113
+ * @public
114
+ */
115
+ Instances?: ClassicLinkInstance[] | undefined;
116
+ /**
117
+ * <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>
118
+ * @public
119
+ */
120
+ NextToken?: string | undefined;
121
+ }
122
+ /**
123
+ * @public
124
+ */
125
+ export interface DescribeClientVpnAuthorizationRulesRequest {
126
+ /**
127
+ * <p>The ID of the Client VPN endpoint.</p>
128
+ * @public
129
+ */
130
+ ClientVpnEndpointId: string | undefined;
131
+ /**
132
+ * <p>Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.</p>
133
+ * @public
134
+ */
135
+ DryRun?: boolean | undefined;
136
+ /**
137
+ * <p>The token to retrieve the next page of results.</p>
138
+ * @public
139
+ */
140
+ NextToken?: string | undefined;
141
+ /**
142
+ * <p>One or more filters. Filter names and values are case-sensitive.</p>
143
+ * <ul>
144
+ * <li>
145
+ * <p>
146
+ * <code>description</code> - The description of the authorization rule.</p>
147
+ * </li>
148
+ * <li>
149
+ * <p>
150
+ * <code>destination-cidr</code> - The CIDR of the network to which the authorization rule
151
+ * applies.</p>
152
+ * </li>
153
+ * <li>
154
+ * <p>
155
+ * <code>group-id</code> - The ID of the Active Directory group to which the authorization rule grants access.</p>
156
+ * </li>
157
+ * </ul>
158
+ * @public
159
+ */
160
+ Filters?: Filter[] | undefined;
161
+ /**
162
+ * <p>The maximum number of results to return for the request in a single page. The remaining results can be seen by sending another request with the nextToken value.</p>
163
+ * @public
164
+ */
165
+ MaxResults?: number | undefined;
166
+ }
167
+ /**
168
+ * <p>Information about an authorization rule.</p>
169
+ * @public
170
+ */
171
+ export interface AuthorizationRule {
172
+ /**
173
+ * <p>The ID of the Client VPN endpoint with which the authorization rule is associated.</p>
174
+ * @public
175
+ */
176
+ ClientVpnEndpointId?: string | undefined;
177
+ /**
178
+ * <p>A brief description of the authorization rule.</p>
179
+ * @public
180
+ */
181
+ Description?: string | undefined;
182
+ /**
183
+ * <p>The ID of the Active Directory group to which the authorization rule grants access.</p>
184
+ * @public
185
+ */
186
+ GroupId?: string | undefined;
187
+ /**
188
+ * <p>Indicates whether the authorization rule grants access to all clients.</p>
189
+ * @public
190
+ */
191
+ AccessAll?: boolean | undefined;
192
+ /**
193
+ * <p>The IPv4 address range, in CIDR notation, of the network to which the authorization rule applies.</p>
194
+ * @public
195
+ */
196
+ DestinationCidr?: string | undefined;
197
+ /**
198
+ * <p>The current state of the authorization rule.</p>
199
+ * @public
200
+ */
201
+ Status?: ClientVpnAuthorizationRuleStatus | undefined;
202
+ }
203
+ /**
204
+ * @public
205
+ */
206
+ export interface DescribeClientVpnAuthorizationRulesResult {
207
+ /**
208
+ * <p>Information about the authorization rules.</p>
209
+ * @public
210
+ */
211
+ AuthorizationRules?: AuthorizationRule[] | undefined;
212
+ /**
213
+ * <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>
214
+ * @public
215
+ */
216
+ NextToken?: string | undefined;
217
+ }
218
+ /**
219
+ * @public
220
+ */
221
+ export interface DescribeClientVpnConnectionsRequest {
222
+ /**
223
+ * <p>The ID of the Client VPN endpoint.</p>
224
+ * @public
225
+ */
226
+ ClientVpnEndpointId: string | undefined;
227
+ /**
228
+ * <p>One or more filters. Filter names and values are case-sensitive.</p>
229
+ * <ul>
230
+ * <li>
231
+ * <p>
232
+ * <code>connection-id</code> - The ID of the connection.</p>
233
+ * </li>
234
+ * <li>
235
+ * <p>
236
+ * <code>username</code> - For Active Directory client authentication, the user name of the
237
+ * client who established the client connection.</p>
238
+ * </li>
239
+ * </ul>
240
+ * @public
241
+ */
242
+ Filters?: Filter[] | undefined;
243
+ /**
244
+ * <p>The token to retrieve the next page of results.</p>
245
+ * @public
246
+ */
247
+ NextToken?: string | undefined;
248
+ /**
249
+ * <p>The maximum number of results to return for the request in a single page. The remaining results can be seen by sending another request with the nextToken value.</p>
250
+ * @public
251
+ */
252
+ MaxResults?: number | undefined;
253
+ /**
254
+ * <p>Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.</p>
255
+ * @public
256
+ */
257
+ DryRun?: boolean | undefined;
258
+ }
259
+ /**
260
+ * @public
261
+ * @enum
262
+ */
263
+ export declare const ClientVpnConnectionStatusCode: {
264
+ readonly active: "active";
265
+ readonly failed_to_terminate: "failed-to-terminate";
266
+ readonly terminated: "terminated";
267
+ readonly terminating: "terminating";
268
+ };
269
+ /**
270
+ * @public
271
+ */
272
+ export type ClientVpnConnectionStatusCode = (typeof ClientVpnConnectionStatusCode)[keyof typeof ClientVpnConnectionStatusCode];
5
273
  /**
6
274
  * <p>Describes the status of a client connection.</p>
7
275
  * @public
@@ -5464,7 +5732,7 @@ export interface EbsInstanceBlockDevice {
5464
5732
  */
5465
5733
  VolumeId?: string | undefined;
5466
5734
  /**
5467
- * <p>The ARN of the Amazon ECS or Fargate task
5735
+ * <p>The ARN of the Amazon Web Services-managed resource
5468
5736
  * to which the volume is attached.</p>
5469
5737
  * @public
5470
5738
  */
@@ -5472,7 +5740,7 @@ export interface EbsInstanceBlockDevice {
5472
5740
  /**
5473
5741
  * <p>The ID of the Amazon Web Services account that owns the volume.</p>
5474
5742
  * <p>This parameter is returned only for volumes that are attached to
5475
- * Fargate tasks.</p>
5743
+ * Amazon Web Services-managed resources.</p>
5476
5744
  * @public
5477
5745
  */
5478
5746
  VolumeOwnerId?: string | undefined;
@@ -7824,6 +8092,15 @@ export interface Instance {
7824
8092
  * @public
7825
8093
  */
7826
8094
  CpuOptions?: CpuOptions | undefined;
8095
+ /**
8096
+ * <p>The ID of the Capacity Block.</p>
8097
+ * <note>
8098
+ * <p>For P5 instances, a Capacity Block ID refers to a group of instances. For Trn2u
8099
+ * instances, a capacity block ID refers to an EC2 UltraServer.</p>
8100
+ * </note>
8101
+ * @public
8102
+ */
8103
+ CapacityBlockId?: string | undefined;
7827
8104
  /**
7828
8105
  * <p>The ID of the Capacity Reservation.</p>
7829
8106
  * @public
@@ -8572,6 +8849,12 @@ export interface InstanceTopology {
8572
8849
  * @public
8573
8850
  */
8574
8851
  ZoneId?: string | undefined;
8852
+ /**
8853
+ * <p>The ID of the Capacity Block. This parameter is only supported for Ultraserver
8854
+ * instances and identifies instances within the Ultraserver domain.</p>
8855
+ * @public
8856
+ */
8857
+ CapacityBlockId?: string | undefined;
8575
8858
  }
8576
8859
  /**
8577
8860
  * @public
@@ -10429,211 +10712,6 @@ export interface DescribeIpamResourceDiscoveryAssociationsRequest {
10429
10712
  */
10430
10713
  Filters?: Filter[] | undefined;
10431
10714
  }
10432
- /**
10433
- * @public
10434
- */
10435
- export interface DescribeIpamResourceDiscoveryAssociationsResult {
10436
- /**
10437
- * <p>The resource discovery associations.</p>
10438
- * @public
10439
- */
10440
- IpamResourceDiscoveryAssociations?: IpamResourceDiscoveryAssociation[] | undefined;
10441
- /**
10442
- * <p>Specify the pagination token from a previous request to retrieve the next page of results.</p>
10443
- * @public
10444
- */
10445
- NextToken?: string | undefined;
10446
- }
10447
- /**
10448
- * @public
10449
- */
10450
- export interface DescribeIpamsRequest {
10451
- /**
10452
- * <p>A check for whether you have the required permissions for the action without actually making the request
10453
- * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
10454
- * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
10455
- * @public
10456
- */
10457
- DryRun?: boolean | undefined;
10458
- /**
10459
- * <p>One or more filters for the request. For more information about filtering, see <a href="https://docs.aws.amazon.com/cli/latest/userguide/cli-usage-filter.html">Filtering CLI output</a>.</p>
10460
- * @public
10461
- */
10462
- Filters?: Filter[] | undefined;
10463
- /**
10464
- * <p>The maximum number of results to return in the request.</p>
10465
- * @public
10466
- */
10467
- MaxResults?: number | undefined;
10468
- /**
10469
- * <p>The token for the next page of results.</p>
10470
- * @public
10471
- */
10472
- NextToken?: string | undefined;
10473
- /**
10474
- * <p>The IDs of the IPAMs you want information on.</p>
10475
- * @public
10476
- */
10477
- IpamIds?: string[] | undefined;
10478
- }
10479
- /**
10480
- * @public
10481
- */
10482
- export interface DescribeIpamsResult {
10483
- /**
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>
10485
- * @public
10486
- */
10487
- NextToken?: string | undefined;
10488
- /**
10489
- * <p>Information about the IPAMs.</p>
10490
- * @public
10491
- */
10492
- Ipams?: Ipam[] | undefined;
10493
- }
10494
- /**
10495
- * @public
10496
- */
10497
- export interface DescribeIpamScopesRequest {
10498
- /**
10499
- * <p>A check for whether you have the required permissions for the action without actually making the request
10500
- * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
10501
- * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
10502
- * @public
10503
- */
10504
- DryRun?: boolean | undefined;
10505
- /**
10506
- * <p>One or more filters for the request. For more information about filtering, see <a href="https://docs.aws.amazon.com/cli/latest/userguide/cli-usage-filter.html">Filtering CLI output</a>.</p>
10507
- * @public
10508
- */
10509
- Filters?: Filter[] | undefined;
10510
- /**
10511
- * <p>The maximum number of results to return in the request.</p>
10512
- * @public
10513
- */
10514
- MaxResults?: number | undefined;
10515
- /**
10516
- * <p>The token for the next page of results.</p>
10517
- * @public
10518
- */
10519
- NextToken?: string | undefined;
10520
- /**
10521
- * <p>The IDs of the scopes you want information on.</p>
10522
- * @public
10523
- */
10524
- IpamScopeIds?: string[] | undefined;
10525
- }
10526
- /**
10527
- * @public
10528
- */
10529
- export interface DescribeIpamScopesResult {
10530
- /**
10531
- * <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>
10532
- * @public
10533
- */
10534
- NextToken?: string | undefined;
10535
- /**
10536
- * <p>The scopes you want information on.</p>
10537
- * @public
10538
- */
10539
- IpamScopes?: IpamScope[] | undefined;
10540
- }
10541
- /**
10542
- * @public
10543
- */
10544
- export interface DescribeIpv6PoolsRequest {
10545
- /**
10546
- * <p>The IDs of the IPv6 address pools.</p>
10547
- * @public
10548
- */
10549
- PoolIds?: string[] | undefined;
10550
- /**
10551
- * <p>The token for the next page of results.</p>
10552
- * @public
10553
- */
10554
- NextToken?: string | undefined;
10555
- /**
10556
- * <p>The maximum number of results to return with a single call.
10557
- * To retrieve the remaining results, make another call with the returned <code>nextToken</code> value.</p>
10558
- * @public
10559
- */
10560
- MaxResults?: number | undefined;
10561
- /**
10562
- * <p>Checks whether you have the required permissions for the action, without actually making the request,
10563
- * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
10564
- * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
10565
- * @public
10566
- */
10567
- DryRun?: boolean | undefined;
10568
- /**
10569
- * <p>One or more filters.</p>
10570
- * <ul>
10571
- * <li>
10572
- * <p>
10573
- * <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.
10574
- * 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>
10575
- * </li>
10576
- * <li>
10577
- * <p>
10578
- * <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>
10579
- * </li>
10580
- * </ul>
10581
- * @public
10582
- */
10583
- Filters?: Filter[] | undefined;
10584
- }
10585
- /**
10586
- * <p>Describes a CIDR block for an address pool.</p>
10587
- * @public
10588
- */
10589
- export interface PoolCidrBlock {
10590
- /**
10591
- * <p>The CIDR block.</p>
10592
- * @public
10593
- */
10594
- Cidr?: string | undefined;
10595
- }
10596
- /**
10597
- * <p>Describes an IPv6 address pool.</p>
10598
- * @public
10599
- */
10600
- export interface Ipv6Pool {
10601
- /**
10602
- * <p>The ID of the address pool.</p>
10603
- * @public
10604
- */
10605
- PoolId?: string | undefined;
10606
- /**
10607
- * <p>The description for the address pool.</p>
10608
- * @public
10609
- */
10610
- Description?: string | undefined;
10611
- /**
10612
- * <p>The CIDR blocks for the address pool.</p>
10613
- * @public
10614
- */
10615
- PoolCidrBlocks?: PoolCidrBlock[] | undefined;
10616
- /**
10617
- * <p>Any tags for the address pool.</p>
10618
- * @public
10619
- */
10620
- Tags?: Tag[] | undefined;
10621
- }
10622
- /**
10623
- * @public
10624
- */
10625
- export interface DescribeIpv6PoolsResult {
10626
- /**
10627
- * <p>Information about the IPv6 address pools.</p>
10628
- * @public
10629
- */
10630
- Ipv6Pools?: Ipv6Pool[] | undefined;
10631
- /**
10632
- * <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>
10633
- * @public
10634
- */
10635
- NextToken?: string | undefined;
10636
- }
10637
10715
  /**
10638
10716
  * @internal
10639
10717
  */