/* * 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. */ /* * Do not modify this file. This file is generated from the emr-containers-2020-10-01.normal.json service model. */ using System; using System.Threading; using System.Threading.Tasks; using System.Collections.Generic; using Amazon.Runtime; using Amazon.EMRContainers.Model; namespace Amazon.EMRContainers { /// /// Interface for accessing EMRContainers /// /// 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 shared id="EMR-EKS"/>. /// /// /// /// Amazon EMR containers is the API name for Amazon EMR on EKS. The emr-containers /// prefix is used in the following scenarios: /// /// /// public partial interface IAmazonEMRContainers : IAmazonService, IDisposable { #if AWS_ASYNC_ENUMERABLES_API /// /// Paginators for the service /// IEMRContainersPaginatorFactory Paginators { get; } #endif #region CancelJobRun /// /// 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. /// /// Container for the necessary parameters to execute the CancelJobRun service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CancelJobRun service method, as returned by EMRContainers. /// /// This is an internal server exception. /// /// /// There are invalid parameters in the client request. /// /// REST API Reference for CancelJobRun Operation Task CancelJobRunAsync(CancelJobRunRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region CreateJobTemplate /// /// 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. /// /// Container for the necessary parameters to execute the CreateJobTemplate service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateJobTemplate service method, as returned by EMRContainers. /// /// This is an internal server exception. /// /// /// The specified resource was not found. /// /// /// There are invalid parameters in the client request. /// /// REST API Reference for CreateJobTemplate Operation Task CreateJobTemplateAsync(CreateJobTemplateRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region CreateManagedEndpoint /// /// 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. /// /// Container for the necessary parameters to execute the CreateManagedEndpoint service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateManagedEndpoint service method, as returned by EMRContainers. /// /// This is an internal server exception. /// /// /// The specified resource was not found. /// /// /// There are invalid parameters in the client request. /// /// REST API Reference for CreateManagedEndpoint Operation Task CreateManagedEndpointAsync(CreateManagedEndpointRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region CreateVirtualCluster /// /// 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. /// /// Container for the necessary parameters to execute the CreateVirtualCluster service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateVirtualCluster service method, as returned by EMRContainers. /// /// This is an internal server exception. /// /// /// The specified resource was not found. /// /// /// There are invalid parameters in the client request. /// /// REST API Reference for CreateVirtualCluster Operation Task CreateVirtualClusterAsync(CreateVirtualClusterRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DeleteJobTemplate /// /// 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. /// /// Container for the necessary parameters to execute the DeleteJobTemplate service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteJobTemplate service method, as returned by EMRContainers. /// /// This is an internal server exception. /// /// /// There are invalid parameters in the client request. /// /// REST API Reference for DeleteJobTemplate Operation Task DeleteJobTemplateAsync(DeleteJobTemplateRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DeleteManagedEndpoint /// /// 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. /// /// Container for the necessary parameters to execute the DeleteManagedEndpoint service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteManagedEndpoint service method, as returned by EMRContainers. /// /// This is an internal server exception. /// /// /// There are invalid parameters in the client request. /// /// REST API Reference for DeleteManagedEndpoint Operation Task DeleteManagedEndpointAsync(DeleteManagedEndpointRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DeleteVirtualCluster /// /// 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. /// /// Container for the necessary parameters to execute the DeleteVirtualCluster service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteVirtualCluster service method, as returned by EMRContainers. /// /// This is an internal server exception. /// /// /// There are invalid parameters in the client request. /// /// REST API Reference for DeleteVirtualCluster Operation Task DeleteVirtualClusterAsync(DeleteVirtualClusterRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DescribeJobRun /// /// 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. /// /// Container for the necessary parameters to execute the DescribeJobRun service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeJobRun service method, as returned by EMRContainers. /// /// This is an internal server exception. /// /// /// The specified resource was not found. /// /// /// There are invalid parameters in the client request. /// /// REST API Reference for DescribeJobRun Operation Task DescribeJobRunAsync(DescribeJobRunRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DescribeJobTemplate /// /// 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. /// /// Container for the necessary parameters to execute the DescribeJobTemplate service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeJobTemplate service method, as returned by EMRContainers. /// /// This is an internal server exception. /// /// /// The specified resource was not found. /// /// /// There are invalid parameters in the client request. /// /// REST API Reference for DescribeJobTemplate Operation Task DescribeJobTemplateAsync(DescribeJobTemplateRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DescribeManagedEndpoint /// /// 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. /// /// Container for the necessary parameters to execute the DescribeManagedEndpoint service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeManagedEndpoint service method, as returned by EMRContainers. /// /// This is an internal server exception. /// /// /// The specified resource was not found. /// /// /// There are invalid parameters in the client request. /// /// REST API Reference for DescribeManagedEndpoint Operation Task DescribeManagedEndpointAsync(DescribeManagedEndpointRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DescribeVirtualCluster /// /// 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. /// /// Container for the necessary parameters to execute the DescribeVirtualCluster service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeVirtualCluster service method, as returned by EMRContainers. /// /// This is an internal server exception. /// /// /// The specified resource was not found. /// /// /// There are invalid parameters in the client request. /// /// REST API Reference for DescribeVirtualCluster Operation Task DescribeVirtualClusterAsync(DescribeVirtualClusterRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region GetManagedEndpointSessionCredentials /// /// Generate a session token to connect to a managed endpoint. /// /// Container for the necessary parameters to execute the GetManagedEndpointSessionCredentials service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetManagedEndpointSessionCredentials service method, as returned by EMRContainers. /// /// This is an internal server exception. /// /// /// The request throttled. /// /// /// The specified resource was not found. /// /// /// There are invalid parameters in the client request. /// /// REST API Reference for GetManagedEndpointSessionCredentials Operation Task GetManagedEndpointSessionCredentialsAsync(GetManagedEndpointSessionCredentialsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region ListJobRuns /// /// 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. /// /// Container for the necessary parameters to execute the ListJobRuns service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListJobRuns service method, as returned by EMRContainers. /// /// This is an internal server exception. /// /// /// There are invalid parameters in the client request. /// /// REST API Reference for ListJobRuns Operation Task ListJobRunsAsync(ListJobRunsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region ListJobTemplates /// /// 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. /// /// Container for the necessary parameters to execute the ListJobTemplates service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListJobTemplates service method, as returned by EMRContainers. /// /// This is an internal server exception. /// /// /// There are invalid parameters in the client request. /// /// REST API Reference for ListJobTemplates Operation Task ListJobTemplatesAsync(ListJobTemplatesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region ListManagedEndpoints /// /// 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. /// /// Container for the necessary parameters to execute the ListManagedEndpoints service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListManagedEndpoints service method, as returned by EMRContainers. /// /// This is an internal server exception. /// /// /// There are invalid parameters in the client request. /// /// REST API Reference for ListManagedEndpoints Operation Task ListManagedEndpointsAsync(ListManagedEndpointsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region ListTagsForResource /// /// Lists the tags assigned to the resources. /// /// Container for the necessary parameters to execute the ListTagsForResource service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListTagsForResource service method, as returned by EMRContainers. /// /// This is an internal server exception. /// /// /// The specified resource was not found. /// /// /// There are invalid parameters in the client request. /// /// REST API Reference for ListTagsForResource Operation Task ListTagsForResourceAsync(ListTagsForResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region ListVirtualClusters /// /// 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. /// /// Container for the necessary parameters to execute the ListVirtualClusters service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListVirtualClusters service method, as returned by EMRContainers. /// /// This is an internal server exception. /// /// /// There are invalid parameters in the client request. /// /// REST API Reference for ListVirtualClusters Operation Task ListVirtualClustersAsync(ListVirtualClustersRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region StartJobRun /// /// 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. /// /// Container for the necessary parameters to execute the StartJobRun service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the StartJobRun service method, as returned by EMRContainers. /// /// This is an internal server exception. /// /// /// The specified resource was not found. /// /// /// There are invalid parameters in the client request. /// /// REST API Reference for StartJobRun Operation Task StartJobRunAsync(StartJobRunRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region TagResource /// /// 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. /// /// Container for the necessary parameters to execute the TagResource service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the TagResource service method, as returned by EMRContainers. /// /// This is an internal server exception. /// /// /// The specified resource was not found. /// /// /// There are invalid parameters in the client request. /// /// REST API Reference for TagResource Operation Task TagResourceAsync(TagResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region UntagResource /// /// Removes tags from resources. /// /// Container for the necessary parameters to execute the UntagResource service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the UntagResource service method, as returned by EMRContainers. /// /// This is an internal server exception. /// /// /// The specified resource was not found. /// /// /// There are invalid parameters in the client request. /// /// REST API Reference for UntagResource Operation Task UntagResourceAsync(UntagResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion } }