computeoptimizer_delete_recommendation_preferences: Deletes a recommendation preference, such as enhanced...

View source: R/computeoptimizer_operations.R

computeoptimizer_delete_recommendation_preferencesR Documentation

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.

The valid values for this parameter are Ec2Instance and AutoScalingGroup.

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.


paws.compute documentation built on Sept. 12, 2023, 1:28 a.m.