Amazon Compute Optimizer · JSON Structure

Compute Optimizer Delete Recommendation Preferences Request Structure

DeleteRecommendationPreferencesRequest schema

Type: object Properties: 3 Required: 2
Cost OptimizationFinOpsMachine LearningResource Recommendations

DeleteRecommendationPreferencesRequest is a JSON Structure definition published by Amazon Compute Optimizer, describing 3 properties, of which 2 are required. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

resourceType scope recommendationPreferenceNames

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/amazon-compute-optimizer/refs/heads/main/json-structure/compute-optimizer-delete-recommendation-preferences-request-structure.json",
  "name": "DeleteRecommendationPreferencesRequest",
  "description": "DeleteRecommendationPreferencesRequest schema",
  "type": "object",
  "properties": {
    "resourceType": {
      "allOf": [
        {
          "$ref": "#/components/schemas/ResourceType"
        },
        {
          "description": "<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>"
        }
      ]
    },
    "scope": {
      "allOf": [
        {
          "$ref": "#/components/schemas/Scope"
        },
        {
          "description": "<p>An object that describes the scope of the recommendation preference to delete.</p> <p>You can delete recommendation preferences that are created at the organization level (for management accounts of an organization only), account level, and resource level. For more information, see <a href=\"https://docs.aws.amazon.com/compute-optimizer/latest/ug/enhanced-infrastructure-metrics.html\">Activating enhanced infrastructure metrics</a> in the <i>Compute Optimizer User Guide</i>.</p>"
        }
      ]
    },
    "recommendationPreferenceNames": {
      "allOf": [
        {
          "$ref": "#/components/schemas/RecommendationPreferenceNames"
        },
        {
          "description": "The name of the recommendation preference to delete."
        }
      ]
    }
  },
  "required": [
    "resourceType",
    "recommendationPreferenceNames"
  ]
}