@aws-sdk/client-ec2 3.709.0 → 3.713.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 +42 -11
- package/dist-es/models/models_2.js +4 -0
- package/dist-es/models/models_4.js +0 -8
- package/dist-es/models/models_5.js +8 -0
- package/dist-es/protocols/Aws_ec2.js +26 -1
- package/dist-types/commands/CreateSnapshotCommand.d.ts +20 -8
- package/dist-types/commands/CreateSnapshotsCommand.d.ts +22 -10
- package/dist-types/commands/DeleteClientVpnRouteCommand.d.ts +1 -2
- package/dist-types/commands/DeleteSecurityGroupCommand.d.ts +7 -4
- package/dist-types/commands/DescribeFleetHistoryCommand.d.ts +2 -1
- package/dist-types/commands/DescribeFleetInstancesCommand.d.ts +1 -2
- package/dist-types/commands/DescribeReservedInstancesCommand.d.ts +1 -2
- package/dist-types/commands/DescribeSnapshotsCommand.d.ts +1 -0
- package/dist-types/commands/EnableAddressTransferCommand.d.ts +2 -1
- package/dist-types/commands/EnableAllowedImagesSettingsCommand.d.ts +1 -2
- package/dist-types/commands/ModifyInstanceEventWindowCommand.d.ts +1 -1
- package/dist-types/commands/StartDeclarativePoliciesReportCommand.d.ts +3 -3
- package/dist-types/commands/UnlockSnapshotCommand.d.ts +1 -1
- package/dist-types/models/models_2.d.ts +80 -52
- package/dist-types/models/models_3.d.ts +41 -76
- package/dist-types/models/models_4.d.ts +77 -114
- package/dist-types/models/models_5.d.ts +115 -31
- package/dist-types/models/models_6.d.ts +31 -72
- package/dist-types/models/models_7.d.ts +74 -30
- package/dist-types/models/models_8.d.ts +27 -0
- package/dist-types/ts3.4/commands/DeleteClientVpnRouteCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/DeleteSecurityGroupCommand.d.ts +8 -3
- package/dist-types/ts3.4/commands/DescribeFleetHistoryCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/DescribeFleetInstancesCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/DescribeReservedInstancesCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/EnableAddressTransferCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/EnableAllowedImagesSettingsCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/ModifyInstanceEventWindowCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UnlockSnapshotCommand.d.ts +1 -1
- package/dist-types/ts3.4/models/models_2.d.ts +10 -6
- package/dist-types/ts3.4/models/models_3.d.ts +10 -14
- package/dist-types/ts3.4/models/models_4.d.ts +15 -17
- package/dist-types/ts3.4/models/models_5.d.ts +17 -9
- package/dist-types/ts3.4/models/models_6.d.ts +8 -12
- package/dist-types/ts3.4/models/models_7.d.ts +12 -7
- package/dist-types/ts3.4/models/models_8.d.ts +7 -0
- package/package.json +15 -15
|
@@ -2584,6 +2584,18 @@ export interface CreateSecurityGroupResult {
|
|
|
2584
2584
|
*/
|
|
2585
2585
|
SecurityGroupArn?: string | undefined;
|
|
2586
2586
|
}
|
|
2587
|
+
/**
|
|
2588
|
+
* @public
|
|
2589
|
+
* @enum
|
|
2590
|
+
*/
|
|
2591
|
+
export declare const SnapshotLocationEnum: {
|
|
2592
|
+
readonly LOCAL: "local";
|
|
2593
|
+
readonly REGIONAL: "regional";
|
|
2594
|
+
};
|
|
2595
|
+
/**
|
|
2596
|
+
* @public
|
|
2597
|
+
*/
|
|
2598
|
+
export type SnapshotLocationEnum = (typeof SnapshotLocationEnum)[keyof typeof SnapshotLocationEnum];
|
|
2587
2599
|
/**
|
|
2588
2600
|
* @public
|
|
2589
2601
|
*/
|
|
@@ -2594,22 +2606,17 @@ export interface CreateSnapshotRequest {
|
|
|
2594
2606
|
*/
|
|
2595
2607
|
Description?: string | undefined;
|
|
2596
2608
|
/**
|
|
2597
|
-
* <
|
|
2598
|
-
*
|
|
2609
|
+
* <note>
|
|
2610
|
+
* <p>Only supported for volumes on Outposts. If the source volume is not on an Outpost,
|
|
2611
|
+
* omit this parameter.</p>
|
|
2612
|
+
* </note>
|
|
2599
2613
|
* <ul>
|
|
2600
2614
|
* <li>
|
|
2601
|
-
* <p>To create
|
|
2602
|
-
*
|
|
2603
|
-
* </li>
|
|
2604
|
-
* <li>
|
|
2605
|
-
* <p>To create a snapshot of a volume on an Outpost and store the snapshot in the
|
|
2606
|
-
* Region, omit this parameter. The snapshot is created in the Region for the
|
|
2607
|
-
* Outpost.</p>
|
|
2615
|
+
* <p>To create the snapshot on the same Outpost as the source volume, specify the
|
|
2616
|
+
* ARN of that Outpost. The snapshot must be created on the same Outpost as the volume.</p>
|
|
2608
2617
|
* </li>
|
|
2609
2618
|
* <li>
|
|
2610
|
-
* <p>To create
|
|
2611
|
-
* Outpost, specify the ARN of the destination Outpost. The snapshot must be created on
|
|
2612
|
-
* the same Outpost as the volume.</p>
|
|
2619
|
+
* <p>To create the snapshot in the parent Region of the Outpost, omit this parameter.</p>
|
|
2613
2620
|
* </li>
|
|
2614
2621
|
* </ul>
|
|
2615
2622
|
* <p>For more information, see <a href="https://docs.aws.amazon.com/ebs/latest/userguide/snapshots-outposts.html#create-snapshot">Create local snapshots from volumes on an Outpost</a> in the <i>Amazon EBS User Guide</i>.</p>
|
|
@@ -2626,6 +2633,26 @@ export interface CreateSnapshotRequest {
|
|
|
2626
2633
|
* @public
|
|
2627
2634
|
*/
|
|
2628
2635
|
TagSpecifications?: TagSpecification[] | undefined;
|
|
2636
|
+
/**
|
|
2637
|
+
* <note>
|
|
2638
|
+
* <p>Only supported for volumes in Local Zones. If the source volume is not in a Local Zone,
|
|
2639
|
+
* omit this parameter.</p>
|
|
2640
|
+
* </note>
|
|
2641
|
+
* <ul>
|
|
2642
|
+
* <li>
|
|
2643
|
+
* <p>To create a local snapshot in the same Local Zone as the source volume, specify
|
|
2644
|
+
* <code>local</code>.</p>
|
|
2645
|
+
* </li>
|
|
2646
|
+
* <li>
|
|
2647
|
+
* <p>To create a regional snapshot in the parent Region of the Local Zone, specify
|
|
2648
|
+
* <code>regional</code> or omit this parameter.</p>
|
|
2649
|
+
* </li>
|
|
2650
|
+
* </ul>
|
|
2651
|
+
* <p>Default value: <code>regional</code>
|
|
2652
|
+
* </p>
|
|
2653
|
+
* @public
|
|
2654
|
+
*/
|
|
2655
|
+
Location?: SnapshotLocationEnum | undefined;
|
|
2629
2656
|
/**
|
|
2630
2657
|
* <p>Checks whether you have the required permissions for the action, without actually making the request,
|
|
2631
2658
|
* and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
|
|
@@ -2727,6 +2754,12 @@ export interface Snapshot {
|
|
|
2727
2754
|
* @public
|
|
2728
2755
|
*/
|
|
2729
2756
|
SseType?: SSEType | undefined;
|
|
2757
|
+
/**
|
|
2758
|
+
* <p>The Availability Zone or Local Zone of the snapshot. For example, <code>us-west-1a</code>
|
|
2759
|
+
* (Availability Zone) or <code>us-west-2-lax-1a</code> (Local Zone).</p>
|
|
2760
|
+
* @public
|
|
2761
|
+
*/
|
|
2762
|
+
AvailabilityZone?: string | undefined;
|
|
2730
2763
|
/**
|
|
2731
2764
|
* <note>
|
|
2732
2765
|
* <p>Only for snapshot copies.</p>
|
|
@@ -2884,27 +2917,21 @@ export interface CreateSnapshotsRequest {
|
|
|
2884
2917
|
*/
|
|
2885
2918
|
InstanceSpecification: InstanceSpecification | undefined;
|
|
2886
2919
|
/**
|
|
2887
|
-
* <
|
|
2888
|
-
*
|
|
2920
|
+
* <note>
|
|
2921
|
+
* <p>Only supported for instances on Outposts. If the source instance is not on an Outpost,
|
|
2922
|
+
* omit this parameter.</p>
|
|
2923
|
+
* </note>
|
|
2889
2924
|
* <ul>
|
|
2890
2925
|
* <li>
|
|
2891
|
-
* <p>To create snapshots
|
|
2892
|
-
*
|
|
2893
|
-
* </li>
|
|
2894
|
-
* <li>
|
|
2895
|
-
* <p>To create snapshots from an instance on an Outpost and store the snapshots
|
|
2896
|
-
* in the Region, omit this parameter. The snapshots are created in the Region
|
|
2897
|
-
* for the Outpost.</p>
|
|
2926
|
+
* <p>To create the snapshots on the same Outpost as the source instance, specify the
|
|
2927
|
+
* ARN of that Outpost. The snapshots must be created on the same Outpost as the instance.</p>
|
|
2898
2928
|
* </li>
|
|
2899
2929
|
* <li>
|
|
2900
|
-
* <p>To create snapshots
|
|
2901
|
-
* on an Outpost, specify the ARN of the destination Outpost. The snapshots must
|
|
2902
|
-
* be created on the same Outpost as the instance.</p>
|
|
2930
|
+
* <p>To create the snapshots in the parent Region of the Outpost, omit this parameter.</p>
|
|
2903
2931
|
* </li>
|
|
2904
2932
|
* </ul>
|
|
2905
|
-
* <p>For more information, see <a href="https://docs.aws.amazon.com/ebs/latest/userguide/snapshots-outposts.html#create-
|
|
2906
|
-
*
|
|
2907
|
-
* <i>Amazon EBS User Guide</i>.</p>
|
|
2933
|
+
* <p>For more information, see <a href="https://docs.aws.amazon.com/ebs/latest/userguide/snapshots-outposts.html#create-snapshot">
|
|
2934
|
+
* Create local snapshots from volumes on an Outpost</a> in the <i>Amazon EBS User Guide</i>.</p>
|
|
2908
2935
|
* @public
|
|
2909
2936
|
*/
|
|
2910
2937
|
OutpostArn?: string | undefined;
|
|
@@ -2925,6 +2952,26 @@ export interface CreateSnapshotsRequest {
|
|
|
2925
2952
|
* @public
|
|
2926
2953
|
*/
|
|
2927
2954
|
CopyTagsFromSource?: CopyTagsFromSource | undefined;
|
|
2955
|
+
/**
|
|
2956
|
+
* <note>
|
|
2957
|
+
* <p>Only supported for instances in Local Zones. If the source instance is not in a Local Zone,
|
|
2958
|
+
* omit this parameter.</p>
|
|
2959
|
+
* </note>
|
|
2960
|
+
* <ul>
|
|
2961
|
+
* <li>
|
|
2962
|
+
* <p>To create local snapshots in the same Local Zone as the source instance, specify
|
|
2963
|
+
* <code>local</code>.</p>
|
|
2964
|
+
* </li>
|
|
2965
|
+
* <li>
|
|
2966
|
+
* <p>To create a regional snapshots in the parent Region of the Local Zone, specify
|
|
2967
|
+
* <code>regional</code> or omit this parameter.</p>
|
|
2968
|
+
* </li>
|
|
2969
|
+
* </ul>
|
|
2970
|
+
* <p>Default value: <code>regional</code>
|
|
2971
|
+
* </p>
|
|
2972
|
+
* @public
|
|
2973
|
+
*/
|
|
2974
|
+
Location?: SnapshotLocationEnum | undefined;
|
|
2928
2975
|
}
|
|
2929
2976
|
/**
|
|
2930
2977
|
* <p>Information about a snapshot.</p>
|
|
@@ -2994,6 +3041,12 @@ export interface SnapshotInfo {
|
|
|
2994
3041
|
* @public
|
|
2995
3042
|
*/
|
|
2996
3043
|
SseType?: SSEType | undefined;
|
|
3044
|
+
/**
|
|
3045
|
+
* <p>The Availability Zone or Local Zone of the snapshots. For example, <code>us-west-1a</code>
|
|
3046
|
+
* (Availability Zone) or <code>us-west-2-lax-1a</code> (Local Zone).</p>
|
|
3047
|
+
* @public
|
|
3048
|
+
*/
|
|
3049
|
+
AvailabilityZone?: string | undefined;
|
|
2997
3050
|
}
|
|
2998
3051
|
/**
|
|
2999
3052
|
* @public
|
|
@@ -8921,31 +8974,6 @@ export interface DeleteClientVpnEndpointResult {
|
|
|
8921
8974
|
*/
|
|
8922
8975
|
Status?: ClientVpnEndpointStatus | undefined;
|
|
8923
8976
|
}
|
|
8924
|
-
/**
|
|
8925
|
-
* @public
|
|
8926
|
-
*/
|
|
8927
|
-
export interface DeleteClientVpnRouteRequest {
|
|
8928
|
-
/**
|
|
8929
|
-
* <p>The ID of the Client VPN endpoint from which the route is to be deleted.</p>
|
|
8930
|
-
* @public
|
|
8931
|
-
*/
|
|
8932
|
-
ClientVpnEndpointId: string | undefined;
|
|
8933
|
-
/**
|
|
8934
|
-
* <p>The ID of the target subnet used by the route.</p>
|
|
8935
|
-
* @public
|
|
8936
|
-
*/
|
|
8937
|
-
TargetVpcSubnetId?: string | undefined;
|
|
8938
|
-
/**
|
|
8939
|
-
* <p>The IPv4 address range, in CIDR notation, of the route to be deleted.</p>
|
|
8940
|
-
* @public
|
|
8941
|
-
*/
|
|
8942
|
-
DestinationCidrBlock: string | undefined;
|
|
8943
|
-
/**
|
|
8944
|
-
* <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>
|
|
8945
|
-
* @public
|
|
8946
|
-
*/
|
|
8947
|
-
DryRun?: boolean | undefined;
|
|
8948
|
-
}
|
|
8949
8977
|
/**
|
|
8950
8978
|
* @internal
|
|
8951
8979
|
*/
|
|
@@ -1,6 +1,31 @@
|
|
|
1
1
|
import { AccountAttribute, AccountAttributeName, Address, AddressAttribute, AddressAttributeName, AddressTransfer, AssociationStatus, BundleTask, ByoipCidr, CapacityReservationFleetState, ClientVpnAuthorizationRuleStatus, InstanceEventWindowState, Tag, TransitGatewayPeeringAttachment, TransitGatewayVpcAttachment, UnsuccessfulItem, VerifiedAccessInstance, VerifiedAccessTrustProvider } from "./models_0";
|
|
2
2
|
import { CapacityReservation, CapacityReservationTenancy, CarrierGateway, ClientVpnAuthenticationType, ClientVpnEndpointStatus, ClientVpnRouteStatus, CoipCidr, CoipPool, CustomerGateway, DhcpOptions, DiskImageFormat, Ec2InstanceConnectEndpoint, EgressOnlyInternetGateway, ExportTask, FleetCapacityReservation, FleetCapacityReservationTenancy, FleetInstanceMatchCriteria, Ipam, IpamExternalResourceVerificationToken, IpamPool, IpamResourceDiscovery, IpamScope, LaunchTemplate, LocalGatewayRoute, LocalGatewayRouteTable, LocalGatewayRouteTableVirtualInterfaceGroupAssociation, LocalGatewayRouteTableVpcAssociation, PlatformValues, TransportProtocol } from "./models_1";
|
|
3
3
|
import { GroupIdentifier, ManagedPrefixList, SubnetCidrReservation, TransitGateway, TransitGatewayConnect, TransitGatewayConnectPeer, TransitGatewayMulticastDomain, TransitGatewayPolicyTable, TransitGatewayPrefixListReference, TransitGatewayRoute, TransitGatewayRouteTable, TransitGatewayRouteTableAnnouncement, VerifiedAccessEndpoint, VerifiedAccessGroup, VpcBlockPublicAccessExclusion } from "./models_2";
|
|
4
|
+
/**
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
7
|
+
export interface DeleteClientVpnRouteRequest {
|
|
8
|
+
/**
|
|
9
|
+
* <p>The ID of the Client VPN endpoint from which the route is to be deleted.</p>
|
|
10
|
+
* @public
|
|
11
|
+
*/
|
|
12
|
+
ClientVpnEndpointId: string | undefined;
|
|
13
|
+
/**
|
|
14
|
+
* <p>The ID of the target subnet used by the route.</p>
|
|
15
|
+
* @public
|
|
16
|
+
*/
|
|
17
|
+
TargetVpcSubnetId?: string | undefined;
|
|
18
|
+
/**
|
|
19
|
+
* <p>The IPv4 address range, in CIDR notation, of the route to be deleted.</p>
|
|
20
|
+
* @public
|
|
21
|
+
*/
|
|
22
|
+
DestinationCidrBlock: string | undefined;
|
|
23
|
+
/**
|
|
24
|
+
* <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>
|
|
25
|
+
* @public
|
|
26
|
+
*/
|
|
27
|
+
DryRun?: boolean | undefined;
|
|
28
|
+
}
|
|
4
29
|
/**
|
|
5
30
|
* @public
|
|
6
31
|
*/
|
|
@@ -1380,6 +1405,21 @@ export interface DeleteSecurityGroupRequest {
|
|
|
1380
1405
|
*/
|
|
1381
1406
|
DryRun?: boolean | undefined;
|
|
1382
1407
|
}
|
|
1408
|
+
/**
|
|
1409
|
+
* @public
|
|
1410
|
+
*/
|
|
1411
|
+
export interface DeleteSecurityGroupResult {
|
|
1412
|
+
/**
|
|
1413
|
+
* <p>Returns <code>true</code> if the request succeeds; otherwise, returns an error.</p>
|
|
1414
|
+
* @public
|
|
1415
|
+
*/
|
|
1416
|
+
Return?: boolean | undefined;
|
|
1417
|
+
/**
|
|
1418
|
+
* <p>The ID of the deleted security group.</p>
|
|
1419
|
+
* @public
|
|
1420
|
+
*/
|
|
1421
|
+
GroupId?: string | undefined;
|
|
1422
|
+
}
|
|
1383
1423
|
/**
|
|
1384
1424
|
* @public
|
|
1385
1425
|
*/
|
|
@@ -2735,6 +2775,7 @@ export interface DescribeAccountAttributesResult {
|
|
|
2735
2775
|
* Filters can be used to match a set of resources by specific criteria, such as tags, attributes, or IDs.</p>
|
|
2736
2776
|
* <p>If you specify multiple filters, the filters are joined with an <code>AND</code>, and the request returns only
|
|
2737
2777
|
* results that match all of the specified filters.</p>
|
|
2778
|
+
* <p>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Using_Filtering.html#Filtering_Resources_CLI">List and filter using the CLI and API</a> in the <i>Amazon EC2 User Guide</i>.</p>
|
|
2738
2779
|
* @public
|
|
2739
2780
|
*/
|
|
2740
2781
|
export interface Filter {
|
|
@@ -6927,82 +6968,6 @@ export interface HistoryRecordEntry {
|
|
|
6927
6968
|
*/
|
|
6928
6969
|
Timestamp?: Date | undefined;
|
|
6929
6970
|
}
|
|
6930
|
-
/**
|
|
6931
|
-
* @public
|
|
6932
|
-
*/
|
|
6933
|
-
export interface DescribeFleetHistoryResult {
|
|
6934
|
-
/**
|
|
6935
|
-
* <p>Information about the events in the history of the EC2 Fleet.</p>
|
|
6936
|
-
* @public
|
|
6937
|
-
*/
|
|
6938
|
-
HistoryRecords?: HistoryRecordEntry[] | undefined;
|
|
6939
|
-
/**
|
|
6940
|
-
* <p>The last date and time for the events, in UTC format (for example,
|
|
6941
|
-
* <i>YYYY</i>-<i>MM</i>-<i>DD</i>T<i>HH</i>:<i>MM</i>:<i>SS</i>Z).
|
|
6942
|
-
* All records up to this time were retrieved.</p>
|
|
6943
|
-
* <p>If <code>nextToken</code> indicates that there are more items, this value is not
|
|
6944
|
-
* present.</p>
|
|
6945
|
-
* @public
|
|
6946
|
-
*/
|
|
6947
|
-
LastEvaluatedTime?: Date | undefined;
|
|
6948
|
-
/**
|
|
6949
|
-
* <p>The token to include in another request to get the next page of items. This value is <code>null</code> when there
|
|
6950
|
-
* are no more items to return.</p>
|
|
6951
|
-
* @public
|
|
6952
|
-
*/
|
|
6953
|
-
NextToken?: string | undefined;
|
|
6954
|
-
/**
|
|
6955
|
-
* <p>The ID of the EC Fleet.</p>
|
|
6956
|
-
* @public
|
|
6957
|
-
*/
|
|
6958
|
-
FleetId?: string | undefined;
|
|
6959
|
-
/**
|
|
6960
|
-
* <p>The start date and time for the events, in UTC format (for example,
|
|
6961
|
-
* <i>YYYY</i>-<i>MM</i>-<i>DD</i>T<i>HH</i>:<i>MM</i>:<i>SS</i>Z).</p>
|
|
6962
|
-
* @public
|
|
6963
|
-
*/
|
|
6964
|
-
StartTime?: Date | undefined;
|
|
6965
|
-
}
|
|
6966
|
-
/**
|
|
6967
|
-
* @public
|
|
6968
|
-
*/
|
|
6969
|
-
export interface DescribeFleetInstancesRequest {
|
|
6970
|
-
/**
|
|
6971
|
-
* <p>Checks whether you have the required permissions for the action, without actually making the request,
|
|
6972
|
-
* and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
|
|
6973
|
-
* Otherwise, it is <code>UnauthorizedOperation</code>.</p>
|
|
6974
|
-
* @public
|
|
6975
|
-
*/
|
|
6976
|
-
DryRun?: boolean | undefined;
|
|
6977
|
-
/**
|
|
6978
|
-
* <p>The maximum number of items to return for this request.
|
|
6979
|
-
* To get the next page of items, make another request with the token returned in the output.
|
|
6980
|
-
* For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination">Pagination</a>.</p>
|
|
6981
|
-
* @public
|
|
6982
|
-
*/
|
|
6983
|
-
MaxResults?: number | undefined;
|
|
6984
|
-
/**
|
|
6985
|
-
* <p>The token returned from a previous paginated request. Pagination continues from the end of the items returned by the previous request.</p>
|
|
6986
|
-
* @public
|
|
6987
|
-
*/
|
|
6988
|
-
NextToken?: string | undefined;
|
|
6989
|
-
/**
|
|
6990
|
-
* <p>The ID of the EC2 Fleet.</p>
|
|
6991
|
-
* @public
|
|
6992
|
-
*/
|
|
6993
|
-
FleetId: string | undefined;
|
|
6994
|
-
/**
|
|
6995
|
-
* <p>The filters.</p>
|
|
6996
|
-
* <ul>
|
|
6997
|
-
* <li>
|
|
6998
|
-
* <p>
|
|
6999
|
-
* <code>instance-type</code> - The instance type.</p>
|
|
7000
|
-
* </li>
|
|
7001
|
-
* </ul>
|
|
7002
|
-
* @public
|
|
7003
|
-
*/
|
|
7004
|
-
Filters?: Filter[] | undefined;
|
|
7005
|
-
}
|
|
7006
6971
|
/**
|
|
7007
6972
|
* @internal
|
|
7008
6973
|
*/
|
|
@@ -1,7 +1,83 @@
|
|
|
1
1
|
import { ActiveInstance, AllocationState, AllowsMultipleInstanceTypes, AlternatePathHint, AttachmentStatus, AutoPlacement, CurrencyCodeValues, Explanation, HostMaintenance, HostRecovery, IamInstanceProfile, IamInstanceProfileAssociation, InstanceEventWindow, IpamResourceDiscoveryAssociation, PathComponent, Tag } from "./models_0";
|
|
2
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
3
|
import { GroupIdentifier, ManagedPrefixList, NatGateway, NetworkAcl, NetworkInsightsAccessScope, NetworkInsightsPath, NetworkInterface, NetworkInterfaceAttachment, NetworkInterfacePermission, NetworkInterfaceStatus, PlacementGroup, ReplaceRootVolumeTask } from "./models_2";
|
|
4
|
-
import { Byoasn, Filter, FleetStateCode, IdFormat, InstanceTagNotificationAttribute } from "./models_3";
|
|
4
|
+
import { Byoasn, Filter, FleetStateCode, HistoryRecordEntry, IdFormat, InstanceTagNotificationAttribute } from "./models_3";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export interface DescribeFleetHistoryResult {
|
|
9
|
+
/**
|
|
10
|
+
* <p>Information about the events in the history of the EC2 Fleet.</p>
|
|
11
|
+
* @public
|
|
12
|
+
*/
|
|
13
|
+
HistoryRecords?: HistoryRecordEntry[] | undefined;
|
|
14
|
+
/**
|
|
15
|
+
* <p>The last date and time for the events, in UTC format (for example,
|
|
16
|
+
* <i>YYYY</i>-<i>MM</i>-<i>DD</i>T<i>HH</i>:<i>MM</i>:<i>SS</i>Z).
|
|
17
|
+
* All records up to this time were retrieved.</p>
|
|
18
|
+
* <p>If <code>nextToken</code> indicates that there are more items, this value is not
|
|
19
|
+
* present.</p>
|
|
20
|
+
* @public
|
|
21
|
+
*/
|
|
22
|
+
LastEvaluatedTime?: Date | undefined;
|
|
23
|
+
/**
|
|
24
|
+
* <p>The token to include in another request to get the next page of items. This value is <code>null</code> when there
|
|
25
|
+
* are no more items to return.</p>
|
|
26
|
+
* @public
|
|
27
|
+
*/
|
|
28
|
+
NextToken?: string | undefined;
|
|
29
|
+
/**
|
|
30
|
+
* <p>The ID of the EC Fleet.</p>
|
|
31
|
+
* @public
|
|
32
|
+
*/
|
|
33
|
+
FleetId?: string | undefined;
|
|
34
|
+
/**
|
|
35
|
+
* <p>The start date and time for the events, in UTC format (for example,
|
|
36
|
+
* <i>YYYY</i>-<i>MM</i>-<i>DD</i>T<i>HH</i>:<i>MM</i>:<i>SS</i>Z).</p>
|
|
37
|
+
* @public
|
|
38
|
+
*/
|
|
39
|
+
StartTime?: Date | undefined;
|
|
40
|
+
}
|
|
41
|
+
/**
|
|
42
|
+
* @public
|
|
43
|
+
*/
|
|
44
|
+
export interface DescribeFleetInstancesRequest {
|
|
45
|
+
/**
|
|
46
|
+
* <p>Checks whether you have the required permissions for the action, without actually making the request,
|
|
47
|
+
* and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
|
|
48
|
+
* Otherwise, it is <code>UnauthorizedOperation</code>.</p>
|
|
49
|
+
* @public
|
|
50
|
+
*/
|
|
51
|
+
DryRun?: boolean | undefined;
|
|
52
|
+
/**
|
|
53
|
+
* <p>The maximum number of items to return for this request.
|
|
54
|
+
* To get the next page of items, make another request with the token returned in the output.
|
|
55
|
+
* For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination">Pagination</a>.</p>
|
|
56
|
+
* @public
|
|
57
|
+
*/
|
|
58
|
+
MaxResults?: number | undefined;
|
|
59
|
+
/**
|
|
60
|
+
* <p>The token returned from a previous paginated request. Pagination continues from the end of the items returned by the previous request.</p>
|
|
61
|
+
* @public
|
|
62
|
+
*/
|
|
63
|
+
NextToken?: string | undefined;
|
|
64
|
+
/**
|
|
65
|
+
* <p>The ID of the EC2 Fleet.</p>
|
|
66
|
+
* @public
|
|
67
|
+
*/
|
|
68
|
+
FleetId: string | undefined;
|
|
69
|
+
/**
|
|
70
|
+
* <p>The filters.</p>
|
|
71
|
+
* <ul>
|
|
72
|
+
* <li>
|
|
73
|
+
* <p>
|
|
74
|
+
* <code>instance-type</code> - The instance type.</p>
|
|
75
|
+
* </li>
|
|
76
|
+
* </ul>
|
|
77
|
+
* @public
|
|
78
|
+
*/
|
|
79
|
+
Filters?: Filter[] | undefined;
|
|
80
|
+
}
|
|
5
81
|
/**
|
|
6
82
|
* @public
|
|
7
83
|
*/
|
|
@@ -11070,119 +11146,6 @@ export declare const OfferingClassType: {
|
|
|
11070
11146
|
* @public
|
|
11071
11147
|
*/
|
|
11072
11148
|
export type OfferingClassType = (typeof OfferingClassType)[keyof typeof OfferingClassType];
|
|
11073
|
-
/**
|
|
11074
|
-
* @public
|
|
11075
|
-
* @enum
|
|
11076
|
-
*/
|
|
11077
|
-
export declare const OfferingTypeValues: {
|
|
11078
|
-
readonly All_Upfront: "All Upfront";
|
|
11079
|
-
readonly Heavy_Utilization: "Heavy Utilization";
|
|
11080
|
-
readonly Light_Utilization: "Light Utilization";
|
|
11081
|
-
readonly Medium_Utilization: "Medium Utilization";
|
|
11082
|
-
readonly No_Upfront: "No Upfront";
|
|
11083
|
-
readonly Partial_Upfront: "Partial Upfront";
|
|
11084
|
-
};
|
|
11085
|
-
/**
|
|
11086
|
-
* @public
|
|
11087
|
-
*/
|
|
11088
|
-
export type OfferingTypeValues = (typeof OfferingTypeValues)[keyof typeof OfferingTypeValues];
|
|
11089
|
-
/**
|
|
11090
|
-
* <p>Contains the parameters for DescribeReservedInstances.</p>
|
|
11091
|
-
* @public
|
|
11092
|
-
*/
|
|
11093
|
-
export interface DescribeReservedInstancesRequest {
|
|
11094
|
-
/**
|
|
11095
|
-
* <p>Describes whether the Reserved Instance is Standard or Convertible.</p>
|
|
11096
|
-
* @public
|
|
11097
|
-
*/
|
|
11098
|
-
OfferingClass?: OfferingClassType | undefined;
|
|
11099
|
-
/**
|
|
11100
|
-
* <p>One or more Reserved Instance IDs.</p>
|
|
11101
|
-
* <p>Default: Describes all your Reserved Instances, or only those otherwise specified.</p>
|
|
11102
|
-
* @public
|
|
11103
|
-
*/
|
|
11104
|
-
ReservedInstancesIds?: string[] | undefined;
|
|
11105
|
-
/**
|
|
11106
|
-
* <p>Checks whether you have the required permissions for the action, without actually making the request,
|
|
11107
|
-
* and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
|
|
11108
|
-
* Otherwise, it is <code>UnauthorizedOperation</code>.</p>
|
|
11109
|
-
* @public
|
|
11110
|
-
*/
|
|
11111
|
-
DryRun?: boolean | undefined;
|
|
11112
|
-
/**
|
|
11113
|
-
* <p>One or more filters.</p>
|
|
11114
|
-
* <ul>
|
|
11115
|
-
* <li>
|
|
11116
|
-
* <p>
|
|
11117
|
-
* <code>availability-zone</code> - The Availability Zone where the Reserved Instance can be used.</p>
|
|
11118
|
-
* </li>
|
|
11119
|
-
* <li>
|
|
11120
|
-
* <p>
|
|
11121
|
-
* <code>duration</code> - The duration of the Reserved Instance (one year or three years), in seconds (<code>31536000</code> | <code>94608000</code>).</p>
|
|
11122
|
-
* </li>
|
|
11123
|
-
* <li>
|
|
11124
|
-
* <p>
|
|
11125
|
-
* <code>end</code> - The time when the Reserved Instance expires (for example, 2015-08-07T11:54:42.000Z).</p>
|
|
11126
|
-
* </li>
|
|
11127
|
-
* <li>
|
|
11128
|
-
* <p>
|
|
11129
|
-
* <code>fixed-price</code> - The purchase price of the Reserved Instance (for example, 9800.0).</p>
|
|
11130
|
-
* </li>
|
|
11131
|
-
* <li>
|
|
11132
|
-
* <p>
|
|
11133
|
-
* <code>instance-type</code> - The instance type that is covered by the reservation.</p>
|
|
11134
|
-
* </li>
|
|
11135
|
-
* <li>
|
|
11136
|
-
* <p>
|
|
11137
|
-
* <code>scope</code> - The scope of the Reserved Instance (<code>Region</code> or <code>Availability Zone</code>).</p>
|
|
11138
|
-
* </li>
|
|
11139
|
-
* <li>
|
|
11140
|
-
* <p>
|
|
11141
|
-
* <code>product-description</code> - The Reserved Instance product platform description
|
|
11142
|
-
* (<code>Linux/UNIX</code> | <code>Linux with SQL Server Standard</code> |
|
|
11143
|
-
* <code>Linux with SQL Server Web</code> | <code>Linux with SQL Server Enterprise</code> |
|
|
11144
|
-
* <code>SUSE Linux</code> |
|
|
11145
|
-
* <code>Red Hat Enterprise Linux</code> | <code>Red Hat Enterprise Linux with HA</code> |
|
|
11146
|
-
* <code>Windows</code> | <code>Windows with SQL Server Standard</code> |
|
|
11147
|
-
* <code>Windows with SQL Server Web</code> | <code>Windows with SQL Server Enterprise</code>).</p>
|
|
11148
|
-
* </li>
|
|
11149
|
-
* <li>
|
|
11150
|
-
* <p>
|
|
11151
|
-
* <code>reserved-instances-id</code> - The ID of the Reserved Instance.</p>
|
|
11152
|
-
* </li>
|
|
11153
|
-
* <li>
|
|
11154
|
-
* <p>
|
|
11155
|
-
* <code>start</code> - The time at which the Reserved Instance purchase request was placed (for example, 2014-08-07T11:54:42.000Z).</p>
|
|
11156
|
-
* </li>
|
|
11157
|
-
* <li>
|
|
11158
|
-
* <p>
|
|
11159
|
-
* <code>state</code> - The state of the Reserved Instance (<code>payment-pending</code> | <code>active</code> | <code>payment-failed</code> | <code>retired</code>).</p>
|
|
11160
|
-
* </li>
|
|
11161
|
-
* <li>
|
|
11162
|
-
* <p>
|
|
11163
|
-
* <code>tag:<key></code> - The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value.
|
|
11164
|
-
* 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>
|
|
11165
|
-
* </li>
|
|
11166
|
-
* <li>
|
|
11167
|
-
* <p>
|
|
11168
|
-
* <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>
|
|
11169
|
-
* </li>
|
|
11170
|
-
* <li>
|
|
11171
|
-
* <p>
|
|
11172
|
-
* <code>usage-price</code> - The usage price of the Reserved Instance, per hour (for example, 0.84).</p>
|
|
11173
|
-
* </li>
|
|
11174
|
-
* </ul>
|
|
11175
|
-
* @public
|
|
11176
|
-
*/
|
|
11177
|
-
Filters?: Filter[] | undefined;
|
|
11178
|
-
/**
|
|
11179
|
-
* <p>The Reserved Instance offering type. If you are using tools that predate the 2011-11-01 API
|
|
11180
|
-
* version, you only have access to the <code>Medium Utilization</code> Reserved Instance
|
|
11181
|
-
* offering type.</p>
|
|
11182
|
-
* @public
|
|
11183
|
-
*/
|
|
11184
|
-
OfferingType?: OfferingTypeValues | undefined;
|
|
11185
|
-
}
|
|
11186
11149
|
/**
|
|
11187
11150
|
* @internal
|
|
11188
11151
|
*/
|