@aws-sdk/client-ec2 3.696.0 → 3.698.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/README.md +24 -0
- package/dist-cjs/index.js +741 -123
- package/dist-es/EC2.js +6 -0
- package/dist-es/commands/DescribeCapacityBlockExtensionHistoryCommand.js +22 -0
- package/dist-es/commands/DescribeCapacityBlockExtensionOfferingsCommand.js +22 -0
- package/dist-es/commands/PurchaseCapacityBlockExtensionCommand.js +22 -0
- package/dist-es/commands/index.js +3 -0
- package/dist-es/models/models_0.js +4 -14
- package/dist-es/models/models_1.js +19 -4
- package/dist-es/models/models_2.js +4 -0
- package/dist-es/models/models_3.js +5 -17
- package/dist-es/models/models_4.js +17 -0
- package/dist-es/models/models_5.js +0 -4
- package/dist-es/models/models_6.js +4 -11
- package/dist-es/models/models_7.js +11 -0
- package/dist-es/pagination/DescribeCapacityBlockExtensionHistoryPaginator.js +4 -0
- package/dist-es/pagination/DescribeCapacityBlockExtensionOfferingsPaginator.js +4 -0
- package/dist-es/pagination/index.js +3 -1
- package/dist-es/protocols/Aws_ec2.js +614 -64
- package/dist-types/EC2.d.ts +22 -0
- package/dist-types/EC2Client.d.ts +5 -2
- package/dist-types/commands/AcceptCapacityReservationBillingOwnershipCommand.d.ts +3 -3
- package/dist-types/commands/AssociateCapacityReservationBillingOwnerCommand.d.ts +4 -4
- package/dist-types/commands/CancelCapacityReservationCommand.d.ts +17 -2
- package/dist-types/commands/CancelCapacityReservationFleetsCommand.d.ts +7 -6
- package/dist-types/commands/CreateCapacityReservationBySplittingCommand.d.ts +16 -5
- package/dist-types/commands/CreateCapacityReservationCommand.d.ts +31 -16
- package/dist-types/commands/CreateFleetCommand.d.ts +30 -3
- package/dist-types/commands/CreateIpamResourceDiscoveryCommand.d.ts +5 -0
- package/dist-types/commands/CreateLaunchTemplateCommand.d.ts +11 -2
- package/dist-types/commands/CreateLaunchTemplateVersionCommand.d.ts +22 -4
- package/dist-types/commands/CreateNatGatewayCommand.d.ts +2 -1
- package/dist-types/commands/CreateNetworkAclCommand.d.ts +1 -1
- package/dist-types/commands/CreateNetworkAclEntryCommand.d.ts +1 -1
- package/dist-types/commands/DeleteFpgaImageCommand.d.ts +2 -1
- package/dist-types/commands/DeleteInstanceConnectEndpointCommand.d.ts +1 -1
- package/dist-types/commands/DeleteInstanceEventWindowCommand.d.ts +1 -1
- package/dist-types/commands/DeleteInternetGatewayCommand.d.ts +1 -1
- package/dist-types/commands/DeleteIpamCommand.d.ts +1 -1
- package/dist-types/commands/DeleteIpamExternalResourceVerificationTokenCommand.d.ts +1 -2
- package/dist-types/commands/DeleteIpamResourceDiscoveryCommand.d.ts +5 -0
- package/dist-types/commands/DescribeCapacityBlockExtensionHistoryCommand.d.ts +102 -0
- package/dist-types/commands/DescribeCapacityBlockExtensionOfferingsCommand.d.ts +92 -0
- package/dist-types/commands/DescribeCapacityBlockOfferingsCommand.d.ts +3 -1
- package/dist-types/commands/DescribeCapacityReservationBillingRequestsCommand.d.ts +3 -3
- package/dist-types/commands/DescribeCapacityReservationsCommand.d.ts +9 -3
- package/dist-types/commands/DescribeFleetsCommand.d.ts +30 -3
- package/dist-types/commands/DescribeFpgaImageAttributeCommand.d.ts +2 -1
- package/dist-types/commands/DescribeFpgaImagesCommand.d.ts +1 -1
- package/dist-types/commands/DescribeHostReservationOfferingsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeHostReservationsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeInstancesCommand.d.ts +1 -1
- package/dist-types/commands/DescribeIpamResourceDiscoveriesCommand.d.ts +5 -0
- package/dist-types/commands/DescribeLaunchTemplateVersionsCommand.d.ts +11 -2
- package/dist-types/commands/DescribeScheduledInstanceAvailabilityCommand.d.ts +2 -1
- package/dist-types/commands/DescribeScheduledInstancesCommand.d.ts +1 -1
- package/dist-types/commands/DescribeSecurityGroupReferencesCommand.d.ts +1 -1
- package/dist-types/commands/DescribeSecurityGroupRulesCommand.d.ts +1 -1
- package/dist-types/commands/DescribeSecurityGroupVpcAssociationsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeSecurityGroupsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeSpotFleetRequestsCommand.d.ts +20 -2
- package/dist-types/commands/DescribeVpcBlockPublicAccessOptionsCommand.d.ts +1 -1
- package/dist-types/commands/DisassociateCapacityReservationBillingOwnerCommand.d.ts +4 -4
- package/dist-types/commands/EnableVgwRoutePropagationCommand.d.ts +1 -1
- package/dist-types/commands/EnableVolumeIOCommand.d.ts +1 -1
- package/dist-types/commands/EnableVpcClassicLinkCommand.d.ts +1 -1
- package/dist-types/commands/EnableVpcClassicLinkDnsSupportCommand.d.ts +1 -1
- package/dist-types/commands/ExportClientVpnClientCertificateRevocationListCommand.d.ts +1 -1
- package/dist-types/commands/ExportClientVpnClientConfigurationCommand.d.ts +1 -1
- package/dist-types/commands/ExportImageCommand.d.ts +1 -1
- package/dist-types/commands/ExportTransitGatewayRoutesCommand.d.ts +1 -1
- package/dist-types/commands/GetCapacityReservationUsageCommand.d.ts +4 -4
- package/dist-types/commands/GetInstanceTypesFromInstanceRequirementsCommand.d.ts +10 -1
- package/dist-types/commands/GetIpamDiscoveredAccountsCommand.d.ts +1 -0
- package/dist-types/commands/GetLaunchTemplateDataCommand.d.ts +11 -2
- package/dist-types/commands/GetSpotPlacementScoresCommand.d.ts +10 -1
- package/dist-types/commands/ModifyCapacityReservationCommand.d.ts +33 -4
- package/dist-types/commands/ModifyCapacityReservationFleetCommand.d.ts +5 -4
- package/dist-types/commands/ModifyFleetCommand.d.ts +10 -1
- package/dist-types/commands/ModifyInstanceCapacityReservationAttributesCommand.d.ts +5 -4
- package/dist-types/commands/ModifyIpamResourceDiscoveryCommand.d.ts +15 -0
- package/dist-types/commands/ModifySpotFleetRequestCommand.d.ts +10 -1
- package/dist-types/commands/ModifyTrafficMirrorFilterNetworkServicesCommand.d.ts +1 -1
- package/dist-types/commands/ModifyTrafficMirrorFilterRuleCommand.d.ts +1 -1
- package/dist-types/commands/ModifyTrafficMirrorSessionCommand.d.ts +1 -1
- package/dist-types/commands/ModifyTransitGatewayCommand.d.ts +1 -1
- package/dist-types/commands/ModifyTransitGatewayPrefixListReferenceCommand.d.ts +1 -1
- package/dist-types/commands/ModifyTransitGatewayVpcAttachmentCommand.d.ts +1 -1
- package/dist-types/commands/ModifyVpcBlockPublicAccessOptionsCommand.d.ts +1 -1
- package/dist-types/commands/MoveCapacityReservationInstancesCommand.d.ts +17 -5
- package/dist-types/commands/PurchaseCapacityBlockCommand.d.ts +9 -3
- package/dist-types/commands/PurchaseCapacityBlockExtensionCommand.d.ts +90 -0
- package/dist-types/commands/RejectCapacityReservationBillingOwnershipCommand.d.ts +3 -3
- package/dist-types/commands/RequestSpotFleetCommand.d.ts +20 -2
- package/dist-types/commands/RunInstancesCommand.d.ts +2 -2
- package/dist-types/commands/index.d.ts +3 -0
- package/dist-types/models/models_0.d.ts +163 -67
- package/dist-types/models/models_1.d.ts +480 -499
- package/dist-types/models/models_2.d.ts +384 -179
- package/dist-types/models/models_3.d.ts +693 -758
- package/dist-types/models/models_4.d.ts +6178 -6293
- package/dist-types/models/models_5.d.ts +2712 -2367
- package/dist-types/models/models_6.d.ts +4288 -4301
- package/dist-types/models/models_7.d.ts +533 -28
- package/dist-types/pagination/DescribeCapacityBlockExtensionHistoryPaginator.d.ts +7 -0
- package/dist-types/pagination/DescribeCapacityBlockExtensionOfferingsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +3 -1
- package/dist-types/protocols/Aws_ec2.d.ts +27 -0
- package/dist-types/ts3.4/EC2.d.ts +64 -0
- package/dist-types/ts3.4/EC2Client.d.ts +18 -0
- package/dist-types/ts3.4/commands/CreateNatGatewayCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/CreateNetworkAclCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/CreateNetworkAclEntryCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteFpgaImageCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/DeleteInstanceConnectEndpointCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteInstanceEventWindowCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteInternetGatewayCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteIpamCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteIpamExternalResourceVerificationTokenCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/DescribeCapacityBlockExtensionHistoryCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DescribeCapacityBlockExtensionOfferingsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DescribeFpgaImageAttributeCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/DescribeFpgaImagesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeHostReservationOfferingsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeHostReservationsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeScheduledInstanceAvailabilityCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/DescribeScheduledInstancesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeSecurityGroupReferencesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeSecurityGroupRulesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeSecurityGroupVpcAssociationsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeSecurityGroupsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/EnableVgwRoutePropagationCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/EnableVolumeIOCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/EnableVpcClassicLinkCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/EnableVpcClassicLinkDnsSupportCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ExportClientVpnClientCertificateRevocationListCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ExportClientVpnClientConfigurationCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ExportImageCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ExportTransitGatewayRoutesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ModifyTrafficMirrorFilterNetworkServicesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ModifyTrafficMirrorFilterRuleCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ModifyTrafficMirrorSessionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ModifyTransitGatewayCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ModifyTransitGatewayPrefixListReferenceCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ModifyTransitGatewayVpcAttachmentCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/PurchaseCapacityBlockExtensionCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/index.d.ts +3 -0
- package/dist-types/ts3.4/models/models_0.d.ts +12 -18
- package/dist-types/ts3.4/models/models_1.d.ts +54 -77
- package/dist-types/ts3.4/models/models_2.d.ts +78 -41
- package/dist-types/ts3.4/models/models_3.d.ts +102 -124
- package/dist-types/ts3.4/models/models_4.d.ts +127 -124
- package/dist-types/ts3.4/models/models_5.d.ts +126 -86
- package/dist-types/ts3.4/models/models_6.d.ts +97 -139
- package/dist-types/ts3.4/models/models_7.d.ts +149 -9
- package/dist-types/ts3.4/pagination/DescribeCapacityBlockExtensionHistoryPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/DescribeCapacityBlockExtensionOfferingsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +3 -1
- package/dist-types/ts3.4/protocols/Aws_ec2.d.ts +36 -0
- package/package.json +1 -1
|
@@ -2421,6 +2421,47 @@ export interface AddIpamOperatingRegion {
|
|
|
2421
2421
|
*/
|
|
2422
2422
|
RegionName?: string | undefined;
|
|
2423
2423
|
}
|
|
2424
|
+
/**
|
|
2425
|
+
* <p>Add an Organizational Unit (OU) exclusion to your IPAM. If your IPAM is integrated with Amazon Web Services Organizations and you add an organizational unit (OU) exclusion, IPAM will not manage the IP addresses in accounts in that OU exclusion. There is a limit on the number of exclusions you can create. For more information, see <a href="https://docs.aws.amazon.com/vpc/latest/ipam/quotas-ipam.html">Quotas for your IPAM</a> in the <i>Amazon VPC IPAM User Guide</i>.</p>
|
|
2426
|
+
* @public
|
|
2427
|
+
*/
|
|
2428
|
+
export interface AddIpamOrganizationalUnitExclusion {
|
|
2429
|
+
/**
|
|
2430
|
+
* <p>An Amazon Web Services Organizations entity path. Build the path for the OU(s) using Amazon Web Services Organizations IDs separated by a <code>/</code>. Include all child OUs by ending the path with <code>/*</code>.</p>
|
|
2431
|
+
* <ul>
|
|
2432
|
+
* <li>
|
|
2433
|
+
* <p>Example 1</p>
|
|
2434
|
+
* <ul>
|
|
2435
|
+
* <li>
|
|
2436
|
+
* <p>Path to a child OU: <code>o-a1b2c3d4e5/r-f6g7h8i9j0example/ou-ghi0-awsccccc/ou-jkl0-awsddddd/</code>
|
|
2437
|
+
* </p>
|
|
2438
|
+
* </li>
|
|
2439
|
+
* <li>
|
|
2440
|
+
* <p>In this example, <code>o-a1b2c3d4e5</code> is the organization ID, <code>r-f6g7h8i9j0example</code> is the root ID , <code>ou-ghi0-awsccccc</code> is an OU ID, and <code>ou-jkl0-awsddddd</code> is a child OU ID.</p>
|
|
2441
|
+
* </li>
|
|
2442
|
+
* <li>
|
|
2443
|
+
* <p>IPAM will not manage the IP addresses in accounts in the child OU.</p>
|
|
2444
|
+
* </li>
|
|
2445
|
+
* </ul>
|
|
2446
|
+
* </li>
|
|
2447
|
+
* <li>
|
|
2448
|
+
* <p>Example 2</p>
|
|
2449
|
+
* <ul>
|
|
2450
|
+
* <li>
|
|
2451
|
+
* <p>Path where all child OUs will be part of the exclusion: <code>o-a1b2c3d4e5/r-f6g7h8i9j0example/ou-ghi0-awsccccc/*</code>
|
|
2452
|
+
* </p>
|
|
2453
|
+
* </li>
|
|
2454
|
+
* <li>
|
|
2455
|
+
* <p>In this example, IPAM will not manage the IP addresses in accounts in the OU (<code>ou-ghi0-awsccccc</code>) or in accounts in any OUs that are children of the OU.</p>
|
|
2456
|
+
* </li>
|
|
2457
|
+
* </ul>
|
|
2458
|
+
* </li>
|
|
2459
|
+
* </ul>
|
|
2460
|
+
* <p>For more information on how to construct an entity path, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_last-accessed-view-data-orgs.html#access_policies_access-advisor-viewing-orgs-entity-path">Understand the Amazon Web Services Organizations entity path</a> in the <i>Amazon Web Services Identity and Access Management User Guide</i>.</p>
|
|
2461
|
+
* @public
|
|
2462
|
+
*/
|
|
2463
|
+
OrganizationsEntityPath?: string | undefined;
|
|
2464
|
+
}
|
|
2424
2465
|
/**
|
|
2425
2466
|
* <p>An entry for a prefix list.</p>
|
|
2426
2467
|
* @public
|
|
@@ -6491,7 +6532,8 @@ export interface CapacityReservationFleetCancellationState {
|
|
|
6491
6532
|
*/
|
|
6492
6533
|
export interface CancelCapacityReservationFleetsResult {
|
|
6493
6534
|
/**
|
|
6494
|
-
* <p>Information about the Capacity Reservation Fleets that were successfully
|
|
6535
|
+
* <p>Information about the Capacity Reservation Fleets that were successfully
|
|
6536
|
+
* cancelled.</p>
|
|
6495
6537
|
* @public
|
|
6496
6538
|
*/
|
|
6497
6539
|
SuccessfulFleetCancellations?: CapacityReservationFleetCancellationState[] | undefined;
|
|
@@ -7290,6 +7332,18 @@ export interface CopySnapshotResult {
|
|
|
7290
7332
|
*/
|
|
7291
7333
|
SnapshotId?: string | undefined;
|
|
7292
7334
|
}
|
|
7335
|
+
/**
|
|
7336
|
+
* @public
|
|
7337
|
+
* @enum
|
|
7338
|
+
*/
|
|
7339
|
+
export declare const CapacityReservationDeliveryPreference: {
|
|
7340
|
+
readonly FIXED: "fixed";
|
|
7341
|
+
readonly INCREMENTAL: "incremental";
|
|
7342
|
+
};
|
|
7343
|
+
/**
|
|
7344
|
+
* @public
|
|
7345
|
+
*/
|
|
7346
|
+
export type CapacityReservationDeliveryPreference = (typeof CapacityReservationDeliveryPreference)[keyof typeof CapacityReservationDeliveryPreference];
|
|
7293
7347
|
/**
|
|
7294
7348
|
* @public
|
|
7295
7349
|
* @enum
|
|
@@ -7364,7 +7418,12 @@ export interface CreateCapacityReservationRequest {
|
|
|
7364
7418
|
*/
|
|
7365
7419
|
ClientToken?: string | undefined;
|
|
7366
7420
|
/**
|
|
7367
|
-
* <p>The instance type for which to reserve capacity
|
|
7421
|
+
* <p>The instance type for which to reserve capacity.</p>
|
|
7422
|
+
* <note>
|
|
7423
|
+
* <p>You can request future-dated Capacity Reservations for instance types in the C, M, R, I,
|
|
7424
|
+
* and T instance families only.</p>
|
|
7425
|
+
* </note>
|
|
7426
|
+
* <p>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html">Instance types</a> in the <i>Amazon EC2 User Guide</i>.</p>
|
|
7368
7427
|
* @public
|
|
7369
7428
|
*/
|
|
7370
7429
|
InstanceType: string | undefined;
|
|
@@ -7384,15 +7443,18 @@ export interface CreateCapacityReservationRequest {
|
|
|
7384
7443
|
*/
|
|
7385
7444
|
AvailabilityZoneId?: string | undefined;
|
|
7386
7445
|
/**
|
|
7387
|
-
* <p>Indicates the tenancy of the Capacity Reservation. A Capacity Reservation can have one
|
|
7446
|
+
* <p>Indicates the tenancy of the Capacity Reservation. A Capacity Reservation can have one
|
|
7447
|
+
* of the following tenancy settings:</p>
|
|
7388
7448
|
* <ul>
|
|
7389
7449
|
* <li>
|
|
7390
7450
|
* <p>
|
|
7391
|
-
* <code>default</code> - The Capacity Reservation is created on hardware that is
|
|
7451
|
+
* <code>default</code> - The Capacity Reservation is created on hardware that is
|
|
7452
|
+
* shared with other Amazon Web Services accounts.</p>
|
|
7392
7453
|
* </li>
|
|
7393
7454
|
* <li>
|
|
7394
7455
|
* <p>
|
|
7395
|
-
* <code>dedicated</code> - The Capacity Reservation is created on single-tenant
|
|
7456
|
+
* <code>dedicated</code> - The Capacity Reservation is created on single-tenant
|
|
7457
|
+
* hardware that is dedicated to a single Amazon Web Services account.</p>
|
|
7396
7458
|
* </li>
|
|
7397
7459
|
* </ul>
|
|
7398
7460
|
* @public
|
|
@@ -7400,15 +7462,22 @@ export interface CreateCapacityReservationRequest {
|
|
|
7400
7462
|
Tenancy?: CapacityReservationTenancy | undefined;
|
|
7401
7463
|
/**
|
|
7402
7464
|
* <p>The number of instances for which to reserve capacity.</p>
|
|
7465
|
+
* <note>
|
|
7466
|
+
* <p>You can request future-dated Capacity Reservations for an instance count
|
|
7467
|
+
* with a minimum of 100 VPUs. For example, if you request a future-dated Capacity
|
|
7468
|
+
* Reservation for <code>m5.xlarge</code> instances, you must request at least
|
|
7469
|
+
* 25 instances (<i>25 * m5.xlarge = 100 vCPUs</i>).</p>
|
|
7470
|
+
* </note>
|
|
7403
7471
|
* <p>Valid range: 1 - 1000</p>
|
|
7404
7472
|
* @public
|
|
7405
7473
|
*/
|
|
7406
7474
|
InstanceCount: number | undefined;
|
|
7407
7475
|
/**
|
|
7408
|
-
* <p>Indicates whether the Capacity Reservation supports EBS-optimized instances. This
|
|
7409
|
-
* dedicated throughput to Amazon EBS and an optimized configuration
|
|
7410
|
-
* optimal I/O performance. This optimization isn't available with all
|
|
7411
|
-
* Additional usage charges apply when using an EBS- optimized
|
|
7476
|
+
* <p>Indicates whether the Capacity Reservation supports EBS-optimized instances. This
|
|
7477
|
+
* optimization provides dedicated throughput to Amazon EBS and an optimized configuration
|
|
7478
|
+
* stack to provide optimal I/O performance. This optimization isn't available with all
|
|
7479
|
+
* instance types. Additional usage charges apply when using an EBS- optimized
|
|
7480
|
+
* instance.</p>
|
|
7412
7481
|
* @public
|
|
7413
7482
|
*/
|
|
7414
7483
|
EbsOptimized?: boolean | undefined;
|
|
@@ -7420,54 +7489,64 @@ export interface CreateCapacityReservationRequest {
|
|
|
7420
7489
|
*/
|
|
7421
7490
|
EphemeralStorage?: boolean | undefined;
|
|
7422
7491
|
/**
|
|
7423
|
-
* <p>The date and time at which the Capacity Reservation expires. When a Capacity
|
|
7424
|
-
* is released and you can no longer launch
|
|
7425
|
-
*
|
|
7492
|
+
* <p>The date and time at which the Capacity Reservation expires. When a Capacity
|
|
7493
|
+
* Reservation expires, the reserved capacity is released and you can no longer launch
|
|
7494
|
+
* instances into it. The Capacity Reservation's state changes to <code>expired</code>
|
|
7495
|
+
* when it reaches its end date and time.</p>
|
|
7426
7496
|
* <p>You must provide an <code>EndDate</code> value if <code>EndDateType</code> is
|
|
7427
|
-
*
|
|
7428
|
-
*
|
|
7429
|
-
* <p>If the <code>EndDateType</code> is <code>limited</code>, the Capacity Reservation
|
|
7430
|
-
*
|
|
7497
|
+
* <code>limited</code>. Omit <code>EndDate</code> if <code>EndDateType</code> is
|
|
7498
|
+
* <code>unlimited</code>.</p>
|
|
7499
|
+
* <p>If the <code>EndDateType</code> is <code>limited</code>, the Capacity Reservation
|
|
7500
|
+
* is cancelled within an hour from the specified time. For example, if you specify
|
|
7501
|
+
* 5/31/2019, 13:30:55, the Capacity Reservation is guaranteed to end between 13:30:55
|
|
7502
|
+
* and 14:30:55 on 5/31/2019.</p>
|
|
7503
|
+
* <p>If you are requesting a future-dated Capacity Reservation, you can't specify an end
|
|
7504
|
+
* date and time that is within the commitment duration.</p>
|
|
7431
7505
|
* @public
|
|
7432
7506
|
*/
|
|
7433
7507
|
EndDate?: Date | undefined;
|
|
7434
7508
|
/**
|
|
7435
|
-
* <p>Indicates the way in which the Capacity Reservation ends. A Capacity Reservation can
|
|
7436
|
-
* types:</p>
|
|
7509
|
+
* <p>Indicates the way in which the Capacity Reservation ends. A Capacity Reservation can
|
|
7510
|
+
* have one of the following end types:</p>
|
|
7437
7511
|
* <ul>
|
|
7438
7512
|
* <li>
|
|
7439
7513
|
* <p>
|
|
7440
|
-
* <code>unlimited</code> - The Capacity Reservation remains active until you
|
|
7441
|
-
* provide an <code>EndDate</code> if the
|
|
7442
|
-
* <code>unlimited</code>.</p>
|
|
7514
|
+
* <code>unlimited</code> - The Capacity Reservation remains active until you
|
|
7515
|
+
* explicitly cancel it. Do not provide an <code>EndDate</code> if the
|
|
7516
|
+
* <code>EndDateType</code> is <code>unlimited</code>.</p>
|
|
7443
7517
|
* </li>
|
|
7444
7518
|
* <li>
|
|
7445
7519
|
* <p>
|
|
7446
|
-
* <code>limited</code> - The Capacity Reservation expires automatically at a
|
|
7447
|
-
* provide an <code>EndDate</code> value if the
|
|
7448
|
-
* <code>limited</code>.</p>
|
|
7520
|
+
* <code>limited</code> - The Capacity Reservation expires automatically at a
|
|
7521
|
+
* specified date and time. You must provide an <code>EndDate</code> value if the
|
|
7522
|
+
* <code>EndDateType</code> value is <code>limited</code>.</p>
|
|
7449
7523
|
* </li>
|
|
7450
7524
|
* </ul>
|
|
7451
7525
|
* @public
|
|
7452
7526
|
*/
|
|
7453
7527
|
EndDateType?: EndDateType | undefined;
|
|
7454
7528
|
/**
|
|
7455
|
-
* <p>Indicates the type of instance launches that the Capacity Reservation accepts. The
|
|
7456
|
-
* include:</p>
|
|
7529
|
+
* <p>Indicates the type of instance launches that the Capacity Reservation accepts. The
|
|
7530
|
+
* options include:</p>
|
|
7457
7531
|
* <ul>
|
|
7458
7532
|
* <li>
|
|
7459
7533
|
* <p>
|
|
7460
|
-
* <code>open</code> - The Capacity Reservation automatically matches all instances
|
|
7461
|
-
*
|
|
7462
|
-
*
|
|
7534
|
+
* <code>open</code> - The Capacity Reservation automatically matches all instances
|
|
7535
|
+
* that have matching attributes (instance type, platform, and Availability Zone).
|
|
7536
|
+
* Instances that have matching attributes run in the Capacity Reservation
|
|
7537
|
+
* automatically without specifying any additional parameters.</p>
|
|
7463
7538
|
* </li>
|
|
7464
7539
|
* <li>
|
|
7465
7540
|
* <p>
|
|
7466
|
-
* <code>targeted</code> - The Capacity Reservation only accepts instances that
|
|
7467
|
-
* (instance type, platform, and Availability Zone), and
|
|
7468
|
-
* Capacity Reservation. This ensures that only permitted
|
|
7541
|
+
* <code>targeted</code> - The Capacity Reservation only accepts instances that
|
|
7542
|
+
* have matching attributes (instance type, platform, and Availability Zone), and
|
|
7543
|
+
* explicitly target the Capacity Reservation. This ensures that only permitted
|
|
7544
|
+
* instances can use the reserved capacity. </p>
|
|
7469
7545
|
* </li>
|
|
7470
7546
|
* </ul>
|
|
7547
|
+
* <note>
|
|
7548
|
+
* <p>If you are requesting a future-dated Capacity Reservation, you must specify <code>targeted</code>.</p>
|
|
7549
|
+
* </note>
|
|
7471
7550
|
* <p>Default: <code>open</code>
|
|
7472
7551
|
* </p>
|
|
7473
7552
|
* @public
|
|
@@ -7484,12 +7563,19 @@ export interface CreateCapacityReservationRequest {
|
|
|
7484
7563
|
*/
|
|
7485
7564
|
DryRun?: boolean | undefined;
|
|
7486
7565
|
/**
|
|
7487
|
-
* <
|
|
7566
|
+
* <note>
|
|
7567
|
+
* <p>Not supported for future-dated Capacity Reservations.</p>
|
|
7568
|
+
* </note>
|
|
7569
|
+
* <p>The Amazon Resource Name (ARN) of the Outpost on which to create the Capacity
|
|
7570
|
+
* Reservation.</p>
|
|
7488
7571
|
* @public
|
|
7489
7572
|
*/
|
|
7490
7573
|
OutpostArn?: string | undefined;
|
|
7491
7574
|
/**
|
|
7492
|
-
* <
|
|
7575
|
+
* <note>
|
|
7576
|
+
* <p>Not supported for future-dated Capacity Reservations.</p>
|
|
7577
|
+
* </note>
|
|
7578
|
+
* <p>The Amazon Resource Name (ARN) of the cluster placement group in which
|
|
7493
7579
|
* to create the Capacity Reservation. For more information, see
|
|
7494
7580
|
* <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/cr-cpg.html">
|
|
7495
7581
|
* Capacity Reservations for cluster placement groups</a> in the
|
|
@@ -7497,6 +7583,45 @@ export interface CreateCapacityReservationRequest {
|
|
|
7497
7583
|
* @public
|
|
7498
7584
|
*/
|
|
7499
7585
|
PlacementGroupArn?: string | undefined;
|
|
7586
|
+
/**
|
|
7587
|
+
* <note>
|
|
7588
|
+
* <p>Required for future-dated Capacity Reservations only. To create a Capacity
|
|
7589
|
+
* Reservation for immediate use, omit this parameter. </p>
|
|
7590
|
+
* </note>
|
|
7591
|
+
* <p>The date and time at which the future-dated Capacity Reservation should become
|
|
7592
|
+
* available for use, in the ISO8601 format in the UTC time zone
|
|
7593
|
+
* (<code>YYYY-MM-DDThh:mm:ss.sssZ</code>).</p>
|
|
7594
|
+
* <p>You can request a future-dated Capacity Reservation between 5 and 120 days in
|
|
7595
|
+
* advance.</p>
|
|
7596
|
+
* @public
|
|
7597
|
+
*/
|
|
7598
|
+
StartDate?: Date | undefined;
|
|
7599
|
+
/**
|
|
7600
|
+
* <note>
|
|
7601
|
+
* <p>Required for future-dated Capacity Reservations only. To create a Capacity
|
|
7602
|
+
* Reservation for immediate use, omit this parameter. </p>
|
|
7603
|
+
* </note>
|
|
7604
|
+
* <p>Specify a commitment duration, in seconds, for the future-dated Capacity Reservation.</p>
|
|
7605
|
+
* <p>The commitment duration is a minimum duration for which you commit to having the
|
|
7606
|
+
* future-dated Capacity Reservation in the <code>active</code> state in your account
|
|
7607
|
+
* after it has been delivered.</p>
|
|
7608
|
+
* <p>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/cr-concepts.html#cr-commitment-duration">
|
|
7609
|
+
* Commitment duration</a>.</p>
|
|
7610
|
+
* @public
|
|
7611
|
+
*/
|
|
7612
|
+
CommitmentDuration?: number | undefined;
|
|
7613
|
+
/**
|
|
7614
|
+
* <note>
|
|
7615
|
+
* <p>Required for future-dated Capacity Reservations only. To create a Capacity
|
|
7616
|
+
* Reservation for immediate use, omit this parameter. </p>
|
|
7617
|
+
* </note>
|
|
7618
|
+
* <p>Indicates that the requested capacity will be delivered in addition to any
|
|
7619
|
+
* running instances or reserved capacity that you have in your account at the
|
|
7620
|
+
* requested date and time.</p>
|
|
7621
|
+
* <p>The only supported value is <code>incremental</code>.</p>
|
|
7622
|
+
* @public
|
|
7623
|
+
*/
|
|
7624
|
+
DeliveryPreference?: CapacityReservationDeliveryPreference | undefined;
|
|
7500
7625
|
}
|
|
7501
7626
|
/**
|
|
7502
7627
|
* <p>Information about instance capacity usage for a Capacity Reservation.</p>
|
|
@@ -7504,48 +7629,19 @@ export interface CreateCapacityReservationRequest {
|
|
|
7504
7629
|
*/
|
|
7505
7630
|
export interface CapacityAllocation {
|
|
7506
7631
|
/**
|
|
7507
|
-
* <p>The usage type. <code>used</code> indicates that the instance capacity is
|
|
7508
|
-
*
|
|
7632
|
+
* <p>The usage type. <code>used</code> indicates that the instance capacity is in use by
|
|
7633
|
+
* instances that are running in the Capacity Reservation.</p>
|
|
7509
7634
|
* @public
|
|
7510
7635
|
*/
|
|
7511
7636
|
AllocationType?: AllocationType | undefined;
|
|
7512
7637
|
/**
|
|
7513
7638
|
* <p>The amount of instance capacity associated with the usage. For example a value of
|
|
7514
|
-
*
|
|
7639
|
+
* <code>4</code> indicates that instance capacity for 4 instances is currently in
|
|
7640
|
+
* use.</p>
|
|
7515
7641
|
* @public
|
|
7516
7642
|
*/
|
|
7517
7643
|
Count?: number | undefined;
|
|
7518
7644
|
}
|
|
7519
|
-
/**
|
|
7520
|
-
* @public
|
|
7521
|
-
* @enum
|
|
7522
|
-
*/
|
|
7523
|
-
export declare const CapacityReservationType: {
|
|
7524
|
-
readonly CAPACITY_BLOCK: "capacity-block";
|
|
7525
|
-
readonly DEFAULT: "default";
|
|
7526
|
-
};
|
|
7527
|
-
/**
|
|
7528
|
-
* @public
|
|
7529
|
-
*/
|
|
7530
|
-
export type CapacityReservationType = (typeof CapacityReservationType)[keyof typeof CapacityReservationType];
|
|
7531
|
-
/**
|
|
7532
|
-
* @public
|
|
7533
|
-
* @enum
|
|
7534
|
-
*/
|
|
7535
|
-
export declare const CapacityReservationState: {
|
|
7536
|
-
readonly active: "active";
|
|
7537
|
-
readonly cancelled: "cancelled";
|
|
7538
|
-
readonly expired: "expired";
|
|
7539
|
-
readonly failed: "failed";
|
|
7540
|
-
readonly payment_failed: "payment-failed";
|
|
7541
|
-
readonly payment_pending: "payment-pending";
|
|
7542
|
-
readonly pending: "pending";
|
|
7543
|
-
readonly scheduled: "scheduled";
|
|
7544
|
-
};
|
|
7545
|
-
/**
|
|
7546
|
-
* @public
|
|
7547
|
-
*/
|
|
7548
|
-
export type CapacityReservationState = (typeof CapacityReservationState)[keyof typeof CapacityReservationState];
|
|
7549
7645
|
/**
|
|
7550
7646
|
* @internal
|
|
7551
7647
|
*/
|