Skip to content

Commit c4d11d7

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

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
@@ -233,6 +233,7 @@ internal bool IsSetEbsOptimized()
233233
/// to distinguish between a property not set or a property being empty to clear out a value. To retain the previous
234234
/// SDK behavior set the AWSConfigs.InitializeCollections static property to true.
235235
/// </summary>
236+
[Obsolete("Specifying Elastic Graphics accelerators is no longer supported on the RunInstances API.")]
236237
public List<ElasticGpuSpecification> ElasticGpuSpecifications
237238
{
238239
get { return this._elasticGpuSpecifications; }
@@ -266,6 +267,7 @@ internal bool IsSetElasticGpuSpecifications()
266267
/// to distinguish between a property not set or a property being empty to clear out a value. To retain the previous
267268
/// SDK behavior set the AWSConfigs.InitializeCollections static property to true.
268269
/// </summary>
270+
[Obsolete("Specifying Elastic Inference accelerators is no longer supported on the RunInstances API.")]
269271
public List<LaunchTemplateElasticInferenceAccelerator> ElasticInferenceAccelerators
270272
{
271273
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
@@ -413,6 +413,7 @@ internal bool IsSetEbsOptimized()
413413
/// to distinguish between a property not set or a property being empty to clear out a value. To retain the previous
414414
/// SDK behavior set the AWSConfigs.InitializeCollections static property to true.
415415
/// </summary>
416+
[Obsolete("Specifying Elastic Graphics accelerators is no longer supported on the RunInstances API.")]
416417
public List<ElasticGpuSpecification> ElasticGpuSpecification
417418
{
418419
get { return this._elasticGpuSpecification; }
@@ -441,6 +442,7 @@ internal bool IsSetElasticGpuSpecification()
441442
/// to distinguish between a property not set or a property being empty to clear out a value. To retain the previous
442443
/// SDK behavior set the AWSConfigs.InitializeCollections static property to true.
443444
/// </summary>
445+
[Obsolete("Specifying Elastic Inference accelerators is no longer supported on the RunInstances API.")]
444446
public List<ElasticInferenceAccelerator> ElasticInferenceAccelerators
445447
{
446448
get { return this._elasticInferenceAccelerators; }

0 commit comments

Comments
 (0)