@ThreadSafe @Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AmazonEMRContainersClient extends AmazonWebServiceClient implements AmazonEMRContainers
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_METRIC
ENDPOINT_PREFIX
addRequestHandler, addRequestHandler, configureRegion, getClientConfiguration, getEndpointPrefix, getMonitoringListeners, getRequestMetricsCollector, getServiceName, getSignerByURI, getSignerOverride, getSignerRegionOverride, getTimeOffset, makeImmutable, removeRequestHandler, removeRequestHandler, setEndpoint, setEndpoint, setRegion, setServiceNameIntern, setSignerRegionOverride, setTimeOffset, withEndpoint, withRegion, withRegion, withTimeOffset
public static AmazonEMRContainersClientBuilder builder()
public CancelJobRunResult cancelJobRun(CancelJobRunRequest request)
Cancels 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.
cancelJobRun
in interface AmazonEMRContainers
cancelJobRunRequest
- ValidationException
- There are invalid parameters in the client request.InternalServerException
- This is an internal server exception.public CreateManagedEndpointResult createManagedEndpoint(CreateManagedEndpointRequest request)
Creates 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.
createManagedEndpoint
in interface AmazonEMRContainers
createManagedEndpointRequest
- ValidationException
- There are invalid parameters in the client request.ResourceNotFoundException
- The specified resource was not found.InternalServerException
- This is an internal server exception.public CreateVirtualClusterResult createVirtualCluster(CreateVirtualClusterRequest request)
Creates 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.
createVirtualCluster
in interface AmazonEMRContainers
createVirtualClusterRequest
- ValidationException
- There are invalid parameters in the client request.ResourceNotFoundException
- The specified resource was not found.InternalServerException
- This is an internal server exception.public DeleteManagedEndpointResult deleteManagedEndpoint(DeleteManagedEndpointRequest request)
Deletes 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.
deleteManagedEndpoint
in interface AmazonEMRContainers
deleteManagedEndpointRequest
- ValidationException
- There are invalid parameters in the client request.InternalServerException
- This is an internal server exception.public DeleteVirtualClusterResult deleteVirtualCluster(DeleteVirtualClusterRequest request)
Deletes 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.
deleteVirtualCluster
in interface AmazonEMRContainers
deleteVirtualClusterRequest
- ValidationException
- There are invalid parameters in the client request.InternalServerException
- This is an internal server exception.public DescribeJobRunResult describeJobRun(DescribeJobRunRequest request)
Displays 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.
describeJobRun
in interface AmazonEMRContainers
describeJobRunRequest
- ValidationException
- There are invalid parameters in the client request.ResourceNotFoundException
- The specified resource was not found.InternalServerException
- This is an internal server exception.public DescribeManagedEndpointResult describeManagedEndpoint(DescribeManagedEndpointRequest request)
Displays 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.
describeManagedEndpoint
in interface AmazonEMRContainers
describeManagedEndpointRequest
- ValidationException
- There are invalid parameters in the client request.ResourceNotFoundException
- The specified resource was not found.InternalServerException
- This is an internal server exception.public DescribeVirtualClusterResult describeVirtualCluster(DescribeVirtualClusterRequest request)
Displays 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.
describeVirtualCluster
in interface AmazonEMRContainers
describeVirtualClusterRequest
- ValidationException
- There are invalid parameters in the client request.ResourceNotFoundException
- The specified resource was not found.InternalServerException
- This is an internal server exception.public ListJobRunsResult listJobRuns(ListJobRunsRequest request)
Lists 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.
listJobRuns
in interface AmazonEMRContainers
listJobRunsRequest
- ValidationException
- There are invalid parameters in the client request.InternalServerException
- This is an internal server exception.public ListManagedEndpointsResult listManagedEndpoints(ListManagedEndpointsRequest request)
Lists 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.
listManagedEndpoints
in interface AmazonEMRContainers
listManagedEndpointsRequest
- ValidationException
- There are invalid parameters in the client request.InternalServerException
- This is an internal server exception.public ListTagsForResourceResult listTagsForResource(ListTagsForResourceRequest request)
Lists the tags assigned to the resources.
listTagsForResource
in interface AmazonEMRContainers
listTagsForResourceRequest
- InternalServerException
- This is an internal server exception.ValidationException
- There are invalid parameters in the client request.ResourceNotFoundException
- The specified resource was not found.public ListVirtualClustersResult listVirtualClusters(ListVirtualClustersRequest request)
Lists 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.
listVirtualClusters
in interface AmazonEMRContainers
listVirtualClustersRequest
- ValidationException
- There are invalid parameters in the client request.InternalServerException
- This is an internal server exception.public StartJobRunResult startJobRun(StartJobRunRequest request)
Starts 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.
startJobRun
in interface AmazonEMRContainers
startJobRunRequest
- ValidationException
- There are invalid parameters in the client request.ResourceNotFoundException
- The specified resource was not found.InternalServerException
- This is an internal server exception.public TagResourceResult tagResource(TagResourceRequest request)
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. 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.
tagResource
in interface AmazonEMRContainers
tagResourceRequest
- InternalServerException
- This is an internal server exception.ValidationException
- There are invalid parameters in the client request.ResourceNotFoundException
- The specified resource was not found.public UntagResourceResult untagResource(UntagResourceRequest request)
Removes tags from resources.
untagResource
in interface AmazonEMRContainers
untagResourceRequest
- InternalServerException
- This is an internal server exception.ValidationException
- There are invalid parameters in the client request.ResourceNotFoundException
- The specified resource was not found.public ResponseMetadata getCachedResponseMetadata(AmazonWebServiceRequest request)
Response metadata is only cached for a limited period of time, so if you need to access this extra diagnostic information for an executed request, you should use this method to retrieve it as soon as possible after executing the request.
getCachedResponseMetadata
in interface AmazonEMRContainers
request
- The originally executed requestpublic void shutdown()
AmazonWebServiceClient
shutdown
in interface AmazonEMRContainers
shutdown
in class AmazonWebServiceClient