@aws-sdk/client-ec2 3.58.0 → 3.69.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 +30 -0
- package/README.md +2 -2
- package/dist-cjs/EC2.js +15 -0
- package/dist-cjs/commands/CreateTransitGatewayConnectCommand.js +2 -1
- package/dist-cjs/commands/DescribeCoipPoolsCommand.js +2 -1
- package/dist-cjs/commands/DescribeConversionTasksCommand.js +1 -2
- package/dist-cjs/commands/DescribeReplaceRootVolumeTasksCommand.js +3 -3
- package/dist-cjs/commands/DescribeReservedInstancesCommand.js +1 -2
- package/dist-cjs/commands/GetGroupsForCapacityReservationCommand.js +3 -3
- package/dist-cjs/commands/GetHostReservationPurchasePreviewCommand.js +1 -2
- package/dist-cjs/commands/ModifyInstanceMaintenanceOptionsCommand.js +36 -0
- package/dist-cjs/commands/ResetAddressAttributeCommand.js +3 -3
- package/dist-cjs/commands/ResetEbsDefaultKmsKeyIdCommand.js +3 -3
- package/dist-cjs/commands/ResetFpgaImageAttributeCommand.js +3 -3
- package/dist-cjs/commands/index.js +1 -0
- package/dist-cjs/models/models_1.js +22 -23
- package/dist-cjs/models/models_2.js +24 -24
- package/dist-cjs/models/models_3.js +35 -29
- package/dist-cjs/models/models_4.js +29 -36
- package/dist-cjs/models/models_5.js +48 -42
- package/dist-cjs/models/models_6.js +44 -2
- package/dist-cjs/protocols/Aws_ec2.js +139 -13
- package/dist-es/EC2.js +15 -0
- package/dist-es/commands/CreateTransitGatewayConnectCommand.js +2 -1
- package/dist-es/commands/DescribeCoipPoolsCommand.js +2 -1
- package/dist-es/commands/DescribeConversionTasksCommand.js +1 -2
- package/dist-es/commands/DescribeReplaceRootVolumeTasksCommand.js +1 -1
- package/dist-es/commands/DescribeReservedInstancesCommand.js +1 -2
- package/dist-es/commands/GetGroupsForCapacityReservationCommand.js +1 -1
- package/dist-es/commands/GetHostReservationPurchasePreviewCommand.js +1 -2
- package/dist-es/commands/ModifyInstanceMaintenanceOptionsCommand.js +39 -0
- package/dist-es/commands/ResetAddressAttributeCommand.js +1 -1
- package/dist-es/commands/ResetEbsDefaultKmsKeyIdCommand.js +1 -1
- package/dist-es/commands/ResetFpgaImageAttributeCommand.js +1 -1
- package/dist-es/commands/index.js +1 -0
- package/dist-es/models/models_1.js +13 -12
- package/dist-es/models/models_2.js +12 -12
- package/dist-es/models/models_3.js +21 -17
- package/dist-es/models/models_4.js +17 -20
- package/dist-es/models/models_5.js +28 -24
- package/dist-es/models/models_6.js +28 -0
- package/dist-es/protocols/Aws_ec2.js +137 -0
- package/dist-types/EC2.d.ts +91 -65
- package/dist-types/EC2Client.d.ts +3 -2
- package/dist-types/commands/CreateLaunchTemplateVersionCommand.d.ts +2 -2
- package/dist-types/commands/CreateTransitGatewayConnectCommand.d.ts +2 -1
- package/dist-types/commands/DeleteLaunchTemplateCommand.d.ts +2 -1
- package/dist-types/commands/DescribeCoipPoolsCommand.d.ts +2 -1
- package/dist-types/commands/DescribeConversionTasksCommand.d.ts +1 -2
- package/dist-types/commands/DescribeInstanceStatusCommand.d.ts +2 -1
- package/dist-types/commands/DescribeInstancesCommand.d.ts +8 -7
- package/dist-types/commands/DescribeReplaceRootVolumeTasksCommand.d.ts +1 -1
- package/dist-types/commands/DescribeReservedInstancesCommand.d.ts +1 -2
- package/dist-types/commands/GetDefaultCreditSpecificationCommand.d.ts +3 -2
- package/dist-types/commands/GetGroupsForCapacityReservationCommand.d.ts +1 -1
- package/dist-types/commands/GetHostReservationPurchasePreviewCommand.d.ts +1 -2
- package/dist-types/commands/GetLaunchTemplateDataCommand.d.ts +7 -5
- package/dist-types/commands/GetPasswordDataCommand.d.ts +1 -1
- package/dist-types/commands/ModifyDefaultCreditSpecificationCommand.d.ts +11 -10
- package/dist-types/commands/ModifyInstanceAttributeCommand.d.ts +2 -1
- package/dist-types/commands/ModifyInstanceMaintenanceOptionsCommand.d.ts +38 -0
- package/dist-types/commands/ModifyInstanceMetadataOptionsCommand.d.ts +2 -2
- package/dist-types/commands/RebootInstancesCommand.d.ts +1 -1
- package/dist-types/commands/ResetAddressAttributeCommand.d.ts +1 -1
- package/dist-types/commands/ResetEbsDefaultKmsKeyIdCommand.d.ts +1 -1
- package/dist-types/commands/ResetFpgaImageAttributeCommand.d.ts +1 -1
- package/dist-types/commands/SendDiagnosticInterruptCommand.d.ts +14 -12
- package/dist-types/commands/StartInstancesCommand.d.ts +5 -4
- package/dist-types/commands/StopInstancesCommand.d.ts +2 -1
- package/dist-types/commands/TerminateInstancesCommand.d.ts +17 -14
- package/dist-types/commands/UnmonitorInstancesCommand.d.ts +2 -1
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +11 -9
- package/dist-types/models/models_1.d.ts +344 -313
- package/dist-types/models/models_2.d.ts +69 -69
- package/dist-types/models/models_3.d.ts +160 -218
- package/dist-types/models/models_4.d.ts +167 -126
- package/dist-types/models/models_5.d.ts +214 -140
- package/dist-types/models/models_6.d.ts +191 -66
- 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/CreateTransitGatewayConnectCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/DescribeCoipPoolsCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/DescribeConversionTasksCommand.d.ts +1 -2
- package/dist-types/ts3.4/commands/DescribeReplaceRootVolumeTasksCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeReservedInstancesCommand.d.ts +1 -2
- package/dist-types/ts3.4/commands/GetGroupsForCapacityReservationCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetHostReservationPurchasePreviewCommand.d.ts +1 -2
- package/dist-types/ts3.4/commands/ModifyInstanceMaintenanceOptionsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ResetAddressAttributeCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ResetEbsDefaultKmsKeyIdCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ResetFpgaImageAttributeCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +1 -1
- package/dist-types/ts3.4/models/models_1.d.ts +27 -39
- package/dist-types/ts3.4/models/models_2.d.ts +40 -39
- package/dist-types/ts3.4/models/models_3.d.ts +53 -49
- package/dist-types/ts3.4/models/models_4.d.ts +51 -71
- package/dist-types/ts3.4/models/models_5.d.ts +93 -60
- package/dist-types/ts3.4/models/models_6.d.ts +70 -2
- package/dist-types/ts3.4/protocols/Aws_ec2.d.ts +3 -0
- package/package.json +3 -3
|
@@ -1,7 +1,167 @@
|
|
|
1
1
|
import { _InstanceType, ActiveInstance, ActivityStatus, AllocationStrategy, AllowedPrincipal, AssociationStatus, BatchState, CapacityReservationState, CurrencyCodeValues, IamInstanceProfileAssociation, IamInstanceProfileSpecification, InstanceEventWindow, IpPermission, ReservedInstancesListing, ResourceType, SecurityGroupRule, Subnet, SubnetIpv6CidrBlockAssociation, Tag, TagSpecification, Tenancy, TransitGatewayAssociation, TransitGatewayAssociationState, TransitGatewayAttachmentResourceType, TransitGatewayAttachmentState, TransitGatewayMulticastDomainAssociations, TransitGatewayPeeringAttachment, TransitGatewayVpcAttachment, TrunkInterfaceAssociation, UserIdGroupPair, Vpc, VpcCidrBlockAssociation, VpcIpv6CidrBlockAssociation, VpcPeeringConnection } from "./models_0";
|
|
2
|
-
import { BlockDeviceMapping, DiskImageFormat, FleetLaunchTemplateSpecification, FleetType, GroupIdentifier, InstanceInterruptionBehavior, InstanceIpv6Address, InstanceRequirements, Ipv4PrefixSpecificationRequest, Ipv6PrefixSpecificationRequest, PrivateIpAddressSpecification, RouteTable, Snapshot, SnapshotState, SpotDatafeedSubscription, SpotInstanceStateFault, SpotInstanceType, StorageTier, TargetCapacityUnitType, TrafficMirrorFilter, TrafficMirrorSession, TrafficMirrorTarget, TransitGateway,
|
|
3
|
-
import { ConnectionNotification, DnsEntry, DnsNameState, Filter, PayerResponsibility, ServiceConfiguration, ServiceTypeDetail, State, TransitGatewayConnectPeer, TransitGatewayMulticastDomain, TransitGatewayRouteTable, Volume, VpcEndpoint, VpnConnection, VpnGateway } from "./models_2";
|
|
4
|
-
import { AttributeBooleanValue, EventInformation, ExportTaskS3Location, FastLaunchLaunchTemplateSpecificationResponse, FastLaunchResourceType, FastLaunchSnapshotConfigurationResponse, FastLaunchStateCode, FastSnapshotRestoreStateCode,
|
|
2
|
+
import { BlockDeviceMapping, DiskImageFormat, FleetLaunchTemplateSpecification, FleetType, GroupIdentifier, InstanceInterruptionBehavior, InstanceIpv6Address, InstanceRequirements, Ipv4PrefixSpecificationRequest, Ipv6PrefixSpecificationRequest, PrivateIpAddressSpecification, ReplaceRootVolumeTask, RouteTable, Snapshot, SnapshotState, SpotDatafeedSubscription, SpotInstanceStateFault, SpotInstanceType, StorageTier, TargetCapacityUnitType, TrafficMirrorFilter, TrafficMirrorSession, TrafficMirrorTarget, TransitGateway, VolumeType } from "./models_1";
|
|
3
|
+
import { ConnectionNotification, DnsEntry, DnsNameState, Filter, PayerResponsibility, ServiceConfiguration, ServiceTypeDetail, State, TransitGatewayConnect, TransitGatewayConnectPeer, TransitGatewayMulticastDomain, TransitGatewayRouteTable, Volume, VpcEndpoint, VpnConnection, VpnGateway } from "./models_2";
|
|
4
|
+
import { AttributeBooleanValue, EventInformation, ExportTaskS3Location, FastLaunchLaunchTemplateSpecificationResponse, FastLaunchResourceType, FastLaunchSnapshotConfigurationResponse, FastLaunchStateCode, FastSnapshotRestoreStateCode, PermissionGroup, ProductCode } from "./models_3";
|
|
5
|
+
export interface DescribeReplaceRootVolumeTasksRequest {
|
|
6
|
+
/**
|
|
7
|
+
* <p>The ID of the root volume replacement task to view.</p>
|
|
8
|
+
*/
|
|
9
|
+
ReplaceRootVolumeTaskIds?: string[];
|
|
10
|
+
/**
|
|
11
|
+
* <p>Filter to use:</p>
|
|
12
|
+
* <ul>
|
|
13
|
+
* <li>
|
|
14
|
+
* <p>
|
|
15
|
+
* <code>instance-id</code> - The ID of the instance for which the root volume replacement task was created.</p>
|
|
16
|
+
* </li>
|
|
17
|
+
* </ul>
|
|
18
|
+
*/
|
|
19
|
+
Filters?: Filter[];
|
|
20
|
+
/**
|
|
21
|
+
* <p>The maximum number of results to return with a single call.
|
|
22
|
+
* To retrieve the remaining results, make another call with the returned <code>nextToken</code> value.</p>
|
|
23
|
+
*/
|
|
24
|
+
MaxResults?: number;
|
|
25
|
+
/**
|
|
26
|
+
* <p>The token for the next page of results.</p>
|
|
27
|
+
*/
|
|
28
|
+
NextToken?: string;
|
|
29
|
+
/**
|
|
30
|
+
* <p>Checks whether you have the required permissions for the action, without actually making the request,
|
|
31
|
+
* and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
|
|
32
|
+
* Otherwise, it is <code>UnauthorizedOperation</code>.</p>
|
|
33
|
+
*/
|
|
34
|
+
DryRun?: boolean;
|
|
35
|
+
}
|
|
36
|
+
export declare namespace DescribeReplaceRootVolumeTasksRequest {
|
|
37
|
+
/**
|
|
38
|
+
* @internal
|
|
39
|
+
*/
|
|
40
|
+
const filterSensitiveLog: (obj: DescribeReplaceRootVolumeTasksRequest) => any;
|
|
41
|
+
}
|
|
42
|
+
export interface DescribeReplaceRootVolumeTasksResult {
|
|
43
|
+
/**
|
|
44
|
+
* <p>Information about the root volume replacement task.</p>
|
|
45
|
+
*/
|
|
46
|
+
ReplaceRootVolumeTasks?: ReplaceRootVolumeTask[];
|
|
47
|
+
/**
|
|
48
|
+
* <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>
|
|
49
|
+
*/
|
|
50
|
+
NextToken?: string;
|
|
51
|
+
}
|
|
52
|
+
export declare namespace DescribeReplaceRootVolumeTasksResult {
|
|
53
|
+
/**
|
|
54
|
+
* @internal
|
|
55
|
+
*/
|
|
56
|
+
const filterSensitiveLog: (obj: DescribeReplaceRootVolumeTasksResult) => any;
|
|
57
|
+
}
|
|
58
|
+
export declare enum OfferingClassType {
|
|
59
|
+
CONVERTIBLE = "convertible",
|
|
60
|
+
STANDARD = "standard"
|
|
61
|
+
}
|
|
62
|
+
export declare type OfferingTypeValues = "All Upfront" | "Heavy Utilization" | "Light Utilization" | "Medium Utilization" | "No Upfront" | "Partial Upfront";
|
|
63
|
+
/**
|
|
64
|
+
* <p>Contains the parameters for DescribeReservedInstances.</p>
|
|
65
|
+
*/
|
|
66
|
+
export interface DescribeReservedInstancesRequest {
|
|
67
|
+
/**
|
|
68
|
+
* <p>One or more filters.</p>
|
|
69
|
+
* <ul>
|
|
70
|
+
* <li>
|
|
71
|
+
* <p>
|
|
72
|
+
* <code>availability-zone</code> - The Availability Zone where the Reserved Instance can be used.</p>
|
|
73
|
+
* </li>
|
|
74
|
+
* <li>
|
|
75
|
+
* <p>
|
|
76
|
+
* <code>duration</code> - The duration of the Reserved Instance (one year or three years), in seconds (<code>31536000</code> | <code>94608000</code>).</p>
|
|
77
|
+
* </li>
|
|
78
|
+
* <li>
|
|
79
|
+
* <p>
|
|
80
|
+
* <code>end</code> - The time when the Reserved Instance expires (for example, 2015-08-07T11:54:42.000Z).</p>
|
|
81
|
+
* </li>
|
|
82
|
+
* <li>
|
|
83
|
+
* <p>
|
|
84
|
+
* <code>fixed-price</code> - The purchase price of the Reserved Instance (for example, 9800.0).</p>
|
|
85
|
+
* </li>
|
|
86
|
+
* <li>
|
|
87
|
+
* <p>
|
|
88
|
+
* <code>instance-type</code> - The instance type that is covered by the reservation.</p>
|
|
89
|
+
* </li>
|
|
90
|
+
* <li>
|
|
91
|
+
* <p>
|
|
92
|
+
* <code>scope</code> - The scope of the Reserved Instance (<code>Region</code> or <code>Availability Zone</code>).</p>
|
|
93
|
+
* </li>
|
|
94
|
+
* <li>
|
|
95
|
+
* <p>
|
|
96
|
+
* <code>product-description</code> - The Reserved Instance product platform
|
|
97
|
+
* description. Instances that include <code>(Amazon VPC)</code> in the product platform
|
|
98
|
+
* description will only be displayed to EC2-Classic account holders and are for use with
|
|
99
|
+
* Amazon VPC (<code>Linux/UNIX</code> | <code>Linux/UNIX (Amazon VPC)</code> | <code>SUSE
|
|
100
|
+
* Linux</code> | <code>SUSE Linux (Amazon VPC)</code> | <code>Red Hat Enterprise
|
|
101
|
+
* Linux</code> | <code>Red Hat Enterprise Linux (Amazon VPC)</code> | <code>Red Hat
|
|
102
|
+
* Enterprise Linux with HA (Amazon VPC)</code> | <code>Windows</code> | <code>Windows
|
|
103
|
+
* (Amazon VPC)</code> | <code>Windows with SQL Server Standard</code> | <code>Windows with
|
|
104
|
+
* SQL Server Standard (Amazon VPC)</code> | <code>Windows with SQL Server Web</code> |
|
|
105
|
+
* <code>Windows with SQL Server Web (Amazon VPC)</code> | <code>Windows with SQL Server
|
|
106
|
+
* Enterprise</code> | <code>Windows with SQL Server Enterprise (Amazon
|
|
107
|
+
* VPC)</code>).</p>
|
|
108
|
+
* </li>
|
|
109
|
+
* <li>
|
|
110
|
+
* <p>
|
|
111
|
+
* <code>reserved-instances-id</code> - The ID of the Reserved Instance.</p>
|
|
112
|
+
* </li>
|
|
113
|
+
* <li>
|
|
114
|
+
* <p>
|
|
115
|
+
* <code>start</code> - The time at which the Reserved Instance purchase request was placed (for example, 2014-08-07T11:54:42.000Z).</p>
|
|
116
|
+
* </li>
|
|
117
|
+
* <li>
|
|
118
|
+
* <p>
|
|
119
|
+
* <code>state</code> - The state of the Reserved Instance (<code>payment-pending</code> | <code>active</code> | <code>payment-failed</code> | <code>retired</code>).</p>
|
|
120
|
+
* </li>
|
|
121
|
+
* <li>
|
|
122
|
+
* <p>
|
|
123
|
+
* <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.
|
|
124
|
+
* 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>
|
|
125
|
+
* </li>
|
|
126
|
+
* <li>
|
|
127
|
+
* <p>
|
|
128
|
+
* <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>
|
|
129
|
+
* </li>
|
|
130
|
+
* <li>
|
|
131
|
+
* <p>
|
|
132
|
+
* <code>usage-price</code> - The usage price of the Reserved Instance, per hour (for example, 0.84).</p>
|
|
133
|
+
* </li>
|
|
134
|
+
* </ul>
|
|
135
|
+
*/
|
|
136
|
+
Filters?: Filter[];
|
|
137
|
+
/**
|
|
138
|
+
* <p>Describes whether the Reserved Instance is Standard or Convertible.</p>
|
|
139
|
+
*/
|
|
140
|
+
OfferingClass?: OfferingClassType | string;
|
|
141
|
+
/**
|
|
142
|
+
* <p>One or more Reserved Instance IDs.</p>
|
|
143
|
+
* <p>Default: Describes all your Reserved Instances, or only those otherwise specified.</p>
|
|
144
|
+
*/
|
|
145
|
+
ReservedInstancesIds?: string[];
|
|
146
|
+
/**
|
|
147
|
+
* <p>Checks whether you have the required permissions for the action, without actually making the request,
|
|
148
|
+
* and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
|
|
149
|
+
* Otherwise, it is <code>UnauthorizedOperation</code>.</p>
|
|
150
|
+
*/
|
|
151
|
+
DryRun?: boolean;
|
|
152
|
+
/**
|
|
153
|
+
* <p>The Reserved Instance offering type. If you are using tools that predate the 2011-11-01 API
|
|
154
|
+
* version, you only have access to the <code>Medium Utilization</code> Reserved Instance
|
|
155
|
+
* offering type.</p>
|
|
156
|
+
*/
|
|
157
|
+
OfferingType?: OfferingTypeValues | string;
|
|
158
|
+
}
|
|
159
|
+
export declare namespace DescribeReservedInstancesRequest {
|
|
160
|
+
/**
|
|
161
|
+
* @internal
|
|
162
|
+
*/
|
|
163
|
+
const filterSensitiveLog: (obj: DescribeReservedInstancesRequest) => any;
|
|
164
|
+
}
|
|
5
165
|
export declare type RIProductDescription = "Linux/UNIX" | "Linux/UNIX (Amazon VPC)" | "Windows" | "Windows (Amazon VPC)";
|
|
6
166
|
export declare type RecurringChargeFrequency = "Hourly";
|
|
7
167
|
/**
|
|
@@ -8987,7 +9147,8 @@ export declare namespace GetDefaultCreditSpecificationRequest {
|
|
|
8987
9147
|
const filterSensitiveLog: (obj: GetDefaultCreditSpecificationRequest) => any;
|
|
8988
9148
|
}
|
|
8989
9149
|
/**
|
|
8990
|
-
* <p>Describes the default credit option for CPU usage of a burstable performance instance
|
|
9150
|
+
* <p>Describes the default credit option for CPU usage of a burstable performance instance
|
|
9151
|
+
* family.</p>
|
|
8991
9152
|
*/
|
|
8992
9153
|
export interface InstanceFamilyCreditSpecification {
|
|
8993
9154
|
/**
|
|
@@ -8995,7 +9156,8 @@ export interface InstanceFamilyCreditSpecification {
|
|
|
8995
9156
|
*/
|
|
8996
9157
|
InstanceFamily?: UnlimitedSupportedInstanceFamily | string;
|
|
8997
9158
|
/**
|
|
8998
|
-
* <p>The default credit option for CPU usage of the instance family. Valid values are
|
|
9159
|
+
* <p>The default credit option for CPU usage of the instance family. Valid values are
|
|
9160
|
+
* <code>standard</code> and <code>unlimited</code>.</p>
|
|
8999
9161
|
*/
|
|
9000
9162
|
CpuCredits?: string;
|
|
9001
9163
|
}
|
|
@@ -9155,124 +9317,3 @@ export declare namespace GetFlowLogsIntegrationTemplateResult {
|
|
|
9155
9317
|
*/
|
|
9156
9318
|
const filterSensitiveLog: (obj: GetFlowLogsIntegrationTemplateResult) => any;
|
|
9157
9319
|
}
|
|
9158
|
-
export interface GetGroupsForCapacityReservationRequest {
|
|
9159
|
-
/**
|
|
9160
|
-
* <p>The ID of the Capacity Reservation.</p>
|
|
9161
|
-
*/
|
|
9162
|
-
CapacityReservationId: string | undefined;
|
|
9163
|
-
/**
|
|
9164
|
-
* <p>The token to use to retrieve the next page of results.</p>
|
|
9165
|
-
*/
|
|
9166
|
-
NextToken?: string;
|
|
9167
|
-
/**
|
|
9168
|
-
* <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>
|
|
9169
|
-
*/
|
|
9170
|
-
MaxResults?: number;
|
|
9171
|
-
/**
|
|
9172
|
-
* <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>
|
|
9173
|
-
*/
|
|
9174
|
-
DryRun?: boolean;
|
|
9175
|
-
}
|
|
9176
|
-
export declare namespace GetGroupsForCapacityReservationRequest {
|
|
9177
|
-
/**
|
|
9178
|
-
* @internal
|
|
9179
|
-
*/
|
|
9180
|
-
const filterSensitiveLog: (obj: GetGroupsForCapacityReservationRequest) => any;
|
|
9181
|
-
}
|
|
9182
|
-
/**
|
|
9183
|
-
* <p>Describes a resource group to which a Capacity Reservation has been added.</p>
|
|
9184
|
-
*/
|
|
9185
|
-
export interface CapacityReservationGroup {
|
|
9186
|
-
/**
|
|
9187
|
-
* <p>The ARN of the resource group.</p>
|
|
9188
|
-
*/
|
|
9189
|
-
GroupArn?: string;
|
|
9190
|
-
/**
|
|
9191
|
-
* <p>The ID of the Amazon Web Services account that owns the resource group.</p>
|
|
9192
|
-
*/
|
|
9193
|
-
OwnerId?: string;
|
|
9194
|
-
}
|
|
9195
|
-
export declare namespace CapacityReservationGroup {
|
|
9196
|
-
/**
|
|
9197
|
-
* @internal
|
|
9198
|
-
*/
|
|
9199
|
-
const filterSensitiveLog: (obj: CapacityReservationGroup) => any;
|
|
9200
|
-
}
|
|
9201
|
-
export interface GetGroupsForCapacityReservationResult {
|
|
9202
|
-
/**
|
|
9203
|
-
* <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>
|
|
9204
|
-
*/
|
|
9205
|
-
NextToken?: string;
|
|
9206
|
-
/**
|
|
9207
|
-
* <p>Information about the resource groups to which the Capacity Reservation has been added.</p>
|
|
9208
|
-
*/
|
|
9209
|
-
CapacityReservationGroups?: CapacityReservationGroup[];
|
|
9210
|
-
}
|
|
9211
|
-
export declare namespace GetGroupsForCapacityReservationResult {
|
|
9212
|
-
/**
|
|
9213
|
-
* @internal
|
|
9214
|
-
*/
|
|
9215
|
-
const filterSensitiveLog: (obj: GetGroupsForCapacityReservationResult) => any;
|
|
9216
|
-
}
|
|
9217
|
-
export interface GetHostReservationPurchasePreviewRequest {
|
|
9218
|
-
/**
|
|
9219
|
-
* <p>The IDs of the Dedicated Hosts with which the reservation is associated.</p>
|
|
9220
|
-
*/
|
|
9221
|
-
HostIdSet: string[] | undefined;
|
|
9222
|
-
/**
|
|
9223
|
-
* <p>The offering ID of the reservation.</p>
|
|
9224
|
-
*/
|
|
9225
|
-
OfferingId: string | undefined;
|
|
9226
|
-
}
|
|
9227
|
-
export declare namespace GetHostReservationPurchasePreviewRequest {
|
|
9228
|
-
/**
|
|
9229
|
-
* @internal
|
|
9230
|
-
*/
|
|
9231
|
-
const filterSensitiveLog: (obj: GetHostReservationPurchasePreviewRequest) => any;
|
|
9232
|
-
}
|
|
9233
|
-
/**
|
|
9234
|
-
* <p>Describes the result of the purchase.</p>
|
|
9235
|
-
*/
|
|
9236
|
-
export interface Purchase {
|
|
9237
|
-
/**
|
|
9238
|
-
* <p>The currency in which the <code>UpfrontPrice</code> and <code>HourlyPrice</code>
|
|
9239
|
-
* amounts are specified. At this time, the only supported currency is
|
|
9240
|
-
* <code>USD</code>.</p>
|
|
9241
|
-
*/
|
|
9242
|
-
CurrencyCode?: CurrencyCodeValues | string;
|
|
9243
|
-
/**
|
|
9244
|
-
* <p>The duration of the reservation's term in seconds.</p>
|
|
9245
|
-
*/
|
|
9246
|
-
Duration?: number;
|
|
9247
|
-
/**
|
|
9248
|
-
* <p>The IDs of the Dedicated Hosts associated with the reservation.</p>
|
|
9249
|
-
*/
|
|
9250
|
-
HostIdSet?: string[];
|
|
9251
|
-
/**
|
|
9252
|
-
* <p>The ID of the reservation.</p>
|
|
9253
|
-
*/
|
|
9254
|
-
HostReservationId?: string;
|
|
9255
|
-
/**
|
|
9256
|
-
* <p>The hourly price of the reservation per hour.</p>
|
|
9257
|
-
*/
|
|
9258
|
-
HourlyPrice?: string;
|
|
9259
|
-
/**
|
|
9260
|
-
* <p>The instance family on the Dedicated Host that the reservation can be associated
|
|
9261
|
-
* with.</p>
|
|
9262
|
-
*/
|
|
9263
|
-
InstanceFamily?: string;
|
|
9264
|
-
/**
|
|
9265
|
-
* <p>The payment option for the reservation.</p>
|
|
9266
|
-
*/
|
|
9267
|
-
PaymentOption?: PaymentOption | string;
|
|
9268
|
-
/**
|
|
9269
|
-
* <p>The upfront price of the reservation.</p>
|
|
9270
|
-
*/
|
|
9271
|
-
UpfrontPrice?: string;
|
|
9272
|
-
}
|
|
9273
|
-
export declare namespace Purchase {
|
|
9274
|
-
/**
|
|
9275
|
-
* @internal
|
|
9276
|
-
*/
|
|
9277
|
-
const filterSensitiveLog: (obj: Purchase) => any;
|
|
9278
|
-
}
|