@aws-sdk/client-ec2 3.756.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.
- package/dist-cjs/index.js +154 -23
- package/dist-es/models/models_1.js +9 -9
- package/dist-es/models/models_3.js +0 -5
- package/dist-es/models/models_4.js +5 -4
- package/dist-es/models/models_5.js +4 -0
- package/dist-es/protocols/Aws_ec2.js +135 -1
- package/dist-types/commands/CreateFleetCommand.d.ts +51 -0
- package/dist-types/commands/CreateLaunchTemplateCommand.d.ts +3 -3
- package/dist-types/commands/CreateLaunchTemplateVersionCommand.d.ts +1 -1
- package/dist-types/commands/CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationCommand.d.ts +2 -1
- package/dist-types/commands/CreateLocalGatewayRouteTableVpcAssociationCommand.d.ts +1 -2
- package/dist-types/commands/DeleteCarrierGatewayCommand.d.ts +1 -1
- package/dist-types/commands/DeleteClientVpnEndpointCommand.d.ts +1 -1
- package/dist-types/commands/DeleteFleetsCommand.d.ts +14 -12
- package/dist-types/commands/DeleteLaunchTemplateVersionsCommand.d.ts +1 -1
- package/dist-types/commands/DeregisterImageCommand.d.ts +2 -2
- package/dist-types/commands/DescribeFastSnapshotRestoresCommand.d.ts +2 -1
- package/dist-types/commands/DescribeFleetHistoryCommand.d.ts +1 -2
- package/dist-types/commands/DescribeFleetsCommand.d.ts +51 -0
- package/dist-types/commands/DescribeNetworkInterfacesCommand.d.ts +1 -1
- package/dist-types/commands/DescribeRegionsCommand.d.ts +2 -1
- package/dist-types/commands/DescribeReplaceRootVolumeTasksCommand.d.ts +1 -1
- package/dist-types/commands/DisassociateTrunkInterfaceCommand.d.ts +1 -1
- package/dist-types/commands/DisassociateVpcCidrBlockCommand.d.ts +1 -1
- package/dist-types/commands/EnableAddressTransferCommand.d.ts +1 -2
- package/dist-types/commands/ModifyFleetCommand.d.ts +17 -0
- package/dist-types/commands/ModifyInstanceCreditSpecificationCommand.d.ts +2 -1
- package/dist-types/commands/ModifyInstanceEventStartTimeCommand.d.ts +1 -1
- package/dist-types/commands/UnassignIpv6AddressesCommand.d.ts +1 -1
- package/dist-types/commands/UnassignPrivateIpAddressesCommand.d.ts +1 -1
- package/dist-types/commands/UnassignPrivateNatGatewayAddressCommand.d.ts +1 -1
- package/dist-types/models/models_1.d.ts +412 -191
- package/dist-types/models/models_2.d.ts +130 -53
- package/dist-types/models/models_3.d.ts +59 -244
- package/dist-types/models/models_4.d.ts +247 -106
- package/dist-types/models/models_5.d.ts +105 -97
- package/dist-types/models/models_6.d.ts +95 -91
- package/dist-types/models/models_7.d.ts +94 -109
- package/dist-types/models/models_8.d.ts +105 -1
- package/dist-types/ts3.4/commands/CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/CreateLocalGatewayRouteTableVpcAssociationCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/DeleteCarrierGatewayCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteClientVpnEndpointCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeregisterImageCommand.d.ts +7 -2
- package/dist-types/ts3.4/commands/DescribeFastSnapshotRestoresCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/DescribeFleetHistoryCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/DescribeRegionsCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/DescribeReplaceRootVolumeTasksCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DisassociateTrunkInterfaceCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DisassociateVpcCidrBlockCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/EnableAddressTransferCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/ModifyInstanceCreditSpecificationCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/ModifyInstanceEventStartTimeCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UnassignIpv6AddressesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UnassignPrivateIpAddressesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UnassignPrivateNatGatewayAddressCommand.d.ts +1 -1
- package/dist-types/ts3.4/models/models_1.d.ts +44 -41
- package/dist-types/ts3.4/models/models_2.d.ts +31 -17
- package/dist-types/ts3.4/models/models_3.d.ts +17 -31
- package/dist-types/ts3.4/models/models_4.d.ts +32 -29
- package/dist-types/ts3.4/models/models_5.d.ts +27 -26
- package/dist-types/ts3.4/models/models_6.d.ts +24 -26
- package/dist-types/ts3.4/models/models_7.d.ts +28 -26
- package/dist-types/ts3.4/models/models_8.d.ts +26 -1
- 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,
|
|
3
|
-
import { GroupIdentifier, ManagedPrefixList, NatGateway, NetworkAcl, NetworkInsightsAccessScope, NetworkInsightsPath, NetworkInterface, NetworkInterfaceAttachment, NetworkInterfacePermission, NetworkInterfaceStatus, PlacementGroup
|
|
4
|
-
import { Byoasn, Filter, FleetStateCode,
|
|
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>
|
|
8668
|
-
*
|
|
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,
|
|
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 {
|
|
5
|
-
import { AttributeBooleanValue,
|
|
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
|
|
@@ -9781,99 +9882,6 @@ export interface DisassociateTransitGatewayRouteTableResult {
|
|
|
9781
9882
|
*/
|
|
9782
9883
|
Association?: TransitGatewayAssociation | undefined;
|
|
9783
9884
|
}
|
|
9784
|
-
/**
|
|
9785
|
-
* @public
|
|
9786
|
-
*/
|
|
9787
|
-
export interface DisassociateTrunkInterfaceRequest {
|
|
9788
|
-
/**
|
|
9789
|
-
* <p>The ID of the association</p>
|
|
9790
|
-
* @public
|
|
9791
|
-
*/
|
|
9792
|
-
AssociationId: string | undefined;
|
|
9793
|
-
/**
|
|
9794
|
-
* <p>Unique, case-sensitive identifier that you provide to ensure the idempotency of the
|
|
9795
|
-
* request. For more information, see <a href="https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html">Ensuring
|
|
9796
|
-
* idempotency</a>.</p>
|
|
9797
|
-
* @public
|
|
9798
|
-
*/
|
|
9799
|
-
ClientToken?: string | undefined;
|
|
9800
|
-
/**
|
|
9801
|
-
* <p>Checks whether you have the required permissions for the action, without actually making the request,
|
|
9802
|
-
* and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
|
|
9803
|
-
* Otherwise, it is <code>UnauthorizedOperation</code>.</p>
|
|
9804
|
-
* @public
|
|
9805
|
-
*/
|
|
9806
|
-
DryRun?: boolean | undefined;
|
|
9807
|
-
}
|
|
9808
|
-
/**
|
|
9809
|
-
* @public
|
|
9810
|
-
*/
|
|
9811
|
-
export interface DisassociateTrunkInterfaceResult {
|
|
9812
|
-
/**
|
|
9813
|
-
* <p>Returns <code>true</code> if the request succeeds; otherwise, it returns an error.</p>
|
|
9814
|
-
* @public
|
|
9815
|
-
*/
|
|
9816
|
-
Return?: boolean | undefined;
|
|
9817
|
-
/**
|
|
9818
|
-
* <p>Unique, case-sensitive identifier that you provide to ensure the idempotency of the
|
|
9819
|
-
* request. For more information, see <a href="https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html">Ensuring
|
|
9820
|
-
* idempotency</a>.</p>
|
|
9821
|
-
* @public
|
|
9822
|
-
*/
|
|
9823
|
-
ClientToken?: string | undefined;
|
|
9824
|
-
}
|
|
9825
|
-
/**
|
|
9826
|
-
* @public
|
|
9827
|
-
*/
|
|
9828
|
-
export interface DisassociateVpcCidrBlockRequest {
|
|
9829
|
-
/**
|
|
9830
|
-
* <p>The association ID for the CIDR block.</p>
|
|
9831
|
-
* @public
|
|
9832
|
-
*/
|
|
9833
|
-
AssociationId: string | undefined;
|
|
9834
|
-
}
|
|
9835
|
-
/**
|
|
9836
|
-
* @public
|
|
9837
|
-
*/
|
|
9838
|
-
export interface DisassociateVpcCidrBlockResult {
|
|
9839
|
-
/**
|
|
9840
|
-
* <p>Information about the IPv6 CIDR block association.</p>
|
|
9841
|
-
* @public
|
|
9842
|
-
*/
|
|
9843
|
-
Ipv6CidrBlockAssociation?: VpcIpv6CidrBlockAssociation | undefined;
|
|
9844
|
-
/**
|
|
9845
|
-
* <p>Information about the IPv4 CIDR block association.</p>
|
|
9846
|
-
* @public
|
|
9847
|
-
*/
|
|
9848
|
-
CidrBlockAssociation?: VpcCidrBlockAssociation | undefined;
|
|
9849
|
-
/**
|
|
9850
|
-
* <p>The ID of the VPC.</p>
|
|
9851
|
-
* @public
|
|
9852
|
-
*/
|
|
9853
|
-
VpcId?: string | undefined;
|
|
9854
|
-
}
|
|
9855
|
-
/**
|
|
9856
|
-
* @public
|
|
9857
|
-
*/
|
|
9858
|
-
export interface EnableAddressTransferRequest {
|
|
9859
|
-
/**
|
|
9860
|
-
* <p>The allocation ID of an Elastic IP address.</p>
|
|
9861
|
-
* @public
|
|
9862
|
-
*/
|
|
9863
|
-
AllocationId: string | undefined;
|
|
9864
|
-
/**
|
|
9865
|
-
* <p>The ID of the account that you want to transfer the Elastic IP address to.</p>
|
|
9866
|
-
* @public
|
|
9867
|
-
*/
|
|
9868
|
-
TransferAccountId: string | undefined;
|
|
9869
|
-
/**
|
|
9870
|
-
* <p>Checks whether you have the required permissions for the action, without actually making the request,
|
|
9871
|
-
* and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
|
|
9872
|
-
* Otherwise, it is <code>UnauthorizedOperation</code>.</p>
|
|
9873
|
-
* @public
|
|
9874
|
-
*/
|
|
9875
|
-
DryRun?: boolean | undefined;
|
|
9876
|
-
}
|
|
9877
9885
|
/**
|
|
9878
9886
|
* @internal
|
|
9879
9887
|
*/
|