@aws-sdk/client-ec2 3.750.0 → 3.757.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 (68) hide show
  1. package/dist-cjs/index.js +158 -23
  2. package/dist-es/models/models_1.js +9 -9
  3. package/dist-es/models/models_3.js +0 -5
  4. package/dist-es/models/models_4.js +5 -4
  5. package/dist-es/models/models_5.js +4 -0
  6. package/dist-es/protocols/Aws_ec2.js +139 -1
  7. package/dist-types/commands/CopyImageCommand.d.ts +1 -0
  8. package/dist-types/commands/CreateFleetCommand.d.ts +51 -0
  9. package/dist-types/commands/CreateLaunchTemplateCommand.d.ts +3 -3
  10. package/dist-types/commands/CreateLaunchTemplateVersionCommand.d.ts +1 -1
  11. package/dist-types/commands/CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationCommand.d.ts +2 -1
  12. package/dist-types/commands/CreateLocalGatewayRouteTableVpcAssociationCommand.d.ts +1 -2
  13. package/dist-types/commands/DeleteCarrierGatewayCommand.d.ts +1 -1
  14. package/dist-types/commands/DeleteClientVpnEndpointCommand.d.ts +1 -1
  15. package/dist-types/commands/DeleteFleetsCommand.d.ts +14 -12
  16. package/dist-types/commands/DeleteLaunchTemplateVersionsCommand.d.ts +1 -1
  17. package/dist-types/commands/DeregisterImageCommand.d.ts +2 -2
  18. package/dist-types/commands/DescribeFastSnapshotRestoresCommand.d.ts +2 -1
  19. package/dist-types/commands/DescribeFleetHistoryCommand.d.ts +1 -2
  20. package/dist-types/commands/DescribeFleetsCommand.d.ts +51 -0
  21. package/dist-types/commands/DescribeNetworkInterfacesCommand.d.ts +1 -1
  22. package/dist-types/commands/DescribeRegionsCommand.d.ts +2 -1
  23. package/dist-types/commands/DescribeReplaceRootVolumeTasksCommand.d.ts +1 -1
  24. package/dist-types/commands/DisassociateTrunkInterfaceCommand.d.ts +1 -1
  25. package/dist-types/commands/DisassociateVpcCidrBlockCommand.d.ts +1 -1
  26. package/dist-types/commands/EnableAddressTransferCommand.d.ts +1 -2
  27. package/dist-types/commands/ModifyFleetCommand.d.ts +17 -0
  28. package/dist-types/commands/ModifyInstanceCreditSpecificationCommand.d.ts +2 -1
  29. package/dist-types/commands/ModifyInstanceEventStartTimeCommand.d.ts +1 -1
  30. package/dist-types/commands/UnassignIpv6AddressesCommand.d.ts +1 -1
  31. package/dist-types/commands/UnassignPrivateIpAddressesCommand.d.ts +1 -1
  32. package/dist-types/commands/UnassignPrivateNatGatewayAddressCommand.d.ts +1 -1
  33. package/dist-types/models/models_0.d.ts +12 -0
  34. package/dist-types/models/models_1.d.ts +412 -191
  35. package/dist-types/models/models_2.d.ts +132 -55
  36. package/dist-types/models/models_3.d.ts +59 -244
  37. package/dist-types/models/models_4.d.ts +247 -106
  38. package/dist-types/models/models_5.d.ts +106 -101
  39. package/dist-types/models/models_6.d.ts +95 -91
  40. package/dist-types/models/models_7.d.ts +94 -109
  41. package/dist-types/models/models_8.d.ts +105 -1
  42. package/dist-types/ts3.4/commands/CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationCommand.d.ts +2 -4
  43. package/dist-types/ts3.4/commands/CreateLocalGatewayRouteTableVpcAssociationCommand.d.ts +4 -2
  44. package/dist-types/ts3.4/commands/DeleteCarrierGatewayCommand.d.ts +1 -1
  45. package/dist-types/ts3.4/commands/DeleteClientVpnEndpointCommand.d.ts +1 -1
  46. package/dist-types/ts3.4/commands/DeregisterImageCommand.d.ts +7 -2
  47. package/dist-types/ts3.4/commands/DescribeFastSnapshotRestoresCommand.d.ts +2 -4
  48. package/dist-types/ts3.4/commands/DescribeFleetHistoryCommand.d.ts +4 -2
  49. package/dist-types/ts3.4/commands/DescribeRegionsCommand.d.ts +2 -4
  50. package/dist-types/ts3.4/commands/DescribeReplaceRootVolumeTasksCommand.d.ts +1 -1
  51. package/dist-types/ts3.4/commands/DisassociateTrunkInterfaceCommand.d.ts +1 -1
  52. package/dist-types/ts3.4/commands/DisassociateVpcCidrBlockCommand.d.ts +1 -1
  53. package/dist-types/ts3.4/commands/EnableAddressTransferCommand.d.ts +4 -2
  54. package/dist-types/ts3.4/commands/ModifyInstanceCreditSpecificationCommand.d.ts +2 -4
  55. package/dist-types/ts3.4/commands/ModifyInstanceEventStartTimeCommand.d.ts +1 -1
  56. package/dist-types/ts3.4/commands/UnassignIpv6AddressesCommand.d.ts +1 -1
  57. package/dist-types/ts3.4/commands/UnassignPrivateIpAddressesCommand.d.ts +1 -1
  58. package/dist-types/ts3.4/commands/UnassignPrivateNatGatewayAddressCommand.d.ts +1 -1
  59. package/dist-types/ts3.4/models/models_0.d.ts +1 -0
  60. package/dist-types/ts3.4/models/models_1.d.ts +44 -41
  61. package/dist-types/ts3.4/models/models_2.d.ts +31 -17
  62. package/dist-types/ts3.4/models/models_3.d.ts +17 -31
  63. package/dist-types/ts3.4/models/models_4.d.ts +32 -29
  64. package/dist-types/ts3.4/models/models_5.d.ts +27 -26
  65. package/dist-types/ts3.4/models/models_6.d.ts +24 -26
  66. package/dist-types/ts3.4/models/models_7.d.ts +28 -26
  67. package/dist-types/ts3.4/models/models_8.d.ts +26 -1
  68. package/package.json +1 -1
