@aws-sdk/client-ec2 3.42.0 → 3.43.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/CHANGELOG.md +11 -0
- package/dist-cjs/EC2.js +15 -0
- package/dist-cjs/commands/CreateVpcEndpointConnectionNotificationCommand.js +2 -1
- package/dist-cjs/commands/DescribeHostReservationsCommand.js +2 -1
- package/dist-cjs/commands/DescribeHostsCommand.js +1 -2
- package/dist-cjs/commands/DescribeStaleSecurityGroupsCommand.js +2 -1
- package/dist-cjs/commands/DescribeStoreImageTasksCommand.js +3 -3
- package/dist-cjs/commands/DescribeSubnetsCommand.js +1 -2
- package/dist-cjs/commands/ModifyInstanceAttributeCommand.js +2 -2
- package/dist-cjs/commands/ModifyInstanceCapacityReservationAttributesCommand.js +3 -3
- package/dist-cjs/commands/ModifyPrivateDnsNameOptionsCommand.js +36 -0
- package/dist-cjs/commands/index.js +1 -0
- package/dist-cjs/models/models_0.js +13 -14
- package/dist-cjs/models/models_1.js +29 -26
- package/dist-cjs/models/models_2.js +27 -31
- package/dist-cjs/models/models_3.js +37 -36
- package/dist-cjs/models/models_4.js +36 -36
- package/dist-cjs/models/models_5.js +53 -5
- package/dist-cjs/protocols/Aws_ec2.js +235 -12
- package/dist-es/EC2.js +15 -0
- package/dist-es/commands/CreateVpcEndpointConnectionNotificationCommand.js +2 -1
- package/dist-es/commands/DescribeHostReservationsCommand.js +2 -1
- package/dist-es/commands/DescribeHostsCommand.js +1 -2
- package/dist-es/commands/DescribeStaleSecurityGroupsCommand.js +2 -1
- package/dist-es/commands/DescribeStoreImageTasksCommand.js +1 -1
- package/dist-es/commands/DescribeSubnetsCommand.js +1 -2
- package/dist-es/commands/ModifyInstanceAttributeCommand.js +1 -1
- package/dist-es/commands/ModifyInstanceCapacityReservationAttributesCommand.js +1 -1
- package/dist-es/commands/ModifyPrivateDnsNameOptionsCommand.js +39 -0
- package/dist-es/commands/index.js +1 -0
- package/dist-es/models/models_0.js +9 -8
- package/dist-es/models/models_1.js +16 -17
- package/dist-es/models/models_2.js +17 -19
- package/dist-es/models/models_3.js +23 -20
- package/dist-es/models/models_4.js +20 -20
- package/dist-es/models/models_5.js +32 -0
- package/dist-es/protocols/Aws_ec2.js +229 -0
- package/dist-types/EC2.d.ts +20 -12
- package/dist-types/EC2Client.d.ts +3 -2
- package/dist-types/commands/AuthorizeSecurityGroupEgressCommand.d.ts +1 -1
- package/dist-types/commands/CreateVpcEndpointConnectionNotificationCommand.d.ts +2 -1
- package/dist-types/commands/DescribeHostReservationsCommand.d.ts +2 -1
- package/dist-types/commands/DescribeHostsCommand.d.ts +1 -2
- package/dist-types/commands/DescribeInstanceStatusCommand.d.ts +3 -2
- package/dist-types/commands/DescribeStaleSecurityGroupsCommand.d.ts +2 -1
- package/dist-types/commands/DescribeStoreImageTasksCommand.d.ts +1 -1
- package/dist-types/commands/DescribeSubnetsCommand.d.ts +1 -2
- package/dist-types/commands/ModifyInstanceAttributeCommand.d.ts +2 -2
- package/dist-types/commands/ModifyInstanceCapacityReservationAttributesCommand.d.ts +1 -1
- package/dist-types/commands/ModifyPrivateDnsNameOptionsCommand.d.ts +35 -0
- package/dist-types/commands/MonitorInstancesCommand.d.ts +2 -2
- package/dist-types/commands/RebootInstancesCommand.d.ts +2 -2
- package/dist-types/commands/SendDiagnosticInterruptCommand.d.ts +1 -1
- package/dist-types/commands/StartInstancesCommand.d.ts +2 -2
- package/dist-types/commands/StopInstancesCommand.d.ts +1 -1
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +99 -75
- package/dist-types/models/models_1.d.ts +127 -68
- package/dist-types/models/models_2.d.ts +120 -189
- package/dist-types/models/models_3.d.ts +195 -230
- package/dist-types/models/models_4.d.ts +236 -204
- package/dist-types/models/models_5.d.ts +310 -14
- package/dist-types/protocols/Aws_ec2.d.ts +3 -0
- package/dist-types/ts3.4/EC2.d.ts +5 -0
- package/dist-types/ts3.4/EC2Client.d.ts +3 -2
- package/dist-types/ts3.4/commands/CreateVpcEndpointConnectionNotificationCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/DescribeHostReservationsCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/DescribeHostsCommand.d.ts +1 -2
- package/dist-types/ts3.4/commands/DescribeStaleSecurityGroupsCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/DescribeStoreImageTasksCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeSubnetsCommand.d.ts +1 -2
- package/dist-types/ts3.4/commands/ModifyInstanceAttributeCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ModifyInstanceCapacityReservationAttributesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ModifyPrivateDnsNameOptionsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +23 -22
- package/dist-types/ts3.4/models/models_1.d.ts +62 -40
- package/dist-types/ts3.4/models/models_2.d.ts +38 -65
- package/dist-types/ts3.4/models/models_3.d.ts +84 -75
- package/dist-types/ts3.4/models/models_4.d.ts +76 -83
- package/dist-types/ts3.4/models/models_5.d.ts +129 -3
- package/dist-types/ts3.4/protocols/Aws_ec2.d.ts +3 -0
- package/package.json +2 -2
|
@@ -1,5 +1,70 @@
|
|
|
1
1
|
import { _InstanceType, AccountAttribute, AccountAttributeName, ActiveInstance, Address, AddressAttribute, AddressAttributeName, AssociationStatus, BundleTask, ByoipCidr, CapacityReservation, CapacityReservationFleetState, CarrierGateway, ClientVpnAuthenticationType, ClientVpnAuthorizationRuleStatus, ClientVpnEndpointStatus, ClientVpnRouteStatus, CurrencyCodeValues, CustomerGateway, DefaultTargetCapacityType, DhcpOptions, EgressOnlyInternetGateway, FleetCapacityReservation, FleetCapacityReservationTenancy, FleetCapacityReservationUsageStrategy, FleetExcessCapacityTerminationPolicy, FleetInstanceMatchCriteria, FleetLaunchTemplateSpecification, FleetOnDemandAllocationStrategy, FleetReplacementStrategy, FleetType, GatewayType, InstanceEventWindowState, SpotAllocationStrategy, SpotInstanceInterruptionBehavior, Tag, TagSpecification, TargetCapacityUnitType, TransitGatewayPeeringAttachment, TransitGatewayVpcAttachment, TransportProtocol, UnsuccessfulItem, VpcAttachment, VpcPeeringConnection } from "./models_0";
|
|
2
2
|
import { DestinationFileFormat, DiskImageFormat, ExportTask, FleetLaunchTemplateOverrides, GroupIdentifier, InstanceLifecycle, LaunchTemplate, LaunchTemplateAndOverridesResponse, LocalGatewayRoute, LocalGatewayRouteTableVpcAssociation, LogDestinationType, ManagedPrefixList, PlatformValues, SubnetCidrReservation, TrafficType, TransitGateway, TransitGatewayConnect, TransitGatewayConnectPeer, TransitGatewayMulticastDomain, TransitGatewayPrefixListReference, TransitGatewayRoute, TransitGatewayRouteTable } from "./models_1";
|
|
3
|
+
export declare enum ConnectionNotificationState {
|
|
4
|
+
Disabled = "Disabled",
|
|
5
|
+
Enabled = "Enabled"
|
|
6
|
+
}
|
|
7
|
+
export declare enum ConnectionNotificationType {
|
|
8
|
+
Topic = "Topic"
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* <p>Describes a connection notification for a VPC endpoint or VPC endpoint
|
|
12
|
+
* service.</p>
|
|
13
|
+
*/
|
|
14
|
+
export interface ConnectionNotification {
|
|
15
|
+
/**
|
|
16
|
+
* <p>The ID of the notification.</p>
|
|
17
|
+
*/
|
|
18
|
+
ConnectionNotificationId?: string;
|
|
19
|
+
/**
|
|
20
|
+
* <p>The ID of the endpoint service.</p>
|
|
21
|
+
*/
|
|
22
|
+
ServiceId?: string;
|
|
23
|
+
/**
|
|
24
|
+
* <p>The ID of the VPC endpoint.</p>
|
|
25
|
+
*/
|
|
26
|
+
VpcEndpointId?: string;
|
|
27
|
+
/**
|
|
28
|
+
* <p>The type of notification.</p>
|
|
29
|
+
*/
|
|
30
|
+
ConnectionNotificationType?: ConnectionNotificationType | string;
|
|
31
|
+
/**
|
|
32
|
+
* <p>The ARN of the SNS topic for the notification.</p>
|
|
33
|
+
*/
|
|
34
|
+
ConnectionNotificationArn?: string;
|
|
35
|
+
/**
|
|
36
|
+
* <p>The events for the notification. Valid values are <code>Accept</code>,
|
|
37
|
+
* <code>Connect</code>, <code>Delete</code>, and <code>Reject</code>.</p>
|
|
38
|
+
*/
|
|
39
|
+
ConnectionEvents?: string[];
|
|
40
|
+
/**
|
|
41
|
+
* <p>The state of the notification.</p>
|
|
42
|
+
*/
|
|
43
|
+
ConnectionNotificationState?: ConnectionNotificationState | string;
|
|
44
|
+
}
|
|
45
|
+
export declare namespace ConnectionNotification {
|
|
46
|
+
/**
|
|
47
|
+
* @internal
|
|
48
|
+
*/
|
|
49
|
+
const filterSensitiveLog: (obj: ConnectionNotification) => any;
|
|
50
|
+
}
|
|
51
|
+
export interface CreateVpcEndpointConnectionNotificationResult {
|
|
52
|
+
/**
|
|
53
|
+
* <p>Information about the notification.</p>
|
|
54
|
+
*/
|
|
55
|
+
ConnectionNotification?: ConnectionNotification;
|
|
56
|
+
/**
|
|
57
|
+
* <p>Unique, case-sensitive identifier that you provide to ensure the idempotency of the
|
|
58
|
+
* request.</p>
|
|
59
|
+
*/
|
|
60
|
+
ClientToken?: string;
|
|
61
|
+
}
|
|
62
|
+
export declare namespace CreateVpcEndpointConnectionNotificationResult {
|
|
63
|
+
/**
|
|
64
|
+
* @internal
|
|
65
|
+
*/
|
|
66
|
+
const filterSensitiveLog: (obj: CreateVpcEndpointConnectionNotificationResult) => any;
|
|
67
|
+
}
|
|
3
68
|
export interface CreateVpcEndpointServiceConfigurationRequest {
|
|
4
69
|
/**
|
|
5
70
|
* <p>Checks whether you have the required permissions for the action, without actually making the request,
|
|
@@ -2337,6 +2402,7 @@ export interface DeleteTagsRequest {
|
|
|
2337
2402
|
* <p>If you omit this parameter, we delete all user-defined tags for the specified
|
|
2338
2403
|
* resources. We do not delete Amazon Web Services-generated tags (tags that have the <code>aws:</code>
|
|
2339
2404
|
* prefix).</p>
|
|
2405
|
+
* <p>Constraints: Up to 1000 tags.</p>
|
|
2340
2406
|
*/
|
|
2341
2407
|
Tags?: Tag[];
|
|
2342
2408
|
}
|
|
@@ -6482,31 +6548,42 @@ export declare namespace CapacityReservationOptions {
|
|
|
6482
6548
|
*/
|
|
6483
6549
|
export interface OnDemandOptions {
|
|
6484
6550
|
/**
|
|
6485
|
-
* <p>The order of the launch template overrides to use in
|
|
6486
|
-
*
|
|
6487
|
-
*
|
|
6488
|
-
*
|
|
6489
|
-
*
|
|
6551
|
+
* <p>The strategy that determines the order of the launch template overrides to use in
|
|
6552
|
+
* fulfilling On-Demand capacity.</p>
|
|
6553
|
+
* <p>
|
|
6554
|
+
* <code>lowest-price</code> - EC2 Fleet uses price to determine the order, launching the lowest
|
|
6555
|
+
* price first.</p>
|
|
6556
|
+
* <p>
|
|
6557
|
+
* <code>prioritized</code> - EC2 Fleet uses the priority that you assigned to each launch
|
|
6558
|
+
* template override, launching the highest priority first.</p>
|
|
6559
|
+
* <p>Default: <code>lowest-price</code>
|
|
6560
|
+
* </p>
|
|
6490
6561
|
*/
|
|
6491
6562
|
AllocationStrategy?: FleetOnDemandAllocationStrategy | string;
|
|
6492
6563
|
/**
|
|
6493
|
-
* <p>The strategy for using unused Capacity Reservations for fulfilling On-Demand
|
|
6494
|
-
*
|
|
6564
|
+
* <p>The strategy for using unused Capacity Reservations for fulfilling On-Demand
|
|
6565
|
+
* capacity.</p>
|
|
6566
|
+
* <p>Supported only for fleets of type <code>instant</code>.</p>
|
|
6495
6567
|
*/
|
|
6496
6568
|
CapacityReservationOptions?: CapacityReservationOptions;
|
|
6497
6569
|
/**
|
|
6498
|
-
* <p>Indicates that the fleet uses a single instance type to launch all On-Demand Instances in the
|
|
6499
|
-
*
|
|
6570
|
+
* <p>Indicates that the fleet uses a single instance type to launch all On-Demand Instances in the
|
|
6571
|
+
* fleet.</p>
|
|
6572
|
+
* <p>Supported only for fleets of type <code>instant</code>.</p>
|
|
6500
6573
|
*/
|
|
6501
6574
|
SingleInstanceType?: boolean;
|
|
6502
6575
|
/**
|
|
6503
|
-
* <p>Indicates that the fleet launches all On-Demand Instances into a single Availability Zone
|
|
6504
|
-
* only for fleets of type <code>instant</code>.</p>
|
|
6576
|
+
* <p>Indicates that the fleet launches all On-Demand Instances into a single Availability Zone.</p>
|
|
6577
|
+
* <p>Supported only for fleets of type <code>instant</code>.</p>
|
|
6505
6578
|
*/
|
|
6506
6579
|
SingleAvailabilityZone?: boolean;
|
|
6507
6580
|
/**
|
|
6508
6581
|
* <p>The minimum target capacity for On-Demand Instances in the fleet. If the minimum target capacity is
|
|
6509
6582
|
* not reached, the fleet launches no instances.</p>
|
|
6583
|
+
* <p>Supported only for fleets of type <code>instant</code>.</p>
|
|
6584
|
+
* <p>At least one of the following must be specified: <code>SingleAvailabilityZone</code> |
|
|
6585
|
+
* <code>SingleInstanceType</code>
|
|
6586
|
+
* </p>
|
|
6510
6587
|
*/
|
|
6511
6588
|
MinTargetCapacity?: number;
|
|
6512
6589
|
/**
|
|
@@ -6544,6 +6621,8 @@ export interface FleetSpotCapacityRebalance {
|
|
|
6544
6621
|
/**
|
|
6545
6622
|
* <p>The amount of time (in seconds) that Amazon EC2 waits before terminating the old Spot
|
|
6546
6623
|
* Instance after launching a new replacement Spot Instance.</p>
|
|
6624
|
+
* <p>Valid only when <code>replacementStrategy</code> is set to <code>launch-before-terminate</code>.</p>
|
|
6625
|
+
* <p>Valid values: Minimum value of <code>120</code> seconds. Maximum value of <code>7200</code> seconds.</p>
|
|
6547
6626
|
*/
|
|
6548
6627
|
TerminationDelay?: number;
|
|
6549
6628
|
}
|
|
@@ -6575,15 +6654,18 @@ export declare namespace FleetSpotMaintenanceStrategies {
|
|
|
6575
6654
|
*/
|
|
6576
6655
|
export interface SpotOptions {
|
|
6577
6656
|
/**
|
|
6578
|
-
* <p>
|
|
6579
|
-
* the EC2 Fleet.</p>
|
|
6580
|
-
* <p>
|
|
6581
|
-
*
|
|
6582
|
-
*
|
|
6583
|
-
*
|
|
6584
|
-
*
|
|
6585
|
-
*
|
|
6586
|
-
*
|
|
6657
|
+
* <p>The strategy that determines how to allocate the target Spot Instance capacity across the Spot Instance
|
|
6658
|
+
* pools specified by the EC2 Fleet.</p>
|
|
6659
|
+
* <p>
|
|
6660
|
+
* <code>lowest-price</code> - EC2 Fleet launches instances from the Spot Instance pools with the lowest
|
|
6661
|
+
* price.</p>
|
|
6662
|
+
* <p>
|
|
6663
|
+
* <code>diversified</code> - EC2 Fleet launches instances from all of the Spot Instance pools that you
|
|
6664
|
+
* specify.</p>
|
|
6665
|
+
* <p>
|
|
6666
|
+
* <code>capacity-optimized</code> (recommended) - EC2 Fleet launches instances from Spot Instance pools
|
|
6667
|
+
* with optimal capacity for the number of instances that are launching. To give certain
|
|
6668
|
+
* instance types a higher chance of launching first, use
|
|
6587
6669
|
* <code>capacity-optimized-prioritized</code>. Set a priority for each instance type by
|
|
6588
6670
|
* using the <code>Priority</code> parameter for <code>LaunchTemplateOverrides</code>. You can
|
|
6589
6671
|
* assign the same priority to different <code>LaunchTemplateOverrides</code>. EC2 implements
|
|
@@ -6592,6 +6674,8 @@ export interface SpotOptions {
|
|
|
6592
6674
|
* launch template. Note that if the On-Demand <code>AllocationStrategy</code> is set to
|
|
6593
6675
|
* <code>prioritized</code>, the same priority is applied when fulfilling On-Demand
|
|
6594
6676
|
* capacity.</p>
|
|
6677
|
+
* <p>Default: <code>lowest-price</code>
|
|
6678
|
+
* </p>
|
|
6595
6679
|
*/
|
|
6596
6680
|
AllocationStrategy?: SpotAllocationStrategy | string;
|
|
6597
6681
|
/**
|
|
@@ -6600,14 +6684,16 @@ export interface SpotOptions {
|
|
|
6600
6684
|
*/
|
|
6601
6685
|
MaintenanceStrategies?: FleetSpotMaintenanceStrategies;
|
|
6602
6686
|
/**
|
|
6603
|
-
* <p>The behavior when a Spot Instance is interrupted
|
|
6687
|
+
* <p>The behavior when a Spot Instance is interrupted.</p>
|
|
6688
|
+
* <p>Default: <code>terminate</code>
|
|
6689
|
+
* </p>
|
|
6604
6690
|
*/
|
|
6605
6691
|
InstanceInterruptionBehavior?: SpotInstanceInterruptionBehavior | string;
|
|
6606
6692
|
/**
|
|
6607
|
-
* <p>The number of Spot pools across which to allocate your target Spot capacity.
|
|
6608
|
-
* when <
|
|
6609
|
-
*
|
|
6610
|
-
*
|
|
6693
|
+
* <p>The number of Spot pools across which to allocate your target Spot capacity. Supported
|
|
6694
|
+
* only when <code>AllocationStrategy</code> is set to <code>lowest-price</code>. EC2 Fleet selects
|
|
6695
|
+
* the cheapest Spot pools and evenly allocates your target Spot capacity across the number of
|
|
6696
|
+
* Spot pools that you specify.</p>
|
|
6611
6697
|
* <p>Note that EC2 Fleet attempts to draw Spot Instances from the number of pools that you specify on a
|
|
6612
6698
|
* best effort basis. If a pool runs out of Spot capacity before fulfilling your target
|
|
6613
6699
|
* capacity, EC2 Fleet will continue to fulfill your request by drawing from the next cheapest
|
|
@@ -6618,18 +6704,23 @@ export interface SpotOptions {
|
|
|
6618
6704
|
*/
|
|
6619
6705
|
InstancePoolsToUseCount?: number;
|
|
6620
6706
|
/**
|
|
6621
|
-
* <p>Indicates that the fleet uses a single instance type to launch all Spot Instances in the
|
|
6622
|
-
*
|
|
6707
|
+
* <p>Indicates that the fleet uses a single instance type to launch all Spot Instances in the
|
|
6708
|
+
* fleet.</p>
|
|
6709
|
+
* <p>Supported only for fleets of type <code>instant</code>.</p>
|
|
6623
6710
|
*/
|
|
6624
6711
|
SingleInstanceType?: boolean;
|
|
6625
6712
|
/**
|
|
6626
|
-
* <p>Indicates that the fleet launches all Spot Instances into a single Availability Zone
|
|
6627
|
-
* only for fleets of type <code>instant</code>.</p>
|
|
6713
|
+
* <p>Indicates that the fleet launches all Spot Instances into a single Availability Zone.</p>
|
|
6714
|
+
* <p>Supported only for fleets of type <code>instant</code>.</p>
|
|
6628
6715
|
*/
|
|
6629
6716
|
SingleAvailabilityZone?: boolean;
|
|
6630
6717
|
/**
|
|
6631
6718
|
* <p>The minimum target capacity for Spot Instances in the fleet. If the minimum target capacity is
|
|
6632
6719
|
* not reached, the fleet launches no instances.</p>
|
|
6720
|
+
* <p>Supported only for fleets of type <code>instant</code>.</p>
|
|
6721
|
+
* <p>At least one of the following must be specified: <code>SingleAvailabilityZone</code> |
|
|
6722
|
+
* <code>SingleInstanceType</code>
|
|
6723
|
+
* </p>
|
|
6633
6724
|
*/
|
|
6634
6725
|
MinTargetCapacity?: number;
|
|
6635
6726
|
/**
|
|
@@ -7526,163 +7617,3 @@ export declare namespace DescribeHostReservationsRequest {
|
|
|
7526
7617
|
*/
|
|
7527
7618
|
const filterSensitiveLog: (obj: DescribeHostReservationsRequest) => any;
|
|
7528
7619
|
}
|
|
7529
|
-
export declare enum ReservationState {
|
|
7530
|
-
ACTIVE = "active",
|
|
7531
|
-
PAYMENT_FAILED = "payment-failed",
|
|
7532
|
-
PAYMENT_PENDING = "payment-pending",
|
|
7533
|
-
RETIRED = "retired"
|
|
7534
|
-
}
|
|
7535
|
-
/**
|
|
7536
|
-
* <p>Details about the Dedicated Host Reservation and associated Dedicated
|
|
7537
|
-
* Hosts.</p>
|
|
7538
|
-
*/
|
|
7539
|
-
export interface HostReservation {
|
|
7540
|
-
/**
|
|
7541
|
-
* <p>The number of Dedicated Hosts the reservation is associated with.</p>
|
|
7542
|
-
*/
|
|
7543
|
-
Count?: number;
|
|
7544
|
-
/**
|
|
7545
|
-
* <p>The currency in which the <code>upfrontPrice</code> and <code>hourlyPrice</code>
|
|
7546
|
-
* amounts are specified. At this time, the only supported currency is
|
|
7547
|
-
* <code>USD</code>.</p>
|
|
7548
|
-
*/
|
|
7549
|
-
CurrencyCode?: CurrencyCodeValues | string;
|
|
7550
|
-
/**
|
|
7551
|
-
* <p>The length of the reservation's term, specified in seconds. Can be <code>31536000
|
|
7552
|
-
* (1 year)</code> | <code>94608000 (3 years)</code>.</p>
|
|
7553
|
-
*/
|
|
7554
|
-
Duration?: number;
|
|
7555
|
-
/**
|
|
7556
|
-
* <p>The date and time that the reservation ends.</p>
|
|
7557
|
-
*/
|
|
7558
|
-
End?: Date;
|
|
7559
|
-
/**
|
|
7560
|
-
* <p>The IDs of the Dedicated Hosts associated with the reservation.</p>
|
|
7561
|
-
*/
|
|
7562
|
-
HostIdSet?: string[];
|
|
7563
|
-
/**
|
|
7564
|
-
* <p>The ID of the reservation that specifies the associated Dedicated Hosts.</p>
|
|
7565
|
-
*/
|
|
7566
|
-
HostReservationId?: string;
|
|
7567
|
-
/**
|
|
7568
|
-
* <p>The hourly price of the reservation.</p>
|
|
7569
|
-
*/
|
|
7570
|
-
HourlyPrice?: string;
|
|
7571
|
-
/**
|
|
7572
|
-
* <p>The instance family of the Dedicated Host Reservation. The instance family on the
|
|
7573
|
-
* Dedicated Host must be the same in order for it to benefit from the
|
|
7574
|
-
* reservation.</p>
|
|
7575
|
-
*/
|
|
7576
|
-
InstanceFamily?: string;
|
|
7577
|
-
/**
|
|
7578
|
-
* <p>The ID of the reservation. This remains the same regardless of which Dedicated
|
|
7579
|
-
* Hosts are associated with it.</p>
|
|
7580
|
-
*/
|
|
7581
|
-
OfferingId?: string;
|
|
7582
|
-
/**
|
|
7583
|
-
* <p>The payment option selected for this reservation.</p>
|
|
7584
|
-
*/
|
|
7585
|
-
PaymentOption?: PaymentOption | string;
|
|
7586
|
-
/**
|
|
7587
|
-
* <p>The date and time that the reservation started.</p>
|
|
7588
|
-
*/
|
|
7589
|
-
Start?: Date;
|
|
7590
|
-
/**
|
|
7591
|
-
* <p>The state of the reservation.</p>
|
|
7592
|
-
*/
|
|
7593
|
-
State?: ReservationState | string;
|
|
7594
|
-
/**
|
|
7595
|
-
* <p>The upfront price of the reservation.</p>
|
|
7596
|
-
*/
|
|
7597
|
-
UpfrontPrice?: string;
|
|
7598
|
-
/**
|
|
7599
|
-
* <p>Any tags assigned to the Dedicated Host Reservation.</p>
|
|
7600
|
-
*/
|
|
7601
|
-
Tags?: Tag[];
|
|
7602
|
-
}
|
|
7603
|
-
export declare namespace HostReservation {
|
|
7604
|
-
/**
|
|
7605
|
-
* @internal
|
|
7606
|
-
*/
|
|
7607
|
-
const filterSensitiveLog: (obj: HostReservation) => any;
|
|
7608
|
-
}
|
|
7609
|
-
export interface DescribeHostReservationsResult {
|
|
7610
|
-
/**
|
|
7611
|
-
* <p>Details about the reservation's configuration.</p>
|
|
7612
|
-
*/
|
|
7613
|
-
HostReservationSet?: HostReservation[];
|
|
7614
|
-
/**
|
|
7615
|
-
* <p>The token to use to retrieve the next page of results. This value is <code>null</code> when there are no more results to return.</p>
|
|
7616
|
-
*/
|
|
7617
|
-
NextToken?: string;
|
|
7618
|
-
}
|
|
7619
|
-
export declare namespace DescribeHostReservationsResult {
|
|
7620
|
-
/**
|
|
7621
|
-
* @internal
|
|
7622
|
-
*/
|
|
7623
|
-
const filterSensitiveLog: (obj: DescribeHostReservationsResult) => any;
|
|
7624
|
-
}
|
|
7625
|
-
export interface DescribeHostsRequest {
|
|
7626
|
-
/**
|
|
7627
|
-
* <p>The filters.</p>
|
|
7628
|
-
* <ul>
|
|
7629
|
-
* <li>
|
|
7630
|
-
* <p>
|
|
7631
|
-
* <code>auto-placement</code> - Whether auto-placement is enabled or disabled
|
|
7632
|
-
* (<code>on</code> | <code>off</code>).</p>
|
|
7633
|
-
* </li>
|
|
7634
|
-
* <li>
|
|
7635
|
-
* <p>
|
|
7636
|
-
* <code>availability-zone</code> - The Availability Zone of the
|
|
7637
|
-
* host.</p>
|
|
7638
|
-
* </li>
|
|
7639
|
-
* <li>
|
|
7640
|
-
* <p>
|
|
7641
|
-
* <code>client-token</code> - The idempotency token that you provided when you
|
|
7642
|
-
* allocated the host.</p>
|
|
7643
|
-
* </li>
|
|
7644
|
-
* <li>
|
|
7645
|
-
* <p>
|
|
7646
|
-
* <code>host-reservation-id</code> - The ID of the reservation assigned to
|
|
7647
|
-
* this host.</p>
|
|
7648
|
-
* </li>
|
|
7649
|
-
* <li>
|
|
7650
|
-
* <p>
|
|
7651
|
-
* <code>instance-type</code> - The instance type size that the Dedicated Host
|
|
7652
|
-
* is configured to support.</p>
|
|
7653
|
-
* </li>
|
|
7654
|
-
* <li>
|
|
7655
|
-
* <p>
|
|
7656
|
-
* <code>state</code> - The allocation state of the Dedicated Host
|
|
7657
|
-
* (<code>available</code> | <code>under-assessment</code> |
|
|
7658
|
-
* <code>permanent-failure</code> | <code>released</code> |
|
|
7659
|
-
* <code>released-permanent-failure</code>).</p>
|
|
7660
|
-
* </li>
|
|
7661
|
-
* <li>
|
|
7662
|
-
* <p>
|
|
7663
|
-
* <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>
|
|
7664
|
-
* </li>
|
|
7665
|
-
* </ul>
|
|
7666
|
-
*/
|
|
7667
|
-
Filter?: Filter[];
|
|
7668
|
-
/**
|
|
7669
|
-
* <p>The IDs of the Dedicated Hosts. The IDs are used for targeted instance
|
|
7670
|
-
* launches.</p>
|
|
7671
|
-
*/
|
|
7672
|
-
HostIds?: string[];
|
|
7673
|
-
/**
|
|
7674
|
-
* <p>The maximum number of results to return for the request in a single page. The remaining results can be seen by sending another request with the returned <code>nextToken</code> value. This value can be between 5 and 500. If <code>maxResults</code> is given a larger value than 500, you receive an error.</p>
|
|
7675
|
-
* <p>You cannot specify this parameter and the host IDs parameter in the same request.</p>
|
|
7676
|
-
*/
|
|
7677
|
-
MaxResults?: number;
|
|
7678
|
-
/**
|
|
7679
|
-
* <p>The token to use to retrieve the next page of results.</p>
|
|
7680
|
-
*/
|
|
7681
|
-
NextToken?: string;
|
|
7682
|
-
}
|
|
7683
|
-
export declare namespace DescribeHostsRequest {
|
|
7684
|
-
/**
|
|
7685
|
-
* @internal
|
|
7686
|
-
*/
|
|
7687
|
-
const filterSensitiveLog: (obj: DescribeHostsRequest) => any;
|
|
7688
|
-
}
|