@aws-sdk/client-ec2 3.44.0 → 3.47.1
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 +48 -0
- package/README.md +3 -3
- package/dist-cjs/EC2.js +15 -0
- package/dist-cjs/commands/GetIpamResourceCidrsCommand.js +2 -1
- package/dist-cjs/commands/GetLaunchTemplateDataCommand.js +1 -2
- package/dist-cjs/commands/ModifyVpcEndpointServicePayerResponsibilityCommand.js +36 -0
- package/dist-cjs/commands/index.js +1 -0
- package/dist-cjs/endpoints.js +1 -32
- package/dist-cjs/models/models_1.js +10 -11
- package/dist-cjs/models/models_2.js +16 -12
- package/dist-cjs/models/models_3.js +17 -24
- package/dist-cjs/models/models_4.js +24 -24
- package/dist-cjs/models/models_5.js +36 -36
- package/dist-cjs/models/models_6.js +32 -2
- package/dist-cjs/protocols/Aws_ec2.js +123 -13
- package/dist-cjs/runtimeConfig.browser.js +7 -2
- package/dist-cjs/runtimeConfig.js +9 -3
- package/dist-cjs/waiters/index.js +1 -0
- package/dist-cjs/waiters/waitForInternetGatewayExists.js +43 -0
- package/dist-es/EC2.js +15 -0
- package/dist-es/commands/GetIpamResourceCidrsCommand.js +2 -1
- package/dist-es/commands/GetLaunchTemplateDataCommand.js +1 -2
- package/dist-es/commands/ModifyVpcEndpointServicePayerResponsibilityCommand.js +39 -0
- package/dist-es/commands/index.js +1 -0
- package/dist-es/endpoints.js +1 -32
- package/dist-es/models/models_1.js +5 -4
- package/dist-es/models/models_2.js +8 -4
- package/dist-es/models/models_3.js +9 -12
- package/dist-es/models/models_4.js +12 -12
- package/dist-es/models/models_5.js +20 -20
- package/dist-es/models/models_6.js +20 -0
- package/dist-es/protocols/Aws_ec2.js +112 -0
- package/dist-es/runtimeConfig.browser.js +12 -3
- package/dist-es/runtimeConfig.js +13 -6
- package/dist-es/waiters/index.js +1 -0
- package/dist-es/waiters/waitForInternetGatewayExists.js +58 -0
- package/dist-types/EC2.d.ts +15 -5
- package/dist-types/EC2Client.d.ts +11 -6
- package/dist-types/commands/DescribeAccountAttributesCommand.d.ts +1 -1
- package/dist-types/commands/DescribeStaleSecurityGroupsCommand.d.ts +4 -1
- package/dist-types/commands/GetIpamResourceCidrsCommand.d.ts +2 -1
- package/dist-types/commands/GetLaunchTemplateDataCommand.d.ts +1 -2
- package/dist-types/commands/ModifyVpcEndpointServicePayerResponsibilityCommand.d.ts +35 -0
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +16 -0
- package/dist-types/models/models_1.d.ts +32 -38
- package/dist-types/models/models_2.d.ts +46 -40
- package/dist-types/models/models_3.d.ts +86 -88
- package/dist-types/models/models_4.d.ts +99 -115
- package/dist-types/models/models_5.d.ts +163 -144
- package/dist-types/models/models_6.d.ts +149 -8
- package/dist-types/protocols/Aws_ec2.d.ts +3 -0
- package/dist-types/runtimeConfig.browser.d.ts +3 -2
- package/dist-types/runtimeConfig.d.ts +4 -3
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/dist-types/ts3.4/EC2.d.ts +5 -0
- package/dist-types/ts3.4/EC2Client.d.ts +6 -3
- package/dist-types/ts3.4/commands/GetIpamResourceCidrsCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/GetLaunchTemplateDataCommand.d.ts +1 -2
- package/dist-types/ts3.4/commands/ModifyVpcEndpointServicePayerResponsibilityCommand.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 +4 -0
- package/dist-types/ts3.4/models/models_1.d.ts +10 -17
- package/dist-types/ts3.4/models/models_2.d.ts +23 -19
- package/dist-types/ts3.4/models/models_3.d.ts +25 -46
- package/dist-types/ts3.4/models/models_4.d.ts +50 -60
- package/dist-types/ts3.4/models/models_5.d.ts +86 -64
- package/dist-types/ts3.4/models/models_6.d.ts +62 -3
- package/dist-types/ts3.4/protocols/Aws_ec2.d.ts +3 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +3 -2
- package/dist-types/ts3.4/runtimeConfig.d.ts +4 -3
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -0
- package/dist-types/ts3.4/waiters/index.d.ts +1 -0
- package/dist-types/ts3.4/waiters/waitForInternetGatewayExists.d.ts +7 -0
- package/dist-types/waiters/index.d.ts +1 -0
- package/dist-types/waiters/waitForInternetGatewayExists.d.ts +14 -0
- package/package.json +41 -48
|
@@ -1,7 +1,90 @@
|
|
|
1
1
|
import { _InstanceType, ActiveInstance, ActivityStatus, AllocationStrategy, AllowedPrincipal, AssociationStatus, BatchState, CapacityReservationState, CurrencyCodeValues, IamInstanceProfileAssociation, IamInstanceProfileSpecification, InstanceEventWindow, IpamPoolAllocation, IpPermission, 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, InstanceRequirementsRequest,
|
|
3
|
-
import { ConnectionNotification, DnsEntry, DnsNameState, Filter, IpamPoolCidr, ServiceConfiguration, ServiceTypeDetail, State, TransitGatewayConnectPeer, TransitGatewayMulticastDomain, TransitGatewayRouteTable, Volume, VpcEndpoint, VpnConnection, VpnGateway } from "./models_2";
|
|
4
|
-
import { ArchitectureType, AttributeBooleanValue, EventInformation, ExportTaskS3Location, FastSnapshotRestoreStateCode, OfferingClassType, OfferingTypeValues, PaymentOption, PermissionGroup, ProductCode, RecurringCharge,
|
|
2
|
+
import { BlockDeviceMapping, DiskImageFormat, FleetLaunchTemplateSpecification, FleetType, GroupIdentifier, InstanceInterruptionBehavior, InstanceIpv6Address, InstanceRequirements, InstanceRequirementsRequest, Ipv4PrefixSpecificationRequest, Ipv6PrefixSpecificationRequest, PrivateIpAddressSpecification, RequestIpamResourceTag, RouteTable, Snapshot, SnapshotState, SpotDatafeedSubscription, SpotInstanceStateFault, SpotInstanceType, StorageTier, TargetCapacityUnitType, TrafficMirrorFilter, TrafficMirrorSession, TrafficMirrorTarget, TransitGateway, TransitGatewayConnect, VolumeType } from "./models_1";
|
|
3
|
+
import { ConnectionNotification, DnsEntry, DnsNameState, Filter, IpamPoolCidr, PayerResponsibility, ServiceConfiguration, ServiceTypeDetail, State, TransitGatewayConnectPeer, TransitGatewayMulticastDomain, TransitGatewayRouteTable, Volume, VpcEndpoint, VpnConnection, VpnGateway } from "./models_2";
|
|
4
|
+
import { ArchitectureType, AttributeBooleanValue, EventInformation, ExportTaskS3Location, FastSnapshotRestoreStateCode, OfferingClassType, OfferingTypeValues, PaymentOption, PermissionGroup, ProductCode, RecurringCharge, ReservedInstancesConfiguration, RIProductDescription, Scope, VirtualizationType } from "./models_3";
|
|
5
|
+
/**
|
|
6
|
+
* <p>Describes the modification request/s.</p>
|
|
7
|
+
*/
|
|
8
|
+
export interface ReservedInstancesModificationResult {
|
|
9
|
+
/**
|
|
10
|
+
* <p>The ID for the Reserved Instances that were created as part of the modification request. This field is only available when the modification is fulfilled.</p>
|
|
11
|
+
*/
|
|
12
|
+
ReservedInstancesId?: string;
|
|
13
|
+
/**
|
|
14
|
+
* <p>The target Reserved Instances configurations supplied as part of the modification request.</p>
|
|
15
|
+
*/
|
|
16
|
+
TargetConfiguration?: ReservedInstancesConfiguration;
|
|
17
|
+
}
|
|
18
|
+
export declare namespace ReservedInstancesModificationResult {
|
|
19
|
+
/**
|
|
20
|
+
* @internal
|
|
21
|
+
*/
|
|
22
|
+
const filterSensitiveLog: (obj: ReservedInstancesModificationResult) => any;
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* <p>Describes the ID of a Reserved Instance.</p>
|
|
26
|
+
*/
|
|
27
|
+
export interface ReservedInstancesId {
|
|
28
|
+
/**
|
|
29
|
+
* <p>The ID of the Reserved Instance.</p>
|
|
30
|
+
*/
|
|
31
|
+
ReservedInstancesId?: string;
|
|
32
|
+
}
|
|
33
|
+
export declare namespace ReservedInstancesId {
|
|
34
|
+
/**
|
|
35
|
+
* @internal
|
|
36
|
+
*/
|
|
37
|
+
const filterSensitiveLog: (obj: ReservedInstancesId) => any;
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* <p>Describes a Reserved Instance modification.</p>
|
|
41
|
+
*/
|
|
42
|
+
export interface ReservedInstancesModification {
|
|
43
|
+
/**
|
|
44
|
+
* <p>A unique, case-sensitive key supplied by the client to ensure that the request is idempotent.
|
|
45
|
+
* For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html">Ensuring
|
|
46
|
+
* Idempotency</a>.</p>
|
|
47
|
+
*/
|
|
48
|
+
ClientToken?: string;
|
|
49
|
+
/**
|
|
50
|
+
* <p>The time when the modification request was created.</p>
|
|
51
|
+
*/
|
|
52
|
+
CreateDate?: Date;
|
|
53
|
+
/**
|
|
54
|
+
* <p>The time for the modification to become effective.</p>
|
|
55
|
+
*/
|
|
56
|
+
EffectiveDate?: Date;
|
|
57
|
+
/**
|
|
58
|
+
* <p>Contains target configurations along with their corresponding new Reserved Instance IDs.</p>
|
|
59
|
+
*/
|
|
60
|
+
ModificationResults?: ReservedInstancesModificationResult[];
|
|
61
|
+
/**
|
|
62
|
+
* <p>The IDs of one or more Reserved Instances.</p>
|
|
63
|
+
*/
|
|
64
|
+
ReservedInstancesIds?: ReservedInstancesId[];
|
|
65
|
+
/**
|
|
66
|
+
* <p>A unique ID for the Reserved Instance modification.</p>
|
|
67
|
+
*/
|
|
68
|
+
ReservedInstancesModificationId?: string;
|
|
69
|
+
/**
|
|
70
|
+
* <p>The status of the Reserved Instances modification request.</p>
|
|
71
|
+
*/
|
|
72
|
+
Status?: string;
|
|
73
|
+
/**
|
|
74
|
+
* <p>The reason for the status.</p>
|
|
75
|
+
*/
|
|
76
|
+
StatusMessage?: string;
|
|
77
|
+
/**
|
|
78
|
+
* <p>The time when the modification request was last updated.</p>
|
|
79
|
+
*/
|
|
80
|
+
UpdateDate?: Date;
|
|
81
|
+
}
|
|
82
|
+
export declare namespace ReservedInstancesModification {
|
|
83
|
+
/**
|
|
84
|
+
* @internal
|
|
85
|
+
*/
|
|
86
|
+
const filterSensitiveLog: (obj: ReservedInstancesModification) => any;
|
|
87
|
+
}
|
|
5
88
|
/**
|
|
6
89
|
* <p>Contains the output of DescribeReservedInstancesModifications.</p>
|
|
7
90
|
*/
|
|
@@ -1390,8 +1473,9 @@ export interface DescribeSnapshotTierStatusRequest {
|
|
|
1390
1473
|
* </li>
|
|
1391
1474
|
* <li>
|
|
1392
1475
|
* <p>
|
|
1393
|
-
* <code>last-tiering-operation</code> - The state of the last archive or restore action. (<code>
|
|
1394
|
-
* <code>
|
|
1476
|
+
* <code>last-tiering-operation</code> - The state of the last archive or restore action. (<code>archival-in-progress</code> | <code>archival-completed</code> |
|
|
1477
|
+
* <code>archival-failed</code> | <code>permanent-restore-in-progress</code> | <code>permanent-restore-completed</code> | <code>permanent-restore-failed</code> |
|
|
1478
|
+
* <code>temporary-restore-in-progress</code> | <code>temporary-restore-completed</code> | <code>temporary-restore-failed</code>)</p>
|
|
1395
1479
|
* </li>
|
|
1396
1480
|
* </ul>
|
|
1397
1481
|
*/
|
|
@@ -2233,7 +2317,7 @@ export declare enum ReplacementStrategy {
|
|
|
2233
2317
|
/**
|
|
2234
2318
|
* <p>The Spot Instance replacement strategy to use when Amazon EC2 emits a signal that your
|
|
2235
2319
|
* Spot Instance is at an elevated risk of being interrupted. For more information, see
|
|
2236
|
-
* <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/
|
|
2320
|
+
* <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/spot-fleet-capacity-rebalance.html">Capacity rebalancing</a> in the <i>Amazon EC2 User Guide for Linux Instances</i>.</p>
|
|
2237
2321
|
*/
|
|
2238
2322
|
export interface SpotCapacityRebalance {
|
|
2239
2323
|
/**
|
|
@@ -2255,7 +2339,8 @@ export interface SpotCapacityRebalance {
|
|
|
2255
2339
|
/**
|
|
2256
2340
|
* <p>The amount of time (in seconds) that Amazon EC2 waits before terminating the old Spot
|
|
2257
2341
|
* Instance after launching a new replacement Spot Instance.</p>
|
|
2258
|
-
* <p>
|
|
2342
|
+
* <p>Required when <code>ReplacementStrategy</code> is set to <code>launch-before-terminate</code>.</p>
|
|
2343
|
+
* <p>Not valid when <code>ReplacementStrategy</code> is set to <code>launch</code>.</p>
|
|
2259
2344
|
* <p>Valid values: Minimum value of <code>120</code> seconds. Maximum value of <code>7200</code> seconds.</p>
|
|
2260
2345
|
*/
|
|
2261
2346
|
TerminationDelay?: number;
|
|
@@ -2272,8 +2357,9 @@ export declare namespace SpotCapacityRebalance {
|
|
|
2272
2357
|
*/
|
|
2273
2358
|
export interface SpotMaintenanceStrategies {
|
|
2274
2359
|
/**
|
|
2275
|
-
* <p>The strategy to use when Amazon EC2 emits a signal that your
|
|
2276
|
-
* elevated risk of being interrupted
|
|
2360
|
+
* <p>The Spot Instance replacement strategy to use when Amazon EC2 emits a signal that your
|
|
2361
|
+
* Spot Instance is at an elevated risk of being interrupted. For more information, see
|
|
2362
|
+
* <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/spot-fleet-capacity-rebalance.html">Capacity rebalancing</a> in the <i>Amazon EC2 User Guide for Linux Instances</i>.</p>
|
|
2277
2363
|
*/
|
|
2278
2364
|
CapacityRebalance?: SpotCapacityRebalance;
|
|
2279
2365
|
}
|
|
@@ -5892,6 +5978,10 @@ export interface ServiceDetail {
|
|
|
5892
5978
|
* endpoints using the VPC endpoint API is restricted.</p>
|
|
5893
5979
|
*/
|
|
5894
5980
|
ManagesVpcEndpoints?: boolean;
|
|
5981
|
+
/**
|
|
5982
|
+
* <p>The payer responsibility.</p>
|
|
5983
|
+
*/
|
|
5984
|
+
PayerResponsibility?: PayerResponsibility | string;
|
|
5895
5985
|
/**
|
|
5896
5986
|
* <p>Any tags assigned to the service.</p>
|
|
5897
5987
|
*/
|
|
@@ -9095,109 +9185,3 @@ export declare enum IpamManagementState {
|
|
|
9095
9185
|
managed = "managed",
|
|
9096
9186
|
unmanaged = "unmanaged"
|
|
9097
9187
|
}
|
|
9098
|
-
/**
|
|
9099
|
-
* <p>The CIDR for an IPAM resource.</p>
|
|
9100
|
-
*/
|
|
9101
|
-
export interface IpamResourceCidr {
|
|
9102
|
-
/**
|
|
9103
|
-
* <p>The IPAM ID for an IPAM resource.</p>
|
|
9104
|
-
*/
|
|
9105
|
-
IpamId?: string;
|
|
9106
|
-
/**
|
|
9107
|
-
* <p>The scope ID for an IPAM resource.</p>
|
|
9108
|
-
*/
|
|
9109
|
-
IpamScopeId?: string;
|
|
9110
|
-
/**
|
|
9111
|
-
* <p>The pool ID for an IPAM resource.</p>
|
|
9112
|
-
*/
|
|
9113
|
-
IpamPoolId?: string;
|
|
9114
|
-
/**
|
|
9115
|
-
* <p>The Amazon Web Services Region for an IPAM resource.</p>
|
|
9116
|
-
*/
|
|
9117
|
-
ResourceRegion?: string;
|
|
9118
|
-
/**
|
|
9119
|
-
* <p>The Amazon Web Services account number of the owner of an IPAM resource.</p>
|
|
9120
|
-
*/
|
|
9121
|
-
ResourceOwnerId?: string;
|
|
9122
|
-
/**
|
|
9123
|
-
* <p>The ID of an IPAM resource.</p>
|
|
9124
|
-
*/
|
|
9125
|
-
ResourceId?: string;
|
|
9126
|
-
/**
|
|
9127
|
-
* <p>The name of an IPAM resource.</p>
|
|
9128
|
-
*/
|
|
9129
|
-
ResourceName?: string;
|
|
9130
|
-
/**
|
|
9131
|
-
* <p>The CIDR for an IPAM resource.</p>
|
|
9132
|
-
*/
|
|
9133
|
-
ResourceCidr?: string;
|
|
9134
|
-
/**
|
|
9135
|
-
* <p>The type of IPAM resource.</p>
|
|
9136
|
-
*/
|
|
9137
|
-
ResourceType?: IpamResourceType | string;
|
|
9138
|
-
/**
|
|
9139
|
-
* <p>The tags for an IPAM resource.</p>
|
|
9140
|
-
*/
|
|
9141
|
-
ResourceTags?: IpamResourceTag[];
|
|
9142
|
-
/**
|
|
9143
|
-
* <p>The IP address space in the IPAM pool that is allocated to this resource. To convert the decimal to a percentage, multiply the decimal by 100.</p>
|
|
9144
|
-
*/
|
|
9145
|
-
IpUsage?: number;
|
|
9146
|
-
/**
|
|
9147
|
-
* <p>The compliance status of the IPAM resource. For more information on compliance statuses, see <a href="/vpc/latest/ipam/monitor-cidr-compliance-ipam.html">Monitor CIDR usage by resource</a> in the <i>Amazon VPC IPAM User Guide</i>.</p>
|
|
9148
|
-
*/
|
|
9149
|
-
ComplianceStatus?: IpamComplianceStatus | string;
|
|
9150
|
-
/**
|
|
9151
|
-
* <p>The management state of the resource. For more information about management states, see <a href="/vpc/latest/ipam/monitor-cidr-compliance-ipam.html">Monitor CIDR usage by resource</a> in the <i>Amazon VPC IPAM User Guide</i>.</p>
|
|
9152
|
-
*/
|
|
9153
|
-
ManagementState?: IpamManagementState | string;
|
|
9154
|
-
/**
|
|
9155
|
-
* <p>The overlap status of an IPAM resource. The overlap status tells you if the CIDR for a resource overlaps with another CIDR in the scope. For more information on overlap statuses, see <a href="/vpc/latest/ipam/monitor-cidr-compliance-ipam.html">Monitor CIDR usage by resource</a> in the <i>Amazon VPC IPAM User Guide</i>.</p>
|
|
9156
|
-
*/
|
|
9157
|
-
OverlapStatus?: IpamOverlapStatus | string;
|
|
9158
|
-
/**
|
|
9159
|
-
* <p>The ID of a VPC.</p>
|
|
9160
|
-
*/
|
|
9161
|
-
VpcId?: string;
|
|
9162
|
-
}
|
|
9163
|
-
export declare namespace IpamResourceCidr {
|
|
9164
|
-
/**
|
|
9165
|
-
* @internal
|
|
9166
|
-
*/
|
|
9167
|
-
const filterSensitiveLog: (obj: IpamResourceCidr) => any;
|
|
9168
|
-
}
|
|
9169
|
-
export interface GetIpamResourceCidrsResult {
|
|
9170
|
-
/**
|
|
9171
|
-
* <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>
|
|
9172
|
-
*/
|
|
9173
|
-
NextToken?: string;
|
|
9174
|
-
/**
|
|
9175
|
-
* <p>The resource CIDRs.</p>
|
|
9176
|
-
*/
|
|
9177
|
-
IpamResourceCidrs?: IpamResourceCidr[];
|
|
9178
|
-
}
|
|
9179
|
-
export declare namespace GetIpamResourceCidrsResult {
|
|
9180
|
-
/**
|
|
9181
|
-
* @internal
|
|
9182
|
-
*/
|
|
9183
|
-
const filterSensitiveLog: (obj: GetIpamResourceCidrsResult) => any;
|
|
9184
|
-
}
|
|
9185
|
-
export interface GetLaunchTemplateDataRequest {
|
|
9186
|
-
/**
|
|
9187
|
-
* <p>Checks whether you have the required permissions for the action, without actually
|
|
9188
|
-
* making the request, and provides an error response. If you have the required
|
|
9189
|
-
* permissions, the error response is <code>DryRunOperation</code>. Otherwise, it is
|
|
9190
|
-
* <code>UnauthorizedOperation</code>.</p>
|
|
9191
|
-
*/
|
|
9192
|
-
DryRun?: boolean;
|
|
9193
|
-
/**
|
|
9194
|
-
* <p>The ID of the instance.</p>
|
|
9195
|
-
*/
|
|
9196
|
-
InstanceId: string | undefined;
|
|
9197
|
-
}
|
|
9198
|
-
export declare namespace GetLaunchTemplateDataRequest {
|
|
9199
|
-
/**
|
|
9200
|
-
* @internal
|
|
9201
|
-
*/
|
|
9202
|
-
const filterSensitiveLog: (obj: GetLaunchTemplateDataRequest) => any;
|
|
9203
|
-
}
|
|
@@ -1,8 +1,114 @@
|
|
|
1
1
|
import { _InstanceType, AccessScopeAnalysisFinding, AddIpamOperatingRegion, AddPrefixListEntry, AddressAttribute, AddressAttributeName, Affinity, ApplianceModeSupportValue, AttributeValue, AutoPlacement, ByoipCidr, ClientConnectOptions, ClientVpnAuthorizationRuleStatus, ConnectionLogOptions, CurrencyCodeValues, DnsSupportValue, EndDateType, FleetExcessCapacityTerminationPolicy, HostnameType, HostRecovery, IamInstanceProfileAssociation, IamInstanceProfileSpecification, InstanceEventWindow, IpPermission, Ipv6SupportValue, PortRange, RouteTableAssociationState, SelfServicePortal, SubnetAssociation, Tag, TagSpecification, TargetConfigurationRequest, TransitGatewayAssociationState, TransitGatewayAttachmentResourceType, TransitGatewayMulticastDomainAssociations, TransitGatewayPeeringAttachment, TransitGatewayVpcAttachment, UnsuccessfulItem } from "./models_0";
|
|
2
|
-
import { AutoAcceptSharedAttachmentsValue, BlockDeviceMapping, CapacityReservationPreference, CapacityReservationTarget, DefaultRouteTableAssociationValue, DefaultRouteTablePropagationValue, DiskImageFormat, FleetLaunchTemplateConfigRequest, IcmpTypeCode, InstanceEventWindowTimeRangeRequest, InstanceInterruptionBehavior, InstanceRequirementsRequest, Ipam, IpamPool, IpamScope, LaunchTemplate, ManagedPrefixList,
|
|
3
|
-
import { Filter, IKEVersionsRequestListValue, InstanceTagNotificationAttribute, IpamPoolCidr, Phase1DHGroupNumbersRequestListValue, Phase1EncryptionAlgorithmsRequestListValue, Phase1IntegrityAlgorithmsRequestListValue, Phase2DHGroupNumbersRequestListValue, Phase2EncryptionAlgorithmsRequestListValue, Phase2IntegrityAlgorithmsRequestListValue, TransitGatewayPrefixListReference, TransitGatewayRoute, VpnConnection } from "./models_2";
|
|
4
|
-
import { AnalysisStatus, ArchitectureType, ArchitectureValues, AttributeBooleanValue, BootModeValues, ConversionTask, FpgaImageAttribute, FpgaImageAttributeName, HttpTokensState, ImportImageLicenseConfigurationResponse, InstanceAttributeName, InstanceMetadataEndpointState, InstanceMetadataOptionsResponse, InstanceMetadataProtocolState, InstanceStatusEvent, LaunchPermission, Monitoring, PermissionGroup, PublicIpv4PoolRange, ReservedInstancesConfiguration, SnapshotDetail, SnapshotTaskDetail, VirtualizationType } from "./models_3";
|
|
5
|
-
import { CreateVolumePermission, ExcessCapacityTerminationPolicy, InstanceFamilyCreditSpecification, InstanceNetworkInterfaceSpecification,
|
|
2
|
+
import { AutoAcceptSharedAttachmentsValue, BlockDeviceMapping, CapacityReservationPreference, CapacityReservationTarget, DefaultRouteTableAssociationValue, DefaultRouteTablePropagationValue, DiskImageFormat, FleetLaunchTemplateConfigRequest, IcmpTypeCode, InstanceEventWindowTimeRangeRequest, InstanceInterruptionBehavior, InstanceRequirementsRequest, Ipam, IpamPool, IpamResourceTag, IpamScope, LaunchTemplate, ManagedPrefixList, NetworkInsightsAccessScopeContent, Placement, PlatformValues, RequestIpamResourceTag, ResponseLaunchTemplateData, RuleAction, ShutdownBehavior, SnapshotState, SpotInstanceType, SubnetCidrReservation, TargetCapacitySpecificationRequest, TargetCapacityUnitType, TrafficDirection, TrafficMirrorFilter, TrafficMirrorFilterRule, TrafficMirrorNetworkService, TrafficMirrorPortRangeRequest, TrafficMirrorRuleAction, TrafficMirrorSession, TransitGateway, VolumeType, VpnEcmpSupportValue } from "./models_1";
|
|
3
|
+
import { Filter, IKEVersionsRequestListValue, InstanceTagNotificationAttribute, IpamPoolCidr, PayerResponsibility, Phase1DHGroupNumbersRequestListValue, Phase1EncryptionAlgorithmsRequestListValue, Phase1IntegrityAlgorithmsRequestListValue, Phase2DHGroupNumbersRequestListValue, Phase2EncryptionAlgorithmsRequestListValue, Phase2IntegrityAlgorithmsRequestListValue, TransitGatewayPrefixListReference, TransitGatewayRoute, VpnConnection } from "./models_2";
|
|
4
|
+
import { AnalysisStatus, ArchitectureType, ArchitectureValues, AttributeBooleanValue, BootModeValues, ConversionTask, FpgaImageAttribute, FpgaImageAttributeName, HttpTokensState, ImportImageLicenseConfigurationResponse, InstanceAttributeName, InstanceMetadataEndpointState, InstanceMetadataOptionsResponse, InstanceMetadataProtocolState, InstanceMetadataTagsState, InstanceStatusEvent, LaunchPermission, Monitoring, PermissionGroup, PublicIpv4PoolRange, ReservedInstancesConfiguration, SnapshotDetail, SnapshotTaskDetail, VirtualizationType } from "./models_3";
|
|
5
|
+
import { CreateVolumePermission, ExcessCapacityTerminationPolicy, InstanceFamilyCreditSpecification, InstanceNetworkInterfaceSpecification, IpamComplianceStatus, IpamManagementState, IpamOverlapStatus, IpamResourceType, LaunchTemplateConfig, Purchase, RunInstancesMonitoringEnabled, ScheduledInstance, SnapshotAttributeName, SpotFleetRequestConfigData, SpotInstanceRequest, SpotPlacement, TransitGatewayPropagationState, UnlimitedSupportedInstanceFamily, VolumeModification } from "./models_4";
|
|
6
|
+
/**
|
|
7
|
+
* <p>The CIDR for an IPAM resource.</p>
|
|
8
|
+
*/
|
|
9
|
+
export interface IpamResourceCidr {
|
|
10
|
+
/**
|
|
11
|
+
* <p>The IPAM ID for an IPAM resource.</p>
|
|
12
|
+
*/
|
|
13
|
+
IpamId?: string;
|
|
14
|
+
/**
|
|
15
|
+
* <p>The scope ID for an IPAM resource.</p>
|
|
16
|
+
*/
|
|
17
|
+
IpamScopeId?: string;
|
|
18
|
+
/**
|
|
19
|
+
* <p>The pool ID for an IPAM resource.</p>
|
|
20
|
+
*/
|
|
21
|
+
IpamPoolId?: string;
|
|
22
|
+
/**
|
|
23
|
+
* <p>The Amazon Web Services Region for an IPAM resource.</p>
|
|
24
|
+
*/
|
|
25
|
+
ResourceRegion?: string;
|
|
26
|
+
/**
|
|
27
|
+
* <p>The Amazon Web Services account number of the owner of an IPAM resource.</p>
|
|
28
|
+
*/
|
|
29
|
+
ResourceOwnerId?: string;
|
|
30
|
+
/**
|
|
31
|
+
* <p>The ID of an IPAM resource.</p>
|
|
32
|
+
*/
|
|
33
|
+
ResourceId?: string;
|
|
34
|
+
/**
|
|
35
|
+
* <p>The name of an IPAM resource.</p>
|
|
36
|
+
*/
|
|
37
|
+
ResourceName?: string;
|
|
38
|
+
/**
|
|
39
|
+
* <p>The CIDR for an IPAM resource.</p>
|
|
40
|
+
*/
|
|
41
|
+
ResourceCidr?: string;
|
|
42
|
+
/**
|
|
43
|
+
* <p>The type of IPAM resource.</p>
|
|
44
|
+
*/
|
|
45
|
+
ResourceType?: IpamResourceType | string;
|
|
46
|
+
/**
|
|
47
|
+
* <p>The tags for an IPAM resource.</p>
|
|
48
|
+
*/
|
|
49
|
+
ResourceTags?: IpamResourceTag[];
|
|
50
|
+
/**
|
|
51
|
+
* <p>The IP address space in the IPAM pool that is allocated to this resource. To convert the decimal to a percentage, multiply the decimal by 100.</p>
|
|
52
|
+
*/
|
|
53
|
+
IpUsage?: number;
|
|
54
|
+
/**
|
|
55
|
+
* <p>The compliance status of the IPAM resource. For more information on compliance statuses, see <a href="/vpc/latest/ipam/monitor-cidr-compliance-ipam.html">Monitor CIDR usage by resource</a> in the <i>Amazon VPC IPAM User Guide</i>.</p>
|
|
56
|
+
*/
|
|
57
|
+
ComplianceStatus?: IpamComplianceStatus | string;
|
|
58
|
+
/**
|
|
59
|
+
* <p>The management state of the resource. For more information about management states, see <a href="/vpc/latest/ipam/monitor-cidr-compliance-ipam.html">Monitor CIDR usage by resource</a> in the <i>Amazon VPC IPAM User Guide</i>.</p>
|
|
60
|
+
*/
|
|
61
|
+
ManagementState?: IpamManagementState | string;
|
|
62
|
+
/**
|
|
63
|
+
* <p>The overlap status of an IPAM resource. The overlap status tells you if the CIDR for a resource overlaps with another CIDR in the scope. For more information on overlap statuses, see <a href="/vpc/latest/ipam/monitor-cidr-compliance-ipam.html">Monitor CIDR usage by resource</a> in the <i>Amazon VPC IPAM User Guide</i>.</p>
|
|
64
|
+
*/
|
|
65
|
+
OverlapStatus?: IpamOverlapStatus | string;
|
|
66
|
+
/**
|
|
67
|
+
* <p>The ID of a VPC.</p>
|
|
68
|
+
*/
|
|
69
|
+
VpcId?: string;
|
|
70
|
+
}
|
|
71
|
+
export declare namespace IpamResourceCidr {
|
|
72
|
+
/**
|
|
73
|
+
* @internal
|
|
74
|
+
*/
|
|
75
|
+
const filterSensitiveLog: (obj: IpamResourceCidr) => any;
|
|
76
|
+
}
|
|
77
|
+
export interface GetIpamResourceCidrsResult {
|
|
78
|
+
/**
|
|
79
|
+
* <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>
|
|
80
|
+
*/
|
|
81
|
+
NextToken?: string;
|
|
82
|
+
/**
|
|
83
|
+
* <p>The resource CIDRs.</p>
|
|
84
|
+
*/
|
|
85
|
+
IpamResourceCidrs?: IpamResourceCidr[];
|
|
86
|
+
}
|
|
87
|
+
export declare namespace GetIpamResourceCidrsResult {
|
|
88
|
+
/**
|
|
89
|
+
* @internal
|
|
90
|
+
*/
|
|
91
|
+
const filterSensitiveLog: (obj: GetIpamResourceCidrsResult) => any;
|
|
92
|
+
}
|
|
93
|
+
export interface GetLaunchTemplateDataRequest {
|
|
94
|
+
/**
|
|
95
|
+
* <p>Checks whether you have the required permissions for the action, without actually
|
|
96
|
+
* making the request, and provides an error response. If you have the required
|
|
97
|
+
* permissions, the error response is <code>DryRunOperation</code>. Otherwise, it is
|
|
98
|
+
* <code>UnauthorizedOperation</code>.</p>
|
|
99
|
+
*/
|
|
100
|
+
DryRun?: boolean;
|
|
101
|
+
/**
|
|
102
|
+
* <p>The ID of the instance.</p>
|
|
103
|
+
*/
|
|
104
|
+
InstanceId: string | undefined;
|
|
105
|
+
}
|
|
106
|
+
export declare namespace GetLaunchTemplateDataRequest {
|
|
107
|
+
/**
|
|
108
|
+
* @internal
|
|
109
|
+
*/
|
|
110
|
+
const filterSensitiveLog: (obj: GetLaunchTemplateDataRequest) => any;
|
|
111
|
+
}
|
|
6
112
|
export interface GetLaunchTemplateDataResult {
|
|
7
113
|
/**
|
|
8
114
|
* <p>The instance data.</p>
|
|
@@ -1363,7 +1469,7 @@ export declare namespace ImportImageLicenseConfigurationRequest {
|
|
|
1363
1469
|
export interface ImportImageRequest {
|
|
1364
1470
|
/**
|
|
1365
1471
|
* <p>The architecture of the virtual machine.</p>
|
|
1366
|
-
* <p>Valid values: <code>i386</code> | <code>x86_64</code>
|
|
1472
|
+
* <p>Valid values: <code>i386</code> | <code>x86_64</code>
|
|
1367
1473
|
* </p>
|
|
1368
1474
|
*/
|
|
1369
1475
|
Architecture?: string;
|
|
@@ -2684,11 +2790,11 @@ export declare namespace ModifyIdFormatRequest {
|
|
|
2684
2790
|
*/
|
|
2685
2791
|
export interface LaunchPermissionModifications {
|
|
2686
2792
|
/**
|
|
2687
|
-
* <p>The Amazon Web Services account ID to add to the list of launch permissions for the AMI.</p>
|
|
2793
|
+
* <p>The Amazon Web Services account ID, organization ARN, or OU ARN to add to the list of launch permissions for the AMI.</p>
|
|
2688
2794
|
*/
|
|
2689
2795
|
Add?: LaunchPermission[];
|
|
2690
2796
|
/**
|
|
2691
|
-
* <p>The Amazon Web Services account ID to remove from the list of launch permissions for the AMI.</p>
|
|
2797
|
+
* <p>The Amazon Web Services account ID, organization ARN, or OU ARN to remove from the list of launch permissions for the AMI.</p>
|
|
2692
2798
|
*/
|
|
2693
2799
|
Remove?: LaunchPermission[];
|
|
2694
2800
|
}
|
|
@@ -3263,7 +3369,7 @@ export interface ModifyInstanceMetadataOptionsRequest {
|
|
|
3263
3369
|
HttpPutResponseHopLimit?: number;
|
|
3264
3370
|
/**
|
|
3265
3371
|
* <p>Enables or disables the HTTP metadata endpoint on your instances. If
|
|
3266
|
-
*
|
|
3372
|
+
* this parameter is not specified, the existing state is maintained.</p>
|
|
3267
3373
|
* <p>If you specify a value of <code>disabled</code>, you cannot access your
|
|
3268
3374
|
* instance metadata.</p>
|
|
3269
3375
|
*/
|
|
@@ -3279,6 +3385,15 @@ export interface ModifyInstanceMetadataOptionsRequest {
|
|
|
3279
3385
|
* applies only if you have enabled the HTTP metadata endpoint.</p>
|
|
3280
3386
|
*/
|
|
3281
3387
|
HttpProtocolIpv6?: InstanceMetadataProtocolState | string;
|
|
3388
|
+
/**
|
|
3389
|
+
* <p>Set to <code>enabled</code> to allow access to instance tags from the instance
|
|
3390
|
+
* metadata. Set to <code>disabled</code> to turn off access to instance tags from the
|
|
3391
|
+
* instance metadata. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Using_Tags.html#work-with-tags-in-IMDS">Work with
|
|
3392
|
+
* instance tags using the instance metadata</a>.</p>
|
|
3393
|
+
* <p>Default: <code>disabled</code>
|
|
3394
|
+
* </p>
|
|
3395
|
+
*/
|
|
3396
|
+
InstanceMetadataTags?: InstanceMetadataTagsState | string;
|
|
3282
3397
|
}
|
|
3283
3398
|
export declare namespace ModifyInstanceMetadataOptionsRequest {
|
|
3284
3399
|
/**
|
|
@@ -4870,6 +4985,42 @@ export declare namespace ModifyVpcEndpointServiceConfigurationResult {
|
|
|
4870
4985
|
*/
|
|
4871
4986
|
const filterSensitiveLog: (obj: ModifyVpcEndpointServiceConfigurationResult) => any;
|
|
4872
4987
|
}
|
|
4988
|
+
export interface ModifyVpcEndpointServicePayerResponsibilityRequest {
|
|
4989
|
+
/**
|
|
4990
|
+
* <p>Checks whether you have the required permissions for the action, without actually making the request,
|
|
4991
|
+
* and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
|
|
4992
|
+
* Otherwise, it is <code>UnauthorizedOperation</code>.</p>
|
|
4993
|
+
*/
|
|
4994
|
+
DryRun?: boolean;
|
|
4995
|
+
/**
|
|
4996
|
+
* <p>The ID of the service.</p>
|
|
4997
|
+
*/
|
|
4998
|
+
ServiceId: string | undefined;
|
|
4999
|
+
/**
|
|
5000
|
+
* <p>The entity that is responsible for the endpoint costs. The default is the endpoint owner.
|
|
5001
|
+
* If you set the payer responsibility to the service owner, you cannot set it back to the
|
|
5002
|
+
* endpoint owner.</p>
|
|
5003
|
+
*/
|
|
5004
|
+
PayerResponsibility: PayerResponsibility | string | undefined;
|
|
5005
|
+
}
|
|
5006
|
+
export declare namespace ModifyVpcEndpointServicePayerResponsibilityRequest {
|
|
5007
|
+
/**
|
|
5008
|
+
* @internal
|
|
5009
|
+
*/
|
|
5010
|
+
const filterSensitiveLog: (obj: ModifyVpcEndpointServicePayerResponsibilityRequest) => any;
|
|
5011
|
+
}
|
|
5012
|
+
export interface ModifyVpcEndpointServicePayerResponsibilityResult {
|
|
5013
|
+
/**
|
|
5014
|
+
* <p>Returns <code>true</code> if the request succeeds; otherwise, it returns an error.</p>
|
|
5015
|
+
*/
|
|
5016
|
+
ReturnValue?: boolean;
|
|
5017
|
+
}
|
|
5018
|
+
export declare namespace ModifyVpcEndpointServicePayerResponsibilityResult {
|
|
5019
|
+
/**
|
|
5020
|
+
* @internal
|
|
5021
|
+
*/
|
|
5022
|
+
const filterSensitiveLog: (obj: ModifyVpcEndpointServicePayerResponsibilityResult) => any;
|
|
5023
|
+
}
|
|
4873
5024
|
export interface ModifyVpcEndpointServicePermissionsRequest {
|
|
4874
5025
|
/**
|
|
4875
5026
|
* <p>Checks whether you have the required permissions for the action, without actually making the request,
|
|
@@ -5275,7 +5426,7 @@ export interface ModifyVpnTunnelOptionsSpecification {
|
|
|
5275
5426
|
ReplayWindowSize?: number;
|
|
5276
5427
|
/**
|
|
5277
5428
|
* <p>The number of seconds after which a DPD timeout occurs.</p>
|
|
5278
|
-
* <p>Constraints: A value
|
|
5429
|
+
* <p>Constraints: A value greater than or equal to 30.</p>
|
|
5279
5430
|
* <p>Default: <code>30</code>
|
|
5280
5431
|
* </p>
|
|
5281
5432
|
*/
|
|
@@ -5501,15 +5652,15 @@ export interface MoveByoipCidrToIpamRequest {
|
|
|
5501
5652
|
/**
|
|
5502
5653
|
* <p>The BYOIP CIDR.</p>
|
|
5503
5654
|
*/
|
|
5504
|
-
Cidr
|
|
5655
|
+
Cidr: string | undefined;
|
|
5505
5656
|
/**
|
|
5506
5657
|
* <p>The IPAM pool ID.</p>
|
|
5507
5658
|
*/
|
|
5508
|
-
IpamPoolId
|
|
5659
|
+
IpamPoolId: string | undefined;
|
|
5509
5660
|
/**
|
|
5510
5661
|
* <p>The Amazon Web Services account ID of the owner of the IPAM pool.</p>
|
|
5511
5662
|
*/
|
|
5512
|
-
IpamPoolOwner
|
|
5663
|
+
IpamPoolOwner: string | undefined;
|
|
5513
5664
|
}
|
|
5514
5665
|
export declare namespace MoveByoipCidrToIpamRequest {
|
|
5515
5666
|
/**
|
|
@@ -7671,135 +7822,3 @@ export declare namespace CpuOptionsRequest {
|
|
|
7671
7822
|
*/
|
|
7672
7823
|
const filterSensitiveLog: (obj: CpuOptionsRequest) => any;
|
|
7673
7824
|
}
|
|
7674
|
-
/**
|
|
7675
|
-
* <p>
|
|
7676
|
-
* Describes an elastic inference accelerator.
|
|
7677
|
-
* </p>
|
|
7678
|
-
*/
|
|
7679
|
-
export interface ElasticInferenceAccelerator {
|
|
7680
|
-
/**
|
|
7681
|
-
* <p>
|
|
7682
|
-
* The type of elastic inference accelerator. The possible values are <code>eia1.medium</code>, <code>eia1.large</code>, <code>eia1.xlarge</code>, <code>eia2.medium</code>, <code>eia2.large</code>, and <code>eia2.xlarge</code>.
|
|
7683
|
-
* </p>
|
|
7684
|
-
*/
|
|
7685
|
-
Type: string | undefined;
|
|
7686
|
-
/**
|
|
7687
|
-
* <p>
|
|
7688
|
-
* The number of elastic inference accelerators to attach to the instance.
|
|
7689
|
-
* </p>
|
|
7690
|
-
* <p>Default: 1</p>
|
|
7691
|
-
*/
|
|
7692
|
-
Count?: number;
|
|
7693
|
-
}
|
|
7694
|
-
export declare namespace ElasticInferenceAccelerator {
|
|
7695
|
-
/**
|
|
7696
|
-
* @internal
|
|
7697
|
-
*/
|
|
7698
|
-
const filterSensitiveLog: (obj: ElasticInferenceAccelerator) => any;
|
|
7699
|
-
}
|
|
7700
|
-
/**
|
|
7701
|
-
* <p>Indicates whether the instance is enabled for Amazon Web Services Nitro Enclaves. For more information,
|
|
7702
|
-
* see <a href="https://docs.aws.amazon.com/enclaves/latest/user/nitro-enclave.html">
|
|
7703
|
-
* What is Amazon Web Services Nitro Enclaves?</a> in the <i>Amazon Web Services Nitro Enclaves User Guide</i>.</p>
|
|
7704
|
-
*/
|
|
7705
|
-
export interface EnclaveOptionsRequest {
|
|
7706
|
-
/**
|
|
7707
|
-
* <p>To enable the instance for Amazon Web Services Nitro Enclaves, set this parameter to <code>true</code>.</p>
|
|
7708
|
-
*/
|
|
7709
|
-
Enabled?: boolean;
|
|
7710
|
-
}
|
|
7711
|
-
export declare namespace EnclaveOptionsRequest {
|
|
7712
|
-
/**
|
|
7713
|
-
* @internal
|
|
7714
|
-
*/
|
|
7715
|
-
const filterSensitiveLog: (obj: EnclaveOptionsRequest) => any;
|
|
7716
|
-
}
|
|
7717
|
-
/**
|
|
7718
|
-
* <p>Indicates whether your instance is configured for hibernation. This parameter is valid
|
|
7719
|
-
* only if the instance meets the <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Hibernate.html#hibernating-prerequisites">hibernation
|
|
7720
|
-
* prerequisites</a>. For
|
|
7721
|
-
* more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Hibernate.html">Hibernate your instance</a> in the
|
|
7722
|
-
* <i>Amazon EC2 User Guide</i>.</p>
|
|
7723
|
-
*/
|
|
7724
|
-
export interface HibernationOptionsRequest {
|
|
7725
|
-
/**
|
|
7726
|
-
* <p>If you set this parameter to <code>true</code>, your instance is enabled for
|
|
7727
|
-
* hibernation.</p>
|
|
7728
|
-
* <p>Default: <code>false</code>
|
|
7729
|
-
* </p>
|
|
7730
|
-
*/
|
|
7731
|
-
Configured?: boolean;
|
|
7732
|
-
}
|
|
7733
|
-
export declare namespace HibernationOptionsRequest {
|
|
7734
|
-
/**
|
|
7735
|
-
* @internal
|
|
7736
|
-
*/
|
|
7737
|
-
const filterSensitiveLog: (obj: HibernationOptionsRequest) => any;
|
|
7738
|
-
}
|
|
7739
|
-
/**
|
|
7740
|
-
* <p>The options for Spot Instances.</p>
|
|
7741
|
-
*/
|
|
7742
|
-
export interface SpotMarketOptions {
|
|
7743
|
-
/**
|
|
7744
|
-
* <p>The maximum hourly price you're willing to pay for the Spot Instances. The default is
|
|
7745
|
-
* the On-Demand price.</p>
|
|
7746
|
-
*/
|
|
7747
|
-
MaxPrice?: string;
|
|
7748
|
-
/**
|
|
7749
|
-
* <p>The Spot Instance request type. For <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RunInstances">RunInstances</a>, persistent Spot
|
|
7750
|
-
* Instance requests are only supported when the instance interruption behavior is either <code>hibernate</code> or
|
|
7751
|
-
* <code>stop</code>.</p>
|
|
7752
|
-
*/
|
|
7753
|
-
SpotInstanceType?: SpotInstanceType | string;
|
|
7754
|
-
/**
|
|
7755
|
-
* <p>Deprecated.</p>
|
|
7756
|
-
*/
|
|
7757
|
-
BlockDurationMinutes?: number;
|
|
7758
|
-
/**
|
|
7759
|
-
* <p>The end date of the request, in UTC format
|
|
7760
|
-
* (<i>YYYY</i>-<i>MM</i>-<i>DD</i>T<i>HH</i>:<i>MM</i>:<i>SS</i>Z).
|
|
7761
|
-
* Supported only for persistent requests.</p>
|
|
7762
|
-
* <ul>
|
|
7763
|
-
* <li>
|
|
7764
|
-
* <p>For a persistent request, the request remains active until the
|
|
7765
|
-
* <code>ValidUntil</code> date and time is reached. Otherwise, the request
|
|
7766
|
-
* remains active until you cancel it.</p>
|
|
7767
|
-
* </li>
|
|
7768
|
-
* <li>
|
|
7769
|
-
* <p>For a one-time request, <code>ValidUntil</code> is not supported. The request
|
|
7770
|
-
* remains active until all instances launch or you cancel the request.</p>
|
|
7771
|
-
* </li>
|
|
7772
|
-
* </ul>
|
|
7773
|
-
*/
|
|
7774
|
-
ValidUntil?: Date;
|
|
7775
|
-
/**
|
|
7776
|
-
* <p>The behavior when a Spot Instance is interrupted. The default is
|
|
7777
|
-
* <code>terminate</code>.</p>
|
|
7778
|
-
*/
|
|
7779
|
-
InstanceInterruptionBehavior?: InstanceInterruptionBehavior | string;
|
|
7780
|
-
}
|
|
7781
|
-
export declare namespace SpotMarketOptions {
|
|
7782
|
-
/**
|
|
7783
|
-
* @internal
|
|
7784
|
-
*/
|
|
7785
|
-
const filterSensitiveLog: (obj: SpotMarketOptions) => any;
|
|
7786
|
-
}
|
|
7787
|
-
/**
|
|
7788
|
-
* <p>Describes the market (purchasing) option for the instances.</p>
|
|
7789
|
-
*/
|
|
7790
|
-
export interface InstanceMarketOptionsRequest {
|
|
7791
|
-
/**
|
|
7792
|
-
* <p>The market type.</p>
|
|
7793
|
-
*/
|
|
7794
|
-
MarketType?: MarketType | string;
|
|
7795
|
-
/**
|
|
7796
|
-
* <p>The options for Spot Instances.</p>
|
|
7797
|
-
*/
|
|
7798
|
-
SpotOptions?: SpotMarketOptions;
|
|
7799
|
-
}
|
|
7800
|
-
export declare namespace InstanceMarketOptionsRequest {
|
|
7801
|
-
/**
|
|
7802
|
-
* @internal
|
|
7803
|
-
*/
|
|
7804
|
-
const filterSensitiveLog: (obj: InstanceMarketOptionsRequest) => any;
|
|
7805
|
-
}
|