/AWS1/CL_EMR=>TERMINATEJOBFLOWS()
¶
About TerminateJobFlows¶
TerminateJobFlows shuts a list of clusters (job flows) down. When a job flow is shut down, any step not yet completed is canceled and the Amazon EC2 instances on which the cluster is running are stopped. Any log files not already saved are uploaded to Amazon S3 if a LogUri was specified when the cluster was created.
The maximum number of clusters allowed is 10. The call to TerminateJobFlows
is asynchronous. Depending on the configuration of the cluster, it may take up to 1-5
minutes for the cluster to completely terminate and release allocated resources, such as
Amazon EC2 instances.
Method Signature¶
IMPORTING¶
Required arguments:¶
it_jobflowids
TYPE /AWS1/CL_EMRXMLSTRINGLIST_W=>TT_XMLSTRINGLIST
TT_XMLSTRINGLIST
¶
A list of job flows to be shut down.
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~terminatejobflows(
it_jobflowids = VALUE /aws1/cl_emrxmlstringlist_w=>tt_xmlstringlist(
( new /aws1/cl_emrxmlstringlist_w( |string| ) )
)
).