/* * 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 dataexchange-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.DataExchange.Model; using Amazon.DataExchange.Model.Internal.MarshallTransformations; using Amazon.DataExchange.Internal; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Auth; using Amazon.Runtime.Internal.Transform; namespace Amazon.DataExchange { /// /// Implementation for accessing DataExchange /// /// AWS Data Exchange is a service that makes it easy for AWS customers to exchange data /// in the cloud. You can use the AWS Data Exchange APIs to create, update, manage, and /// access file-based data set in the AWS Cloud. /// /// /// /// As a subscriber, you can view and access the data sets that you have an entitlement /// to through a subscription. You can use the APIs to download or copy your entitled /// data sets to Amazon Simple Storage Service (Amazon S3) for use across a variety of /// AWS analytics and machine learning services. /// /// /// /// As a provider, you can create and manage your data sets that you would like to publish /// to a product. Being able to package and provide your data sets into products requires /// a few steps to determine eligibility. For more information, visit the AWS Data /// Exchange User Guide. /// /// /// /// A data set is a collection of data that can be changed or updated over time. Data /// sets can be updated using revisions, which represent a new version or incremental /// change to a data set. A revision contains one or more assets. An asset in AWS Data /// Exchange is a piece of data that can be stored as an Amazon S3 object, Redshift datashare, /// API Gateway API, AWS Lake Formation data permission, or Amazon S3 data access. The /// asset can be a structured data file, an image file, or some other data file. Jobs /// are asynchronous import or export operations used to create or copy assets. /// /// public partial class AmazonDataExchangeClient : AmazonServiceClient, IAmazonDataExchange { private static IServiceMetadata serviceMetadata = new AmazonDataExchangeMetadata(); private IDataExchangePaginatorFactory _paginators; /// /// Paginators for the service /// public IDataExchangePaginatorFactory Paginators { get { if (this._paginators == null) { this._paginators = new DataExchangePaginatorFactory(this); } return this._paginators; } } #region Constructors /// /// Constructs AmazonDataExchangeClient 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 AmazonDataExchangeClient() : base(FallbackCredentialsFactory.GetCredentials(), new AmazonDataExchangeConfig()) { } /// /// Constructs AmazonDataExchangeClient 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 AmazonDataExchangeClient(RegionEndpoint region) : base(FallbackCredentialsFactory.GetCredentials(), new AmazonDataExchangeConfig{RegionEndpoint = region}) { } /// /// Constructs AmazonDataExchangeClient 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 AmazonDataExchangeClient Configuration Object public AmazonDataExchangeClient(AmazonDataExchangeConfig config) : base(FallbackCredentialsFactory.GetCredentials(config), config){} /// /// Constructs AmazonDataExchangeClient with AWS Credentials /// /// AWS Credentials public AmazonDataExchangeClient(AWSCredentials credentials) : this(credentials, new AmazonDataExchangeConfig()) { } /// /// Constructs AmazonDataExchangeClient with AWS Credentials /// /// AWS Credentials /// The region to connect. public AmazonDataExchangeClient(AWSCredentials credentials, RegionEndpoint region) : this(credentials, new AmazonDataExchangeConfig{RegionEndpoint = region}) { } /// /// Constructs AmazonDataExchangeClient with AWS Credentials and an /// AmazonDataExchangeClient Configuration object. /// /// AWS Credentials /// The AmazonDataExchangeClient Configuration Object public AmazonDataExchangeClient(AWSCredentials credentials, AmazonDataExchangeConfig clientConfig) : base(credentials, clientConfig) { } /// /// Constructs AmazonDataExchangeClient with AWS Access Key ID and AWS Secret Key /// /// AWS Access Key ID /// AWS Secret Access Key public AmazonDataExchangeClient(string awsAccessKeyId, string awsSecretAccessKey) : this(awsAccessKeyId, awsSecretAccessKey, new AmazonDataExchangeConfig()) { } /// /// Constructs AmazonDataExchangeClient with AWS Access Key ID and AWS Secret Key /// /// AWS Access Key ID /// AWS Secret Access Key /// The region to connect. public AmazonDataExchangeClient(string awsAccessKeyId, string awsSecretAccessKey, RegionEndpoint region) : this(awsAccessKeyId, awsSecretAccessKey, new AmazonDataExchangeConfig() {RegionEndpoint=region}) { } /// /// Constructs AmazonDataExchangeClient with AWS Access Key ID, AWS Secret Key and an /// AmazonDataExchangeClient Configuration object. /// /// AWS Access Key ID /// AWS Secret Access Key /// The AmazonDataExchangeClient Configuration Object public AmazonDataExchangeClient(string awsAccessKeyId, string awsSecretAccessKey, AmazonDataExchangeConfig clientConfig) : base(awsAccessKeyId, awsSecretAccessKey, clientConfig) { } /// /// Constructs AmazonDataExchangeClient with AWS Access Key ID and AWS Secret Key /// /// AWS Access Key ID /// AWS Secret Access Key /// AWS Session Token public AmazonDataExchangeClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken) : this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonDataExchangeConfig()) { } /// /// Constructs AmazonDataExchangeClient 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 AmazonDataExchangeClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, RegionEndpoint region) : this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonDataExchangeConfig{RegionEndpoint = region}) { } /// /// Constructs AmazonDataExchangeClient with AWS Access Key ID, AWS Secret Key and an /// AmazonDataExchangeClient Configuration object. /// /// AWS Access Key ID /// AWS Secret Access Key /// AWS Session Token /// The AmazonDataExchangeClient Configuration Object public AmazonDataExchangeClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, AmazonDataExchangeConfig clientConfig) : base(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, clientConfig) { } #endregion #region Overrides /// /// Creates the signer for the service. /// protected override AbstractAWSSigner CreateSigner() { return new AWS4Signer(); } /// /// Customize the pipeline /// /// protected override void CustomizeRuntimePipeline(RuntimePipeline pipeline) { pipeline.RemoveHandler(); pipeline.AddHandlerAfter(new AmazonDataExchangeEndpointResolver()); } /// /// 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 CancelJob /// /// This operation cancels a job. Jobs can be cancelled only when they are in the WAITING /// state. /// /// Container for the necessary parameters to execute the CancelJob service method. /// /// The response from the CancelJob service method, as returned by DataExchange. /// /// The request couldn't be completed because it conflicted with the current state of /// the resource. /// /// /// An exception occurred with the service. /// /// /// The resource couldn't be found. /// /// /// The limit on the number of requests per second was exceeded. /// /// /// The request was invalid. /// /// REST API Reference for CancelJob Operation public virtual CancelJobResponse CancelJob(CancelJobRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CancelJobRequestMarshaller.Instance; options.ResponseUnmarshaller = CancelJobResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// This operation cancels a job. Jobs can be cancelled only when they are in the WAITING /// state. /// /// Container for the necessary parameters to execute the CancelJob service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CancelJob service method, as returned by DataExchange. /// /// The request couldn't be completed because it conflicted with the current state of /// the resource. /// /// /// An exception occurred with the service. /// /// /// The resource couldn't be found. /// /// /// The limit on the number of requests per second was exceeded. /// /// /// The request was invalid. /// /// REST API Reference for CancelJob Operation public virtual Task CancelJobAsync(CancelJobRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CancelJobRequestMarshaller.Instance; options.ResponseUnmarshaller = CancelJobResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region CreateDataSet /// /// This operation creates a data set. /// /// Container for the necessary parameters to execute the CreateDataSet service method. /// /// The response from the CreateDataSet service method, as returned by DataExchange. /// /// Access to the resource is denied. /// /// /// An exception occurred with the service. /// /// /// The request has exceeded the quotas imposed by the service. /// /// /// The limit on the number of requests per second was exceeded. /// /// /// The request was invalid. /// /// REST API Reference for CreateDataSet Operation public virtual CreateDataSetResponse CreateDataSet(CreateDataSetRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateDataSetRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateDataSetResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// This operation creates a data set. /// /// 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 DataExchange. /// /// Access to the resource is denied. /// /// /// An exception occurred with the service. /// /// /// The request has exceeded the quotas imposed by the service. /// /// /// The limit on the number of requests per second was exceeded. /// /// /// The request was invalid. /// /// 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 CreateEventAction /// /// This operation creates an event action. /// /// Container for the necessary parameters to execute the CreateEventAction service method. /// /// The response from the CreateEventAction service method, as returned by DataExchange. /// /// Access to the resource is denied. /// /// /// An exception occurred with the service. /// /// /// The request has exceeded the quotas imposed by the service. /// /// /// The limit on the number of requests per second was exceeded. /// /// /// The request was invalid. /// /// REST API Reference for CreateEventAction Operation public virtual CreateEventActionResponse CreateEventAction(CreateEventActionRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateEventActionRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateEventActionResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// This operation creates an event action. /// /// Container for the necessary parameters to execute the CreateEventAction service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateEventAction service method, as returned by DataExchange. /// /// Access to the resource is denied. /// /// /// An exception occurred with the service. /// /// /// The request has exceeded the quotas imposed by the service. /// /// /// The limit on the number of requests per second was exceeded. /// /// /// The request was invalid. /// /// REST API Reference for CreateEventAction Operation public virtual Task CreateEventActionAsync(CreateEventActionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateEventActionRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateEventActionResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region CreateJob /// /// This operation creates a job. /// /// Container for the necessary parameters to execute the CreateJob service method. /// /// The response from the CreateJob service method, as returned by DataExchange. /// /// Access to the resource is denied. /// /// /// The request couldn't be completed because it conflicted with the current state of /// the resource. /// /// /// An exception occurred with the service. /// /// /// The resource couldn't be found. /// /// /// The limit on the number of requests per second was exceeded. /// /// /// The request was invalid. /// /// REST API Reference for CreateJob Operation public virtual CreateJobResponse CreateJob(CreateJobRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateJobRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateJobResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// This operation creates a job. /// /// Container for the necessary parameters to execute the CreateJob service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateJob service method, as returned by DataExchange. /// /// Access to the resource is denied. /// /// /// The request couldn't be completed because it conflicted with the current state of /// the resource. /// /// /// An exception occurred with the service. /// /// /// The resource couldn't be found. /// /// /// The limit on the number of requests per second was exceeded. /// /// /// The request was invalid. /// /// REST API Reference for CreateJob Operation public virtual Task CreateJobAsync(CreateJobRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateJobRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateJobResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region CreateRevision /// /// This operation creates a revision for a data set. /// /// Container for the necessary parameters to execute the CreateRevision service method. /// /// The response from the CreateRevision service method, as returned by DataExchange. /// /// Access to the resource is denied. /// /// /// An exception occurred with the service. /// /// /// The resource couldn't be found. /// /// /// The limit on the number of requests per second was exceeded. /// /// /// The request was invalid. /// /// REST API Reference for CreateRevision Operation public virtual CreateRevisionResponse CreateRevision(CreateRevisionRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateRevisionRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateRevisionResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// This operation creates a revision for a data set. /// /// Container for the necessary parameters to execute the CreateRevision service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateRevision service method, as returned by DataExchange. /// /// Access to the resource is denied. /// /// /// An exception occurred with the service. /// /// /// The resource couldn't be found. /// /// /// The limit on the number of requests per second was exceeded. /// /// /// The request was invalid. /// /// REST API Reference for CreateRevision Operation public virtual Task CreateRevisionAsync(CreateRevisionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateRevisionRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateRevisionResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DeleteAsset /// /// This operation deletes an asset. /// /// Container for the necessary parameters to execute the DeleteAsset service method. /// /// The response from the DeleteAsset service method, as returned by DataExchange. /// /// Access to the resource is denied. /// /// /// The request couldn't be completed because it conflicted with the current state of /// the resource. /// /// /// An exception occurred with the service. /// /// /// The resource couldn't be found. /// /// /// The limit on the number of requests per second was exceeded. /// /// /// The request was invalid. /// /// REST API Reference for DeleteAsset Operation public virtual DeleteAssetResponse DeleteAsset(DeleteAssetRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteAssetRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteAssetResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// This operation deletes an asset. /// /// Container for the necessary parameters to execute the DeleteAsset service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteAsset service method, as returned by DataExchange. /// /// Access to the resource is denied. /// /// /// The request couldn't be completed because it conflicted with the current state of /// the resource. /// /// /// An exception occurred with the service. /// /// /// The resource couldn't be found. /// /// /// The limit on the number of requests per second was exceeded. /// /// /// The request was invalid. /// /// REST API Reference for DeleteAsset Operation public virtual Task DeleteAssetAsync(DeleteAssetRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteAssetRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteAssetResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DeleteDataSet /// /// This operation deletes a data set. /// /// Container for the necessary parameters to execute the DeleteDataSet service method. /// /// The response from the DeleteDataSet service method, as returned by DataExchange. /// /// Access to the resource is denied. /// /// /// The request couldn't be completed because it conflicted with the current state of /// the resource. /// /// /// An exception occurred with the service. /// /// /// The resource couldn't be found. /// /// /// The limit on the number of requests per second was exceeded. /// /// /// The request was invalid. /// /// REST API Reference for DeleteDataSet Operation public virtual DeleteDataSetResponse DeleteDataSet(DeleteDataSetRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteDataSetRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteDataSetResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// This operation deletes a data set. /// /// 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 DataExchange. /// /// Access to the resource is denied. /// /// /// The request couldn't be completed because it conflicted with the current state of /// the resource. /// /// /// An exception occurred with the service. /// /// /// The resource couldn't be found. /// /// /// The limit on the number of requests per second was exceeded. /// /// /// The request was invalid. /// /// 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 DeleteEventAction /// /// This operation deletes the event action. /// /// Container for the necessary parameters to execute the DeleteEventAction service method. /// /// The response from the DeleteEventAction service method, as returned by DataExchange. /// /// An exception occurred with the service. /// /// /// The resource couldn't be found. /// /// /// The limit on the number of requests per second was exceeded. /// /// /// The request was invalid. /// /// REST API Reference for DeleteEventAction Operation public virtual DeleteEventActionResponse DeleteEventAction(DeleteEventActionRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteEventActionRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteEventActionResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// This operation deletes the event action. /// /// Container for the necessary parameters to execute the DeleteEventAction service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteEventAction service method, as returned by DataExchange. /// /// An exception occurred with the service. /// /// /// The resource couldn't be found. /// /// /// The limit on the number of requests per second was exceeded. /// /// /// The request was invalid. /// /// REST API Reference for DeleteEventAction Operation public virtual Task DeleteEventActionAsync(DeleteEventActionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteEventActionRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteEventActionResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DeleteRevision /// /// This operation deletes a revision. /// /// Container for the necessary parameters to execute the DeleteRevision service method. /// /// The response from the DeleteRevision service method, as returned by DataExchange. /// /// Access to the resource is denied. /// /// /// The request couldn't be completed because it conflicted with the current state of /// the resource. /// /// /// An exception occurred with the service. /// /// /// The resource couldn't be found. /// /// /// The limit on the number of requests per second was exceeded. /// /// /// The request was invalid. /// /// REST API Reference for DeleteRevision Operation public virtual DeleteRevisionResponse DeleteRevision(DeleteRevisionRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteRevisionRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteRevisionResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// This operation deletes a revision. /// /// Container for the necessary parameters to execute the DeleteRevision service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteRevision service method, as returned by DataExchange. /// /// Access to the resource is denied. /// /// /// The request couldn't be completed because it conflicted with the current state of /// the resource. /// /// /// An exception occurred with the service. /// /// /// The resource couldn't be found. /// /// /// The limit on the number of requests per second was exceeded. /// /// /// The request was invalid. /// /// REST API Reference for DeleteRevision Operation public virtual Task DeleteRevisionAsync(DeleteRevisionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteRevisionRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteRevisionResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetAsset /// /// This operation returns information about an asset. /// /// Container for the necessary parameters to execute the GetAsset service method. /// /// The response from the GetAsset service method, as returned by DataExchange. /// /// An exception occurred with the service. /// /// /// The resource couldn't be found. /// /// /// The limit on the number of requests per second was exceeded. /// /// /// The request was invalid. /// /// REST API Reference for GetAsset Operation public virtual GetAssetResponse GetAsset(GetAssetRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetAssetRequestMarshaller.Instance; options.ResponseUnmarshaller = GetAssetResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// This operation returns information about an asset. /// /// Container for the necessary parameters to execute the GetAsset service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetAsset service method, as returned by DataExchange. /// /// An exception occurred with the service. /// /// /// The resource couldn't be found. /// /// /// The limit on the number of requests per second was exceeded. /// /// /// The request was invalid. /// /// REST API Reference for GetAsset Operation public virtual Task GetAssetAsync(GetAssetRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetAssetRequestMarshaller.Instance; options.ResponseUnmarshaller = GetAssetResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetDataSet /// /// This operation returns information about a data set. /// /// Container for the necessary parameters to execute the GetDataSet service method. /// /// The response from the GetDataSet service method, as returned by DataExchange. /// /// An exception occurred with the service. /// /// /// The resource couldn't be found. /// /// /// The limit on the number of requests per second was exceeded. /// /// /// The request was invalid. /// /// REST API Reference for GetDataSet Operation public virtual GetDataSetResponse GetDataSet(GetDataSetRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetDataSetRequestMarshaller.Instance; options.ResponseUnmarshaller = GetDataSetResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// This operation returns information about a data set. /// /// Container for the necessary parameters to execute the GetDataSet service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetDataSet service method, as returned by DataExchange. /// /// An exception occurred with the service. /// /// /// The resource couldn't be found. /// /// /// The limit on the number of requests per second was exceeded. /// /// /// The request was invalid. /// /// REST API Reference for GetDataSet Operation public virtual Task GetDataSetAsync(GetDataSetRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetDataSetRequestMarshaller.Instance; options.ResponseUnmarshaller = GetDataSetResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetEventAction /// /// This operation retrieves information about an event action. /// /// Container for the necessary parameters to execute the GetEventAction service method. /// /// The response from the GetEventAction service method, as returned by DataExchange. /// /// An exception occurred with the service. /// /// /// The resource couldn't be found. /// /// /// The limit on the number of requests per second was exceeded. /// /// /// The request was invalid. /// /// REST API Reference for GetEventAction Operation public virtual GetEventActionResponse GetEventAction(GetEventActionRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetEventActionRequestMarshaller.Instance; options.ResponseUnmarshaller = GetEventActionResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// This operation retrieves information about an event action. /// /// Container for the necessary parameters to execute the GetEventAction service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetEventAction service method, as returned by DataExchange. /// /// An exception occurred with the service. /// /// /// The resource couldn't be found. /// /// /// The limit on the number of requests per second was exceeded. /// /// /// The request was invalid. /// /// REST API Reference for GetEventAction Operation public virtual Task GetEventActionAsync(GetEventActionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetEventActionRequestMarshaller.Instance; options.ResponseUnmarshaller = GetEventActionResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetJob /// /// This operation returns information about a job. /// /// Container for the necessary parameters to execute the GetJob service method. /// /// The response from the GetJob service method, as returned by DataExchange. /// /// An exception occurred with the service. /// /// /// The resource couldn't be found. /// /// /// The limit on the number of requests per second was exceeded. /// /// /// The request was invalid. /// /// REST API Reference for GetJob Operation public virtual GetJobResponse GetJob(GetJobRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetJobRequestMarshaller.Instance; options.ResponseUnmarshaller = GetJobResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// This operation returns information about a job. /// /// Container for the necessary parameters to execute the GetJob service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetJob service method, as returned by DataExchange. /// /// An exception occurred with the service. /// /// /// The resource couldn't be found. /// /// /// The limit on the number of requests per second was exceeded. /// /// /// The request was invalid. /// /// REST API Reference for GetJob Operation public virtual Task GetJobAsync(GetJobRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetJobRequestMarshaller.Instance; options.ResponseUnmarshaller = GetJobResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetRevision /// /// This operation returns information about a revision. /// /// Container for the necessary parameters to execute the GetRevision service method. /// /// The response from the GetRevision service method, as returned by DataExchange. /// /// An exception occurred with the service. /// /// /// The resource couldn't be found. /// /// /// The limit on the number of requests per second was exceeded. /// /// /// The request was invalid. /// /// REST API Reference for GetRevision Operation public virtual GetRevisionResponse GetRevision(GetRevisionRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetRevisionRequestMarshaller.Instance; options.ResponseUnmarshaller = GetRevisionResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// This operation returns information about a revision. /// /// Container for the necessary parameters to execute the GetRevision service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetRevision service method, as returned by DataExchange. /// /// An exception occurred with the service. /// /// /// The resource couldn't be found. /// /// /// The limit on the number of requests per second was exceeded. /// /// /// The request was invalid. /// /// REST API Reference for GetRevision Operation public virtual Task GetRevisionAsync(GetRevisionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetRevisionRequestMarshaller.Instance; options.ResponseUnmarshaller = GetRevisionResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ListDataSetRevisions /// /// This operation lists a data set's revisions sorted by CreatedAt in descending order. /// /// Container for the necessary parameters to execute the ListDataSetRevisions service method. /// /// The response from the ListDataSetRevisions service method, as returned by DataExchange. /// /// An exception occurred with the service. /// /// /// The resource couldn't be found. /// /// /// The limit on the number of requests per second was exceeded. /// /// /// The request was invalid. /// /// REST API Reference for ListDataSetRevisions Operation public virtual ListDataSetRevisionsResponse ListDataSetRevisions(ListDataSetRevisionsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListDataSetRevisionsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListDataSetRevisionsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// This operation lists a data set's revisions sorted by CreatedAt in descending order. /// /// Container for the necessary parameters to execute the ListDataSetRevisions service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListDataSetRevisions service method, as returned by DataExchange. /// /// An exception occurred with the service. /// /// /// The resource couldn't be found. /// /// /// The limit on the number of requests per second was exceeded. /// /// /// The request was invalid. /// /// REST API Reference for ListDataSetRevisions Operation public virtual Task ListDataSetRevisionsAsync(ListDataSetRevisionsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListDataSetRevisionsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListDataSetRevisionsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ListDataSets /// /// This operation lists your data sets. When listing by origin OWNED, results are sorted /// by CreatedAt in descending order. When listing by origin ENTITLED, there is no order /// and the maxResults parameter is ignored. /// /// Container for the necessary parameters to execute the ListDataSets service method. /// /// The response from the ListDataSets service method, as returned by DataExchange. /// /// An exception occurred with the service. /// /// /// The resource couldn't be found. /// /// /// The limit on the number of requests per second was exceeded. /// /// /// The request was invalid. /// /// REST API Reference for ListDataSets Operation public virtual ListDataSetsResponse ListDataSets(ListDataSetsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListDataSetsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListDataSetsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// This operation lists your data sets. When listing by origin OWNED, results are sorted /// by CreatedAt in descending order. When listing by origin ENTITLED, there is no order /// and the maxResults parameter is ignored. /// /// 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 DataExchange. /// /// An exception occurred with the service. /// /// /// The resource couldn't be found. /// /// /// The limit on the number of requests per second was exceeded. /// /// /// The request was invalid. /// /// 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 ListEventActions /// /// This operation lists your event actions. /// /// Container for the necessary parameters to execute the ListEventActions service method. /// /// The response from the ListEventActions service method, as returned by DataExchange. /// /// An exception occurred with the service. /// /// /// The resource couldn't be found. /// /// /// The limit on the number of requests per second was exceeded. /// /// /// The request was invalid. /// /// REST API Reference for ListEventActions Operation public virtual ListEventActionsResponse ListEventActions(ListEventActionsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListEventActionsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListEventActionsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// This operation lists your event actions. /// /// Container for the necessary parameters to execute the ListEventActions service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListEventActions service method, as returned by DataExchange. /// /// An exception occurred with the service. /// /// /// The resource couldn't be found. /// /// /// The limit on the number of requests per second was exceeded. /// /// /// The request was invalid. /// /// REST API Reference for ListEventActions Operation public virtual Task ListEventActionsAsync(ListEventActionsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListEventActionsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListEventActionsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ListJobs /// /// This operation lists your jobs sorted by CreatedAt in descending order. /// /// Container for the necessary parameters to execute the ListJobs service method. /// /// The response from the ListJobs service method, as returned by DataExchange. /// /// An exception occurred with the service. /// /// /// The resource couldn't be found. /// /// /// The limit on the number of requests per second was exceeded. /// /// /// The request was invalid. /// /// REST API Reference for ListJobs Operation public virtual ListJobsResponse ListJobs(ListJobsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListJobsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListJobsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// This operation lists your jobs sorted by CreatedAt in descending order. /// /// 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 DataExchange. /// /// An exception occurred with the service. /// /// /// The resource couldn't be found. /// /// /// The limit on the number of requests per second was exceeded. /// /// /// The request was invalid. /// /// 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 ListRevisionAssets /// /// This operation lists a revision's assets sorted alphabetically in descending order. /// /// Container for the necessary parameters to execute the ListRevisionAssets service method. /// /// The response from the ListRevisionAssets service method, as returned by DataExchange. /// /// An exception occurred with the service. /// /// /// The resource couldn't be found. /// /// /// The limit on the number of requests per second was exceeded. /// /// /// The request was invalid. /// /// REST API Reference for ListRevisionAssets Operation public virtual ListRevisionAssetsResponse ListRevisionAssets(ListRevisionAssetsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListRevisionAssetsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListRevisionAssetsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// This operation lists a revision's assets sorted alphabetically in descending order. /// /// Container for the necessary parameters to execute the ListRevisionAssets service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListRevisionAssets service method, as returned by DataExchange. /// /// An exception occurred with the service. /// /// /// The resource couldn't be found. /// /// /// The limit on the number of requests per second was exceeded. /// /// /// The request was invalid. /// /// REST API Reference for ListRevisionAssets Operation public virtual Task ListRevisionAssetsAsync(ListRevisionAssetsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListRevisionAssetsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListRevisionAssetsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ListTagsForResource /// /// This operation lists the tags on the resource. /// /// Container for the necessary parameters to execute the ListTagsForResource service method. /// /// The response from the ListTagsForResource service method, as returned by DataExchange. /// REST API Reference for ListTagsForResource Operation public virtual ListTagsForResourceResponse ListTagsForResource(ListTagsForResourceRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListTagsForResourceRequestMarshaller.Instance; options.ResponseUnmarshaller = ListTagsForResourceResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// This operation lists the tags on the 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 DataExchange. /// 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 RevokeRevision /// /// This operation revokes subscribers' access to a revision. /// /// Container for the necessary parameters to execute the RevokeRevision service method. /// /// The response from the RevokeRevision service method, as returned by DataExchange. /// /// Access to the resource is denied. /// /// /// The request couldn't be completed because it conflicted with the current state of /// the resource. /// /// /// An exception occurred with the service. /// /// /// The resource couldn't be found. /// /// /// The limit on the number of requests per second was exceeded. /// /// /// The request was invalid. /// /// REST API Reference for RevokeRevision Operation public virtual RevokeRevisionResponse RevokeRevision(RevokeRevisionRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = RevokeRevisionRequestMarshaller.Instance; options.ResponseUnmarshaller = RevokeRevisionResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// This operation revokes subscribers' access to a revision. /// /// Container for the necessary parameters to execute the RevokeRevision service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the RevokeRevision service method, as returned by DataExchange. /// /// Access to the resource is denied. /// /// /// The request couldn't be completed because it conflicted with the current state of /// the resource. /// /// /// An exception occurred with the service. /// /// /// The resource couldn't be found. /// /// /// The limit on the number of requests per second was exceeded. /// /// /// The request was invalid. /// /// REST API Reference for RevokeRevision Operation public virtual Task RevokeRevisionAsync(RevokeRevisionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = RevokeRevisionRequestMarshaller.Instance; options.ResponseUnmarshaller = RevokeRevisionResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region SendApiAsset /// /// This operation invokes an API Gateway API asset. The request is proxied to the provider’s /// API Gateway API. /// /// Container for the necessary parameters to execute the SendApiAsset service method. /// /// The response from the SendApiAsset service method, as returned by DataExchange. /// /// Access to the resource is denied. /// /// /// An exception occurred with the service. /// /// /// The resource couldn't be found. /// /// /// The limit on the number of requests per second was exceeded. /// /// /// The request was invalid. /// /// REST API Reference for SendApiAsset Operation public virtual SendApiAssetResponse SendApiAsset(SendApiAssetRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = SendApiAssetRequestMarshaller.Instance; options.ResponseUnmarshaller = SendApiAssetResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// This operation invokes an API Gateway API asset. The request is proxied to the provider’s /// API Gateway API. /// /// Container for the necessary parameters to execute the SendApiAsset service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the SendApiAsset service method, as returned by DataExchange. /// /// Access to the resource is denied. /// /// /// An exception occurred with the service. /// /// /// The resource couldn't be found. /// /// /// The limit on the number of requests per second was exceeded. /// /// /// The request was invalid. /// /// REST API Reference for SendApiAsset Operation public virtual Task SendApiAssetAsync(SendApiAssetRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = SendApiAssetRequestMarshaller.Instance; options.ResponseUnmarshaller = SendApiAssetResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region StartJob /// /// This operation starts a job. /// /// Container for the necessary parameters to execute the StartJob service method. /// /// The response from the StartJob service method, as returned by DataExchange. /// /// Access to the resource is denied. /// /// /// The request couldn't be completed because it conflicted with the current state of /// the resource. /// /// /// An exception occurred with the service. /// /// /// The resource couldn't be found. /// /// /// The limit on the number of requests per second was exceeded. /// /// /// The request was invalid. /// /// REST API Reference for StartJob Operation public virtual StartJobResponse StartJob(StartJobRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = StartJobRequestMarshaller.Instance; options.ResponseUnmarshaller = StartJobResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// This operation starts a job. /// /// Container for the necessary parameters to execute the StartJob service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the StartJob service method, as returned by DataExchange. /// /// Access to the resource is denied. /// /// /// The request couldn't be completed because it conflicted with the current state of /// the resource. /// /// /// An exception occurred with the service. /// /// /// The resource couldn't be found. /// /// /// The limit on the number of requests per second was exceeded. /// /// /// The request was invalid. /// /// REST API Reference for StartJob Operation public virtual Task StartJobAsync(StartJobRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = StartJobRequestMarshaller.Instance; options.ResponseUnmarshaller = StartJobResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region TagResource /// /// This operation tags a resource. /// /// Container for the necessary parameters to execute the TagResource service method. /// /// The response from the TagResource service method, as returned by DataExchange. /// REST API Reference for TagResource Operation public virtual TagResourceResponse TagResource(TagResourceRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = TagResourceRequestMarshaller.Instance; options.ResponseUnmarshaller = TagResourceResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// This operation tags a resource. /// /// 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 DataExchange. /// 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 /// /// This operation removes one or more tags from a resource. /// /// Container for the necessary parameters to execute the UntagResource service method. /// /// The response from the UntagResource service method, as returned by DataExchange. /// REST API Reference for UntagResource Operation public virtual UntagResourceResponse UntagResource(UntagResourceRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UntagResourceRequestMarshaller.Instance; options.ResponseUnmarshaller = UntagResourceResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// This operation removes one or more tags from a 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 DataExchange. /// 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 UpdateAsset /// /// This operation updates an asset. /// /// Container for the necessary parameters to execute the UpdateAsset service method. /// /// The response from the UpdateAsset service method, as returned by DataExchange. /// /// Access to the resource is denied. /// /// /// The request couldn't be completed because it conflicted with the current state of /// the resource. /// /// /// An exception occurred with the service. /// /// /// The resource couldn't be found. /// /// /// The limit on the number of requests per second was exceeded. /// /// /// The request was invalid. /// /// REST API Reference for UpdateAsset Operation public virtual UpdateAssetResponse UpdateAsset(UpdateAssetRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateAssetRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateAssetResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// This operation updates an asset. /// /// Container for the necessary parameters to execute the UpdateAsset service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the UpdateAsset service method, as returned by DataExchange. /// /// Access to the resource is denied. /// /// /// The request couldn't be completed because it conflicted with the current state of /// the resource. /// /// /// An exception occurred with the service. /// /// /// The resource couldn't be found. /// /// /// The limit on the number of requests per second was exceeded. /// /// /// The request was invalid. /// /// REST API Reference for UpdateAsset Operation public virtual Task UpdateAssetAsync(UpdateAssetRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateAssetRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateAssetResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region UpdateDataSet /// /// This operation updates a data set. /// /// Container for the necessary parameters to execute the UpdateDataSet service method. /// /// The response from the UpdateDataSet service method, as returned by DataExchange. /// /// Access to the resource is denied. /// /// /// An exception occurred with the service. /// /// /// The resource couldn't be found. /// /// /// The limit on the number of requests per second was exceeded. /// /// /// The request was invalid. /// /// REST API Reference for UpdateDataSet Operation public virtual UpdateDataSetResponse UpdateDataSet(UpdateDataSetRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateDataSetRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateDataSetResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// This operation updates a data set. /// /// 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 DataExchange. /// /// Access to the resource is denied. /// /// /// An exception occurred with the service. /// /// /// The resource couldn't be found. /// /// /// The limit on the number of requests per second was exceeded. /// /// /// The request was invalid. /// /// 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 UpdateEventAction /// /// This operation updates the event action. /// /// Container for the necessary parameters to execute the UpdateEventAction service method. /// /// The response from the UpdateEventAction service method, as returned by DataExchange. /// /// Access to the resource is denied. /// /// /// An exception occurred with the service. /// /// /// The resource couldn't be found. /// /// /// The limit on the number of requests per second was exceeded. /// /// /// The request was invalid. /// /// REST API Reference for UpdateEventAction Operation public virtual UpdateEventActionResponse UpdateEventAction(UpdateEventActionRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateEventActionRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateEventActionResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// This operation updates the event action. /// /// Container for the necessary parameters to execute the UpdateEventAction service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the UpdateEventAction service method, as returned by DataExchange. /// /// Access to the resource is denied. /// /// /// An exception occurred with the service. /// /// /// The resource couldn't be found. /// /// /// The limit on the number of requests per second was exceeded. /// /// /// The request was invalid. /// /// REST API Reference for UpdateEventAction Operation public virtual Task UpdateEventActionAsync(UpdateEventActionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateEventActionRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateEventActionResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region UpdateRevision /// /// This operation updates a revision. /// /// Container for the necessary parameters to execute the UpdateRevision service method. /// /// The response from the UpdateRevision service method, as returned by DataExchange. /// /// Access to the resource is denied. /// /// /// The request couldn't be completed because it conflicted with the current state of /// the resource. /// /// /// An exception occurred with the service. /// /// /// The resource couldn't be found. /// /// /// The limit on the number of requests per second was exceeded. /// /// /// The request was invalid. /// /// REST API Reference for UpdateRevision Operation public virtual UpdateRevisionResponse UpdateRevision(UpdateRevisionRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateRevisionRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateRevisionResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// This operation updates a revision. /// /// Container for the necessary parameters to execute the UpdateRevision service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the UpdateRevision service method, as returned by DataExchange. /// /// Access to the resource is denied. /// /// /// The request couldn't be completed because it conflicted with the current state of /// the resource. /// /// /// An exception occurred with the service. /// /// /// The resource couldn't be found. /// /// /// The limit on the number of requests per second was exceeded. /// /// /// The request was invalid. /// /// REST API Reference for UpdateRevision Operation public virtual Task UpdateRevisionAsync(UpdateRevisionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateRevisionRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateRevisionResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion } }