@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AbstractAWSEMRServerlessAsync extends AbstractAWSEMRServerless implements AWSEMRServerlessAsync
AWSEMRServerlessAsync
. Convenient method forms pass through to the corresponding
overload that takes a request object and an AsyncHandler
, which throws an
UnsupportedOperationException
.ENDPOINT_PREFIX
cancelJobRun, createApplication, deleteApplication, getApplication, getCachedResponseMetadata, getDashboardForJobRun, getJobRun, listApplications, listJobRuns, listTagsForResource, shutdown, startApplication, startJobRun, stopApplication, tagResource, untagResource, updateApplication
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
cancelJobRun, createApplication, deleteApplication, getApplication, getCachedResponseMetadata, getDashboardForJobRun, getJobRun, listApplications, listJobRuns, listTagsForResource, shutdown, startApplication, startJobRun, stopApplication, tagResource, untagResource, updateApplication
public Future<CancelJobRunResult> cancelJobRunAsync(CancelJobRunRequest request)
AWSEMRServerlessAsync
Cancels a job run.
cancelJobRunAsync
in interface AWSEMRServerlessAsync
public Future<CancelJobRunResult> cancelJobRunAsync(CancelJobRunRequest request, AsyncHandler<CancelJobRunRequest,CancelJobRunResult> asyncHandler)
AWSEMRServerlessAsync
Cancels a job run.
cancelJobRunAsync
in interface AWSEMRServerlessAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<CreateApplicationResult> createApplicationAsync(CreateApplicationRequest request)
AWSEMRServerlessAsync
Creates an application.
createApplicationAsync
in interface AWSEMRServerlessAsync
public Future<CreateApplicationResult> createApplicationAsync(CreateApplicationRequest request, AsyncHandler<CreateApplicationRequest,CreateApplicationResult> asyncHandler)
AWSEMRServerlessAsync
Creates an application.
createApplicationAsync
in interface AWSEMRServerlessAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DeleteApplicationResult> deleteApplicationAsync(DeleteApplicationRequest request)
AWSEMRServerlessAsync
Deletes an application. An application has to be in a stopped or created state in order to be deleted.
deleteApplicationAsync
in interface AWSEMRServerlessAsync
public Future<DeleteApplicationResult> deleteApplicationAsync(DeleteApplicationRequest request, AsyncHandler<DeleteApplicationRequest,DeleteApplicationResult> asyncHandler)
AWSEMRServerlessAsync
Deletes an application. An application has to be in a stopped or created state in order to be deleted.
deleteApplicationAsync
in interface AWSEMRServerlessAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<GetApplicationResult> getApplicationAsync(GetApplicationRequest request)
AWSEMRServerlessAsync
Displays detailed information about a specified application.
getApplicationAsync
in interface AWSEMRServerlessAsync
public Future<GetApplicationResult> getApplicationAsync(GetApplicationRequest request, AsyncHandler<GetApplicationRequest,GetApplicationResult> asyncHandler)
AWSEMRServerlessAsync
Displays detailed information about a specified application.
getApplicationAsync
in interface AWSEMRServerlessAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<GetDashboardForJobRunResult> getDashboardForJobRunAsync(GetDashboardForJobRunRequest request)
AWSEMRServerlessAsync
Returns a URL to access the job run dashboard.
getDashboardForJobRunAsync
in interface AWSEMRServerlessAsync
public Future<GetDashboardForJobRunResult> getDashboardForJobRunAsync(GetDashboardForJobRunRequest request, AsyncHandler<GetDashboardForJobRunRequest,GetDashboardForJobRunResult> asyncHandler)
AWSEMRServerlessAsync
Returns a URL to access the job run dashboard.
getDashboardForJobRunAsync
in interface AWSEMRServerlessAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<GetJobRunResult> getJobRunAsync(GetJobRunRequest request)
AWSEMRServerlessAsync
Displays detailed information about a job run.
getJobRunAsync
in interface AWSEMRServerlessAsync
public Future<GetJobRunResult> getJobRunAsync(GetJobRunRequest request, AsyncHandler<GetJobRunRequest,GetJobRunResult> asyncHandler)
AWSEMRServerlessAsync
Displays detailed information about a job run.
getJobRunAsync
in interface AWSEMRServerlessAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListApplicationsResult> listApplicationsAsync(ListApplicationsRequest request)
AWSEMRServerlessAsync
Lists applications based on a set of parameters.
listApplicationsAsync
in interface AWSEMRServerlessAsync
public Future<ListApplicationsResult> listApplicationsAsync(ListApplicationsRequest request, AsyncHandler<ListApplicationsRequest,ListApplicationsResult> asyncHandler)
AWSEMRServerlessAsync
Lists applications based on a set of parameters.
listApplicationsAsync
in interface AWSEMRServerlessAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListJobRunsResult> listJobRunsAsync(ListJobRunsRequest request)
AWSEMRServerlessAsync
Lists job runs based on a set of parameters.
listJobRunsAsync
in interface AWSEMRServerlessAsync
public Future<ListJobRunsResult> listJobRunsAsync(ListJobRunsRequest request, AsyncHandler<ListJobRunsRequest,ListJobRunsResult> asyncHandler)
AWSEMRServerlessAsync
Lists job runs based on a set of parameters.
listJobRunsAsync
in interface AWSEMRServerlessAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListTagsForResourceResult> listTagsForResourceAsync(ListTagsForResourceRequest request)
AWSEMRServerlessAsync
Lists the tags assigned to the resources.
listTagsForResourceAsync
in interface AWSEMRServerlessAsync
public Future<ListTagsForResourceResult> listTagsForResourceAsync(ListTagsForResourceRequest request, AsyncHandler<ListTagsForResourceRequest,ListTagsForResourceResult> asyncHandler)
AWSEMRServerlessAsync
Lists the tags assigned to the resources.
listTagsForResourceAsync
in interface AWSEMRServerlessAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<StartApplicationResult> startApplicationAsync(StartApplicationRequest request)
AWSEMRServerlessAsync
Starts a specified application and initializes initial capacity if configured.
startApplicationAsync
in interface AWSEMRServerlessAsync
public Future<StartApplicationResult> startApplicationAsync(StartApplicationRequest request, AsyncHandler<StartApplicationRequest,StartApplicationResult> asyncHandler)
AWSEMRServerlessAsync
Starts a specified application and initializes initial capacity if configured.
startApplicationAsync
in interface AWSEMRServerlessAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<StartJobRunResult> startJobRunAsync(StartJobRunRequest request)
AWSEMRServerlessAsync
Starts a job run.
startJobRunAsync
in interface AWSEMRServerlessAsync
public Future<StartJobRunResult> startJobRunAsync(StartJobRunRequest request, AsyncHandler<StartJobRunRequest,StartJobRunResult> asyncHandler)
AWSEMRServerlessAsync
Starts a job run.
startJobRunAsync
in interface AWSEMRServerlessAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<StopApplicationResult> stopApplicationAsync(StopApplicationRequest request)
AWSEMRServerlessAsync
Stops a specified application and releases initial capacity if configured. All scheduled and running jobs must be completed or cancelled before stopping an application.
stopApplicationAsync
in interface AWSEMRServerlessAsync
public Future<StopApplicationResult> stopApplicationAsync(StopApplicationRequest request, AsyncHandler<StopApplicationRequest,StopApplicationResult> asyncHandler)
AWSEMRServerlessAsync
Stops a specified application and releases initial capacity if configured. All scheduled and running jobs must be completed or cancelled before stopping an application.
stopApplicationAsync
in interface AWSEMRServerlessAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<TagResourceResult> tagResourceAsync(TagResourceRequest request)
AWSEMRServerlessAsync
Assigns tags to resources. A tag is a label that you assign to an AWS resource. Each tag consists of a key and an optional value, both of which you define. Tags enable you to categorize your AWS resources by attributes such as purpose, owner, or environment. When you have many resources of the same type, you can quickly identify a specific resource based on the tags you've assigned to it.
tagResourceAsync
in interface AWSEMRServerlessAsync
public Future<TagResourceResult> tagResourceAsync(TagResourceRequest request, AsyncHandler<TagResourceRequest,TagResourceResult> asyncHandler)
AWSEMRServerlessAsync
Assigns tags to resources. A tag is a label that you assign to an AWS resource. Each tag consists of a key and an optional value, both of which you define. Tags enable you to categorize your AWS resources by attributes such as purpose, owner, or environment. When you have many resources of the same type, you can quickly identify a specific resource based on the tags you've assigned to it.
tagResourceAsync
in interface AWSEMRServerlessAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<UntagResourceResult> untagResourceAsync(UntagResourceRequest request)
AWSEMRServerlessAsync
Removes tags from resources.
untagResourceAsync
in interface AWSEMRServerlessAsync
public Future<UntagResourceResult> untagResourceAsync(UntagResourceRequest request, AsyncHandler<UntagResourceRequest,UntagResourceResult> asyncHandler)
AWSEMRServerlessAsync
Removes tags from resources.
untagResourceAsync
in interface AWSEMRServerlessAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<UpdateApplicationResult> updateApplicationAsync(UpdateApplicationRequest request)
AWSEMRServerlessAsync
Updates a specified application. An application has to be in a stopped or created state in order to be updated.
updateApplicationAsync
in interface AWSEMRServerlessAsync
public Future<UpdateApplicationResult> updateApplicationAsync(UpdateApplicationRequest request, AsyncHandler<UpdateApplicationRequest,UpdateApplicationResult> asyncHandler)
AWSEMRServerlessAsync
Updates a specified application. An application has to be in a stopped or created state in order to be updated.
updateApplicationAsync
in interface AWSEMRServerlessAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.