v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1421274230.6 KB

Deletes a recommendation preference, such as enhanced infrastructure metrics.

For more information, see Activating enhanced infrastructure metrics in the Compute Optimizer User Guide.

post/#X-Amz-Target=ComputeOptimizerService.DeleteRecommendationPreferences

Headers

X-Amz-Target'ComputeOptimizerService.DeleteRecommendationPreferences' required

Request body

resourceType'Ec2Instance' | 'AutoScalingGroup' | 'EbsVolume' | 'LambdaFunction' | 'NotApplicable' | 'EcsService' required
<p>The target resource type of the recommendation preference to delete.</p> <p>The <code>Ec2Instance</code> option encompasses standalone instances and instances that are part of Auto Scaling groups. The <code>AutoScalingGroup</code> option encompasses only instances that are part of an Auto Scaling group.</p> <note> <p>The valid values for this parameter are <code>Ec2Instance</code> and <code>AutoScalingGroup</code>.</p> </note>
recommendationPreferenceNamesRecommendationPreferenceName[] required

The name of the recommendation preference to delete.

Response

Success

DeleteRecommendationPreferencesResponse required
All 21 operations