public interface EmrService
| Modifier and Type | Method and Description |
|---|---|
EmrMasterSecurityGroup |
addSecurityGroupsToClusterMaster(EmrMasterSecurityGroupAddRequest request)
Adds security groups to the master node of an existing EMR Cluster.
|
Object |
addStepToCluster(Object request)
Adds step to an existing EMR Cluster.
|
EmrCluster |
createCluster(EmrClusterCreateRequest request)
Creates a new EMR Cluster.
|
EmrCluster |
getCluster(EmrClusterAlternateKeyDto emrClusterAlternateKeyDto,
String emrClusterId,
String emrStepId,
boolean verbose,
String accountId,
Boolean retrieveInstanceFleets)
Gets details of an existing EMR Cluster.
|
EmrCluster |
terminateCluster(EmrClusterAlternateKeyDto emrClusterAlternateKeyDto,
boolean overrideTerminationProtection,
String emrClusterId,
String accountId)
Terminates the EMR Cluster.
|
EmrMasterSecurityGroup addSecurityGroupsToClusterMaster(EmrMasterSecurityGroupAddRequest request) throws Exception
request - the EMR master security group add requestException - if there were any errors adding the security groups to the cluster masterObject addStepToCluster(Object request) throws Exception
request - the EMR steps add requestException - if there were any errors while adding a step to the cluster.EmrCluster createCluster(EmrClusterCreateRequest request) throws Exception
request - the EMR cluster create requestException - if there were any errors while creating the clusterEmrCluster getCluster(EmrClusterAlternateKeyDto emrClusterAlternateKeyDto, String emrClusterId, String emrStepId, boolean verbose, String accountId, Boolean retrieveInstanceFleets) throws Exception
emrClusterAlternateKeyDto - the EMR cluster alternate keyemrClusterId - the id of the cluster to get detailsemrStepId - the step id of the step to get detailsverbose - parameter for whether to return detailed informationaccountId - the optional AWS account that EMR cluster is running inretrieveInstanceFleets - parameter for whether to retrieve instance fleetsException - if there were any errorsEmrCluster terminateCluster(EmrClusterAlternateKeyDto emrClusterAlternateKeyDto, boolean overrideTerminationProtection, String emrClusterId, String accountId) throws Exception
emrClusterAlternateKeyDto - the EMR cluster alternate keyoverrideTerminationProtection - parameter for whether to override termination protectionemrClusterId - the id of the clusteraccountId - the optional AWS account that EMR cluster is running inException - if there were any errors while terminating the clusterCopyright © 2019. All rights reserved.