@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public interface AmazonEMRContainers
Note: Do not directly implement this interface, new methods are added to it regularly. Extend from
AbstractAmazonEMRContainers
instead.
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 EKSService Endpoints.
Modifier and Type | Field and Description |
---|---|
static String |
ENDPOINT_PREFIX
The region metadata service name for computing region endpoints.
|
Modifier and Type | Method and Description |
---|---|
CancelJobRunResult |
cancelJobRun(CancelJobRunRequest cancelJobRunRequest)
Cancels a job run.
|
CreateJobTemplateResult |
createJobTemplate(CreateJobTemplateRequest createJobTemplateRequest)
Creates a job template.
|
CreateManagedEndpointResult |
createManagedEndpoint(CreateManagedEndpointRequest createManagedEndpointRequest)
Creates a managed endpoint.
|
CreateSecurityConfigurationResult |
createSecurityConfiguration(CreateSecurityConfigurationRequest createSecurityConfigurationRequest)
Creates a security configuration.
|
CreateVirtualClusterResult |
createVirtualCluster(CreateVirtualClusterRequest createVirtualClusterRequest)
Creates a virtual cluster.
|
DeleteJobTemplateResult |
deleteJobTemplate(DeleteJobTemplateRequest deleteJobTemplateRequest)
Deletes a job template.
|
DeleteManagedEndpointResult |
deleteManagedEndpoint(DeleteManagedEndpointRequest deleteManagedEndpointRequest)
Deletes a managed endpoint.
|
DeleteVirtualClusterResult |
deleteVirtualCluster(DeleteVirtualClusterRequest deleteVirtualClusterRequest)
Deletes a virtual cluster.
|
DescribeJobRunResult |
describeJobRun(DescribeJobRunRequest describeJobRunRequest)
Displays detailed information about a job run.
|
DescribeJobTemplateResult |
describeJobTemplate(DescribeJobTemplateRequest describeJobTemplateRequest)
Displays detailed information about a specified job template.
|
DescribeManagedEndpointResult |
describeManagedEndpoint(DescribeManagedEndpointRequest describeManagedEndpointRequest)
Displays detailed information about a managed endpoint.
|
DescribeSecurityConfigurationResult |
describeSecurityConfiguration(DescribeSecurityConfigurationRequest describeSecurityConfigurationRequest)
Displays detailed information about a specified security configuration.
|
DescribeVirtualClusterResult |
describeVirtualCluster(DescribeVirtualClusterRequest describeVirtualClusterRequest)
Displays detailed information about a specified virtual cluster.
|
ResponseMetadata |
getCachedResponseMetadata(AmazonWebServiceRequest request)
Returns additional metadata for a previously executed successful request, typically used for debugging issues
where a service isn't acting as expected.
|
GetManagedEndpointSessionCredentialsResult |
getManagedEndpointSessionCredentials(GetManagedEndpointSessionCredentialsRequest getManagedEndpointSessionCredentialsRequest)
Generate a session token to connect to a managed endpoint.
|
ListJobRunsResult |
listJobRuns(ListJobRunsRequest listJobRunsRequest)
Lists job runs based on a set of parameters.
|
ListJobTemplatesResult |
listJobTemplates(ListJobTemplatesRequest listJobTemplatesRequest)
Lists job templates based on a set of parameters.
|
ListManagedEndpointsResult |
listManagedEndpoints(ListManagedEndpointsRequest listManagedEndpointsRequest)
Lists managed endpoints based on a set of parameters.
|
ListSecurityConfigurationsResult |
listSecurityConfigurations(ListSecurityConfigurationsRequest listSecurityConfigurationsRequest)
Lists security configurations based on a set of parameters.
|
ListTagsForResourceResult |
listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest)
Lists the tags assigned to the resources.
|
ListVirtualClustersResult |
listVirtualClusters(ListVirtualClustersRequest listVirtualClustersRequest)
Lists information about the specified virtual cluster.
|
void |
shutdown()
Shuts down this client object, releasing any resources that might be held open.
|
StartJobRunResult |
startJobRun(StartJobRunRequest startJobRunRequest)
Starts a job run.
|
TagResourceResult |
tagResource(TagResourceRequest tagResourceRequest)
Assigns tags to resources.
|
UntagResourceResult |
untagResource(UntagResourceRequest untagResourceRequest)
Removes tags from resources.
|
static final String ENDPOINT_PREFIX
CancelJobRunResult cancelJobRun(CancelJobRunRequest cancelJobRunRequest)
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.
cancelJobRunRequest
- ValidationException
- There are invalid parameters in the client request.InternalServerException
- This is an internal server exception.CreateJobTemplateResult createJobTemplate(CreateJobTemplateRequest createJobTemplateRequest)
Creates a job template. Job template stores values of StartJobRun API request in a template and can be used to start a job run. Job template allows two use cases: avoid repeating recurring StartJobRun API request values, enforcing certain values in StartJobRun API request.
createJobTemplateRequest
- ValidationException
- There are invalid parameters in the client request.ResourceNotFoundException
- The specified resource was not found.InternalServerException
- This is an internal server exception.CreateManagedEndpointResult createManagedEndpoint(CreateManagedEndpointRequest createManagedEndpointRequest)
Creates a managed endpoint. A managed endpoint is a gateway that connects Amazon EMR Studio to Amazon EMR on EKS so that Amazon EMR Studio can communicate with your virtual cluster.
createManagedEndpointRequest
- ValidationException
- There are invalid parameters in the client request.ResourceNotFoundException
- The specified resource was not found.InternalServerException
- This is an internal server exception.CreateSecurityConfigurationResult createSecurityConfiguration(CreateSecurityConfigurationRequest createSecurityConfigurationRequest)
Creates a security configuration. Security configurations in Amazon EMR on EKS are templates for different security setups. You can use security configurations to configure the Lake Formation integration setup. You can also create a security configuration to re-use a security setup each time you create a virtual cluster.
createSecurityConfigurationRequest
- ValidationException
- There are invalid parameters in the client request.InternalServerException
- This is an internal server exception.CreateVirtualClusterResult createVirtualCluster(CreateVirtualClusterRequest createVirtualClusterRequest)
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.
createVirtualClusterRequest
- ValidationException
- There are invalid parameters in the client request.ResourceNotFoundException
- The specified resource was not found.InternalServerException
- This is an internal server exception.EKSRequestThrottledException
- The request exceeded the Amazon EKS API operation limits.DeleteJobTemplateResult deleteJobTemplate(DeleteJobTemplateRequest deleteJobTemplateRequest)
Deletes a job template. Job template stores values of StartJobRun API request in a template and can be used to start a job run. Job template allows two use cases: avoid repeating recurring StartJobRun API request values, enforcing certain values in StartJobRun API request.
deleteJobTemplateRequest
- ValidationException
- There are invalid parameters in the client request.InternalServerException
- This is an internal server exception.DeleteManagedEndpointResult deleteManagedEndpoint(DeleteManagedEndpointRequest deleteManagedEndpointRequest)
Deletes a managed endpoint. A managed endpoint is a gateway that connects Amazon EMR Studio to Amazon EMR on EKS so that Amazon EMR Studio can communicate with your virtual cluster.
deleteManagedEndpointRequest
- ValidationException
- There are invalid parameters in the client request.InternalServerException
- This is an internal server exception.DeleteVirtualClusterResult deleteVirtualCluster(DeleteVirtualClusterRequest deleteVirtualClusterRequest)
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.
deleteVirtualClusterRequest
- ValidationException
- There are invalid parameters in the client request.InternalServerException
- This is an internal server exception.DescribeJobRunResult describeJobRun(DescribeJobRunRequest describeJobRunRequest)
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.
describeJobRunRequest
- ValidationException
- There are invalid parameters in the client request.ResourceNotFoundException
- The specified resource was not found.InternalServerException
- This is an internal server exception.DescribeJobTemplateResult describeJobTemplate(DescribeJobTemplateRequest describeJobTemplateRequest)
Displays detailed information about a specified job template. Job template stores values of StartJobRun API request in a template and can be used to start a job run. Job template allows two use cases: avoid repeating recurring StartJobRun API request values, enforcing certain values in StartJobRun API request.
describeJobTemplateRequest
- ValidationException
- There are invalid parameters in the client request.ResourceNotFoundException
- The specified resource was not found.InternalServerException
- This is an internal server exception.DescribeManagedEndpointResult describeManagedEndpoint(DescribeManagedEndpointRequest describeManagedEndpointRequest)
Displays detailed information about a managed endpoint. A managed endpoint is a gateway that connects Amazon EMR Studio to Amazon EMR on EKS so that Amazon EMR Studio can communicate with your virtual cluster.
describeManagedEndpointRequest
- ValidationException
- There are invalid parameters in the client request.ResourceNotFoundException
- The specified resource was not found.InternalServerException
- This is an internal server exception.DescribeSecurityConfigurationResult describeSecurityConfiguration(DescribeSecurityConfigurationRequest describeSecurityConfigurationRequest)
Displays detailed information about a specified security configuration. Security configurations in Amazon EMR on EKS are templates for different security setups. You can use security configurations to configure the Lake Formation integration setup. You can also create a security configuration to re-use a security setup each time you create a virtual cluster.
describeSecurityConfigurationRequest
- ValidationException
- There are invalid parameters in the client request.ResourceNotFoundException
- The specified resource was not found.InternalServerException
- This is an internal server exception.DescribeVirtualClusterResult describeVirtualCluster(DescribeVirtualClusterRequest describeVirtualClusterRequest)
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.
describeVirtualClusterRequest
- ValidationException
- There are invalid parameters in the client request.ResourceNotFoundException
- The specified resource was not found.InternalServerException
- This is an internal server exception.GetManagedEndpointSessionCredentialsResult getManagedEndpointSessionCredentials(GetManagedEndpointSessionCredentialsRequest getManagedEndpointSessionCredentialsRequest)
Generate a session token to connect to a managed endpoint.
getManagedEndpointSessionCredentialsRequest
- ValidationException
- There are invalid parameters in the client request.RequestThrottledException
- The request throttled.ResourceNotFoundException
- The specified resource was not found.InternalServerException
- This is an internal server exception.ListJobRunsResult listJobRuns(ListJobRunsRequest listJobRunsRequest)
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.
listJobRunsRequest
- ValidationException
- There are invalid parameters in the client request.InternalServerException
- This is an internal server exception.ListJobTemplatesResult listJobTemplates(ListJobTemplatesRequest listJobTemplatesRequest)
Lists job templates based on a set of parameters. Job template stores values of StartJobRun API request in a template and can be used to start a job run. Job template allows two use cases: avoid repeating recurring StartJobRun API request values, enforcing certain values in StartJobRun API request.
listJobTemplatesRequest
- ValidationException
- There are invalid parameters in the client request.InternalServerException
- This is an internal server exception.ListManagedEndpointsResult listManagedEndpoints(ListManagedEndpointsRequest listManagedEndpointsRequest)
Lists managed endpoints based on a set of parameters. A managed endpoint is a gateway that connects Amazon EMR Studio to Amazon EMR on EKS so that Amazon EMR Studio can communicate with your virtual cluster.
listManagedEndpointsRequest
- ValidationException
- There are invalid parameters in the client request.InternalServerException
- This is an internal server exception.ListSecurityConfigurationsResult listSecurityConfigurations(ListSecurityConfigurationsRequest listSecurityConfigurationsRequest)
Lists security configurations based on a set of parameters. Security configurations in Amazon EMR on EKS are templates for different security setups. You can use security configurations to configure the Lake Formation integration setup. You can also create a security configuration to re-use a security setup each time you create a virtual cluster.
listSecurityConfigurationsRequest
- ValidationException
- There are invalid parameters in the client request.InternalServerException
- This is an internal server exception.ListTagsForResourceResult listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest)
Lists the tags assigned to the resources.
listTagsForResourceRequest
- InternalServerException
- This is an internal server exception.ValidationException
- There are invalid parameters in the client request.ResourceNotFoundException
- The specified resource was not found.ListVirtualClustersResult listVirtualClusters(ListVirtualClustersRequest listVirtualClustersRequest)
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.
listVirtualClustersRequest
- ValidationException
- There are invalid parameters in the client request.InternalServerException
- This is an internal server exception.StartJobRunResult startJobRun(StartJobRunRequest startJobRunRequest)
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.
startJobRunRequest
- ValidationException
- There are invalid parameters in the client request.ResourceNotFoundException
- The specified resource was not found.InternalServerException
- This is an internal server exception.TagResourceResult tagResource(TagResourceRequest tagResourceRequest)
Assigns 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. 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.
tagResourceRequest
- InternalServerException
- This is an internal server exception.ValidationException
- There are invalid parameters in the client request.ResourceNotFoundException
- The specified resource was not found.UntagResourceResult untagResource(UntagResourceRequest untagResourceRequest)
Removes tags from resources.
untagResourceRequest
- InternalServerException
- This is an internal server exception.ValidationException
- There are invalid parameters in the client request.ResourceNotFoundException
- The specified resource was not found.void shutdown()
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 a request.
request
- The originally executed request.