Skip to content

Commit aa76eb4

Browse files
author
awstools
committed
feat(client-ec2): Mark Elastic Inference Accelerators and Elastic Graphics Processor parameters as deprecated on the RunInstances and LaunchTemplate APIs.
1 parent aabc7a5 commit aa76eb4

File tree

3 files changed

+24
-0
lines changed

3 files changed

+24
-0
lines changed

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11686,6 +11686,8 @@ export interface RequestLaunchTemplateData {
1168611686
* <note>
1168711687
* <p>Amazon Elastic Graphics reached end of life on January 8, 2024.</p>
1168811688
* </note>
11689+
*
11690+
* @deprecated
1168911691
* @public
1169011692
*/
1169111693
ElasticGpuSpecifications?: ElasticGpuSpecification[] | undefined;
@@ -11698,6 +11700,8 @@ export interface RequestLaunchTemplateData {
1169811700
* accelerators are a resource you can attach to your Amazon EC2 instances to accelerate
1169911701
* your Deep Learning (DL) inference workloads.</p>
1170011702
* <p>You cannot specify accelerators from different generations in the same request.</p>
11703+
*
11704+
* @deprecated
1170111705
* @public
1170211706
*/
1170311707
ElasticInferenceAccelerators?: LaunchTemplateElasticInferenceAccelerator[] | undefined;

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2609,6 +2609,8 @@ export interface RunInstancesRequest {
26092609
* <note>
26102610
* <p>Amazon Elastic Graphics reached end of life on January 8, 2024.</p>
26112611
* </note>
2612+
*
2613+
* @deprecated
26122614
* @public
26132615
*/
26142616
ElasticGpuSpecification?: ElasticGpuSpecification[] | undefined;
@@ -2618,6 +2620,8 @@ export interface RunInstancesRequest {
26182620
* <note>
26192621
* <p>Amazon Elastic Inference is no longer available.</p>
26202622
* </note>
2623+
*
2624+
* @deprecated
26212625
* @public
26222626
*/
26232627
ElasticInferenceAccelerators?: ElasticInferenceAccelerator[] | undefined;

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

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98216,13 +98216,21 @@
9821698216
"ElasticGpuSpecifications": {
9821798217
"target": "com.amazonaws.ec2#ElasticGpuSpecificationList",
9821898218
"traits": {
98219+
"smithy.api#deprecated": {
98220+
"since": "2024-01-08",
98221+
"message": "Specifying Elastic Graphics accelerators is no longer supported on the RunInstances API."
98222+
},
9821998223
"smithy.api#documentation": "<p>Deprecated.</p>\n <note>\n <p>Amazon Elastic Graphics reached end of life on January 8, 2024.</p>\n </note>",
9822098224
"smithy.api#xmlName": "ElasticGpuSpecification"
9822198225
}
9822298226
},
9822398227
"ElasticInferenceAccelerators": {
9822498228
"target": "com.amazonaws.ec2#LaunchTemplateElasticInferenceAcceleratorList",
9822598229
"traits": {
98230+
"smithy.api#deprecated": {
98231+
"since": "2024-01-08",
98232+
"message": "Specifying Elastic Inference accelerators is no longer supported on the RunInstances API."
98233+
},
9822698234
"smithy.api#documentation": "<note>\n <p>Amazon Elastic Inference is no longer available.</p>\n </note>\n <p>An elastic inference accelerator to associate with the instance. Elastic inference\n accelerators are a resource you can attach to your Amazon EC2 instances to accelerate\n your Deep Learning (DL) inference workloads.</p>\n <p>You cannot specify accelerators from different generations in the same request.</p>",
9822798235
"smithy.api#xmlName": "ElasticInferenceAccelerator"
9822898236
}
@@ -103671,12 +103679,20 @@
103671103679
"ElasticGpuSpecification": {
103672103680
"target": "com.amazonaws.ec2#ElasticGpuSpecifications",
103673103681
"traits": {
103682+
"smithy.api#deprecated": {
103683+
"since": "2024-01-08",
103684+
"message": "Specifying Elastic Graphics accelerators is no longer supported on the RunInstances API."
103685+
},
103674103686
"smithy.api#documentation": "<p>An elastic GPU to associate with the instance.</p>\n <note>\n <p>Amazon Elastic Graphics reached end of life on January 8, 2024.</p>\n </note>"
103675103687
}
103676103688
},
103677103689
"ElasticInferenceAccelerators": {
103678103690
"target": "com.amazonaws.ec2#ElasticInferenceAccelerators",
103679103691
"traits": {
103692+
"smithy.api#deprecated": {
103693+
"since": "2024-01-08",
103694+
"message": "Specifying Elastic Inference accelerators is no longer supported on the RunInstances API."
103695+
},
103680103696
"smithy.api#documentation": "<p>An elastic inference accelerator to associate with the instance.</p>\n <note>\n <p>Amazon Elastic Inference is no longer available.</p>\n </note>",
103681103697
"smithy.api#xmlName": "ElasticInferenceAccelerator"
103682103698
}

0 commit comments

Comments
 (0)