@aws-sdk/client-ec2 3.835.0 → 3.836.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/index.js +25 -9
- package/dist-es/models/models_1.js +4 -0
- package/dist-es/models/models_2.js +0 -4
- package/dist-es/protocols/Aws_ec2.js +20 -4
- package/dist-types/commands/CancelCapacityReservationCommand.d.ts +12 -9
- package/dist-types/commands/CreateCapacityReservationCommand.d.ts +18 -15
- package/dist-types/commands/CreateImageCommand.d.ts +15 -0
- package/dist-types/commands/CreateInstanceConnectEndpointCommand.d.ts +2 -2
- package/dist-types/commands/DescribeCapacityBlockExtensionOfferingsCommand.d.ts +2 -2
- package/dist-types/commands/DescribeCapacityBlockOfferingsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeImageAttributeCommand.d.ts +2 -0
- package/dist-types/commands/DescribeImagesCommand.d.ts +2 -0
- package/dist-types/commands/DescribeSpotFleetRequestsCommand.d.ts +2 -0
- package/dist-types/commands/DescribeSpotInstanceRequestsCommand.d.ts +2 -0
- package/dist-types/commands/ModifyCapacityReservationCommand.d.ts +19 -15
- package/dist-types/commands/ModifyInstanceCapacityReservationAttributesCommand.d.ts +1 -1
- package/dist-types/commands/ModifyInstanceNetworkPerformanceOptionsCommand.d.ts +1 -1
- package/dist-types/commands/RegisterImageCommand.d.ts +2 -0
- package/dist-types/commands/RequestSpotFleetCommand.d.ts +2 -0
- package/dist-types/commands/RequestSpotInstancesCommand.d.ts +4 -0
- package/dist-types/commands/RunInstancesCommand.d.ts +2 -0
- package/dist-types/commands/StartDeclarativePoliciesReportCommand.d.ts +1 -1
- package/dist-types/commands/StopInstancesCommand.d.ts +4 -5
- package/dist-types/models/models_1.d.ts +91 -59
- package/dist-types/models/models_2.d.ts +25 -14
- package/dist-types/models/models_3.d.ts +17 -23
- package/dist-types/models/models_4.d.ts +7 -6
- package/dist-types/models/models_7.d.ts +21 -17
- package/dist-types/ts3.4/models/models_1.d.ts +9 -4
- package/dist-types/ts3.4/models/models_2.d.ts +6 -7
- package/package.json +1 -1
|
@@ -409,10 +409,11 @@ export interface CreateCapacityReservationRequest {
|
|
|
409
409
|
/**
|
|
410
410
|
* <p>The instance type for which to reserve capacity.</p>
|
|
411
411
|
* <note>
|
|
412
|
-
* <p>You can request future-dated Capacity Reservations for instance types in the C, M,
|
|
413
|
-
* and T instance families only.</p>
|
|
412
|
+
* <p>You can request future-dated Capacity Reservations for instance types in the C, M,
|
|
413
|
+
* R, I, and T instance families only.</p>
|
|
414
414
|
* </note>
|
|
415
|
-
* <p>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html">Instance types</a> in the
|
|
415
|
+
* <p>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html">Instance types</a> in the
|
|
416
|
+
* <i>Amazon EC2 User Guide</i>.</p>
|
|
416
417
|
* @public
|
|
417
418
|
*/
|
|
418
419
|
InstanceType: string | undefined;
|
|
@@ -452,10 +453,10 @@ export interface CreateCapacityReservationRequest {
|
|
|
452
453
|
/**
|
|
453
454
|
* <p>The number of instances for which to reserve capacity.</p>
|
|
454
455
|
* <note>
|
|
455
|
-
* <p>You can request future-dated Capacity Reservations for an instance count
|
|
456
|
-
*
|
|
457
|
-
* Reservation for <code>m5.xlarge</code> instances, you must request at least
|
|
458
|
-
*
|
|
456
|
+
* <p>You can request future-dated Capacity Reservations for an instance count with a
|
|
457
|
+
* minimum of 100 vCPUs. For example, if you request a future-dated Capacity
|
|
458
|
+
* Reservation for <code>m5.xlarge</code> instances, you must request at least 25
|
|
459
|
+
* instances (<i>25 * m5.xlarge = 100 vCPUs</i>).</p>
|
|
459
460
|
* </note>
|
|
460
461
|
* <p>Valid range: 1 - 1000</p>
|
|
461
462
|
* @public
|
|
@@ -480,15 +481,15 @@ export interface CreateCapacityReservationRequest {
|
|
|
480
481
|
/**
|
|
481
482
|
* <p>The date and time at which the Capacity Reservation expires. When a Capacity
|
|
482
483
|
* Reservation expires, the reserved capacity is released and you can no longer launch
|
|
483
|
-
* instances into it. The Capacity Reservation's state changes to <code>expired</code>
|
|
484
|
-
*
|
|
484
|
+
* instances into it. The Capacity Reservation's state changes to <code>expired</code> when
|
|
485
|
+
* it reaches its end date and time.</p>
|
|
485
486
|
* <p>You must provide an <code>EndDate</code> value if <code>EndDateType</code> is
|
|
486
|
-
*
|
|
487
|
-
*
|
|
488
|
-
* <p>If the <code>EndDateType</code> is <code>limited</code>, the Capacity Reservation
|
|
489
|
-
*
|
|
490
|
-
*
|
|
491
|
-
*
|
|
487
|
+
* <code>limited</code>. Omit <code>EndDate</code> if <code>EndDateType</code> is
|
|
488
|
+
* <code>unlimited</code>.</p>
|
|
489
|
+
* <p>If the <code>EndDateType</code> is <code>limited</code>, the Capacity Reservation is
|
|
490
|
+
* cancelled within an hour from the specified time. For example, if you specify 5/31/2019,
|
|
491
|
+
* 13:30:55, the Capacity Reservation is guaranteed to end between 13:30:55 and 14:30:55 on
|
|
492
|
+
* 5/31/2019.</p>
|
|
492
493
|
* <p>If you are requesting a future-dated Capacity Reservation, you can't specify an end
|
|
493
494
|
* date and time that is within the commitment duration.</p>
|
|
494
495
|
* @public
|
|
@@ -534,7 +535,8 @@ export interface CreateCapacityReservationRequest {
|
|
|
534
535
|
* </li>
|
|
535
536
|
* </ul>
|
|
536
537
|
* <note>
|
|
537
|
-
* <p>If you are requesting a future-dated Capacity Reservation, you must specify
|
|
538
|
+
* <p>If you are requesting a future-dated Capacity Reservation, you must specify
|
|
539
|
+
* <code>targeted</code>.</p>
|
|
538
540
|
* </note>
|
|
539
541
|
* <p>Default: <code>open</code>
|
|
540
542
|
* </p>
|
|
@@ -564,22 +566,20 @@ export interface CreateCapacityReservationRequest {
|
|
|
564
566
|
* <note>
|
|
565
567
|
* <p>Not supported for future-dated Capacity Reservations.</p>
|
|
566
568
|
* </note>
|
|
567
|
-
* <p>The Amazon Resource Name (ARN) of the cluster placement group in which
|
|
568
|
-
*
|
|
569
|
-
*
|
|
570
|
-
* Capacity Reservations for cluster placement groups</a> in the
|
|
571
|
-
* <i>Amazon EC2 User Guide</i>.</p>
|
|
569
|
+
* <p>The Amazon Resource Name (ARN) of the cluster placement group in which to create the
|
|
570
|
+
* Capacity Reservation. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/cr-cpg.html"> Capacity Reservations for cluster
|
|
571
|
+
* placement groups</a> in the <i>Amazon EC2 User Guide</i>.</p>
|
|
572
572
|
* @public
|
|
573
573
|
*/
|
|
574
574
|
PlacementGroupArn?: string | undefined;
|
|
575
575
|
/**
|
|
576
576
|
* <note>
|
|
577
577
|
* <p>Required for future-dated Capacity Reservations only. To create a Capacity
|
|
578
|
-
*
|
|
578
|
+
* Reservation for immediate use, omit this parameter. </p>
|
|
579
579
|
* </note>
|
|
580
580
|
* <p>The date and time at which the future-dated Capacity Reservation should become
|
|
581
581
|
* available for use, in the ISO8601 format in the UTC time zone
|
|
582
|
-
*
|
|
582
|
+
* (<code>YYYY-MM-DDThh:mm:ss.sssZ</code>).</p>
|
|
583
583
|
* <p>You can request a future-dated Capacity Reservation between 5 and 120 days in
|
|
584
584
|
* advance.</p>
|
|
585
585
|
* @public
|
|
@@ -588,25 +588,26 @@ export interface CreateCapacityReservationRequest {
|
|
|
588
588
|
/**
|
|
589
589
|
* <note>
|
|
590
590
|
* <p>Required for future-dated Capacity Reservations only. To create a Capacity
|
|
591
|
-
*
|
|
591
|
+
* Reservation for immediate use, omit this parameter. </p>
|
|
592
592
|
* </note>
|
|
593
|
-
* <p>Specify a commitment duration, in seconds, for the future-dated Capacity
|
|
593
|
+
* <p>Specify a commitment duration, in seconds, for the future-dated Capacity
|
|
594
|
+
* Reservation.</p>
|
|
594
595
|
* <p>The commitment duration is a minimum duration for which you commit to having the
|
|
595
|
-
* future-dated Capacity Reservation in the <code>active</code> state in your account
|
|
596
|
-
*
|
|
597
|
-
* <p>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/cr-concepts.html#cr-commitment-duration">
|
|
598
|
-
*
|
|
596
|
+
* future-dated Capacity Reservation in the <code>active</code> state in your account after
|
|
597
|
+
* it has been delivered.</p>
|
|
598
|
+
* <p>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/cr-concepts.html#cr-commitment-duration"> Commitment
|
|
599
|
+
* duration</a>.</p>
|
|
599
600
|
* @public
|
|
600
601
|
*/
|
|
601
602
|
CommitmentDuration?: number | undefined;
|
|
602
603
|
/**
|
|
603
604
|
* <note>
|
|
604
605
|
* <p>Required for future-dated Capacity Reservations only. To create a Capacity
|
|
605
|
-
*
|
|
606
|
+
* Reservation for immediate use, omit this parameter. </p>
|
|
606
607
|
* </note>
|
|
607
|
-
* <p>Indicates that the requested capacity will be delivered in addition to any
|
|
608
|
-
*
|
|
609
|
-
*
|
|
608
|
+
* <p>Indicates that the requested capacity will be delivered in addition to any running
|
|
609
|
+
* instances or reserved capacity that you have in your account at the requested date and
|
|
610
|
+
* time.</p>
|
|
610
611
|
* <p>The only supported value is <code>incremental</code>.</p>
|
|
611
612
|
* @public
|
|
612
613
|
*/
|
|
@@ -643,8 +644,8 @@ export interface CapacityReservationCommitmentInfo {
|
|
|
643
644
|
*/
|
|
644
645
|
CommittedInstanceCount?: number | undefined;
|
|
645
646
|
/**
|
|
646
|
-
* <p>The date and time at which the commitment duration expires, in the ISO8601 format
|
|
647
|
-
*
|
|
647
|
+
* <p>The date and time at which the commitment duration expires, in the ISO8601 format in
|
|
648
|
+
* the UTC time zone (<code>YYYY-MM-DDThh:mm:ss.sssZ</code>). You can't decrease the
|
|
648
649
|
* instance count or cancel the Capacity Reservation before this date and time.</p>
|
|
649
650
|
* @public
|
|
650
651
|
*/
|
|
@@ -943,7 +944,8 @@ export interface CapacityReservation {
|
|
|
943
944
|
/**
|
|
944
945
|
* <p>The delivery method for a future-dated Capacity Reservation. <code>incremental</code>
|
|
945
946
|
* indicates that the requested capacity is delivered in addition to any running instances
|
|
946
|
-
* and reserved capacity that you have in your account at the requested date and
|
|
947
|
+
* and reserved capacity that you have in your account at the requested date and
|
|
948
|
+
* time.</p>
|
|
947
949
|
* @public
|
|
948
950
|
*/
|
|
949
951
|
DeliveryPreference?: CapacityReservationDeliveryPreference | undefined;
|
|
@@ -7237,6 +7239,16 @@ export interface EbsBlockDevice {
|
|
|
7237
7239
|
* @public
|
|
7238
7240
|
*/
|
|
7239
7241
|
OutpostArn?: string | undefined;
|
|
7242
|
+
/**
|
|
7243
|
+
* <p>The Availability Zone where the EBS volume will be created (for example,
|
|
7244
|
+
* <code>us-east-1a</code>).</p>
|
|
7245
|
+
* <p>Either <code>AvailabilityZone</code> or <code>AvailabilityZoneId</code> can be specified,
|
|
7246
|
+
* but not both. If neither is specified, Amazon EC2 automatically selects an Availability Zone within
|
|
7247
|
+
* the Region.</p>
|
|
7248
|
+
* <p>This parameter is not supported when using <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateImage.html">CreateImage</a>.</p>
|
|
7249
|
+
* @public
|
|
7250
|
+
*/
|
|
7251
|
+
AvailabilityZone?: string | undefined;
|
|
7240
7252
|
/**
|
|
7241
7253
|
* <p>Indicates whether the encryption state of an EBS volume is changed while being
|
|
7242
7254
|
* restored from a backing snapshot. The effect of setting the encryption state to <code>true</code> depends on
|
|
@@ -7306,6 +7318,16 @@ export interface EbsBlockDevice {
|
|
|
7306
7318
|
* @public
|
|
7307
7319
|
*/
|
|
7308
7320
|
VolumeInitializationRate?: number | undefined;
|
|
7321
|
+
/**
|
|
7322
|
+
* <p>The ID of the Availability Zone where the EBS volume will be created (for example,
|
|
7323
|
+
* <code>use1-az1</code>).</p>
|
|
7324
|
+
* <p>Either <code>AvailabilityZone</code> or <code>AvailabilityZoneId</code> can be specified,
|
|
7325
|
+
* but not both. If neither is specified, Amazon EC2 automatically selects an Availability Zone within
|
|
7326
|
+
* the Region.</p>
|
|
7327
|
+
* <p>This parameter is not supported when using <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateImage.html">CreateImage</a>.</p>
|
|
7328
|
+
* @public
|
|
7329
|
+
*/
|
|
7330
|
+
AvailabilityZoneId?: string | undefined;
|
|
7309
7331
|
}
|
|
7310
7332
|
/**
|
|
7311
7333
|
* <p>Describes a block device mapping, which defines the EBS volumes and instance store
|
|
@@ -7346,6 +7368,18 @@ export interface BlockDeviceMapping {
|
|
|
7346
7368
|
*/
|
|
7347
7369
|
VirtualName?: string | undefined;
|
|
7348
7370
|
}
|
|
7371
|
+
/**
|
|
7372
|
+
* @public
|
|
7373
|
+
* @enum
|
|
7374
|
+
*/
|
|
7375
|
+
export declare const SnapshotLocationEnum: {
|
|
7376
|
+
readonly LOCAL: "local";
|
|
7377
|
+
readonly REGIONAL: "regional";
|
|
7378
|
+
};
|
|
7379
|
+
/**
|
|
7380
|
+
* @public
|
|
7381
|
+
*/
|
|
7382
|
+
export type SnapshotLocationEnum = (typeof SnapshotLocationEnum)[keyof typeof SnapshotLocationEnum];
|
|
7349
7383
|
/**
|
|
7350
7384
|
* @public
|
|
7351
7385
|
*/
|
|
@@ -7370,6 +7404,27 @@ export interface CreateImageRequest {
|
|
|
7370
7404
|
* @public
|
|
7371
7405
|
*/
|
|
7372
7406
|
TagSpecifications?: TagSpecification[] | undefined;
|
|
7407
|
+
/**
|
|
7408
|
+
* <note>
|
|
7409
|
+
* <p>Only supported for instances in Local Zones. If the source instance is not in a Local
|
|
7410
|
+
* Zone, omit this parameter.</p>
|
|
7411
|
+
* </note>
|
|
7412
|
+
* <p>The Amazon S3 location where the snapshots will be stored.</p>
|
|
7413
|
+
* <ul>
|
|
7414
|
+
* <li>
|
|
7415
|
+
* <p>To create local snapshots in the same Local Zone as the source instance, specify
|
|
7416
|
+
* <code>local</code>.</p>
|
|
7417
|
+
* </li>
|
|
7418
|
+
* <li>
|
|
7419
|
+
* <p>To create regional snapshots in the parent Region of the Local Zone, specify
|
|
7420
|
+
* <code>regional</code> or omit this parameter.</p>
|
|
7421
|
+
* </li>
|
|
7422
|
+
* </ul>
|
|
7423
|
+
* <p>Default: <code>regional</code>
|
|
7424
|
+
* </p>
|
|
7425
|
+
* @public
|
|
7426
|
+
*/
|
|
7427
|
+
SnapshotLocation?: SnapshotLocationEnum | undefined;
|
|
7373
7428
|
/**
|
|
7374
7429
|
* <p>Checks whether you have the required permissions for the action, without actually making the request,
|
|
7375
7430
|
* and provides an error response. If you have the required permissions, the error response is
|
|
@@ -11297,29 +11352,6 @@ export interface LaunchTemplateEnaSrdUdpSpecification {
|
|
|
11297
11352
|
*/
|
|
11298
11353
|
EnaSrdUdpEnabled?: boolean | undefined;
|
|
11299
11354
|
}
|
|
11300
|
-
/**
|
|
11301
|
-
* <p>ENA Express uses Amazon Web Services Scalable Reliable Datagram (SRD) technology to increase the
|
|
11302
|
-
* maximum bandwidth used per stream and minimize tail latency of network traffic between EC2 instances.
|
|
11303
|
-
* With ENA Express, you can communicate between two EC2 instances in the same subnet within the same
|
|
11304
|
-
* account, or in different accounts. Both sending and receiving instances must have ENA Express enabled.</p>
|
|
11305
|
-
* <p>To improve the reliability of network packet delivery, ENA Express reorders network packets on the
|
|
11306
|
-
* receiving end by default. However, some UDP-based applications are designed to handle network packets
|
|
11307
|
-
* that are out of order to reduce the overhead for packet delivery at the network layer. When ENA Express
|
|
11308
|
-
* is enabled, you can specify whether UDP network traffic uses it.</p>
|
|
11309
|
-
* @public
|
|
11310
|
-
*/
|
|
11311
|
-
export interface LaunchTemplateEnaSrdSpecification {
|
|
11312
|
-
/**
|
|
11313
|
-
* <p>Indicates whether ENA Express is enabled for the network interface.</p>
|
|
11314
|
-
* @public
|
|
11315
|
-
*/
|
|
11316
|
-
EnaSrdEnabled?: boolean | undefined;
|
|
11317
|
-
/**
|
|
11318
|
-
* <p>Configures ENA Express for UDP network traffic.</p>
|
|
11319
|
-
* @public
|
|
11320
|
-
*/
|
|
11321
|
-
EnaSrdUdpSpecification?: LaunchTemplateEnaSrdUdpSpecification | undefined;
|
|
11322
|
-
}
|
|
11323
11355
|
/**
|
|
11324
11356
|
* @internal
|
|
11325
11357
|
*/
|
|
@@ -1,5 +1,28 @@
|
|
|
1
1
|
import { AccessScopePath, AccessScopePathRequest, AddPrefixListEntry, ApplianceModeSupportValue, AttachmentStatus, CurrencyCodeValues, DeviceTrustProviderType, DnsSupportValue, DynamicRoutingValue, Ipv4PrefixSpecification, Ipv6SupportValue, NatGatewayAddress, PortRange, Protocol, ReservedInstancesListing, ResourceType, RouteTableAssociationState, SecurityGroupReferencingSupportValue, Tag, TagSpecification, TransitGatewayAttachmentResourceType, TransitGatewayAttachmentState, TransitGatewayPeeringAttachment, TransitGatewayVpcAttachment, TrustProviderType, UserTrustProviderType, VerifiedAccessInstance, VerifiedAccessSseSpecificationResponse, VerifiedAccessTrustProvider, VolumeAttachment } from "./models_0";
|
|
2
|
-
import { _InstanceType, ConnectionTrackingSpecification, ConnectionTrackingSpecificationRequest, CreditSpecification, ElasticGpuSpecificationResponse, HostnameType, InstanceBandwidthWeighting, InstanceRequirements, Ipv4PrefixSpecificationRequest, Ipv6PrefixSpecificationRequest, LaunchTemplateBlockDeviceMapping, LaunchTemplateCapacityReservationSpecificationResponse, LaunchTemplateCpuOptions, LaunchTemplateElasticInferenceAcceleratorResponse,
|
|
2
|
+
import { _InstanceType, ConnectionTrackingSpecification, ConnectionTrackingSpecificationRequest, CreditSpecification, ElasticGpuSpecificationResponse, HostnameType, InstanceBandwidthWeighting, InstanceRequirements, Ipv4PrefixSpecificationRequest, Ipv6PrefixSpecificationRequest, LaunchTemplateBlockDeviceMapping, LaunchTemplateCapacityReservationSpecificationResponse, LaunchTemplateCpuOptions, LaunchTemplateElasticInferenceAcceleratorResponse, LaunchTemplateEnaSrdUdpSpecification, LaunchTemplateEnclaveOptions, LaunchTemplateHibernationOptions, LaunchTemplateIamInstanceProfileSpecification, LaunchTemplateInstanceMaintenanceOptions, LaunchTemplateInstanceMarketOptions, LaunchTemplateInstanceMetadataOptions, LaunchTemplateLicenseConfiguration, LaunchTemplatesMonitoring, MacModificationTask, MacSystemIntegrityProtectionSettingStatus, OperatorRequest, OperatorResponse, PrivateIpAddressSpecification, ShutdownBehavior, SnapshotLocationEnum, Subnet, Tenancy, ValidationWarning, VolumeType, Vpc } from "./models_1";
|
|
3
|
+
/**
|
|
4
|
+
* <p>ENA Express uses Amazon Web Services Scalable Reliable Datagram (SRD) technology to increase the
|
|
5
|
+
* maximum bandwidth used per stream and minimize tail latency of network traffic between EC2 instances.
|
|
6
|
+
* With ENA Express, you can communicate between two EC2 instances in the same subnet within the same
|
|
7
|
+
* account, or in different accounts. Both sending and receiving instances must have ENA Express enabled.</p>
|
|
8
|
+
* <p>To improve the reliability of network packet delivery, ENA Express reorders network packets on the
|
|
9
|
+
* receiving end by default. However, some UDP-based applications are designed to handle network packets
|
|
10
|
+
* that are out of order to reduce the overhead for packet delivery at the network layer. When ENA Express
|
|
11
|
+
* is enabled, you can specify whether UDP network traffic uses it.</p>
|
|
12
|
+
* @public
|
|
13
|
+
*/
|
|
14
|
+
export interface LaunchTemplateEnaSrdSpecification {
|
|
15
|
+
/**
|
|
16
|
+
* <p>Indicates whether ENA Express is enabled for the network interface.</p>
|
|
17
|
+
* @public
|
|
18
|
+
*/
|
|
19
|
+
EnaSrdEnabled?: boolean | undefined;
|
|
20
|
+
/**
|
|
21
|
+
* <p>Configures ENA Express for UDP network traffic.</p>
|
|
22
|
+
* @public
|
|
23
|
+
*/
|
|
24
|
+
EnaSrdUdpSpecification?: LaunchTemplateEnaSrdUdpSpecification | undefined;
|
|
25
|
+
}
|
|
3
26
|
/**
|
|
4
27
|
* <p>Information about the IPv4 delegated prefixes assigned to a network interface.</p>
|
|
5
28
|
* @public
|
|
@@ -4684,18 +4707,6 @@ export interface CreateSecurityGroupResult {
|
|
|
4684
4707
|
*/
|
|
4685
4708
|
SecurityGroupArn?: string | undefined;
|
|
4686
4709
|
}
|
|
4687
|
-
/**
|
|
4688
|
-
* @public
|
|
4689
|
-
* @enum
|
|
4690
|
-
*/
|
|
4691
|
-
export declare const SnapshotLocationEnum: {
|
|
4692
|
-
readonly LOCAL: "local";
|
|
4693
|
-
readonly REGIONAL: "regional";
|
|
4694
|
-
};
|
|
4695
|
-
/**
|
|
4696
|
-
* @public
|
|
4697
|
-
*/
|
|
4698
|
-
export type SnapshotLocationEnum = (typeof SnapshotLocationEnum)[keyof typeof SnapshotLocationEnum];
|
|
4699
4710
|
/**
|
|
4700
4711
|
* @public
|
|
4701
4712
|
*/
|
|
@@ -5073,7 +5084,7 @@ export interface CreateSnapshotsRequest {
|
|
|
5073
5084
|
* <code>local</code>.</p>
|
|
5074
5085
|
* </li>
|
|
5075
5086
|
* <li>
|
|
5076
|
-
* <p>To create
|
|
5087
|
+
* <p>To create regional snapshots in the parent Region of the Local Zone, specify
|
|
5077
5088
|
* <code>regional</code> or omit this parameter.</p>
|
|
5078
5089
|
* </li>
|
|
5079
5090
|
* </ul>
|
|
@@ -5402,8 +5402,8 @@ export declare const CapacityBlockExtensionStatus: {
|
|
|
5402
5402
|
*/
|
|
5403
5403
|
export type CapacityBlockExtensionStatus = (typeof CapacityBlockExtensionStatus)[keyof typeof CapacityBlockExtensionStatus];
|
|
5404
5404
|
/**
|
|
5405
|
-
* <p>Describes a Capacity Block extension. With an extension, you can
|
|
5406
|
-
*
|
|
5405
|
+
* <p>Describes a Capacity Block extension. With an extension, you can extend the duration
|
|
5406
|
+
* of time for an existing Capacity Block.</p>
|
|
5407
5407
|
* @public
|
|
5408
5408
|
*/
|
|
5409
5409
|
export interface CapacityBlockExtension {
|
|
@@ -5567,8 +5567,7 @@ export interface CapacityBlockExtensionOffering {
|
|
|
5567
5567
|
*/
|
|
5568
5568
|
AvailabilityZone?: string | undefined;
|
|
5569
5569
|
/**
|
|
5570
|
-
* <p>The Availability Zone ID of the Capacity Block that will be
|
|
5571
|
-
* extended.</p>
|
|
5570
|
+
* <p>The Availability Zone ID of the Capacity Block that will be extended.</p>
|
|
5572
5571
|
* @public
|
|
5573
5572
|
*/
|
|
5574
5573
|
AvailabilityZoneId?: string | undefined;
|
|
@@ -5578,17 +5577,16 @@ export interface CapacityBlockExtensionOffering {
|
|
|
5578
5577
|
*/
|
|
5579
5578
|
StartDate?: Date | undefined;
|
|
5580
5579
|
/**
|
|
5581
|
-
* <p>The date and time at which the Capacity Block extension will start. This date is
|
|
5582
|
-
*
|
|
5583
|
-
* extended.</p>
|
|
5580
|
+
* <p>The date and time at which the Capacity Block extension will start. This date is also
|
|
5581
|
+
* the same as the end date of the Capacity Block that will be extended.</p>
|
|
5584
5582
|
* @public
|
|
5585
5583
|
*/
|
|
5586
5584
|
CapacityBlockExtensionStartDate?: Date | undefined;
|
|
5587
5585
|
/**
|
|
5588
|
-
* <p>The date and time at which the Capacity Block extension expires. When a Capacity
|
|
5589
|
-
*
|
|
5590
|
-
*
|
|
5591
|
-
*
|
|
5586
|
+
* <p>The date and time at which the Capacity Block extension expires. When a Capacity Block
|
|
5587
|
+
* expires, the reserved capacity is released and you can no longer launch instances into
|
|
5588
|
+
* it. The Capacity Block's state changes to <code>expired</code> when it reaches its end
|
|
5589
|
+
* date</p>
|
|
5592
5590
|
* @public
|
|
5593
5591
|
*/
|
|
5594
5592
|
CapacityBlockExtensionEndDate?: Date | undefined;
|
|
@@ -5608,8 +5606,8 @@ export interface CapacityBlockExtensionOffering {
|
|
|
5608
5606
|
*/
|
|
5609
5607
|
CurrencyCode?: string | undefined;
|
|
5610
5608
|
/**
|
|
5611
|
-
* <p>Indicates the tenancy of the Capacity Block extension offering. A Capacity Block
|
|
5612
|
-
*
|
|
5609
|
+
* <p>Indicates the tenancy of the Capacity Block extension offering. A Capacity Block can
|
|
5610
|
+
* have one of the following tenancy settings:</p>
|
|
5613
5611
|
* <ul>
|
|
5614
5612
|
* <li>
|
|
5615
5613
|
* <p>
|
|
@@ -5656,9 +5654,8 @@ export interface DescribeCapacityBlockOfferingsRequest {
|
|
|
5656
5654
|
*/
|
|
5657
5655
|
InstanceType?: string | undefined;
|
|
5658
5656
|
/**
|
|
5659
|
-
* <p>The number of instances for which to reserve capacity. Each Capacity Block
|
|
5660
|
-
*
|
|
5661
|
-
* Blocks.</p>
|
|
5657
|
+
* <p>The number of instances for which to reserve capacity. Each Capacity Block can have up
|
|
5658
|
+
* to 64 instances, and you can have up to 256 instances across Capacity Blocks.</p>
|
|
5662
5659
|
* @public
|
|
5663
5660
|
*/
|
|
5664
5661
|
InstanceCount?: number | undefined;
|
|
@@ -5673,9 +5670,8 @@ export interface DescribeCapacityBlockOfferingsRequest {
|
|
|
5673
5670
|
*/
|
|
5674
5671
|
EndDateRange?: Date | undefined;
|
|
5675
5672
|
/**
|
|
5676
|
-
* <p>The reservation duration for the Capacity Block, in hours. You must specify
|
|
5677
|
-
*
|
|
5678
|
-
* 182 days.</p>
|
|
5673
|
+
* <p>The reservation duration for the Capacity Block, in hours. You must specify the
|
|
5674
|
+
* duration in 1-day increments up 14 days, and in 7-day increments up to 182 days.</p>
|
|
5679
5675
|
* @public
|
|
5680
5676
|
*/
|
|
5681
5677
|
CapacityDurationHours: number | undefined;
|
|
@@ -5729,8 +5725,7 @@ export interface CapacityBlockOffering {
|
|
|
5729
5725
|
/**
|
|
5730
5726
|
* <p>The number of hours (in addition to <code>capacityBlockDurationMinutes</code>) for the
|
|
5731
5727
|
* duration of the Capacity Block reservation. For example, if a Capacity Block starts at
|
|
5732
|
-
*
|
|
5733
|
-
* the hours field would be <b>6</b>.</p>
|
|
5728
|
+
* <b>04:55</b> and ends at <b>11:30</b>, the hours field would be <b>6</b>.</p>
|
|
5734
5729
|
* @public
|
|
5735
5730
|
*/
|
|
5736
5731
|
CapacityBlockDurationHours?: number | undefined;
|
|
@@ -5752,8 +5747,7 @@ export interface CapacityBlockOffering {
|
|
|
5752
5747
|
/**
|
|
5753
5748
|
* <p>The number of minutes (in addition to <code>capacityBlockDurationHours</code>) for the
|
|
5754
5749
|
* duration of the Capacity Block reservation. For example, if a Capacity Block starts at
|
|
5755
|
-
*
|
|
5756
|
-
* the minutes field would be <b>35</b>.</p>
|
|
5750
|
+
* <b>08:55</b> and ends at <b>11:30</b>, the minutes field would be <b>35</b>.</p>
|
|
5757
5751
|
* @public
|
|
5758
5752
|
*/
|
|
5759
5753
|
CapacityBlockDurationMinutes?: number | undefined;
|
|
@@ -7190,7 +7190,7 @@ export interface InstanceMaintenanceOptions {
|
|
|
7190
7190
|
* </ul>
|
|
7191
7191
|
* <p>This setting only applies to supported instances that have a scheduled reboot event.
|
|
7192
7192
|
* For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/schedevents_actions_reboot.html#reboot-migration">Enable or disable reboot migration</a> in the
|
|
7193
|
-
*
|
|
7193
|
+
* <i>Amazon EC2 User Guide</i>.</p>
|
|
7194
7194
|
* @public
|
|
7195
7195
|
*/
|
|
7196
7196
|
RebootMigration?: InstanceRebootMigrationState | undefined;
|
|
@@ -7951,9 +7951,10 @@ export interface Instance {
|
|
|
7951
7951
|
*/
|
|
7952
7952
|
PrivateDnsName?: string | undefined;
|
|
7953
7953
|
/**
|
|
7954
|
-
* <p>
|
|
7954
|
+
* <p>The public DNS name assigned to the instance. This name is not available
|
|
7955
7955
|
* until the instance enters the <code>running</code> state. This name is only
|
|
7956
|
-
* available if you've enabled DNS hostnames for your VPC
|
|
7956
|
+
* available if you've enabled DNS hostnames for your VPC. The format of this
|
|
7957
|
+
* name depends on the <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/hostname-types.html#public-hostnames">public hostname type</a>.</p>
|
|
7957
7958
|
* @public
|
|
7958
7959
|
*/
|
|
7959
7960
|
PublicDnsName?: string | undefined;
|
|
@@ -10068,9 +10069,9 @@ export interface InstanceTypeInfo {
|
|
|
10068
10069
|
PhcSupport?: PhcSupport | undefined;
|
|
10069
10070
|
/**
|
|
10070
10071
|
* <p>Indicates whether reboot migration during a user-initiated reboot is supported for
|
|
10071
|
-
*
|
|
10072
|
-
*
|
|
10073
|
-
*
|
|
10072
|
+
* instances that have a scheduled <code>system-reboot</code> event. For more information,
|
|
10073
|
+
* see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/schedevents_actions_reboot.html#reboot-migration">Enable or disable reboot migration</a> in the
|
|
10074
|
+
* <i>Amazon EC2 User Guide</i>.</p>
|
|
10074
10075
|
* @public
|
|
10075
10076
|
*/
|
|
10076
10077
|
RebootMigrationSupport?: RebootMigrationSupport | undefined;
|
|
@@ -2896,13 +2896,16 @@ export interface ModifyInstanceAttributeRequest {
|
|
|
2896
2896
|
}
|
|
2897
2897
|
/**
|
|
2898
2898
|
* <p>Describes an instance's Capacity Reservation targeting option. </p>
|
|
2899
|
-
* <p>Use the <code>CapacityReservationPreference</code> parameter to configure the instance
|
|
2900
|
-
* run as an On-Demand Instance, to run in any <code>open</code> Capacity Reservation
|
|
2901
|
-
* has matching attributes, or to run only in a Capacity Reservation or Capacity
|
|
2899
|
+
* <p>Use the <code>CapacityReservationPreference</code> parameter to configure the instance
|
|
2900
|
+
* to run as an On-Demand Instance, to run in any <code>open</code> Capacity Reservation
|
|
2901
|
+
* that has matching attributes, or to run only in a Capacity Reservation or Capacity
|
|
2902
2902
|
* Reservation group. Use the <code>CapacityReservationTarget</code> parameter to
|
|
2903
2903
|
* explicitly target a specific Capacity Reservation or a Capacity Reservation
|
|
2904
2904
|
* group.</p>
|
|
2905
|
-
* <p>You can only specify <code>CapacityReservationPreference</code> and
|
|
2905
|
+
* <p>You can only specify <code>CapacityReservationPreference</code> and
|
|
2906
|
+
* <code>CapacityReservationTarget</code> if the
|
|
2907
|
+
* <code>CapacityReservationPreference</code> is
|
|
2908
|
+
* <code>capacity-reservations-only</code>.</p>
|
|
2906
2909
|
* @public
|
|
2907
2910
|
*/
|
|
2908
2911
|
export interface CapacityReservationSpecification {
|
|
@@ -2913,27 +2916,28 @@ export interface CapacityReservationSpecification {
|
|
|
2913
2916
|
* <li>
|
|
2914
2917
|
* <p>
|
|
2915
2918
|
* <code>capacity-reservations-only</code> - The instance will only run in a
|
|
2916
|
-
* Capacity Reservation or Capacity Reservation group. If capacity isn't
|
|
2917
|
-
*
|
|
2919
|
+
* Capacity Reservation or Capacity Reservation group. If capacity isn't available,
|
|
2920
|
+
* the instance will fail to launch.</p>
|
|
2918
2921
|
* </li>
|
|
2919
2922
|
* <li>
|
|
2920
2923
|
* <p>
|
|
2921
2924
|
* <code>open</code> - The instance can run in any <code>open</code> Capacity
|
|
2922
|
-
* Reservation that has matching attributes (instance type, platform,
|
|
2923
|
-
*
|
|
2924
|
-
*
|
|
2925
|
+
* Reservation that has matching attributes (instance type, platform, Availability
|
|
2926
|
+
* Zone, and tenancy). If capacity isn't available, the instance runs as an
|
|
2927
|
+
* On-Demand Instance.</p>
|
|
2925
2928
|
* </li>
|
|
2926
2929
|
* <li>
|
|
2927
2930
|
* <p>
|
|
2928
|
-
* <code>none</code> - The instance doesn't run in a Capacity Reservation even if
|
|
2929
|
-
* instance runs as an On-Demand Instance.</p>
|
|
2931
|
+
* <code>none</code> - The instance doesn't run in a Capacity Reservation even if
|
|
2932
|
+
* one is available. The instance runs as an On-Demand Instance.</p>
|
|
2930
2933
|
* </li>
|
|
2931
2934
|
* </ul>
|
|
2932
2935
|
* @public
|
|
2933
2936
|
*/
|
|
2934
2937
|
CapacityReservationPreference?: CapacityReservationPreference | undefined;
|
|
2935
2938
|
/**
|
|
2936
|
-
* <p>Information about the target Capacity Reservation or Capacity Reservation
|
|
2939
|
+
* <p>Information about the target Capacity Reservation or Capacity Reservation
|
|
2940
|
+
* group.</p>
|
|
2937
2941
|
* @public
|
|
2938
2942
|
*/
|
|
2939
2943
|
CapacityReservationTarget?: CapacityReservationTarget | undefined;
|
|
@@ -3282,7 +3286,7 @@ export interface ModifyInstanceMaintenanceOptionsRequest {
|
|
|
3282
3286
|
* </ul>
|
|
3283
3287
|
* <p>This setting only applies to supported instances that have a scheduled reboot event.
|
|
3284
3288
|
* For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/schedevents_actions_reboot.html#reboot-migration">Enable or disable reboot migration</a> in the
|
|
3285
|
-
*
|
|
3289
|
+
* <i>Amazon EC2 User Guide</i>.</p>
|
|
3286
3290
|
* @public
|
|
3287
3291
|
*/
|
|
3288
3292
|
RebootMigration?: InstanceRebootMigrationState | undefined;
|
|
@@ -3290,7 +3294,7 @@ export interface ModifyInstanceMaintenanceOptionsRequest {
|
|
|
3290
3294
|
* <p>Checks whether you have the required permissions for the action, without actually
|
|
3291
3295
|
* making the request, and provides an error response. If you have the required
|
|
3292
3296
|
* permissions, the error response is <code>DryRunOperation</code>. Otherwise, it is
|
|
3293
|
-
*
|
|
3297
|
+
* <code>UnauthorizedOperation</code>.</p>
|
|
3294
3298
|
* @public
|
|
3295
3299
|
*/
|
|
3296
3300
|
DryRun?: boolean | undefined;
|
|
@@ -3330,7 +3334,7 @@ export interface ModifyInstanceMaintenanceOptionsResult {
|
|
|
3330
3334
|
* </ul>
|
|
3331
3335
|
* <p>This setting only applies to supported instances that have a scheduled reboot event.
|
|
3332
3336
|
* For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/schedevents_actions_reboot.html#reboot-migration">Enable or disable reboot migration</a> in the
|
|
3333
|
-
*
|
|
3337
|
+
* <i>Amazon EC2 User Guide</i>.</p>
|
|
3334
3338
|
* @public
|
|
3335
3339
|
*/
|
|
3336
3340
|
RebootMigration?: InstanceRebootMigrationState | undefined;
|
|
@@ -3556,12 +3560,12 @@ export interface ModifyInstanceNetworkPerformanceRequest {
|
|
|
3556
3560
|
* <dt>vpc-1</dt>
|
|
3557
3561
|
* <dd>
|
|
3558
3562
|
* <p>This option boosts your networking baseline bandwidth and reduces your EBS
|
|
3559
|
-
*
|
|
3563
|
+
* baseline bandwidth.</p>
|
|
3560
3564
|
* </dd>
|
|
3561
3565
|
* <dt>ebs-1</dt>
|
|
3562
3566
|
* <dd>
|
|
3563
3567
|
* <p>This option boosts your EBS baseline bandwidth and reduces your networking
|
|
3564
|
-
*
|
|
3568
|
+
* baseline bandwidth.</p>
|
|
3565
3569
|
* </dd>
|
|
3566
3570
|
* </dl>
|
|
3567
3571
|
* @public
|
|
@@ -2127,8 +2127,10 @@ export interface EbsBlockDevice {
|
|
|
2127
2127
|
KmsKeyId?: string | undefined;
|
|
2128
2128
|
Throughput?: number | undefined;
|
|
2129
2129
|
OutpostArn?: string | undefined;
|
|
2130
|
+
AvailabilityZone?: string | undefined;
|
|
2130
2131
|
Encrypted?: boolean | undefined;
|
|
2131
2132
|
VolumeInitializationRate?: number | undefined;
|
|
2133
|
+
AvailabilityZoneId?: string | undefined;
|
|
2132
2134
|
}
|
|
2133
2135
|
export interface BlockDeviceMapping {
|
|
2134
2136
|
Ebs?: EbsBlockDevice | undefined;
|
|
@@ -2136,8 +2138,15 @@ export interface BlockDeviceMapping {
|
|
|
2136
2138
|
DeviceName?: string | undefined;
|
|
2137
2139
|
VirtualName?: string | undefined;
|
|
2138
2140
|
}
|
|
2141
|
+
export declare const SnapshotLocationEnum: {
|
|
2142
|
+
readonly LOCAL: "local";
|
|
2143
|
+
readonly REGIONAL: "regional";
|
|
2144
|
+
};
|
|
2145
|
+
export type SnapshotLocationEnum =
|
|
2146
|
+
(typeof SnapshotLocationEnum)[keyof typeof SnapshotLocationEnum];
|
|
2139
2147
|
export interface CreateImageRequest {
|
|
2140
2148
|
TagSpecifications?: TagSpecification[] | undefined;
|
|
2149
|
+
SnapshotLocation?: SnapshotLocationEnum | undefined;
|
|
2141
2150
|
DryRun?: boolean | undefined;
|
|
2142
2151
|
InstanceId: string | undefined;
|
|
2143
2152
|
Name: string | undefined;
|
|
@@ -3005,10 +3014,6 @@ export interface ConnectionTrackingSpecification {
|
|
|
3005
3014
|
export interface LaunchTemplateEnaSrdUdpSpecification {
|
|
3006
3015
|
EnaSrdUdpEnabled?: boolean | undefined;
|
|
3007
3016
|
}
|
|
3008
|
-
export interface LaunchTemplateEnaSrdSpecification {
|
|
3009
|
-
EnaSrdEnabled?: boolean | undefined;
|
|
3010
|
-
EnaSrdUdpSpecification?: LaunchTemplateEnaSrdUdpSpecification | undefined;
|
|
3011
|
-
}
|
|
3012
3017
|
export declare const CopySnapshotRequestFilterSensitiveLog: (
|
|
3013
3018
|
obj: CopySnapshotRequest
|
|
3014
3019
|
) => any;
|
|
@@ -45,7 +45,7 @@ import {
|
|
|
45
45
|
LaunchTemplateCapacityReservationSpecificationResponse,
|
|
46
46
|
LaunchTemplateCpuOptions,
|
|
47
47
|
LaunchTemplateElasticInferenceAcceleratorResponse,
|
|
48
|
-
|
|
48
|
+
LaunchTemplateEnaSrdUdpSpecification,
|
|
49
49
|
LaunchTemplateEnclaveOptions,
|
|
50
50
|
LaunchTemplateHibernationOptions,
|
|
51
51
|
LaunchTemplateIamInstanceProfileSpecification,
|
|
@@ -60,12 +60,17 @@ import {
|
|
|
60
60
|
OperatorResponse,
|
|
61
61
|
PrivateIpAddressSpecification,
|
|
62
62
|
ShutdownBehavior,
|
|
63
|
+
SnapshotLocationEnum,
|
|
63
64
|
Subnet,
|
|
64
65
|
Tenancy,
|
|
65
66
|
ValidationWarning,
|
|
66
67
|
VolumeType,
|
|
67
68
|
Vpc,
|
|
68
69
|
} from "./models_1";
|
|
70
|
+
export interface LaunchTemplateEnaSrdSpecification {
|
|
71
|
+
EnaSrdEnabled?: boolean | undefined;
|
|
72
|
+
EnaSrdUdpSpecification?: LaunchTemplateEnaSrdUdpSpecification | undefined;
|
|
73
|
+
}
|
|
69
74
|
export interface Ipv4PrefixSpecificationResponse {
|
|
70
75
|
Ipv4Prefix?: string | undefined;
|
|
71
76
|
}
|
|
@@ -1157,12 +1162,6 @@ export interface CreateSecurityGroupResult {
|
|
|
1157
1162
|
Tags?: Tag[] | undefined;
|
|
1158
1163
|
SecurityGroupArn?: string | undefined;
|
|
1159
1164
|
}
|
|
1160
|
-
export declare const SnapshotLocationEnum: {
|
|
1161
|
-
readonly LOCAL: "local";
|
|
1162
|
-
readonly REGIONAL: "regional";
|
|
1163
|
-
};
|
|
1164
|
-
export type SnapshotLocationEnum =
|
|
1165
|
-
(typeof SnapshotLocationEnum)[keyof typeof SnapshotLocationEnum];
|
|
1166
1165
|
export interface CreateSnapshotRequest {
|
|
1167
1166
|
Description?: string | undefined;
|
|
1168
1167
|
OutpostArn?: string | undefined;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-ec2",
|
|
3
3
|
"description": "AWS SDK for JavaScript Ec2 Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.836.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-ec2",
|