GetManagedScalingPolicy
Fetches the attached managed scaling policy for an Amazon EMR cluster.
Request Syntax
{
"ClusterId": "string
"
}
Request Parameters
For information about the parameters that are common to all actions, see Common Parameters.
The request accepts the following data in JSON format.
- ClusterId
-
Specifies the ID of the cluster for which the managed scaling policy will be fetched.
Type: String
Required: Yes
Response Syntax
{
"ManagedScalingPolicy": {
"ComputeLimits": {
"MaximumCapacityUnits": number,
"MaximumCoreCapacityUnits": number,
"MaximumOnDemandCapacityUnits": number,
"MinimumCapacityUnits": number,
"UnitType": "string"
},
"ScalingStrategy": "string",
"UtilizationPerformanceIndex": number
}
}
Response Elements
If the action is successful, the service sends back an HTTP 200 response.
The following data is returned in JSON format by the service.
- ManagedScalingPolicy
-
Specifies the managed scaling policy that is attached to an Amazon EMR cluster.
Type: ManagedScalingPolicy object
Errors
For information about the errors that are common to all actions, see Common Errors.
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following: