Skip to content

Commit a99738f

Browse files
author
awstools
committed
feat(client-ec2): Amazon EC2 G6e instances powered by NVIDIA L40S Tensor Core GPUs are the most cost-efficient GPU instances for deploying generative AI models and the highest performance GPU instances for spatial computing workloads.
1 parent 5428b83 commit a99738f

32 files changed

+133
-67
lines changed

clients/client-ec2/src/commands/CancelConversionTaskCommand.ts

-2
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,6 @@ export interface CancelConversionTaskCommandOutput extends __MetadataBearer {}
3131
* <p>Cancels an active conversion task. The task can be the import of an instance or volume. The action removes all
3232
* artifacts of the conversion, including a partially uploaded volume or instance. If the conversion is complete or is
3333
* in the process of transferring the final disk image, the command fails and returns an exception.</p>
34-
* <p>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/CommandLineReference/ec2-cli-vmimport-export.html">Importing a Virtual Machine Using the Amazon
35-
* EC2 CLI</a>.</p>
3634
* @example
3735
* Use a bare-bones client and the command you need to make an API call.
3836
* ```javascript

clients/client-ec2/src/commands/CreateCapacityReservationFleetCommand.ts

+2-2
Large diffs are not rendered by default.

clients/client-ec2/src/commands/CreateFleetCommand.ts

+5-5
Large diffs are not rendered by default.

clients/client-ec2/src/commands/CreateLaunchTemplateCommand.ts

+1-1
Large diffs are not rendered by default.

clients/client-ec2/src/commands/CreateLaunchTemplateVersionCommand.ts

+2-2
Large diffs are not rendered by default.

clients/client-ec2/src/commands/DescribeCapacityBlockOfferingsCommand.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,8 @@ export interface DescribeCapacityBlockOfferingsCommandOutput
4242
* const client = new EC2Client(config);
4343
* const input = { // DescribeCapacityBlockOfferingsRequest
4444
* DryRun: true || false,
45-
* InstanceType: "STRING_VALUE", // required
46-
* InstanceCount: Number("int"), // required
45+
* InstanceType: "STRING_VALUE",
46+
* InstanceCount: Number("int"),
4747
* StartDateRange: new Date("TIMESTAMP"),
4848
* EndDateRange: new Date("TIMESTAMP"),
4949
* CapacityDurationHours: Number("int"), // required

clients/client-ec2/src/commands/DescribeCapacityReservationFleetsCommand.ts

+1-1
Large diffs are not rendered by default.

clients/client-ec2/src/commands/DescribeFleetsCommand.ts

+5-5
Large diffs are not rendered by default.

clients/client-ec2/src/commands/DescribeInstanceTypeOfferingsCommand.ts

+1-1
Large diffs are not rendered by default.

clients/client-ec2/src/commands/DescribeInstanceTypesCommand.ts

+2-2
Large diffs are not rendered by default.

clients/client-ec2/src/commands/DescribeInstancesCommand.ts

+1-1
Large diffs are not rendered by default.

clients/client-ec2/src/commands/DescribeLaunchTemplateVersionsCommand.ts

+1-1
Large diffs are not rendered by default.

clients/client-ec2/src/commands/DescribeReservedInstancesCommand.ts

+1-1
Large diffs are not rendered by default.

clients/client-ec2/src/commands/DescribeReservedInstancesModificationsCommand.ts

+1-1
Large diffs are not rendered by default.

clients/client-ec2/src/commands/DescribeReservedInstancesOfferingsCommand.ts

+2-2
Large diffs are not rendered by default.

clients/client-ec2/src/commands/DescribeSpotFleetRequestsCommand.ts

+2-2
Large diffs are not rendered by default.

clients/client-ec2/src/commands/DescribeSpotInstanceRequestsCommand.ts

+1-1
Large diffs are not rendered by default.

clients/client-ec2/src/commands/DescribeSpotPriceHistoryCommand.ts

+2-2
Large diffs are not rendered by default.

clients/client-ec2/src/commands/GetLaunchTemplateDataCommand.ts

+1-1
Large diffs are not rendered by default.

clients/client-ec2/src/commands/ImportInstanceCommand.ts

+3-5
Large diffs are not rendered by default.

clients/client-ec2/src/commands/ImportVolumeCommand.ts

+5-4
Original file line numberDiff line numberDiff line change
@@ -33,13 +33,14 @@ export interface ImportVolumeCommandInput extends ImportVolumeRequest {}
3333
export interface ImportVolumeCommandOutput extends ImportVolumeResult, __MetadataBearer {}
3434

3535
/**
36-
* <p>Creates an import volume task using metadata from the specified disk image.</p>
37-
* <p>This API action supports only single-volume VMs. To import multi-volume VMs, use
36+
* <note>
37+
* <p>This API action supports only single-volume VMs. To import multi-volume VMs, use
3838
* <a>ImportImage</a> instead. To import a disk to a snapshot, use
3939
* <a>ImportSnapshot</a> instead.</p>
40-
* <p>This API action is not supported by the Command Line Interface (CLI). For
41-
* information about using the Amazon EC2 CLI, which is deprecated, see <a href="https://awsdocs.s3.amazonaws.com/EC2/ec2-clt.pdf#importing-your-volumes-into-amazon-ebs">Importing Disks to Amazon EBS</a> in the <i>Amazon EC2 CLI Reference</i> PDF file.</p>
40+
* </note>
41+
* <p>Creates an import volume task using metadata from the specified disk image.</p>
4242
* <p>For information about the import manifest referenced by this API action, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/manifest.html">VM Import Manifest</a>.</p>
43+
* <p>This API action is not supported by the Command Line Interface (CLI).</p>
4344
* @example
4445
* Use a bare-bones client and the command you need to make an API call.
4546
* ```javascript

