/AWS1/CL_EMR=>MODIFYINSTANCEGROUPS()
¶
About ModifyInstanceGroups¶
ModifyInstanceGroups modifies the number of nodes and configuration settings of an instance group. The input parameters include the new target instance count for the group and the instance group ID. The call will either succeed or fail atomically.
Method Signature¶
IMPORTING¶
Optional arguments:¶
iv_clusterid
TYPE /AWS1/EMRCLUSTERID
/AWS1/EMRCLUSTERID
¶
The ID of the cluster to which the instance group belongs.
it_instancegroups
TYPE /AWS1/CL_EMRINSTGROUPMODIFYCFG=>TT_INSTGROUPMODIFYCONFIGLIST
TT_INSTGROUPMODIFYCONFIGLIST
¶
Instance groups to change.
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.
lo_client->/aws1/if_emr~modifyinstancegroups(
it_instancegroups = VALUE /aws1/cl_emrinstgroupmodifycfg=>tt_instgroupmodifyconfiglist(
(
new /aws1/cl_emrinstgroupmodifycfg(
io_shrinkpolicy = new /aws1/cl_emrshrinkpolicy(
io_instanceresizepolicy = new /aws1/cl_emrinstresizepolicy(
it_instancestoprotect = VALUE /aws1/cl_emrec2instidslist_w=>tt_ec2instanceidslist(
( new /aws1/cl_emrec2instidslist_w( |string| ) )
)
it_instancestoterminate = VALUE /aws1/cl_emrec2instidslist_w=>tt_ec2instanceidslist(
( new /aws1/cl_emrec2instidslist_w( |string| ) )
)
iv_instterminationtimeout = 123
)
iv_decommissiontimeout = 123
)
it_configurations = VALUE /aws1/cl_emrconfiguration=>tt_configurationlist(
(
new /aws1/cl_emrconfiguration(
it_configurations = VALUE /aws1/cl_emrconfiguration=>tt_configurationlist(
)
it_properties = VALUE /aws1/cl_emrstringmap_w=>tt_stringmap(
(
VALUE /aws1/cl_emrstringmap_w=>ts_stringmap_maprow(
value = new /aws1/cl_emrstringmap_w( |string| )
key = |string|
)
)
)
iv_classification = |string|
)
)
)
it_ec2instanceidstoterminate = VALUE /aws1/cl_emrec2instidstoterm00=>tt_ec2instidstoterminatelist(
( new /aws1/cl_emrec2instidstoterm00( |string| ) )
)
iv_instancecount = 123
iv_instancegroupid = |string|
iv_reconfigurationtype = |string|
)
)
)
iv_clusterid = |string|
).