computeoptimizer_get_recommendation_preferences: Returns existing recommendation preferences, such as enhanced...

View source: R/computeoptimizer_operations.R

computeoptimizer_get_recommendation_preferencesR Documentation

Returns existing recommendation preferences, such as enhanced infrastructure metrics

Description

Returns existing recommendation preferences, such as enhanced infrastructure metrics.

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

Usage

computeoptimizer_get_recommendation_preferences(
  resourceType,
  scope = NULL,
  nextToken = NULL,
  maxResults = NULL
)

Arguments

resourceType

[required] The target resource type of the recommendation preference for which to return preferences.

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 return.

You can return 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.

nextToken

The token to advance to the next page of recommendation preferences.

maxResults

The maximum number of recommendation preferences to return with a single request.

To retrieve the remaining results, make another request with the returned nextToken value.


paws.compute documentation built on Sept. 12, 2024, 6:12 a.m.