clients/client-ec2/src/commands/ModifyFleetCommand.ts

+1-1
Large diffs are not rendered by default.

clients/client-ec2/src/commands/ModifyReservedInstancesCommand.ts

+1-1
Large diffs are not rendered by default.

clients/client-ec2/src/commands/ModifySpotFleetRequestCommand.ts

+1-1
Large diffs are not rendered by default.

clients/client-ec2/src/commands/RequestSpotFleetCommand.ts

+2-2
Large diffs are not rendered by default.

clients/client-ec2/src/commands/RequestSpotInstancesCommand.ts

+2-2
Large diffs are not rendered by default.

clients/client-ec2/src/commands/RunInstancesCommand.ts

+2-2
Large diffs are not rendered by default.

clients/client-ec2/src/models/models_0.ts

+8
Original file line numberDiff line numberDiff line change
@@ -9050,6 +9050,14 @@ export const _InstanceType = {
90509050
g6_4xlarge: "g6.4xlarge",
90519051
g6_8xlarge: "g6.8xlarge",
90529052
g6_xlarge: "g6.xlarge",
9053+
g6e_12xlarge: "g6e.12xlarge",
9054+
g6e_16xlarge: "g6e.16xlarge",
9055+
g6e_24xlarge: "g6e.24xlarge",
9056+
g6e_2xlarge: "g6e.2xlarge",
9057+
g6e_48xlarge: "g6e.48xlarge",
9058+
g6e_4xlarge: "g6e.4xlarge",
9059+
g6e_8xlarge: "g6e.8xlarge",
9060+
g6e_xlarge: "g6e.xlarge",
90539061
gr6_4xlarge: "gr6.4xlarge",
90549062
gr6_8xlarge: "gr6.8xlarge",
90559063
h1_16xlarge: "h1.16xlarge",

clients/client-ec2/src/models/models_1.ts

+2
Original file line numberDiff line numberDiff line change
@@ -2781,7 +2781,9 @@ export type FleetOnDemandAllocationStrategy =
27812781
* @enum
27822782
*/
27832783
export const FleetCapacityReservationUsageStrategy = {
2784+
NONE: "none",
27842785
USE_CAPACITY_RESERVATIONS_FIRST: "use-capacity-reservations-first",
2786+
USE_CAPACITY_RESERVATIONS_ONLY: "use-capacity-reservations-only",
27852787
} as const;
27862788

27872789
/**

clients/client-ec2/src/models/models_3.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -3024,13 +3024,13 @@ export interface DescribeCapacityBlockOfferingsRequest {
30243024
* <p>The type of instance for which the Capacity Block offering reserves capacity.</p>
30253025
* @public
30263026
*/
3027-
InstanceType: string | undefined;
3027+
InstanceType?: string;
30283028

30293029
/**
30303030
* <p>The number of instances for which to reserve capacity.</p>
30313031
* @public
30323032
*/
3033-
InstanceCount: number | undefined;
3033+
InstanceCount?: number;
30343034

30353035
/**
30363036
* <p>The earliest start date for the Capacity Block offering.</p>

clients/client-ec2/src/models/models_4.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -698,7 +698,7 @@ export interface DescribeImportSnapshotTasksRequest {
698698
*/
699699
export interface SnapshotTaskDetail {
700700
/**
701-
* <p>The description of the snapshot.</p>
701+
* <p>The description of the disk image being imported.</p>
702702
* @public
703703
*/
704704
Description?: string;

codegen/sdk-codegen/aws-models/ec2.json

+70-11
Original file line numberDiff line numberDiff line change
@@ -9921,7 +9921,7 @@
99219921
"target": "smithy.api#Unit"
99229922
},
99239923
"traits": {
9924-
"smithy.api#documentation": "<p>Cancels an active conversion task. The task can be the import of an instance or volume. The action removes all\n artifacts of the conversion, including a partially uploaded volume or instance. If the conversion is complete or is\n in the process of transferring the final disk image, the command fails and returns an exception.</p>\n <p>For more information, see <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/CommandLineReference/ec2-cli-vmimport-export.html\">Importing a Virtual Machine Using the Amazon\n EC2 CLI</a>.</p>"
9924+
"smithy.api#documentation": "<p>Cancels an active conversion task. The task can be the import of an instance or volume. The action removes all\n artifacts of the conversion, including a partially uploaded volume or instance. If the conversion is complete or is\n in the process of transferring the final disk image, the command fails and returns an exception.</p>"
99259925
}
99269926
},
99279927
"com.amazonaws.ec2#CancelExportTask": {
@@ -23520,7 +23520,7 @@
2352023520
"type": "structure",
2352123521
"members": {
2352223522
"KeyName": {
23523-
"target": "com.amazonaws.ec2#KeyPairName",
23523+
"target": "com.amazonaws.ec2#KeyPairNameWithResolver",
2352423524
"traits": {
2352523525
"smithy.api#documentation": "<p>The name of the key pair.</p>"
2352623526
}
@@ -27891,17 +27891,13 @@
2789127891
"InstanceType": {
2789227892
"target": "com.amazonaws.ec2#String",
2789327893
"traits": {
27894-
"smithy.api#clientOptional": {},
27895-
"smithy.api#documentation": "<p>The type of instance for which the Capacity Block offering reserves capacity.</p>",
27896-
"smithy.api#required": {}
27894+
"smithy.api#documentation": "<p>The type of instance for which the Capacity Block offering reserves capacity.</p>"
2789727895
}
2789827896
},
2789927897
"InstanceCount": {
2790027898
"target": "com.amazonaws.ec2#Integer",
2790127899
"traits": {
27902-
"smithy.api#clientOptional": {},
27903-
"smithy.api#documentation": "<p>The number of instances for which to reserve capacity.</p>",
27904-
"smithy.api#required": {}
27900+
"smithy.api#documentation": "<p>The number of instances for which to reserve capacity.</p>"
2790527901
}
2790627902
},
2790727903
"StartDateRange": {
@@ -49857,6 +49853,18 @@
4985749853
"traits": {
4985849854
"smithy.api#enumValue": "use-capacity-reservations-first"
4985949855
}
49856+
},
49857+
"USE_CAPACITY_RESERVATIONS_ONLY": {
49858+
"target": "smithy.api#Unit",
49859+
"traits": {
49860+
"smithy.api#enumValue": "use-capacity-reservations-only"
49861+
}
49862+
},
49863+
"NONE": {
49864+
"target": "smithy.api#Unit",
49865+
"traits": {
49866+
"smithy.api#enumValue": "none"
49867+
}
4986049868
}
4986149869
}
4986249870
},
@@ -57482,7 +57490,7 @@
5748257490
"target": "com.amazonaws.ec2#ImportInstanceResult"
5748357491
},
5748457492
"traits": {
57485-
"smithy.api#documentation": "<note>\n <p>We recommend that you use the <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_ImportImage.html\">\n <code>ImportImage</code>\n </a>\n API. For more information, see <a href=\"https://docs.aws.amazon.com/vm-import/latest/userguide/vmimport-image-import.html\">Importing a VM as an image using VM\n Import/Export</a> in the <i>VM Import/Export User Guide</i>.</p>\n </note>\n <p>Creates an import instance task using metadata from the specified disk image.</p>\n <p>This API action is not supported by the Command Line Interface (CLI). For\n information about using the Amazon EC2 CLI, which is deprecated, see <a href=\"https://awsdocs.s3.amazonaws.com/EC2/ec2-clt.pdf#UsingVirtualMachinesinAmazonEC2\">Importing\n a VM to Amazon EC2</a> in the <i>Amazon EC2 CLI Reference</i> PDF file.</p>\n <p>This API action supports only single-volume VMs. To import multi-volume VMs, use <a>ImportImage</a>\n instead.</p>\n <p>For information about the import manifest referenced by this API action, see <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/APIReference/manifest.html\">VM Import Manifest</a>.</p>"
57493+
"smithy.api#documentation": "<note>\n <p>We recommend that you use the <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_ImportImage.html\">\n <code>ImportImage</code>\n </a>\n API instead. For more information, see <a href=\"https://docs.aws.amazon.com/vm-import/latest/userguide/vmimport-image-import.html\">Importing a VM as an image using VM\n Import/Export</a> in the <i>VM Import/Export User Guide</i>.</p>\n </note>\n <p>Creates an import instance task using metadata from the specified disk image.</p>\n <p>This API action supports only single-volume VMs. To import multi-volume VMs, use <a>ImportImage</a>\n instead.</p>\n <p>For information about the import manifest referenced by this API action, see <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/APIReference/manifest.html\">VM Import Manifest</a>.</p>\n <p>This API action is not supported by the Command Line Interface (CLI).</p>"
5748657494
}
5748757495
},
5748857496
"com.amazonaws.ec2#ImportInstanceLaunchSpecification": {
@@ -58056,7 +58064,7 @@
5805658064
"target": "com.amazonaws.ec2#ImportVolumeResult"
5805758065
},
5805858066
"traits": {
58059-
"smithy.api#documentation": "<p>Creates an import volume task using metadata from the specified disk image.</p>\n <p>This API action supports only single-volume VMs. To import multi-volume VMs, use \n <a>ImportImage</a> instead. To import a disk to a snapshot, use\n <a>ImportSnapshot</a> instead.</p>\n <p>This API action is not supported by the Command Line Interface (CLI). For \n information about using the Amazon EC2 CLI, which is deprecated, see <a href=\"https://awsdocs.s3.amazonaws.com/EC2/ec2-clt.pdf#importing-your-volumes-into-amazon-ebs\">Importing Disks to Amazon EBS</a> in the <i>Amazon EC2 CLI Reference</i> PDF file.</p>\n <p>For information about the import manifest referenced by this API action, see <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/APIReference/manifest.html\">VM Import Manifest</a>.</p>"
58067+
"smithy.api#documentation": "<note>\n <p>This API action supports only single-volume VMs. To import multi-volume VMs, use \n <a>ImportImage</a> instead. To import a disk to a snapshot, use\n <a>ImportSnapshot</a> instead.</p>\n </note>\n <p>Creates an import volume task using metadata from the specified disk image.</p>\n <p>For information about the import manifest referenced by this API action, see <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/APIReference/manifest.html\">VM Import Manifest</a>.</p>\n <p>This API action is not supported by the Command Line Interface (CLI).</p>"
5806058068
}
5806158069
},
5806258070
"com.amazonaws.ec2#ImportVolumeRequest": {
@@ -66558,6 +66566,54 @@
6655866566
"traits": {
6655966567
"smithy.api#enumValue": "mac2-m1ultra.metal"
6656066568
}
66569+
},
66570+
"g6e_xlarge": {
66571+
"target": "smithy.api#Unit",
66572+
"traits": {
66573+
"smithy.api#enumValue": "g6e.xlarge"
66574+
}
66575+
},
66576+
"g6e_2xlarge": {
66577+
"target": "smithy.api#Unit",
66578+
"traits": {
66579+
"smithy.api#enumValue": "g6e.2xlarge"
66580+
}
66581+
},
66582+
"g6e_4xlarge": {
66583+
"target": "smithy.api#Unit",
66584+
"traits": {
66585+
"smithy.api#enumValue": "g6e.4xlarge"
66586+
}
66587+
},
66588+
"g6e_8xlarge": {
66589+
"target": "smithy.api#Unit",
66590+
"traits": {
66591+
"smithy.api#enumValue": "g6e.8xlarge"
66592+
}
66593+
},
66594+
"g6e_12xlarge": {
66595+
"target": "smithy.api#Unit",
66596+
"traits": {
66597+
"smithy.api#enumValue": "g6e.12xlarge"
66598+
}
66599+
},
66600+
"g6e_16xlarge": {
66601+
"target": "smithy.api#Unit",
66602+
"traits": {
66603+
"smithy.api#enumValue": "g6e.16xlarge"
66604+
}
66605+
},
66606+
"g6e_24xlarge": {
66607+
"target": "smithy.api#Unit",
66608+
"traits": {
66609+
"smithy.api#enumValue": "g6e.24xlarge"
66610+
}
66611+
},
66612+
"g6e_48xlarge": {
66613+
"target": "smithy.api#Unit",
66614+
"traits": {
66615+
"smithy.api#enumValue": "g6e.48xlarge"
66616+
}
6656166617
}
6656266618
}
6656366619
},
@@ -70622,6 +70678,9 @@
7062270678
"com.amazonaws.ec2#KeyPairName": {
7062370679
"type": "string"
7062470680
},
70681+
"com.amazonaws.ec2#KeyPairNameWithResolver": {
70682+
"type": "string"
70683+
},
7062570684
"com.amazonaws.ec2#KeyType": {
7062670685
"type": "enum",
7062770686
"members": {
@@ -96036,7 +96095,7 @@
9603696095
"target": "com.amazonaws.ec2#String",
9603796096
"traits": {
9603896097
"aws.protocols#ec2QueryName": "Description",
96039-
"smithy.api#documentation": "<p>The description of the snapshot.</p>",
96098+
"smithy.api#documentation": "<p>The description of the disk image being imported.</p>",
9604096099
"smithy.api#xmlName": "description"
9604196100
}
9604296101
},

0 commit comments

Comments
 (0)