/AWS1/CL_EMR=>SETKEEPJOBFLOWALIVEWHENNOS00()
¶
About SetKeepJobFlowAliveWhenNoSteps¶
You can use the SetKeepJobFlowAliveWhenNoSteps
to configure a cluster (job flow) to terminate after the step execution, i.e., all your
steps are executed. If you want a transient cluster that shuts down after the last of the current executing steps are completed,
you can configure SetKeepJobFlowAliveWhenNoSteps
to false. If you want a long running cluster, configure SetKeepJobFlowAliveWhenNoSteps
to true.
For more information, see Managing Cluster Termination in the Amazon EMR Management Guide.
Method Signature¶
IMPORTING¶
Required arguments:¶
it_jobflowids
TYPE /AWS1/CL_EMRXMLSTRINGLIST_W=>TT_XMLSTRINGLIST
TT_XMLSTRINGLIST
¶
A list of strings that uniquely identify the clusters to protect. This identifier is returned by RunJobFlow and can also be obtained from DescribeJobFlows.
iv_keepjobflowalivewhennos00
TYPE /AWS1/EMRBOOLEAN
/AWS1/EMRBOOLEAN
¶
A Boolean that indicates whether to terminate the cluster after all steps are executed.
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~setkeepjobflowalivewhennos00(
it_jobflowids = VALUE /aws1/cl_emrxmlstringlist_w=>tt_xmlstringlist(
( new /aws1/cl_emrxmlstringlist_w( |string| ) )
)
iv_keepjobflowalivewhennos00 = ABAP_TRUE
).