@Generated(value="class io.swagger.codegen.languages.JavaClientCodegen", date="2017-02-24T15:10:39.441-05:00") public class EMRApi extends Object
| Modifier and Type | Method and Description |
|---|---|
EmrMasterSecurityGroup |
eMRAddGroupsToEmrClusterMaster(EmrMasterSecurityGroupAddRequest emrMasterSecurityGroupAddRequest)
addGroupsToEmrClusterMaster
Adds security groups to the master node of an existing cluster <p>Requires WRITE permission on namespace</p>
|
EmrHadoopJarStep |
eMRAddHadoopJarStepToEmrCluster(EmrHadoopJarStepAddRequest emrHadoopJarStepAddRequest)
addHadoopJarStepToEmrCluster
Adds a Hadoop Jar step to the existing cluster <p>Requires EXECUTE permission on namespace</p>
|
EmrHiveStep |
eMRAddHiveStepToEmrCluster(EmrHiveStepAddRequest emrHiveStepAddRequest)
addHiveStepToEmrCluster
Adds a hive step to the existing cluster <p>Requires EXECUTE permission on namespace</p>
|
EmrOozieStep |
eMRAddOozieStepToEmrCluster(EmrOozieStepAddRequest emrOozieStepAddRequest)
addOozieStepToEmrCluster
Adds a oozie step to the existing cluster <p>Requires EXECUTE permission on namespace</p>
|
EmrPigStep |
eMRAddPigStepToEmrCluster(EmrPigStepAddRequest emrPigStepAddRequest)
addPigStepToEmrCluster
Adds a Pig step to the existing cluster <p>Requires EXECUTE permission on namespace</p>
|
EmrShellStep |
eMRAddShellStepToEmrCluster(EmrShellStepAddRequest emrShellStepAddRequest)
addShellStepToEmrCluster
Adds a shell step to the existing cluster <p>Requires EXECUTE permission on namespace</p>
|
EmrCluster |
eMRCreateEmrCluster(EmrClusterCreateRequest emrClusterCreateRequest)
createEmrCluster
Creates a new EMR cluster.
|
EmrCluster |
eMRGetEmrCluster(String namespace,
String emrClusterDefinitionName,
String emrClusterName,
String emrClusterId,
String emrStepId,
Boolean verbose,
Boolean retrieveOozieJobs,
String accountId)
getEmrCluster
Gets an existing EMR cluster details.
|
OozieWorkflowJob |
eMRGetEmrOozieWorkflow(String namespace,
String emrClusterDefinitionName,
String emrClusterName,
String oozieWorkflowJobId,
Boolean verbose,
String emrClusterId,
String accountId)
getEmrOozieWorkflow
Retrieves an existing Oozie workflow job for the specified EMR cluster and workflow job ID.
|
OozieWorkflowJob |
eMRRunOozieJobToEmrCluster(RunOozieWorkflowRequest runOozieWorkflowRequest)
runOozieJobToEmrCluster
Submits an oozie workflow to the existing cluster.
|
EmrCluster |
eMRTerminateEmrCluster(String namespace,
String emrClusterDefinitionName,
String emrClusterName,
Boolean overrideTerminationProtection,
String emrClusterId,
String accountId)
terminateEmrCluster
Terminates an existing EMR cluster.
|
ApiClient |
getApiClient() |
void |
setApiClient(ApiClient apiClient) |
public EMRApi()
public EMRApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public EmrCluster eMRCreateEmrCluster(EmrClusterCreateRequest emrClusterCreateRequest) throws ApiException
emrClusterCreateRequest - the information needed to create the EMR cluster.ApiExceptionpublic EmrCluster eMRGetEmrCluster(String namespace, String emrClusterDefinitionName, String emrClusterName, String emrClusterId, String emrStepId, Boolean verbose, Boolean retrieveOozieJobs, String accountId) throws ApiException
namespace - the namespaceemrClusterDefinitionName - the EMR cluster definition nameemrClusterName - the EMR cluster nameemrClusterId - the cluster id of the cluster to get detailsemrStepId - the step id of the step to get detailsverbose - parameter for whether to return detailed informationretrieveOozieJobs - parameter for whether to retrieve oozie job informationaccountId - the account IdApiExceptionpublic EmrCluster eMRTerminateEmrCluster(String namespace, String emrClusterDefinitionName, String emrClusterName, Boolean overrideTerminationProtection, String emrClusterId, String accountId) throws ApiException
namespace - the namespaceemrClusterDefinitionName - the EMR cluster definition nameemrClusterName - the EMR cluster nameoverrideTerminationProtection - parameter for whether to override termination protectionemrClusterId - EMR cluster IDaccountId - account IdApiExceptionpublic EmrHadoopJarStep eMRAddHadoopJarStepToEmrCluster(EmrHadoopJarStepAddRequest emrHadoopJarStepAddRequest) throws ApiException
emrHadoopJarStepAddRequest - the information needed to add Hadoop Jar step to the EMR cluster.ApiExceptionpublic EmrHiveStep eMRAddHiveStepToEmrCluster(EmrHiveStepAddRequest emrHiveStepAddRequest) throws ApiException
emrHiveStepAddRequest - the information needed to add hive step to the EMR cluster.ApiExceptionpublic EmrMasterSecurityGroup eMRAddGroupsToEmrClusterMaster(EmrMasterSecurityGroupAddRequest emrMasterSecurityGroupAddRequest) throws ApiException
emrMasterSecurityGroupAddRequest - the information needed to add security groups to master node of the EMR cluster.ApiExceptionpublic EmrOozieStep eMRAddOozieStepToEmrCluster(EmrOozieStepAddRequest emrOozieStepAddRequest) throws ApiException
emrOozieStepAddRequest - the information needed to add oozie step to the EMR cluster.ApiExceptionpublic OozieWorkflowJob eMRRunOozieJobToEmrCluster(RunOozieWorkflowRequest runOozieWorkflowRequest) throws ApiException
runOozieWorkflowRequest - the information needed to run oozie workflow to the EMR cluster.ApiExceptionpublic OozieWorkflowJob eMRGetEmrOozieWorkflow(String namespace, String emrClusterDefinitionName, String emrClusterName, String oozieWorkflowJobId, Boolean verbose, String emrClusterId, String accountId) throws ApiException
namespace - Namespace of the EMR clusteremrClusterDefinitionName - EMR cluster definition nameemrClusterName - EMR cluster nameoozieWorkflowJobId - Oozie workflow job IDverbose - true to return more detailed information, false or null otherwiseemrClusterId - The EMR cluster IDaccountId - the account IdApiExceptionpublic EmrPigStep eMRAddPigStepToEmrCluster(EmrPigStepAddRequest emrPigStepAddRequest) throws ApiException
emrPigStepAddRequest - the information needed to add Pig step to the EMR cluster.ApiExceptionpublic EmrShellStep eMRAddShellStepToEmrCluster(EmrShellStepAddRequest emrShellStepAddRequest) throws ApiException
emrShellStepAddRequest - the information needed to add shell step to the EMR cluster.ApiExceptionCopyright © 2017. All rights reserved.