@@ -1,7 +1,249 @@
1
1
  import { ActiveInstance, AllocationState, AllowsMultipleInstanceTypes, AlternatePathHint, AttachmentStatus, AutoPlacement, CurrencyCodeValues, Explanation, HostMaintenance, HostRecovery, IamInstanceProfile, IamInstanceProfileAssociation, InstanceEventWindow, IpamResourceDiscoveryAssociation, PathComponent, Tag } from "./models_0";
2
- import { _InstanceType, AmdSevSnpSpecification, AttributeValue, BlockDeviceMapping, CapacityReservationPreference, CapacityReservationTargetResponse, DefaultTargetCapacityType, DestinationFileFormat, Ec2InstanceConnectEndpoint, FleetCapacityReservationUsageStrategy, FleetExcessCapacityTerminationPolicy, FleetLaunchTemplateOverrides, FleetLaunchTemplateSpecification, FleetOnDemandAllocationStrategy, FleetReplacementStrategy, FleetType, HostnameType, InstanceBandwidthWeighting, InstanceIpv6Address, InstanceLifecycle, InternetGateway, Ipam, IpamExternalResourceVerificationToken, IpamPool, IpamResourceDiscovery, IpamScope, KeyType, LaunchTemplate, LaunchTemplateAndOverridesResponse, LaunchTemplateVersion, LocalGatewayRouteTable, LocalGatewayRouteTableVirtualInterfaceGroupAssociation, LocalGatewayRouteTableVpcAssociation, LogDestinationType, OperatorResponse, Placement, PlatformValues, SpotAllocationStrategy, SpotInstanceInterruptionBehavior, StateReason, TargetCapacityUnitType, TrafficType } from "./models_1";
3
- import { GroupIdentifier, ManagedPrefixList, NatGateway, NetworkAcl, NetworkInsightsAccessScope, NetworkInsightsPath, NetworkInterface, NetworkInterfaceAttachment, NetworkInterfacePermission, NetworkInterfaceStatus, PlacementGroup, ReplaceRootVolumeTask } from "./models_2";
4
- import { Byoasn, Filter, FleetStateCode, HistoryRecordEntry, IdFormat, InstanceTagNotificationAttribute } from "./models_3";
2
+ import { _InstanceType, AmdSevSnpSpecification, AttributeValue, BlockDeviceMapping, CapacityReservationPreference, CapacityReservationTargetResponse, DefaultTargetCapacityType, DestinationFileFormat, Ec2InstanceConnectEndpoint, FleetCapacityReservationUsageStrategy, FleetExcessCapacityTerminationPolicy, FleetLaunchTemplateOverrides, FleetLaunchTemplateSpecification, FleetOnDemandAllocationStrategy, FleetReplacementStrategy, FleetType, HostnameType, InstanceBandwidthWeighting, InstanceIpv6Address, InstanceLifecycle, InternetGateway, Ipam, IpamExternalResourceVerificationToken, IpamPool, IpamResourceDiscovery, IpamScope, KeyType, LaunchTemplate, LaunchTemplateAndOverridesResponse, LaunchTemplateVersion, LocalGatewayRouteTable, LogDestinationType, OperatorResponse, Placement, PlatformValues, SpotAllocationStrategy, SpotInstanceInterruptionBehavior, StateReason, TargetCapacityUnitType, TrafficType } from "./models_1";
3
+ import { GroupIdentifier, LocalGatewayRouteTableVirtualInterfaceGroupAssociation, LocalGatewayRouteTableVpcAssociation, ManagedPrefixList, NatGateway, NetworkAcl, NetworkInsightsAccessScope, NetworkInsightsPath, NetworkInterface, NetworkInterfaceAttachment, NetworkInterfacePermission, NetworkInterfaceStatus, PlacementGroup } from "./models_2";
4
+ import { Byoasn, DescribeFastSnapshotRestoreSuccessItem, Filter, FleetStateCode, IdFormat, InstanceTagNotificationAttribute } from "./models_3";
5
+ /**
6
+ * @public
7
+ */
8
+ export interface DescribeFastSnapshotRestoresResult {
9
+ /**
10
+ * <p>Information about the state of fast snapshot restores.</p>
11
+ * @public
12
+ */
13
+ FastSnapshotRestores?: DescribeFastSnapshotRestoreSuccessItem[] | undefined;
14
+ /**
15
+ * <p>The token to include in another request to get the next page of items.
16
+ * This value is <code>null</code> when there are no more items to return.</p>
17
+ * @public
18
+ */
19
+ NextToken?: string | undefined;
20
+ }
21
+ /**
22
+ * @public
23
+ * @enum
24
+ */
25
+ export declare const FleetEventType: {
26
+ readonly FLEET_CHANGE: "fleet-change";
27
+ readonly INSTANCE_CHANGE: "instance-change";
28
+ readonly SERVICE_ERROR: "service-error";
29
+ };
30
+ /**
31
+ * @public
32
+ */
33
+ export type FleetEventType = (typeof FleetEventType)[keyof typeof FleetEventType];
34
+ /**
35
+ * @public
36
+ */
37
+ export interface DescribeFleetHistoryRequest {
38
+ /**
39
+ * <p>Checks whether you have the required permissions for the action, without actually making the request,
40
+ * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
41
+ * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
42
+ * @public
43
+ */
44
+ DryRun?: boolean | undefined;
45
+ /**
46
+ * <p>The type of events to describe. By default, all events are described.</p>
47
+ * @public
48
+ */
49
+ EventType?: FleetEventType | undefined;
50
+ /**
51
+ * <p>The maximum number of items to return for this request.
52
+ * To get the next page of items, make another request with the token returned in the output.
53
+ * For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination">Pagination</a>.</p>
54
+ * @public
55
+ */
56
+ MaxResults?: number | undefined;
57
+ /**
58
+ * <p>The token returned from a previous paginated request. Pagination continues from the end of the items returned by the previous request.</p>
59
+ * @public
60
+ */
61
+ NextToken?: string | undefined;
62
+ /**
63
+ * <p>The ID of the EC2 Fleet.</p>
64
+ * @public
65
+ */
66
+ FleetId: string | undefined;
67
+ /**
68
+ * <p>The start date and time for the events, in UTC format (for example,
69
+ * <i>YYYY</i>-<i>MM</i>-<i>DD</i>T<i>HH</i>:<i>MM</i>:<i>SS</i>Z).</p>
70
+ * @public
71
+ */
72
+ StartTime: Date | undefined;
73
+ }
74
+ /**
75
+ * <p>Describes an EC2 Fleet or Spot Fleet event.</p>
76
+ * @public
77
+ */
78
+ export interface EventInformation {
79
+ /**
80
+ * <p>The description of the event.</p>
81
+ * @public
82
+ */
83
+ EventDescription?: string | undefined;
84
+ /**
85
+ * <p>The event.</p>
86
+ * <p>
87
+ * <code>error</code> events:</p>
88
+ * <ul>
89
+ * <li>
90
+ * <p>
91
+ * <code>iamFleetRoleInvalid</code> - The EC2 Fleet or Spot Fleet does not have the required
92
+ * permissions either to launch or terminate an instance.</p>
93
+ * </li>
94
+ * <li>
95
+ * <p>
96
+ * <code>allLaunchSpecsTemporarilyBlacklisted</code> - None of the configurations
97
+ * are valid, and several attempts to launch instances have failed. For more
98
+ * information, see the description of the event.</p>
99
+ * </li>
100
+ * <li>
101
+ * <p>
102
+ * <code>spotInstanceCountLimitExceeded</code> - You've reached the limit on the
103
+ * number of Spot Instances that you can launch.</p>
104
+ * </li>
105
+ * <li>
106
+ * <p>
107
+ * <code>spotFleetRequestConfigurationInvalid</code> - The configuration is not
108
+ * valid. For more information, see the description of the event.</p>
109
+ * </li>
110
+ * </ul>
111
+ * <p>
112
+ * <code>fleetRequestChange</code> events:</p>
113
+ * <ul>
114
+ * <li>
115
+ * <p>
116
+ * <code>active</code> - The EC2 Fleet or Spot Fleet request has been validated and Amazon EC2 is
117
+ * attempting to maintain the target number of running instances.</p>
118
+ * </li>
119
+ * <li>
120
+ * <p>
121
+ * <code>deleted</code> (EC2 Fleet) / <code>cancelled</code> (Spot Fleet) - The EC2 Fleet is deleted or the Spot Fleet request is canceled and has no running
122
+ * instances. The EC2 Fleet or Spot Fleet will be deleted two days after its instances are
123
+ * terminated.</p>
124
+ * </li>
125
+ * <li>
126
+ * <p>
127
+ * <code>deleted_running</code> (EC2 Fleet) / <code>cancelled_running</code> (Spot Fleet) - The EC2 Fleet is deleted or the Spot Fleet request is canceled and does
128
+ * not launch additional instances. Its existing instances continue to run until
129
+ * they are interrupted or terminated. The request remains in this state until all
130
+ * instances are interrupted or terminated.</p>
131
+ * </li>
132
+ * <li>
133
+ * <p>
134
+ * <code>deleted_terminating</code> (EC2 Fleet) / <code>cancelled_terminating</code> (Spot Fleet) - The EC2 Fleet is deleted or the Spot Fleet request is canceled and
135
+ * its instances are terminating. The request remains in this state until all
136
+ * instances are terminated.</p>
137
+ * </li>
138
+ * <li>
139
+ * <p>
140
+ * <code>expired</code> - The EC2 Fleet or Spot Fleet request has expired. If the request was
141
+ * created with <code>TerminateInstancesWithExpiration</code> set, a subsequent
142
+ * <code>terminated</code> event indicates that the instances are
143
+ * terminated.</p>
144
+ * </li>
145
+ * <li>
146
+ * <p>
147
+ * <code>modify_in_progress</code> - The EC2 Fleet or Spot Fleet request is being modified.
148
+ * The request remains in this state until the modification is fully
149
+ * processed.</p>
150
+ * </li>
151
+ * <li>
152
+ * <p>
153
+ * <code>modify_succeeded</code> - The EC2 Fleet or Spot Fleet request was modified.</p>
154
+ * </li>
155
+ * <li>
156
+ * <p>
157
+ * <code>submitted</code> - The EC2 Fleet or Spot Fleet request is being evaluated and Amazon EC2
158
+ * is preparing to launch the target number of instances.</p>
159
+ * </li>
160
+ * <li>
161
+ * <p>
162
+ * <code>progress</code> - The EC2 Fleet or Spot Fleet request is in the process of being fulfilled.</p>
163
+ * </li>
164
+ * </ul>
165
+ * <p>
166
+ * <code>instanceChange</code> events:</p>
167
+ * <ul>
168
+ * <li>
169
+ * <p>
170
+ * <code>launched</code> - A new instance was launched.</p>
171
+ * </li>
172
+ * <li>
173
+ * <p>
174
+ * <code>terminated</code> - An instance was terminated by the user.</p>
175
+ * </li>
176
+ * <li>
177
+ * <p>
178
+ * <code>termination_notified</code> - An instance termination notification was
179
+ * sent when a Spot Instance was terminated by Amazon EC2 during scale-down, when the target
180
+ * capacity of the fleet was modified down, for example, from a target capacity of
181
+ * 4 to a target capacity of 3.</p>
182
+ * </li>
183
+ * </ul>
184
+ * <p>
185
+ * <code>Information</code> events:</p>
186
+ * <ul>
187
+ * <li>
188
+ * <p>
189
+ * <code>fleetProgressHalted</code> - The price in every launch specification is
190
+ * not valid because it is below the Spot price (all the launch specifications have
191
+ * produced <code>launchSpecUnusable</code> events). A launch specification might
192
+ * become valid if the Spot price changes.</p>
193
+ * </li>
194
+ * <li>
195
+ * <p>
196
+ * <code>launchSpecTemporarilyBlacklisted</code> - The configuration is not valid
197
+ * and several attempts to launch instances have failed. For more information, see
198
+ * the description of the event.</p>
199
+ * </li>
200
+ * <li>
201
+ * <p>
202
+ * <code>launchSpecUnusable</code> - The price specified in a launch specification
203
+ * is not valid because it is below the Spot price for the requested Spot pools.</p>
204
+ * <p>Note: Even if a fleet with the <code>maintain</code> request type is in the process
205
+ * of being canceled, it may still publish a <code>launchSpecUnusable</code> event. This
206
+ * does not mean that the canceled fleet is attempting to launch a new instance.</p>
207
+ * </li>
208
+ * <li>
209
+ * <p>
210
+ * <code>registerWithLoadBalancersFailed</code> - An attempt to register
211
+ * instances with load balancers failed. For more information, see the description
212
+ * of the event.</p>
213
+ * </li>
214
+ * </ul>
215
+ * @public
216
+ */
217
+ EventSubType?: string | undefined;
218
+ /**
219
+ * <p>The ID of the instance. This information is available only for
220
+ * <code>instanceChange</code> events.</p>
221
+ * @public
222
+ */
223
+ InstanceId?: string | undefined;
224
+ }
225
+ /**
226
+ * <p>Describes an event in the history of an EC2 Fleet.</p>
227
+ * @public
228
+ */
229
+ export interface HistoryRecordEntry {
230
+ /**
231
+ * <p>Information about the event.</p>
232
+ * @public
233
+ */
234
+ EventInformation?: EventInformation | undefined;
235
+ /**
236
+ * <p>The event type.</p>
237
+ * @public
238
+ */
239
+ EventType?: FleetEventType | undefined;
240
+ /**
241
+ * <p>The date and time of the event, in UTC format (for example,
242
+ * <i>YYYY</i>-<i>MM</i>-<i>DD</i>T<i>HH</i>:<i>MM</i>:<i>SS</i>Z).</p>
243
+ * @public
244
+ */
245
+ Timestamp?: Date | undefined;
246
+ }
5
247
  /**
6
248
  * @public
7
249
  */
@@ -8664,8 +8906,8 @@ export interface DescribeLaunchTemplateVersionsRequest {
8664
8906
  * the AMI ID is displayed in the response for <code>imageId</code>.</p>
8665
8907
  * <p>If <code>false</code>, and if a Systems Manager parameter is specified for <code>ImageId</code>,
8666
8908
  * the parameter is displayed in the response for <code>imageId</code>.</p>
8667
- * <p> For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-launch-templates.html#use-an-ssm-parameter-instead-of-an-ami-id">Use a Systems
8668
- * Manager parameter instead of an AMI ID</a> in the <i>Amazon EC2 User Guide</i>.</p>
8909
+ * <p>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/create-launch-template.html#use-an-ssm-parameter-instead-of-an-ami-id">Use a Systems Manager parameter instead of an AMI ID</a> in the
8910
+ * <i>Amazon EC2 User Guide</i>.</p>
8669
8911
  * <p>Default: <code>false</code>
8670
8912
  * </p>
8671
8913
  * @public
@@ -11049,107 +11291,6 @@ export interface DescribeRegionsRequest {
11049
11291
  */
11050
11292
  Filters?: Filter[] | undefined;
11051
11293
  }
11052
- /**
11053
- * <p>Describes a Region.</p>
11054
- * @public
11055
- */
11056
- export interface Region {
11057
- /**
11058
- * <p>The Region opt-in status. The possible values are <code>opt-in-not-required</code>, <code>opted-in</code>, and
11059
- * <code>not-opted-in</code>.</p>
11060
- * @public
11061
- */
11062
- OptInStatus?: string | undefined;
11063
- /**
11064
- * <p>The name of the Region.</p>
11065
- * @public
11066
- */
11067
- RegionName?: string | undefined;
11068
- /**
11069
- * <p>The Region service endpoint.</p>
11070
- * @public
11071
- */
11072
- Endpoint?: string | undefined;
11073
- }
11074
- /**
11075
- * @public
11076
- */
11077
- export interface DescribeRegionsResult {
11078
- /**
11079
- * <p>Information about the Regions.</p>
11080
- * @public
11081
- */
11082
- Regions?: Region[] | undefined;
11083
- }
11084
- /**
11085
- * @public
11086
- */
11087
- export interface DescribeReplaceRootVolumeTasksRequest {
11088
- /**
11089
- * <p>The ID of the root volume replacement task to view.</p>
11090
- * @public
11091
- */
11092
- ReplaceRootVolumeTaskIds?: string[] | undefined;
11093
- /**
11094
- * <p>Filter to use:</p>
11095
- * <ul>
11096
- * <li>
11097
- * <p>
11098
- * <code>instance-id</code> - The ID of the instance for which the root volume replacement task was created.</p>
11099
- * </li>
11100
- * </ul>
11101
- * @public
11102
- */
11103
- Filters?: Filter[] | undefined;
11104
- /**
11105
- * <p>The maximum number of items to return for this request.
11106
- * To get the next page of items, make another request with the token returned in the output.
11107
- * For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination">Pagination</a>.</p>
11108
- * @public
11109
- */
11110
- MaxResults?: number | undefined;
11111
- /**
11112
- * <p>The token returned from a previous paginated request.
11113
- * Pagination continues from the end of the items returned by the previous request.</p>
11114
- * @public
11115
- */
11116
- NextToken?: string | undefined;
11117
- /**
11118
- * <p>Checks whether you have the required permissions for the action, without actually making the request,
11119
- * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
11120
- * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
11121
- * @public
11122
- */
11123
- DryRun?: boolean | undefined;
11124
- }
11125
- /**
11126
- * @public
11127
- */
11128
- export interface DescribeReplaceRootVolumeTasksResult {
11129
- /**
11130
- * <p>Information about the root volume replacement task.</p>
11131
- * @public
11132
- */
11133
- ReplaceRootVolumeTasks?: ReplaceRootVolumeTask[] | undefined;
11134
- /**
11135
- * <p>The token to include in another request to get the next page of items.
11136
- * This value is <code>null</code> when there are no more items to return.</p>
11137
- * @public
11138
- */
11139
- NextToken?: string | undefined;
11140
- }
11141
- /**
11142
- * @public
11143
- * @enum
11144
- */
11145
- export declare const OfferingClassType: {
11146
- readonly CONVERTIBLE: "convertible";
11147
- readonly STANDARD: "standard";
11148
- };
11149
- /**
11150
- * @public
11151
- */
11152
- export type OfferingClassType = (typeof OfferingClassType)[keyof typeof OfferingClassType];
11153
11294
  /**
11154
11295
  * @internal
11155
11296
  */
@@ -1,8 +1,109 @@
1
- import { ActiveInstance, ActivityStatus, AddressTransfer, AllocationStrategy, AllowedImagesSettingsDisabledState, AllowedPrincipal, AsnAssociation, AssociationStatus, BatchState, CurrencyCodeValues, IamInstanceProfileAssociation, IamInstanceProfileSpecification, InstanceEventWindow, IpamResourceDiscoveryAssociation, IpPermission, NatGatewayAddress, ReservedInstancesListing, ResourceType, SecurityGroupRule, SecurityGroupVpcAssociationState, SubnetIpv6CidrBlockAssociation, Tag, TagSpecification, TransitGatewayAssociation, TransitGatewayAssociationState, TransitGatewayAttachmentResourceType, TransitGatewayAttachmentState, TransitGatewayMulticastDomainAssociations, TransitGatewayPeeringAttachment, TransitGatewayPolicyTableAssociation, TransitGatewayVpcAttachment, TrunkInterfaceAssociation, UserIdGroupPair, VerifiedAccessInstance, VerifiedAccessTrustProvider, VpcCidrBlockAssociation, VpcIpv6CidrBlockAssociation, VpcPeeringConnection } from "./models_0";
1
+ import { ActiveInstance, ActivityStatus, AddressTransfer, AllocationStrategy, AllowedImagesSettingsDisabledState, AllowedPrincipal, AsnAssociation, AssociationStatus, BatchState, CurrencyCodeValues, IamInstanceProfileAssociation, IamInstanceProfileSpecification, InstanceEventWindow, IpamResourceDiscoveryAssociation, IpPermission, NatGatewayAddress, ReservedInstancesListing, ResourceType, SecurityGroupRule, SecurityGroupVpcAssociationState, SubnetIpv6CidrBlockAssociation, Tag, TagSpecification, TransitGatewayAssociation, TransitGatewayAssociationState, TransitGatewayAttachmentResourceType, TransitGatewayAttachmentState, TransitGatewayMulticastDomainAssociations, TransitGatewayPeeringAttachment, TransitGatewayPolicyTableAssociation, TransitGatewayVpcAttachment, TrunkInterfaceAssociation, UserIdGroupPair, VerifiedAccessInstance, VerifiedAccessTrustProvider, VpcPeeringConnection } from "./models_0";
2
2
  import { _InstanceType, BlockDeviceMapping, ConnectionTrackingSpecificationRequest, EnaSrdSpecificationRequest, FleetLaunchTemplateSpecification, FleetType, InstanceInterruptionBehavior, InstanceIpv6Address, InstanceRequirements, Ipv4PrefixSpecificationRequest, Ipv6PrefixSpecificationRequest, PrivateIpAddressSpecification, SpotInstanceType, Subnet, TargetCapacityUnitType, Tenancy, VolumeType, Vpc } from "./models_1";
3
- import { ConnectionNotification, DnsEntry, DnsNameState, GroupIdentifier, IpAddressType, PayerResponsibility, RouteTable, ServiceConfiguration, ServiceConnectivityType, ServiceTypeDetail, Snapshot, SnapshotState, SpotDatafeedSubscription, SpotInstanceStateFault, State, StorageTier, TrafficMirrorFilter, TrafficMirrorFilterRule, TrafficMirrorSession, TrafficMirrorTarget, TransitGateway, TransitGatewayConnect, TransitGatewayConnectPeer, TransitGatewayMulticastDomain, TransitGatewayPolicyTable, TransitGatewayRouteTable, TransitGatewayRouteTableAnnouncement, VerifiedAccessEndpoint, VerifiedAccessGroup, Volume, VpcBlockPublicAccessExclusion, VpcEndpoint, VpnConnection, VpnGateway } from "./models_2";
4
- import { EventInformation, FastLaunchLaunchTemplateSpecificationResponse, FastLaunchResourceType, FastLaunchSnapshotConfigurationResponse, FastLaunchStateCode, FastSnapshotRestoreStateCode, Filter, MetricType, StatisticType } from "./models_3";
5
- import { AttributeBooleanValue, OfferingClassType, PermissionGroup, ProductCode } from "./models_4";
3
+ import { ConnectionNotification, DnsEntry, DnsNameState, GroupIdentifier, IpAddressType, PayerResponsibility, ReplaceRootVolumeTask, RouteTable, ServiceConfiguration, ServiceConnectivityType, ServiceTypeDetail, Snapshot, SnapshotState, SpotDatafeedSubscription, SpotInstanceStateFault, State, StorageTier, TrafficMirrorFilter, TrafficMirrorFilterRule, TrafficMirrorSession, TrafficMirrorTarget, TransitGateway, TransitGatewayConnect, TransitGatewayConnectPeer, TransitGatewayMulticastDomain, TransitGatewayPolicyTable, TransitGatewayRouteTable, TransitGatewayRouteTableAnnouncement, VerifiedAccessEndpoint, VerifiedAccessGroup, Volume, VpcBlockPublicAccessExclusion, VpcEndpoint, VpnConnection, VpnGateway } from "./models_2";
4
+ import { FastLaunchLaunchTemplateSpecificationResponse, FastLaunchResourceType, FastLaunchSnapshotConfigurationResponse, FastLaunchStateCode, FastSnapshotRestoreStateCode, Filter, MetricType, StatisticType } from "./models_3";
5
+ import { AttributeBooleanValue, EventInformation, PermissionGroup, ProductCode } from "./models_4";
6
+ /**
7
+ * <p>Describes a Region.</p>
8
+ * @public
9
+ */
10
+ export interface Region {
11
+ /**
12
+ * <p>The Region opt-in status. The possible values are <code>opt-in-not-required</code>, <code>opted-in</code>, and
13
+ * <code>not-opted-in</code>.</p>
14
+ * @public
15
+ */
16
+ OptInStatus?: string | undefined;
17
+ /**
18
+ * <p>The name of the Region.</p>
19
+ * @public
20
+ */
21
+ RegionName?: string | undefined;
22
+ /**
23
+ * <p>The Region service endpoint.</p>
24
+ * @public
25
+ */
26
+ Endpoint?: string | undefined;
27
+ }
28
+ /**
29
+ * @public
30
+ */
31
+ export interface DescribeRegionsResult {
32
+ /**
33
+ * <p>Information about the Regions.</p>
34
+ * @public
35
+ */
36
+ Regions?: Region[] | undefined;
37
+ }
38
+ /**
39
+ * @public
40
+ */
41
+ export interface DescribeReplaceRootVolumeTasksRequest {
42
+ /**
43
+ * <p>The ID of the root volume replacement task to view.</p>
44
+ * @public
45
+ */
46
+ ReplaceRootVolumeTaskIds?: string[] | undefined;
47
+ /**
48
+ * <p>Filter to use:</p>
49
+ * <ul>
50
+ * <li>
51
+ * <p>
52
+ * <code>instance-id</code> - The ID of the instance for which the root volume replacement task was created.</p>
53
+ * </li>
54
+ * </ul>
55
+ * @public
56
+ */
57
+ Filters?: Filter[] | undefined;
58
+ /**
59
+ * <p>The maximum number of items to return for this request.
60
+ * To get the next page of items, make another request with the token returned in the output.
61
+ * For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination">Pagination</a>.</p>
62
+ * @public
63
+ */
64
+ MaxResults?: number | undefined;
65
+ /**
66
+ * <p>The token returned from a previous paginated request.
67
+ * Pagination continues from the end of the items returned by the previous request.</p>
68
+ * @public
69
+ */
70
+ NextToken?: string | undefined;
71
+ /**
72
+ * <p>Checks whether you have the required permissions for the action, without actually making the request,
73
+ * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
74
+ * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
75
+ * @public
76
+ */
77
+ DryRun?: boolean | undefined;
78
+ }
79
+ /**
80
+ * @public
81
+ */
82
+ export interface DescribeReplaceRootVolumeTasksResult {
83
+ /**
84
+ * <p>Information about the root volume replacement task.</p>
85
+ * @public
86
+ */
87
+ ReplaceRootVolumeTasks?: ReplaceRootVolumeTask[] | undefined;
88
+ /**
89
+ * <p>The token to include in another request to get the next page of items.
90
+ * This value is <code>null</code> when there are no more items to return.</p>
91
+ * @public
92
+ */
93
+ NextToken?: string | undefined;
94
+ }
95
+ /**
96
+ * @public
97
+ * @enum
98
+ */
99
+ export declare const OfferingClassType: {
100
+ readonly CONVERTIBLE: "convertible";
101
+ readonly STANDARD: "standard";
102
+ };
103
+ /**
104
+ * @public
105
+ */
106
+ export type OfferingClassType = (typeof OfferingClassType)[keyof typeof OfferingClassType];
6
107
  /**
7
108
  * @public
8
109
  * @enum
@@ -1420,10 +1521,7 @@ export interface SecurityGroupReference {
1420
1521
  */
1421
1522
  VpcPeeringConnectionId?: string | undefined;
1422
1523
  /**
1423
- * <note>
1424
- * <p>This parameter is in preview and may not be available for your account.</p>
1425
- * </note>
1426
- * <p>The ID of the transit gateway (if applicable).</p>
1524
+ * <p>The ID of the transit gateway (if applicable).</p>
1427
1525
  * @public
1428
1526
  */
1429
1527
  TransitGatewayId?: string | undefined;
@@ -9784,99 +9882,6 @@ export interface DisassociateTransitGatewayRouteTableResult {
9784
9882
  */
9785
9883
  Association?: TransitGatewayAssociation | undefined;
9786
9884
  }
9787
- /**
9788
- * @public
9789
- */
9790
- export interface DisassociateTrunkInterfaceRequest {
9791
- /**
9792
- * <p>The ID of the association</p>
9793
- * @public
9794
- */
9795
- AssociationId: string | undefined;
9796
- /**
9797
- * <p>Unique, case-sensitive identifier that you provide to ensure the idempotency of the
9798
- * request. For more information, see <a href="https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html">Ensuring
9799
- * idempotency</a>.</p>
9800
- * @public
9801
- */
9802
- ClientToken?: string | undefined;
9803
- /**
9804
- * <p>Checks whether you have the required permissions for the action, without actually making the request,
9805
- * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
9806
- * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
9807
- * @public
9808
- */
9809
- DryRun?: boolean | undefined;
9810
- }
9811
- /**
9812
- * @public
9813
- */
9814
- export interface DisassociateTrunkInterfaceResult {
9815
- /**
9816
- * <p>Returns <code>true</code> if the request succeeds; otherwise, it returns an error.</p>
9817
- * @public
9818
- */
9819
- Return?: boolean | undefined;
9820
- /**
9821
- * <p>Unique, case-sensitive identifier that you provide to ensure the idempotency of the
9822
- * request. For more information, see <a href="https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html">Ensuring
9823
- * idempotency</a>.</p>
9824
- * @public
9825
- */
9826
- ClientToken?: string | undefined;
9827
- }
9828
- /**
9829
- * @public
9830
- */
9831
- export interface DisassociateVpcCidrBlockRequest {
9832
- /**
9833
- * <p>The association ID for the CIDR block.</p>
9834
- * @public
9835
- */
9836
- AssociationId: string | undefined;
9837
- }
9838
- /**
9839
- * @public
9840
- */
9841
- export interface DisassociateVpcCidrBlockResult {
9842
- /**
9843
- * <p>Information about the IPv6 CIDR block association.</p>
9844
- * @public
9845
- */
9846
- Ipv6CidrBlockAssociation?: VpcIpv6CidrBlockAssociation | undefined;
9847
- /**
9848
- * <p>Information about the IPv4 CIDR block association.</p>
9849
- * @public
9850
- */
9851
- CidrBlockAssociation?: VpcCidrBlockAssociation | undefined;
9852
- /**
9853
- * <p>The ID of the VPC.</p>
9854
- * @public
9855
- */
9856
- VpcId?: string | undefined;
9857
- }
9858
- /**
9859
- * @public
9860
- */
9861
- export interface EnableAddressTransferRequest {
9862
- /**
9863
- * <p>The allocation ID of an Elastic IP address.</p>
9864
- * @public
9865
- */
9866
- AllocationId: string | undefined;
9867
- /**
9868
- * <p>The ID of the account that you want to transfer the Elastic IP address to.</p>
9869
- * @public
9870
- */
9871
- TransferAccountId: string | undefined;
9872
- /**
9873
- * <p>Checks whether you have the required permissions for the action, without actually making the request,
9874
- * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
9875
- * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
9876
- * @public
9877
- */
9878
- DryRun?: boolean | undefined;
9879
- }
9880
9885
  /**
9881
9886
  * @internal
9882
9887
  */