Learn R Programming

paws.compute (version 0.7.0)

computeoptimizer_delete_recommendation_preferences: Deletes a recommendation preference, such as enhanced infrastructure metrics

Description

Deletes a recommendation preference, such as enhanced infrastructure metrics.

See https://www.paws-r-sdk.com/docs/computeoptimizer_delete_recommendation_preferences/ for full documentation.

Usage

computeoptimizer_delete_recommendation_preferences(
  resourceType,
  scope = NULL,
  recommendationPreferenceNames
)

Arguments

resourceType

[required] The target resource type of the recommendation preference to delete.

The Ec2Instance option encompasses standalone instances and instances that are part of Auto Scaling groups. The AutoScalingGroup option encompasses only instances that are part of an Auto Scaling group.

scope

An object that describes the scope of the recommendation preference to delete.

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 Activating enhanced infrastructure metrics in the Compute Optimizer User Guide.

recommendationPreferenceNames

[required] The name of the recommendation preference to delete.