We are excited to announce our new API Documentation.
Protected
Fetches the attached managed scaling policy for an Amazon EMR cluster.
Use a bare-bones client and the command you need to make an API call.
import { EMRClient, GetManagedScalingPolicyCommand } from "@aws-sdk/client-emr"; // ES Modules import// const { EMRClient, GetManagedScalingPolicyCommand } = require("@aws-sdk/client-emr"); // CommonJS importconst client = new EMRClient(config);const input = { // GetManagedScalingPolicyInput ClusterId: "STRING_VALUE", // required};const command = new GetManagedScalingPolicyCommand(input);const response = await client.send(command);// { // GetManagedScalingPolicyOutput// ManagedScalingPolicy: { // ManagedScalingPolicy// ComputeLimits: { // ComputeLimits// UnitType: "InstanceFleetUnits" || "Instances" || "VCPU", // required// MinimumCapacityUnits: Number("int"), // required// MaximumCapacityUnits: Number("int"), // required// MaximumOnDemandCapacityUnits: Number("int"),// MaximumCoreCapacityUnits: Number("int"),// },// },// };
GetManagedScalingPolicyCommandInput
GetManagedScalingPolicyCommandOutput
input
response
config
EMRServiceException
Base exception class for all service exceptions from EMR service.
Readonly
Static
Fetches the attached managed scaling policy for an Amazon EMR cluster.
Example
Use a bare-bones client and the command you need to make an API call.
Param
GetManagedScalingPolicyCommandInput
Returns
GetManagedScalingPolicyCommandOutput
See
input
shape.response
shape.config
shape.Throws
EMRServiceException
Base exception class for all service exceptions from EMR service.