@aws-sdk/client-ec2 3.42.0 → 3.43.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +11 -0
- package/dist-cjs/EC2.js +15 -0
- package/dist-cjs/commands/CreateVpcEndpointConnectionNotificationCommand.js +2 -1
- package/dist-cjs/commands/DescribeHostReservationsCommand.js +2 -1
- package/dist-cjs/commands/DescribeHostsCommand.js +1 -2
- package/dist-cjs/commands/DescribeStaleSecurityGroupsCommand.js +2 -1
- package/dist-cjs/commands/DescribeStoreImageTasksCommand.js +3 -3
- package/dist-cjs/commands/DescribeSubnetsCommand.js +1 -2
- package/dist-cjs/commands/ModifyInstanceAttributeCommand.js +2 -2
- package/dist-cjs/commands/ModifyInstanceCapacityReservationAttributesCommand.js +3 -3
- package/dist-cjs/commands/ModifyPrivateDnsNameOptionsCommand.js +36 -0
- package/dist-cjs/commands/index.js +1 -0
- package/dist-cjs/models/models_0.js +13 -14
- package/dist-cjs/models/models_1.js +29 -26
- package/dist-cjs/models/models_2.js +27 -31
- package/dist-cjs/models/models_3.js +37 -36
- package/dist-cjs/models/models_4.js +36 -36
- package/dist-cjs/models/models_5.js +53 -5
- package/dist-cjs/protocols/Aws_ec2.js +235 -12
- package/dist-es/EC2.js +15 -0
- package/dist-es/commands/CreateVpcEndpointConnectionNotificationCommand.js +2 -1
- package/dist-es/commands/DescribeHostReservationsCommand.js +2 -1
- package/dist-es/commands/DescribeHostsCommand.js +1 -2
- package/dist-es/commands/DescribeStaleSecurityGroupsCommand.js +2 -1
- package/dist-es/commands/DescribeStoreImageTasksCommand.js +1 -1
- package/dist-es/commands/DescribeSubnetsCommand.js +1 -2
- package/dist-es/commands/ModifyInstanceAttributeCommand.js +1 -1
- package/dist-es/commands/ModifyInstanceCapacityReservationAttributesCommand.js +1 -1
- package/dist-es/commands/ModifyPrivateDnsNameOptionsCommand.js +39 -0
- package/dist-es/commands/index.js +1 -0
- package/dist-es/models/models_0.js +9 -8
- package/dist-es/models/models_1.js +16 -17
- package/dist-es/models/models_2.js +17 -19
- package/dist-es/models/models_3.js +23 -20
- package/dist-es/models/models_4.js +20 -20
- package/dist-es/models/models_5.js +32 -0
- package/dist-es/protocols/Aws_ec2.js +229 -0
- package/dist-types/EC2.d.ts +20 -12
- package/dist-types/EC2Client.d.ts +3 -2
- package/dist-types/commands/AuthorizeSecurityGroupEgressCommand.d.ts +1 -1
- package/dist-types/commands/CreateVpcEndpointConnectionNotificationCommand.d.ts +2 -1
- package/dist-types/commands/DescribeHostReservationsCommand.d.ts +2 -1
- package/dist-types/commands/DescribeHostsCommand.d.ts +1 -2
- package/dist-types/commands/DescribeInstanceStatusCommand.d.ts +3 -2
- package/dist-types/commands/DescribeStaleSecurityGroupsCommand.d.ts +2 -1
- package/dist-types/commands/DescribeStoreImageTasksCommand.d.ts +1 -1
- package/dist-types/commands/DescribeSubnetsCommand.d.ts +1 -2
- package/dist-types/commands/ModifyInstanceAttributeCommand.d.ts +2 -2
- package/dist-types/commands/ModifyInstanceCapacityReservationAttributesCommand.d.ts +1 -1
- package/dist-types/commands/ModifyPrivateDnsNameOptionsCommand.d.ts +35 -0
- package/dist-types/commands/MonitorInstancesCommand.d.ts +2 -2
- package/dist-types/commands/RebootInstancesCommand.d.ts +2 -2
- package/dist-types/commands/SendDiagnosticInterruptCommand.d.ts +1 -1
- package/dist-types/commands/StartInstancesCommand.d.ts +2 -2
- package/dist-types/commands/StopInstancesCommand.d.ts +1 -1
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +99 -75
- package/dist-types/models/models_1.d.ts +127 -68
- package/dist-types/models/models_2.d.ts +120 -189
- package/dist-types/models/models_3.d.ts +195 -230
- package/dist-types/models/models_4.d.ts +236 -204
- package/dist-types/models/models_5.d.ts +310 -14
- package/dist-types/protocols/Aws_ec2.d.ts +3 -0
- package/dist-types/ts3.4/EC2.d.ts +5 -0
- package/dist-types/ts3.4/EC2Client.d.ts +3 -2
- package/dist-types/ts3.4/commands/CreateVpcEndpointConnectionNotificationCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/DescribeHostReservationsCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/DescribeHostsCommand.d.ts +1 -2
- package/dist-types/ts3.4/commands/DescribeStaleSecurityGroupsCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/DescribeStoreImageTasksCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeSubnetsCommand.d.ts +1 -2
- package/dist-types/ts3.4/commands/ModifyInstanceAttributeCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ModifyInstanceCapacityReservationAttributesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ModifyPrivateDnsNameOptionsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +23 -22
- package/dist-types/ts3.4/models/models_1.d.ts +62 -40
- package/dist-types/ts3.4/models/models_2.d.ts +38 -65
- package/dist-types/ts3.4/models/models_3.d.ts +84 -75
- package/dist-types/ts3.4/models/models_4.d.ts +76 -83
- package/dist-types/ts3.4/models/models_5.d.ts +129 -3
- package/dist-types/ts3.4/protocols/Aws_ec2.d.ts +3 -0
- package/package.json +2 -2
|
@@ -2008,11 +2008,11 @@ export declare namespace SubnetCidrBlockState {
|
|
|
2008
2008
|
const filterSensitiveLog: (obj: SubnetCidrBlockState) => any;
|
|
2009
2009
|
}
|
|
2010
2010
|
/**
|
|
2011
|
-
* <p>Describes an
|
|
2011
|
+
* <p>Describes an association between a subnet and an IPv6 CIDR block.</p>
|
|
2012
2012
|
*/
|
|
2013
2013
|
export interface SubnetIpv6CidrBlockAssociation {
|
|
2014
2014
|
/**
|
|
2015
|
-
* <p>The
|
|
2015
|
+
* <p>The ID of the association.</p>
|
|
2016
2016
|
*/
|
|
2017
2017
|
AssociationId?: string;
|
|
2018
2018
|
/**
|
|
@@ -2020,7 +2020,7 @@ export interface SubnetIpv6CidrBlockAssociation {
|
|
|
2020
2020
|
*/
|
|
2021
2021
|
Ipv6CidrBlock?: string;
|
|
2022
2022
|
/**
|
|
2023
|
-
* <p>
|
|
2023
|
+
* <p>The state of the CIDR block.</p>
|
|
2024
2024
|
*/
|
|
2025
2025
|
Ipv6CidrBlockState?: SubnetCidrBlockState;
|
|
2026
2026
|
}
|
|
@@ -2032,7 +2032,7 @@ export declare namespace SubnetIpv6CidrBlockAssociation {
|
|
|
2032
2032
|
}
|
|
2033
2033
|
export interface AssociateSubnetCidrBlockResult {
|
|
2034
2034
|
/**
|
|
2035
|
-
* <p>Information about the IPv6
|
|
2035
|
+
* <p>Information about the IPv6 association.</p>
|
|
2036
2036
|
*/
|
|
2037
2037
|
Ipv6CidrBlockAssociation?: SubnetIpv6CidrBlockAssociation;
|
|
2038
2038
|
/**
|
|
@@ -5256,6 +5256,11 @@ export interface CreateDefaultSubnetRequest {
|
|
|
5256
5256
|
* Otherwise, it is <code>UnauthorizedOperation</code>.</p>
|
|
5257
5257
|
*/
|
|
5258
5258
|
DryRun?: boolean;
|
|
5259
|
+
/**
|
|
5260
|
+
* <p>Indicates whether to create an IPv6 only subnet. If you already have a default subnet
|
|
5261
|
+
* for this Availability Zone, you must delete it before you can create an IPv6 only subnet.</p>
|
|
5262
|
+
*/
|
|
5263
|
+
Ipv6Native?: boolean;
|
|
5259
5264
|
}
|
|
5260
5265
|
export declare namespace CreateDefaultSubnetRequest {
|
|
5261
5266
|
/**
|
|
@@ -5263,6 +5268,36 @@ export declare namespace CreateDefaultSubnetRequest {
|
|
|
5263
5268
|
*/
|
|
5264
5269
|
const filterSensitiveLog: (obj: CreateDefaultSubnetRequest) => any;
|
|
5265
5270
|
}
|
|
5271
|
+
export declare enum HostnameType {
|
|
5272
|
+
ip_name = "ip-name",
|
|
5273
|
+
resource_name = "resource-name"
|
|
5274
|
+
}
|
|
5275
|
+
/**
|
|
5276
|
+
* <p>Describes the options for instance hostnames.</p>
|
|
5277
|
+
*/
|
|
5278
|
+
export interface PrivateDnsNameOptionsOnLaunch {
|
|
5279
|
+
/**
|
|
5280
|
+
* <p>The type of hostname for EC2 instances. For IPv4 only subnets, an instance DNS name must be
|
|
5281
|
+
* based on the instance IPv4 address. For IPv6 only subnets, an instance DNS name must be based
|
|
5282
|
+
* on the instance ID. For dual-stack subnets, you can specify whether DNS names use the instance
|
|
5283
|
+
* IPv4 address or the instance ID.</p>
|
|
5284
|
+
*/
|
|
5285
|
+
HostnameType?: HostnameType | string;
|
|
5286
|
+
/**
|
|
5287
|
+
* <p>Indicates whether to respond to DNS queries for instance hostnames with DNS A records.</p>
|
|
5288
|
+
*/
|
|
5289
|
+
EnableResourceNameDnsARecord?: boolean;
|
|
5290
|
+
/**
|
|
5291
|
+
* <p>Indicates whether to respond to DNS queries for instance hostname with DNS AAAA records.</p>
|
|
5292
|
+
*/
|
|
5293
|
+
EnableResourceNameDnsAAAARecord?: boolean;
|
|
5294
|
+
}
|
|
5295
|
+
export declare namespace PrivateDnsNameOptionsOnLaunch {
|
|
5296
|
+
/**
|
|
5297
|
+
* @internal
|
|
5298
|
+
*/
|
|
5299
|
+
const filterSensitiveLog: (obj: PrivateDnsNameOptionsOnLaunch) => any;
|
|
5300
|
+
}
|
|
5266
5301
|
export declare type SubnetState = "available" | "pending";
|
|
5267
5302
|
/**
|
|
5268
5303
|
* <p>Describes a subnet.</p>
|
|
@@ -5344,6 +5379,15 @@ export interface Subnet {
|
|
|
5344
5379
|
* should return synthetic IPv6 addresses for IPv4-only destinations.</p>
|
|
5345
5380
|
*/
|
|
5346
5381
|
EnableDns64?: boolean;
|
|
5382
|
+
/**
|
|
5383
|
+
* <p>Indicates whether this is an IPv6 only subnet.</p>
|
|
5384
|
+
*/
|
|
5385
|
+
Ipv6Native?: boolean;
|
|
5386
|
+
/**
|
|
5387
|
+
* <p>The type of hostnames to assign to instances in the subnet at launch. An instance hostname
|
|
5388
|
+
* is based on the IPv4 address or ID of the instance.</p>
|
|
5389
|
+
*/
|
|
5390
|
+
PrivateDnsNameOptionsOnLaunch?: PrivateDnsNameOptionsOnLaunch;
|
|
5347
5391
|
}
|
|
5348
5392
|
export declare namespace Subnet {
|
|
5349
5393
|
/**
|
|
@@ -6126,7 +6170,7 @@ export interface Placement {
|
|
|
6126
6170
|
*/
|
|
6127
6171
|
GroupName?: string;
|
|
6128
6172
|
/**
|
|
6129
|
-
* <p>The number of the partition the instance is in. Valid only if the placement group
|
|
6173
|
+
* <p>The number of the partition that the instance is in. Valid only if the placement group
|
|
6130
6174
|
* strategy is set to <code>partition</code>.</p>
|
|
6131
6175
|
* <p>This parameter is not supported by <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateFleet">CreateFleet</a>.</p>
|
|
6132
6176
|
*/
|
|
@@ -6295,31 +6339,42 @@ export declare namespace CapacityReservationOptionsRequest {
|
|
|
6295
6339
|
*/
|
|
6296
6340
|
export interface OnDemandOptionsRequest {
|
|
6297
6341
|
/**
|
|
6298
|
-
* <p>The order of the launch template overrides to use in
|
|
6299
|
-
*
|
|
6300
|
-
*
|
|
6301
|
-
*
|
|
6302
|
-
*
|
|
6342
|
+
* <p>The strategy that determines the order of the launch template overrides to use in
|
|
6343
|
+
* fulfilling On-Demand capacity.</p>
|
|
6344
|
+
* <p>
|
|
6345
|
+
* <code>lowest-price</code> - EC2 Fleet uses price to determine the order, launching the lowest
|
|
6346
|
+
* price first.</p>
|
|
6347
|
+
* <p>
|
|
6348
|
+
* <code>prioritized</code> - EC2 Fleet uses the priority that you assigned to each launch
|
|
6349
|
+
* template override, launching the highest priority first.</p>
|
|
6350
|
+
* <p>Default: <code>lowest-price</code>
|
|
6351
|
+
* </p>
|
|
6303
6352
|
*/
|
|
6304
6353
|
AllocationStrategy?: FleetOnDemandAllocationStrategy | string;
|
|
6305
6354
|
/**
|
|
6306
|
-
* <p>The strategy for using unused Capacity Reservations for fulfilling On-Demand
|
|
6307
|
-
*
|
|
6355
|
+
* <p>The strategy for using unused Capacity Reservations for fulfilling On-Demand
|
|
6356
|
+
* capacity.</p>
|
|
6357
|
+
* <p>Supported only for fleets of type <code>instant</code>.</p>
|
|
6308
6358
|
*/
|
|
6309
6359
|
CapacityReservationOptions?: CapacityReservationOptionsRequest;
|
|
6310
6360
|
/**
|
|
6311
|
-
* <p>Indicates that the fleet uses a single instance type to launch all On-Demand Instances in the
|
|
6312
|
-
*
|
|
6361
|
+
* <p>Indicates that the fleet uses a single instance type to launch all On-Demand Instances in the
|
|
6362
|
+
* fleet.</p>
|
|
6363
|
+
* <p>Supported only for fleets of type <code>instant</code>.</p>
|
|
6313
6364
|
*/
|
|
6314
6365
|
SingleInstanceType?: boolean;
|
|
6315
6366
|
/**
|
|
6316
|
-
* <p>Indicates that the fleet launches all On-Demand Instances into a single Availability Zone
|
|
6317
|
-
* only for fleets of type <code>instant</code>.</p>
|
|
6367
|
+
* <p>Indicates that the fleet launches all On-Demand Instances into a single Availability Zone.</p>
|
|
6368
|
+
* <p>Supported only for fleets of type <code>instant</code>.</p>
|
|
6318
6369
|
*/
|
|
6319
6370
|
SingleAvailabilityZone?: boolean;
|
|
6320
6371
|
/**
|
|
6321
6372
|
* <p>The minimum target capacity for On-Demand Instances in the fleet. If the minimum target capacity is
|
|
6322
6373
|
* not reached, the fleet launches no instances.</p>
|
|
6374
|
+
* <p>Supported only for fleets of type <code>instant</code>.</p>
|
|
6375
|
+
* <p>At least one of the following must be specified: <code>SingleAvailabilityZone</code> |
|
|
6376
|
+
* <code>SingleInstanceType</code>
|
|
6377
|
+
* </p>
|
|
6323
6378
|
*/
|
|
6324
6379
|
MinTargetCapacity?: number;
|
|
6325
6380
|
/**
|
|
@@ -6369,6 +6424,8 @@ export interface FleetSpotCapacityRebalanceRequest {
|
|
|
6369
6424
|
/**
|
|
6370
6425
|
* <p>The amount of time (in seconds) that Amazon EC2 waits before terminating the old Spot
|
|
6371
6426
|
* Instance after launching a new replacement Spot Instance.</p>
|
|
6427
|
+
* <p>Valid only when <code>ReplacementStrategy</code> is set to <code>launch-before-terminate</code>.</p>
|
|
6428
|
+
* <p>Valid values: Minimum value of <code>120</code> seconds. Maximum value of <code>7200</code> seconds.</p>
|
|
6372
6429
|
*/
|
|
6373
6430
|
TerminationDelay?: number;
|
|
6374
6431
|
}
|
|
@@ -6399,13 +6456,16 @@ export declare namespace FleetSpotMaintenanceStrategiesRequest {
|
|
|
6399
6456
|
*/
|
|
6400
6457
|
export interface SpotOptionsRequest {
|
|
6401
6458
|
/**
|
|
6402
|
-
* <p>
|
|
6459
|
+
* <p>The strategy that determines how to allocate the target Spot Instance capacity across the Spot Instance pools specified by
|
|
6403
6460
|
* the EC2 Fleet.</p>
|
|
6404
|
-
* <p>
|
|
6405
|
-
*
|
|
6406
|
-
*
|
|
6461
|
+
* <p>
|
|
6462
|
+
* <code>lowest-price</code> - EC2 Fleet launches instances from
|
|
6463
|
+
* the Spot Instance pools with the lowest price.</p>
|
|
6464
|
+
* <p>
|
|
6465
|
+
* <code>diversified</code> - EC2 Fleet launches instances from all
|
|
6407
6466
|
* of the Spot Instance pools that you specify.</p>
|
|
6408
|
-
* <p>
|
|
6467
|
+
* <p>
|
|
6468
|
+
* <code>capacity-optimized</code> (recommended) - EC2 Fleet
|
|
6409
6469
|
* launches instances from Spot Instance pools with optimal capacity for the number of instances that
|
|
6410
6470
|
* are launching. To give certain instance types a higher chance of launching first, use
|
|
6411
6471
|
* <code>capacity-optimized-prioritized</code>. Set a priority for each instance type by
|
|
@@ -6416,6 +6476,8 @@ export interface SpotOptionsRequest {
|
|
|
6416
6476
|
* launch template. Note that if the On-Demand <code>AllocationStrategy</code> is set to
|
|
6417
6477
|
* <code>prioritized</code>, the same priority is applied when fulfilling On-Demand
|
|
6418
6478
|
* capacity.</p>
|
|
6479
|
+
* <p>Default: <code>lowest-price</code>
|
|
6480
|
+
* </p>
|
|
6419
6481
|
*/
|
|
6420
6482
|
AllocationStrategy?: SpotAllocationStrategy | string;
|
|
6421
6483
|
/**
|
|
@@ -6424,14 +6486,16 @@ export interface SpotOptionsRequest {
|
|
|
6424
6486
|
*/
|
|
6425
6487
|
MaintenanceStrategies?: FleetSpotMaintenanceStrategiesRequest;
|
|
6426
6488
|
/**
|
|
6427
|
-
* <p>The behavior when a Spot Instance is interrupted
|
|
6489
|
+
* <p>The behavior when a Spot Instance is interrupted.</p>
|
|
6490
|
+
* <p>Default: <code>terminate</code>
|
|
6491
|
+
* </p>
|
|
6428
6492
|
*/
|
|
6429
6493
|
InstanceInterruptionBehavior?: SpotInstanceInterruptionBehavior | string;
|
|
6430
6494
|
/**
|
|
6431
|
-
* <p>The number of Spot pools across which to allocate your target Spot capacity.
|
|
6432
|
-
* when Spot <
|
|
6433
|
-
*
|
|
6434
|
-
*
|
|
6495
|
+
* <p>The number of Spot pools across which to allocate your target Spot capacity. Supported
|
|
6496
|
+
* only when Spot <code>AllocationStrategy</code> is set to <code>lowest-price</code>. EC2 Fleet
|
|
6497
|
+
* selects the cheapest Spot pools and evenly allocates your target Spot capacity across the
|
|
6498
|
+
* number of Spot pools that you specify.</p>
|
|
6435
6499
|
* <p>Note that EC2 Fleet attempts to draw Spot Instances from the number of pools that you specify on a
|
|
6436
6500
|
* best effort basis. If a pool runs out of Spot capacity before fulfilling your target
|
|
6437
6501
|
* capacity, EC2 Fleet will continue to fulfill your request by drawing from the next cheapest
|
|
@@ -6442,18 +6506,23 @@ export interface SpotOptionsRequest {
|
|
|
6442
6506
|
*/
|
|
6443
6507
|
InstancePoolsToUseCount?: number;
|
|
6444
6508
|
/**
|
|
6445
|
-
* <p>Indicates that the fleet uses a single instance type to launch all Spot Instances in the
|
|
6446
|
-
*
|
|
6509
|
+
* <p>Indicates that the fleet uses a single instance type to launch all Spot Instances in the
|
|
6510
|
+
* fleet.</p>
|
|
6511
|
+
* <p>Supported only for fleets of type <code>instant</code>.</p>
|
|
6447
6512
|
*/
|
|
6448
6513
|
SingleInstanceType?: boolean;
|
|
6449
6514
|
/**
|
|
6450
|
-
* <p>Indicates that the fleet launches all Spot Instances into a single Availability Zone
|
|
6451
|
-
* only for fleets of type <code>instant</code>.</p>
|
|
6515
|
+
* <p>Indicates that the fleet launches all Spot Instances into a single Availability Zone.</p>
|
|
6516
|
+
* <p>Supported only for fleets of type <code>instant</code>.</p>
|
|
6452
6517
|
*/
|
|
6453
6518
|
SingleAvailabilityZone?: boolean;
|
|
6454
6519
|
/**
|
|
6455
6520
|
* <p>The minimum target capacity for Spot Instances in the fleet. If the minimum target capacity is
|
|
6456
6521
|
* not reached, the fleet launches no instances.</p>
|
|
6522
|
+
* <p>Supported only for fleets of type <code>instant</code>.</p>
|
|
6523
|
+
* <p>At least one of the following must be specified: <code>SingleAvailabilityZone</code> |
|
|
6524
|
+
* <code>SingleInstanceType</code>
|
|
6525
|
+
* </p>
|
|
6457
6526
|
*/
|
|
6458
6527
|
MinTargetCapacity?: number;
|
|
6459
6528
|
/**
|
|
@@ -6663,48 +6732,3 @@ export declare namespace FleetLaunchTemplateSpecification {
|
|
|
6663
6732
|
*/
|
|
6664
6733
|
const filterSensitiveLog: (obj: FleetLaunchTemplateSpecification) => any;
|
|
6665
6734
|
}
|
|
6666
|
-
/**
|
|
6667
|
-
* <p>The minimum and maximum baseline bandwidth to Amazon EBS, in Mbps. For more information, see
|
|
6668
|
-
* <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-optimized.html">Amazon
|
|
6669
|
-
* EBS–optimized instances</a> in the <i>Amazon EC2 User Guide</i>.</p>
|
|
6670
|
-
*/
|
|
6671
|
-
export interface BaselineEbsBandwidthMbps {
|
|
6672
|
-
/**
|
|
6673
|
-
* <p>The minimum baseline bandwidth, in Mbps. If this parameter is not specified, there is no
|
|
6674
|
-
* minimum limit.</p>
|
|
6675
|
-
*/
|
|
6676
|
-
Min?: number;
|
|
6677
|
-
/**
|
|
6678
|
-
* <p>The maximum baseline bandwidth, in Mbps. If this parameter is not specified, there is no
|
|
6679
|
-
* maximum limit.</p>
|
|
6680
|
-
*/
|
|
6681
|
-
Max?: number;
|
|
6682
|
-
}
|
|
6683
|
-
export declare namespace BaselineEbsBandwidthMbps {
|
|
6684
|
-
/**
|
|
6685
|
-
* @internal
|
|
6686
|
-
*/
|
|
6687
|
-
const filterSensitiveLog: (obj: BaselineEbsBandwidthMbps) => any;
|
|
6688
|
-
}
|
|
6689
|
-
/**
|
|
6690
|
-
* <p>The minimum and maximum amount of memory per vCPU, in GiB.</p>
|
|
6691
|
-
* <p></p>
|
|
6692
|
-
*/
|
|
6693
|
-
export interface MemoryGiBPerVCpu {
|
|
6694
|
-
/**
|
|
6695
|
-
* <p>The minimum amount of memory per vCPU, in GiB. If this parameter is not specified, there is
|
|
6696
|
-
* no minimum limit.</p>
|
|
6697
|
-
*/
|
|
6698
|
-
Min?: number;
|
|
6699
|
-
/**
|
|
6700
|
-
* <p>The maximum amount of memory per vCPU, in GiB. If this parameter is not specified, there is
|
|
6701
|
-
* no maximum limit.</p>
|
|
6702
|
-
*/
|
|
6703
|
-
Max?: number;
|
|
6704
|
-
}
|
|
6705
|
-
export declare namespace MemoryGiBPerVCpu {
|
|
6706
|
-
/**
|
|
6707
|
-
* @internal
|
|
6708
|
-
*/
|
|
6709
|
-
const filterSensitiveLog: (obj: MemoryGiBPerVCpu) => any;
|
|
6710
|
-
}
|
|
@@ -1,4 +1,49 @@
|
|
|
1
|
-
import { _InstanceType, AcceleratorCount, AcceleratorManufacturer, AcceleratorName, AcceleratorTotalMemoryMiB, AcceleratorType, AddPrefixListEntry, ApplianceModeSupportValue, AttachmentStatus, BareMetal,
|
|
1
|
+
import { _InstanceType, AcceleratorCount, AcceleratorManufacturer, AcceleratorName, AcceleratorTotalMemoryMiB, AcceleratorType, AddPrefixListEntry, ApplianceModeSupportValue, AttachmentStatus, BareMetal, BurstablePerformance, CpuManufacturer, CurrencyCodeValues, DnsSupportValue, FleetLaunchTemplateSpecification, HostnameType, InstanceEventWindow, InstanceGeneration, InstanceRequirementsRequest, InternetGatewayAttachment, Ipv4PrefixSpecification, Ipv6SupportValue, LocalStorage, LocalStorageType, ReservedInstancesListing, ResourceType, RouteTableAssociationState, Subnet, Tag, TagSpecification, Tenancy, TransitGatewayAttachmentResourceType, TransitGatewayAttachmentState, TransitGatewayPeeringAttachment, TransitGatewayVpcAttachment, UnsuccessfulItem, VolumeAttachment, Vpc, WeekDay } from "./models_0";
|
|
2
|
+
/**
|
|
3
|
+
* <p>The minimum and maximum baseline bandwidth to Amazon EBS, in Mbps. For more information, see
|
|
4
|
+
* <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-optimized.html">Amazon
|
|
5
|
+
* EBS–optimized instances</a> in the <i>Amazon EC2 User Guide</i>.</p>
|
|
6
|
+
*/
|
|
7
|
+
export interface BaselineEbsBandwidthMbps {
|
|
8
|
+
/**
|
|
9
|
+
* <p>The minimum baseline bandwidth, in Mbps. If this parameter is not specified, there is no
|
|
10
|
+
* minimum limit.</p>
|
|
11
|
+
*/
|
|
12
|
+
Min?: number;
|
|
13
|
+
/**
|
|
14
|
+
* <p>The maximum baseline bandwidth, in Mbps. If this parameter is not specified, there is no
|
|
15
|
+
* maximum limit.</p>
|
|
16
|
+
*/
|
|
17
|
+
Max?: number;
|
|
18
|
+
}
|
|
19
|
+
export declare namespace BaselineEbsBandwidthMbps {
|
|
20
|
+
/**
|
|
21
|
+
* @internal
|
|
22
|
+
*/
|
|
23
|
+
const filterSensitiveLog: (obj: BaselineEbsBandwidthMbps) => any;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* <p>The minimum and maximum amount of memory per vCPU, in GiB.</p>
|
|
27
|
+
* <p></p>
|
|
28
|
+
*/
|
|
29
|
+
export interface MemoryGiBPerVCpu {
|
|
30
|
+
/**
|
|
31
|
+
* <p>The minimum amount of memory per vCPU, in GiB. If this parameter is not specified, there is
|
|
32
|
+
* no minimum limit.</p>
|
|
33
|
+
*/
|
|
34
|
+
Min?: number;
|
|
35
|
+
/**
|
|
36
|
+
* <p>The maximum amount of memory per vCPU, in GiB. If this parameter is not specified, there is
|
|
37
|
+
* no maximum limit.</p>
|
|
38
|
+
*/
|
|
39
|
+
Max?: number;
|
|
40
|
+
}
|
|
41
|
+
export declare namespace MemoryGiBPerVCpu {
|
|
42
|
+
/**
|
|
43
|
+
* @internal
|
|
44
|
+
*/
|
|
45
|
+
const filterSensitiveLog: (obj: MemoryGiBPerVCpu) => any;
|
|
46
|
+
}
|
|
2
47
|
/**
|
|
3
48
|
* <p>The minimum and maximum amount of memory, in MiB.</p>
|
|
4
49
|
*/
|
|
@@ -2033,6 +2078,32 @@ export declare namespace LaunchTemplatePlacementRequest {
|
|
|
2033
2078
|
*/
|
|
2034
2079
|
const filterSensitiveLog: (obj: LaunchTemplatePlacementRequest) => any;
|
|
2035
2080
|
}
|
|
2081
|
+
/**
|
|
2082
|
+
* <p>Describes the options for instance hostnames.</p>
|
|
2083
|
+
*/
|
|
2084
|
+
export interface LaunchTemplatePrivateDnsNameOptionsRequest {
|
|
2085
|
+
/**
|
|
2086
|
+
* <p>The type of hostname for Amazon EC2 instances. For IPv4 only subnets, an instance DNS name must
|
|
2087
|
+
* be based on the instance IPv4 address. For IPv6 native subnets, an instance DNS name must
|
|
2088
|
+
* be based on the instance ID. For dual-stack subnets, you can specify whether DNS names use
|
|
2089
|
+
* the instance IPv4 address or the instance ID.</p>
|
|
2090
|
+
*/
|
|
2091
|
+
HostnameType?: HostnameType | string;
|
|
2092
|
+
/**
|
|
2093
|
+
* <p>Indicates whether to respond to DNS queries for instance hostnames with DNS A records.</p>
|
|
2094
|
+
*/
|
|
2095
|
+
EnableResourceNameDnsARecord?: boolean;
|
|
2096
|
+
/**
|
|
2097
|
+
* <p>Indicates whether to respond to DNS queries for instance hostnames with DNS AAAA records.</p>
|
|
2098
|
+
*/
|
|
2099
|
+
EnableResourceNameDnsAAAARecord?: boolean;
|
|
2100
|
+
}
|
|
2101
|
+
export declare namespace LaunchTemplatePrivateDnsNameOptionsRequest {
|
|
2102
|
+
/**
|
|
2103
|
+
* @internal
|
|
2104
|
+
*/
|
|
2105
|
+
const filterSensitiveLog: (obj: LaunchTemplatePrivateDnsNameOptionsRequest) => any;
|
|
2106
|
+
}
|
|
2036
2107
|
/**
|
|
2037
2108
|
* <p>The tags specification for the launch template.</p>
|
|
2038
2109
|
*/
|
|
@@ -2232,6 +2303,10 @@ export interface RequestLaunchTemplateData {
|
|
|
2232
2303
|
* <code>InstanceTypes</code>.</p>
|
|
2233
2304
|
*/
|
|
2234
2305
|
InstanceRequirements?: InstanceRequirementsRequest;
|
|
2306
|
+
/**
|
|
2307
|
+
* <p>The options for the instance hostname. The default values are inherited from the subnet.</p>
|
|
2308
|
+
*/
|
|
2309
|
+
PrivateDnsNameOptions?: LaunchTemplatePrivateDnsNameOptionsRequest;
|
|
2235
2310
|
}
|
|
2236
2311
|
export declare namespace RequestLaunchTemplateData {
|
|
2237
2312
|
/**
|
|
@@ -2973,6 +3048,29 @@ export declare namespace LaunchTemplatePlacement {
|
|
|
2973
3048
|
*/
|
|
2974
3049
|
const filterSensitiveLog: (obj: LaunchTemplatePlacement) => any;
|
|
2975
3050
|
}
|
|
3051
|
+
/**
|
|
3052
|
+
* <p>Describes the options for instance hostnames.</p>
|
|
3053
|
+
*/
|
|
3054
|
+
export interface LaunchTemplatePrivateDnsNameOptions {
|
|
3055
|
+
/**
|
|
3056
|
+
* <p>The type of hostname to assign to an instance.</p>
|
|
3057
|
+
*/
|
|
3058
|
+
HostnameType?: HostnameType | string;
|
|
3059
|
+
/**
|
|
3060
|
+
* <p>Indicates whether to respond to DNS queries for instance hostnames with DNS A records.</p>
|
|
3061
|
+
*/
|
|
3062
|
+
EnableResourceNameDnsARecord?: boolean;
|
|
3063
|
+
/**
|
|
3064
|
+
* <p>Indicates whether to respond to DNS queries for instance hostnames with DNS AAAA records.</p>
|
|
3065
|
+
*/
|
|
3066
|
+
EnableResourceNameDnsAAAARecord?: boolean;
|
|
3067
|
+
}
|
|
3068
|
+
export declare namespace LaunchTemplatePrivateDnsNameOptions {
|
|
3069
|
+
/**
|
|
3070
|
+
* @internal
|
|
3071
|
+
*/
|
|
3072
|
+
const filterSensitiveLog: (obj: LaunchTemplatePrivateDnsNameOptions) => any;
|
|
3073
|
+
}
|
|
2976
3074
|
/**
|
|
2977
3075
|
* <p>The tag specification for the launch template.</p>
|
|
2978
3076
|
*/
|
|
@@ -3119,6 +3217,10 @@ export interface ResponseLaunchTemplateData {
|
|
|
3119
3217
|
* <code>InstanceTypes</code>.</p>
|
|
3120
3218
|
*/
|
|
3121
3219
|
InstanceRequirements?: InstanceRequirements;
|
|
3220
|
+
/**
|
|
3221
|
+
* <p>The options for the instance hostname.</p>
|
|
3222
|
+
*/
|
|
3223
|
+
PrivateDnsNameOptions?: LaunchTemplatePrivateDnsNameOptions;
|
|
3122
3224
|
}
|
|
3123
3225
|
export declare namespace ResponseLaunchTemplateData {
|
|
3124
3226
|
/**
|
|
@@ -4402,6 +4504,14 @@ export interface NetworkInterface {
|
|
|
4402
4504
|
* transit gateway, including on-premises networks.</p>
|
|
4403
4505
|
*/
|
|
4404
4506
|
DenyAllIgwTraffic?: boolean;
|
|
4507
|
+
/**
|
|
4508
|
+
* <p>Indicates whether this is an IPv6 only network interface.</p>
|
|
4509
|
+
*/
|
|
4510
|
+
Ipv6Native?: boolean;
|
|
4511
|
+
/**
|
|
4512
|
+
* <p>The IPv6 globally unique address associated with the network interface.</p>
|
|
4513
|
+
*/
|
|
4514
|
+
Ipv6Address?: string;
|
|
4405
4515
|
}
|
|
4406
4516
|
export declare namespace NetworkInterface {
|
|
4407
4517
|
/**
|
|
@@ -4926,6 +5036,9 @@ export interface CreateRouteRequest {
|
|
|
4926
5036
|
* <p>The ID of a VPC peering connection.</p>
|
|
4927
5037
|
*/
|
|
4928
5038
|
VpcPeeringConnectionId?: string;
|
|
5039
|
+
/**
|
|
5040
|
+
* <p>The Amazon Resource Name (ARN) of the core network.</p>
|
|
5041
|
+
*/
|
|
4929
5042
|
CoreNetworkArn?: string;
|
|
4930
5043
|
}
|
|
4931
5044
|
export declare namespace CreateRouteRequest {
|
|
@@ -5100,6 +5213,9 @@ export interface Route {
|
|
|
5100
5213
|
* <p>The ID of a VPC peering connection.</p>
|
|
5101
5214
|
*/
|
|
5102
5215
|
VpcPeeringConnectionId?: string;
|
|
5216
|
+
/**
|
|
5217
|
+
* <p>The Amazon Resource Name (ARN) of the core network.</p>
|
|
5218
|
+
*/
|
|
5103
5219
|
CoreNetworkArn?: string;
|
|
5104
5220
|
}
|
|
5105
5221
|
export declare namespace Route {
|
|
@@ -5668,12 +5784,16 @@ export interface CreateSubnetRequest {
|
|
|
5668
5784
|
*/
|
|
5669
5785
|
AvailabilityZoneId?: string;
|
|
5670
5786
|
/**
|
|
5671
|
-
* <p>The IPv4 network range for the subnet, in CIDR notation. For example, <code>10.0.0.0/24</code>.
|
|
5787
|
+
* <p>The IPv4 network range for the subnet, in CIDR notation. For example, <code>10.0.0.0/24</code>.
|
|
5788
|
+
* We modify the specified CIDR block to its canonical form; for example, if you specify
|
|
5789
|
+
* <code>100.68.0.18/18</code>, we modify it to <code>100.68.0.0/18</code>.</p>
|
|
5790
|
+
* <p>This parameter is not supported for an IPv6 only subnet.</p>
|
|
5672
5791
|
*/
|
|
5673
|
-
CidrBlock
|
|
5792
|
+
CidrBlock?: string;
|
|
5674
5793
|
/**
|
|
5675
5794
|
* <p>The IPv6 network range for the subnet, in CIDR notation. The subnet size must use a
|
|
5676
5795
|
* /64 prefix length.</p>
|
|
5796
|
+
* <p>This parameter is required for an IPv6 only subnet.</p>
|
|
5677
5797
|
*/
|
|
5678
5798
|
Ipv6CidrBlock?: string;
|
|
5679
5799
|
/**
|
|
@@ -5691,6 +5811,10 @@ export interface CreateSubnetRequest {
|
|
|
5691
5811
|
* Otherwise, it is <code>UnauthorizedOperation</code>.</p>
|
|
5692
5812
|
*/
|
|
5693
5813
|
DryRun?: boolean;
|
|
5814
|
+
/**
|
|
5815
|
+
* <p>Indicates whether to create an IPv6 only subnet.</p>
|
|
5816
|
+
*/
|
|
5817
|
+
Ipv6Native?: boolean;
|
|
5694
5818
|
}
|
|
5695
5819
|
export declare namespace CreateSubnetRequest {
|
|
5696
5820
|
/**
|
|
@@ -7895,68 +8019,3 @@ export declare namespace CreateVpcEndpointConnectionNotificationRequest {
|
|
|
7895
8019
|
*/
|
|
7896
8020
|
const filterSensitiveLog: (obj: CreateVpcEndpointConnectionNotificationRequest) => any;
|
|
7897
8021
|
}
|
|
7898
|
-
export declare enum ConnectionNotificationState {
|
|
7899
|
-
Disabled = "Disabled",
|
|
7900
|
-
Enabled = "Enabled"
|
|
7901
|
-
}
|
|
7902
|
-
export declare enum ConnectionNotificationType {
|
|
7903
|
-
Topic = "Topic"
|
|
7904
|
-
}
|
|
7905
|
-
/**
|
|
7906
|
-
* <p>Describes a connection notification for a VPC endpoint or VPC endpoint
|
|
7907
|
-
* service.</p>
|
|
7908
|
-
*/
|
|
7909
|
-
export interface ConnectionNotification {
|
|
7910
|
-
/**
|
|
7911
|
-
* <p>The ID of the notification.</p>
|
|
7912
|
-
*/
|
|
7913
|
-
ConnectionNotificationId?: string;
|
|
7914
|
-
/**
|
|
7915
|
-
* <p>The ID of the endpoint service.</p>
|
|
7916
|
-
*/
|
|
7917
|
-
ServiceId?: string;
|
|
7918
|
-
/**
|
|
7919
|
-
* <p>The ID of the VPC endpoint.</p>
|
|
7920
|
-
*/
|
|
7921
|
-
VpcEndpointId?: string;
|
|
7922
|
-
/**
|
|
7923
|
-
* <p>The type of notification.</p>
|
|
7924
|
-
*/
|
|
7925
|
-
ConnectionNotificationType?: ConnectionNotificationType | string;
|
|
7926
|
-
/**
|
|
7927
|
-
* <p>The ARN of the SNS topic for the notification.</p>
|
|
7928
|
-
*/
|
|
7929
|
-
ConnectionNotificationArn?: string;
|
|
7930
|
-
/**
|
|
7931
|
-
* <p>The events for the notification. Valid values are <code>Accept</code>,
|
|
7932
|
-
* <code>Connect</code>, <code>Delete</code>, and <code>Reject</code>.</p>
|
|
7933
|
-
*/
|
|
7934
|
-
ConnectionEvents?: string[];
|
|
7935
|
-
/**
|
|
7936
|
-
* <p>The state of the notification.</p>
|
|
7937
|
-
*/
|
|
7938
|
-
ConnectionNotificationState?: ConnectionNotificationState | string;
|
|
7939
|
-
}
|
|
7940
|
-
export declare namespace ConnectionNotification {
|
|
7941
|
-
/**
|
|
7942
|
-
* @internal
|
|
7943
|
-
*/
|
|
7944
|
-
const filterSensitiveLog: (obj: ConnectionNotification) => any;
|
|
7945
|
-
}
|
|
7946
|
-
export interface CreateVpcEndpointConnectionNotificationResult {
|
|
7947
|
-
/**
|
|
7948
|
-
* <p>Information about the notification.</p>
|
|
7949
|
-
*/
|
|
7950
|
-
ConnectionNotification?: ConnectionNotification;
|
|
7951
|
-
/**
|
|
7952
|
-
* <p>Unique, case-sensitive identifier that you provide to ensure the idempotency of the
|
|
7953
|
-
* request.</p>
|
|
7954
|
-
*/
|
|
7955
|
-
ClientToken?: string;
|
|
7956
|
-
}
|
|
7957
|
-
export declare namespace CreateVpcEndpointConnectionNotificationResult {
|
|
7958
|
-
/**
|
|
7959
|
-
* @internal
|
|
7960
|
-
*/
|
|
7961
|
-
const filterSensitiveLog: (obj: CreateVpcEndpointConnectionNotificationResult) => any;
|
|
7962
|
-
}
|