Skip to content

Commit a96715d

Browse files
Mark Elastic Inference Accelerators and Elastic Graphics Processor parameters as deprecated on the RunInstances and LaunchTemplate APIs.
1 parent dd89acf commit a96715d

File tree

4 files changed

+32
-2
lines changed

4 files changed

+32
-2
lines changed

generator/ServiceModels/ec2/ec2-2016-11-15.api.json

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42711,10 +42711,16 @@
4271142711
},
4271242712
"ElasticGpuSpecifications":{
4271342713
"shape":"ElasticGpuSpecificationList",
42714+
"deprecated":true,
42715+
"deprecatedMessage":"Specifying Elastic Graphics accelerators is no longer supported on the RunInstances API.",
42716+
"deprecatedSince":"2024-01-08",
4271442717
"locationName":"ElasticGpuSpecification"
4271542718
},
4271642719
"ElasticInferenceAccelerators":{
4271742720
"shape":"LaunchTemplateElasticInferenceAcceleratorList",
42721+
"deprecated":true,
42722+
"deprecatedMessage":"Specifying Elastic Inference accelerators is no longer supported on the RunInstances API.",
42723+
"deprecatedSince":"2024-01-08",
4271842724
"locationName":"ElasticInferenceAccelerator"
4271942725
},
4272042726
"SecurityGroupIds":{
@@ -44957,9 +44963,17 @@
4495744963
},
4495844964
"SubnetId":{"shape":"SubnetId"},
4495944965
"UserData":{"shape":"RunInstancesUserData"},
44960-
"ElasticGpuSpecification":{"shape":"ElasticGpuSpecifications"},
44966+
"ElasticGpuSpecification":{
44967+
"shape":"ElasticGpuSpecifications",
44968+
"deprecated":true,
44969+
"deprecatedMessage":"Specifying Elastic Graphics accelerators is no longer supported on the RunInstances API.",
44970+
"deprecatedSince":"2024-01-08"
44971+
},
4496144972
"ElasticInferenceAccelerators":{
4496244973
"shape":"ElasticInferenceAccelerators",
44974+
"deprecated":true,
44975+
"deprecatedMessage":"Specifying Elastic Inference accelerators is no longer supported on the RunInstances API.",
44976+
"deprecatedSince":"2024-01-08",
4496344977
"locationName":"ElasticInferenceAccelerator"
4496444978
},
4496544979
"TagSpecifications":{

generator/ServiceModels/ec2/ec2-2016-11-15.normal.json

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55698,11 +55698,17 @@
5569855698
"ElasticGpuSpecifications":{
5569955699
"shape":"ElasticGpuSpecificationList",
5570055700
"documentation":"<p>Deprecated.</p> <note> <p>Amazon Elastic Graphics reached end of life on January 8, 2024.</p> </note>",
55701+
"deprecated":true,
55702+
"deprecatedMessage":"Specifying Elastic Graphics accelerators is no longer supported on the RunInstances API.",
55703+
"deprecatedSince":"2024-01-08",
5570155704
"locationName":"ElasticGpuSpecification"
5570255705
},
5570355706
"ElasticInferenceAccelerators":{
5570455707
"shape":"LaunchTemplateElasticInferenceAcceleratorList",
5570555708
"documentation":"<note> <p>Amazon Elastic Inference is no longer available.</p> </note> <p>An elastic inference accelerator to associate with the instance. Elastic inference accelerators are a resource you can attach to your Amazon EC2 instances to accelerate your Deep Learning (DL) inference workloads.</p> <p>You cannot specify accelerators from different generations in the same request.</p>",
55709+
"deprecated":true,
55710+
"deprecatedMessage":"Specifying Elastic Inference accelerators is no longer supported on the RunInstances API.",
55711+
"deprecatedSince":"2024-01-08",
5570655712
"locationName":"ElasticInferenceAccelerator"
5570755713
},
5570855714
"SecurityGroupIds":{
@@ -58516,11 +58522,17 @@
5851658522
},
5851758523
"ElasticGpuSpecification":{
5851858524
"shape":"ElasticGpuSpecifications",
58519-
"documentation":"<p>An elastic GPU to associate with the instance.</p> <note> <p>Amazon Elastic Graphics reached end of life on January 8, 2024.</p> </note>"
58525+
"documentation":"<p>An elastic GPU to associate with the instance.</p> <note> <p>Amazon Elastic Graphics reached end of life on January 8, 2024.</p> </note>",
58526+
"deprecated":true,
58527+
"deprecatedMessage":"Specifying Elastic Graphics accelerators is no longer supported on the RunInstances API.",
58528+
"deprecatedSince":"2024-01-08"
5852058529
},
5852158530
"ElasticInferenceAccelerators":{
5852258531
"shape":"ElasticInferenceAccelerators",
5852358532
"documentation":"<p>An elastic inference accelerator to associate with the instance.</p> <note> <p>Amazon Elastic Inference is no longer available.</p> </note>",
58533+
"deprecated":true,
58534+
"deprecatedMessage":"Specifying Elastic Inference accelerators is no longer supported on the RunInstances API.",
58535+
"deprecatedSince":"2024-01-08",
5852458536
"locationName":"ElasticInferenceAccelerator"
5852558537
},
5852658538
"TagSpecifications":{

sdk/src/Services/EC2/Generated/Model/RequestLaunchTemplateData.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -223,6 +223,7 @@ internal bool IsSetEbsOptimized()
223223
/// </para>
224224
/// </note>
225225
/// </summary>
226+
[Obsolete("Specifying Elastic Graphics accelerators is no longer supported on the RunInstances API.")]
226227
public List<ElasticGpuSpecification> ElasticGpuSpecifications
227228
{
228229
get { return this._elasticGpuSpecifications; }
@@ -251,6 +252,7 @@ internal bool IsSetElasticGpuSpecifications()
251252
/// You cannot specify accelerators from different generations in the same request.
252253
/// </para>
253254
/// </summary>
255+
[Obsolete("Specifying Elastic Inference accelerators is no longer supported on the RunInstances API.")]
254256
public List<LaunchTemplateElasticInferenceAccelerator> ElasticInferenceAccelerators
255257
{
256258
get { return this._elasticInferenceAccelerators; }

sdk/src/Services/EC2/Generated/Model/RunInstancesRequest.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -382,6 +382,7 @@ internal bool IsSetEbsOptimized()
382382
/// </para>
383383
/// </note>
384384
/// </summary>
385+
[Obsolete("Specifying Elastic Graphics accelerators is no longer supported on the RunInstances API.")]
385386
public List<ElasticGpuSpecification> ElasticGpuSpecification
386387
{
387388
get { return this._elasticGpuSpecification; }
@@ -405,6 +406,7 @@ internal bool IsSetElasticGpuSpecification()
405406
/// </para>
406407
/// </note>
407408
/// </summary>
409+
[Obsolete("Specifying Elastic Inference accelerators is no longer supported on the RunInstances API.")]
408410
public List<ElasticInferenceAccelerator> ElasticInferenceAccelerators
409411
{
410412
get { return this._elasticInferenceAccelerators; }

0 commit comments

Comments
 (0)