All Downloads are FREE. Search and download functionalities are using the official Maven repository.

software.amazon.awssdk.services.emrcontainers.EmrContainersAsyncClient Maven / Gradle / Ivy

Go to download

The AWS Java SDK for EMR Containers module holds the client classes that are used for communicating with EMR Containers.

The newest version!
/*
 * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
 * 
 * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
 * the License. A copy of the License is located at
 * 
 * http://aws.amazon.com/apache2.0
 * 
 * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
 * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
 * and limitations under the License.
 */

package software.amazon.awssdk.services.emrcontainers;

import java.util.concurrent.CompletableFuture;
import java.util.function.Consumer;
import software.amazon.awssdk.annotations.Generated;
import software.amazon.awssdk.annotations.SdkPublicApi;
import software.amazon.awssdk.annotations.ThreadSafe;
import software.amazon.awssdk.awscore.AwsClient;
import software.amazon.awssdk.services.emrcontainers.model.CancelJobRunRequest;
import software.amazon.awssdk.services.emrcontainers.model.CancelJobRunResponse;
import software.amazon.awssdk.services.emrcontainers.model.CreateJobTemplateRequest;
import software.amazon.awssdk.services.emrcontainers.model.CreateJobTemplateResponse;
import software.amazon.awssdk.services.emrcontainers.model.CreateManagedEndpointRequest;
import software.amazon.awssdk.services.emrcontainers.model.CreateManagedEndpointResponse;
import software.amazon.awssdk.services.emrcontainers.model.CreateSecurityConfigurationRequest;
import software.amazon.awssdk.services.emrcontainers.model.CreateSecurityConfigurationResponse;
import software.amazon.awssdk.services.emrcontainers.model.CreateVirtualClusterRequest;
import software.amazon.awssdk.services.emrcontainers.model.CreateVirtualClusterResponse;
import software.amazon.awssdk.services.emrcontainers.model.DeleteJobTemplateRequest;
import software.amazon.awssdk.services.emrcontainers.model.DeleteJobTemplateResponse;
import software.amazon.awssdk.services.emrcontainers.model.DeleteManagedEndpointRequest;
import software.amazon.awssdk.services.emrcontainers.model.DeleteManagedEndpointResponse;
import software.amazon.awssdk.services.emrcontainers.model.DeleteVirtualClusterRequest;
import software.amazon.awssdk.services.emrcontainers.model.DeleteVirtualClusterResponse;
import software.amazon.awssdk.services.emrcontainers.model.DescribeJobRunRequest;
import software.amazon.awssdk.services.emrcontainers.model.DescribeJobRunResponse;
import software.amazon.awssdk.services.emrcontainers.model.DescribeJobTemplateRequest;
import software.amazon.awssdk.services.emrcontainers.model.DescribeJobTemplateResponse;
import software.amazon.awssdk.services.emrcontainers.model.DescribeManagedEndpointRequest;
import software.amazon.awssdk.services.emrcontainers.model.DescribeManagedEndpointResponse;
import software.amazon.awssdk.services.emrcontainers.model.DescribeSecurityConfigurationRequest;
import software.amazon.awssdk.services.emrcontainers.model.DescribeSecurityConfigurationResponse;
import software.amazon.awssdk.services.emrcontainers.model.DescribeVirtualClusterRequest;
import software.amazon.awssdk.services.emrcontainers.model.DescribeVirtualClusterResponse;
import software.amazon.awssdk.services.emrcontainers.model.GetManagedEndpointSessionCredentialsRequest;
import software.amazon.awssdk.services.emrcontainers.model.GetManagedEndpointSessionCredentialsResponse;
import software.amazon.awssdk.services.emrcontainers.model.ListJobRunsRequest;
import software.amazon.awssdk.services.emrcontainers.model.ListJobRunsResponse;
import software.amazon.awssdk.services.emrcontainers.model.ListJobTemplatesRequest;
import software.amazon.awssdk.services.emrcontainers.model.ListJobTemplatesResponse;
import software.amazon.awssdk.services.emrcontainers.model.ListManagedEndpointsRequest;
import software.amazon.awssdk.services.emrcontainers.model.ListManagedEndpointsResponse;
import software.amazon.awssdk.services.emrcontainers.model.ListSecurityConfigurationsRequest;
import software.amazon.awssdk.services.emrcontainers.model.ListSecurityConfigurationsResponse;
import software.amazon.awssdk.services.emrcontainers.model.ListTagsForResourceRequest;
import software.amazon.awssdk.services.emrcontainers.model.ListTagsForResourceResponse;
import software.amazon.awssdk.services.emrcontainers.model.ListVirtualClustersRequest;
import software.amazon.awssdk.services.emrcontainers.model.ListVirtualClustersResponse;
import software.amazon.awssdk.services.emrcontainers.model.StartJobRunRequest;
import software.amazon.awssdk.services.emrcontainers.model.StartJobRunResponse;
import software.amazon.awssdk.services.emrcontainers.model.TagResourceRequest;
import software.amazon.awssdk.services.emrcontainers.model.TagResourceResponse;
import software.amazon.awssdk.services.emrcontainers.model.UntagResourceRequest;
import software.amazon.awssdk.services.emrcontainers.model.UntagResourceResponse;
import software.amazon.awssdk.services.emrcontainers.paginators.ListJobRunsPublisher;
import software.amazon.awssdk.services.emrcontainers.paginators.ListJobTemplatesPublisher;
import software.amazon.awssdk.services.emrcontainers.paginators.ListManagedEndpointsPublisher;
import software.amazon.awssdk.services.emrcontainers.paginators.ListSecurityConfigurationsPublisher;
import software.amazon.awssdk.services.emrcontainers.paginators.ListVirtualClustersPublisher;

