@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_PREFIXcancelJobRun, createApplication, deleteApplication, getApplication, getCachedResponseMetadata, getDashboardForJobRun, getJobRun, listApplications, listJobRunAttempts, listJobRuns, listTagsForResource, shutdown, startApplication, startJobRun, stopApplication, tagResource, untagResource, updateApplicationequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcancelJobRun, createApplication, deleteApplication, getApplication, getCachedResponseMetadata, getDashboardForJobRun, getJobRun, listApplications, listJobRunAttempts, listJobRuns, listTagsForResource, shutdown, startApplication, startJobRun, stopApplication, tagResource, untagResource, updateApplicationpublic Future<CancelJobRunResult> cancelJobRunAsync(CancelJobRunRequest request)
AWSEMRServerlessAsyncCancels a job run.
cancelJobRunAsync in interface AWSEMRServerlessAsyncpublic Future<CancelJobRunResult> cancelJobRunAsync(CancelJobRunRequest request, AsyncHandler<CancelJobRunRequest,CancelJobRunResult> asyncHandler)
AWSEMRServerlessAsyncCancels a job run.
cancelJobRunAsync in interface AWSEMRServerlessAsyncasyncHandler - 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)
AWSEMRServerlessAsyncCreates an application.
createApplicationAsync in interface AWSEMRServerlessAsyncpublic Future<CreateApplicationResult> createApplicationAsync(CreateApplicationRequest request, AsyncHandler<CreateApplicationRequest,CreateApplicationResult> asyncHandler)
AWSEMRServerlessAsyncCreates an application.
createApplicationAsync in interface AWSEMRServerlessAsyncasyncHandler - 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)
AWSEMRServerlessAsyncDeletes an application. An application has to be in a stopped or created state in order to be deleted.
deleteApplicationAsync in interface AWSEMRServerlessAsyncpublic Future<DeleteApplicationResult> deleteApplicationAsync(DeleteApplicationRequest request, AsyncHandler<DeleteApplicationRequest,DeleteApplicationResult> asyncHandler)
AWSEMRServerlessAsyncDeletes an application. An application has to be in a stopped or created state in order to be deleted.
deleteApplicationAsync in interface AWSEMRServerlessAsyncasyncHandler - 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)
AWSEMRServerlessAsyncDisplays detailed information about a specified application.
getApplicationAsync in interface AWSEMRServerlessAsyncpublic Future<GetApplicationResult> getApplicationAsync(GetApplicationRequest request, AsyncHandler<GetApplicationRequest,GetApplicationResult> asyncHandler)
AWSEMRServerlessAsyncDisplays detailed information about a specified application.
getApplicationAsync in interface AWSEMRServerlessAsyncasyncHandler - 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)
AWSEMRServerlessAsyncCreates and returns a URL that you can use to access the application UIs for a job run.
For jobs in a running state, the application UI is a live user interface such as the Spark or Tez web UI. For completed jobs, the application UI is a persistent application user interface such as the Spark History Server or persistent Tez UI.
The URL is valid for one hour after you generate it. To access the application UI after that hour elapses, you must invoke the API again to generate a new URL.
getDashboardForJobRunAsync in interface AWSEMRServerlessAsyncpublic Future<GetDashboardForJobRunResult> getDashboardForJobRunAsync(GetDashboardForJobRunRequest request, AsyncHandler<GetDashboardForJobRunRequest,GetDashboardForJobRunResult> asyncHandler)
AWSEMRServerlessAsyncCreates and returns a URL that you can use to access the application UIs for a job run.
For jobs in a running state, the application UI is a live user interface such as the Spark or Tez web UI. For completed jobs, the application UI is a persistent application user interface such as the Spark History Server or persistent Tez UI.
The URL is valid for one hour after you generate it. To access the application UI after that hour elapses, you must invoke the API again to generate a new URL.
getDashboardForJobRunAsync in interface AWSEMRServerlessAsyncasyncHandler - 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)
AWSEMRServerlessAsyncDisplays detailed information about a job run.
getJobRunAsync in interface AWSEMRServerlessAsyncpublic Future<GetJobRunResult> getJobRunAsync(GetJobRunRequest request, AsyncHandler<GetJobRunRequest,GetJobRunResult> asyncHandler)
AWSEMRServerlessAsyncDisplays detailed information about a job run.
getJobRunAsync in interface AWSEMRServerlessAsyncasyncHandler - 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)
AWSEMRServerlessAsyncLists applications based on a set of parameters.
listApplicationsAsync in interface AWSEMRServerlessAsyncpublic Future<ListApplicationsResult> listApplicationsAsync(ListApplicationsRequest request, AsyncHandler<ListApplicationsRequest,ListApplicationsResult> asyncHandler)
AWSEMRServerlessAsyncLists applications based on a set of parameters.
listApplicationsAsync in interface AWSEMRServerlessAsyncasyncHandler - 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<ListJobRunAttemptsResult> listJobRunAttemptsAsync(ListJobRunAttemptsRequest request)
AWSEMRServerlessAsyncLists all attempt of a job run.
listJobRunAttemptsAsync in interface AWSEMRServerlessAsyncpublic Future<ListJobRunAttemptsResult> listJobRunAttemptsAsync(ListJobRunAttemptsRequest request, AsyncHandler<ListJobRunAttemptsRequest,ListJobRunAttemptsResult> asyncHandler)
AWSEMRServerlessAsyncLists all attempt of a job run.
listJobRunAttemptsAsync in interface AWSEMRServerlessAsyncasyncHandler - 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)
AWSEMRServerlessAsyncLists job runs based on a set of parameters.
listJobRunsAsync in interface AWSEMRServerlessAsyncpublic Future<ListJobRunsResult> listJobRunsAsync(ListJobRunsRequest request, AsyncHandler<ListJobRunsRequest,ListJobRunsResult> asyncHandler)
AWSEMRServerlessAsyncLists job runs based on a set of parameters.
listJobRunsAsync in interface AWSEMRServerlessAsyncasyncHandler - 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)
AWSEMRServerlessAsyncLists the tags assigned to the resources.
listTagsForResourceAsync in interface AWSEMRServerlessAsyncpublic Future<ListTagsForResourceResult> listTagsForResourceAsync(ListTagsForResourceRequest request, AsyncHandler<ListTagsForResourceRequest,ListTagsForResourceResult> asyncHandler)
AWSEMRServerlessAsyncLists the tags assigned to the resources.
listTagsForResourceAsync in interface AWSEMRServerlessAsyncasyncHandler - 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)
AWSEMRServerlessAsyncStarts a specified application and initializes initial capacity if configured.
startApplicationAsync in interface AWSEMRServerlessAsyncpublic Future<StartApplicationResult> startApplicationAsync(StartApplicationRequest request, AsyncHandler<StartApplicationRequest,StartApplicationResult> asyncHandler)
AWSEMRServerlessAsyncStarts a specified application and initializes initial capacity if configured.
startApplicationAsync in interface AWSEMRServerlessAsyncasyncHandler - 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)
AWSEMRServerlessAsyncStarts a job run.
startJobRunAsync in interface AWSEMRServerlessAsyncpublic Future<StartJobRunResult> startJobRunAsync(StartJobRunRequest request, AsyncHandler<StartJobRunRequest,StartJobRunResult> asyncHandler)
AWSEMRServerlessAsyncStarts a job run.
startJobRunAsync in interface AWSEMRServerlessAsyncasyncHandler - 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)
AWSEMRServerlessAsyncStops 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 AWSEMRServerlessAsyncpublic Future<StopApplicationResult> stopApplicationAsync(StopApplicationRequest request, AsyncHandler<StopApplicationRequest,StopApplicationResult> asyncHandler)
AWSEMRServerlessAsyncStops 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 AWSEMRServerlessAsyncasyncHandler - 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)
AWSEMRServerlessAsyncAssigns tags to resources. A tag is a label that you assign to an Amazon Web Services resource. Each tag consists of a key and an optional value, both of which you define. Tags enable you to categorize your Amazon Web Services 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 AWSEMRServerlessAsyncpublic Future<TagResourceResult> tagResourceAsync(TagResourceRequest request, AsyncHandler<TagResourceRequest,TagResourceResult> asyncHandler)
AWSEMRServerlessAsyncAssigns tags to resources. A tag is a label that you assign to an Amazon Web Services resource. Each tag consists of a key and an optional value, both of which you define. Tags enable you to categorize your Amazon Web Services 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 AWSEMRServerlessAsyncasyncHandler - 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)
AWSEMRServerlessAsyncRemoves tags from resources.
untagResourceAsync in interface AWSEMRServerlessAsyncpublic Future<UntagResourceResult> untagResourceAsync(UntagResourceRequest request, AsyncHandler<UntagResourceRequest,UntagResourceResult> asyncHandler)
AWSEMRServerlessAsyncRemoves tags from resources.
untagResourceAsync in interface AWSEMRServerlessAsyncasyncHandler - 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)
AWSEMRServerlessAsyncUpdates a specified application. An application has to be in a stopped or created state in order to be updated.
updateApplicationAsync in interface AWSEMRServerlessAsyncpublic Future<UpdateApplicationResult> updateApplicationAsync(UpdateApplicationRequest request, AsyncHandler<UpdateApplicationRequest,UpdateApplicationResult> asyncHandler)
AWSEMRServerlessAsyncUpdates a specified application. An application has to be in a stopped or created state in order to be updated.
updateApplicationAsync in interface AWSEMRServerlessAsyncasyncHandler - 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.