@aws-sdk/client-ec2 3.212.0 → 3.214.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/endpoint/ruleset.js +1 -1
- package/dist-cjs/protocols/Aws_ec2.js +6 -0
- package/dist-es/endpoint/ruleset.js +1 -1
- package/dist-es/protocols/Aws_ec2.js +6 -0
- package/dist-types/EC2.d.ts +12 -13
- package/dist-types/commands/CancelImageLaunchPermissionCommand.d.ts +1 -1
- package/dist-types/commands/CopyImageCommand.d.ts +2 -2
- package/dist-types/commands/CreateImageCommand.d.ts +2 -2
- package/dist-types/commands/DeregisterImageCommand.d.ts +3 -4
- package/dist-types/commands/RegisterImageCommand.d.ts +4 -4
- package/dist-types/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +25 -10
- package/dist-types/models/models_1.d.ts +38 -49
- package/dist-types/models/models_3.d.ts +25 -46
- package/dist-types/models/models_4.d.ts +22 -42
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/ts3.4/models/models_0.d.ts +1 -0
- package/dist-types/ts3.4/models/models_1.d.ts +1 -0
- package/package.json +2 -2
|
@@ -23960,6 +23960,9 @@ const serializeAws_ec2CopyImageRequest = (input, context) => {
|
|
|
23960
23960
|
if (input.DryRun != null) {
|
|
23961
23961
|
entries["DryRun"] = input.DryRun;
|
|
23962
23962
|
}
|
|
23963
|
+
if (input.CopyImageTags != null) {
|
|
23964
|
+
entries["CopyImageTags"] = input.CopyImageTags;
|
|
23965
|
+
}
|
|
23963
23966
|
return entries;
|
|
23964
23967
|
};
|
|
23965
23968
|
const serializeAws_ec2CopySnapshotRequest = (input, context) => {
|
|
@@ -25096,6 +25099,9 @@ const serializeAws_ec2CreateNatGatewayRequest = (input, context) => {
|
|
|
25096
25099
|
if (input.ConnectivityType != null) {
|
|
25097
25100
|
entries["ConnectivityType"] = input.ConnectivityType;
|
|
25098
25101
|
}
|
|
25102
|
+
if (input.PrivateIpAddress != null) {
|
|
25103
|
+
entries["PrivateIpAddress"] = input.PrivateIpAddress;
|
|
25104
|
+
}
|
|
25099
25105
|
return entries;
|
|
25100
25106
|
};
|
|
25101
25107
|
const serializeAws_ec2CreateNetworkAclEntryRequest = (input, context) => {
|
|
@@ -22842,6 +22842,9 @@ const serializeAws_ec2CopyImageRequest = (input, context) => {
|
|
|
22842
22842
|
if (input.DryRun != null) {
|
|
22843
22843
|
entries["DryRun"] = input.DryRun;
|
|
22844
22844
|
}
|
|
22845
|
+
if (input.CopyImageTags != null) {
|
|
22846
|
+
entries["CopyImageTags"] = input.CopyImageTags;
|
|
22847
|
+
}
|
|
22845
22848
|
return entries;
|
|
22846
22849
|
};
|
|
22847
22850
|
const serializeAws_ec2CopySnapshotRequest = (input, context) => {
|
|
@@ -23978,6 +23981,9 @@ const serializeAws_ec2CreateNatGatewayRequest = (input, context) => {
|
|
|
23978
23981
|
if (input.ConnectivityType != null) {
|
|
23979
23982
|
entries["ConnectivityType"] = input.ConnectivityType;
|
|
23980
23983
|
}
|
|
23984
|
+
if (input.PrivateIpAddress != null) {
|
|
23985
|
+
entries["PrivateIpAddress"] = input.PrivateIpAddress;
|
|
23986
|
+
}
|
|
23981
23987
|
return entries;
|
|
23982
23988
|
};
|
|
23983
23989
|
const serializeAws_ec2CreateNetworkAclEntryRequest = (input, context) => {
|
package/dist-types/EC2.d.ts
CHANGED
|
@@ -1055,7 +1055,7 @@ export declare class EC2 extends EC2Client {
|
|
|
1055
1055
|
cancelExportTask(args: CancelExportTaskCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CancelExportTaskCommandOutput) => void): void;
|
|
1056
1056
|
/**
|
|
1057
1057
|
* <p>Removes your Amazon Web Services account from the launch permissions for the specified AMI. For more
|
|
1058
|
-
* information, see <a href="https://docs.aws.amazon.com/">Cancel
|
|
1058
|
+
* information, see <a href="https://docs.aws.amazon.com/">Cancel having an AMI shared with your Amazon Web Services account</a>
|
|
1059
1059
|
* in the <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
|
|
1060
1060
|
*/
|
|
1061
1061
|
cancelImageLaunchPermission(args: CancelImageLaunchPermissionCommandInput, options?: __HttpHandlerOptions): Promise<CancelImageLaunchPermissionCommandOutput>;
|
|
@@ -1133,8 +1133,8 @@ export declare class EC2 extends EC2Client {
|
|
|
1133
1133
|
* snapshots. For more information, <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/snapshots-outposts.html#ami">
|
|
1134
1134
|
* Amazon EBS local snapshots on Outposts</a> in the <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
|
|
1135
1135
|
*
|
|
1136
|
-
* <p>For more information about the prerequisites and limits when copying an AMI, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/CopyingAMIs.html">
|
|
1137
|
-
*
|
|
1136
|
+
* <p>For more information about the prerequisites and limits when copying an AMI, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/CopyingAMIs.html">Copy an AMI</a> in the
|
|
1137
|
+
* <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
|
|
1138
1138
|
*/
|
|
1139
1139
|
copyImage(args: CopyImageCommandInput, options?: __HttpHandlerOptions): Promise<CopyImageCommandOutput>;
|
|
1140
1140
|
copyImage(args: CopyImageCommandInput, cb: (err: any, data?: CopyImageCommandOutput) => void): void;
|
|
@@ -1405,8 +1405,8 @@ export declare class EC2 extends EC2Client {
|
|
|
1405
1405
|
* <p>If you customized your instance with instance store volumes or Amazon EBS volumes in addition to the root device volume, the
|
|
1406
1406
|
* new AMI contains block device mapping information for those volumes. When you launch an instance from this new AMI,
|
|
1407
1407
|
* the instance automatically launches with those additional volumes.</p>
|
|
1408
|
-
* <p>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/creating-an-ami-ebs.html">
|
|
1409
|
-
*
|
|
1408
|
+
* <p>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/creating-an-ami-ebs.html">Create an Amazon EBS-backed Linux
|
|
1409
|
+
* AMI</a> in the <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
|
|
1410
1410
|
*/
|
|
1411
1411
|
createImage(args: CreateImageCommandInput, options?: __HttpHandlerOptions): Promise<CreateImageCommandOutput>;
|
|
1412
1412
|
createImage(args: CreateImageCommandInput, cb: (err: any, data?: CreateImageCommandOutput) => void): void;
|
|
@@ -2727,10 +2727,9 @@ export declare class EC2 extends EC2Client {
|
|
|
2727
2727
|
* launch new instances.</p>
|
|
2728
2728
|
*
|
|
2729
2729
|
*
|
|
2730
|
-
* <p>If you deregister an AMI that matches a Recycle Bin retention rule, the AMI is
|
|
2731
|
-
*
|
|
2732
|
-
*
|
|
2733
|
-
* Bin</a> in the Amazon Elastic Compute Cloud User Guide.</p>
|
|
2730
|
+
* <p>If you deregister an AMI that matches a Recycle Bin retention rule, the AMI is retained
|
|
2731
|
+
* in the Recycle Bin for the specified retention period. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/recycle-bin.html">Recycle Bin</a> in
|
|
2732
|
+
* the <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
|
|
2734
2733
|
*
|
|
2735
2734
|
* <p>When you deregister an AMI, it doesn't affect any instances that you've already
|
|
2736
2735
|
* launched from the AMI. You'll continue to incur usage costs for those instances until
|
|
@@ -5683,8 +5682,8 @@ export declare class EC2 extends EC2Client {
|
|
|
5683
5682
|
/**
|
|
5684
5683
|
* <p>Registers an AMI. When you're creating an AMI, this is the final step you must complete
|
|
5685
5684
|
* before you can launch an instance from the AMI. For more information about creating AMIs, see
|
|
5686
|
-
* <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/creating-an-ami.html">
|
|
5687
|
-
* own
|
|
5685
|
+
* <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/creating-an-ami.html">Create your
|
|
5686
|
+
* own AMI</a> in the <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
|
|
5688
5687
|
* <note>
|
|
5689
5688
|
* <p>For Amazon EBS-backed instances, <a>CreateImage</a> creates and registers the AMI
|
|
5690
5689
|
* in a single request, so you don't have to register the AMI yourself. We recommend that you
|
|
@@ -5731,8 +5730,8 @@ export declare class EC2 extends EC2Client {
|
|
|
5731
5730
|
* from an AMI with a billing product code, make sure that the Reserved Instance has the matching
|
|
5732
5731
|
* billing product code. If you purchase a Reserved Instance without the matching billing product
|
|
5733
5732
|
* code, the Reserved Instance will not be applied to the On-Demand Instance. For information
|
|
5734
|
-
* about how to obtain the platform details and billing information of an AMI, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ami-billing-info.html">
|
|
5735
|
-
*
|
|
5733
|
+
* about how to obtain the platform details and billing information of an AMI, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ami-billing-info.html">Understand AMI
|
|
5734
|
+
* billing information</a> in the <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
|
|
5736
5735
|
*/
|
|
5737
5736
|
registerImage(args: RegisterImageCommandInput, options?: __HttpHandlerOptions): Promise<RegisterImageCommandOutput>;
|
|
5738
5737
|
registerImage(args: RegisterImageCommandInput, cb: (err: any, data?: RegisterImageCommandOutput) => void): void;
|
|
@@ -9,7 +9,7 @@ export interface CancelImageLaunchPermissionCommandOutput extends CancelImageLau
|
|
|
9
9
|
}
|
|
10
10
|
/**
|
|
11
11
|
* <p>Removes your Amazon Web Services account from the launch permissions for the specified AMI. For more
|
|
12
|
-
* information, see <a href="https://docs.aws.amazon.com/">Cancel
|
|
12
|
+
* information, see <a href="https://docs.aws.amazon.com/">Cancel having an AMI shared with your Amazon Web Services account</a>
|
|
13
13
|
* in the <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
|
|
14
14
|
* @example
|
|
15
15
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -28,8 +28,8 @@ export interface CopyImageCommandOutput extends CopyImageResult, __MetadataBeare
|
|
|
28
28
|
* snapshots. For more information, <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/snapshots-outposts.html#ami">
|
|
29
29
|
* Amazon EBS local snapshots on Outposts</a> in the <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
|
|
30
30
|
*
|
|
31
|
-
* <p>For more information about the prerequisites and limits when copying an AMI, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/CopyingAMIs.html">
|
|
32
|
-
*
|
|
31
|
+
* <p>For more information about the prerequisites and limits when copying an AMI, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/CopyingAMIs.html">Copy an AMI</a> in the
|
|
32
|
+
* <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
|
|
33
33
|
* @example
|
|
34
34
|
* Use a bare-bones client and the command you need to make an API call.
|
|
35
35
|
* ```javascript
|
|
@@ -27,8 +27,8 @@ export interface CreateImageCommandOutput extends CreateImageResult, __MetadataB
|
|
|
27
27
|
* <p>If you customized your instance with instance store volumes or Amazon EBS volumes in addition to the root device volume, the
|
|
28
28
|
* new AMI contains block device mapping information for those volumes. When you launch an instance from this new AMI,
|
|
29
29
|
* the instance automatically launches with those additional volumes.</p>
|
|
30
|
-
* <p>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/creating-an-ami-ebs.html">
|
|
31
|
-
*
|
|
30
|
+
* <p>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/creating-an-ami-ebs.html">Create an Amazon EBS-backed Linux
|
|
31
|
+
* AMI</a> in the <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
|
|
32
32
|
* @example
|
|
33
33
|
* Use a bare-bones client and the command you need to make an API call.
|
|
34
34
|
* ```javascript
|
|
@@ -12,10 +12,9 @@ export interface DeregisterImageCommandOutput extends __MetadataBearer {
|
|
|
12
12
|
* launch new instances.</p>
|
|
13
13
|
*
|
|
14
14
|
*
|
|
15
|
-
* <p>If you deregister an AMI that matches a Recycle Bin retention rule, the AMI is
|
|
16
|
-
*
|
|
17
|
-
*
|
|
18
|
-
* Bin</a> in the Amazon Elastic Compute Cloud User Guide.</p>
|
|
15
|
+
* <p>If you deregister an AMI that matches a Recycle Bin retention rule, the AMI is retained
|
|
16
|
+
* in the Recycle Bin for the specified retention period. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/recycle-bin.html">Recycle Bin</a> in
|
|
17
|
+
* the <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
|
|
19
18
|
*
|
|
20
19
|
* <p>When you deregister an AMI, it doesn't affect any instances that you've already
|
|
21
20
|
* launched from the AMI. You'll continue to incur usage costs for those instances until
|
|
@@ -10,8 +10,8 @@ export interface RegisterImageCommandOutput extends RegisterImageResult, __Metad
|
|
|
10
10
|
/**
|
|
11
11
|
* <p>Registers an AMI. When you're creating an AMI, this is the final step you must complete
|
|
12
12
|
* before you can launch an instance from the AMI. For more information about creating AMIs, see
|
|
13
|
-
* <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/creating-an-ami.html">
|
|
14
|
-
* own
|
|
13
|
+
* <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/creating-an-ami.html">Create your
|
|
14
|
+
* own AMI</a> in the <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
|
|
15
15
|
* <note>
|
|
16
16
|
* <p>For Amazon EBS-backed instances, <a>CreateImage</a> creates and registers the AMI
|
|
17
17
|
* in a single request, so you don't have to register the AMI yourself. We recommend that you
|
|
@@ -58,8 +58,8 @@ export interface RegisterImageCommandOutput extends RegisterImageResult, __Metad
|
|
|
58
58
|
* from an AMI with a billing product code, make sure that the Reserved Instance has the matching
|
|
59
59
|
* billing product code. If you purchase a Reserved Instance without the matching billing product
|
|
60
60
|
* code, the Reserved Instance will not be applied to the On-Demand Instance. For information
|
|
61
|
-
* about how to obtain the platform details and billing information of an AMI, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ami-billing-info.html">
|
|
62
|
-
*
|
|
61
|
+
* about how to obtain the platform details and billing information of an AMI, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ami-billing-info.html">Understand AMI
|
|
62
|
+
* billing information</a> in the <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
|
|
63
63
|
* @example
|
|
64
64
|
* Use a bare-bones client and the command you need to make an API call.
|
|
65
65
|
* ```javascript
|
|
@@ -12,7 +12,7 @@ export declare const resolveClientEndpointParameters: <T>(options: T & ClientInp
|
|
|
12
12
|
defaultSigningName: string;
|
|
13
13
|
};
|
|
14
14
|
export interface EndpointParameters extends __EndpointParameters {
|
|
15
|
-
Region
|
|
15
|
+
Region: string;
|
|
16
16
|
UseDualStack?: boolean;
|
|
17
17
|
UseFIPS?: boolean;
|
|
18
18
|
Endpoint?: string;
|
|
@@ -3688,8 +3688,9 @@ export interface AuthorizeSecurityGroupIngressResult {
|
|
|
3688
3688
|
*/
|
|
3689
3689
|
export interface S3Storage {
|
|
3690
3690
|
/**
|
|
3691
|
-
* <p>The access key ID of the owner of the bucket. Before you specify a value for your access
|
|
3692
|
-
*
|
|
3691
|
+
* <p>The access key ID of the owner of the bucket. Before you specify a value for your access
|
|
3692
|
+
* key ID, review and follow the guidance in <a href="https://docs.aws.amazon.com/general/latest/gr/aws-access-keys-best-practices.html">Best practices for managing
|
|
3693
|
+
* Amazon Web Services access keys</a>.</p>
|
|
3693
3694
|
*/
|
|
3694
3695
|
AWSAccessKeyId?: string;
|
|
3695
3696
|
/**
|
|
@@ -4322,10 +4323,11 @@ export interface CopyImageRequest {
|
|
|
4322
4323
|
*/
|
|
4323
4324
|
Description?: string;
|
|
4324
4325
|
/**
|
|
4325
|
-
* <p>Specifies whether the destination snapshots of the copied image should be encrypted.
|
|
4326
|
-
*
|
|
4327
|
-
*
|
|
4328
|
-
*
|
|
4326
|
+
* <p>Specifies whether the destination snapshots of the copied image should be encrypted. You
|
|
4327
|
+
* can encrypt a copy of an unencrypted snapshot, but you cannot create an unencrypted copy of an
|
|
4328
|
+
* encrypted snapshot. The default KMS key for Amazon EBS is used unless you specify a non-default
|
|
4329
|
+
* Key Management Service (KMS) KMS key using <code>KmsKeyId</code>. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSEncryption.html">Amazon EBS encryption</a> in the
|
|
4330
|
+
* <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
|
|
4329
4331
|
*/
|
|
4330
4332
|
Encrypted?: boolean;
|
|
4331
4333
|
/**
|
|
@@ -4371,10 +4373,8 @@ export interface CopyImageRequest {
|
|
|
4371
4373
|
* The AMI must be in the Region of the destination Outpost. You cannot copy an
|
|
4372
4374
|
* AMI from an Outpost to a Region, from one Outpost to another, or within the same
|
|
4373
4375
|
* Outpost.</p>
|
|
4374
|
-
*
|
|
4375
|
-
*
|
|
4376
|
-
* Copying AMIs from an Amazon Web Services Region to an Outpost</a> in the
|
|
4377
|
-
* <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
|
|
4376
|
+
* <p>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/snapshots-outposts.html#copy-amis"> Copy AMIs from an Amazon Web Services
|
|
4377
|
+
* Region to an Outpost</a> in the <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
|
|
4378
4378
|
*/
|
|
4379
4379
|
DestinationOutpostArn?: string;
|
|
4380
4380
|
/**
|
|
@@ -4383,6 +4383,21 @@ export interface CopyImageRequest {
|
|
|
4383
4383
|
* <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.</p>
|
|
4384
4384
|
*/
|
|
4385
4385
|
DryRun?: boolean;
|
|
4386
|
+
/**
|
|
4387
|
+
* <p>Indicates whether to include your user-defined AMI tags when copying the AMI.</p>
|
|
4388
|
+
* <p>The following tags will not be copied:</p>
|
|
4389
|
+
* <ul>
|
|
4390
|
+
* <li>
|
|
4391
|
+
* <p>System tags (prefixed with <code>aws:</code>)</p>
|
|
4392
|
+
* </li>
|
|
4393
|
+
* <li>
|
|
4394
|
+
* <p>For public and shared AMIs, user-defined tags that are attached by other Amazon Web Services
|
|
4395
|
+
* accounts</p>
|
|
4396
|
+
* </li>
|
|
4397
|
+
* </ul>
|
|
4398
|
+
* <p>Default: Your user-defined AMI tags are not copied.</p>
|
|
4399
|
+
*/
|
|
4400
|
+
CopyImageTags?: boolean;
|
|
4386
4401
|
}
|
|
4387
4402
|
/**
|
|
4388
4403
|
* <p>Contains the output of CopyImage.</p>
|
|
@@ -1097,48 +1097,28 @@ export interface SpotOptionsRequest {
|
|
|
1097
1097
|
* <p>The strategy that determines how to allocate the target Spot Instance capacity across the Spot Instance
|
|
1098
1098
|
* pools specified by the EC2 Fleet launch configuration. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-fleet-allocation-strategy.html">Allocation strategies for Spot Instances</a> in the
|
|
1099
1099
|
* <i>Amazon EC2 User Guide</i>.</p>
|
|
1100
|
-
*
|
|
1101
|
-
*
|
|
1102
|
-
*
|
|
1103
|
-
*
|
|
1104
|
-
*
|
|
1105
|
-
*
|
|
1106
|
-
*
|
|
1107
|
-
*
|
|
1108
|
-
* </
|
|
1109
|
-
*
|
|
1110
|
-
*
|
|
1111
|
-
*
|
|
1112
|
-
*
|
|
1113
|
-
*
|
|
1114
|
-
*
|
|
1115
|
-
*
|
|
1116
|
-
*
|
|
1117
|
-
*
|
|
1118
|
-
*
|
|
1119
|
-
*
|
|
1120
|
-
*
|
|
1121
|
-
*
|
|
1122
|
-
* <code>prioritized</code>, the same priority is applied when fulfilling On-Demand
|
|
1123
|
-
* capacity.</p>
|
|
1124
|
-
* </dd>
|
|
1125
|
-
* <dt>diversified</dt>
|
|
1126
|
-
* <dd>
|
|
1127
|
-
* <p>EC2 Fleet requests instances from all of the Spot Instance pools that you
|
|
1128
|
-
* specify.</p>
|
|
1129
|
-
* </dd>
|
|
1130
|
-
* <dt>lowest-price</dt>
|
|
1131
|
-
* <dd>
|
|
1132
|
-
* <p>EC2 Fleet requests instances from the lowest priced Spot Instance pool that
|
|
1133
|
-
* has available capacity. If the lowest priced pool doesn't have available capacity, the Spot Instances
|
|
1134
|
-
* come from the next lowest priced pool that has available capacity. If a pool runs out of
|
|
1135
|
-
* capacity before fulfilling your desired capacity, EC2 Fleet will continue to fulfill your
|
|
1136
|
-
* request by drawing from the next lowest priced pool. To ensure that your desired capacity is
|
|
1137
|
-
* met, you might receive Spot Instances from several pools. Because this strategy only considers instance
|
|
1138
|
-
* price and not capacity availability, it might lead to high interruption rates.</p>
|
|
1139
|
-
* </dd>
|
|
1140
|
-
* </dl>
|
|
1141
|
-
*
|
|
1100
|
+
* <p>
|
|
1101
|
+
* <code>lowest-price</code> - EC2 Fleet launches instances from the lowest-price Spot Instance pool that
|
|
1102
|
+
* has available capacity. If the cheapest pool doesn't have available capacity, the Spot Instances
|
|
1103
|
+
* come from the next cheapest pool that has available capacity. If a pool runs out of
|
|
1104
|
+
* capacity before fulfilling your desired capacity, EC2 Fleet will continue to fulfill your
|
|
1105
|
+
* request by drawing from the next cheapest pool. To ensure that your desired capacity is
|
|
1106
|
+
* met, you might receive Spot Instances from several pools.</p>
|
|
1107
|
+
* <p>
|
|
1108
|
+
* <code>diversified</code> - EC2 Fleet launches instances from all
|
|
1109
|
+
* of the Spot Instance pools that you specify.</p>
|
|
1110
|
+
* <p>
|
|
1111
|
+
* <code>capacity-optimized</code> (recommended) - EC2 Fleet
|
|
1112
|
+
* launches instances from Spot Instance pools with optimal capacity for the number of instances that
|
|
1113
|
+
* are launching. To give certain instance types a higher chance of launching first, use
|
|
1114
|
+
* <code>capacity-optimized-prioritized</code>. Set a priority for each instance type by
|
|
1115
|
+
* using the <code>Priority</code> parameter for <code>LaunchTemplateOverrides</code>. You can
|
|
1116
|
+
* assign the same priority to different <code>LaunchTemplateOverrides</code>. EC2 implements
|
|
1117
|
+
* the priorities on a best-effort basis, but optimizes for capacity first.
|
|
1118
|
+
* <code>capacity-optimized-prioritized</code> is supported only if your fleet uses a
|
|
1119
|
+
* launch template. Note that if the On-Demand <code>AllocationStrategy</code> is set to
|
|
1120
|
+
* <code>prioritized</code>, the same priority is applied when fulfilling On-Demand
|
|
1121
|
+
* capacity.</p>
|
|
1142
1122
|
* <p>Default: <code>lowest-price</code>
|
|
1143
1123
|
* </p>
|
|
1144
1124
|
*/
|
|
@@ -2050,7 +2030,8 @@ export interface CreateFlowLogsRequest {
|
|
|
2050
2030
|
/**
|
|
2051
2031
|
* <p>The IDs of the resources to monitor. For example, if the resource type is
|
|
2052
2032
|
* <code>VPC</code>, specify the IDs of the VPCs.</p>
|
|
2053
|
-
* <p>Constraints: Maximum of 1000
|
|
2033
|
+
* <p>Constraints: Maximum of 25 for transit gateway resource types. Maximum of 1000 for the
|
|
2034
|
+
* other resource types.</p>
|
|
2054
2035
|
*/
|
|
2055
2036
|
ResourceIds: string[] | undefined;
|
|
2056
2037
|
/**
|
|
@@ -2058,8 +2039,9 @@ export interface CreateFlowLogsRequest {
|
|
|
2058
2039
|
*/
|
|
2059
2040
|
ResourceType: FlowLogsResourceType | string | undefined;
|
|
2060
2041
|
/**
|
|
2061
|
-
* <p>The type of traffic to monitor (accepted traffic, rejected traffic, or all
|
|
2062
|
-
*
|
|
2042
|
+
* <p>The type of traffic to monitor (accepted traffic, rejected traffic, or all traffic).
|
|
2043
|
+
* This parameter is not supported for transit gateway resource types. It is required for
|
|
2044
|
+
* the other resource types.</p>
|
|
2063
2045
|
*/
|
|
2064
2046
|
TrafficType?: TrafficType | string;
|
|
2065
2047
|
/**
|
|
@@ -2092,10 +2074,11 @@ export interface CreateFlowLogsRequest {
|
|
|
2092
2074
|
LogDestination?: string;
|
|
2093
2075
|
/**
|
|
2094
2076
|
* <p>The fields to include in the flow log record. List the fields in the order in which
|
|
2095
|
-
* they should appear.
|
|
2096
|
-
* records</a>. If you omit this parameter, the flow log is created using the
|
|
2077
|
+
* they should appear. If you omit this parameter, the flow log is created using the
|
|
2097
2078
|
* default format. If you specify this parameter, you must include at least one
|
|
2098
|
-
* field
|
|
2079
|
+
* field. For more information about the available fields, see <a href="https://docs.aws.amazon.com/vpc/latest/userguide/flow-logs.html#flow-log-records">Flow log
|
|
2080
|
+
* records</a> in the <i>Amazon VPC User Guide</i> or <a href="https://docs.aws.amazon.com/vpc/latest/tgw/tgw-flow-logs.html#flow-log-records">Transit Gateway Flow Log
|
|
2081
|
+
* records</a> in the <i>Amazon Web Services Transit Gateway Guide</i>.</p>
|
|
2099
2082
|
* <p>Specify the fields using the <code>${field-id}</code> format, separated by spaces. For
|
|
2100
2083
|
* the CLI, surround this parameter value with single quotes on Linux or
|
|
2101
2084
|
* double quotes on Windows.</p>
|
|
@@ -2106,7 +2089,9 @@ export interface CreateFlowLogsRequest {
|
|
|
2106
2089
|
*/
|
|
2107
2090
|
TagSpecifications?: TagSpecification[];
|
|
2108
2091
|
/**
|
|
2109
|
-
* <p>The maximum interval of time during which a flow of packets is captured and aggregated into a flow log record.
|
|
2092
|
+
* <p>The maximum interval of time during which a flow of packets is captured and aggregated into a flow log record.
|
|
2093
|
+
* The possible values are 60 seconds (1 minute) or 600 seconds (10 minutes).
|
|
2094
|
+
* This parameter must be 60 seconds for transit gateway resource types.</p>
|
|
2110
2095
|
* <p>When a network interface is attached to a <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html#ec2-nitro-instances">Nitro-based
|
|
2111
2096
|
* instance</a>, the aggregation interval is always 60 seconds or less, regardless
|
|
2112
2097
|
* of the value that you specify.</p>
|
|
@@ -5426,6 +5411,10 @@ export interface CreateNatGatewayRequest {
|
|
|
5426
5411
|
* The default is public connectivity.</p>
|
|
5427
5412
|
*/
|
|
5428
5413
|
ConnectivityType?: ConnectivityType | string;
|
|
5414
|
+
/**
|
|
5415
|
+
* <p>The private IPv4 address to assign to the NAT gateway. If you don't provide an address, a private IPv4 address will be automatically assigned.</p>
|
|
5416
|
+
*/
|
|
5417
|
+
PrivateIpAddress?: string;
|
|
5429
5418
|
}
|
|
5430
5419
|
/**
|
|
5431
5420
|
* <p>Describes the IP addresses and network interface associated with a NAT gateway.</p>
|
|
@@ -3099,48 +3099,28 @@ export interface SpotOptions {
|
|
|
3099
3099
|
* <p>The strategy that determines how to allocate the target Spot Instance capacity across the Spot Instance
|
|
3100
3100
|
* pools specified by the EC2 Fleet launch configuration. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-fleet-allocation-strategy.html">Allocation strategies for Spot Instances</a> in the
|
|
3101
3101
|
* <i>Amazon EC2 User Guide</i>.</p>
|
|
3102
|
-
*
|
|
3103
|
-
*
|
|
3104
|
-
*
|
|
3105
|
-
*
|
|
3106
|
-
*
|
|
3107
|
-
*
|
|
3108
|
-
*
|
|
3109
|
-
*
|
|
3110
|
-
* </
|
|
3111
|
-
*
|
|
3112
|
-
*
|
|
3113
|
-
*
|
|
3114
|
-
*
|
|
3115
|
-
*
|
|
3116
|
-
*
|
|
3117
|
-
*
|
|
3118
|
-
*
|
|
3119
|
-
*
|
|
3120
|
-
*
|
|
3121
|
-
*
|
|
3122
|
-
*
|
|
3123
|
-
*
|
|
3124
|
-
* <code>prioritized</code>, the same priority is applied when fulfilling On-Demand
|
|
3125
|
-
* capacity.</p>
|
|
3126
|
-
* </dd>
|
|
3127
|
-
* <dt>diversified</dt>
|
|
3128
|
-
* <dd>
|
|
3129
|
-
* <p>EC2 Fleet requests instances from all of the Spot Instance pools that you
|
|
3130
|
-
* specify.</p>
|
|
3131
|
-
* </dd>
|
|
3132
|
-
* <dt>lowest-price</dt>
|
|
3133
|
-
* <dd>
|
|
3134
|
-
* <p>EC2 Fleet requests instances from the lowest priced Spot Instance pool that
|
|
3135
|
-
* has available capacity. If the lowest priced pool doesn't have available capacity, the Spot Instances
|
|
3136
|
-
* come from the next lowest priced pool that has available capacity. If a pool runs out of
|
|
3137
|
-
* capacity before fulfilling your desired capacity, EC2 Fleet will continue to fulfill your
|
|
3138
|
-
* request by drawing from the next lowest priced pool. To ensure that your desired capacity is
|
|
3139
|
-
* met, you might receive Spot Instances from several pools. Because this strategy only considers instance
|
|
3140
|
-
* price and not capacity availability, it might lead to high interruption rates.</p>
|
|
3141
|
-
* </dd>
|
|
3142
|
-
* </dl>
|
|
3143
|
-
*
|
|
3102
|
+
* <p>
|
|
3103
|
+
* <code>lowest-price</code> - EC2 Fleet launches instances from the lowest-price Spot Instance pool that
|
|
3104
|
+
* has available capacity. If the cheapest pool doesn't have available capacity, the Spot Instances
|
|
3105
|
+
* come from the next cheapest pool that has available capacity. If a pool runs out of
|
|
3106
|
+
* capacity before fulfilling your desired capacity, EC2 Fleet will continue to fulfill your
|
|
3107
|
+
* request by drawing from the next cheapest pool. To ensure that your desired capacity is
|
|
3108
|
+
* met, you might receive Spot Instances from several pools.</p>
|
|
3109
|
+
* <p>
|
|
3110
|
+
* <code>diversified</code> - EC2 Fleet launches instances from all of the Spot Instance pools that you
|
|
3111
|
+
* specify.</p>
|
|
3112
|
+
* <p>
|
|
3113
|
+
* <code>capacity-optimized</code> (recommended) - EC2 Fleet launches instances from Spot Instance pools
|
|
3114
|
+
* with optimal capacity for the number of instances that are launching. To give certain
|
|
3115
|
+
* instance types a higher chance of launching first, use
|
|
3116
|
+
* <code>capacity-optimized-prioritized</code>. Set a priority for each instance type by
|
|
3117
|
+
* using the <code>Priority</code> parameter for <code>LaunchTemplateOverrides</code>. You can
|
|
3118
|
+
* assign the same priority to different <code>LaunchTemplateOverrides</code>. EC2 implements
|
|
3119
|
+
* the priorities on a best-effort basis, but optimizes for capacity first.
|
|
3120
|
+
* <code>capacity-optimized-prioritized</code> is supported only if your fleet uses a
|
|
3121
|
+
* launch template. Note that if the On-Demand <code>AllocationStrategy</code> is set to
|
|
3122
|
+
* <code>prioritized</code>, the same priority is applied when fulfilling On-Demand
|
|
3123
|
+
* capacity.</p>
|
|
3144
3124
|
* <p>Default: <code>lowest-price</code>
|
|
3145
3125
|
* </p>
|
|
3146
3126
|
*/
|
|
@@ -4631,8 +4611,7 @@ export interface DescribeImagesRequest {
|
|
|
4631
4611
|
* </li>
|
|
4632
4612
|
* <li>
|
|
4633
4613
|
* <p>
|
|
4634
|
-
* <code>platform</code> - The platform.
|
|
4635
|
-
* <code>windows</code>.</p>
|
|
4614
|
+
* <code>platform</code> - The platform. The only supported value is <code>windows</code>.</p>
|
|
4636
4615
|
* </li>
|
|
4637
4616
|
* <li>
|
|
4638
4617
|
* <p>
|
|
@@ -4805,8 +4784,8 @@ export interface Image {
|
|
|
4805
4784
|
Platform?: PlatformValues | string;
|
|
4806
4785
|
/**
|
|
4807
4786
|
* <p>The platform details associated with the billing code of the AMI. For more information,
|
|
4808
|
-
* see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ami-billing-info.html">
|
|
4809
|
-
* AMI billing</a> in the <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
|
|
4787
|
+
* see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ami-billing-info.html">Understand
|
|
4788
|
+
* AMI billing information</a> in the <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
|
|
4810
4789
|
*/
|
|
4811
4790
|
PlatformDetails?: string;
|
|
4812
4791
|
/**
|
|
@@ -4364,48 +4364,28 @@ export interface SpotFleetRequestConfigData {
|
|
|
4364
4364
|
* <p>The strategy that determines how to allocate the target Spot Instance capacity across the Spot Instance
|
|
4365
4365
|
* pools specified by the Spot Fleet launch configuration. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/spot-fleet-allocation-strategy.html">Allocation
|
|
4366
4366
|
* strategies for Spot Instances</a> in the <i>Amazon EC2 User Guide</i>.</p>
|
|
4367
|
-
*
|
|
4368
|
-
*
|
|
4369
|
-
*
|
|
4370
|
-
*
|
|
4371
|
-
*
|
|
4372
|
-
*
|
|
4373
|
-
*
|
|
4374
|
-
*
|
|
4375
|
-
*
|
|
4376
|
-
*
|
|
4377
|
-
*
|
|
4378
|
-
*
|
|
4379
|
-
*
|
|
4380
|
-
*
|
|
4381
|
-
*
|
|
4382
|
-
*
|
|
4383
|
-
*
|
|
4384
|
-
*
|
|
4385
|
-
*
|
|
4386
|
-
*
|
|
4387
|
-
*
|
|
4388
|
-
*
|
|
4389
|
-
* <code>prioritized</code>, the same priority is applied when fulfilling On-Demand
|
|
4390
|
-
* capacity.</p>
|
|
4391
|
-
* </dd>
|
|
4392
|
-
* <dt>diversified</dt>
|
|
4393
|
-
* <dd>
|
|
4394
|
-
* <p>Spot Fleet requests instances from all of the Spot Instance pools that you
|
|
4395
|
-
* specify.</p>
|
|
4396
|
-
* </dd>
|
|
4397
|
-
* <dt>lowestPrice</dt>
|
|
4398
|
-
* <dd>
|
|
4399
|
-
* <p>Spot Fleet requests instances from the lowest priced Spot Instance pool that
|
|
4400
|
-
* has available capacity. If the lowest priced pool doesn't have available capacity, the Spot Instances
|
|
4401
|
-
* come from the next lowest priced pool that has available capacity. If a pool runs out of
|
|
4402
|
-
* capacity before fulfilling your desired capacity, Spot Fleet will continue to fulfill your
|
|
4403
|
-
* request by drawing from the next lowest priced pool. To ensure that your desired capacity is
|
|
4404
|
-
* met, you might receive Spot Instances from several pools. Because this strategy only considers instance
|
|
4405
|
-
* price and not capacity availability, it might lead to high interruption rates.</p>
|
|
4406
|
-
* </dd>
|
|
4407
|
-
* </dl>
|
|
4408
|
-
*
|
|
4367
|
+
* <p>
|
|
4368
|
+
* <code>lowestPrice</code> - Spot Fleet launches instances from the lowest-price Spot Instance pool
|
|
4369
|
+
* that has available capacity. If the cheapest pool doesn't have available capacity, the
|
|
4370
|
+
* Spot Instances come from the next cheapest pool that has available capacity. If a pool runs out
|
|
4371
|
+
* of capacity before fulfilling your desired capacity, Spot Fleet will continue to fulfill your
|
|
4372
|
+
* request by drawing from the next cheapest pool. To ensure that your desired capacity is
|
|
4373
|
+
* met, you might receive Spot Instances from several pools.</p>
|
|
4374
|
+
* <p>
|
|
4375
|
+
* <code>diversified</code> - Spot Fleet launches instances from all of the Spot Instance pools that you
|
|
4376
|
+
* specify.</p>
|
|
4377
|
+
* <p>
|
|
4378
|
+
* <code>capacityOptimized</code> (recommended) - Spot Fleet launches instances from Spot Instance pools
|
|
4379
|
+
* with optimal capacity for the number of instances that are launching. To give certain
|
|
4380
|
+
* instance types a higher chance of launching first, use
|
|
4381
|
+
* <code>capacityOptimizedPrioritized</code>. Set a priority for each instance type by
|
|
4382
|
+
* using the <code>Priority</code> parameter for <code>LaunchTemplateOverrides</code>. You can
|
|
4383
|
+
* assign the same priority to different <code>LaunchTemplateOverrides</code>. EC2 implements
|
|
4384
|
+
* the priorities on a best-effort basis, but optimizes for capacity first.
|
|
4385
|
+
* <code>capacityOptimizedPrioritized</code> is supported only if your Spot Fleet uses a
|
|
4386
|
+
* launch template. Note that if the <code>OnDemandAllocationStrategy</code> is set to
|
|
4387
|
+
* <code>prioritized</code>, the same priority is applied when fulfilling On-Demand
|
|
4388
|
+
* capacity.</p>
|
|
4409
4389
|
* <p>Default: <code>lowestPrice</code>
|
|
4410
4390
|
* </p>
|
|
4411
4391
|
*/
|
|
@@ -27,7 +27,7 @@ export declare const resolveClientEndpointParameters: <T>(
|
|
|
27
27
|
defaultSigningName: string;
|
|
28
28
|
};
|
|
29
29
|
export interface EndpointParameters extends __EndpointParameters {
|
|
30
|
-
Region
|
|
30
|
+
Region: string;
|
|
31
31
|
UseDualStack?: boolean;
|
|
32
32
|
UseFIPS?: boolean;
|
|
33
33
|
Endpoint?: string;
|
|
@@ -1357,6 +1357,7 @@ export interface CreateNatGatewayRequest {
|
|
|
1357
1357
|
SubnetId: string | undefined;
|
|
1358
1358
|
TagSpecifications?: TagSpecification[];
|
|
1359
1359
|
ConnectivityType?: ConnectivityType | string;
|
|
1360
|
+
PrivateIpAddress?: string;
|
|
1360
1361
|
}
|
|
1361
1362
|
export interface NatGatewayAddress {
|
|
1362
1363
|
AllocationId?: string;
|
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.214.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"dependencies": {
|
|
20
20
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
21
21
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
22
|
-
"@aws-sdk/client-sts": "3.
|
|
22
|
+
"@aws-sdk/client-sts": "3.213.0",
|
|
23
23
|
"@aws-sdk/config-resolver": "3.212.0",
|
|
24
24
|
"@aws-sdk/credential-provider-node": "3.212.0",
|
|
25
25
|
"@aws-sdk/fetch-http-handler": "3.212.0",
|