AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
Container for the parameters to the GetRecommendationPreferences operation. Returns existing recommendation preferences, such as enhanced infrastructure metrics.
Use the scope
parameter to specify which preferences to return. You can specify
to return preferences for an organization, a specific account ID, or a specific EC2
instance or Auto Scaling group Amazon Resource Name (ARN).
For more information, see Activating enhanced infrastructure metrics in the Compute Optimizer User Guide.
Namespace: Amazon.ComputeOptimizer.Model
Assembly: AWSSDK.ComputeOptimizer.dll
Version: 3.x.y.z
public class GetRecommendationPreferencesRequest : AmazonComputeOptimizerRequest IAmazonWebServiceRequest
The GetRecommendationPreferencesRequest type exposes the following members
Name | Description | |
---|---|---|
GetRecommendationPreferencesRequest() |
Name | Type | Description | |
---|---|---|---|
MaxResults | System.Int32 |
Gets and sets the property 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 | System.String |
Gets and sets the property NextToken. The token to advance to the next page of recommendation preferences. |
|
ResourceType | Amazon.ComputeOptimizer.ResourceType |
Gets and sets the property ResourceType. The target resource type of the recommendation preference for which to return preferences.
The |
|
Scope | Amazon.ComputeOptimizer.Model.Scope |
Gets and sets the property 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. |
.NET:
Supported in: 8.0 and newer, Core 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5 and newer, 3.5