/* * 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 elasticmapreduce-2009-03-31.normal.json service model. */ using System; using System.Threading; using System.Threading.Tasks; using System.Collections.Generic; using Amazon.Runtime; using Amazon.ElasticMapReduce.Model; namespace Amazon.ElasticMapReduce { /// /// Interface for accessing ElasticMapReduce /// /// Amazon EMR is a web service that makes it easier to process large amounts of data /// efficiently. Amazon EMR uses Hadoop processing combined with several Amazon Web Services /// services to do tasks such as web indexing, data mining, log file analysis, machine /// learning, scientific simulation, and data warehouse management. /// public partial interface IAmazonElasticMapReduce : IAmazonService, IDisposable { /// /// Paginators for the service /// IElasticMapReducePaginatorFactory Paginators { get; } #region AddInstanceFleet /// /// Adds an instance fleet to a running cluster. /// /// /// /// The instance fleet configuration is available only in Amazon EMR releases 4.8.0 and /// later, excluding 5.0.x. /// /// /// /// Container for the necessary parameters to execute the AddInstanceFleet service method. /// /// The response from the AddInstanceFleet service method, as returned by ElasticMapReduce. /// /// This exception occurs when there is an internal failure in the Amazon EMR service. /// /// /// This exception occurs when there is something wrong with user input. /// /// REST API Reference for AddInstanceFleet Operation AddInstanceFleetResponse AddInstanceFleet(AddInstanceFleetRequest request); /// /// Adds an instance fleet to a running cluster. /// /// /// /// The instance fleet configuration is available only in Amazon EMR releases 4.8.0 and /// later, excluding 5.0.x. /// /// /// /// Container for the necessary parameters to execute the AddInstanceFleet service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the AddInstanceFleet service method, as returned by ElasticMapReduce. /// /// This exception occurs when there is an internal failure in the Amazon EMR service. /// /// /// This exception occurs when there is something wrong with user input. /// /// REST API Reference for AddInstanceFleet Operation Task AddInstanceFleetAsync(AddInstanceFleetRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region AddInstanceGroups /// /// Adds one or more instance groups to a running cluster. /// /// Container for the necessary parameters to execute the AddInstanceGroups service method. /// /// The response from the AddInstanceGroups service method, as returned by ElasticMapReduce. /// /// Indicates that an error occurred while processing the request and that the request /// was not completed. /// /// REST API Reference for AddInstanceGroups Operation AddInstanceGroupsResponse AddInstanceGroups(AddInstanceGroupsRequest request); /// /// Adds one or more instance groups to a running cluster. /// /// Container for the necessary parameters to execute the AddInstanceGroups service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the AddInstanceGroups service method, as returned by ElasticMapReduce. /// /// Indicates that an error occurred while processing the request and that the request /// was not completed. /// /// REST API Reference for AddInstanceGroups Operation Task AddInstanceGroupsAsync(AddInstanceGroupsRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region AddJobFlowSteps /// /// AddJobFlowSteps adds new steps to a running cluster. A maximum of 256 steps are allowed /// in each job flow. /// /// /// /// If your cluster is long-running (such as a Hive data warehouse) or complex, you may /// require more than 256 steps to process your data. You can bypass the 256-step limitation /// in various ways, including using SSH to connect to the master node and submitting /// queries directly to the software running on the master node, such as Hive and Hadoop. /// /// /// /// A step specifies the location of a JAR file stored either on the master node of the /// cluster or in Amazon S3. Each step is performed by the main function of the main class /// of the JAR file. The main class can be specified either in the manifest of the JAR /// or by using the MainFunction parameter of the step. /// /// /// /// Amazon EMR executes each step in the order listed. For a step to be considered complete, /// the main function must exit with a zero exit code and all Hadoop jobs started while /// the step was running must have completed and run successfully. /// /// /// /// You can only add steps to a cluster that is in one of the following states: STARTING, /// BOOTSTRAPPING, RUNNING, or WAITING. /// /// /// /// The string values passed into HadoopJarStep object cannot exceed a total /// of 10240 characters. /// /// /// /// Container for the necessary parameters to execute the AddJobFlowSteps service method. /// /// The response from the AddJobFlowSteps service method, as returned by ElasticMapReduce. /// /// Indicates that an error occurred while processing the request and that the request /// was not completed. /// /// REST API Reference for AddJobFlowSteps Operation AddJobFlowStepsResponse AddJobFlowSteps(AddJobFlowStepsRequest request); /// /// AddJobFlowSteps adds new steps to a running cluster. A maximum of 256 steps are allowed /// in each job flow. /// /// /// /// If your cluster is long-running (such as a Hive data warehouse) or complex, you may /// require more than 256 steps to process your data. You can bypass the 256-step limitation /// in various ways, including using SSH to connect to the master node and submitting /// queries directly to the software running on the master node, such as Hive and Hadoop. /// /// /// /// A step specifies the location of a JAR file stored either on the master node of the /// cluster or in Amazon S3. Each step is performed by the main function of the main class /// of the JAR file. The main class can be specified either in the manifest of the JAR /// or by using the MainFunction parameter of the step. /// /// /// /// Amazon EMR executes each step in the order listed. For a step to be considered complete, /// the main function must exit with a zero exit code and all Hadoop jobs started while /// the step was running must have completed and run successfully. /// /// /// /// You can only add steps to a cluster that is in one of the following states: STARTING, /// BOOTSTRAPPING, RUNNING, or WAITING. /// /// /// /// The string values passed into HadoopJarStep object cannot exceed a total /// of 10240 characters. /// /// /// /// Container for the necessary parameters to execute the AddJobFlowSteps service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the AddJobFlowSteps service method, as returned by ElasticMapReduce. /// /// Indicates that an error occurred while processing the request and that the request /// was not completed. /// /// REST API Reference for AddJobFlowSteps Operation Task AddJobFlowStepsAsync(AddJobFlowStepsRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region AddTags /// /// Adds tags to an Amazon EMR resource, such as a cluster or an Amazon EMR Studio. Tags /// make it easier to associate resources in various ways, such as grouping clusters to /// track your Amazon EMR resource allocation costs. For more information, see Tag /// Clusters. /// /// Container for the necessary parameters to execute the AddTags service method. /// /// The response from the AddTags service method, as returned by ElasticMapReduce. /// /// This exception occurs when there is an internal failure in the Amazon EMR service. /// /// /// This exception occurs when there is something wrong with user input. /// /// REST API Reference for AddTags Operation AddTagsResponse AddTags(AddTagsRequest request); /// /// Adds tags to an Amazon EMR resource, such as a cluster or an Amazon EMR Studio. Tags /// make it easier to associate resources in various ways, such as grouping clusters to /// track your Amazon EMR resource allocation costs. For more information, see Tag /// Clusters. /// /// Container for the necessary parameters to execute the AddTags service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the AddTags service method, as returned by ElasticMapReduce. /// /// This exception occurs when there is an internal failure in the Amazon EMR service. /// /// /// This exception occurs when there is something wrong with user input. /// /// REST API Reference for AddTags Operation Task AddTagsAsync(AddTagsRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region CancelSteps /// /// Cancels a pending step or steps in a running cluster. Available only in Amazon EMR /// versions 4.8.0 and later, excluding version 5.0.0. A maximum of 256 steps are allowed /// in each CancelSteps request. CancelSteps is idempotent but asynchronous; it does not /// guarantee that a step will be canceled, even if the request is successfully submitted. /// When you use Amazon EMR releases 5.28.0 and later, you can cancel steps that are in /// a PENDING or RUNNING state. In earlier versions of Amazon /// EMR, you can only cancel steps that are in a PENDING state. /// /// Container for the necessary parameters to execute the CancelSteps service method. /// /// The response from the CancelSteps service method, as returned by ElasticMapReduce. /// /// Indicates that an error occurred while processing the request and that the request /// was not completed. /// /// /// This exception occurs when there is something wrong with user input. /// /// REST API Reference for CancelSteps Operation CancelStepsResponse CancelSteps(CancelStepsRequest request); /// /// Cancels a pending step or steps in a running cluster. Available only in Amazon EMR /// versions 4.8.0 and later, excluding version 5.0.0. A maximum of 256 steps are allowed /// in each CancelSteps request. CancelSteps is idempotent but asynchronous; it does not /// guarantee that a step will be canceled, even if the request is successfully submitted. /// When you use Amazon EMR releases 5.28.0 and later, you can cancel steps that are in /// a PENDING or RUNNING state. In earlier versions of Amazon /// EMR, you can only cancel steps that are in a PENDING state. /// /// Container for the necessary parameters to execute the CancelSteps service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CancelSteps service method, as returned by ElasticMapReduce. /// /// Indicates that an error occurred while processing the request and that the request /// was not completed. /// /// /// This exception occurs when there is something wrong with user input. /// /// REST API Reference for CancelSteps Operation Task CancelStepsAsync(CancelStepsRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region CreateSecurityConfiguration /// /// Creates a security configuration, which is stored in the service and can be specified /// when a cluster is created. /// /// Container for the necessary parameters to execute the CreateSecurityConfiguration service method. /// /// The response from the CreateSecurityConfiguration service method, as returned by ElasticMapReduce. /// /// This exception occurs when there is an internal failure in the Amazon EMR service. /// /// /// This exception occurs when there is something wrong with user input. /// /// REST API Reference for CreateSecurityConfiguration Operation CreateSecurityConfigurationResponse CreateSecurityConfiguration(CreateSecurityConfigurationRequest request); /// /// Creates a security configuration, which is stored in the service and can be specified /// when a cluster is created. /// /// Container for the necessary parameters to execute the CreateSecurityConfiguration service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateSecurityConfiguration service method, as returned by ElasticMapReduce. /// /// This exception occurs when there is an internal failure in the Amazon EMR service. /// /// /// This exception occurs when there is something wrong with user input. /// /// REST API Reference for CreateSecurityConfiguration Operation Task CreateSecurityConfigurationAsync(CreateSecurityConfigurationRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region CreateStudio /// /// Creates a new Amazon EMR Studio. /// /// Container for the necessary parameters to execute the CreateStudio service method. /// /// The response from the CreateStudio service method, as returned by ElasticMapReduce. /// /// This exception occurs when there is an internal failure in the Amazon EMR service. /// /// /// This exception occurs when there is something wrong with user input. /// /// REST API Reference for CreateStudio Operation CreateStudioResponse CreateStudio(CreateStudioRequest request); /// /// Creates a new Amazon EMR Studio. /// /// Container for the necessary parameters to execute the CreateStudio service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateStudio service method, as returned by ElasticMapReduce. /// /// This exception occurs when there is an internal failure in the Amazon EMR service. /// /// /// This exception occurs when there is something wrong with user input. /// /// REST API Reference for CreateStudio Operation Task CreateStudioAsync(CreateStudioRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region CreateStudioSessionMapping /// /// Maps a user or group to the Amazon EMR Studio specified by StudioId, /// and applies a session policy to refine Studio permissions for that user or group. /// Use CreateStudioSessionMapping to assign users to a Studio when you use /// IAM Identity Center authentication. For instructions on how to assign users to a Studio /// when you use IAM authentication, see Assign /// a user or group to your EMR Studio. /// /// Container for the necessary parameters to execute the CreateStudioSessionMapping service method. /// /// The response from the CreateStudioSessionMapping service method, as returned by ElasticMapReduce. /// /// Indicates that an error occurred while processing the request and that the request /// was not completed. /// /// /// This exception occurs when there is something wrong with user input. /// /// REST API Reference for CreateStudioSessionMapping Operation CreateStudioSessionMappingResponse CreateStudioSessionMapping(CreateStudioSessionMappingRequest request); /// /// Maps a user or group to the Amazon EMR Studio specified by StudioId, /// and applies a session policy to refine Studio permissions for that user or group. /// Use CreateStudioSessionMapping to assign users to a Studio when you use /// IAM Identity Center authentication. For instructions on how to assign users to a Studio /// when you use IAM authentication, see Assign /// a user or group to your EMR Studio. /// /// Container for the necessary parameters to execute the CreateStudioSessionMapping service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateStudioSessionMapping service method, as returned by ElasticMapReduce. /// /// Indicates that an error occurred while processing the request and that the request /// was not completed. /// /// /// This exception occurs when there is something wrong with user input. /// /// REST API Reference for CreateStudioSessionMapping Operation Task CreateStudioSessionMappingAsync(CreateStudioSessionMappingRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DeleteSecurityConfiguration /// /// Deletes a security configuration. /// /// Container for the necessary parameters to execute the DeleteSecurityConfiguration service method. /// /// The response from the DeleteSecurityConfiguration service method, as returned by ElasticMapReduce. /// /// This exception occurs when there is an internal failure in the Amazon EMR service. /// /// /// This exception occurs when there is something wrong with user input. /// /// REST API Reference for DeleteSecurityConfiguration Operation DeleteSecurityConfigurationResponse DeleteSecurityConfiguration(DeleteSecurityConfigurationRequest request); /// /// Deletes a security configuration. /// /// Container for the necessary parameters to execute the DeleteSecurityConfiguration service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteSecurityConfiguration service method, as returned by ElasticMapReduce. /// /// This exception occurs when there is an internal failure in the Amazon EMR service. /// /// /// This exception occurs when there is something wrong with user input. /// /// REST API Reference for DeleteSecurityConfiguration Operation Task DeleteSecurityConfigurationAsync(DeleteSecurityConfigurationRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DeleteStudio /// /// Removes an Amazon EMR Studio from the Studio metadata store. /// /// Container for the necessary parameters to execute the DeleteStudio service method. /// /// The response from the DeleteStudio service method, as returned by ElasticMapReduce. /// /// This exception occurs when there is an internal failure in the Amazon EMR service. /// /// /// This exception occurs when there is something wrong with user input. /// /// REST API Reference for DeleteStudio Operation DeleteStudioResponse DeleteStudio(DeleteStudioRequest request); /// /// Removes an Amazon EMR Studio from the Studio metadata store. /// /// Container for the necessary parameters to execute the DeleteStudio service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteStudio service method, as returned by ElasticMapReduce. /// /// This exception occurs when there is an internal failure in the Amazon EMR service. /// /// /// This exception occurs when there is something wrong with user input. /// /// REST API Reference for DeleteStudio Operation Task DeleteStudioAsync(DeleteStudioRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DeleteStudioSessionMapping /// /// Removes a user or group from an Amazon EMR Studio. /// /// Container for the necessary parameters to execute the DeleteStudioSessionMapping service method. /// /// The response from the DeleteStudioSessionMapping service method, as returned by ElasticMapReduce. /// /// Indicates that an error occurred while processing the request and that the request /// was not completed. /// /// /// This exception occurs when there is something wrong with user input. /// /// REST API Reference for DeleteStudioSessionMapping Operation DeleteStudioSessionMappingResponse DeleteStudioSessionMapping(DeleteStudioSessionMappingRequest request); /// /// Removes a user or group from an Amazon EMR Studio. /// /// Container for the necessary parameters to execute the DeleteStudioSessionMapping service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteStudioSessionMapping service method, as returned by ElasticMapReduce. /// /// Indicates that an error occurred while processing the request and that the request /// was not completed. /// /// /// This exception occurs when there is something wrong with user input. /// /// REST API Reference for DeleteStudioSessionMapping Operation Task DeleteStudioSessionMappingAsync(DeleteStudioSessionMappingRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DescribeCluster /// /// Provides cluster-level details including status, hardware and software configuration, /// VPC settings, and so on. /// /// /// The response from the DescribeCluster service method, as returned by ElasticMapReduce. /// /// This exception occurs when there is an internal failure in the Amazon EMR service. /// /// /// This exception occurs when there is something wrong with user input. /// /// REST API Reference for DescribeCluster Operation DescribeClusterResponse DescribeCluster(); /// /// Provides cluster-level details including status, hardware and software configuration, /// VPC settings, and so on. /// /// Container for the necessary parameters to execute the DescribeCluster service method. /// /// The response from the DescribeCluster service method, as returned by ElasticMapReduce. /// /// This exception occurs when there is an internal failure in the Amazon EMR service. /// /// /// This exception occurs when there is something wrong with user input. /// /// REST API Reference for DescribeCluster Operation DescribeClusterResponse DescribeCluster(DescribeClusterRequest request); /// /// Provides cluster-level details including status, hardware and software configuration, /// VPC settings, and so on. /// /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeCluster service method, as returned by ElasticMapReduce. /// /// This exception occurs when there is an internal failure in the Amazon EMR service. /// /// /// This exception occurs when there is something wrong with user input. /// /// REST API Reference for DescribeCluster Operation Task DescribeClusterAsync(System.Threading.CancellationToken cancellationToken = default(CancellationToken)); /// /// Provides cluster-level details including status, hardware and software configuration, /// VPC settings, and so on. /// /// Container for the necessary parameters to execute the DescribeCluster service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeCluster service method, as returned by ElasticMapReduce. /// /// This exception occurs when there is an internal failure in the Amazon EMR service. /// /// /// This exception occurs when there is something wrong with user input. /// /// REST API Reference for DescribeCluster Operation Task DescribeClusterAsync(DescribeClusterRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DescribeJobFlows /// /// This API is no longer supported and will eventually be removed. We recommend you use /// ListClusters, DescribeCluster, ListSteps, ListInstanceGroups /// and ListBootstrapActions instead. /// /// /// /// DescribeJobFlows returns a list of job flows that match all of the supplied parameters. /// The parameters can include a list of job flow IDs, job flow states, and restrictions /// on job flow creation date and time. /// /// /// /// Regardless of supplied parameters, only job flows created within the last two months /// are returned. /// /// /// /// If no parameters are supplied, then job flows matching either of the following criteria /// are returned: /// ///
  • /// /// Job flows created and completed in the last two weeks /// ///
  • /// /// Job flows created within the last two months that are in one of the following states: /// RUNNING, WAITING, SHUTTING_DOWN, STARTING /// /// ///
/// /// Amazon EMR can return a maximum of 512 job flow descriptions. /// ///
/// /// The response from the DescribeJobFlows service method, as returned by ElasticMapReduce. /// /// Indicates that an error occurred while processing the request and that the request /// was not completed. /// /// REST API Reference for DescribeJobFlows Operation [Obsolete("This API is deprecated and will eventually be removed. We recommend that you use ListClusters, DescribeCluster, ListSteps, ListInstanceGroups and ListBootstrapActions instead.")] DescribeJobFlowsResponse DescribeJobFlows(); /// /// This API is no longer supported and will eventually be removed. We recommend you use /// ListClusters, DescribeCluster, ListSteps, ListInstanceGroups /// and ListBootstrapActions instead. /// /// /// /// DescribeJobFlows returns a list of job flows that match all of the supplied parameters. /// The parameters can include a list of job flow IDs, job flow states, and restrictions /// on job flow creation date and time. /// /// /// /// Regardless of supplied parameters, only job flows created within the last two months /// are returned. /// /// /// /// If no parameters are supplied, then job flows matching either of the following criteria /// are returned: /// ///
  • /// /// Job flows created and completed in the last two weeks /// ///
  • /// /// Job flows created within the last two months that are in one of the following states: /// RUNNING, WAITING, SHUTTING_DOWN, STARTING /// /// ///
/// /// Amazon EMR can return a maximum of 512 job flow descriptions. /// ///
/// Container for the necessary parameters to execute the DescribeJobFlows service method. /// /// The response from the DescribeJobFlows service method, as returned by ElasticMapReduce. /// /// Indicates that an error occurred while processing the request and that the request /// was not completed. /// /// REST API Reference for DescribeJobFlows Operation [Obsolete("This API is deprecated and will eventually be removed. We recommend that you use ListClusters, DescribeCluster, ListSteps, ListInstanceGroups and ListBootstrapActions instead.")] DescribeJobFlowsResponse DescribeJobFlows(DescribeJobFlowsRequest request); /// /// This API is no longer supported and will eventually be removed. We recommend you use /// ListClusters, DescribeCluster, ListSteps, ListInstanceGroups /// and ListBootstrapActions instead. /// /// /// /// DescribeJobFlows returns a list of job flows that match all of the supplied parameters. /// The parameters can include a list of job flow IDs, job flow states, and restrictions /// on job flow creation date and time. /// /// /// /// Regardless of supplied parameters, only job flows created within the last two months /// are returned. /// /// /// /// If no parameters are supplied, then job flows matching either of the following criteria /// are returned: /// ///
  • /// /// Job flows created and completed in the last two weeks /// ///
  • /// /// Job flows created within the last two months that are in one of the following states: /// RUNNING, WAITING, SHUTTING_DOWN, STARTING /// /// ///
/// /// Amazon EMR can return a maximum of 512 job flow descriptions. /// ///
/// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeJobFlows service method, as returned by ElasticMapReduce. /// /// Indicates that an error occurred while processing the request and that the request /// was not completed. /// /// REST API Reference for DescribeJobFlows Operation [Obsolete("This API is deprecated and will eventually be removed. We recommend that you use ListClusters, DescribeCluster, ListSteps, ListInstanceGroups and ListBootstrapActions instead.")] Task DescribeJobFlowsAsync(System.Threading.CancellationToken cancellationToken = default(CancellationToken)); /// /// This API is no longer supported and will eventually be removed. We recommend you use /// ListClusters, DescribeCluster, ListSteps, ListInstanceGroups /// and ListBootstrapActions instead. /// /// /// /// DescribeJobFlows returns a list of job flows that match all of the supplied parameters. /// The parameters can include a list of job flow IDs, job flow states, and restrictions /// on job flow creation date and time. /// /// /// /// Regardless of supplied parameters, only job flows created within the last two months /// are returned. /// /// /// /// If no parameters are supplied, then job flows matching either of the following criteria /// are returned: /// ///
  • /// /// Job flows created and completed in the last two weeks /// ///
  • /// /// Job flows created within the last two months that are in one of the following states: /// RUNNING, WAITING, SHUTTING_DOWN, STARTING /// /// ///
/// /// Amazon EMR can return a maximum of 512 job flow descriptions. /// ///
/// Container for the necessary parameters to execute the DescribeJobFlows service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeJobFlows service method, as returned by ElasticMapReduce. /// /// Indicates that an error occurred while processing the request and that the request /// was not completed. /// /// REST API Reference for DescribeJobFlows Operation [Obsolete("This API is deprecated and will eventually be removed. We recommend that you use ListClusters, DescribeCluster, ListSteps, ListInstanceGroups and ListBootstrapActions instead.")] Task DescribeJobFlowsAsync(DescribeJobFlowsRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DescribeNotebookExecution /// /// Provides details of a notebook execution. /// /// Container for the necessary parameters to execute the DescribeNotebookExecution service method. /// /// The response from the DescribeNotebookExecution service method, as returned by ElasticMapReduce. /// /// Indicates that an error occurred while processing the request and that the request /// was not completed. /// /// /// This exception occurs when there is something wrong with user input. /// /// REST API Reference for DescribeNotebookExecution Operation DescribeNotebookExecutionResponse DescribeNotebookExecution(DescribeNotebookExecutionRequest request); /// /// Provides details of a notebook execution. /// /// Container for the necessary parameters to execute the DescribeNotebookExecution service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeNotebookExecution service method, as returned by ElasticMapReduce. /// /// Indicates that an error occurred while processing the request and that the request /// was not completed. /// /// /// This exception occurs when there is something wrong with user input. /// /// REST API Reference for DescribeNotebookExecution Operation Task DescribeNotebookExecutionAsync(DescribeNotebookExecutionRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DescribeReleaseLabel /// /// Provides Amazon EMR release label details, such as the releases available the Region /// where the API request is run, and the available applications for a specific Amazon /// EMR release label. Can also list Amazon EMR releases that support a specified version /// of Spark. /// /// Container for the necessary parameters to execute the DescribeReleaseLabel service method. /// /// The response from the DescribeReleaseLabel service method, as returned by ElasticMapReduce. /// /// This exception occurs when there is an internal failure in the Amazon EMR service. /// /// /// This exception occurs when there is something wrong with user input. /// /// REST API Reference for DescribeReleaseLabel Operation DescribeReleaseLabelResponse DescribeReleaseLabel(DescribeReleaseLabelRequest request); /// /// Provides Amazon EMR release label details, such as the releases available the Region /// where the API request is run, and the available applications for a specific Amazon /// EMR release label. Can also list Amazon EMR releases that support a specified version /// of Spark. /// /// Container for the necessary parameters to execute the DescribeReleaseLabel service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeReleaseLabel service method, as returned by ElasticMapReduce. /// /// This exception occurs when there is an internal failure in the Amazon EMR service. /// /// /// This exception occurs when there is something wrong with user input. /// /// REST API Reference for DescribeReleaseLabel Operation Task DescribeReleaseLabelAsync(DescribeReleaseLabelRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DescribeSecurityConfiguration /// /// Provides the details of a security configuration by returning the configuration JSON. /// /// Container for the necessary parameters to execute the DescribeSecurityConfiguration service method. /// /// The response from the DescribeSecurityConfiguration service method, as returned by ElasticMapReduce. /// /// This exception occurs when there is an internal failure in the Amazon EMR service. /// /// /// This exception occurs when there is something wrong with user input. /// /// REST API Reference for DescribeSecurityConfiguration Operation DescribeSecurityConfigurationResponse DescribeSecurityConfiguration(DescribeSecurityConfigurationRequest request); /// /// Provides the details of a security configuration by returning the configuration JSON. /// /// Container for the necessary parameters to execute the DescribeSecurityConfiguration service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeSecurityConfiguration service method, as returned by ElasticMapReduce. /// /// This exception occurs when there is an internal failure in the Amazon EMR service. /// /// /// This exception occurs when there is something wrong with user input. /// /// REST API Reference for DescribeSecurityConfiguration Operation Task DescribeSecurityConfigurationAsync(DescribeSecurityConfigurationRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DescribeStep /// /// Provides more detail about the cluster step. /// /// /// The response from the DescribeStep service method, as returned by ElasticMapReduce. /// /// This exception occurs when there is an internal failure in the Amazon EMR service. /// /// /// This exception occurs when there is something wrong with user input. /// /// REST API Reference for DescribeStep Operation DescribeStepResponse DescribeStep(); /// /// Provides more detail about the cluster step. /// /// Container for the necessary parameters to execute the DescribeStep service method. /// /// The response from the DescribeStep service method, as returned by ElasticMapReduce. /// /// This exception occurs when there is an internal failure in the Amazon EMR service. /// /// /// This exception occurs when there is something wrong with user input. /// /// REST API Reference for DescribeStep Operation DescribeStepResponse DescribeStep(DescribeStepRequest request); /// /// Provides more detail about the cluster step. /// /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeStep service method, as returned by ElasticMapReduce. /// /// This exception occurs when there is an internal failure in the Amazon EMR service. /// /// /// This exception occurs when there is something wrong with user input. /// /// REST API Reference for DescribeStep Operation Task DescribeStepAsync(System.Threading.CancellationToken cancellationToken = default(CancellationToken)); /// /// Provides more detail about the cluster step. /// /// Container for the necessary parameters to execute the DescribeStep service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeStep service method, as returned by ElasticMapReduce. /// /// This exception occurs when there is an internal failure in the Amazon EMR service. /// /// /// This exception occurs when there is something wrong with user input. /// /// REST API Reference for DescribeStep Operation Task DescribeStepAsync(DescribeStepRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DescribeStudio /// /// Returns details for the specified Amazon EMR Studio including ID, Name, VPC, Studio /// access URL, and so on. /// /// Container for the necessary parameters to execute the DescribeStudio service method. /// /// The response from the DescribeStudio service method, as returned by ElasticMapReduce. /// /// This exception occurs when there is an internal failure in the Amazon EMR service. /// /// /// This exception occurs when there is something wrong with user input. /// /// REST API Reference for DescribeStudio Operation DescribeStudioResponse DescribeStudio(DescribeStudioRequest request); /// /// Returns details for the specified Amazon EMR Studio including ID, Name, VPC, Studio /// access URL, and so on. /// /// Container for the necessary parameters to execute the DescribeStudio service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeStudio service method, as returned by ElasticMapReduce. /// /// This exception occurs when there is an internal failure in the Amazon EMR service. /// /// /// This exception occurs when there is something wrong with user input. /// /// REST API Reference for DescribeStudio Operation Task DescribeStudioAsync(DescribeStudioRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region GetAutoTerminationPolicy /// /// Returns the auto-termination policy for an Amazon EMR cluster. /// /// Container for the necessary parameters to execute the GetAutoTerminationPolicy service method. /// /// The response from the GetAutoTerminationPolicy service method, as returned by ElasticMapReduce. /// REST API Reference for GetAutoTerminationPolicy Operation GetAutoTerminationPolicyResponse GetAutoTerminationPolicy(GetAutoTerminationPolicyRequest request); /// /// Returns the auto-termination policy for an Amazon EMR cluster. /// /// Container for the necessary parameters to execute the GetAutoTerminationPolicy service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetAutoTerminationPolicy service method, as returned by ElasticMapReduce. /// REST API Reference for GetAutoTerminationPolicy Operation Task GetAutoTerminationPolicyAsync(GetAutoTerminationPolicyRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region GetBlockPublicAccessConfiguration /// /// Returns the Amazon EMR block public access configuration for your Amazon Web Services /// account in the current Region. For more information see Configure /// Block Public Access for Amazon EMR in the Amazon EMR Management Guide. /// /// Container for the necessary parameters to execute the GetBlockPublicAccessConfiguration service method. /// /// The response from the GetBlockPublicAccessConfiguration service method, as returned by ElasticMapReduce. /// /// This exception occurs when there is an internal failure in the Amazon EMR service. /// /// /// This exception occurs when there is something wrong with user input. /// /// REST API Reference for GetBlockPublicAccessConfiguration Operation GetBlockPublicAccessConfigurationResponse GetBlockPublicAccessConfiguration(GetBlockPublicAccessConfigurationRequest request); /// /// Returns the Amazon EMR block public access configuration for your Amazon Web Services /// account in the current Region. For more information see Configure /// Block Public Access for Amazon EMR in the Amazon EMR Management Guide. /// /// Container for the necessary parameters to execute the GetBlockPublicAccessConfiguration service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetBlockPublicAccessConfiguration service method, as returned by ElasticMapReduce. /// /// This exception occurs when there is an internal failure in the Amazon EMR service. /// /// /// This exception occurs when there is something wrong with user input. /// /// REST API Reference for GetBlockPublicAccessConfiguration Operation Task GetBlockPublicAccessConfigurationAsync(GetBlockPublicAccessConfigurationRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region GetClusterSessionCredentials /// /// Provides temporary, HTTP basic credentials that are associated with a given runtime /// IAM role and used by a cluster with fine-grained access control activated. You can /// use these credentials to connect to cluster endpoints that support username and password /// authentication. /// /// Container for the necessary parameters to execute the GetClusterSessionCredentials service method. /// /// The response from the GetClusterSessionCredentials service method, as returned by ElasticMapReduce. /// /// Indicates that an error occurred while processing the request and that the request /// was not completed. /// /// /// This exception occurs when there is something wrong with user input. /// /// REST API Reference for GetClusterSessionCredentials Operation GetClusterSessionCredentialsResponse GetClusterSessionCredentials(GetClusterSessionCredentialsRequest request); /// /// Provides temporary, HTTP basic credentials that are associated with a given runtime /// IAM role and used by a cluster with fine-grained access control activated. You can /// use these credentials to connect to cluster endpoints that support username and password /// authentication. /// /// Container for the necessary parameters to execute the GetClusterSessionCredentials service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetClusterSessionCredentials service method, as returned by ElasticMapReduce. /// /// Indicates that an error occurred while processing the request and that the request /// was not completed. /// /// /// This exception occurs when there is something wrong with user input. /// /// REST API Reference for GetClusterSessionCredentials Operation Task GetClusterSessionCredentialsAsync(GetClusterSessionCredentialsRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region GetManagedScalingPolicy /// /// Fetches the attached managed scaling policy for an Amazon EMR cluster. /// /// Container for the necessary parameters to execute the GetManagedScalingPolicy service method. /// /// The response from the GetManagedScalingPolicy service method, as returned by ElasticMapReduce. /// REST API Reference for GetManagedScalingPolicy Operation GetManagedScalingPolicyResponse GetManagedScalingPolicy(GetManagedScalingPolicyRequest request); /// /// Fetches the attached managed scaling policy for an Amazon EMR cluster. /// /// Container for the necessary parameters to execute the GetManagedScalingPolicy service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetManagedScalingPolicy service method, as returned by ElasticMapReduce. /// REST API Reference for GetManagedScalingPolicy Operation Task GetManagedScalingPolicyAsync(GetManagedScalingPolicyRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region GetStudioSessionMapping /// /// Fetches mapping details for the specified Amazon EMR Studio and identity (user or /// group). /// /// Container for the necessary parameters to execute the GetStudioSessionMapping service method. /// /// The response from the GetStudioSessionMapping service method, as returned by ElasticMapReduce. /// /// Indicates that an error occurred while processing the request and that the request /// was not completed. /// /// /// This exception occurs when there is something wrong with user input. /// /// REST API Reference for GetStudioSessionMapping Operation GetStudioSessionMappingResponse GetStudioSessionMapping(GetStudioSessionMappingRequest request); /// /// Fetches mapping details for the specified Amazon EMR Studio and identity (user or /// group). /// /// Container for the necessary parameters to execute the GetStudioSessionMapping service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetStudioSessionMapping service method, as returned by ElasticMapReduce. /// /// Indicates that an error occurred while processing the request and that the request /// was not completed. /// /// /// This exception occurs when there is something wrong with user input. /// /// REST API Reference for GetStudioSessionMapping Operation Task GetStudioSessionMappingAsync(GetStudioSessionMappingRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region ListBootstrapActions /// /// Provides information about the bootstrap actions associated with a cluster. /// /// /// The response from the ListBootstrapActions service method, as returned by ElasticMapReduce. /// /// This exception occurs when there is an internal failure in the Amazon EMR service. /// /// /// This exception occurs when there is something wrong with user input. /// /// REST API Reference for ListBootstrapActions Operation ListBootstrapActionsResponse ListBootstrapActions(); /// /// Provides information about the bootstrap actions associated with a cluster. /// /// Container for the necessary parameters to execute the ListBootstrapActions service method. /// /// The response from the ListBootstrapActions service method, as returned by ElasticMapReduce. /// /// This exception occurs when there is an internal failure in the Amazon EMR service. /// /// /// This exception occurs when there is something wrong with user input. /// /// REST API Reference for ListBootstrapActions Operation ListBootstrapActionsResponse ListBootstrapActions(ListBootstrapActionsRequest request); /// /// Provides information about the bootstrap actions associated with a cluster. /// /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListBootstrapActions service method, as returned by ElasticMapReduce. /// /// This exception occurs when there is an internal failure in the Amazon EMR service. /// /// /// This exception occurs when there is something wrong with user input. /// /// REST API Reference for ListBootstrapActions Operation Task ListBootstrapActionsAsync(System.Threading.CancellationToken cancellationToken = default(CancellationToken)); /// /// Provides information about the bootstrap actions associated with a cluster. /// /// Container for the necessary parameters to execute the ListBootstrapActions service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListBootstrapActions service method, as returned by ElasticMapReduce. /// /// This exception occurs when there is an internal failure in the Amazon EMR service. /// /// /// This exception occurs when there is something wrong with user input. /// /// REST API Reference for ListBootstrapActions Operation Task ListBootstrapActionsAsync(ListBootstrapActionsRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region ListClusters /// /// Provides the status of all clusters visible to this Amazon Web Services account. Allows /// you to filter the list of clusters based on certain criteria; for example, filtering /// by cluster creation date and time or by status. This call returns a maximum of 50 /// clusters in unsorted order per call, but returns a marker to track the paging of the /// cluster list across multiple ListClusters calls. /// /// /// The response from the ListClusters service method, as returned by ElasticMapReduce. /// /// This exception occurs when there is an internal failure in the Amazon EMR service. /// /// /// This exception occurs when there is something wrong with user input. /// /// REST API Reference for ListClusters Operation ListClustersResponse ListClusters(); /// /// Provides the status of all clusters visible to this Amazon Web Services account. Allows /// you to filter the list of clusters based on certain criteria; for example, filtering /// by cluster creation date and time or by status. This call returns a maximum of 50 /// clusters in unsorted order per call, but returns a marker to track the paging of the /// cluster list across multiple ListClusters calls. /// /// Container for the necessary parameters to execute the ListClusters service method. /// /// The response from the ListClusters service method, as returned by ElasticMapReduce. /// /// This exception occurs when there is an internal failure in the Amazon EMR service. /// /// /// This exception occurs when there is something wrong with user input. /// /// REST API Reference for ListClusters Operation ListClustersResponse ListClusters(ListClustersRequest request); /// /// Provides the status of all clusters visible to this Amazon Web Services account. Allows /// you to filter the list of clusters based on certain criteria; for example, filtering /// by cluster creation date and time or by status. This call returns a maximum of 50 /// clusters in unsorted order per call, but returns a marker to track the paging of the /// cluster list across multiple ListClusters calls. /// /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListClusters service method, as returned by ElasticMapReduce. /// /// This exception occurs when there is an internal failure in the Amazon EMR service. /// /// /// This exception occurs when there is something wrong with user input. /// /// REST API Reference for ListClusters Operation Task ListClustersAsync(System.Threading.CancellationToken cancellationToken = default(CancellationToken)); /// /// Provides the status of all clusters visible to this Amazon Web Services account. Allows /// you to filter the list of clusters based on certain criteria; for example, filtering /// by cluster creation date and time or by status. This call returns a maximum of 50 /// clusters in unsorted order per call, but returns a marker to track the paging of the /// cluster list across multiple ListClusters calls. /// /// Container for the necessary parameters to execute the ListClusters service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListClusters service method, as returned by ElasticMapReduce. /// /// This exception occurs when there is an internal failure in the Amazon EMR service. /// /// /// This exception occurs when there is something wrong with user input. /// /// REST API Reference for ListClusters Operation Task ListClustersAsync(ListClustersRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region ListInstanceFleets /// /// Lists all available details about the instance fleets in a cluster. /// /// /// /// The instance fleet configuration is available only in Amazon EMR releases 4.8.0 and /// later, excluding 5.0.x versions. /// /// /// /// Container for the necessary parameters to execute the ListInstanceFleets service method. /// /// The response from the ListInstanceFleets service method, as returned by ElasticMapReduce. /// /// This exception occurs when there is an internal failure in the Amazon EMR service. /// /// /// This exception occurs when there is something wrong with user input. /// /// REST API Reference for ListInstanceFleets Operation ListInstanceFleetsResponse ListInstanceFleets(ListInstanceFleetsRequest request); /// /// Lists all available details about the instance fleets in a cluster. /// /// /// /// The instance fleet configuration is available only in Amazon EMR releases 4.8.0 and /// later, excluding 5.0.x versions. /// /// /// /// Container for the necessary parameters to execute the ListInstanceFleets service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListInstanceFleets service method, as returned by ElasticMapReduce. /// /// This exception occurs when there is an internal failure in the Amazon EMR service. /// /// /// This exception occurs when there is something wrong with user input. /// /// REST API Reference for ListInstanceFleets Operation Task ListInstanceFleetsAsync(ListInstanceFleetsRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region ListInstanceGroups /// /// Provides all available details about the instance groups in a cluster. /// /// /// The response from the ListInstanceGroups service method, as returned by ElasticMapReduce. /// /// This exception occurs when there is an internal failure in the Amazon EMR service. /// /// /// This exception occurs when there is something wrong with user input. /// /// REST API Reference for ListInstanceGroups Operation ListInstanceGroupsResponse ListInstanceGroups(); /// /// Provides all available details about the instance groups in a cluster. /// /// Container for the necessary parameters to execute the ListInstanceGroups service method. /// /// The response from the ListInstanceGroups service method, as returned by ElasticMapReduce. /// /// This exception occurs when there is an internal failure in the Amazon EMR service. /// /// /// This exception occurs when there is something wrong with user input. /// /// REST API Reference for ListInstanceGroups Operation ListInstanceGroupsResponse ListInstanceGroups(ListInstanceGroupsRequest request); /// /// Provides all available details about the instance groups in a cluster. /// /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListInstanceGroups service method, as returned by ElasticMapReduce. /// /// This exception occurs when there is an internal failure in the Amazon EMR service. /// /// /// This exception occurs when there is something wrong with user input. /// /// REST API Reference for ListInstanceGroups Operation Task ListInstanceGroupsAsync(System.Threading.CancellationToken cancellationToken = default(CancellationToken)); /// /// Provides all available details about the instance groups in a cluster. /// /// Container for the necessary parameters to execute the ListInstanceGroups service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListInstanceGroups service method, as returned by ElasticMapReduce. /// /// This exception occurs when there is an internal failure in the Amazon EMR service. /// /// /// This exception occurs when there is something wrong with user input. /// /// REST API Reference for ListInstanceGroups Operation Task ListInstanceGroupsAsync(ListInstanceGroupsRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region ListInstances /// /// Provides information for all active Amazon EC2 instances and Amazon EC2 instances /// terminated in the last 30 days, up to a maximum of 2,000. Amazon EC2 instances in /// any of the following states are considered active: AWAITING_FULFILLMENT, PROVISIONING, /// BOOTSTRAPPING, RUNNING. /// /// /// The response from the ListInstances service method, as returned by ElasticMapReduce. /// /// This exception occurs when there is an internal failure in the Amazon EMR service. /// /// /// This exception occurs when there is something wrong with user input. /// /// REST API Reference for ListInstances Operation ListInstancesResponse ListInstances(); /// /// Provides information for all active Amazon EC2 instances and Amazon EC2 instances /// terminated in the last 30 days, up to a maximum of 2,000. Amazon EC2 instances in /// any of the following states are considered active: AWAITING_FULFILLMENT, PROVISIONING, /// BOOTSTRAPPING, RUNNING. /// /// Container for the necessary parameters to execute the ListInstances service method. /// /// The response from the ListInstances service method, as returned by ElasticMapReduce. /// /// This exception occurs when there is an internal failure in the Amazon EMR service. /// /// /// This exception occurs when there is something wrong with user input. /// /// REST API Reference for ListInstances Operation ListInstancesResponse ListInstances(ListInstancesRequest request); /// /// Provides information for all active Amazon EC2 instances and Amazon EC2 instances /// terminated in the last 30 days, up to a maximum of 2,000. Amazon EC2 instances in /// any of the following states are considered active: AWAITING_FULFILLMENT, PROVISIONING, /// BOOTSTRAPPING, RUNNING. /// /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListInstances service method, as returned by ElasticMapReduce. /// /// This exception occurs when there is an internal failure in the Amazon EMR service. /// /// /// This exception occurs when there is something wrong with user input. /// /// REST API Reference for ListInstances Operation Task ListInstancesAsync(System.Threading.CancellationToken cancellationToken = default(CancellationToken)); /// /// Provides information for all active Amazon EC2 instances and Amazon EC2 instances /// terminated in the last 30 days, up to a maximum of 2,000. Amazon EC2 instances in /// any of the following states are considered active: AWAITING_FULFILLMENT, PROVISIONING, /// BOOTSTRAPPING, RUNNING. /// /// Container for the necessary parameters to execute the ListInstances service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListInstances service method, as returned by ElasticMapReduce. /// /// This exception occurs when there is an internal failure in the Amazon EMR service. /// /// /// This exception occurs when there is something wrong with user input. /// /// REST API Reference for ListInstances Operation Task ListInstancesAsync(ListInstancesRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region ListNotebookExecutions /// /// Provides summaries of all notebook executions. You can filter the list based on multiple /// criteria such as status, time range, and editor id. Returns a maximum of 50 notebook /// executions and a marker to track the paging of a longer notebook execution list across /// multiple ListNotebookExecutions calls. /// /// Container for the necessary parameters to execute the ListNotebookExecutions service method. /// /// The response from the ListNotebookExecutions service method, as returned by ElasticMapReduce. /// /// Indicates that an error occurred while processing the request and that the request /// was not completed. /// /// /// This exception occurs when there is something wrong with user input. /// /// REST API Reference for ListNotebookExecutions Operation ListNotebookExecutionsResponse ListNotebookExecutions(ListNotebookExecutionsRequest request); /// /// Provides summaries of all notebook executions. You can filter the list based on multiple /// criteria such as status, time range, and editor id. Returns a maximum of 50 notebook /// executions and a marker to track the paging of a longer notebook execution list across /// multiple ListNotebookExecutions calls. /// /// Container for the necessary parameters to execute the ListNotebookExecutions service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListNotebookExecutions service method, as returned by ElasticMapReduce. /// /// Indicates that an error occurred while processing the request and that the request /// was not completed. /// /// /// This exception occurs when there is something wrong with user input. /// /// REST API Reference for ListNotebookExecutions Operation Task ListNotebookExecutionsAsync(ListNotebookExecutionsRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region ListReleaseLabels /// /// Retrieves release labels of Amazon EMR services in the Region where the API is called. /// /// Container for the necessary parameters to execute the ListReleaseLabels service method. /// /// The response from the ListReleaseLabels service method, as returned by ElasticMapReduce. /// /// This exception occurs when there is an internal failure in the Amazon EMR service. /// /// /// This exception occurs when there is something wrong with user input. /// /// REST API Reference for ListReleaseLabels Operation ListReleaseLabelsResponse ListReleaseLabels(ListReleaseLabelsRequest request); /// /// Retrieves release labels of Amazon EMR services in the Region where the API is called. /// /// Container for the necessary parameters to execute the ListReleaseLabels service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListReleaseLabels service method, as returned by ElasticMapReduce. /// /// This exception occurs when there is an internal failure in the Amazon EMR service. /// /// /// This exception occurs when there is something wrong with user input. /// /// REST API Reference for ListReleaseLabels Operation Task ListReleaseLabelsAsync(ListReleaseLabelsRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region ListSecurityConfigurations /// /// Lists all the security configurations visible to this account, providing their creation /// dates and times, and their names. This call returns a maximum of 50 clusters per call, /// but returns a marker to track the paging of the cluster list across multiple ListSecurityConfigurations /// calls. /// /// Container for the necessary parameters to execute the ListSecurityConfigurations service method. /// /// The response from the ListSecurityConfigurations service method, as returned by ElasticMapReduce. /// /// This exception occurs when there is an internal failure in the Amazon EMR service. /// /// /// This exception occurs when there is something wrong with user input. /// /// REST API Reference for ListSecurityConfigurations Operation ListSecurityConfigurationsResponse ListSecurityConfigurations(ListSecurityConfigurationsRequest request); /// /// Lists all the security configurations visible to this account, providing their creation /// dates and times, and their names. This call returns a maximum of 50 clusters per call, /// but returns a marker to track the paging of the cluster list across multiple ListSecurityConfigurations /// calls. /// /// Container for the necessary parameters to execute the ListSecurityConfigurations service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListSecurityConfigurations service method, as returned by ElasticMapReduce. /// /// This exception occurs when there is an internal failure in the Amazon EMR service. /// /// /// This exception occurs when there is something wrong with user input. /// /// REST API Reference for ListSecurityConfigurations Operation Task ListSecurityConfigurationsAsync(ListSecurityConfigurationsRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region ListSteps /// /// Provides a list of steps for the cluster in reverse order unless you specify stepIds /// with the request or filter by StepStates. You can specify a maximum of /// 10 stepIDs. The CLI automatically paginates results to return a list /// greater than 50 steps. To return more than 50 steps using the CLI, specify a Marker, /// which is a pagination token that indicates the next set of steps to retrieve. /// /// /// The response from the ListSteps service method, as returned by ElasticMapReduce. /// /// This exception occurs when there is an internal failure in the Amazon EMR service. /// /// /// This exception occurs when there is something wrong with user input. /// /// REST API Reference for ListSteps Operation ListStepsResponse ListSteps(); /// /// Provides a list of steps for the cluster in reverse order unless you specify stepIds /// with the request or filter by StepStates. You can specify a maximum of /// 10 stepIDs. The CLI automatically paginates results to return a list /// greater than 50 steps. To return more than 50 steps using the CLI, specify a Marker, /// which is a pagination token that indicates the next set of steps to retrieve. /// /// Container for the necessary parameters to execute the ListSteps service method. /// /// The response from the ListSteps service method, as returned by ElasticMapReduce. /// /// This exception occurs when there is an internal failure in the Amazon EMR service. /// /// /// This exception occurs when there is something wrong with user input. /// /// REST API Reference for ListSteps Operation ListStepsResponse ListSteps(ListStepsRequest request); /// /// Provides a list of steps for the cluster in reverse order unless you specify stepIds /// with the request or filter by StepStates. You can specify a maximum of /// 10 stepIDs. The CLI automatically paginates results to return a list /// greater than 50 steps. To return more than 50 steps using the CLI, specify a Marker, /// which is a pagination token that indicates the next set of steps to retrieve. /// /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListSteps service method, as returned by ElasticMapReduce. /// /// This exception occurs when there is an internal failure in the Amazon EMR service. /// /// /// This exception occurs when there is something wrong with user input. /// /// REST API Reference for ListSteps Operation Task ListStepsAsync(System.Threading.CancellationToken cancellationToken = default(CancellationToken)); /// /// Provides a list of steps for the cluster in reverse order unless you specify stepIds /// with the request or filter by StepStates. You can specify a maximum of /// 10 stepIDs. The CLI automatically paginates results to return a list /// greater than 50 steps. To return more than 50 steps using the CLI, specify a Marker, /// which is a pagination token that indicates the next set of steps to retrieve. /// /// Container for the necessary parameters to execute the ListSteps service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListSteps service method, as returned by ElasticMapReduce. /// /// This exception occurs when there is an internal failure in the Amazon EMR service. /// /// /// This exception occurs when there is something wrong with user input. /// /// REST API Reference for ListSteps Operation Task ListStepsAsync(ListStepsRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region ListStudios /// /// Returns a list of all Amazon EMR Studios associated with the Amazon Web Services account. /// The list includes details such as ID, Studio Access URL, and creation time for each /// Studio. /// /// Container for the necessary parameters to execute the ListStudios service method. /// /// The response from the ListStudios service method, as returned by ElasticMapReduce. /// /// This exception occurs when there is an internal failure in the Amazon EMR service. /// /// /// This exception occurs when there is something wrong with user input. /// /// REST API Reference for ListStudios Operation ListStudiosResponse ListStudios(ListStudiosRequest request); /// /// Returns a list of all Amazon EMR Studios associated with the Amazon Web Services account. /// The list includes details such as ID, Studio Access URL, and creation time for each /// Studio. /// /// Container for the necessary parameters to execute the ListStudios service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListStudios service method, as returned by ElasticMapReduce. /// /// This exception occurs when there is an internal failure in the Amazon EMR service. /// /// /// This exception occurs when there is something wrong with user input. /// /// REST API Reference for ListStudios Operation Task ListStudiosAsync(ListStudiosRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region ListStudioSessionMappings /// /// Returns a list of all user or group session mappings for the Amazon EMR Studio specified /// by StudioId. /// /// Container for the necessary parameters to execute the ListStudioSessionMappings service method. /// /// The response from the ListStudioSessionMappings service method, as returned by ElasticMapReduce. /// /// Indicates that an error occurred while processing the request and that the request /// was not completed. /// /// /// This exception occurs when there is something wrong with user input. /// /// REST API Reference for ListStudioSessionMappings Operation ListStudioSessionMappingsResponse ListStudioSessionMappings(ListStudioSessionMappingsRequest request); /// /// Returns a list of all user or group session mappings for the Amazon EMR Studio specified /// by StudioId. /// /// Container for the necessary parameters to execute the ListStudioSessionMappings service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListStudioSessionMappings service method, as returned by ElasticMapReduce. /// /// Indicates that an error occurred while processing the request and that the request /// was not completed. /// /// /// This exception occurs when there is something wrong with user input. /// /// REST API Reference for ListStudioSessionMappings Operation Task ListStudioSessionMappingsAsync(ListStudioSessionMappingsRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region ListSupportedInstanceTypes /// /// A list of the instance types that Amazon EMR supports. You can filter the list by /// Amazon Web Services Region and Amazon EMR release. /// /// Container for the necessary parameters to execute the ListSupportedInstanceTypes service method. /// /// The response from the ListSupportedInstanceTypes service method, as returned by ElasticMapReduce. /// /// This exception occurs when there is an internal failure in the Amazon EMR service. /// /// /// This exception occurs when there is something wrong with user input. /// /// REST API Reference for ListSupportedInstanceTypes Operation ListSupportedInstanceTypesResponse ListSupportedInstanceTypes(ListSupportedInstanceTypesRequest request); /// /// A list of the instance types that Amazon EMR supports. You can filter the list by /// Amazon Web Services Region and Amazon EMR release. /// /// Container for the necessary parameters to execute the ListSupportedInstanceTypes service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListSupportedInstanceTypes service method, as returned by ElasticMapReduce. /// /// This exception occurs when there is an internal failure in the Amazon EMR service. /// /// /// This exception occurs when there is something wrong with user input. /// /// REST API Reference for ListSupportedInstanceTypes Operation Task ListSupportedInstanceTypesAsync(ListSupportedInstanceTypesRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region ModifyCluster /// /// Modifies the number of steps that can be executed concurrently for the cluster specified /// using ClusterID. /// /// Container for the necessary parameters to execute the ModifyCluster service method. /// /// The response from the ModifyCluster service method, as returned by ElasticMapReduce. /// /// Indicates that an error occurred while processing the request and that the request /// was not completed. /// /// /// This exception occurs when there is something wrong with user input. /// /// REST API Reference for ModifyCluster Operation ModifyClusterResponse ModifyCluster(ModifyClusterRequest request); /// /// Modifies the number of steps that can be executed concurrently for the cluster specified /// using ClusterID. /// /// Container for the necessary parameters to execute the ModifyCluster service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ModifyCluster service method, as returned by ElasticMapReduce. /// /// Indicates that an error occurred while processing the request and that the request /// was not completed. /// /// /// This exception occurs when there is something wrong with user input. /// /// REST API Reference for ModifyCluster Operation Task ModifyClusterAsync(ModifyClusterRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region ModifyInstanceFleet /// /// Modifies the target On-Demand and target Spot capacities for the instance fleet with /// the specified InstanceFleetID within the cluster specified using ClusterID. The call /// either succeeds or fails atomically. /// /// /// /// The instance fleet configuration is available only in Amazon EMR releases 4.8.0 and /// later, excluding 5.0.x versions. /// /// /// /// Container for the necessary parameters to execute the ModifyInstanceFleet service method. /// /// The response from the ModifyInstanceFleet service method, as returned by ElasticMapReduce. /// /// This exception occurs when there is an internal failure in the Amazon EMR service. /// /// /// This exception occurs when there is something wrong with user input. /// /// REST API Reference for ModifyInstanceFleet Operation ModifyInstanceFleetResponse ModifyInstanceFleet(ModifyInstanceFleetRequest request); /// /// Modifies the target On-Demand and target Spot capacities for the instance fleet with /// the specified InstanceFleetID within the cluster specified using ClusterID. The call /// either succeeds or fails atomically. /// /// /// /// The instance fleet configuration is available only in Amazon EMR releases 4.8.0 and /// later, excluding 5.0.x versions. /// /// /// /// Container for the necessary parameters to execute the ModifyInstanceFleet service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ModifyInstanceFleet service method, as returned by ElasticMapReduce. /// /// This exception occurs when there is an internal failure in the Amazon EMR service. /// /// /// This exception occurs when there is something wrong with user input. /// /// REST API Reference for ModifyInstanceFleet Operation Task ModifyInstanceFleetAsync(ModifyInstanceFleetRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region ModifyInstanceGroups /// /// ModifyInstanceGroups modifies the number of nodes and configuration settings of an /// instance group. The input parameters include the new target instance count for the /// group and the instance group ID. The call will either succeed or fail atomically. /// /// Container for the necessary parameters to execute the ModifyInstanceGroups service method. /// /// The response from the ModifyInstanceGroups service method, as returned by ElasticMapReduce. /// /// Indicates that an error occurred while processing the request and that the request /// was not completed. /// /// REST API Reference for ModifyInstanceGroups Operation ModifyInstanceGroupsResponse ModifyInstanceGroups(ModifyInstanceGroupsRequest request); /// /// ModifyInstanceGroups modifies the number of nodes and configuration settings of an /// instance group. The input parameters include the new target instance count for the /// group and the instance group ID. The call will either succeed or fail atomically. /// /// Container for the necessary parameters to execute the ModifyInstanceGroups service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ModifyInstanceGroups service method, as returned by ElasticMapReduce. /// /// Indicates that an error occurred while processing the request and that the request /// was not completed. /// /// REST API Reference for ModifyInstanceGroups Operation Task ModifyInstanceGroupsAsync(ModifyInstanceGroupsRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region PutAutoScalingPolicy /// /// Creates or updates an automatic scaling policy for a core instance group or task instance /// group in an Amazon EMR cluster. The automatic scaling policy defines how an instance /// group dynamically adds and terminates Amazon EC2 instances in response to the value /// of a CloudWatch metric. /// /// Container for the necessary parameters to execute the PutAutoScalingPolicy service method. /// /// The response from the PutAutoScalingPolicy service method, as returned by ElasticMapReduce. /// REST API Reference for PutAutoScalingPolicy Operation PutAutoScalingPolicyResponse PutAutoScalingPolicy(PutAutoScalingPolicyRequest request); /// /// Creates or updates an automatic scaling policy for a core instance group or task instance /// group in an Amazon EMR cluster. The automatic scaling policy defines how an instance /// group dynamically adds and terminates Amazon EC2 instances in response to the value /// of a CloudWatch metric. /// /// Container for the necessary parameters to execute the PutAutoScalingPolicy service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the PutAutoScalingPolicy service method, as returned by ElasticMapReduce. /// REST API Reference for PutAutoScalingPolicy Operation Task PutAutoScalingPolicyAsync(PutAutoScalingPolicyRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region PutAutoTerminationPolicy /// /// /// /// Auto-termination is supported in Amazon EMR releases 5.30.0 and 6.1.0 and later. For /// more information, see Using /// an auto-termination policy. /// /// /// /// Creates or updates an auto-termination policy for an Amazon EMR cluster. An auto-termination /// policy defines the amount of idle time in seconds after which a cluster automatically /// terminates. For alternative cluster termination options, see Control /// cluster termination. /// /// /// Container for the necessary parameters to execute the PutAutoTerminationPolicy service method. /// /// The response from the PutAutoTerminationPolicy service method, as returned by ElasticMapReduce. /// REST API Reference for PutAutoTerminationPolicy Operation PutAutoTerminationPolicyResponse PutAutoTerminationPolicy(PutAutoTerminationPolicyRequest request); /// /// /// /// Auto-termination is supported in Amazon EMR releases 5.30.0 and 6.1.0 and later. For /// more information, see Using /// an auto-termination policy. /// /// /// /// Creates or updates an auto-termination policy for an Amazon EMR cluster. An auto-termination /// policy defines the amount of idle time in seconds after which a cluster automatically /// terminates. For alternative cluster termination options, see Control /// cluster termination. /// /// /// Container for the necessary parameters to execute the PutAutoTerminationPolicy service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the PutAutoTerminationPolicy service method, as returned by ElasticMapReduce. /// REST API Reference for PutAutoTerminationPolicy Operation Task PutAutoTerminationPolicyAsync(PutAutoTerminationPolicyRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region PutBlockPublicAccessConfiguration /// /// Creates or updates an Amazon EMR block public access configuration for your Amazon /// Web Services account in the current Region. For more information see Configure /// Block Public Access for Amazon EMR in the Amazon EMR Management Guide. /// /// Container for the necessary parameters to execute the PutBlockPublicAccessConfiguration service method. /// /// The response from the PutBlockPublicAccessConfiguration service method, as returned by ElasticMapReduce. /// /// This exception occurs when there is an internal failure in the Amazon EMR service. /// /// /// This exception occurs when there is something wrong with user input. /// /// REST API Reference for PutBlockPublicAccessConfiguration Operation PutBlockPublicAccessConfigurationResponse PutBlockPublicAccessConfiguration(PutBlockPublicAccessConfigurationRequest request); /// /// Creates or updates an Amazon EMR block public access configuration for your Amazon /// Web Services account in the current Region. For more information see Configure /// Block Public Access for Amazon EMR in the Amazon EMR Management Guide. /// /// Container for the necessary parameters to execute the PutBlockPublicAccessConfiguration service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the PutBlockPublicAccessConfiguration service method, as returned by ElasticMapReduce. /// /// This exception occurs when there is an internal failure in the Amazon EMR service. /// /// /// This exception occurs when there is something wrong with user input. /// /// REST API Reference for PutBlockPublicAccessConfiguration Operation Task PutBlockPublicAccessConfigurationAsync(PutBlockPublicAccessConfigurationRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region PutManagedScalingPolicy /// /// Creates or updates a managed scaling policy for an Amazon EMR cluster. The managed /// scaling policy defines the limits for resources, such as Amazon EC2 instances that /// can be added or terminated from a cluster. The policy only applies to the core and /// task nodes. The master node cannot be scaled after initial configuration. /// /// Container for the necessary parameters to execute the PutManagedScalingPolicy service method. /// /// The response from the PutManagedScalingPolicy service method, as returned by ElasticMapReduce. /// REST API Reference for PutManagedScalingPolicy Operation PutManagedScalingPolicyResponse PutManagedScalingPolicy(PutManagedScalingPolicyRequest request); /// /// Creates or updates a managed scaling policy for an Amazon EMR cluster. The managed /// scaling policy defines the limits for resources, such as Amazon EC2 instances that /// can be added or terminated from a cluster. The policy only applies to the core and /// task nodes. The master node cannot be scaled after initial configuration. /// /// Container for the necessary parameters to execute the PutManagedScalingPolicy service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the PutManagedScalingPolicy service method, as returned by ElasticMapReduce. /// REST API Reference for PutManagedScalingPolicy Operation Task PutManagedScalingPolicyAsync(PutManagedScalingPolicyRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region RemoveAutoScalingPolicy /// /// Removes an automatic scaling policy from a specified instance group within an Amazon /// EMR cluster. /// /// Container for the necessary parameters to execute the RemoveAutoScalingPolicy service method. /// /// The response from the RemoveAutoScalingPolicy service method, as returned by ElasticMapReduce. /// REST API Reference for RemoveAutoScalingPolicy Operation RemoveAutoScalingPolicyResponse RemoveAutoScalingPolicy(RemoveAutoScalingPolicyRequest request); /// /// Removes an automatic scaling policy from a specified instance group within an Amazon /// EMR cluster. /// /// Container for the necessary parameters to execute the RemoveAutoScalingPolicy service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the RemoveAutoScalingPolicy service method, as returned by ElasticMapReduce. /// REST API Reference for RemoveAutoScalingPolicy Operation Task RemoveAutoScalingPolicyAsync(RemoveAutoScalingPolicyRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region RemoveAutoTerminationPolicy /// /// Removes an auto-termination policy from an Amazon EMR cluster. /// /// Container for the necessary parameters to execute the RemoveAutoTerminationPolicy service method. /// /// The response from the RemoveAutoTerminationPolicy service method, as returned by ElasticMapReduce. /// REST API Reference for RemoveAutoTerminationPolicy Operation RemoveAutoTerminationPolicyResponse RemoveAutoTerminationPolicy(RemoveAutoTerminationPolicyRequest request); /// /// Removes an auto-termination policy from an Amazon EMR cluster. /// /// Container for the necessary parameters to execute the RemoveAutoTerminationPolicy service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the RemoveAutoTerminationPolicy service method, as returned by ElasticMapReduce. /// REST API Reference for RemoveAutoTerminationPolicy Operation Task RemoveAutoTerminationPolicyAsync(RemoveAutoTerminationPolicyRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region RemoveManagedScalingPolicy /// /// Removes a managed scaling policy from a specified Amazon EMR cluster. /// /// Container for the necessary parameters to execute the RemoveManagedScalingPolicy service method. /// /// The response from the RemoveManagedScalingPolicy service method, as returned by ElasticMapReduce. /// REST API Reference for RemoveManagedScalingPolicy Operation RemoveManagedScalingPolicyResponse RemoveManagedScalingPolicy(RemoveManagedScalingPolicyRequest request); /// /// Removes a managed scaling policy from a specified Amazon EMR cluster. /// /// Container for the necessary parameters to execute the RemoveManagedScalingPolicy service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the RemoveManagedScalingPolicy service method, as returned by ElasticMapReduce. /// REST API Reference for RemoveManagedScalingPolicy Operation Task RemoveManagedScalingPolicyAsync(RemoveManagedScalingPolicyRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region RemoveTags /// /// Removes tags from an Amazon EMR resource, such as a cluster or Amazon EMR Studio. /// Tags make it easier to associate resources in various ways, such as grouping clusters /// to track your Amazon EMR resource allocation costs. For more information, see Tag /// Clusters. /// /// /// /// The following example removes the stack tag with value Prod from a cluster: /// /// /// Container for the necessary parameters to execute the RemoveTags service method. /// /// The response from the RemoveTags service method, as returned by ElasticMapReduce. /// /// This exception occurs when there is an internal failure in the Amazon EMR service. /// /// /// This exception occurs when there is something wrong with user input. /// /// REST API Reference for RemoveTags Operation RemoveTagsResponse RemoveTags(RemoveTagsRequest request); /// /// Removes tags from an Amazon EMR resource, such as a cluster or Amazon EMR Studio. /// Tags make it easier to associate resources in various ways, such as grouping clusters /// to track your Amazon EMR resource allocation costs. For more information, see Tag /// Clusters. /// /// /// /// The following example removes the stack tag with value Prod from a cluster: /// /// /// Container for the necessary parameters to execute the RemoveTags service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the RemoveTags service method, as returned by ElasticMapReduce. /// /// This exception occurs when there is an internal failure in the Amazon EMR service. /// /// /// This exception occurs when there is something wrong with user input. /// /// REST API Reference for RemoveTags Operation Task RemoveTagsAsync(RemoveTagsRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region RunJobFlow /// /// RunJobFlow creates and starts running a new cluster (job flow). The cluster runs the /// steps specified. After the steps complete, the cluster stops and the HDFS partition /// is lost. To prevent loss of data, configure the last step of the job flow to store /// results in Amazon S3. If the JobFlowInstancesConfig KeepJobFlowAliveWhenNoSteps /// parameter is set to TRUE, the cluster transitions to the WAITING state /// rather than shutting down after the steps have completed. /// /// /// /// For additional protection, you can set the JobFlowInstancesConfig TerminationProtected /// parameter to TRUE to lock the cluster and prevent it from being terminated /// by API call, user intervention, or in the event of a job flow error. /// /// /// /// A maximum of 256 steps are allowed in each job flow. /// /// /// /// If your cluster is long-running (such as a Hive data warehouse) or complex, you may /// require more than 256 steps to process your data. You can bypass the 256-step limitation /// in various ways, including using the SSH shell to connect to the master node and submitting /// queries directly to the software running on the master node, such as Hive and Hadoop. /// /// /// /// For long-running clusters, we recommend that you periodically store your results. /// /// /// /// The instance fleets configuration is available only in Amazon EMR releases 4.8.0 and /// later, excluding 5.0.x versions. The RunJobFlow request can contain InstanceFleets /// parameters or InstanceGroups parameters, but not both. /// /// /// /// Container for the necessary parameters to execute the RunJobFlow service method. /// /// The response from the RunJobFlow service method, as returned by ElasticMapReduce. /// /// Indicates that an error occurred while processing the request and that the request /// was not completed. /// /// REST API Reference for RunJobFlow Operation RunJobFlowResponse RunJobFlow(RunJobFlowRequest request); /// /// RunJobFlow creates and starts running a new cluster (job flow). The cluster runs the /// steps specified. After the steps complete, the cluster stops and the HDFS partition /// is lost. To prevent loss of data, configure the last step of the job flow to store /// results in Amazon S3. If the JobFlowInstancesConfig KeepJobFlowAliveWhenNoSteps /// parameter is set to TRUE, the cluster transitions to the WAITING state /// rather than shutting down after the steps have completed. /// /// /// /// For additional protection, you can set the JobFlowInstancesConfig TerminationProtected /// parameter to TRUE to lock the cluster and prevent it from being terminated /// by API call, user intervention, or in the event of a job flow error. /// /// /// /// A maximum of 256 steps are allowed in each job flow. /// /// /// /// If your cluster is long-running (such as a Hive data warehouse) or complex, you may /// require more than 256 steps to process your data. You can bypass the 256-step limitation /// in various ways, including using the SSH shell to connect to the master node and submitting /// queries directly to the software running on the master node, such as Hive and Hadoop. /// /// /// /// For long-running clusters, we recommend that you periodically store your results. /// /// /// /// The instance fleets configuration is available only in Amazon EMR releases 4.8.0 and /// later, excluding 5.0.x versions. The RunJobFlow request can contain InstanceFleets /// parameters or InstanceGroups parameters, but not both. /// /// /// /// Container for the necessary parameters to execute the RunJobFlow service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the RunJobFlow service method, as returned by ElasticMapReduce. /// /// Indicates that an error occurred while processing the request and that the request /// was not completed. /// /// REST API Reference for RunJobFlow Operation Task RunJobFlowAsync(RunJobFlowRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region SetTerminationProtection /// /// SetTerminationProtection locks a cluster (job flow) so the Amazon EC2 instances in /// the cluster cannot be terminated by user intervention, an API call, or in the event /// of a job-flow error. The cluster still terminates upon successful completion of the /// job flow. Calling SetTerminationProtection on a cluster is similar to /// calling the Amazon EC2 DisableAPITermination API on all Amazon EC2 instances /// in a cluster. /// /// /// /// SetTerminationProtection is used to prevent accidental termination of /// a cluster and to ensure that in the event of an error, the instances persist so that /// you can recover any data stored in their ephemeral instance storage. /// /// /// /// To terminate a cluster that has been locked by setting SetTerminationProtection /// to true, you must first unlock the job flow by a subsequent call to SetTerminationProtection /// in which you set the value to false. /// /// /// /// For more information, seeManaging /// Cluster Termination in the Amazon EMR Management Guide. /// /// /// Container for the necessary parameters to execute the SetTerminationProtection service method. /// /// The response from the SetTerminationProtection service method, as returned by ElasticMapReduce. /// /// Indicates that an error occurred while processing the request and that the request /// was not completed. /// /// REST API Reference for SetTerminationProtection Operation SetTerminationProtectionResponse SetTerminationProtection(SetTerminationProtectionRequest request); /// /// SetTerminationProtection locks a cluster (job flow) so the Amazon EC2 instances in /// the cluster cannot be terminated by user intervention, an API call, or in the event /// of a job-flow error. The cluster still terminates upon successful completion of the /// job flow. Calling SetTerminationProtection on a cluster is similar to /// calling the Amazon EC2 DisableAPITermination API on all Amazon EC2 instances /// in a cluster. /// /// /// /// SetTerminationProtection is used to prevent accidental termination of /// a cluster and to ensure that in the event of an error, the instances persist so that /// you can recover any data stored in their ephemeral instance storage. /// /// /// /// To terminate a cluster that has been locked by setting SetTerminationProtection /// to true, you must first unlock the job flow by a subsequent call to SetTerminationProtection /// in which you set the value to false. /// /// /// /// For more information, seeManaging /// Cluster Termination in the Amazon EMR Management Guide. /// /// /// Container for the necessary parameters to execute the SetTerminationProtection service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the SetTerminationProtection service method, as returned by ElasticMapReduce. /// /// Indicates that an error occurred while processing the request and that the request /// was not completed. /// /// REST API Reference for SetTerminationProtection Operation Task SetTerminationProtectionAsync(SetTerminationProtectionRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region SetVisibleToAllUsers /// /// /// /// The SetVisibleToAllUsers parameter is no longer supported. Your cluster may be visible /// to all users in your account. To restrict cluster access using an IAM policy, see /// Identity /// and Access Management for Amazon EMR. /// /// /// /// Sets the Cluster$VisibleToAllUsers value for an Amazon EMR cluster. When true, /// IAM principals in the Amazon Web Services account can perform Amazon EMR cluster actions /// that their IAM policies allow. When false, only the IAM principal that /// created the cluster and the Amazon Web Services account root user can perform Amazon /// EMR actions on the cluster, regardless of IAM permissions policies attached to other /// IAM principals. /// /// /// /// This action works on running clusters. When you create a cluster, use the RunJobFlowInput$VisibleToAllUsers /// parameter. /// /// /// /// For more information, see Understanding /// the Amazon EMR Cluster VisibleToAllUsers Setting in the Amazon EMR Management /// Guide. /// /// /// Container for the necessary parameters to execute the SetVisibleToAllUsers service method. /// /// The response from the SetVisibleToAllUsers service method, as returned by ElasticMapReduce. /// /// Indicates that an error occurred while processing the request and that the request /// was not completed. /// /// REST API Reference for SetVisibleToAllUsers Operation SetVisibleToAllUsersResponse SetVisibleToAllUsers(SetVisibleToAllUsersRequest request); /// /// /// /// The SetVisibleToAllUsers parameter is no longer supported. Your cluster may be visible /// to all users in your account. To restrict cluster access using an IAM policy, see /// Identity /// and Access Management for Amazon EMR. /// /// /// /// Sets the Cluster$VisibleToAllUsers value for an Amazon EMR cluster. When true, /// IAM principals in the Amazon Web Services account can perform Amazon EMR cluster actions /// that their IAM policies allow. When false, only the IAM principal that /// created the cluster and the Amazon Web Services account root user can perform Amazon /// EMR actions on the cluster, regardless of IAM permissions policies attached to other /// IAM principals. /// /// /// /// This action works on running clusters. When you create a cluster, use the RunJobFlowInput$VisibleToAllUsers /// parameter. /// /// /// /// For more information, see Understanding /// the Amazon EMR Cluster VisibleToAllUsers Setting in the Amazon EMR Management /// Guide. /// /// /// Container for the necessary parameters to execute the SetVisibleToAllUsers service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the SetVisibleToAllUsers service method, as returned by ElasticMapReduce. /// /// Indicates that an error occurred while processing the request and that the request /// was not completed. /// /// REST API Reference for SetVisibleToAllUsers Operation Task SetVisibleToAllUsersAsync(SetVisibleToAllUsersRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region StartNotebookExecution /// /// Starts a notebook execution. /// /// Container for the necessary parameters to execute the StartNotebookExecution service method. /// /// The response from the StartNotebookExecution service method, as returned by ElasticMapReduce. /// /// This exception occurs when there is an internal failure in the Amazon EMR service. /// /// /// This exception occurs when there is something wrong with user input. /// /// REST API Reference for StartNotebookExecution Operation StartNotebookExecutionResponse StartNotebookExecution(StartNotebookExecutionRequest request); /// /// Starts a notebook execution. /// /// Container for the necessary parameters to execute the StartNotebookExecution service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the StartNotebookExecution service method, as returned by ElasticMapReduce. /// /// This exception occurs when there is an internal failure in the Amazon EMR service. /// /// /// This exception occurs when there is something wrong with user input. /// /// REST API Reference for StartNotebookExecution Operation Task StartNotebookExecutionAsync(StartNotebookExecutionRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region StopNotebookExecution /// /// Stops a notebook execution. /// /// Container for the necessary parameters to execute the StopNotebookExecution service method. /// /// The response from the StopNotebookExecution service method, as returned by ElasticMapReduce. /// /// Indicates that an error occurred while processing the request and that the request /// was not completed. /// /// /// This exception occurs when there is something wrong with user input. /// /// REST API Reference for StopNotebookExecution Operation StopNotebookExecutionResponse StopNotebookExecution(StopNotebookExecutionRequest request); /// /// Stops a notebook execution. /// /// Container for the necessary parameters to execute the StopNotebookExecution service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the StopNotebookExecution service method, as returned by ElasticMapReduce. /// /// Indicates that an error occurred while processing the request and that the request /// was not completed. /// /// /// This exception occurs when there is something wrong with user input. /// /// REST API Reference for StopNotebookExecution Operation Task StopNotebookExecutionAsync(StopNotebookExecutionRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region TerminateJobFlows /// /// TerminateJobFlows shuts a list of clusters (job flows) down. When a job flow is shut /// down, any step not yet completed is canceled and the Amazon EC2 instances on which /// the cluster is running are stopped. Any log files not already saved are uploaded to /// Amazon S3 if a LogUri was specified when the cluster was created. /// /// /// /// The maximum number of clusters allowed is 10. The call to TerminateJobFlows /// is asynchronous. Depending on the configuration of the cluster, it may take up to /// 1-5 minutes for the cluster to completely terminate and release allocated resources, /// such as Amazon EC2 instances. /// /// /// Container for the necessary parameters to execute the TerminateJobFlows service method. /// /// The response from the TerminateJobFlows service method, as returned by ElasticMapReduce. /// /// Indicates that an error occurred while processing the request and that the request /// was not completed. /// /// REST API Reference for TerminateJobFlows Operation TerminateJobFlowsResponse TerminateJobFlows(TerminateJobFlowsRequest request); /// /// TerminateJobFlows shuts a list of clusters (job flows) down. When a job flow is shut /// down, any step not yet completed is canceled and the Amazon EC2 instances on which /// the cluster is running are stopped. Any log files not already saved are uploaded to /// Amazon S3 if a LogUri was specified when the cluster was created. /// /// /// /// The maximum number of clusters allowed is 10. The call to TerminateJobFlows /// is asynchronous. Depending on the configuration of the cluster, it may take up to /// 1-5 minutes for the cluster to completely terminate and release allocated resources, /// such as Amazon EC2 instances. /// /// /// Container for the necessary parameters to execute the TerminateJobFlows service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the TerminateJobFlows service method, as returned by ElasticMapReduce. /// /// Indicates that an error occurred while processing the request and that the request /// was not completed. /// /// REST API Reference for TerminateJobFlows Operation Task TerminateJobFlowsAsync(TerminateJobFlowsRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region UpdateStudio /// /// Updates an Amazon EMR Studio configuration, including attributes such as name, description, /// and subnets. /// /// Container for the necessary parameters to execute the UpdateStudio service method. /// /// The response from the UpdateStudio service method, as returned by ElasticMapReduce. /// /// This exception occurs when there is an internal failure in the Amazon EMR service. /// /// /// This exception occurs when there is something wrong with user input. /// /// REST API Reference for UpdateStudio Operation UpdateStudioResponse UpdateStudio(UpdateStudioRequest request); /// /// Updates an Amazon EMR Studio configuration, including attributes such as name, description, /// and subnets. /// /// Container for the necessary parameters to execute the UpdateStudio service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the UpdateStudio service method, as returned by ElasticMapReduce. /// /// This exception occurs when there is an internal failure in the Amazon EMR service. /// /// /// This exception occurs when there is something wrong with user input. /// /// REST API Reference for UpdateStudio Operation Task UpdateStudioAsync(UpdateStudioRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region UpdateStudioSessionMapping /// /// Updates the session policy attached to the user or group for the specified Amazon /// EMR Studio. /// /// Container for the necessary parameters to execute the UpdateStudioSessionMapping service method. /// /// The response from the UpdateStudioSessionMapping service method, as returned by ElasticMapReduce. /// /// Indicates that an error occurred while processing the request and that the request /// was not completed. /// /// /// This exception occurs when there is something wrong with user input. /// /// REST API Reference for UpdateStudioSessionMapping Operation UpdateStudioSessionMappingResponse UpdateStudioSessionMapping(UpdateStudioSessionMappingRequest request); /// /// Updates the session policy attached to the user or group for the specified Amazon /// EMR Studio. /// /// Container for the necessary parameters to execute the UpdateStudioSessionMapping service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the UpdateStudioSessionMapping service method, as returned by ElasticMapReduce. /// /// Indicates that an error occurred while processing the request and that the request /// was not completed. /// /// /// This exception occurs when there is something wrong with user input. /// /// REST API Reference for UpdateStudioSessionMapping Operation Task UpdateStudioSessionMappingAsync(UpdateStudioSessionMappingRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion } }