@ThreadSafe @Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AmazonEMRContainersAsyncClient extends AmazonEMRContainersClient implements AmazonEMRContainersAsync
AsyncHandler can be used to receive
notification when an asynchronous operation completes.
Amazon EMR on EKS provides a deployment option for Amazon EMR that allows you to run open-source big data frameworks on Amazon Elastic Kubernetes Service (Amazon EKS). With this deployment option, you can focus on running analytics workloads while Amazon EMR on EKS builds, configures, and manages containers for open-source applications. For more information about Amazon EMR on EKS concepts and tasks, see What is Amazon EMR on EKS.
Amazon EMR containers is the API name for Amazon EMR on EKS. The emr-containers prefix is used in
the following scenarios:
It is the prefix in the CLI commands for Amazon EMR on EKS. For example,
aws emr-containers start-job-run.
It is the prefix before IAM policy actions for Amazon EMR on EKS. For example,
"Action": [ "emr-containers:StartJobRun"]. For more information, see Policy actions for Amazon EMR on EKS.
It is the prefix used in Amazon EMR on EKS service endpoints. For example,
emr-containers.us-east-2.amazonaws.com. For more information, see Amazon EMR on EKS Service Endpoints.
LOGGING_AWS_REQUEST_METRICENDPOINT_PREFIXbuilder, cancelJobRun, createManagedEndpoint, createVirtualCluster, deleteManagedEndpoint, deleteVirtualCluster, describeJobRun, describeManagedEndpoint, describeVirtualCluster, getCachedResponseMetadata, listJobRuns, listManagedEndpoints, listTagsForResource, listVirtualClusters, startJobRun, tagResource, untagResourceaddRequestHandler, addRequestHandler, configureRegion, getClientConfiguration, getEndpointPrefix, getMonitoringListeners, getRequestMetricsCollector, getServiceName, getSignerByURI, getSignerOverride, getSignerRegionOverride, getTimeOffset, makeImmutable, removeRequestHandler, removeRequestHandler, setEndpoint, setEndpoint, setRegion, setServiceNameIntern, setSignerRegionOverride, setTimeOffset, withEndpoint, withRegion, withRegion, withTimeOffsetequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcancelJobRun, createManagedEndpoint, createVirtualCluster, deleteManagedEndpoint, deleteVirtualCluster, describeJobRun, describeManagedEndpoint, describeVirtualCluster, getCachedResponseMetadata, listJobRuns, listManagedEndpoints, listTagsForResource, listVirtualClusters, startJobRun, tagResource, untagResourcepublic static AmazonEMRContainersAsyncClientBuilder asyncBuilder()
public ExecutorService getExecutorService()
public Future<CancelJobRunResult> cancelJobRunAsync(CancelJobRunRequest request)
AmazonEMRContainersAsyncCancels a job run. A job run is a unit of work, such as a Spark jar, PySpark script, or SparkSQL query, that you submit to Amazon EMR on EKS.
cancelJobRunAsync in interface AmazonEMRContainersAsyncpublic Future<CancelJobRunResult> cancelJobRunAsync(CancelJobRunRequest request, AsyncHandler<CancelJobRunRequest,CancelJobRunResult> asyncHandler)
AmazonEMRContainersAsyncCancels a job run. A job run is a unit of work, such as a Spark jar, PySpark script, or SparkSQL query, that you submit to Amazon EMR on EKS.
cancelJobRunAsync in interface AmazonEMRContainersAsyncasyncHandler - 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<CreateManagedEndpointResult> createManagedEndpointAsync(CreateManagedEndpointRequest request)
AmazonEMRContainersAsyncCreates a managed endpoint. A managed endpoint is a gateway that connects EMR Studio to Amazon EMR on EKS so that EMR Studio can communicate with your virtual cluster.
createManagedEndpointAsync in interface AmazonEMRContainersAsyncpublic Future<CreateManagedEndpointResult> createManagedEndpointAsync(CreateManagedEndpointRequest request, AsyncHandler<CreateManagedEndpointRequest,CreateManagedEndpointResult> asyncHandler)
AmazonEMRContainersAsyncCreates a managed endpoint. A managed endpoint is a gateway that connects EMR Studio to Amazon EMR on EKS so that EMR Studio can communicate with your virtual cluster.
createManagedEndpointAsync in interface AmazonEMRContainersAsyncasyncHandler - 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<CreateVirtualClusterResult> createVirtualClusterAsync(CreateVirtualClusterRequest request)
AmazonEMRContainersAsyncCreates a virtual cluster. Virtual cluster is a managed entity on Amazon EMR on EKS. You can create, describe, list and delete virtual clusters. They do not consume any additional resource in your system. A single virtual cluster maps to a single Kubernetes namespace. Given this relationship, you can model virtual clusters the same way you model Kubernetes namespaces to meet your requirements.
createVirtualClusterAsync in interface AmazonEMRContainersAsyncpublic Future<CreateVirtualClusterResult> createVirtualClusterAsync(CreateVirtualClusterRequest request, AsyncHandler<CreateVirtualClusterRequest,CreateVirtualClusterResult> asyncHandler)
AmazonEMRContainersAsyncCreates a virtual cluster. Virtual cluster is a managed entity on Amazon EMR on EKS. You can create, describe, list and delete virtual clusters. They do not consume any additional resource in your system. A single virtual cluster maps to a single Kubernetes namespace. Given this relationship, you can model virtual clusters the same way you model Kubernetes namespaces to meet your requirements.
createVirtualClusterAsync in interface AmazonEMRContainersAsyncasyncHandler - 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<DeleteManagedEndpointResult> deleteManagedEndpointAsync(DeleteManagedEndpointRequest request)
AmazonEMRContainersAsyncDeletes a managed endpoint. A managed endpoint is a gateway that connects EMR Studio to Amazon EMR on EKS so that EMR Studio can communicate with your virtual cluster.
deleteManagedEndpointAsync in interface AmazonEMRContainersAsyncpublic Future<DeleteManagedEndpointResult> deleteManagedEndpointAsync(DeleteManagedEndpointRequest request, AsyncHandler<DeleteManagedEndpointRequest,DeleteManagedEndpointResult> asyncHandler)
AmazonEMRContainersAsyncDeletes a managed endpoint. A managed endpoint is a gateway that connects EMR Studio to Amazon EMR on EKS so that EMR Studio can communicate with your virtual cluster.
deleteManagedEndpointAsync in interface AmazonEMRContainersAsyncasyncHandler - 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<DeleteVirtualClusterResult> deleteVirtualClusterAsync(DeleteVirtualClusterRequest request)
AmazonEMRContainersAsyncDeletes a virtual cluster. Virtual cluster is a managed entity on Amazon EMR on EKS. You can create, describe, list and delete virtual clusters. They do not consume any additional resource in your system. A single virtual cluster maps to a single Kubernetes namespace. Given this relationship, you can model virtual clusters the same way you model Kubernetes namespaces to meet your requirements.
deleteVirtualClusterAsync in interface AmazonEMRContainersAsyncpublic Future<DeleteVirtualClusterResult> deleteVirtualClusterAsync(DeleteVirtualClusterRequest request, AsyncHandler<DeleteVirtualClusterRequest,DeleteVirtualClusterResult> asyncHandler)
AmazonEMRContainersAsyncDeletes a virtual cluster. Virtual cluster is a managed entity on Amazon EMR on EKS. You can create, describe, list and delete virtual clusters. They do not consume any additional resource in your system. A single virtual cluster maps to a single Kubernetes namespace. Given this relationship, you can model virtual clusters the same way you model Kubernetes namespaces to meet your requirements.
deleteVirtualClusterAsync in interface AmazonEMRContainersAsyncasyncHandler - 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<DescribeJobRunResult> describeJobRunAsync(DescribeJobRunRequest request)
AmazonEMRContainersAsyncDisplays detailed information about a job run. A job run is a unit of work, such as a Spark jar, PySpark script, or SparkSQL query, that you submit to Amazon EMR on EKS.
describeJobRunAsync in interface AmazonEMRContainersAsyncpublic Future<DescribeJobRunResult> describeJobRunAsync(DescribeJobRunRequest request, AsyncHandler<DescribeJobRunRequest,DescribeJobRunResult> asyncHandler)
AmazonEMRContainersAsyncDisplays detailed information about a job run. A job run is a unit of work, such as a Spark jar, PySpark script, or SparkSQL query, that you submit to Amazon EMR on EKS.
describeJobRunAsync in interface AmazonEMRContainersAsyncasyncHandler - 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<DescribeManagedEndpointResult> describeManagedEndpointAsync(DescribeManagedEndpointRequest request)
AmazonEMRContainersAsyncDisplays detailed information about a managed endpoint. A managed endpoint is a gateway that connects EMR Studio to Amazon EMR on EKS so that EMR Studio can communicate with your virtual cluster.
describeManagedEndpointAsync in interface AmazonEMRContainersAsyncpublic Future<DescribeManagedEndpointResult> describeManagedEndpointAsync(DescribeManagedEndpointRequest request, AsyncHandler<DescribeManagedEndpointRequest,DescribeManagedEndpointResult> asyncHandler)
AmazonEMRContainersAsyncDisplays detailed information about a managed endpoint. A managed endpoint is a gateway that connects EMR Studio to Amazon EMR on EKS so that EMR Studio can communicate with your virtual cluster.
describeManagedEndpointAsync in interface AmazonEMRContainersAsyncasyncHandler - 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<DescribeVirtualClusterResult> describeVirtualClusterAsync(DescribeVirtualClusterRequest request)
AmazonEMRContainersAsyncDisplays detailed information about a specified virtual cluster. Virtual cluster is a managed entity on Amazon EMR on EKS. You can create, describe, list and delete virtual clusters. They do not consume any additional resource in your system. A single virtual cluster maps to a single Kubernetes namespace. Given this relationship, you can model virtual clusters the same way you model Kubernetes namespaces to meet your requirements.
describeVirtualClusterAsync in interface AmazonEMRContainersAsyncpublic Future<DescribeVirtualClusterResult> describeVirtualClusterAsync(DescribeVirtualClusterRequest request, AsyncHandler<DescribeVirtualClusterRequest,DescribeVirtualClusterResult> asyncHandler)
AmazonEMRContainersAsyncDisplays detailed information about a specified virtual cluster. Virtual cluster is a managed entity on Amazon EMR on EKS. You can create, describe, list and delete virtual clusters. They do not consume any additional resource in your system. A single virtual cluster maps to a single Kubernetes namespace. Given this relationship, you can model virtual clusters the same way you model Kubernetes namespaces to meet your requirements.
describeVirtualClusterAsync in interface AmazonEMRContainersAsyncasyncHandler - 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)
AmazonEMRContainersAsyncLists job runs based on a set of parameters. A job run is a unit of work, such as a Spark jar, PySpark script, or SparkSQL query, that you submit to Amazon EMR on EKS.
listJobRunsAsync in interface AmazonEMRContainersAsyncpublic Future<ListJobRunsResult> listJobRunsAsync(ListJobRunsRequest request, AsyncHandler<ListJobRunsRequest,ListJobRunsResult> asyncHandler)
AmazonEMRContainersAsyncLists job runs based on a set of parameters. A job run is a unit of work, such as a Spark jar, PySpark script, or SparkSQL query, that you submit to Amazon EMR on EKS.
listJobRunsAsync in interface AmazonEMRContainersAsyncasyncHandler - 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<ListManagedEndpointsResult> listManagedEndpointsAsync(ListManagedEndpointsRequest request)
AmazonEMRContainersAsyncLists managed endpoints based on a set of parameters. A managed endpoint is a gateway that connects EMR Studio to Amazon EMR on EKS so that EMR Studio can communicate with your virtual cluster.
listManagedEndpointsAsync in interface AmazonEMRContainersAsyncpublic Future<ListManagedEndpointsResult> listManagedEndpointsAsync(ListManagedEndpointsRequest request, AsyncHandler<ListManagedEndpointsRequest,ListManagedEndpointsResult> asyncHandler)
AmazonEMRContainersAsyncLists managed endpoints based on a set of parameters. A managed endpoint is a gateway that connects EMR Studio to Amazon EMR on EKS so that EMR Studio can communicate with your virtual cluster.
listManagedEndpointsAsync in interface AmazonEMRContainersAsyncasyncHandler - 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)
AmazonEMRContainersAsyncLists the tags assigned to the resources.
listTagsForResourceAsync in interface AmazonEMRContainersAsyncpublic Future<ListTagsForResourceResult> listTagsForResourceAsync(ListTagsForResourceRequest request, AsyncHandler<ListTagsForResourceRequest,ListTagsForResourceResult> asyncHandler)
AmazonEMRContainersAsyncLists the tags assigned to the resources.
listTagsForResourceAsync in interface AmazonEMRContainersAsyncasyncHandler - 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<ListVirtualClustersResult> listVirtualClustersAsync(ListVirtualClustersRequest request)
AmazonEMRContainersAsyncLists information about the specified virtual cluster. Virtual cluster is a managed entity on Amazon EMR on EKS. You can create, describe, list and delete virtual clusters. They do not consume any additional resource in your system. A single virtual cluster maps to a single Kubernetes namespace. Given this relationship, you can model virtual clusters the same way you model Kubernetes namespaces to meet your requirements.
listVirtualClustersAsync in interface AmazonEMRContainersAsyncpublic Future<ListVirtualClustersResult> listVirtualClustersAsync(ListVirtualClustersRequest request, AsyncHandler<ListVirtualClustersRequest,ListVirtualClustersResult> asyncHandler)
AmazonEMRContainersAsyncLists information about the specified virtual cluster. Virtual cluster is a managed entity on Amazon EMR on EKS. You can create, describe, list and delete virtual clusters. They do not consume any additional resource in your system. A single virtual cluster maps to a single Kubernetes namespace. Given this relationship, you can model virtual clusters the same way you model Kubernetes namespaces to meet your requirements.
listVirtualClustersAsync in interface AmazonEMRContainersAsyncasyncHandler - 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)
AmazonEMRContainersAsyncStarts a job run. A job run is a unit of work, such as a Spark jar, PySpark script, or SparkSQL query, that you submit to Amazon EMR on EKS.
startJobRunAsync in interface AmazonEMRContainersAsyncpublic Future<StartJobRunResult> startJobRunAsync(StartJobRunRequest request, AsyncHandler<StartJobRunRequest,StartJobRunResult> asyncHandler)
AmazonEMRContainersAsyncStarts a job run. A job run is a unit of work, such as a Spark jar, PySpark script, or SparkSQL query, that you submit to Amazon EMR on EKS.
startJobRunAsync in interface AmazonEMRContainersAsyncasyncHandler - 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)
AmazonEMRContainersAsyncAssigns 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. For example, you can define a set of tags for your Amazon EMR on EKS clusters to help you track each cluster's owner and stack level. We recommend that you devise a consistent set of tag keys for each resource type. You can then search and filter the resources based on the tags that you add.
tagResourceAsync in interface AmazonEMRContainersAsyncpublic Future<TagResourceResult> tagResourceAsync(TagResourceRequest request, AsyncHandler<TagResourceRequest,TagResourceResult> asyncHandler)
AmazonEMRContainersAsyncAssigns 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. For example, you can define a set of tags for your Amazon EMR on EKS clusters to help you track each cluster's owner and stack level. We recommend that you devise a consistent set of tag keys for each resource type. You can then search and filter the resources based on the tags that you add.
tagResourceAsync in interface AmazonEMRContainersAsyncasyncHandler - 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)
AmazonEMRContainersAsyncRemoves tags from resources.
untagResourceAsync in interface AmazonEMRContainersAsyncpublic Future<UntagResourceResult> untagResourceAsync(UntagResourceRequest request, AsyncHandler<UntagResourceRequest,UntagResourceResult> asyncHandler)
AmazonEMRContainersAsyncRemoves tags from resources.
untagResourceAsync in interface AmazonEMRContainersAsyncasyncHandler - 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 void shutdown()
getExecutorService().shutdown() followed by getExecutorService().awaitTermination() prior to
calling this method.shutdown in interface AmazonEMRContainersshutdown in class AmazonEMRContainersClient