/* * 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.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(); #if BCL45 || AWS_ASYNC_ENUMERABLES_API private IDataExchangePaginatorFactory _paginators; /// /// Paginators for the service /// public IDataExchangePaginatorFactory Paginators { get { if (this._paginators == null) { this._paginators = new DataExchangePaginatorFactory(this); } return this._paginators; } } #endif #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); } /// /// Initiates the asynchronous execution of the CancelJob operation. /// /// /// Container for the necessary parameters to execute the CancelJob operation on AmazonDataExchangeClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCancelJob /// operation. /// REST API Reference for CancelJob Operation public virtual IAsyncResult BeginCancelJob(CancelJobRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = CancelJobRequestMarshaller.Instance; options.ResponseUnmarshaller = CancelJobResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the CancelJob operation. /// /// /// The IAsyncResult returned by the call to BeginCancelJob. /// /// Returns a CancelJobResult from DataExchange. /// REST API Reference for CancelJob Operation public virtual CancelJobResponse EndCancelJob(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #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); } /// /// Initiates the asynchronous execution of the CreateDataSet operation. /// /// /// Container for the necessary parameters to execute the CreateDataSet operation on AmazonDataExchangeClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateDataSet /// operation. /// REST API Reference for CreateDataSet Operation public virtual IAsyncResult BeginCreateDataSet(CreateDataSetRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = CreateDataSetRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateDataSetResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the CreateDataSet operation. /// /// /// The IAsyncResult returned by the call to BeginCreateDataSet. /// /// Returns a CreateDataSetResult from DataExchange. /// REST API Reference for CreateDataSet Operation public virtual CreateDataSetResponse EndCreateDataSet(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #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); } /// /// Initiates the asynchronous execution of the CreateEventAction operation. /// /// /// Container for the necessary parameters to execute the CreateEventAction operation on AmazonDataExchangeClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateEventAction /// operation. /// REST API Reference for CreateEventAction Operation public virtual IAsyncResult BeginCreateEventAction(CreateEventActionRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = CreateEventActionRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateEventActionResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the CreateEventAction operation. /// /// /// The IAsyncResult returned by the call to BeginCreateEventAction. /// /// Returns a CreateEventActionResult from DataExchange. /// REST API Reference for CreateEventAction Operation public virtual CreateEventActionResponse EndCreateEventAction(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #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); } /// /// Initiates the asynchronous execution of the CreateJob operation. /// /// /// Container for the necessary parameters to execute the CreateJob operation on AmazonDataExchangeClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateJob /// operation. /// REST API Reference for CreateJob Operation public virtual IAsyncResult BeginCreateJob(CreateJobRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = CreateJobRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateJobResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the CreateJob operation. /// /// /// The IAsyncResult returned by the call to BeginCreateJob. /// /// Returns a CreateJobResult from DataExchange. /// REST API Reference for CreateJob Operation public virtual CreateJobResponse EndCreateJob(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #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); } /// /// Initiates the asynchronous execution of the CreateRevision operation. /// /// /// Container for the necessary parameters to execute the CreateRevision operation on AmazonDataExchangeClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateRevision /// operation. /// REST API Reference for CreateRevision Operation public virtual IAsyncResult BeginCreateRevision(CreateRevisionRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = CreateRevisionRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateRevisionResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the CreateRevision operation. /// /// /// The IAsyncResult returned by the call to BeginCreateRevision. /// /// Returns a CreateRevisionResult from DataExchange. /// REST API Reference for CreateRevision Operation public virtual CreateRevisionResponse EndCreateRevision(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #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); } /// /// Initiates the asynchronous execution of the DeleteAsset operation. /// /// /// Container for the necessary parameters to execute the DeleteAsset operation on AmazonDataExchangeClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteAsset /// operation. /// REST API Reference for DeleteAsset Operation public virtual IAsyncResult BeginDeleteAsset(DeleteAssetRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteAssetRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteAssetResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DeleteAsset operation. /// /// /// The IAsyncResult returned by the call to BeginDeleteAsset. /// /// Returns a DeleteAssetResult from DataExchange. /// REST API Reference for DeleteAsset Operation public virtual DeleteAssetResponse EndDeleteAsset(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #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); } /// /// Initiates the asynchronous execution of the DeleteDataSet operation. /// /// /// Container for the necessary parameters to execute the DeleteDataSet operation on AmazonDataExchangeClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteDataSet /// operation. /// REST API Reference for DeleteDataSet Operation public virtual IAsyncResult BeginDeleteDataSet(DeleteDataSetRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteDataSetRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteDataSetResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DeleteDataSet operation. /// /// /// The IAsyncResult returned by the call to BeginDeleteDataSet. /// /// Returns a DeleteDataSetResult from DataExchange. /// REST API Reference for DeleteDataSet Operation public virtual DeleteDataSetResponse EndDeleteDataSet(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #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); } /// /// Initiates the asynchronous execution of the DeleteEventAction operation. /// /// /// Container for the necessary parameters to execute the DeleteEventAction operation on AmazonDataExchangeClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteEventAction /// operation. /// REST API Reference for DeleteEventAction Operation public virtual IAsyncResult BeginDeleteEventAction(DeleteEventActionRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteEventActionRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteEventActionResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DeleteEventAction operation. /// /// /// The IAsyncResult returned by the call to BeginDeleteEventAction. /// /// Returns a DeleteEventActionResult from DataExchange. /// REST API Reference for DeleteEventAction Operation public virtual DeleteEventActionResponse EndDeleteEventAction(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #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); } /// /// Initiates the asynchronous execution of the DeleteRevision operation. /// /// /// Container for the necessary parameters to execute the DeleteRevision operation on AmazonDataExchangeClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteRevision /// operation. /// REST API Reference for DeleteRevision Operation public virtual IAsyncResult BeginDeleteRevision(DeleteRevisionRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteRevisionRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteRevisionResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DeleteRevision operation. /// /// /// The IAsyncResult returned by the call to BeginDeleteRevision. /// /// Returns a DeleteRevisionResult from DataExchange. /// REST API Reference for DeleteRevision Operation public virtual DeleteRevisionResponse EndDeleteRevision(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #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); } /// /// Initiates the asynchronous execution of the GetAsset operation. /// /// /// Container for the necessary parameters to execute the GetAsset operation on AmazonDataExchangeClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetAsset /// operation. /// REST API Reference for GetAsset Operation public virtual IAsyncResult BeginGetAsset(GetAssetRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = GetAssetRequestMarshaller.Instance; options.ResponseUnmarshaller = GetAssetResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the GetAsset operation. /// /// /// The IAsyncResult returned by the call to BeginGetAsset. /// /// Returns a GetAssetResult from DataExchange. /// REST API Reference for GetAsset Operation public virtual GetAssetResponse EndGetAsset(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #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); } /// /// Initiates the asynchronous execution of the GetDataSet operation. /// /// /// Container for the necessary parameters to execute the GetDataSet operation on AmazonDataExchangeClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetDataSet /// operation. /// REST API Reference for GetDataSet Operation public virtual IAsyncResult BeginGetDataSet(GetDataSetRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = GetDataSetRequestMarshaller.Instance; options.ResponseUnmarshaller = GetDataSetResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the GetDataSet operation. /// /// /// The IAsyncResult returned by the call to BeginGetDataSet. /// /// Returns a GetDataSetResult from DataExchange. /// REST API Reference for GetDataSet Operation public virtual GetDataSetResponse EndGetDataSet(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #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); } /// /// Initiates the asynchronous execution of the GetEventAction operation. /// /// /// Container for the necessary parameters to execute the GetEventAction operation on AmazonDataExchangeClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetEventAction /// operation. /// REST API Reference for GetEventAction Operation public virtual IAsyncResult BeginGetEventAction(GetEventActionRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = GetEventActionRequestMarshaller.Instance; options.ResponseUnmarshaller = GetEventActionResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the GetEventAction operation. /// /// /// The IAsyncResult returned by the call to BeginGetEventAction. /// /// Returns a GetEventActionResult from DataExchange. /// REST API Reference for GetEventAction Operation public virtual GetEventActionResponse EndGetEventAction(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #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); } /// /// Initiates the asynchronous execution of the GetJob operation. /// /// /// Container for the necessary parameters to execute the GetJob operation on AmazonDataExchangeClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetJob /// operation. /// REST API Reference for GetJob Operation public virtual IAsyncResult BeginGetJob(GetJobRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = GetJobRequestMarshaller.Instance; options.ResponseUnmarshaller = GetJobResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the GetJob operation. /// /// /// The IAsyncResult returned by the call to BeginGetJob. /// /// Returns a GetJobResult from DataExchange. /// REST API Reference for GetJob Operation public virtual GetJobResponse EndGetJob(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #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); } /// /// Initiates the asynchronous execution of the GetRevision operation. /// /// /// Container for the necessary parameters to execute the GetRevision operation on AmazonDataExchangeClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetRevision /// operation. /// REST API Reference for GetRevision Operation public virtual IAsyncResult BeginGetRevision(GetRevisionRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = GetRevisionRequestMarshaller.Instance; options.ResponseUnmarshaller = GetRevisionResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the GetRevision operation. /// /// /// The IAsyncResult returned by the call to BeginGetRevision. /// /// Returns a GetRevisionResult from DataExchange. /// REST API Reference for GetRevision Operation public virtual GetRevisionResponse EndGetRevision(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #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); } /// /// Initiates the asynchronous execution of the ListDataSetRevisions operation. /// /// /// Container for the necessary parameters to execute the ListDataSetRevisions operation on AmazonDataExchangeClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListDataSetRevisions /// operation. /// REST API Reference for ListDataSetRevisions Operation public virtual IAsyncResult BeginListDataSetRevisions(ListDataSetRevisionsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListDataSetRevisionsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListDataSetRevisionsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListDataSetRevisions operation. /// /// /// The IAsyncResult returned by the call to BeginListDataSetRevisions. /// /// Returns a ListDataSetRevisionsResult from DataExchange. /// REST API Reference for ListDataSetRevisions Operation public virtual ListDataSetRevisionsResponse EndListDataSetRevisions(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #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); } /// /// Initiates the asynchronous execution of the ListDataSets operation. /// /// /// Container for the necessary parameters to execute the ListDataSets operation on AmazonDataExchangeClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListDataSets /// operation. /// REST API Reference for ListDataSets Operation public virtual IAsyncResult BeginListDataSets(ListDataSetsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListDataSetsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListDataSetsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListDataSets operation. /// /// /// The IAsyncResult returned by the call to BeginListDataSets. /// /// Returns a ListDataSetsResult from DataExchange. /// REST API Reference for ListDataSets Operation public virtual ListDataSetsResponse EndListDataSets(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #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); } /// /// Initiates the asynchronous execution of the ListEventActions operation. /// /// /// Container for the necessary parameters to execute the ListEventActions operation on AmazonDataExchangeClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListEventActions /// operation. /// REST API Reference for ListEventActions Operation public virtual IAsyncResult BeginListEventActions(ListEventActionsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListEventActionsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListEventActionsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListEventActions operation. /// /// /// The IAsyncResult returned by the call to BeginListEventActions. /// /// Returns a ListEventActionsResult from DataExchange. /// REST API Reference for ListEventActions Operation public virtual ListEventActionsResponse EndListEventActions(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #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); } /// /// Initiates the asynchronous execution of the ListJobs operation. /// /// /// Container for the necessary parameters to execute the ListJobs operation on AmazonDataExchangeClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListJobs /// operation. /// REST API Reference for ListJobs Operation public virtual IAsyncResult BeginListJobs(ListJobsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListJobsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListJobsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListJobs operation. /// /// /// The IAsyncResult returned by the call to BeginListJobs. /// /// Returns a ListJobsResult from DataExchange. /// REST API Reference for ListJobs Operation public virtual ListJobsResponse EndListJobs(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #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); } /// /// Initiates the asynchronous execution of the ListRevisionAssets operation. /// /// /// Container for the necessary parameters to execute the ListRevisionAssets operation on AmazonDataExchangeClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListRevisionAssets /// operation. /// REST API Reference for ListRevisionAssets Operation public virtual IAsyncResult BeginListRevisionAssets(ListRevisionAssetsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListRevisionAssetsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListRevisionAssetsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListRevisionAssets operation. /// /// /// The IAsyncResult returned by the call to BeginListRevisionAssets. /// /// Returns a ListRevisionAssetsResult from DataExchange. /// REST API Reference for ListRevisionAssets Operation public virtual ListRevisionAssetsResponse EndListRevisionAssets(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #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); } /// /// Initiates the asynchronous execution of the ListTagsForResource operation. /// /// /// Container for the necessary parameters to execute the ListTagsForResource operation on AmazonDataExchangeClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListTagsForResource /// operation. /// REST API Reference for ListTagsForResource Operation public virtual IAsyncResult BeginListTagsForResource(ListTagsForResourceRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListTagsForResourceRequestMarshaller.Instance; options.ResponseUnmarshaller = ListTagsForResourceResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListTagsForResource operation. /// /// /// The IAsyncResult returned by the call to BeginListTagsForResource. /// /// Returns a ListTagsForResourceResult from DataExchange. /// REST API Reference for ListTagsForResource Operation public virtual ListTagsForResourceResponse EndListTagsForResource(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #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); } /// /// Initiates the asynchronous execution of the RevokeRevision operation. /// /// /// Container for the necessary parameters to execute the RevokeRevision operation on AmazonDataExchangeClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndRevokeRevision /// operation. /// REST API Reference for RevokeRevision Operation public virtual IAsyncResult BeginRevokeRevision(RevokeRevisionRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = RevokeRevisionRequestMarshaller.Instance; options.ResponseUnmarshaller = RevokeRevisionResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the RevokeRevision operation. /// /// /// The IAsyncResult returned by the call to BeginRevokeRevision. /// /// Returns a RevokeRevisionResult from DataExchange. /// REST API Reference for RevokeRevision Operation public virtual RevokeRevisionResponse EndRevokeRevision(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #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); } /// /// Initiates the asynchronous execution of the SendApiAsset operation. /// /// /// Container for the necessary parameters to execute the SendApiAsset operation on AmazonDataExchangeClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndSendApiAsset /// operation. /// REST API Reference for SendApiAsset Operation public virtual IAsyncResult BeginSendApiAsset(SendApiAssetRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = SendApiAssetRequestMarshaller.Instance; options.ResponseUnmarshaller = SendApiAssetResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the SendApiAsset operation. /// /// /// The IAsyncResult returned by the call to BeginSendApiAsset. /// /// Returns a SendApiAssetResult from DataExchange. /// REST API Reference for SendApiAsset Operation public virtual SendApiAssetResponse EndSendApiAsset(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #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); } /// /// Initiates the asynchronous execution of the StartJob operation. /// /// /// Container for the necessary parameters to execute the StartJob operation on AmazonDataExchangeClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndStartJob /// operation. /// REST API Reference for StartJob Operation public virtual IAsyncResult BeginStartJob(StartJobRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = StartJobRequestMarshaller.Instance; options.ResponseUnmarshaller = StartJobResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the StartJob operation. /// /// /// The IAsyncResult returned by the call to BeginStartJob. /// /// Returns a StartJobResult from DataExchange. /// REST API Reference for StartJob Operation public virtual StartJobResponse EndStartJob(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #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); } /// /// Initiates the asynchronous execution of the TagResource operation. /// /// /// Container for the necessary parameters to execute the TagResource operation on AmazonDataExchangeClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndTagResource /// operation. /// REST API Reference for TagResource Operation public virtual IAsyncResult BeginTagResource(TagResourceRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = TagResourceRequestMarshaller.Instance; options.ResponseUnmarshaller = TagResourceResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the TagResource operation. /// /// /// The IAsyncResult returned by the call to BeginTagResource. /// /// Returns a TagResourceResult from DataExchange. /// REST API Reference for TagResource Operation public virtual TagResourceResponse EndTagResource(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #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); } /// /// Initiates the asynchronous execution of the UntagResource operation. /// /// /// Container for the necessary parameters to execute the UntagResource operation on AmazonDataExchangeClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUntagResource /// operation. /// REST API Reference for UntagResource Operation public virtual IAsyncResult BeginUntagResource(UntagResourceRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = UntagResourceRequestMarshaller.Instance; options.ResponseUnmarshaller = UntagResourceResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the UntagResource operation. /// /// /// The IAsyncResult returned by the call to BeginUntagResource. /// /// Returns a UntagResourceResult from DataExchange. /// REST API Reference for UntagResource Operation public virtual UntagResourceResponse EndUntagResource(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #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); } /// /// Initiates the asynchronous execution of the UpdateAsset operation. /// /// /// Container for the necessary parameters to execute the UpdateAsset operation on AmazonDataExchangeClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateAsset /// operation. /// REST API Reference for UpdateAsset Operation public virtual IAsyncResult BeginUpdateAsset(UpdateAssetRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateAssetRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateAssetResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the UpdateAsset operation. /// /// /// The IAsyncResult returned by the call to BeginUpdateAsset. /// /// Returns a UpdateAssetResult from DataExchange. /// REST API Reference for UpdateAsset Operation public virtual UpdateAssetResponse EndUpdateAsset(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #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); } /// /// Initiates the asynchronous execution of the UpdateDataSet operation. /// /// /// Container for the necessary parameters to execute the UpdateDataSet operation on AmazonDataExchangeClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateDataSet /// operation. /// REST API Reference for UpdateDataSet Operation public virtual IAsyncResult BeginUpdateDataSet(UpdateDataSetRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateDataSetRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateDataSetResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the UpdateDataSet operation. /// /// /// The IAsyncResult returned by the call to BeginUpdateDataSet. /// /// Returns a UpdateDataSetResult from DataExchange. /// REST API Reference for UpdateDataSet Operation public virtual UpdateDataSetResponse EndUpdateDataSet(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #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); } /// /// Initiates the asynchronous execution of the UpdateEventAction operation. /// /// /// Container for the necessary parameters to execute the UpdateEventAction operation on AmazonDataExchangeClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateEventAction /// operation. /// REST API Reference for UpdateEventAction Operation public virtual IAsyncResult BeginUpdateEventAction(UpdateEventActionRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateEventActionRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateEventActionResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the UpdateEventAction operation. /// /// /// The IAsyncResult returned by the call to BeginUpdateEventAction. /// /// Returns a UpdateEventActionResult from DataExchange. /// REST API Reference for UpdateEventAction Operation public virtual UpdateEventActionResponse EndUpdateEventAction(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #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); } /// /// Initiates the asynchronous execution of the UpdateRevision operation. /// /// /// Container for the necessary parameters to execute the UpdateRevision operation on AmazonDataExchangeClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateRevision /// operation. /// REST API Reference for UpdateRevision Operation public virtual IAsyncResult BeginUpdateRevision(UpdateRevisionRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateRevisionRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateRevisionResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the UpdateRevision operation. /// /// /// The IAsyncResult returned by the call to BeginUpdateRevision. /// /// Returns a UpdateRevisionResult from DataExchange. /// REST API Reference for UpdateRevision Operation public virtual UpdateRevisionResponse EndUpdateRevision(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion } }