/AWS1/CL_EMR=>PUTMANAGEDSCALINGPOLICY()
¶
About PutManagedScalingPolicy¶
Creates or updates a managed scaling policy for an Amazon EMR cluster. The managed scaling policy defines the limits for resources, such as Amazon EC2 instances that can be added or terminated from a cluster. The policy only applies to the core and task nodes. The master node cannot be scaled after initial configuration.
Method Signature¶
IMPORTING¶
Required arguments:¶
iv_clusterid
TYPE /AWS1/EMRCLUSTERID
/AWS1/EMRCLUSTERID
¶
Specifies the ID of an Amazon EMR cluster where the managed scaling policy is attached.
io_managedscalingpolicy
TYPE REF TO /AWS1/CL_EMRMANAGEDSCAPOLICY
/AWS1/CL_EMRMANAGEDSCAPOLICY
¶
Specifies the constraints for the managed scaling policy.
RETURNING¶
oo_output
TYPE REF TO /aws1/cl_emrputmanagedscaply01
/AWS1/CL_EMRPUTMANAGEDSCAPLY01
¶
Domain /AWS1/RT_ACCOUNT_ID Primitive Type NUMC
Examples¶
Syntax Example¶
This is an example of the syntax for calling the method. It includes every possible argument and initializes every possible value. The data provided is not necessarily semantically accurate (for example the value "string" may be provided for something that is intended to be an instance ID, or in some cases two arguments may be mutually exclusive). The syntax shows the ABAP syntax for creating the various data structures.
DATA(lo_result) = lo_client->/aws1/if_emr~putmanagedscalingpolicy(
io_managedscalingpolicy = new /aws1/cl_emrmanagedscapolicy(
io_computelimits = new /aws1/cl_emrcomputelimits(
iv_maximumcapacityunits = 123
iv_maximumcorecapacityunits = 123
iv_maximumondemandcapunits = 123
iv_minimumcapacityunits = 123
iv_unittype = |string|
)
iv_scalingstrategy = |string|
iv_utilizationperformanceidx = 123
)
iv_clusterid = |string|
).
This is an example of reading all possible response values