/**
 * Service client for accessing Amazon EMR Containers asynchronously. This can be created using the static
 * {@link #builder()} method.The asynchronous client performs non-blocking I/O when configured with any
 * {@code SdkAsyncHttpClient} supported in the SDK. However, full non-blocking is not guaranteed as the async client may
 * perform blocking calls in some cases such as credentials retrieval and endpoint discovery as part of the async API
 * call.
 *
 * 

* 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. *

    *
  • *
*/ @Generated("software.amazon.awssdk:codegen") @SdkPublicApi @ThreadSafe public interface EmrContainersAsyncClient extends AwsClient { String SERVICE_NAME = "emr-containers"; /** * Value for looking up the service's metadata from the * {@link software.amazon.awssdk.regions.ServiceMetadataProvider}. */ String SERVICE_METADATA_ID = "emr-containers"; /** *

* 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. *

* * @param cancelJobRunRequest * @return A Java Future containing the result of the CancelJobRun operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • ValidationException There are invalid parameters in the client request.
  • *
  • InternalServerException This is an internal server exception.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • EmrContainersException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample EmrContainersAsyncClient.CancelJobRun * @see AWS * API Documentation */ default CompletableFuture cancelJobRun(CancelJobRunRequest cancelJobRunRequest) { throw new UnsupportedOperationException(); } /** *

* 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. *

*
*

* This is a convenience which creates an instance of the {@link CancelJobRunRequest.Builder} avoiding the need to * create one manually via {@link CancelJobRunRequest#builder()} *

* * @param cancelJobRunRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.emrcontainers.model.CancelJobRunRequest.Builder} to create a * request. * @return A Java Future containing the result of the CancelJobRun operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • ValidationException There are invalid parameters in the client request.
  • *
  • InternalServerException This is an internal server exception.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • EmrContainersException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample EmrContainersAsyncClient.CancelJobRun * @see AWS * API Documentation */ default CompletableFuture cancelJobRun(Consumer cancelJobRunRequest) { return cancelJobRun(CancelJobRunRequest.builder().applyMutation(cancelJobRunRequest).build()); } /** *

* 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. *

* * @param createJobTemplateRequest * @return A Java Future containing the result of the CreateJobTemplate operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • ValidationException There are invalid parameters in the client request.
  • *
  • ResourceNotFoundException The specified resource was not found.
  • *
  • InternalServerException This is an internal server exception.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • EmrContainersException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample EmrContainersAsyncClient.CreateJobTemplate * @see AWS API Documentation */ default CompletableFuture createJobTemplate(CreateJobTemplateRequest createJobTemplateRequest) { throw new UnsupportedOperationException(); } /** *

* 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. *

*
*

* This is a convenience which creates an instance of the {@link CreateJobTemplateRequest.Builder} avoiding the need * to create one manually via {@link CreateJobTemplateRequest#builder()} *

* * @param createJobTemplateRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.emrcontainers.model.CreateJobTemplateRequest.Builder} to create a * request. * @return A Java Future containing the result of the CreateJobTemplate operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • ValidationException There are invalid parameters in the client request.
  • *
  • ResourceNotFoundException The specified resource was not found.
  • *
  • InternalServerException This is an internal server exception.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • EmrContainersException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample EmrContainersAsyncClient.CreateJobTemplate * @see AWS API Documentation */ default CompletableFuture createJobTemplate( Consumer createJobTemplateRequest) { return createJobTemplate(CreateJobTemplateRequest.builder().applyMutation(createJobTemplateRequest).build()); } /** *

* 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. *

* * @param createManagedEndpointRequest * @return A Java Future containing the result of the CreateManagedEndpoint operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • ValidationException There are invalid parameters in the client request.
  • *
  • ResourceNotFoundException The specified resource was not found.
  • *
  • InternalServerException This is an internal server exception.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • EmrContainersException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample EmrContainersAsyncClient.CreateManagedEndpoint * @see AWS API Documentation */ default CompletableFuture createManagedEndpoint( CreateManagedEndpointRequest createManagedEndpointRequest) { throw new UnsupportedOperationException(); } /** *

* 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. *

*
*

* This is a convenience which creates an instance of the {@link CreateManagedEndpointRequest.Builder} avoiding the * need to create one manually via {@link CreateManagedEndpointRequest#builder()} *

* * @param createManagedEndpointRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.emrcontainers.model.CreateManagedEndpointRequest.Builder} to create * a request. * @return A Java Future containing the result of the CreateManagedEndpoint operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • ValidationException There are invalid parameters in the client request.
  • *
  • ResourceNotFoundException The specified resource was not found.
  • *
  • InternalServerException This is an internal server exception.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • EmrContainersException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample EmrContainersAsyncClient.CreateManagedEndpoint * @see AWS API Documentation */ default CompletableFuture createManagedEndpoint( Consumer createManagedEndpointRequest) { return createManagedEndpoint(CreateManagedEndpointRequest.builder().applyMutation(createManagedEndpointRequest).build()); } /** *

* 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. *

* * @param createSecurityConfigurationRequest * @return A Java Future containing the result of the CreateSecurityConfiguration operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • ValidationException There are invalid parameters in the client request.
  • *
  • InternalServerException This is an internal server exception.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • EmrContainersException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample EmrContainersAsyncClient.CreateSecurityConfiguration * @see AWS API Documentation */ default CompletableFuture createSecurityConfiguration( CreateSecurityConfigurationRequest createSecurityConfigurationRequest) { throw new UnsupportedOperationException(); } /** *

* 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. *

*
*

* This is a convenience which creates an instance of the {@link CreateSecurityConfigurationRequest.Builder} * avoiding the need to create one manually via {@link CreateSecurityConfigurationRequest#builder()} *

* * @param createSecurityConfigurationRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.emrcontainers.model.CreateSecurityConfigurationRequest.Builder} to * create a request. * @return A Java Future containing the result of the CreateSecurityConfiguration operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • ValidationException There are invalid parameters in the client request.
  • *
  • InternalServerException This is an internal server exception.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • EmrContainersException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample EmrContainersAsyncClient.CreateSecurityConfiguration * @see AWS API Documentation */ default CompletableFuture createSecurityConfiguration( Consumer createSecurityConfigurationRequest) { return createSecurityConfiguration(CreateSecurityConfigurationRequest.builder() .applyMutation(createSecurityConfigurationRequest).build()); } /** *

* 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. *

* * @param createVirtualClusterRequest * @return A Java Future containing the result of the CreateVirtualCluster operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • EmrContainersException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample EmrContainersAsyncClient.CreateVirtualCluster * @see AWS API Documentation */ default CompletableFuture createVirtualCluster( CreateVirtualClusterRequest createVirtualClusterRequest) { throw new UnsupportedOperationException(); } /** *

* 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. *

*
*

* This is a convenience which creates an instance of the {@link CreateVirtualClusterRequest.Builder} avoiding the * need to create one manually via {@link CreateVirtualClusterRequest#builder()} *

* * @param createVirtualClusterRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.emrcontainers.model.CreateVirtualClusterRequest.Builder} to create * a request. * @return A Java Future containing the result of the CreateVirtualCluster operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • EmrContainersException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample EmrContainersAsyncClient.CreateVirtualCluster * @see AWS API Documentation */ default CompletableFuture createVirtualCluster( Consumer createVirtualClusterRequest) { return createVirtualCluster(CreateVirtualClusterRequest.builder().applyMutation(createVirtualClusterRequest).build()); } /** *

* 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. *

* * @param deleteJobTemplateRequest * @return A Java Future containing the result of the DeleteJobTemplate operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • ValidationException There are invalid parameters in the client request.
  • *
  • InternalServerException This is an internal server exception.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • EmrContainersException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample EmrContainersAsyncClient.DeleteJobTemplate * @see AWS API Documentation */ default CompletableFuture deleteJobTemplate(DeleteJobTemplateRequest deleteJobTemplateRequest) { throw new UnsupportedOperationException(); } /** *

* 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. *

*
*

* This is a convenience which creates an instance of the {@link DeleteJobTemplateRequest.Builder} avoiding the need * to create one manually via {@link DeleteJobTemplateRequest#builder()} *

* * @param deleteJobTemplateRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.emrcontainers.model.DeleteJobTemplateRequest.Builder} to create a * request. * @return A Java Future containing the result of the DeleteJobTemplate operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • ValidationException There are invalid parameters in the client request.
  • *
  • InternalServerException This is an internal server exception.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • EmrContainersException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample EmrContainersAsyncClient.DeleteJobTemplate * @see AWS API Documentation */ default CompletableFuture deleteJobTemplate( Consumer deleteJobTemplateRequest) { return deleteJobTemplate(DeleteJobTemplateRequest.builder().applyMutation(deleteJobTemplateRequest).build()); } /** *

* 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. *

* * @param deleteManagedEndpointRequest * @return A Java Future containing the result of the DeleteManagedEndpoint operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • ValidationException There are invalid parameters in the client request.
  • *
  • InternalServerException This is an internal server exception.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • EmrContainersException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample EmrContainersAsyncClient.DeleteManagedEndpoint * @see AWS API Documentation */ default CompletableFuture deleteManagedEndpoint( DeleteManagedEndpointRequest deleteManagedEndpointRequest) { throw new UnsupportedOperationException(); } /** *

* 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. *

*
*

* This is a convenience which creates an instance of the {@link DeleteManagedEndpointRequest.Builder} avoiding the * need to create one manually via {@link DeleteManagedEndpointRequest#builder()} *

* * @param deleteManagedEndpointRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.emrcontainers.model.DeleteManagedEndpointRequest.Builder} to create * a request. * @return A Java Future containing the result of the DeleteManagedEndpoint operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • ValidationException There are invalid parameters in the client request.
  • *
  • InternalServerException This is an internal server exception.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • EmrContainersException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample EmrContainersAsyncClient.DeleteManagedEndpoint * @see AWS API Documentation */ default CompletableFuture deleteManagedEndpoint( Consumer deleteManagedEndpointRequest) { return deleteManagedEndpoint(DeleteManagedEndpointRequest.builder().applyMutation(deleteManagedEndpointRequest).build()); } /** *

* 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. *

* * @param deleteVirtualClusterRequest * @return A Java Future containing the result of the DeleteVirtualCluster operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • ValidationException There are invalid parameters in the client request.
  • *
  • InternalServerException This is an internal server exception.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • EmrContainersException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample EmrContainersAsyncClient.DeleteVirtualCluster * @see AWS API Documentation */ default CompletableFuture deleteVirtualCluster( DeleteVirtualClusterRequest deleteVirtualClusterRequest) { throw new UnsupportedOperationException(); } /** *

* 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. *

*
*

* This is a convenience which creates an instance of the {@link DeleteVirtualClusterRequest.Builder} avoiding the * need to create one manually via {@link DeleteVirtualClusterRequest#builder()} *

* * @param deleteVirtualClusterRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.emrcontainers.model.DeleteVirtualClusterRequest.Builder} to create * a request. * @return A Java Future containing the result of the DeleteVirtualCluster operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • ValidationException There are invalid parameters in the client request.
  • *
  • InternalServerException This is an internal server exception.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • EmrContainersException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample EmrContainersAsyncClient.DeleteVirtualCluster * @see AWS API Documentation */ default CompletableFuture deleteVirtualCluster( Consumer deleteVirtualClusterRequest) { return deleteVirtualCluster(DeleteVirtualClusterRequest.builder().applyMutation(deleteVirtualClusterRequest).build()); } /** *

* 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. *

* * @param describeJobRunRequest * @return A Java Future containing the result of the DescribeJobRun operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • ValidationException There are invalid parameters in the client request.
  • *
  • ResourceNotFoundException The specified resource was not found.
  • *
  • InternalServerException This is an internal server exception.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • EmrContainersException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample EmrContainersAsyncClient.DescribeJobRun * @see AWS * API Documentation */ default CompletableFuture describeJobRun(DescribeJobRunRequest describeJobRunRequest) { throw new UnsupportedOperationException(); } /** *

* 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. *

*
*

* This is a convenience which creates an instance of the {@link DescribeJobRunRequest.Builder} avoiding the need to * create one manually via {@link DescribeJobRunRequest#builder()} *

* * @param describeJobRunRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.emrcontainers.model.DescribeJobRunRequest.Builder} to create a * request. * @return A Java Future containing the result of the DescribeJobRun operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • ValidationException There are invalid parameters in the client request.
  • *
  • ResourceNotFoundException The specified resource was not found.
  • *
  • InternalServerException This is an internal server exception.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • EmrContainersException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample EmrContainersAsyncClient.DescribeJobRun * @see AWS * API Documentation */ default CompletableFuture describeJobRun(Consumer describeJobRunRequest) { return describeJobRun(DescribeJobRunRequest.builder().applyMutation(describeJobRunRequest).build()); } /** *

* 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. *

* * @param describeJobTemplateRequest * @return A Java Future containing the result of the DescribeJobTemplate operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • ValidationException There are invalid parameters in the client request.
  • *
  • ResourceNotFoundException The specified resource was not found.
  • *
  • InternalServerException This is an internal server exception.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • EmrContainersException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample EmrContainersAsyncClient.DescribeJobTemplate * @see AWS API Documentation */ default CompletableFuture describeJobTemplate( DescribeJobTemplateRequest describeJobTemplateRequest) { throw new UnsupportedOperationException(); } /** *

* 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. *

*
*

* This is a convenience which creates an instance of the {@link DescribeJobTemplateRequest.Builder} avoiding the * need to create one manually via {@link DescribeJobTemplateRequest#builder()} *

* * @param describeJobTemplateRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.emrcontainers.model.DescribeJobTemplateRequest.Builder} to create a * request. * @return A Java Future containing the result of the DescribeJobTemplate operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • ValidationException There are invalid parameters in the client request.
  • *
  • ResourceNotFoundException The specified resource was not found.
  • *
  • InternalServerException This is an internal server exception.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • EmrContainersException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample EmrContainersAsyncClient.DescribeJobTemplate * @see AWS API Documentation */ default CompletableFuture describeJobTemplate( Consumer describeJobTemplateRequest) { return describeJobTemplate(DescribeJobTemplateRequest.builder().applyMutation(describeJobTemplateRequest).build()); } /** *

* 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. *

* * @param describeManagedEndpointRequest * @return A Java Future containing the result of the DescribeManagedEndpoint operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • ValidationException There are invalid parameters in the client request.
  • *
  • ResourceNotFoundException The specified resource was not found.
  • *
  • InternalServerException This is an internal server exception.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • EmrContainersException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample EmrContainersAsyncClient.DescribeManagedEndpoint * @see AWS API Documentation */ default CompletableFuture describeManagedEndpoint( DescribeManagedEndpointRequest describeManagedEndpointRequest) { throw new UnsupportedOperationException(); } /** *

* 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. *

*
*

* This is a convenience which creates an instance of the {@link DescribeManagedEndpointRequest.Builder} avoiding * the need to create one manually via {@link DescribeManagedEndpointRequest#builder()} *

* * @param describeManagedEndpointRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.emrcontainers.model.DescribeManagedEndpointRequest.Builder} to * create a request. * @return A Java Future containing the result of the DescribeManagedEndpoint operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • ValidationException There are invalid parameters in the client request.
  • *
  • ResourceNotFoundException The specified resource was not found.
  • *
  • InternalServerException This is an internal server exception.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • EmrContainersException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample EmrContainersAsyncClient.DescribeManagedEndpoint * @see AWS API Documentation */ default CompletableFuture describeManagedEndpoint( Consumer describeManagedEndpointRequest) { return describeManagedEndpoint(DescribeManagedEndpointRequest.builder().applyMutation(describeManagedEndpointRequest) .build()); } /** *

* 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. *

* * @param describeSecurityConfigurationRequest * @return A Java Future containing the result of the DescribeSecurityConfiguration operation returned by the * service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • ValidationException There are invalid parameters in the client request.
  • *
  • ResourceNotFoundException The specified resource was not found.
  • *
  • InternalServerException This is an internal server exception.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • EmrContainersException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample EmrContainersAsyncClient.DescribeSecurityConfiguration * @see AWS API Documentation */ default CompletableFuture describeSecurityConfiguration( DescribeSecurityConfigurationRequest describeSecurityConfigurationRequest) { throw new UnsupportedOperationException(); } /** *

* 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. *

*
*

* This is a convenience which creates an instance of the {@link DescribeSecurityConfigurationRequest.Builder} * avoiding the need to create one manually via {@link DescribeSecurityConfigurationRequest#builder()} *

* * @param describeSecurityConfigurationRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.emrcontainers.model.DescribeSecurityConfigurationRequest.Builder} * to create a request. * @return A Java Future containing the result of the DescribeSecurityConfiguration operation returned by the * service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • ValidationException There are invalid parameters in the client request.
  • *
  • ResourceNotFoundException The specified resource was not found.
  • *
  • InternalServerException This is an internal server exception.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • EmrContainersException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample EmrContainersAsyncClient.DescribeSecurityConfiguration * @see AWS API Documentation */ default CompletableFuture describeSecurityConfiguration( Consumer describeSecurityConfigurationRequest) { return describeSecurityConfiguration(DescribeSecurityConfigurationRequest.builder() .applyMutation(describeSecurityConfigurationRequest).build()); } /** *

* 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. *

* * @param describeVirtualClusterRequest * @return A Java Future containing the result of the DescribeVirtualCluster operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • ValidationException There are invalid parameters in the client request.
  • *
  • ResourceNotFoundException The specified resource was not found.
  • *
  • InternalServerException This is an internal server exception.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • EmrContainersException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample EmrContainersAsyncClient.DescribeVirtualCluster * @see AWS API Documentation */ default CompletableFuture describeVirtualCluster( DescribeVirtualClusterRequest describeVirtualClusterRequest) { throw new UnsupportedOperationException(); } /** *

* 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. *

*
*

* This is a convenience which creates an instance of the {@link DescribeVirtualClusterRequest.Builder} avoiding the * need to create one manually via {@link DescribeVirtualClusterRequest#builder()} *

* * @param describeVirtualClusterRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.emrcontainers.model.DescribeVirtualClusterRequest.Builder} to * create a request. * @return A Java Future containing the result of the DescribeVirtualCluster operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • ValidationException There are invalid parameters in the client request.
  • *
  • ResourceNotFoundException The specified resource was not found.
  • *
  • InternalServerException This is an internal server exception.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • EmrContainersException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample EmrContainersAsyncClient.DescribeVirtualCluster * @see AWS API Documentation */ default CompletableFuture describeVirtualCluster( Consumer describeVirtualClusterRequest) { return describeVirtualCluster(DescribeVirtualClusterRequest.builder().applyMutation(describeVirtualClusterRequest) .build()); } /** *

* Generate a session token to connect to a managed endpoint. *

* * @param getManagedEndpointSessionCredentialsRequest * @return A Java Future containing the result of the GetManagedEndpointSessionCredentials operation returned by the * service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • EmrContainersException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample EmrContainersAsyncClient.GetManagedEndpointSessionCredentials * @see AWS API Documentation */ default CompletableFuture getManagedEndpointSessionCredentials( GetManagedEndpointSessionCredentialsRequest getManagedEndpointSessionCredentialsRequest) { throw new UnsupportedOperationException(); } /** *

* Generate a session token to connect to a managed endpoint. *

*
*

* This is a convenience which creates an instance of the * {@link GetManagedEndpointSessionCredentialsRequest.Builder} avoiding the need to create one manually via * {@link GetManagedEndpointSessionCredentialsRequest#builder()} *

* * @param getManagedEndpointSessionCredentialsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.emrcontainers.model.GetManagedEndpointSessionCredentialsRequest.Builder} * to create a request. * @return A Java Future containing the result of the GetManagedEndpointSessionCredentials operation returned by the * service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • EmrContainersException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample EmrContainersAsyncClient.GetManagedEndpointSessionCredentials * @see AWS API Documentation */ default CompletableFuture getManagedEndpointSessionCredentials( Consumer getManagedEndpointSessionCredentialsRequest) { return getManagedEndpointSessionCredentials(GetManagedEndpointSessionCredentialsRequest.builder() .applyMutation(getManagedEndpointSessionCredentialsRequest).build()); } /** *

* 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. *

* * @param listJobRunsRequest * @return A Java Future containing the result of the ListJobRuns operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • ValidationException There are invalid parameters in the client request.
  • *
  • InternalServerException This is an internal server exception.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • EmrContainersException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample EmrContainersAsyncClient.ListJobRuns * @see AWS * API Documentation */ default CompletableFuture listJobRuns(ListJobRunsRequest listJobRunsRequest) { throw new UnsupportedOperationException(); } /** *

* 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. *

*
*

* This is a convenience which creates an instance of the {@link ListJobRunsRequest.Builder} avoiding the need to * create one manually via {@link ListJobRunsRequest#builder()} *

* * @param listJobRunsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.emrcontainers.model.ListJobRunsRequest.Builder} to create a * request. * @return A Java Future containing the result of the ListJobRuns operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • ValidationException There are invalid parameters in the client request.
  • *
  • InternalServerException This is an internal server exception.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • EmrContainersException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample EmrContainersAsyncClient.ListJobRuns * @see AWS * API Documentation */ default CompletableFuture listJobRuns(Consumer listJobRunsRequest) { return listJobRuns(ListJobRunsRequest.builder().applyMutation(listJobRunsRequest).build()); } /** *

* This is a variant of {@link #listJobRuns(software.amazon.awssdk.services.emrcontainers.model.ListJobRunsRequest)} * operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. * SDK will internally handle making service calls for you. *

*

* When the operation is called, an instance of this class is returned. At this point, no service calls are made yet * and so there is no guarantee that the request is valid. If there are errors in your request, you will see the * failures only after you start streaming the data. The subscribe method should be called as a request to start * streaming data. For more info, see * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.Subscription} i.e., a new contract to stream data from the * starting request. *

* *

* The following are few ways to use the response class: *

* 1) Using the subscribe helper method * *
     * {@code
     * software.amazon.awssdk.services.emrcontainers.paginators.ListJobRunsPublisher publisher = client.listJobRunsPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.emrcontainers.paginators.ListJobRunsPublisher publisher = client.listJobRunsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.emrcontainers.model.ListJobRunsResponse response) { //... };
     * });}
     * 
* * As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2. *

* Please notice that the configuration of maxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listJobRuns(software.amazon.awssdk.services.emrcontainers.model.ListJobRunsRequest)} operation. *

* * @param listJobRunsRequest * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • ValidationException There are invalid parameters in the client request.
  • *
  • InternalServerException This is an internal server exception.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • EmrContainersException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample EmrContainersAsyncClient.ListJobRuns * @see AWS * API Documentation */ default ListJobRunsPublisher listJobRunsPaginator(ListJobRunsRequest listJobRunsRequest) { return new ListJobRunsPublisher(this, listJobRunsRequest); } /** *

* This is a variant of {@link #listJobRuns(software.amazon.awssdk.services.emrcontainers.model.ListJobRunsRequest)} * operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. * SDK will internally handle making service calls for you. *

*

* When the operation is called, an instance of this class is returned. At this point, no service calls are made yet * and so there is no guarantee that the request is valid. If there are errors in your request, you will see the * failures only after you start streaming the data. The subscribe method should be called as a request to start * streaming data. For more info, see * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.Subscription} i.e., a new contract to stream data from the * starting request. *

* *

* The following are few ways to use the response class: *

* 1) Using the subscribe helper method * *
     * {@code
     * software.amazon.awssdk.services.emrcontainers.paginators.ListJobRunsPublisher publisher = client.listJobRunsPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.emrcontainers.paginators.ListJobRunsPublisher publisher = client.listJobRunsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.emrcontainers.model.ListJobRunsResponse response) { //... };
     * });}
     * 
* * As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2. *

* Please notice that the configuration of maxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listJobRuns(software.amazon.awssdk.services.emrcontainers.model.ListJobRunsRequest)} operation. *

*
*

* This is a convenience which creates an instance of the {@link ListJobRunsRequest.Builder} avoiding the need to * create one manually via {@link ListJobRunsRequest#builder()} *

* * @param listJobRunsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.emrcontainers.model.ListJobRunsRequest.Builder} to create a * request. * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • ValidationException There are invalid parameters in the client request.
  • *
  • InternalServerException This is an internal server exception.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • EmrContainersException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample EmrContainersAsyncClient.ListJobRuns * @see AWS * API Documentation */ default ListJobRunsPublisher listJobRunsPaginator(Consumer listJobRunsRequest) { return listJobRunsPaginator(ListJobRunsRequest.builder().applyMutation(listJobRunsRequest).build()); } /** *

* 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. *

* * @param listJobTemplatesRequest * @return A Java Future containing the result of the ListJobTemplates operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • ValidationException There are invalid parameters in the client request.
  • *
  • InternalServerException This is an internal server exception.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • EmrContainersException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample EmrContainersAsyncClient.ListJobTemplates * @see AWS API Documentation */ default CompletableFuture listJobTemplates(ListJobTemplatesRequest listJobTemplatesRequest) { throw new UnsupportedOperationException(); } /** *

* 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. *

*
*

* This is a convenience which creates an instance of the {@link ListJobTemplatesRequest.Builder} avoiding the need * to create one manually via {@link ListJobTemplatesRequest#builder()} *

* * @param listJobTemplatesRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.emrcontainers.model.ListJobTemplatesRequest.Builder} to create a * request. * @return A Java Future containing the result of the ListJobTemplates operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • ValidationException There are invalid parameters in the client request.
  • *
  • InternalServerException This is an internal server exception.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • EmrContainersException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample EmrContainersAsyncClient.ListJobTemplates * @see AWS API Documentation */ default CompletableFuture listJobTemplates( Consumer listJobTemplatesRequest) { return listJobTemplates(ListJobTemplatesRequest.builder().applyMutation(listJobTemplatesRequest).build()); } /** *

* This is a variant of * {@link #listJobTemplates(software.amazon.awssdk.services.emrcontainers.model.ListJobTemplatesRequest)} operation. * The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will * internally handle making service calls for you. *

*

* When the operation is called, an instance of this class is returned. At this point, no service calls are made yet * and so there is no guarantee that the request is valid. If there are errors in your request, you will see the * failures only after you start streaming the data. The subscribe method should be called as a request to start * streaming data. For more info, see * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.Subscription} i.e., a new contract to stream data from the * starting request. *

* *

* The following are few ways to use the response class: *

* 1) Using the subscribe helper method * *
     * {@code
     * software.amazon.awssdk.services.emrcontainers.paginators.ListJobTemplatesPublisher publisher = client.listJobTemplatesPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.emrcontainers.paginators.ListJobTemplatesPublisher publisher = client.listJobTemplatesPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.emrcontainers.model.ListJobTemplatesResponse response) { //... };
     * });}
     * 
* * As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2. *

* Please notice that the configuration of maxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listJobTemplates(software.amazon.awssdk.services.emrcontainers.model.ListJobTemplatesRequest)} * operation. *

* * @param listJobTemplatesRequest * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • ValidationException There are invalid parameters in the client request.
  • *
  • InternalServerException This is an internal server exception.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • EmrContainersException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample EmrContainersAsyncClient.ListJobTemplates * @see AWS API Documentation */ default ListJobTemplatesPublisher listJobTemplatesPaginator(ListJobTemplatesRequest listJobTemplatesRequest) { return new ListJobTemplatesPublisher(this, listJobTemplatesRequest); } /** *

* This is a variant of * {@link #listJobTemplates(software.amazon.awssdk.services.emrcontainers.model.ListJobTemplatesRequest)} operation. * The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will * internally handle making service calls for you. *

*

* When the operation is called, an instance of this class is returned. At this point, no service calls are made yet * and so there is no guarantee that the request is valid. If there are errors in your request, you will see the * failures only after you start streaming the data. The subscribe method should be called as a request to start * streaming data. For more info, see * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.Subscription} i.e., a new contract to stream data from the * starting request. *

* *

* The following are few ways to use the response class: *

* 1) Using the subscribe helper method * *
     * {@code
     * software.amazon.awssdk.services.emrcontainers.paginators.ListJobTemplatesPublisher publisher = client.listJobTemplatesPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.emrcontainers.paginators.ListJobTemplatesPublisher publisher = client.listJobTemplatesPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.emrcontainers.model.ListJobTemplatesResponse response) { //... };
     * });}
     * 
* * As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2. *

* Please notice that the configuration of maxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listJobTemplates(software.amazon.awssdk.services.emrcontainers.model.ListJobTemplatesRequest)} * operation. *

*
*

* This is a convenience which creates an instance of the {@link ListJobTemplatesRequest.Builder} avoiding the need * to create one manually via {@link ListJobTemplatesRequest#builder()} *

* * @param listJobTemplatesRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.emrcontainers.model.ListJobTemplatesRequest.Builder} to create a * request. * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • ValidationException There are invalid parameters in the client request.
  • *
  • InternalServerException This is an internal server exception.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • EmrContainersException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample EmrContainersAsyncClient.ListJobTemplates * @see AWS API Documentation */ default ListJobTemplatesPublisher listJobTemplatesPaginator(Consumer listJobTemplatesRequest) { return listJobTemplatesPaginator(ListJobTemplatesRequest.builder().applyMutation(listJobTemplatesRequest).build()); } /** *

* 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. *

* * @param listManagedEndpointsRequest * @return A Java Future containing the result of the ListManagedEndpoints operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • ValidationException There are invalid parameters in the client request.
  • *
  • InternalServerException This is an internal server exception.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • EmrContainersException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample EmrContainersAsyncClient.ListManagedEndpoints * @see AWS API Documentation */ default CompletableFuture listManagedEndpoints( ListManagedEndpointsRequest listManagedEndpointsRequest) { throw new UnsupportedOperationException(); } /** *

* 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. *

*
*

* This is a convenience which creates an instance of the {@link ListManagedEndpointsRequest.Builder} avoiding the * need to create one manually via {@link ListManagedEndpointsRequest#builder()} *

* * @param listManagedEndpointsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.emrcontainers.model.ListManagedEndpointsRequest.Builder} to create * a request. * @return A Java Future containing the result of the ListManagedEndpoints operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • ValidationException There are invalid parameters in the client request.
  • *
  • InternalServerException This is an internal server exception.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • EmrContainersException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample EmrContainersAsyncClient.ListManagedEndpoints * @see AWS API Documentation */ default CompletableFuture listManagedEndpoints( Consumer listManagedEndpointsRequest) { return listManagedEndpoints(ListManagedEndpointsRequest.builder().applyMutation(listManagedEndpointsRequest).build()); } /** *

* This is a variant of * {@link #listManagedEndpoints(software.amazon.awssdk.services.emrcontainers.model.ListManagedEndpointsRequest)} * operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. * SDK will internally handle making service calls for you. *

*

* When the operation is called, an instance of this class is returned. At this point, no service calls are made yet * and so there is no guarantee that the request is valid. If there are errors in your request, you will see the * failures only after you start streaming the data. The subscribe method should be called as a request to start * streaming data. For more info, see * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.Subscription} i.e., a new contract to stream data from the * starting request. *

* *

* The following are few ways to use the response class: *

* 1) Using the subscribe helper method * *
     * {@code
     * software.amazon.awssdk.services.emrcontainers.paginators.ListManagedEndpointsPublisher publisher = client.listManagedEndpointsPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.emrcontainers.paginators.ListManagedEndpointsPublisher publisher = client.listManagedEndpointsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.emrcontainers.model.ListManagedEndpointsResponse response) { //... };
     * });}
     * 
* * As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2. *

* Please notice that the configuration of maxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listManagedEndpoints(software.amazon.awssdk.services.emrcontainers.model.ListManagedEndpointsRequest)} * operation. *

* * @param listManagedEndpointsRequest * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • ValidationException There are invalid parameters in the client request.
  • *
  • InternalServerException This is an internal server exception.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • EmrContainersException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample EmrContainersAsyncClient.ListManagedEndpoints * @see AWS API Documentation */ default ListManagedEndpointsPublisher listManagedEndpointsPaginator(ListManagedEndpointsRequest listManagedEndpointsRequest) { return new ListManagedEndpointsPublisher(this, listManagedEndpointsRequest); } /** *

* This is a variant of * {@link #listManagedEndpoints(software.amazon.awssdk.services.emrcontainers.model.ListManagedEndpointsRequest)} * operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. * SDK will internally handle making service calls for you. *

*

* When the operation is called, an instance of this class is returned. At this point, no service calls are made yet * and so there is no guarantee that the request is valid. If there are errors in your request, you will see the * failures only after you start streaming the data. The subscribe method should be called as a request to start * streaming data. For more info, see * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.Subscription} i.e., a new contract to stream data from the * starting request. *

* *

* The following are few ways to use the response class: *

* 1) Using the subscribe helper method * *
     * {@code
     * software.amazon.awssdk.services.emrcontainers.paginators.ListManagedEndpointsPublisher publisher = client.listManagedEndpointsPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.emrcontainers.paginators.ListManagedEndpointsPublisher publisher = client.listManagedEndpointsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.emrcontainers.model.ListManagedEndpointsResponse response) { //... };
     * });}
     * 
* * As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2. *

* Please notice that the configuration of maxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listManagedEndpoints(software.amazon.awssdk.services.emrcontainers.model.ListManagedEndpointsRequest)} * operation. *

*
*

* This is a convenience which creates an instance of the {@link ListManagedEndpointsRequest.Builder} avoiding the * need to create one manually via {@link ListManagedEndpointsRequest#builder()} *

* * @param listManagedEndpointsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.emrcontainers.model.ListManagedEndpointsRequest.Builder} to create * a request. * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • ValidationException There are invalid parameters in the client request.
  • *
  • InternalServerException This is an internal server exception.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • EmrContainersException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample EmrContainersAsyncClient.ListManagedEndpoints * @see AWS API Documentation */ default ListManagedEndpointsPublisher listManagedEndpointsPaginator( Consumer listManagedEndpointsRequest) { return listManagedEndpointsPaginator(ListManagedEndpointsRequest.builder().applyMutation(listManagedEndpointsRequest) .build()); } /** *

* 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. *

* * @param listSecurityConfigurationsRequest * @return A Java Future containing the result of the ListSecurityConfigurations operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • ValidationException There are invalid parameters in the client request.
  • *
  • InternalServerException This is an internal server exception.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • EmrContainersException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample EmrContainersAsyncClient.ListSecurityConfigurations * @see AWS API Documentation */ default CompletableFuture listSecurityConfigurations( ListSecurityConfigurationsRequest listSecurityConfigurationsRequest) { throw new UnsupportedOperationException(); } /** *

* 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. *

*
*

* This is a convenience which creates an instance of the {@link ListSecurityConfigurationsRequest.Builder} avoiding * the need to create one manually via {@link ListSecurityConfigurationsRequest#builder()} *

* * @param listSecurityConfigurationsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.emrcontainers.model.ListSecurityConfigurationsRequest.Builder} to * create a request. * @return A Java Future containing the result of the ListSecurityConfigurations operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • ValidationException There are invalid parameters in the client request.
  • *
  • InternalServerException This is an internal server exception.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • EmrContainersException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample EmrContainersAsyncClient.ListSecurityConfigurations * @see AWS API Documentation */ default CompletableFuture listSecurityConfigurations( Consumer listSecurityConfigurationsRequest) { return listSecurityConfigurations(ListSecurityConfigurationsRequest.builder() .applyMutation(listSecurityConfigurationsRequest).build()); } /** *

* This is a variant of * {@link #listSecurityConfigurations(software.amazon.awssdk.services.emrcontainers.model.ListSecurityConfigurationsRequest)} * operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. * SDK will internally handle making service calls for you. *

*

* When the operation is called, an instance of this class is returned. At this point, no service calls are made yet * and so there is no guarantee that the request is valid. If there are errors in your request, you will see the * failures only after you start streaming the data. The subscribe method should be called as a request to start * streaming data. For more info, see * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.Subscription} i.e., a new contract to stream data from the * starting request. *

* *

* The following are few ways to use the response class: *

* 1) Using the subscribe helper method * *
     * {@code
     * software.amazon.awssdk.services.emrcontainers.paginators.ListSecurityConfigurationsPublisher publisher = client.listSecurityConfigurationsPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.emrcontainers.paginators.ListSecurityConfigurationsPublisher publisher = client.listSecurityConfigurationsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.emrcontainers.model.ListSecurityConfigurationsResponse response) { //... };
     * });}
     * 
* * As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2. *

* Please notice that the configuration of maxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listSecurityConfigurations(software.amazon.awssdk.services.emrcontainers.model.ListSecurityConfigurationsRequest)} * operation. *

* * @param listSecurityConfigurationsRequest * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • ValidationException There are invalid parameters in the client request.
  • *
  • InternalServerException This is an internal server exception.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • EmrContainersException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample EmrContainersAsyncClient.ListSecurityConfigurations * @see AWS API Documentation */ default ListSecurityConfigurationsPublisher listSecurityConfigurationsPaginator( ListSecurityConfigurationsRequest listSecurityConfigurationsRequest) { return new ListSecurityConfigurationsPublisher(this, listSecurityConfigurationsRequest); } /** *

* This is a variant of * {@link #listSecurityConfigurations(software.amazon.awssdk.services.emrcontainers.model.ListSecurityConfigurationsRequest)} * operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. * SDK will internally handle making service calls for you. *

*

* When the operation is called, an instance of this class is returned. At this point, no service calls are made yet * and so there is no guarantee that the request is valid. If there are errors in your request, you will see the * failures only after you start streaming the data. The subscribe method should be called as a request to start * streaming data. For more info, see * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.Subscription} i.e., a new contract to stream data from the * starting request. *

* *

* The following are few ways to use the response class: *

* 1) Using the subscribe helper method * *
     * {@code
     * software.amazon.awssdk.services.emrcontainers.paginators.ListSecurityConfigurationsPublisher publisher = client.listSecurityConfigurationsPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.emrcontainers.paginators.ListSecurityConfigurationsPublisher publisher = client.listSecurityConfigurationsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.emrcontainers.model.ListSecurityConfigurationsResponse response) { //... };
     * });}
     * 
* * As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2. *

* Please notice that the configuration of maxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listSecurityConfigurations(software.amazon.awssdk.services.emrcontainers.model.ListSecurityConfigurationsRequest)} * operation. *

*
*

* This is a convenience which creates an instance of the {@link ListSecurityConfigurationsRequest.Builder} avoiding * the need to create one manually via {@link ListSecurityConfigurationsRequest#builder()} *

* * @param listSecurityConfigurationsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.emrcontainers.model.ListSecurityConfigurationsRequest.Builder} to * create a request. * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • ValidationException There are invalid parameters in the client request.
  • *
  • InternalServerException This is an internal server exception.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • EmrContainersException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample EmrContainersAsyncClient.ListSecurityConfigurations * @see AWS API Documentation */ default ListSecurityConfigurationsPublisher listSecurityConfigurationsPaginator( Consumer listSecurityConfigurationsRequest) { return listSecurityConfigurationsPaginator(ListSecurityConfigurationsRequest.builder() .applyMutation(listSecurityConfigurationsRequest).build()); } /** *

* Lists the tags assigned to the resources. *

* * @param listTagsForResourceRequest * @return A Java Future containing the result of the ListTagsForResource operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalServerException This is an internal server exception.
  • *
  • ValidationException There are invalid parameters in the client request.
  • *
  • ResourceNotFoundException The specified resource was not found.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • EmrContainersException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample EmrContainersAsyncClient.ListTagsForResource * @see AWS API Documentation */ default CompletableFuture listTagsForResource( ListTagsForResourceRequest listTagsForResourceRequest) { throw new UnsupportedOperationException(); } /** *

* Lists the tags assigned to the resources. *

*
*

* This is a convenience which creates an instance of the {@link ListTagsForResourceRequest.Builder} avoiding the * need to create one manually via {@link ListTagsForResourceRequest#builder()} *

* * @param listTagsForResourceRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.emrcontainers.model.ListTagsForResourceRequest.Builder} to create a * request. * @return A Java Future containing the result of the ListTagsForResource operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalServerException This is an internal server exception.
  • *
  • ValidationException There are invalid parameters in the client request.
  • *
  • ResourceNotFoundException The specified resource was not found.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • EmrContainersException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample EmrContainersAsyncClient.ListTagsForResource * @see AWS API Documentation */ default CompletableFuture listTagsForResource( Consumer listTagsForResourceRequest) { return listTagsForResource(ListTagsForResourceRequest.builder().applyMutation(listTagsForResourceRequest).build()); } /** *

* 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. *

* * @param listVirtualClustersRequest * @return A Java Future containing the result of the ListVirtualClusters operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • ValidationException There are invalid parameters in the client request.
  • *
  • InternalServerException This is an internal server exception.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • EmrContainersException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample EmrContainersAsyncClient.ListVirtualClusters * @see AWS API Documentation */ default CompletableFuture listVirtualClusters( ListVirtualClustersRequest listVirtualClustersRequest) { throw new UnsupportedOperationException(); } /** *

* 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. *

*
*

* This is a convenience which creates an instance of the {@link ListVirtualClustersRequest.Builder} avoiding the * need to create one manually via {@link ListVirtualClustersRequest#builder()} *

* * @param listVirtualClustersRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.emrcontainers.model.ListVirtualClustersRequest.Builder} to create a * request. * @return A Java Future containing the result of the ListVirtualClusters operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • ValidationException There are invalid parameters in the client request.
  • *
  • InternalServerException This is an internal server exception.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • EmrContainersException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample EmrContainersAsyncClient.ListVirtualClusters * @see AWS API Documentation */ default CompletableFuture listVirtualClusters( Consumer listVirtualClustersRequest) { return listVirtualClusters(ListVirtualClustersRequest.builder().applyMutation(listVirtualClustersRequest).build()); } /** *

* This is a variant of * {@link #listVirtualClusters(software.amazon.awssdk.services.emrcontainers.model.ListVirtualClustersRequest)} * operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. * SDK will internally handle making service calls for you. *

*

* When the operation is called, an instance of this class is returned. At this point, no service calls are made yet * and so there is no guarantee that the request is valid. If there are errors in your request, you will see the * failures only after you start streaming the data. The subscribe method should be called as a request to start * streaming data. For more info, see * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.Subscription} i.e., a new contract to stream data from the * starting request. *

* *

* The following are few ways to use the response class: *

* 1) Using the subscribe helper method * *
     * {@code
     * software.amazon.awssdk.services.emrcontainers.paginators.ListVirtualClustersPublisher publisher = client.listVirtualClustersPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.emrcontainers.paginators.ListVirtualClustersPublisher publisher = client.listVirtualClustersPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.emrcontainers.model.ListVirtualClustersResponse response) { //... };
     * });}
     * 
* * As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2. *

* Please notice that the configuration of maxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listVirtualClusters(software.amazon.awssdk.services.emrcontainers.model.ListVirtualClustersRequest)} * operation. *

* * @param listVirtualClustersRequest * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • ValidationException There are invalid parameters in the client request.
  • *
  • InternalServerException This is an internal server exception.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • EmrContainersException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample EmrContainersAsyncClient.ListVirtualClusters * @see AWS API Documentation */ default ListVirtualClustersPublisher listVirtualClustersPaginator(ListVirtualClustersRequest listVirtualClustersRequest) { return new ListVirtualClustersPublisher(this, listVirtualClustersRequest); } /** *

* This is a variant of * {@link #listVirtualClusters(software.amazon.awssdk.services.emrcontainers.model.ListVirtualClustersRequest)} * operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. * SDK will internally handle making service calls for you. *

*

* When the operation is called, an instance of this class is returned. At this point, no service calls are made yet * and so there is no guarantee that the request is valid. If there are errors in your request, you will see the * failures only after you start streaming the data. The subscribe method should be called as a request to start * streaming data. For more info, see * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.Subscription} i.e., a new contract to stream data from the * starting request. *

* *

* The following are few ways to use the response class: *

* 1) Using the subscribe helper method * *
     * {@code
     * software.amazon.awssdk.services.emrcontainers.paginators.ListVirtualClustersPublisher publisher = client.listVirtualClustersPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.emrcontainers.paginators.ListVirtualClustersPublisher publisher = client.listVirtualClustersPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.emrcontainers.model.ListVirtualClustersResponse response) { //... };
     * });}
     * 
* * As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2. *

* Please notice that the configuration of maxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listVirtualClusters(software.amazon.awssdk.services.emrcontainers.model.ListVirtualClustersRequest)} * operation. *

*
*

* This is a convenience which creates an instance of the {@link ListVirtualClustersRequest.Builder} avoiding the * need to create one manually via {@link ListVirtualClustersRequest#builder()} *

* * @param listVirtualClustersRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.emrcontainers.model.ListVirtualClustersRequest.Builder} to create a * request. * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • ValidationException There are invalid parameters in the client request.
  • *
  • InternalServerException This is an internal server exception.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • EmrContainersException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample EmrContainersAsyncClient.ListVirtualClusters * @see AWS API Documentation */ default ListVirtualClustersPublisher listVirtualClustersPaginator( Consumer listVirtualClustersRequest) { return listVirtualClustersPaginator(ListVirtualClustersRequest.builder().applyMutation(listVirtualClustersRequest) .build()); } /** *

* 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. *

* * @param startJobRunRequest * @return A Java Future containing the result of the StartJobRun operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • ValidationException There are invalid parameters in the client request.
  • *
  • ResourceNotFoundException The specified resource was not found.
  • *
  • InternalServerException This is an internal server exception.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • EmrContainersException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample EmrContainersAsyncClient.StartJobRun * @see AWS * API Documentation */ default CompletableFuture startJobRun(StartJobRunRequest startJobRunRequest) { throw new UnsupportedOperationException(); } /** *

* 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. *

*
*

* This is a convenience which creates an instance of the {@link StartJobRunRequest.Builder} avoiding the need to * create one manually via {@link StartJobRunRequest#builder()} *

* * @param startJobRunRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.emrcontainers.model.StartJobRunRequest.Builder} to create a * request. * @return A Java Future containing the result of the StartJobRun operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • ValidationException There are invalid parameters in the client request.
  • *
  • ResourceNotFoundException The specified resource was not found.
  • *
  • InternalServerException This is an internal server exception.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • EmrContainersException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample EmrContainersAsyncClient.StartJobRun * @see AWS * API Documentation */ default CompletableFuture startJobRun(Consumer startJobRunRequest) { return startJobRun(StartJobRunRequest.builder().applyMutation(startJobRunRequest).build()); } /** *

* 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. *

* * @param tagResourceRequest * @return A Java Future containing the result of the TagResource operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalServerException This is an internal server exception.
  • *
  • ValidationException There are invalid parameters in the client request.
  • *
  • ResourceNotFoundException The specified resource was not found.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • EmrContainersException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample EmrContainersAsyncClient.TagResource * @see AWS * API Documentation */ default CompletableFuture tagResource(TagResourceRequest tagResourceRequest) { throw new UnsupportedOperationException(); } /** *

* 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. *

*
*

* This is a convenience which creates an instance of the {@link TagResourceRequest.Builder} avoiding the need to * create one manually via {@link TagResourceRequest#builder()} *

* * @param tagResourceRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.emrcontainers.model.TagResourceRequest.Builder} to create a * request. * @return A Java Future containing the result of the TagResource operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalServerException This is an internal server exception.
  • *
  • ValidationException There are invalid parameters in the client request.
  • *
  • ResourceNotFoundException The specified resource was not found.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • EmrContainersException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample EmrContainersAsyncClient.TagResource * @see AWS * API Documentation */ default CompletableFuture tagResource(Consumer tagResourceRequest) { return tagResource(TagResourceRequest.builder().applyMutation(tagResourceRequest).build()); } /** *

* Removes tags from resources. *

* * @param untagResourceRequest * @return A Java Future containing the result of the UntagResource operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalServerException This is an internal server exception.
  • *
  • ValidationException There are invalid parameters in the client request.
  • *
  • ResourceNotFoundException The specified resource was not found.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • EmrContainersException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample EmrContainersAsyncClient.UntagResource * @see AWS * API Documentation */ default CompletableFuture untagResource(UntagResourceRequest untagResourceRequest) { throw new UnsupportedOperationException(); } /** *

* Removes tags from resources. *

*
*

* This is a convenience which creates an instance of the {@link UntagResourceRequest.Builder} avoiding the need to * create one manually via {@link UntagResourceRequest#builder()} *

* * @param untagResourceRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.emrcontainers.model.UntagResourceRequest.Builder} to create a * request. * @return A Java Future containing the result of the UntagResource operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalServerException This is an internal server exception.
  • *
  • ValidationException There are invalid parameters in the client request.
  • *
  • ResourceNotFoundException The specified resource was not found.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • EmrContainersException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample EmrContainersAsyncClient.UntagResource * @see AWS * API Documentation */ default CompletableFuture untagResource(Consumer untagResourceRequest) { return untagResource(UntagResourceRequest.builder().applyMutation(untagResourceRequest).build()); } @Override default EmrContainersServiceClientConfiguration serviceClientConfiguration() { throw new UnsupportedOperationException(); } /** * Create a {@link EmrContainersAsyncClient} with the region loaded from the * {@link software.amazon.awssdk.regions.providers.DefaultAwsRegionProviderChain} and credentials loaded from the * {@link software.amazon.awssdk.auth.credentials.DefaultCredentialsProvider}. */ static EmrContainersAsyncClient create() { return builder().build(); } /** * Create a builder that can be used to configure and create a {@link EmrContainersAsyncClient}. */ static EmrContainersAsyncClientBuilder builder() { return new DefaultEmrContainersAsyncClientBuilder(); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy