com.amazonaws.services.elasticmapreduce
Interface AmazonElasticMapReduceAsync
- All Superinterfaces:
- AmazonElasticMapReduce
- All Known Implementing Classes:
- AmazonElasticMapReduceAsyncClient
public interface AmazonElasticMapReduceAsync
- extends AmazonElasticMapReduce
Interface for accessing AmazonElasticMapReduce asynchronously,
using Java Futures.
addJobFlowStepsAsync
Future<Void> addJobFlowStepsAsync(AddJobFlowStepsRequest addJobFlowStepsRequest)
throws AmazonServiceException,
AmazonClientException
- Parameters:
addJobFlowStepsRequest
- Container for the necessary parameters
to execute the AddJobFlowSteps operation on AmazonElasticMapReduce.
- Returns:
- A Java Future object containing the response from the
AddJobFlowSteps service method, as returned by AmazonElasticMapReduce.
- Throws:
AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.
AmazonServiceException
- If an error response is returned by AmazonElasticMapReduce indicating
either a problem with the data in the request, or a server side issue.
terminateJobFlowsAsync
Future<Void> terminateJobFlowsAsync(TerminateJobFlowsRequest terminateJobFlowsRequest)
throws AmazonServiceException,
AmazonClientException
- Parameters:
terminateJobFlowsRequest
- Container for the necessary parameters
to execute the TerminateJobFlows operation on AmazonElasticMapReduce.
- Returns:
- A Java Future object containing the response from the
TerminateJobFlows service method, as returned by
AmazonElasticMapReduce.
- Throws:
AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.
AmazonServiceException
- If an error response is returned by AmazonElasticMapReduce indicating
either a problem with the data in the request, or a server side issue.
describeJobFlowsAsync
Future<DescribeJobFlowsResult> describeJobFlowsAsync(DescribeJobFlowsRequest describeJobFlowsRequest)
throws AmazonServiceException,
AmazonClientException
- Parameters:
describeJobFlowsRequest
- Container for the necessary parameters
to execute the DescribeJobFlows operation on AmazonElasticMapReduce.
- Returns:
- A Java Future object containing the response from the
DescribeJobFlows service method, as returned by
AmazonElasticMapReduce.
- Throws:
AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.
AmazonServiceException
- If an error response is returned by AmazonElasticMapReduce indicating
either a problem with the data in the request, or a server side issue.
runJobFlowAsync
Future<RunJobFlowResult> runJobFlowAsync(RunJobFlowRequest runJobFlowRequest)
throws AmazonServiceException,
AmazonClientException
- Parameters:
runJobFlowRequest
- Container for the necessary parameters to
execute the RunJobFlow operation on AmazonElasticMapReduce.
- Returns:
- A Java Future object containing the response from the
RunJobFlow service method, as returned by AmazonElasticMapReduce.
- Throws:
AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.
AmazonServiceException
- If an error response is returned by AmazonElasticMapReduce indicating
either a problem with the data in the request, or a server side issue.
Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.