/* * 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 databrew-2017-07-25.normal.json service model. */ using System; using System.Runtime.ExceptionServices; using System.Threading; using System.Threading.Tasks; using System.Collections.Generic; using System.Net; using Amazon.GlueDataBrew.Model; using Amazon.GlueDataBrew.Model.Internal.MarshallTransformations; using Amazon.GlueDataBrew.Internal; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Auth; using Amazon.Runtime.Internal.Transform; namespace Amazon.GlueDataBrew { /// /// Implementation for accessing GlueDataBrew /// /// Glue DataBrew is a visual, cloud-scale data-preparation service. DataBrew simplifies /// data preparation tasks, targeting data issues that are hard to spot and time-consuming /// to fix. DataBrew empowers users of all technical levels to visualize the data and /// perform one-click data transformations, with no coding required. /// public partial class AmazonGlueDataBrewClient : AmazonServiceClient, IAmazonGlueDataBrew { private static IServiceMetadata serviceMetadata = new AmazonGlueDataBrewMetadata(); #region Constructors /// /// Constructs AmazonGlueDataBrewClient with the credentials loaded from the application's /// default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance. /// /// Example App.config with credentials set. /// /// <?xml version="1.0" encoding="utf-8" ?> /// <configuration> /// <appSettings> /// <add key="AWSProfileName" value="AWS Default"/> /// </appSettings> /// </configuration> /// /// /// public AmazonGlueDataBrewClient() : base(FallbackCredentialsFactory.GetCredentials(), new AmazonGlueDataBrewConfig()) { } /// /// Constructs AmazonGlueDataBrewClient with the credentials loaded from the application's /// default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance. /// /// Example App.config with credentials set. /// /// <?xml version="1.0" encoding="utf-8" ?> /// <configuration> /// <appSettings> /// <add key="AWSProfileName" value="AWS Default"/> /// </appSettings> /// </configuration> /// /// /// /// The region to connect. public AmazonGlueDataBrewClient(RegionEndpoint region) : base(FallbackCredentialsFactory.GetCredentials(), new AmazonGlueDataBrewConfig{RegionEndpoint = region}) { } /// /// Constructs AmazonGlueDataBrewClient with the credentials loaded from the application's /// default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance. /// /// Example App.config with credentials set. /// /// <?xml version="1.0" encoding="utf-8" ?> /// <configuration> /// <appSettings> /// <add key="AWSProfileName" value="AWS Default"/> /// </appSettings> /// </configuration> /// /// /// /// The AmazonGlueDataBrewClient Configuration Object public AmazonGlueDataBrewClient(AmazonGlueDataBrewConfig config) : base(FallbackCredentialsFactory.GetCredentials(config), config){} /// /// Constructs AmazonGlueDataBrewClient with AWS Credentials /// /// AWS Credentials public AmazonGlueDataBrewClient(AWSCredentials credentials) : this(credentials, new AmazonGlueDataBrewConfig()) { } /// /// Constructs AmazonGlueDataBrewClient with AWS Credentials /// /// AWS Credentials /// The region to connect. public AmazonGlueDataBrewClient(AWSCredentials credentials, RegionEndpoint region) : this(credentials, new AmazonGlueDataBrewConfig{RegionEndpoint = region}) { } /// /// Constructs AmazonGlueDataBrewClient with AWS Credentials and an /// AmazonGlueDataBrewClient Configuration object. /// /// AWS Credentials /// The AmazonGlueDataBrewClient Configuration Object public AmazonGlueDataBrewClient(AWSCredentials credentials, AmazonGlueDataBrewConfig clientConfig) : base(credentials, clientConfig) { } /// /// Constructs AmazonGlueDataBrewClient with AWS Access Key ID and AWS Secret Key /// /// AWS Access Key ID /// AWS Secret Access Key public AmazonGlueDataBrewClient(string awsAccessKeyId, string awsSecretAccessKey) : this(awsAccessKeyId, awsSecretAccessKey, new AmazonGlueDataBrewConfig()) { } /// /// Constructs AmazonGlueDataBrewClient with AWS Access Key ID and AWS Secret Key /// /// AWS Access Key ID /// AWS Secret Access Key /// The region to connect. public AmazonGlueDataBrewClient(string awsAccessKeyId, string awsSecretAccessKey, RegionEndpoint region) : this(awsAccessKeyId, awsSecretAccessKey, new AmazonGlueDataBrewConfig() {RegionEndpoint=region}) { } /// /// Constructs AmazonGlueDataBrewClient with AWS Access Key ID, AWS Secret Key and an /// AmazonGlueDataBrewClient Configuration object. /// /// AWS Access Key ID /// AWS Secret Access Key /// The AmazonGlueDataBrewClient Configuration Object public AmazonGlueDataBrewClient(string awsAccessKeyId, string awsSecretAccessKey, AmazonGlueDataBrewConfig clientConfig) : base(awsAccessKeyId, awsSecretAccessKey, clientConfig) { } /// /// Constructs AmazonGlueDataBrewClient with AWS Access Key ID and AWS Secret Key /// /// AWS Access Key ID /// AWS Secret Access Key /// AWS Session Token public AmazonGlueDataBrewClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken) : this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonGlueDataBrewConfig()) { } /// /// Constructs AmazonGlueDataBrewClient with AWS Access Key ID and AWS Secret Key /// /// AWS Access Key ID /// AWS Secret Access Key /// AWS Session Token /// The region to connect. public AmazonGlueDataBrewClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, RegionEndpoint region) : this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonGlueDataBrewConfig{RegionEndpoint = region}) { } /// /// Constructs AmazonGlueDataBrewClient with AWS Access Key ID, AWS Secret Key and an /// AmazonGlueDataBrewClient Configuration object. /// /// AWS Access Key ID /// AWS Secret Access Key /// AWS Session Token /// The AmazonGlueDataBrewClient Configuration Object public AmazonGlueDataBrewClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, AmazonGlueDataBrewConfig clientConfig) : base(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, clientConfig) { } #endregion #if AWS_ASYNC_ENUMERABLES_API private IGlueDataBrewPaginatorFactory _paginators; /// /// Paginators for the service /// public IGlueDataBrewPaginatorFactory Paginators { get { if (this._paginators == null) { this._paginators = new GlueDataBrewPaginatorFactory(this); } return this._paginators; } } #endif #region Overrides /// /// Creates the signer for the service. /// protected override AbstractAWSSigner CreateSigner() { return new AWS4Signer(); } /// /// Customizes the runtime pipeline. /// /// Runtime pipeline for the current client. protected override void CustomizeRuntimePipeline(RuntimePipeline pipeline) { pipeline.RemoveHandler(); pipeline.AddHandlerAfter(new AmazonGlueDataBrewEndpointResolver()); } /// /// Capture metadata for the service. /// protected override IServiceMetadata ServiceMetadata { get { return serviceMetadata; } } #endregion #region Dispose /// /// Disposes the service client. /// protected override void Dispose(bool disposing) { base.Dispose(disposing); } #endregion #region BatchDeleteRecipeVersion internal virtual BatchDeleteRecipeVersionResponse BatchDeleteRecipeVersion(BatchDeleteRecipeVersionRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = BatchDeleteRecipeVersionRequestMarshaller.Instance; options.ResponseUnmarshaller = BatchDeleteRecipeVersionResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Deletes one or more versions of a recipe at a time. /// /// /// /// The entire request will be rejected if: /// ///
  • /// /// The recipe does not exist. /// ///
  • /// /// There is an invalid version identifier in the list of versions. /// ///
  • /// /// The version list is empty. /// ///
  • /// /// The version list size exceeds 50. /// ///
  • /// /// The version list contains duplicate entries. /// ///
/// /// The request will complete successfully, but with partial failures, if: /// ///
  • /// /// A version does not exist. /// ///
  • /// /// A version is being used by a job. /// ///
  • /// /// You specify LATEST_WORKING, but it's being used by a project. /// ///
  • /// /// The version fails to be deleted. /// ///
/// /// The LATEST_WORKING version will only be deleted if the recipe has no /// other versions. If you try to delete LATEST_WORKING while other versions /// exist (or if they can't be deleted), then LATEST_WORKING will be listed /// as partial failure in the response. /// ///
/// Container for the necessary parameters to execute the BatchDeleteRecipeVersion service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the BatchDeleteRecipeVersion service method, as returned by GlueDataBrew. /// /// Updating or deleting a resource can cause an inconsistent state. /// /// /// One or more resources can't be found. /// /// /// The input parameters for this request failed validation. /// /// REST API Reference for BatchDeleteRecipeVersion Operation public virtual Task BatchDeleteRecipeVersionAsync(BatchDeleteRecipeVersionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = BatchDeleteRecipeVersionRequestMarshaller.Instance; options.ResponseUnmarshaller = BatchDeleteRecipeVersionResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region CreateDataset internal virtual CreateDatasetResponse CreateDataset(CreateDatasetRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateDatasetRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateDatasetResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Creates a new DataBrew dataset. /// /// Container for the necessary parameters to execute the CreateDataset service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateDataset service method, as returned by GlueDataBrew. /// /// Access to the specified resource was denied. /// /// /// Updating or deleting a resource can cause an inconsistent state. /// /// /// A service quota is exceeded. /// /// /// The input parameters for this request failed validation. /// /// REST API Reference for CreateDataset Operation public virtual Task CreateDatasetAsync(CreateDatasetRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateDatasetRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateDatasetResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region CreateProfileJob internal virtual CreateProfileJobResponse CreateProfileJob(CreateProfileJobRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateProfileJobRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateProfileJobResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Creates a new job to analyze a dataset and create its data profile. /// /// Container for the necessary parameters to execute the CreateProfileJob service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateProfileJob service method, as returned by GlueDataBrew. /// /// Access to the specified resource was denied. /// /// /// Updating or deleting a resource can cause an inconsistent state. /// /// /// One or more resources can't be found. /// /// /// A service quota is exceeded. /// /// /// The input parameters for this request failed validation. /// /// REST API Reference for CreateProfileJob Operation public virtual Task CreateProfileJobAsync(CreateProfileJobRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateProfileJobRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateProfileJobResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region CreateProject internal virtual CreateProjectResponse CreateProject(CreateProjectRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateProjectRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateProjectResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Creates a new DataBrew project. /// /// Container for the necessary parameters to execute the CreateProject service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateProject service method, as returned by GlueDataBrew. /// /// Updating or deleting a resource can cause an inconsistent state. /// /// /// An internal service failure occurred. /// /// /// A service quota is exceeded. /// /// /// The input parameters for this request failed validation. /// /// REST API Reference for CreateProject Operation public virtual Task CreateProjectAsync(CreateProjectRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateProjectRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateProjectResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region CreateRecipe internal virtual CreateRecipeResponse CreateRecipe(CreateRecipeRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateRecipeRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateRecipeResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Creates a new DataBrew recipe. /// /// Container for the necessary parameters to execute the CreateRecipe service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateRecipe service method, as returned by GlueDataBrew. /// /// Updating or deleting a resource can cause an inconsistent state. /// /// /// A service quota is exceeded. /// /// /// The input parameters for this request failed validation. /// /// REST API Reference for CreateRecipe Operation public virtual Task CreateRecipeAsync(CreateRecipeRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateRecipeRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateRecipeResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region CreateRecipeJob internal virtual CreateRecipeJobResponse CreateRecipeJob(CreateRecipeJobRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateRecipeJobRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateRecipeJobResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Creates a new job to transform input data, using steps defined in an existing Glue /// DataBrew recipe /// /// Container for the necessary parameters to execute the CreateRecipeJob service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateRecipeJob service method, as returned by GlueDataBrew. /// /// Access to the specified resource was denied. /// /// /// Updating or deleting a resource can cause an inconsistent state. /// /// /// One or more resources can't be found. /// /// /// A service quota is exceeded. /// /// /// The input parameters for this request failed validation. /// /// REST API Reference for CreateRecipeJob Operation public virtual Task CreateRecipeJobAsync(CreateRecipeJobRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateRecipeJobRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateRecipeJobResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region CreateRuleset internal virtual CreateRulesetResponse CreateRuleset(CreateRulesetRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateRulesetRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateRulesetResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Creates a new ruleset that can be used in a profile job to validate the data quality /// of a dataset. /// /// Container for the necessary parameters to execute the CreateRuleset service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateRuleset service method, as returned by GlueDataBrew. /// /// Updating or deleting a resource can cause an inconsistent state. /// /// /// A service quota is exceeded. /// /// /// The input parameters for this request failed validation. /// /// REST API Reference for CreateRuleset Operation public virtual Task CreateRulesetAsync(CreateRulesetRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateRulesetRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateRulesetResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region CreateSchedule internal virtual CreateScheduleResponse CreateSchedule(CreateScheduleRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateScheduleRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateScheduleResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Creates a new schedule for one or more DataBrew jobs. Jobs can be run at a specific /// date and time, or at regular intervals. /// /// Container for the necessary parameters to execute the CreateSchedule service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateSchedule service method, as returned by GlueDataBrew. /// /// Updating or deleting a resource can cause an inconsistent state. /// /// /// A service quota is exceeded. /// /// /// The input parameters for this request failed validation. /// /// REST API Reference for CreateSchedule Operation public virtual Task CreateScheduleAsync(CreateScheduleRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateScheduleRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateScheduleResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DeleteDataset internal virtual DeleteDatasetResponse DeleteDataset(DeleteDatasetRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteDatasetRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteDatasetResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Deletes a dataset from DataBrew. /// /// Container for the necessary parameters to execute the DeleteDataset service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteDataset service method, as returned by GlueDataBrew. /// /// Updating or deleting a resource can cause an inconsistent state. /// /// /// One or more resources can't be found. /// /// /// The input parameters for this request failed validation. /// /// REST API Reference for DeleteDataset Operation public virtual Task DeleteDatasetAsync(DeleteDatasetRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteDatasetRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteDatasetResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DeleteJob internal virtual DeleteJobResponse DeleteJob(DeleteJobRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteJobRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteJobResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Deletes the specified DataBrew job. /// /// Container for the necessary parameters to execute the DeleteJob service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteJob service method, as returned by GlueDataBrew. /// /// Updating or deleting a resource can cause an inconsistent state. /// /// /// One or more resources can't be found. /// /// /// The input parameters for this request failed validation. /// /// REST API Reference for DeleteJob Operation public virtual Task DeleteJobAsync(DeleteJobRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteJobRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteJobResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DeleteProject internal virtual DeleteProjectResponse DeleteProject(DeleteProjectRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteProjectRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteProjectResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Deletes an existing DataBrew project. /// /// Container for the necessary parameters to execute the DeleteProject service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteProject service method, as returned by GlueDataBrew. /// /// Updating or deleting a resource can cause an inconsistent state. /// /// /// One or more resources can't be found. /// /// /// The input parameters for this request failed validation. /// /// REST API Reference for DeleteProject Operation public virtual Task DeleteProjectAsync(DeleteProjectRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteProjectRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteProjectResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DeleteRecipeVersion internal virtual DeleteRecipeVersionResponse DeleteRecipeVersion(DeleteRecipeVersionRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteRecipeVersionRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteRecipeVersionResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Deletes a single version of a DataBrew recipe. /// /// Container for the necessary parameters to execute the DeleteRecipeVersion service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteRecipeVersion service method, as returned by GlueDataBrew. /// /// Updating or deleting a resource can cause an inconsistent state. /// /// /// One or more resources can't be found. /// /// /// The input parameters for this request failed validation. /// /// REST API Reference for DeleteRecipeVersion Operation public virtual Task DeleteRecipeVersionAsync(DeleteRecipeVersionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteRecipeVersionRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteRecipeVersionResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DeleteRuleset internal virtual DeleteRulesetResponse DeleteRuleset(DeleteRulesetRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteRulesetRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteRulesetResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Deletes a ruleset. /// /// Container for the necessary parameters to execute the DeleteRuleset service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteRuleset service method, as returned by GlueDataBrew. /// /// Updating or deleting a resource can cause an inconsistent state. /// /// /// One or more resources can't be found. /// /// /// The input parameters for this request failed validation. /// /// REST API Reference for DeleteRuleset Operation public virtual Task DeleteRulesetAsync(DeleteRulesetRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteRulesetRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteRulesetResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DeleteSchedule internal virtual DeleteScheduleResponse DeleteSchedule(DeleteScheduleRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteScheduleRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteScheduleResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Deletes the specified DataBrew schedule. /// /// Container for the necessary parameters to execute the DeleteSchedule service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteSchedule service method, as returned by GlueDataBrew. /// /// One or more resources can't be found. /// /// /// The input parameters for this request failed validation. /// /// REST API Reference for DeleteSchedule Operation public virtual Task DeleteScheduleAsync(DeleteScheduleRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteScheduleRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteScheduleResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DescribeDataset internal virtual DescribeDatasetResponse DescribeDataset(DescribeDatasetRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeDatasetRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeDatasetResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Returns the definition of a specific DataBrew dataset. /// /// Container for the necessary parameters to execute the DescribeDataset service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeDataset service method, as returned by GlueDataBrew. /// /// One or more resources can't be found. /// /// /// The input parameters for this request failed validation. /// /// REST API Reference for DescribeDataset Operation public virtual Task DescribeDatasetAsync(DescribeDatasetRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeDatasetRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeDatasetResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DescribeJob internal virtual DescribeJobResponse DescribeJob(DescribeJobRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeJobRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeJobResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Returns the definition of a specific DataBrew job. /// /// Container for the necessary parameters to execute the DescribeJob service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeJob service method, as returned by GlueDataBrew. /// /// One or more resources can't be found. /// /// /// The input parameters for this request failed validation. /// /// REST API Reference for DescribeJob Operation public virtual Task DescribeJobAsync(DescribeJobRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeJobRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeJobResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DescribeJobRun internal virtual DescribeJobRunResponse DescribeJobRun(DescribeJobRunRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeJobRunRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeJobRunResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Represents one run of a DataBrew job. /// /// Container for the necessary parameters to execute the DescribeJobRun service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeJobRun service method, as returned by GlueDataBrew. /// /// One or more resources can't be found. /// /// /// The input parameters for this request failed validation. /// /// REST API Reference for DescribeJobRun Operation public virtual Task DescribeJobRunAsync(DescribeJobRunRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeJobRunRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeJobRunResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DescribeProject internal virtual DescribeProjectResponse DescribeProject(DescribeProjectRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeProjectRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeProjectResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Returns the definition of a specific DataBrew project. /// /// Container for the necessary parameters to execute the DescribeProject service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeProject service method, as returned by GlueDataBrew. /// /// One or more resources can't be found. /// /// /// The input parameters for this request failed validation. /// /// REST API Reference for DescribeProject Operation public virtual Task DescribeProjectAsync(DescribeProjectRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeProjectRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeProjectResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DescribeRecipe internal virtual DescribeRecipeResponse DescribeRecipe(DescribeRecipeRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeRecipeRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeRecipeResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Returns the definition of a specific DataBrew recipe corresponding to a particular /// version. /// /// Container for the necessary parameters to execute the DescribeRecipe service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeRecipe service method, as returned by GlueDataBrew. /// /// One or more resources can't be found. /// /// /// The input parameters for this request failed validation. /// /// REST API Reference for DescribeRecipe Operation public virtual Task DescribeRecipeAsync(DescribeRecipeRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeRecipeRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeRecipeResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DescribeRuleset internal virtual DescribeRulesetResponse DescribeRuleset(DescribeRulesetRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeRulesetRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeRulesetResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Retrieves detailed information about the ruleset. /// /// Container for the necessary parameters to execute the DescribeRuleset service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeRuleset service method, as returned by GlueDataBrew. /// /// One or more resources can't be found. /// /// /// The input parameters for this request failed validation. /// /// REST API Reference for DescribeRuleset Operation public virtual Task DescribeRulesetAsync(DescribeRulesetRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeRulesetRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeRulesetResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DescribeSchedule internal virtual DescribeScheduleResponse DescribeSchedule(DescribeScheduleRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeScheduleRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeScheduleResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Returns the definition of a specific DataBrew schedule. /// /// Container for the necessary parameters to execute the DescribeSchedule service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeSchedule service method, as returned by GlueDataBrew. /// /// One or more resources can't be found. /// /// /// The input parameters for this request failed validation. /// /// REST API Reference for DescribeSchedule Operation public virtual Task DescribeScheduleAsync(DescribeScheduleRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeScheduleRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeScheduleResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ListDatasets internal virtual ListDatasetsResponse ListDatasets(ListDatasetsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListDatasetsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListDatasetsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Lists all of the DataBrew datasets. /// /// Container for the necessary parameters to execute the ListDatasets service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListDatasets service method, as returned by GlueDataBrew. /// /// The input parameters for this request failed validation. /// /// REST API Reference for ListDatasets Operation public virtual Task ListDatasetsAsync(ListDatasetsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListDatasetsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListDatasetsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ListJobRuns internal virtual ListJobRunsResponse ListJobRuns(ListJobRunsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListJobRunsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListJobRunsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Lists all of the previous runs of a particular DataBrew job. /// /// Container for the necessary parameters to execute the ListJobRuns service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListJobRuns service method, as returned by GlueDataBrew. /// /// One or more resources can't be found. /// /// /// The input parameters for this request failed validation. /// /// REST API Reference for ListJobRuns Operation public virtual Task ListJobRunsAsync(ListJobRunsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListJobRunsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListJobRunsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ListJobs internal virtual ListJobsResponse ListJobs(ListJobsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListJobsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListJobsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Lists all of the DataBrew jobs that are defined. /// /// Container for the necessary parameters to execute the ListJobs service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListJobs service method, as returned by GlueDataBrew. /// /// The input parameters for this request failed validation. /// /// REST API Reference for ListJobs Operation public virtual Task ListJobsAsync(ListJobsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListJobsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListJobsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ListProjects internal virtual ListProjectsResponse ListProjects(ListProjectsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListProjectsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListProjectsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Lists all of the DataBrew projects that are defined. /// /// Container for the necessary parameters to execute the ListProjects service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListProjects service method, as returned by GlueDataBrew. /// /// The input parameters for this request failed validation. /// /// REST API Reference for ListProjects Operation public virtual Task ListProjectsAsync(ListProjectsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListProjectsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListProjectsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ListRecipes internal virtual ListRecipesResponse ListRecipes(ListRecipesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListRecipesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListRecipesResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Lists all of the DataBrew recipes that are defined. /// /// Container for the necessary parameters to execute the ListRecipes service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListRecipes service method, as returned by GlueDataBrew. /// /// The input parameters for this request failed validation. /// /// REST API Reference for ListRecipes Operation public virtual Task ListRecipesAsync(ListRecipesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListRecipesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListRecipesResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ListRecipeVersions internal virtual ListRecipeVersionsResponse ListRecipeVersions(ListRecipeVersionsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListRecipeVersionsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListRecipeVersionsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Lists the versions of a particular DataBrew recipe, except for LATEST_WORKING. /// /// Container for the necessary parameters to execute the ListRecipeVersions service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListRecipeVersions service method, as returned by GlueDataBrew. /// /// The input parameters for this request failed validation. /// /// REST API Reference for ListRecipeVersions Operation public virtual Task ListRecipeVersionsAsync(ListRecipeVersionsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListRecipeVersionsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListRecipeVersionsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ListRulesets internal virtual ListRulesetsResponse ListRulesets(ListRulesetsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListRulesetsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListRulesetsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// List all rulesets available in the current account or rulesets associated with a specific /// resource (dataset). /// /// Container for the necessary parameters to execute the ListRulesets service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListRulesets service method, as returned by GlueDataBrew. /// /// One or more resources can't be found. /// /// /// The input parameters for this request failed validation. /// /// REST API Reference for ListRulesets Operation public virtual Task ListRulesetsAsync(ListRulesetsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListRulesetsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListRulesetsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ListSchedules internal virtual ListSchedulesResponse ListSchedules(ListSchedulesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListSchedulesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListSchedulesResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Lists the DataBrew schedules that are defined. /// /// Container for the necessary parameters to execute the ListSchedules service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListSchedules service method, as returned by GlueDataBrew. /// /// The input parameters for this request failed validation. /// /// REST API Reference for ListSchedules Operation public virtual Task ListSchedulesAsync(ListSchedulesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListSchedulesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListSchedulesResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ListTagsForResource internal virtual ListTagsForResourceResponse ListTagsForResource(ListTagsForResourceRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListTagsForResourceRequestMarshaller.Instance; options.ResponseUnmarshaller = ListTagsForResourceResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Lists all the tags for a DataBrew resource. /// /// Container for the necessary parameters to execute the ListTagsForResource service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListTagsForResource service method, as returned by GlueDataBrew. /// /// An internal service failure occurred. /// /// /// One or more resources can't be found. /// /// /// The input parameters for this request failed validation. /// /// REST API Reference for ListTagsForResource Operation public virtual Task ListTagsForResourceAsync(ListTagsForResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListTagsForResourceRequestMarshaller.Instance; options.ResponseUnmarshaller = ListTagsForResourceResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region PublishRecipe internal virtual PublishRecipeResponse PublishRecipe(PublishRecipeRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = PublishRecipeRequestMarshaller.Instance; options.ResponseUnmarshaller = PublishRecipeResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Publishes a new version of a DataBrew recipe. /// /// Container for the necessary parameters to execute the PublishRecipe service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the PublishRecipe service method, as returned by GlueDataBrew. /// /// One or more resources can't be found. /// /// /// A service quota is exceeded. /// /// /// The input parameters for this request failed validation. /// /// REST API Reference for PublishRecipe Operation public virtual Task PublishRecipeAsync(PublishRecipeRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = PublishRecipeRequestMarshaller.Instance; options.ResponseUnmarshaller = PublishRecipeResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region SendProjectSessionAction internal virtual SendProjectSessionActionResponse SendProjectSessionAction(SendProjectSessionActionRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = SendProjectSessionActionRequestMarshaller.Instance; options.ResponseUnmarshaller = SendProjectSessionActionResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Performs a recipe step within an interactive DataBrew session that's currently open. /// /// Container for the necessary parameters to execute the SendProjectSessionAction service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the SendProjectSessionAction service method, as returned by GlueDataBrew. /// /// Updating or deleting a resource can cause an inconsistent state. /// /// /// One or more resources can't be found. /// /// /// The input parameters for this request failed validation. /// /// REST API Reference for SendProjectSessionAction Operation public virtual Task SendProjectSessionActionAsync(SendProjectSessionActionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = SendProjectSessionActionRequestMarshaller.Instance; options.ResponseUnmarshaller = SendProjectSessionActionResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region StartJobRun internal virtual StartJobRunResponse StartJobRun(StartJobRunRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = StartJobRunRequestMarshaller.Instance; options.ResponseUnmarshaller = StartJobRunResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Runs a DataBrew job. /// /// Container for the necessary parameters to execute the StartJobRun service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the StartJobRun service method, as returned by GlueDataBrew. /// /// Updating or deleting a resource can cause an inconsistent state. /// /// /// One or more resources can't be found. /// /// /// A service quota is exceeded. /// /// /// The input parameters for this request failed validation. /// /// REST API Reference for StartJobRun Operation public virtual Task StartJobRunAsync(StartJobRunRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = StartJobRunRequestMarshaller.Instance; options.ResponseUnmarshaller = StartJobRunResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region StartProjectSession internal virtual StartProjectSessionResponse StartProjectSession(StartProjectSessionRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = StartProjectSessionRequestMarshaller.Instance; options.ResponseUnmarshaller = StartProjectSessionResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Creates an interactive session, enabling you to manipulate data in a DataBrew project. /// /// Container for the necessary parameters to execute the StartProjectSession service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the StartProjectSession service method, as returned by GlueDataBrew. /// /// Updating or deleting a resource can cause an inconsistent state. /// /// /// One or more resources can't be found. /// /// /// A service quota is exceeded. /// /// /// The input parameters for this request failed validation. /// /// REST API Reference for StartProjectSession Operation public virtual Task StartProjectSessionAsync(StartProjectSessionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = StartProjectSessionRequestMarshaller.Instance; options.ResponseUnmarshaller = StartProjectSessionResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region StopJobRun internal virtual StopJobRunResponse StopJobRun(StopJobRunRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = StopJobRunRequestMarshaller.Instance; options.ResponseUnmarshaller = StopJobRunResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Stops a particular run of a job. /// /// Container for the necessary parameters to execute the StopJobRun service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the StopJobRun service method, as returned by GlueDataBrew. /// /// One or more resources can't be found. /// /// /// The input parameters for this request failed validation. /// /// REST API Reference for StopJobRun Operation public virtual Task StopJobRunAsync(StopJobRunRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = StopJobRunRequestMarshaller.Instance; options.ResponseUnmarshaller = StopJobRunResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region TagResource internal virtual TagResourceResponse TagResource(TagResourceRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = TagResourceRequestMarshaller.Instance; options.ResponseUnmarshaller = TagResourceResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Adds metadata tags to a DataBrew resource, such as a dataset, project, recipe, job, /// or schedule. /// /// Container for the necessary parameters to execute the TagResource service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the TagResource service method, as returned by GlueDataBrew. /// /// An internal service failure occurred. /// /// /// One or more resources can't be found. /// /// /// The input parameters for this request failed validation. /// /// REST API Reference for TagResource Operation public virtual Task TagResourceAsync(TagResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = TagResourceRequestMarshaller.Instance; options.ResponseUnmarshaller = TagResourceResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region UntagResource internal virtual UntagResourceResponse UntagResource(UntagResourceRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UntagResourceRequestMarshaller.Instance; options.ResponseUnmarshaller = UntagResourceResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Removes metadata tags from a DataBrew resource. /// /// Container for the necessary parameters to execute the UntagResource service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the UntagResource service method, as returned by GlueDataBrew. /// /// An internal service failure occurred. /// /// /// One or more resources can't be found. /// /// /// The input parameters for this request failed validation. /// /// REST API Reference for UntagResource Operation public virtual Task UntagResourceAsync(UntagResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UntagResourceRequestMarshaller.Instance; options.ResponseUnmarshaller = UntagResourceResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region UpdateDataset internal virtual UpdateDatasetResponse UpdateDataset(UpdateDatasetRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateDatasetRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateDatasetResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Modifies the definition of an existing DataBrew dataset. /// /// Container for the necessary parameters to execute the UpdateDataset service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the UpdateDataset service method, as returned by GlueDataBrew. /// /// Access to the specified resource was denied. /// /// /// One or more resources can't be found. /// /// /// The input parameters for this request failed validation. /// /// REST API Reference for UpdateDataset Operation public virtual Task UpdateDatasetAsync(UpdateDatasetRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateDatasetRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateDatasetResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region UpdateProfileJob internal virtual UpdateProfileJobResponse UpdateProfileJob(UpdateProfileJobRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateProfileJobRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateProfileJobResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Modifies the definition of an existing profile job. /// /// Container for the necessary parameters to execute the UpdateProfileJob service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the UpdateProfileJob service method, as returned by GlueDataBrew. /// /// Access to the specified resource was denied. /// /// /// One or more resources can't be found. /// /// /// The input parameters for this request failed validation. /// /// REST API Reference for UpdateProfileJob Operation public virtual Task UpdateProfileJobAsync(UpdateProfileJobRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateProfileJobRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateProfileJobResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region UpdateProject internal virtual UpdateProjectResponse UpdateProject(UpdateProjectRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateProjectRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateProjectResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Modifies the definition of an existing DataBrew project. /// /// Container for the necessary parameters to execute the UpdateProject service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the UpdateProject service method, as returned by GlueDataBrew. /// /// One or more resources can't be found. /// /// /// The input parameters for this request failed validation. /// /// REST API Reference for UpdateProject Operation public virtual Task UpdateProjectAsync(UpdateProjectRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateProjectRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateProjectResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region UpdateRecipe internal virtual UpdateRecipeResponse UpdateRecipe(UpdateRecipeRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateRecipeRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateRecipeResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Modifies the definition of the LATEST_WORKING version of a DataBrew recipe. /// /// Container for the necessary parameters to execute the UpdateRecipe service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the UpdateRecipe service method, as returned by GlueDataBrew. /// /// One or more resources can't be found. /// /// /// The input parameters for this request failed validation. /// /// REST API Reference for UpdateRecipe Operation public virtual Task UpdateRecipeAsync(UpdateRecipeRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateRecipeRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateRecipeResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region UpdateRecipeJob internal virtual UpdateRecipeJobResponse UpdateRecipeJob(UpdateRecipeJobRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateRecipeJobRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateRecipeJobResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Modifies the definition of an existing DataBrew recipe job. /// /// Container for the necessary parameters to execute the UpdateRecipeJob service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the UpdateRecipeJob service method, as returned by GlueDataBrew. /// /// Access to the specified resource was denied. /// /// /// One or more resources can't be found. /// /// /// The input parameters for this request failed validation. /// /// REST API Reference for UpdateRecipeJob Operation public virtual Task UpdateRecipeJobAsync(UpdateRecipeJobRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateRecipeJobRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateRecipeJobResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region UpdateRuleset internal virtual UpdateRulesetResponse UpdateRuleset(UpdateRulesetRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateRulesetRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateRulesetResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Updates specified ruleset. /// /// Container for the necessary parameters to execute the UpdateRuleset service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the UpdateRuleset service method, as returned by GlueDataBrew. /// /// One or more resources can't be found. /// /// /// The input parameters for this request failed validation. /// /// REST API Reference for UpdateRuleset Operation public virtual Task UpdateRulesetAsync(UpdateRulesetRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateRulesetRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateRulesetResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region UpdateSchedule internal virtual UpdateScheduleResponse UpdateSchedule(UpdateScheduleRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateScheduleRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateScheduleResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Modifies the definition of an existing DataBrew schedule. /// /// Container for the necessary parameters to execute the UpdateSchedule service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the UpdateSchedule service method, as returned by GlueDataBrew. /// /// One or more resources can't be found. /// /// /// A service quota is exceeded. /// /// /// The input parameters for this request failed validation. /// /// REST API Reference for UpdateSchedule Operation public virtual Task UpdateScheduleAsync(UpdateScheduleRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateScheduleRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateScheduleResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion } }