/*
* 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 datasync-2018-11-09.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Net;
using Amazon.DataSync.Model;
using Amazon.DataSync.Model.Internal.MarshallTransformations;
using Amazon.DataSync.Internal;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Auth;
using Amazon.Runtime.Internal.Transform;
namespace Amazon.DataSync
{
///
/// Implementation for accessing DataSync
///
/// DataSync
///
/// DataSync is an online data movement and discovery service that simplifies data migration
/// and helps you quickly, easily, and securely transfer your file or object data to,
/// from, and between Amazon Web Services storage services.
///
///
///
/// This API interface reference includes documentation for using DataSync programmatically.
/// For complete information, see the DataSync
/// User Guide .
///
///
public partial class AmazonDataSyncClient : AmazonServiceClient, IAmazonDataSync
{
private static IServiceMetadata serviceMetadata = new AmazonDataSyncMetadata();
#if BCL45 || AWS_ASYNC_ENUMERABLES_API
private IDataSyncPaginatorFactory _paginators;
///
/// Paginators for the service
///
public IDataSyncPaginatorFactory Paginators
{
get
{
if (this._paginators == null)
{
this._paginators = new DataSyncPaginatorFactory(this);
}
return this._paginators;
}
}
#endif
#region Constructors
///
/// Constructs AmazonDataSyncClient 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 AmazonDataSyncClient()
: base(FallbackCredentialsFactory.GetCredentials(), new AmazonDataSyncConfig()) { }
///
/// Constructs AmazonDataSyncClient 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 AmazonDataSyncClient(RegionEndpoint region)
: base(FallbackCredentialsFactory.GetCredentials(), new AmazonDataSyncConfig{RegionEndpoint = region}) { }
///
/// Constructs AmazonDataSyncClient 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 AmazonDataSyncClient Configuration Object
public AmazonDataSyncClient(AmazonDataSyncConfig config)
: base(FallbackCredentialsFactory.GetCredentials(config), config){}
///
/// Constructs AmazonDataSyncClient with AWS Credentials
///
/// AWS Credentials
public AmazonDataSyncClient(AWSCredentials credentials)
: this(credentials, new AmazonDataSyncConfig())
{
}
///
/// Constructs AmazonDataSyncClient with AWS Credentials
///
/// AWS Credentials
/// The region to connect.
public AmazonDataSyncClient(AWSCredentials credentials, RegionEndpoint region)
: this(credentials, new AmazonDataSyncConfig{RegionEndpoint = region})
{
}
///
/// Constructs AmazonDataSyncClient with AWS Credentials and an
/// AmazonDataSyncClient Configuration object.
///
/// AWS Credentials
/// The AmazonDataSyncClient Configuration Object
public AmazonDataSyncClient(AWSCredentials credentials, AmazonDataSyncConfig clientConfig)
: base(credentials, clientConfig)
{
}
///
/// Constructs AmazonDataSyncClient with AWS Access Key ID and AWS Secret Key
///
/// AWS Access Key ID
/// AWS Secret Access Key
public AmazonDataSyncClient(string awsAccessKeyId, string awsSecretAccessKey)
: this(awsAccessKeyId, awsSecretAccessKey, new AmazonDataSyncConfig())
{
}
///
/// Constructs AmazonDataSyncClient with AWS Access Key ID and AWS Secret Key
///
/// AWS Access Key ID
/// AWS Secret Access Key
/// The region to connect.
public AmazonDataSyncClient(string awsAccessKeyId, string awsSecretAccessKey, RegionEndpoint region)
: this(awsAccessKeyId, awsSecretAccessKey, new AmazonDataSyncConfig() {RegionEndpoint=region})
{
}
///
/// Constructs AmazonDataSyncClient with AWS Access Key ID, AWS Secret Key and an
/// AmazonDataSyncClient Configuration object.
///
/// AWS Access Key ID
/// AWS Secret Access Key
/// The AmazonDataSyncClient Configuration Object
public AmazonDataSyncClient(string awsAccessKeyId, string awsSecretAccessKey, AmazonDataSyncConfig clientConfig)
: base(awsAccessKeyId, awsSecretAccessKey, clientConfig)
{
}
///
/// Constructs AmazonDataSyncClient with AWS Access Key ID and AWS Secret Key
///
/// AWS Access Key ID
/// AWS Secret Access Key
/// AWS Session Token
public AmazonDataSyncClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken)
: this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonDataSyncConfig())
{
}
///
/// Constructs AmazonDataSyncClient 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 AmazonDataSyncClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, RegionEndpoint region)
: this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonDataSyncConfig{RegionEndpoint = region})
{
}
///
/// Constructs AmazonDataSyncClient with AWS Access Key ID, AWS Secret Key and an
/// AmazonDataSyncClient Configuration object.
///
/// AWS Access Key ID
/// AWS Secret Access Key
/// AWS Session Token
/// The AmazonDataSyncClient Configuration Object
public AmazonDataSyncClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, AmazonDataSyncConfig 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 AmazonDataSyncEndpointResolver());
}
///
/// 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 AddStorageSystem
///
/// Creates an Amazon Web Services resource for an on-premises storage system that you
/// want DataSync Discovery to collect information about.
///
/// Container for the necessary parameters to execute the AddStorageSystem service method.
///
/// The response from the AddStorageSystem service method, as returned by DataSync.
///
/// This exception is thrown when an error occurs in the DataSync service.
///
///
/// This exception is thrown when the client submits a malformed request.
///
/// REST API Reference for AddStorageSystem Operation
public virtual AddStorageSystemResponse AddStorageSystem(AddStorageSystemRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = AddStorageSystemRequestMarshaller.Instance;
options.ResponseUnmarshaller = AddStorageSystemResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the AddStorageSystem operation.
///
///
/// Container for the necessary parameters to execute the AddStorageSystem operation on AmazonDataSyncClient.
/// 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 EndAddStorageSystem
/// operation.
/// REST API Reference for AddStorageSystem Operation
public virtual IAsyncResult BeginAddStorageSystem(AddStorageSystemRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = AddStorageSystemRequestMarshaller.Instance;
options.ResponseUnmarshaller = AddStorageSystemResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the AddStorageSystem operation.
///
///
/// The IAsyncResult returned by the call to BeginAddStorageSystem.
///
/// Returns a AddStorageSystemResult from DataSync.
/// REST API Reference for AddStorageSystem Operation
public virtual AddStorageSystemResponse EndAddStorageSystem(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region CancelTaskExecution
///
/// Stops an DataSync task execution that's in progress. The transfer of some files are
/// abruptly interrupted. File contents that're transferred to the destination might be
/// incomplete or inconsistent with the source files.
///
///
///
/// However, if you start a new task execution using the same task and allow it to finish,
/// file content on the destination will be complete and consistent. This applies to other
/// unexpected failures that interrupt a task execution. In all of these cases, DataSync
/// successfully completes the transfer when you start the next task execution.
///
///
/// Container for the necessary parameters to execute the CancelTaskExecution service method.
///
/// The response from the CancelTaskExecution service method, as returned by DataSync.
///
/// This exception is thrown when an error occurs in the DataSync service.
///
///
/// This exception is thrown when the client submits a malformed request.
///
/// REST API Reference for CancelTaskExecution Operation
public virtual CancelTaskExecutionResponse CancelTaskExecution(CancelTaskExecutionRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CancelTaskExecutionRequestMarshaller.Instance;
options.ResponseUnmarshaller = CancelTaskExecutionResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the CancelTaskExecution operation.
///
///
/// Container for the necessary parameters to execute the CancelTaskExecution operation on AmazonDataSyncClient.
/// 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 EndCancelTaskExecution
/// operation.
/// REST API Reference for CancelTaskExecution Operation
public virtual IAsyncResult BeginCancelTaskExecution(CancelTaskExecutionRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = CancelTaskExecutionRequestMarshaller.Instance;
options.ResponseUnmarshaller = CancelTaskExecutionResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the CancelTaskExecution operation.
///
///
/// The IAsyncResult returned by the call to BeginCancelTaskExecution.
///
/// Returns a CancelTaskExecutionResult from DataSync.
/// REST API Reference for CancelTaskExecution Operation
public virtual CancelTaskExecutionResponse EndCancelTaskExecution(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region CreateAgent
///
/// Activates an DataSync agent that you've deployed in your storage environment. The
/// activation process associates the agent with your Amazon Web Services account.
///
///
///
/// If you haven't deployed an agent yet, see the following topics to learn more:
///
///
///
/// If you're transferring between Amazon Web Services storage services, you don't need
/// a DataSync agent.
///
///
///
/// Container for the necessary parameters to execute the CreateAgent service method.
///
/// The response from the CreateAgent service method, as returned by DataSync.
///
/// This exception is thrown when an error occurs in the DataSync service.
///
///
/// This exception is thrown when the client submits a malformed request.
///
/// REST API Reference for CreateAgent Operation
public virtual CreateAgentResponse CreateAgent(CreateAgentRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateAgentRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateAgentResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the CreateAgent operation.
///
///
/// Container for the necessary parameters to execute the CreateAgent operation on AmazonDataSyncClient.
/// 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 EndCreateAgent
/// operation.
/// REST API Reference for CreateAgent Operation
public virtual IAsyncResult BeginCreateAgent(CreateAgentRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateAgentRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateAgentResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the CreateAgent operation.
///
///
/// The IAsyncResult returned by the call to BeginCreateAgent.
///
/// Returns a CreateAgentResult from DataSync.
/// REST API Reference for CreateAgent Operation
public virtual CreateAgentResponse EndCreateAgent(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region CreateLocationAzureBlob
///
/// Creates an endpoint for a Microsoft Azure Blob Storage container that DataSync can
/// use as a transfer source or destination.
///
///
///
/// Before you begin, make sure you know how
/// DataSync accesses Azure Blob Storage and works with access
/// tiers and blob
/// types. You also need a DataSync
/// agent that can connect to your container.
///
///
/// Container for the necessary parameters to execute the CreateLocationAzureBlob service method.
///
/// The response from the CreateLocationAzureBlob service method, as returned by DataSync.
///
/// This exception is thrown when an error occurs in the DataSync service.
///
///
/// This exception is thrown when the client submits a malformed request.
///
/// REST API Reference for CreateLocationAzureBlob Operation
public virtual CreateLocationAzureBlobResponse CreateLocationAzureBlob(CreateLocationAzureBlobRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateLocationAzureBlobRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateLocationAzureBlobResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the CreateLocationAzureBlob operation.
///
///
/// Container for the necessary parameters to execute the CreateLocationAzureBlob operation on AmazonDataSyncClient.
/// 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 EndCreateLocationAzureBlob
/// operation.
/// REST API Reference for CreateLocationAzureBlob Operation
public virtual IAsyncResult BeginCreateLocationAzureBlob(CreateLocationAzureBlobRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateLocationAzureBlobRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateLocationAzureBlobResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the CreateLocationAzureBlob operation.
///
///
/// The IAsyncResult returned by the call to BeginCreateLocationAzureBlob.
///
/// Returns a CreateLocationAzureBlobResult from DataSync.
/// REST API Reference for CreateLocationAzureBlob Operation
public virtual CreateLocationAzureBlobResponse EndCreateLocationAzureBlob(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region CreateLocationEfs
///
/// Creates an endpoint for an Amazon EFS file system that DataSync can access for a transfer.
/// For more information, see Creating
/// a location for Amazon EFS.
///
/// Container for the necessary parameters to execute the CreateLocationEfs service method.
///
/// The response from the CreateLocationEfs service method, as returned by DataSync.
///
/// This exception is thrown when an error occurs in the DataSync service.
///
///
/// This exception is thrown when the client submits a malformed request.
///
/// REST API Reference for CreateLocationEfs Operation
public virtual CreateLocationEfsResponse CreateLocationEfs(CreateLocationEfsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateLocationEfsRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateLocationEfsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the CreateLocationEfs operation.
///
///
/// Container for the necessary parameters to execute the CreateLocationEfs operation on AmazonDataSyncClient.
/// 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 EndCreateLocationEfs
/// operation.
/// REST API Reference for CreateLocationEfs Operation
public virtual IAsyncResult BeginCreateLocationEfs(CreateLocationEfsRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateLocationEfsRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateLocationEfsResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the CreateLocationEfs operation.
///
///
/// The IAsyncResult returned by the call to BeginCreateLocationEfs.
///
/// Returns a CreateLocationEfsResult from DataSync.
/// REST API Reference for CreateLocationEfs Operation
public virtual CreateLocationEfsResponse EndCreateLocationEfs(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region CreateLocationFsxLustre
///
/// Creates an endpoint for an Amazon FSx for Lustre file system.
///
/// Container for the necessary parameters to execute the CreateLocationFsxLustre service method.
///
/// The response from the CreateLocationFsxLustre service method, as returned by DataSync.
///
/// This exception is thrown when an error occurs in the DataSync service.
///
///
/// This exception is thrown when the client submits a malformed request.
///
/// REST API Reference for CreateLocationFsxLustre Operation
public virtual CreateLocationFsxLustreResponse CreateLocationFsxLustre(CreateLocationFsxLustreRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateLocationFsxLustreRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateLocationFsxLustreResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the CreateLocationFsxLustre operation.
///
///
/// Container for the necessary parameters to execute the CreateLocationFsxLustre operation on AmazonDataSyncClient.
/// 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 EndCreateLocationFsxLustre
/// operation.
/// REST API Reference for CreateLocationFsxLustre Operation
public virtual IAsyncResult BeginCreateLocationFsxLustre(CreateLocationFsxLustreRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateLocationFsxLustreRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateLocationFsxLustreResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the CreateLocationFsxLustre operation.
///
///
/// The IAsyncResult returned by the call to BeginCreateLocationFsxLustre.
///
/// Returns a CreateLocationFsxLustreResult from DataSync.
/// REST API Reference for CreateLocationFsxLustre Operation
public virtual CreateLocationFsxLustreResponse EndCreateLocationFsxLustre(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region CreateLocationFsxOntap
///
/// Creates an endpoint for an Amazon FSx for NetApp ONTAP file system that DataSync can
/// access for a transfer. For more information, see Creating
/// a location for FSx for ONTAP.
///
/// Container for the necessary parameters to execute the CreateLocationFsxOntap service method.
///
/// The response from the CreateLocationFsxOntap service method, as returned by DataSync.
///
/// This exception is thrown when an error occurs in the DataSync service.
///
///
/// This exception is thrown when the client submits a malformed request.
///
/// REST API Reference for CreateLocationFsxOntap Operation
public virtual CreateLocationFsxOntapResponse CreateLocationFsxOntap(CreateLocationFsxOntapRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateLocationFsxOntapRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateLocationFsxOntapResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the CreateLocationFsxOntap operation.
///
///
/// Container for the necessary parameters to execute the CreateLocationFsxOntap operation on AmazonDataSyncClient.
/// 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 EndCreateLocationFsxOntap
/// operation.
/// REST API Reference for CreateLocationFsxOntap Operation
public virtual IAsyncResult BeginCreateLocationFsxOntap(CreateLocationFsxOntapRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateLocationFsxOntapRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateLocationFsxOntapResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the CreateLocationFsxOntap operation.
///
///
/// The IAsyncResult returned by the call to BeginCreateLocationFsxOntap.
///
/// Returns a CreateLocationFsxOntapResult from DataSync.
/// REST API Reference for CreateLocationFsxOntap Operation
public virtual CreateLocationFsxOntapResponse EndCreateLocationFsxOntap(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region CreateLocationFsxOpenZfs
///
/// Creates an endpoint for an Amazon FSx for OpenZFS file system that DataSync can access
/// for a transfer. For more information, see Creating
/// a location for FSx for OpenZFS.
///
///
///
/// Request parameters related to SMB
aren't supported with the CreateLocationFsxOpenZfs
/// operation.
///
///
///
/// Container for the necessary parameters to execute the CreateLocationFsxOpenZfs service method.
///
/// The response from the CreateLocationFsxOpenZfs service method, as returned by DataSync.
///
/// This exception is thrown when an error occurs in the DataSync service.
///
///
/// This exception is thrown when the client submits a malformed request.
///
/// REST API Reference for CreateLocationFsxOpenZfs Operation
public virtual CreateLocationFsxOpenZfsResponse CreateLocationFsxOpenZfs(CreateLocationFsxOpenZfsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateLocationFsxOpenZfsRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateLocationFsxOpenZfsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the CreateLocationFsxOpenZfs operation.
///
///
/// Container for the necessary parameters to execute the CreateLocationFsxOpenZfs operation on AmazonDataSyncClient.
/// 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 EndCreateLocationFsxOpenZfs
/// operation.
/// REST API Reference for CreateLocationFsxOpenZfs Operation
public virtual IAsyncResult BeginCreateLocationFsxOpenZfs(CreateLocationFsxOpenZfsRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateLocationFsxOpenZfsRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateLocationFsxOpenZfsResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the CreateLocationFsxOpenZfs operation.
///
///
/// The IAsyncResult returned by the call to BeginCreateLocationFsxOpenZfs.
///
/// Returns a CreateLocationFsxOpenZfsResult from DataSync.
/// REST API Reference for CreateLocationFsxOpenZfs Operation
public virtual CreateLocationFsxOpenZfsResponse EndCreateLocationFsxOpenZfs(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region CreateLocationFsxWindows
///
/// Creates an endpoint for an Amazon FSx for Windows File Server file system.
///
/// Container for the necessary parameters to execute the CreateLocationFsxWindows service method.
///
/// The response from the CreateLocationFsxWindows service method, as returned by DataSync.
///
/// This exception is thrown when an error occurs in the DataSync service.
///
///
/// This exception is thrown when the client submits a malformed request.
///
/// REST API Reference for CreateLocationFsxWindows Operation
public virtual CreateLocationFsxWindowsResponse CreateLocationFsxWindows(CreateLocationFsxWindowsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateLocationFsxWindowsRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateLocationFsxWindowsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the CreateLocationFsxWindows operation.
///
///
/// Container for the necessary parameters to execute the CreateLocationFsxWindows operation on AmazonDataSyncClient.
/// 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 EndCreateLocationFsxWindows
/// operation.
/// REST API Reference for CreateLocationFsxWindows Operation
public virtual IAsyncResult BeginCreateLocationFsxWindows(CreateLocationFsxWindowsRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateLocationFsxWindowsRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateLocationFsxWindowsResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the CreateLocationFsxWindows operation.
///
///
/// The IAsyncResult returned by the call to BeginCreateLocationFsxWindows.
///
/// Returns a CreateLocationFsxWindowsResult from DataSync.
/// REST API Reference for CreateLocationFsxWindows Operation
public virtual CreateLocationFsxWindowsResponse EndCreateLocationFsxWindows(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region CreateLocationHdfs
///
/// Creates an endpoint for a Hadoop Distributed File System (HDFS).
///
/// Container for the necessary parameters to execute the CreateLocationHdfs service method.
///
/// The response from the CreateLocationHdfs service method, as returned by DataSync.
///
/// This exception is thrown when an error occurs in the DataSync service.
///
///
/// This exception is thrown when the client submits a malformed request.
///
/// REST API Reference for CreateLocationHdfs Operation
public virtual CreateLocationHdfsResponse CreateLocationHdfs(CreateLocationHdfsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateLocationHdfsRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateLocationHdfsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the CreateLocationHdfs operation.
///
///
/// Container for the necessary parameters to execute the CreateLocationHdfs operation on AmazonDataSyncClient.
/// 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 EndCreateLocationHdfs
/// operation.
/// REST API Reference for CreateLocationHdfs Operation
public virtual IAsyncResult BeginCreateLocationHdfs(CreateLocationHdfsRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateLocationHdfsRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateLocationHdfsResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the CreateLocationHdfs operation.
///
///
/// The IAsyncResult returned by the call to BeginCreateLocationHdfs.
///
/// Returns a CreateLocationHdfsResult from DataSync.
/// REST API Reference for CreateLocationHdfs Operation
public virtual CreateLocationHdfsResponse EndCreateLocationHdfs(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region CreateLocationNfs
///
/// Creates an endpoint for an Network File System (NFS) file server that DataSync can
/// use for a data transfer.
///
/// Container for the necessary parameters to execute the CreateLocationNfs service method.
///
/// The response from the CreateLocationNfs service method, as returned by DataSync.
///
/// This exception is thrown when an error occurs in the DataSync service.
///
///
/// This exception is thrown when the client submits a malformed request.
///
/// REST API Reference for CreateLocationNfs Operation
public virtual CreateLocationNfsResponse CreateLocationNfs(CreateLocationNfsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateLocationNfsRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateLocationNfsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the CreateLocationNfs operation.
///
///
/// Container for the necessary parameters to execute the CreateLocationNfs operation on AmazonDataSyncClient.
/// 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 EndCreateLocationNfs
/// operation.
/// REST API Reference for CreateLocationNfs Operation
public virtual IAsyncResult BeginCreateLocationNfs(CreateLocationNfsRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateLocationNfsRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateLocationNfsResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the CreateLocationNfs operation.
///
///
/// The IAsyncResult returned by the call to BeginCreateLocationNfs.
///
/// Returns a CreateLocationNfsResult from DataSync.
/// REST API Reference for CreateLocationNfs Operation
public virtual CreateLocationNfsResponse EndCreateLocationNfs(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region CreateLocationObjectStorage
///
/// Creates an endpoint for an object storage system that DataSync can access for a transfer.
/// For more information, see Creating
/// a location for object storage.
///
/// Container for the necessary parameters to execute the CreateLocationObjectStorage service method.
///
/// The response from the CreateLocationObjectStorage service method, as returned by DataSync.
///
/// This exception is thrown when an error occurs in the DataSync service.
///
///
/// This exception is thrown when the client submits a malformed request.
///
/// REST API Reference for CreateLocationObjectStorage Operation
public virtual CreateLocationObjectStorageResponse CreateLocationObjectStorage(CreateLocationObjectStorageRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateLocationObjectStorageRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateLocationObjectStorageResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the CreateLocationObjectStorage operation.
///
///
/// Container for the necessary parameters to execute the CreateLocationObjectStorage operation on AmazonDataSyncClient.
/// 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 EndCreateLocationObjectStorage
/// operation.
/// REST API Reference for CreateLocationObjectStorage Operation
public virtual IAsyncResult BeginCreateLocationObjectStorage(CreateLocationObjectStorageRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateLocationObjectStorageRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateLocationObjectStorageResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the CreateLocationObjectStorage operation.
///
///
/// The IAsyncResult returned by the call to BeginCreateLocationObjectStorage.
///
/// Returns a CreateLocationObjectStorageResult from DataSync.
/// REST API Reference for CreateLocationObjectStorage Operation
public virtual CreateLocationObjectStorageResponse EndCreateLocationObjectStorage(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region CreateLocationS3
///
/// A location is an endpoint for an Amazon S3 bucket. DataSync can use the location
/// as a source or destination for copying data.
///
///
///
/// Before you create your location, make sure that you read the following sections:
///
///
///
/// For more information, see Creating
/// an Amazon S3 location.
///
///
/// Container for the necessary parameters to execute the CreateLocationS3 service method.
///
/// The response from the CreateLocationS3 service method, as returned by DataSync.
///
/// This exception is thrown when an error occurs in the DataSync service.
///
///
/// This exception is thrown when the client submits a malformed request.
///
/// REST API Reference for CreateLocationS3 Operation
public virtual CreateLocationS3Response CreateLocationS3(CreateLocationS3Request request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateLocationS3RequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateLocationS3ResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the CreateLocationS3 operation.
///
///
/// Container for the necessary parameters to execute the CreateLocationS3 operation on AmazonDataSyncClient.
/// 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 EndCreateLocationS3
/// operation.
/// REST API Reference for CreateLocationS3 Operation
public virtual IAsyncResult BeginCreateLocationS3(CreateLocationS3Request request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateLocationS3RequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateLocationS3ResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the CreateLocationS3 operation.
///
///
/// The IAsyncResult returned by the call to BeginCreateLocationS3.
///
/// Returns a CreateLocationS3Result from DataSync.
/// REST API Reference for CreateLocationS3 Operation
public virtual CreateLocationS3Response EndCreateLocationS3(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region CreateLocationSmb
///
/// Creates an endpoint for a Server Message Block (SMB) file server that DataSync can
/// use for a data transfer.
///
///
///
/// Before you begin, make sure that you understand how DataSync accesses
/// an SMB file server.
///
///
/// Container for the necessary parameters to execute the CreateLocationSmb service method.
///
/// The response from the CreateLocationSmb service method, as returned by DataSync.
///
/// This exception is thrown when an error occurs in the DataSync service.
///
///
/// This exception is thrown when the client submits a malformed request.
///
/// REST API Reference for CreateLocationSmb Operation
public virtual CreateLocationSmbResponse CreateLocationSmb(CreateLocationSmbRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateLocationSmbRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateLocationSmbResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the CreateLocationSmb operation.
///
///
/// Container for the necessary parameters to execute the CreateLocationSmb operation on AmazonDataSyncClient.
/// 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 EndCreateLocationSmb
/// operation.
/// REST API Reference for CreateLocationSmb Operation
public virtual IAsyncResult BeginCreateLocationSmb(CreateLocationSmbRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateLocationSmbRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateLocationSmbResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the CreateLocationSmb operation.
///
///
/// The IAsyncResult returned by the call to BeginCreateLocationSmb.
///
/// Returns a CreateLocationSmbResult from DataSync.
/// REST API Reference for CreateLocationSmb Operation
public virtual CreateLocationSmbResponse EndCreateLocationSmb(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region CreateTask
///
/// Configures a task, which defines where and how DataSync transfers your data.
///
///
///
/// A task includes a source location, a destination location, and the preferences for
/// how and when you want to transfer your data (such as bandwidth limits, scheduling,
/// among other options).
///
///
///
/// If you're planning to transfer data to or from an Amazon S3 location, review how
/// DataSync can affect your S3 request charges and the DataSync
/// pricing page before you begin.
///
///
///
/// Container for the necessary parameters to execute the CreateTask service method.
///
/// The response from the CreateTask service method, as returned by DataSync.
///
/// This exception is thrown when an error occurs in the DataSync service.
///
///
/// This exception is thrown when the client submits a malformed request.
///
/// REST API Reference for CreateTask Operation
public virtual CreateTaskResponse CreateTask(CreateTaskRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateTaskRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateTaskResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the CreateTask operation.
///
///
/// Container for the necessary parameters to execute the CreateTask operation on AmazonDataSyncClient.
/// 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 EndCreateTask
/// operation.
/// REST API Reference for CreateTask Operation
public virtual IAsyncResult BeginCreateTask(CreateTaskRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateTaskRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateTaskResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the CreateTask operation.
///
///
/// The IAsyncResult returned by the call to BeginCreateTask.
///
/// Returns a CreateTaskResult from DataSync.
/// REST API Reference for CreateTask Operation
public virtual CreateTaskResponse EndCreateTask(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region DeleteAgent
///
/// Deletes an agent. To specify which agent to delete, use the Amazon Resource Name (ARN)
/// of the agent in your request. The operation disassociates the agent from your Amazon
/// Web Services account. However, it doesn't delete the agent virtual machine (VM) from
/// your on-premises environment.
///
/// Container for the necessary parameters to execute the DeleteAgent service method.
///
/// The response from the DeleteAgent service method, as returned by DataSync.
///
/// This exception is thrown when an error occurs in the DataSync service.
///
///
/// This exception is thrown when the client submits a malformed request.
///
/// REST API Reference for DeleteAgent Operation
public virtual DeleteAgentResponse DeleteAgent(DeleteAgentRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteAgentRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteAgentResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the DeleteAgent operation.
///
///
/// Container for the necessary parameters to execute the DeleteAgent operation on AmazonDataSyncClient.
/// 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 EndDeleteAgent
/// operation.
/// REST API Reference for DeleteAgent Operation
public virtual IAsyncResult BeginDeleteAgent(DeleteAgentRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteAgentRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteAgentResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DeleteAgent operation.
///
///
/// The IAsyncResult returned by the call to BeginDeleteAgent.
///
/// Returns a DeleteAgentResult from DataSync.
/// REST API Reference for DeleteAgent Operation
public virtual DeleteAgentResponse EndDeleteAgent(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region DeleteLocation
///
/// Deletes the configuration of a location used by DataSync.
///
/// Container for the necessary parameters to execute the DeleteLocation service method.
///
/// The response from the DeleteLocation service method, as returned by DataSync.
///
/// This exception is thrown when an error occurs in the DataSync service.
///
///
/// This exception is thrown when the client submits a malformed request.
///
/// REST API Reference for DeleteLocation Operation
public virtual DeleteLocationResponse DeleteLocation(DeleteLocationRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteLocationRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteLocationResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the DeleteLocation operation.
///
///
/// Container for the necessary parameters to execute the DeleteLocation operation on AmazonDataSyncClient.
/// 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 EndDeleteLocation
/// operation.
/// REST API Reference for DeleteLocation Operation
public virtual IAsyncResult BeginDeleteLocation(DeleteLocationRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteLocationRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteLocationResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DeleteLocation operation.
///
///
/// The IAsyncResult returned by the call to BeginDeleteLocation.
///
/// Returns a DeleteLocationResult from DataSync.
/// REST API Reference for DeleteLocation Operation
public virtual DeleteLocationResponse EndDeleteLocation(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region DeleteTask
///
/// Deletes an DataSync task.
///
/// Container for the necessary parameters to execute the DeleteTask service method.
///
/// The response from the DeleteTask service method, as returned by DataSync.
///
/// This exception is thrown when an error occurs in the DataSync service.
///
///
/// This exception is thrown when the client submits a malformed request.
///
/// REST API Reference for DeleteTask Operation
public virtual DeleteTaskResponse DeleteTask(DeleteTaskRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteTaskRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteTaskResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the DeleteTask operation.
///
///
/// Container for the necessary parameters to execute the DeleteTask operation on AmazonDataSyncClient.
/// 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 EndDeleteTask
/// operation.
/// REST API Reference for DeleteTask Operation
public virtual IAsyncResult BeginDeleteTask(DeleteTaskRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteTaskRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteTaskResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DeleteTask operation.
///
///
/// The IAsyncResult returned by the call to BeginDeleteTask.
///
/// Returns a DeleteTaskResult from DataSync.
/// REST API Reference for DeleteTask Operation
public virtual DeleteTaskResponse EndDeleteTask(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region DescribeAgent
///
/// Returns metadata about an DataSync agent, such as its name, endpoint type, and status.
///
/// Container for the necessary parameters to execute the DescribeAgent service method.
///
/// The response from the DescribeAgent service method, as returned by DataSync.
///
/// This exception is thrown when an error occurs in the DataSync service.
///
///
/// This exception is thrown when the client submits a malformed request.
///
/// REST API Reference for DescribeAgent Operation
public virtual DescribeAgentResponse DescribeAgent(DescribeAgentRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeAgentRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeAgentResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the DescribeAgent operation.
///
///
/// Container for the necessary parameters to execute the DescribeAgent operation on AmazonDataSyncClient.
/// 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 EndDescribeAgent
/// operation.
/// REST API Reference for DescribeAgent Operation
public virtual IAsyncResult BeginDescribeAgent(DescribeAgentRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeAgentRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeAgentResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DescribeAgent operation.
///
///
/// The IAsyncResult returned by the call to BeginDescribeAgent.
///
/// Returns a DescribeAgentResult from DataSync.
/// REST API Reference for DescribeAgent Operation
public virtual DescribeAgentResponse EndDescribeAgent(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region DescribeDiscoveryJob
///
/// Returns information about a DataSync discovery job.
///
/// Container for the necessary parameters to execute the DescribeDiscoveryJob service method.
///
/// The response from the DescribeDiscoveryJob service method, as returned by DataSync.
///
/// This exception is thrown when an error occurs in the DataSync service.
///
///
/// This exception is thrown when the client submits a malformed request.
///
/// REST API Reference for DescribeDiscoveryJob Operation
public virtual DescribeDiscoveryJobResponse DescribeDiscoveryJob(DescribeDiscoveryJobRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeDiscoveryJobRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeDiscoveryJobResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the DescribeDiscoveryJob operation.
///
///
/// Container for the necessary parameters to execute the DescribeDiscoveryJob operation on AmazonDataSyncClient.
/// 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 EndDescribeDiscoveryJob
/// operation.
/// REST API Reference for DescribeDiscoveryJob Operation
public virtual IAsyncResult BeginDescribeDiscoveryJob(DescribeDiscoveryJobRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeDiscoveryJobRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeDiscoveryJobResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DescribeDiscoveryJob operation.
///
///
/// The IAsyncResult returned by the call to BeginDescribeDiscoveryJob.
///
/// Returns a DescribeDiscoveryJobResult from DataSync.
/// REST API Reference for DescribeDiscoveryJob Operation
public virtual DescribeDiscoveryJobResponse EndDescribeDiscoveryJob(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region DescribeLocationAzureBlob
///
/// Provides details about how an DataSync transfer location for Microsoft Azure Blob
/// Storage is configured.
///
/// Container for the necessary parameters to execute the DescribeLocationAzureBlob service method.
///
/// The response from the DescribeLocationAzureBlob service method, as returned by DataSync.
///
/// This exception is thrown when an error occurs in the DataSync service.
///
///
/// This exception is thrown when the client submits a malformed request.
///
/// REST API Reference for DescribeLocationAzureBlob Operation
public virtual DescribeLocationAzureBlobResponse DescribeLocationAzureBlob(DescribeLocationAzureBlobRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeLocationAzureBlobRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeLocationAzureBlobResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the DescribeLocationAzureBlob operation.
///
///
/// Container for the necessary parameters to execute the DescribeLocationAzureBlob operation on AmazonDataSyncClient.
/// 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 EndDescribeLocationAzureBlob
/// operation.
/// REST API Reference for DescribeLocationAzureBlob Operation
public virtual IAsyncResult BeginDescribeLocationAzureBlob(DescribeLocationAzureBlobRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeLocationAzureBlobRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeLocationAzureBlobResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DescribeLocationAzureBlob operation.
///
///
/// The IAsyncResult returned by the call to BeginDescribeLocationAzureBlob.
///
/// Returns a DescribeLocationAzureBlobResult from DataSync.
/// REST API Reference for DescribeLocationAzureBlob Operation
public virtual DescribeLocationAzureBlobResponse EndDescribeLocationAzureBlob(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region DescribeLocationEfs
///
/// Returns metadata about your DataSync location for an Amazon EFS file system.
///
/// Container for the necessary parameters to execute the DescribeLocationEfs service method.
///
/// The response from the DescribeLocationEfs service method, as returned by DataSync.
///
/// This exception is thrown when an error occurs in the DataSync service.
///
///
/// This exception is thrown when the client submits a malformed request.
///
/// REST API Reference for DescribeLocationEfs Operation
public virtual DescribeLocationEfsResponse DescribeLocationEfs(DescribeLocationEfsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeLocationEfsRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeLocationEfsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the DescribeLocationEfs operation.
///
///
/// Container for the necessary parameters to execute the DescribeLocationEfs operation on AmazonDataSyncClient.
/// 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 EndDescribeLocationEfs
/// operation.
/// REST API Reference for DescribeLocationEfs Operation
public virtual IAsyncResult BeginDescribeLocationEfs(DescribeLocationEfsRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeLocationEfsRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeLocationEfsResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DescribeLocationEfs operation.
///
///
/// The IAsyncResult returned by the call to BeginDescribeLocationEfs.
///
/// Returns a DescribeLocationEfsResult from DataSync.
/// REST API Reference for DescribeLocationEfs Operation
public virtual DescribeLocationEfsResponse EndDescribeLocationEfs(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region DescribeLocationFsxLustre
///
/// Provides details about how an DataSync location for an Amazon FSx for Lustre file
/// system is configured.
///
/// Container for the necessary parameters to execute the DescribeLocationFsxLustre service method.
///
/// The response from the DescribeLocationFsxLustre service method, as returned by DataSync.
///
/// This exception is thrown when an error occurs in the DataSync service.
///
///
/// This exception is thrown when the client submits a malformed request.
///
/// REST API Reference for DescribeLocationFsxLustre Operation
public virtual DescribeLocationFsxLustreResponse DescribeLocationFsxLustre(DescribeLocationFsxLustreRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeLocationFsxLustreRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeLocationFsxLustreResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the DescribeLocationFsxLustre operation.
///
///
/// Container for the necessary parameters to execute the DescribeLocationFsxLustre operation on AmazonDataSyncClient.
/// 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 EndDescribeLocationFsxLustre
/// operation.
/// REST API Reference for DescribeLocationFsxLustre Operation
public virtual IAsyncResult BeginDescribeLocationFsxLustre(DescribeLocationFsxLustreRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeLocationFsxLustreRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeLocationFsxLustreResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DescribeLocationFsxLustre operation.
///
///
/// The IAsyncResult returned by the call to BeginDescribeLocationFsxLustre.
///
/// Returns a DescribeLocationFsxLustreResult from DataSync.
/// REST API Reference for DescribeLocationFsxLustre Operation
public virtual DescribeLocationFsxLustreResponse EndDescribeLocationFsxLustre(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region DescribeLocationFsxOntap
///
/// Provides details about how an DataSync location for an Amazon FSx for NetApp ONTAP
/// file system is configured.
///
///
///
/// If your location uses SMB, the DescribeLocationFsxOntap
operation doesn't
/// actually return a Password
.
///
///
///
/// Container for the necessary parameters to execute the DescribeLocationFsxOntap service method.
///
/// The response from the DescribeLocationFsxOntap service method, as returned by DataSync.
///
/// This exception is thrown when an error occurs in the DataSync service.
///
///
/// This exception is thrown when the client submits a malformed request.
///
/// REST API Reference for DescribeLocationFsxOntap Operation
public virtual DescribeLocationFsxOntapResponse DescribeLocationFsxOntap(DescribeLocationFsxOntapRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeLocationFsxOntapRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeLocationFsxOntapResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the DescribeLocationFsxOntap operation.
///
///
/// Container for the necessary parameters to execute the DescribeLocationFsxOntap operation on AmazonDataSyncClient.
/// 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 EndDescribeLocationFsxOntap
/// operation.
/// REST API Reference for DescribeLocationFsxOntap Operation
public virtual IAsyncResult BeginDescribeLocationFsxOntap(DescribeLocationFsxOntapRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeLocationFsxOntapRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeLocationFsxOntapResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DescribeLocationFsxOntap operation.
///
///
/// The IAsyncResult returned by the call to BeginDescribeLocationFsxOntap.
///
/// Returns a DescribeLocationFsxOntapResult from DataSync.
/// REST API Reference for DescribeLocationFsxOntap Operation
public virtual DescribeLocationFsxOntapResponse EndDescribeLocationFsxOntap(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region DescribeLocationFsxOpenZfs
///
/// Provides details about how an DataSync location for an Amazon FSx for OpenZFS file
/// system is configured.
///
///
///
/// Response elements related to SMB
aren't supported with the DescribeLocationFsxOpenZfs
/// operation.
///
///
///
/// Container for the necessary parameters to execute the DescribeLocationFsxOpenZfs service method.
///
/// The response from the DescribeLocationFsxOpenZfs service method, as returned by DataSync.
///
/// This exception is thrown when an error occurs in the DataSync service.
///
///
/// This exception is thrown when the client submits a malformed request.
///
/// REST API Reference for DescribeLocationFsxOpenZfs Operation
public virtual DescribeLocationFsxOpenZfsResponse DescribeLocationFsxOpenZfs(DescribeLocationFsxOpenZfsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeLocationFsxOpenZfsRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeLocationFsxOpenZfsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the DescribeLocationFsxOpenZfs operation.
///
///
/// Container for the necessary parameters to execute the DescribeLocationFsxOpenZfs operation on AmazonDataSyncClient.
/// 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 EndDescribeLocationFsxOpenZfs
/// operation.
/// REST API Reference for DescribeLocationFsxOpenZfs Operation
public virtual IAsyncResult BeginDescribeLocationFsxOpenZfs(DescribeLocationFsxOpenZfsRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeLocationFsxOpenZfsRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeLocationFsxOpenZfsResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DescribeLocationFsxOpenZfs operation.
///
///
/// The IAsyncResult returned by the call to BeginDescribeLocationFsxOpenZfs.
///
/// Returns a DescribeLocationFsxOpenZfsResult from DataSync.
/// REST API Reference for DescribeLocationFsxOpenZfs Operation
public virtual DescribeLocationFsxOpenZfsResponse EndDescribeLocationFsxOpenZfs(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region DescribeLocationFsxWindows
///
/// Returns metadata about an Amazon FSx for Windows File Server location, such as information
/// about its path.
///
/// Container for the necessary parameters to execute the DescribeLocationFsxWindows service method.
///
/// The response from the DescribeLocationFsxWindows service method, as returned by DataSync.
///
/// This exception is thrown when an error occurs in the DataSync service.
///
///
/// This exception is thrown when the client submits a malformed request.
///
/// REST API Reference for DescribeLocationFsxWindows Operation
public virtual DescribeLocationFsxWindowsResponse DescribeLocationFsxWindows(DescribeLocationFsxWindowsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeLocationFsxWindowsRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeLocationFsxWindowsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the DescribeLocationFsxWindows operation.
///
///
/// Container for the necessary parameters to execute the DescribeLocationFsxWindows operation on AmazonDataSyncClient.
/// 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 EndDescribeLocationFsxWindows
/// operation.
/// REST API Reference for DescribeLocationFsxWindows Operation
public virtual IAsyncResult BeginDescribeLocationFsxWindows(DescribeLocationFsxWindowsRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeLocationFsxWindowsRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeLocationFsxWindowsResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DescribeLocationFsxWindows operation.
///
///
/// The IAsyncResult returned by the call to BeginDescribeLocationFsxWindows.
///
/// Returns a DescribeLocationFsxWindowsResult from DataSync.
/// REST API Reference for DescribeLocationFsxWindows Operation
public virtual DescribeLocationFsxWindowsResponse EndDescribeLocationFsxWindows(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region DescribeLocationHdfs
///
/// Returns metadata, such as the authentication information about the Hadoop Distributed
/// File System (HDFS) location.
///
/// Container for the necessary parameters to execute the DescribeLocationHdfs service method.
///
/// The response from the DescribeLocationHdfs service method, as returned by DataSync.
///
/// This exception is thrown when an error occurs in the DataSync service.
///
///
/// This exception is thrown when the client submits a malformed request.
///
/// REST API Reference for DescribeLocationHdfs Operation
public virtual DescribeLocationHdfsResponse DescribeLocationHdfs(DescribeLocationHdfsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeLocationHdfsRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeLocationHdfsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the DescribeLocationHdfs operation.
///
///
/// Container for the necessary parameters to execute the DescribeLocationHdfs operation on AmazonDataSyncClient.
/// 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 EndDescribeLocationHdfs
/// operation.
/// REST API Reference for DescribeLocationHdfs Operation
public virtual IAsyncResult BeginDescribeLocationHdfs(DescribeLocationHdfsRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeLocationHdfsRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeLocationHdfsResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DescribeLocationHdfs operation.
///
///
/// The IAsyncResult returned by the call to BeginDescribeLocationHdfs.
///
/// Returns a DescribeLocationHdfsResult from DataSync.
/// REST API Reference for DescribeLocationHdfs Operation
public virtual DescribeLocationHdfsResponse EndDescribeLocationHdfs(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region DescribeLocationNfs
///
/// Returns metadata, such as the path information, about an NFS location.
///
/// Container for the necessary parameters to execute the DescribeLocationNfs service method.
///
/// The response from the DescribeLocationNfs service method, as returned by DataSync.
///
/// This exception is thrown when an error occurs in the DataSync service.
///
///
/// This exception is thrown when the client submits a malformed request.
///
/// REST API Reference for DescribeLocationNfs Operation
public virtual DescribeLocationNfsResponse DescribeLocationNfs(DescribeLocationNfsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeLocationNfsRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeLocationNfsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the DescribeLocationNfs operation.
///
///
/// Container for the necessary parameters to execute the DescribeLocationNfs operation on AmazonDataSyncClient.
/// 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 EndDescribeLocationNfs
/// operation.
/// REST API Reference for DescribeLocationNfs Operation
public virtual IAsyncResult BeginDescribeLocationNfs(DescribeLocationNfsRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeLocationNfsRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeLocationNfsResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DescribeLocationNfs operation.
///
///
/// The IAsyncResult returned by the call to BeginDescribeLocationNfs.
///
/// Returns a DescribeLocationNfsResult from DataSync.
/// REST API Reference for DescribeLocationNfs Operation
public virtual DescribeLocationNfsResponse EndDescribeLocationNfs(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region DescribeLocationObjectStorage
///
/// Returns metadata about your DataSync location for an object storage system.
///
/// Container for the necessary parameters to execute the DescribeLocationObjectStorage service method.
///
/// The response from the DescribeLocationObjectStorage service method, as returned by DataSync.
///
/// This exception is thrown when an error occurs in the DataSync service.
///
///
/// This exception is thrown when the client submits a malformed request.
///
/// REST API Reference for DescribeLocationObjectStorage Operation
public virtual DescribeLocationObjectStorageResponse DescribeLocationObjectStorage(DescribeLocationObjectStorageRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeLocationObjectStorageRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeLocationObjectStorageResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the DescribeLocationObjectStorage operation.
///
///
/// Container for the necessary parameters to execute the DescribeLocationObjectStorage operation on AmazonDataSyncClient.
/// 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 EndDescribeLocationObjectStorage
/// operation.
/// REST API Reference for DescribeLocationObjectStorage Operation
public virtual IAsyncResult BeginDescribeLocationObjectStorage(DescribeLocationObjectStorageRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeLocationObjectStorageRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeLocationObjectStorageResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DescribeLocationObjectStorage operation.
///
///
/// The IAsyncResult returned by the call to BeginDescribeLocationObjectStorage.
///
/// Returns a DescribeLocationObjectStorageResult from DataSync.
/// REST API Reference for DescribeLocationObjectStorage Operation
public virtual DescribeLocationObjectStorageResponse EndDescribeLocationObjectStorage(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region DescribeLocationS3
///
/// Returns metadata, such as bucket name, about an Amazon S3 bucket location.
///
/// Container for the necessary parameters to execute the DescribeLocationS3 service method.
///
/// The response from the DescribeLocationS3 service method, as returned by DataSync.
///
/// This exception is thrown when an error occurs in the DataSync service.
///
///
/// This exception is thrown when the client submits a malformed request.
///
/// REST API Reference for DescribeLocationS3 Operation
public virtual DescribeLocationS3Response DescribeLocationS3(DescribeLocationS3Request request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeLocationS3RequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeLocationS3ResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the DescribeLocationS3 operation.
///
///
/// Container for the necessary parameters to execute the DescribeLocationS3 operation on AmazonDataSyncClient.
/// 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 EndDescribeLocationS3
/// operation.
/// REST API Reference for DescribeLocationS3 Operation
public virtual IAsyncResult BeginDescribeLocationS3(DescribeLocationS3Request request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeLocationS3RequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeLocationS3ResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DescribeLocationS3 operation.
///
///
/// The IAsyncResult returned by the call to BeginDescribeLocationS3.
///
/// Returns a DescribeLocationS3Result from DataSync.
/// REST API Reference for DescribeLocationS3 Operation
public virtual DescribeLocationS3Response EndDescribeLocationS3(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region DescribeLocationSmb
///
/// Returns metadata, such as the path and user information about an SMB location.
///
/// Container for the necessary parameters to execute the DescribeLocationSmb service method.
///
/// The response from the DescribeLocationSmb service method, as returned by DataSync.
///
/// This exception is thrown when an error occurs in the DataSync service.
///
///
/// This exception is thrown when the client submits a malformed request.
///
/// REST API Reference for DescribeLocationSmb Operation
public virtual DescribeLocationSmbResponse DescribeLocationSmb(DescribeLocationSmbRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeLocationSmbRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeLocationSmbResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the DescribeLocationSmb operation.
///
///
/// Container for the necessary parameters to execute the DescribeLocationSmb operation on AmazonDataSyncClient.
/// 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 EndDescribeLocationSmb
/// operation.
/// REST API Reference for DescribeLocationSmb Operation
public virtual IAsyncResult BeginDescribeLocationSmb(DescribeLocationSmbRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeLocationSmbRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeLocationSmbResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DescribeLocationSmb operation.
///
///
/// The IAsyncResult returned by the call to BeginDescribeLocationSmb.
///
/// Returns a DescribeLocationSmbResult from DataSync.
/// REST API Reference for DescribeLocationSmb Operation
public virtual DescribeLocationSmbResponse EndDescribeLocationSmb(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region DescribeStorageSystem
///
/// Returns information about an on-premises storage system that you're using with DataSync
/// Discovery.
///
/// Container for the necessary parameters to execute the DescribeStorageSystem service method.
///
/// The response from the DescribeStorageSystem service method, as returned by DataSync.
///
/// This exception is thrown when an error occurs in the DataSync service.
///
///
/// This exception is thrown when the client submits a malformed request.
///
/// REST API Reference for DescribeStorageSystem Operation
public virtual DescribeStorageSystemResponse DescribeStorageSystem(DescribeStorageSystemRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeStorageSystemRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeStorageSystemResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the DescribeStorageSystem operation.
///
///
/// Container for the necessary parameters to execute the DescribeStorageSystem operation on AmazonDataSyncClient.
/// 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 EndDescribeStorageSystem
/// operation.
/// REST API Reference for DescribeStorageSystem Operation
public virtual IAsyncResult BeginDescribeStorageSystem(DescribeStorageSystemRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeStorageSystemRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeStorageSystemResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DescribeStorageSystem operation.
///
///
/// The IAsyncResult returned by the call to BeginDescribeStorageSystem.
///
/// Returns a DescribeStorageSystemResult from DataSync.
/// REST API Reference for DescribeStorageSystem Operation
public virtual DescribeStorageSystemResponse EndDescribeStorageSystem(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region DescribeStorageSystemResourceMetrics
///
/// Returns information, including performance data and capacity usage, which DataSync
/// Discovery collects about a specific resource in your-premises storage system.
///
/// Container for the necessary parameters to execute the DescribeStorageSystemResourceMetrics service method.
///
/// The response from the DescribeStorageSystemResourceMetrics service method, as returned by DataSync.
///
/// This exception is thrown when an error occurs in the DataSync service.
///
///
/// This exception is thrown when the client submits a malformed request.
///
/// REST API Reference for DescribeStorageSystemResourceMetrics Operation
public virtual DescribeStorageSystemResourceMetricsResponse DescribeStorageSystemResourceMetrics(DescribeStorageSystemResourceMetricsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeStorageSystemResourceMetricsRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeStorageSystemResourceMetricsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the DescribeStorageSystemResourceMetrics operation.
///
///
/// Container for the necessary parameters to execute the DescribeStorageSystemResourceMetrics operation on AmazonDataSyncClient.
/// 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 EndDescribeStorageSystemResourceMetrics
/// operation.
/// REST API Reference for DescribeStorageSystemResourceMetrics Operation
public virtual IAsyncResult BeginDescribeStorageSystemResourceMetrics(DescribeStorageSystemResourceMetricsRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeStorageSystemResourceMetricsRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeStorageSystemResourceMetricsResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DescribeStorageSystemResourceMetrics operation.
///
///
/// The IAsyncResult returned by the call to BeginDescribeStorageSystemResourceMetrics.
///
/// Returns a DescribeStorageSystemResourceMetricsResult from DataSync.
/// REST API Reference for DescribeStorageSystemResourceMetrics Operation
public virtual DescribeStorageSystemResourceMetricsResponse EndDescribeStorageSystemResourceMetrics(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region DescribeStorageSystemResources
///
/// Returns information that DataSync Discovery collects about resources in your on-premises
/// storage system.
///
/// Container for the necessary parameters to execute the DescribeStorageSystemResources service method.
///
/// The response from the DescribeStorageSystemResources service method, as returned by DataSync.
///
/// This exception is thrown when an error occurs in the DataSync service.
///
///
/// This exception is thrown when the client submits a malformed request.
///
/// REST API Reference for DescribeStorageSystemResources Operation
public virtual DescribeStorageSystemResourcesResponse DescribeStorageSystemResources(DescribeStorageSystemResourcesRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeStorageSystemResourcesRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeStorageSystemResourcesResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the DescribeStorageSystemResources operation.
///
///
/// Container for the necessary parameters to execute the DescribeStorageSystemResources operation on AmazonDataSyncClient.
/// 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 EndDescribeStorageSystemResources
/// operation.
/// REST API Reference for DescribeStorageSystemResources Operation
public virtual IAsyncResult BeginDescribeStorageSystemResources(DescribeStorageSystemResourcesRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeStorageSystemResourcesRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeStorageSystemResourcesResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DescribeStorageSystemResources operation.
///
///
/// The IAsyncResult returned by the call to BeginDescribeStorageSystemResources.
///
/// Returns a DescribeStorageSystemResourcesResult from DataSync.
/// REST API Reference for DescribeStorageSystemResources Operation
public virtual DescribeStorageSystemResourcesResponse EndDescribeStorageSystemResources(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region DescribeTask
///
/// Provides information about an DataSync transfer task.
///
/// Container for the necessary parameters to execute the DescribeTask service method.
///
/// The response from the DescribeTask service method, as returned by DataSync.
///
/// This exception is thrown when an error occurs in the DataSync service.
///
///
/// This exception is thrown when the client submits a malformed request.
///
/// REST API Reference for DescribeTask Operation
public virtual DescribeTaskResponse DescribeTask(DescribeTaskRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeTaskRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeTaskResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the DescribeTask operation.
///
///
/// Container for the necessary parameters to execute the DescribeTask operation on AmazonDataSyncClient.
/// 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 EndDescribeTask
/// operation.
/// REST API Reference for DescribeTask Operation
public virtual IAsyncResult BeginDescribeTask(DescribeTaskRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeTaskRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeTaskResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DescribeTask operation.
///
///
/// The IAsyncResult returned by the call to BeginDescribeTask.
///
/// Returns a DescribeTaskResult from DataSync.
/// REST API Reference for DescribeTask Operation
public virtual DescribeTaskResponse EndDescribeTask(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region DescribeTaskExecution
///
/// Provides information about an DataSync transfer task that's running.
///
/// Container for the necessary parameters to execute the DescribeTaskExecution service method.
///
/// The response from the DescribeTaskExecution service method, as returned by DataSync.
///
/// This exception is thrown when an error occurs in the DataSync service.
///
///
/// This exception is thrown when the client submits a malformed request.
///
/// REST API Reference for DescribeTaskExecution Operation
public virtual DescribeTaskExecutionResponse DescribeTaskExecution(DescribeTaskExecutionRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeTaskExecutionRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeTaskExecutionResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the DescribeTaskExecution operation.
///
///
/// Container for the necessary parameters to execute the DescribeTaskExecution operation on AmazonDataSyncClient.
/// 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 EndDescribeTaskExecution
/// operation.
/// REST API Reference for DescribeTaskExecution Operation
public virtual IAsyncResult BeginDescribeTaskExecution(DescribeTaskExecutionRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeTaskExecutionRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeTaskExecutionResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DescribeTaskExecution operation.
///
///
/// The IAsyncResult returned by the call to BeginDescribeTaskExecution.
///
/// Returns a DescribeTaskExecutionResult from DataSync.
/// REST API Reference for DescribeTaskExecution Operation
public virtual DescribeTaskExecutionResponse EndDescribeTaskExecution(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region GenerateRecommendations
///
/// Creates recommendations about where to migrate your data to in Amazon Web Services.
/// Recommendations are generated based on information that DataSync Discovery collects
/// about your on-premises storage system's resources. For more information, see Recommendations
/// provided by DataSync Discovery.
///
///
///
/// Once generated, you can view your recommendations by using the DescribeStorageSystemResources
/// operation.
///
///
///
/// If your discovery
/// job completes successfully, you don't need to use this operation. DataSync Discovery
/// generates the recommendations for you automatically.
///
///
///
/// Container for the necessary parameters to execute the GenerateRecommendations service method.
///
/// The response from the GenerateRecommendations service method, as returned by DataSync.
///
/// This exception is thrown when an error occurs in the DataSync service.
///
///
/// This exception is thrown when the client submits a malformed request.
///
/// REST API Reference for GenerateRecommendations Operation
public virtual GenerateRecommendationsResponse GenerateRecommendations(GenerateRecommendationsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GenerateRecommendationsRequestMarshaller.Instance;
options.ResponseUnmarshaller = GenerateRecommendationsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the GenerateRecommendations operation.
///
///
/// Container for the necessary parameters to execute the GenerateRecommendations operation on AmazonDataSyncClient.
/// 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 EndGenerateRecommendations
/// operation.
/// REST API Reference for GenerateRecommendations Operation
public virtual IAsyncResult BeginGenerateRecommendations(GenerateRecommendationsRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = GenerateRecommendationsRequestMarshaller.Instance;
options.ResponseUnmarshaller = GenerateRecommendationsResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the GenerateRecommendations operation.
///
///
/// The IAsyncResult returned by the call to BeginGenerateRecommendations.
///
/// Returns a GenerateRecommendationsResult from DataSync.
/// REST API Reference for GenerateRecommendations Operation
public virtual GenerateRecommendationsResponse EndGenerateRecommendations(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region ListAgents
///
/// Returns a list of DataSync agents that belong to an Amazon Web Services account in
/// the Amazon Web Services Region specified in the request.
///
///
///
/// With pagination, you can reduce the number of agents returned in a response. If you
/// get a truncated list of agents in a response, the response contains a marker that
/// you can specify in your next request to fetch the next page of agents.
///
///
///
/// ListAgents
is eventually consistent. This means the result of running
/// the operation might not reflect that you just created or deleted an agent. For example,
/// if you create an agent with CreateAgent
/// and then immediately run ListAgents
, that agent might not show up in
/// the list right away. In situations like this, you can always confirm whether an agent
/// has been created (or deleted) by using DescribeAgent.
///
///
/// Container for the necessary parameters to execute the ListAgents service method.
///
/// The response from the ListAgents service method, as returned by DataSync.
///
/// This exception is thrown when an error occurs in the DataSync service.
///
///
/// This exception is thrown when the client submits a malformed request.
///
/// REST API Reference for ListAgents Operation
public virtual ListAgentsResponse ListAgents(ListAgentsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListAgentsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListAgentsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the ListAgents operation.
///
///
/// Container for the necessary parameters to execute the ListAgents operation on AmazonDataSyncClient.
/// 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 EndListAgents
/// operation.
/// REST API Reference for ListAgents Operation
public virtual IAsyncResult BeginListAgents(ListAgentsRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListAgentsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListAgentsResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the ListAgents operation.
///
///
/// The IAsyncResult returned by the call to BeginListAgents.
///
/// Returns a ListAgentsResult from DataSync.
/// REST API Reference for ListAgents Operation
public virtual ListAgentsResponse EndListAgents(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region ListDiscoveryJobs
///
/// Provides a list of the existing discovery jobs in the Amazon Web Services Region and
/// Amazon Web Services account where you're using DataSync Discovery.
///
/// Container for the necessary parameters to execute the ListDiscoveryJobs service method.
///
/// The response from the ListDiscoveryJobs service method, as returned by DataSync.
///
/// This exception is thrown when an error occurs in the DataSync service.
///
///
/// This exception is thrown when the client submits a malformed request.
///
/// REST API Reference for ListDiscoveryJobs Operation
public virtual ListDiscoveryJobsResponse ListDiscoveryJobs(ListDiscoveryJobsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListDiscoveryJobsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListDiscoveryJobsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the ListDiscoveryJobs operation.
///
///
/// Container for the necessary parameters to execute the ListDiscoveryJobs operation on AmazonDataSyncClient.
/// 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 EndListDiscoveryJobs
/// operation.
/// REST API Reference for ListDiscoveryJobs Operation
public virtual IAsyncResult BeginListDiscoveryJobs(ListDiscoveryJobsRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListDiscoveryJobsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListDiscoveryJobsResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the ListDiscoveryJobs operation.
///
///
/// The IAsyncResult returned by the call to BeginListDiscoveryJobs.
///
/// Returns a ListDiscoveryJobsResult from DataSync.
/// REST API Reference for ListDiscoveryJobs Operation
public virtual ListDiscoveryJobsResponse EndListDiscoveryJobs(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region ListLocations
///
/// Returns a list of source and destination locations.
///
///
///
/// If you have more locations than are returned in a response (that is, the response
/// returns only a truncated list of your agents), the response contains a token that
/// you can specify in your next request to fetch the next page of locations.
///
///
/// Container for the necessary parameters to execute the ListLocations service method.
///
/// The response from the ListLocations service method, as returned by DataSync.
///
/// This exception is thrown when an error occurs in the DataSync service.
///
///
/// This exception is thrown when the client submits a malformed request.
///
/// REST API Reference for ListLocations Operation
public virtual ListLocationsResponse ListLocations(ListLocationsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListLocationsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListLocationsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the ListLocations operation.
///
///
/// Container for the necessary parameters to execute the ListLocations operation on AmazonDataSyncClient.
/// 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 EndListLocations
/// operation.
/// REST API Reference for ListLocations Operation
public virtual IAsyncResult BeginListLocations(ListLocationsRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListLocationsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListLocationsResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the ListLocations operation.
///
///
/// The IAsyncResult returned by the call to BeginListLocations.
///
/// Returns a ListLocationsResult from DataSync.
/// REST API Reference for ListLocations Operation
public virtual ListLocationsResponse EndListLocations(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region ListStorageSystems
///
/// Lists the on-premises storage systems that you're using with DataSync Discovery.
///
/// Container for the necessary parameters to execute the ListStorageSystems service method.
///
/// The response from the ListStorageSystems service method, as returned by DataSync.
///
/// This exception is thrown when an error occurs in the DataSync service.
///
///
/// This exception is thrown when the client submits a malformed request.
///
/// REST API Reference for ListStorageSystems Operation
public virtual ListStorageSystemsResponse ListStorageSystems(ListStorageSystemsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListStorageSystemsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListStorageSystemsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the ListStorageSystems operation.
///
///
/// Container for the necessary parameters to execute the ListStorageSystems operation on AmazonDataSyncClient.
/// 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 EndListStorageSystems
/// operation.
/// REST API Reference for ListStorageSystems Operation
public virtual IAsyncResult BeginListStorageSystems(ListStorageSystemsRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListStorageSystemsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListStorageSystemsResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the ListStorageSystems operation.
///
///
/// The IAsyncResult returned by the call to BeginListStorageSystems.
///
/// Returns a ListStorageSystemsResult from DataSync.
/// REST API Reference for ListStorageSystems Operation
public virtual ListStorageSystemsResponse EndListStorageSystems(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region ListTagsForResource
///
/// Returns all the tags associated with an Amazon Web Services resource.
///
/// Container for the necessary parameters to execute the ListTagsForResource service method.
///
/// The response from the ListTagsForResource service method, as returned by DataSync.
///
/// This exception is thrown when an error occurs in the DataSync service.
///
///
/// This exception is thrown when the client submits a malformed request.
///
/// 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 AmazonDataSyncClient.
/// 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 DataSync.
/// REST API Reference for ListTagsForResource Operation
public virtual ListTagsForResourceResponse EndListTagsForResource(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region ListTaskExecutions
///
/// Returns a list of executed tasks.
///
/// Container for the necessary parameters to execute the ListTaskExecutions service method.
///
/// The response from the ListTaskExecutions service method, as returned by DataSync.
///
/// This exception is thrown when an error occurs in the DataSync service.
///
///
/// This exception is thrown when the client submits a malformed request.
///
/// REST API Reference for ListTaskExecutions Operation
public virtual ListTaskExecutionsResponse ListTaskExecutions(ListTaskExecutionsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListTaskExecutionsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListTaskExecutionsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the ListTaskExecutions operation.
///
///
/// Container for the necessary parameters to execute the ListTaskExecutions operation on AmazonDataSyncClient.
/// 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 EndListTaskExecutions
/// operation.
/// REST API Reference for ListTaskExecutions Operation
public virtual IAsyncResult BeginListTaskExecutions(ListTaskExecutionsRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListTaskExecutionsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListTaskExecutionsResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the ListTaskExecutions operation.
///
///
/// The IAsyncResult returned by the call to BeginListTaskExecutions.
///
/// Returns a ListTaskExecutionsResult from DataSync.
/// REST API Reference for ListTaskExecutions Operation
public virtual ListTaskExecutionsResponse EndListTaskExecutions(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region ListTasks
///
/// Returns a list of the DataSync tasks you created.
///
/// Container for the necessary parameters to execute the ListTasks service method.
///
/// The response from the ListTasks service method, as returned by DataSync.
///
/// This exception is thrown when an error occurs in the DataSync service.
///
///
/// This exception is thrown when the client submits a malformed request.
///
/// REST API Reference for ListTasks Operation
public virtual ListTasksResponse ListTasks(ListTasksRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListTasksRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListTasksResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the ListTasks operation.
///
///
/// Container for the necessary parameters to execute the ListTasks operation on AmazonDataSyncClient.
/// 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 EndListTasks
/// operation.
/// REST API Reference for ListTasks Operation
public virtual IAsyncResult BeginListTasks(ListTasksRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListTasksRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListTasksResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the ListTasks operation.
///
///
/// The IAsyncResult returned by the call to BeginListTasks.
///
/// Returns a ListTasksResult from DataSync.
/// REST API Reference for ListTasks Operation
public virtual ListTasksResponse EndListTasks(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region RemoveStorageSystem
///
/// Permanently removes a storage system resource from DataSync Discovery, including the
/// associated discovery jobs, collected data, and recommendations.
///
/// Container for the necessary parameters to execute the RemoveStorageSystem service method.
///
/// The response from the RemoveStorageSystem service method, as returned by DataSync.
///
/// This exception is thrown when an error occurs in the DataSync service.
///
///
/// This exception is thrown when the client submits a malformed request.
///
/// REST API Reference for RemoveStorageSystem Operation
public virtual RemoveStorageSystemResponse RemoveStorageSystem(RemoveStorageSystemRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = RemoveStorageSystemRequestMarshaller.Instance;
options.ResponseUnmarshaller = RemoveStorageSystemResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the RemoveStorageSystem operation.
///
///
/// Container for the necessary parameters to execute the RemoveStorageSystem operation on AmazonDataSyncClient.
/// 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 EndRemoveStorageSystem
/// operation.
/// REST API Reference for RemoveStorageSystem Operation
public virtual IAsyncResult BeginRemoveStorageSystem(RemoveStorageSystemRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = RemoveStorageSystemRequestMarshaller.Instance;
options.ResponseUnmarshaller = RemoveStorageSystemResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the RemoveStorageSystem operation.
///
///
/// The IAsyncResult returned by the call to BeginRemoveStorageSystem.
///
/// Returns a RemoveStorageSystemResult from DataSync.
/// REST API Reference for RemoveStorageSystem Operation
public virtual RemoveStorageSystemResponse EndRemoveStorageSystem(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region StartDiscoveryJob
///
/// Runs a DataSync discovery job on your on-premises storage system. If you haven't added
/// the storage system to DataSync Discovery yet, do this first by using the AddStorageSystem
/// operation.
///
/// Container for the necessary parameters to execute the StartDiscoveryJob service method.
///
/// The response from the StartDiscoveryJob service method, as returned by DataSync.
///
/// This exception is thrown when an error occurs in the DataSync service.
///
///
/// This exception is thrown when the client submits a malformed request.
///
/// REST API Reference for StartDiscoveryJob Operation
public virtual StartDiscoveryJobResponse StartDiscoveryJob(StartDiscoveryJobRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = StartDiscoveryJobRequestMarshaller.Instance;
options.ResponseUnmarshaller = StartDiscoveryJobResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the StartDiscoveryJob operation.
///
///
/// Container for the necessary parameters to execute the StartDiscoveryJob operation on AmazonDataSyncClient.
/// 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 EndStartDiscoveryJob
/// operation.
/// REST API Reference for StartDiscoveryJob Operation
public virtual IAsyncResult BeginStartDiscoveryJob(StartDiscoveryJobRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = StartDiscoveryJobRequestMarshaller.Instance;
options.ResponseUnmarshaller = StartDiscoveryJobResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the StartDiscoveryJob operation.
///
///
/// The IAsyncResult returned by the call to BeginStartDiscoveryJob.
///
/// Returns a StartDiscoveryJobResult from DataSync.
/// REST API Reference for StartDiscoveryJob Operation
public virtual StartDiscoveryJobResponse EndStartDiscoveryJob(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region StartTaskExecution
///
/// Starts an DataSync task. For each task, you can only run one task execution at a time.
///
///
///
/// There are several phases to a task execution. For more information, see Task
/// execution statuses.
///
///
///
/// If you're planning to transfer data to or from an Amazon S3 location, review how
/// DataSync can affect your S3 request charges and the DataSync
/// pricing page before you begin.
///
///
///
/// Container for the necessary parameters to execute the StartTaskExecution service method.
///
/// The response from the StartTaskExecution service method, as returned by DataSync.
///
/// This exception is thrown when an error occurs in the DataSync service.
///
///
/// This exception is thrown when the client submits a malformed request.
///
/// REST API Reference for StartTaskExecution Operation
public virtual StartTaskExecutionResponse StartTaskExecution(StartTaskExecutionRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = StartTaskExecutionRequestMarshaller.Instance;
options.ResponseUnmarshaller = StartTaskExecutionResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the StartTaskExecution operation.
///
///
/// Container for the necessary parameters to execute the StartTaskExecution operation on AmazonDataSyncClient.
/// 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 EndStartTaskExecution
/// operation.
/// REST API Reference for StartTaskExecution Operation
public virtual IAsyncResult BeginStartTaskExecution(StartTaskExecutionRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = StartTaskExecutionRequestMarshaller.Instance;
options.ResponseUnmarshaller = StartTaskExecutionResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the StartTaskExecution operation.
///
///
/// The IAsyncResult returned by the call to BeginStartTaskExecution.
///
/// Returns a StartTaskExecutionResult from DataSync.
/// REST API Reference for StartTaskExecution Operation
public virtual StartTaskExecutionResponse EndStartTaskExecution(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region StopDiscoveryJob
///
/// Stops a running DataSync discovery job.
///
///
///
/// You can stop a discovery job anytime. A job that's stopped before it's scheduled to
/// end likely will provide you some information about your on-premises storage system
/// resources. To get recommendations for a stopped job, you must use the GenerateRecommendations
/// operation.
///
///
/// Container for the necessary parameters to execute the StopDiscoveryJob service method.
///
/// The response from the StopDiscoveryJob service method, as returned by DataSync.
///
/// This exception is thrown when an error occurs in the DataSync service.
///
///
/// This exception is thrown when the client submits a malformed request.
///
/// REST API Reference for StopDiscoveryJob Operation
public virtual StopDiscoveryJobResponse StopDiscoveryJob(StopDiscoveryJobRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = StopDiscoveryJobRequestMarshaller.Instance;
options.ResponseUnmarshaller = StopDiscoveryJobResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the StopDiscoveryJob operation.
///
///
/// Container for the necessary parameters to execute the StopDiscoveryJob operation on AmazonDataSyncClient.
/// 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 EndStopDiscoveryJob
/// operation.
/// REST API Reference for StopDiscoveryJob Operation
public virtual IAsyncResult BeginStopDiscoveryJob(StopDiscoveryJobRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = StopDiscoveryJobRequestMarshaller.Instance;
options.ResponseUnmarshaller = StopDiscoveryJobResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the StopDiscoveryJob operation.
///
///
/// The IAsyncResult returned by the call to BeginStopDiscoveryJob.
///
/// Returns a StopDiscoveryJobResult from DataSync.
/// REST API Reference for StopDiscoveryJob Operation
public virtual StopDiscoveryJobResponse EndStopDiscoveryJob(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region TagResource
///
/// Applies a tag to an Amazon Web Services resource. Tags are key-value pairs
/// that can help you manage, filter, and search for your resources.
///
///
///
/// These include DataSync resources, such as locations, tasks, and task executions.
///
///
/// Container for the necessary parameters to execute the TagResource service method.
///
/// The response from the TagResource service method, as returned by DataSync.
///
/// This exception is thrown when an error occurs in the DataSync service.
///
///
/// This exception is thrown when the client submits a malformed request.
///
/// 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 AmazonDataSyncClient.
/// 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 DataSync.
/// REST API Reference for TagResource Operation
public virtual TagResourceResponse EndTagResource(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region UntagResource
///
/// Removes tags from an Amazon Web Services resource.
///
/// Container for the necessary parameters to execute the UntagResource service method.
///
/// The response from the UntagResource service method, as returned by DataSync.
///
/// This exception is thrown when an error occurs in the DataSync service.
///
///
/// This exception is thrown when the client submits a malformed request.
///
/// 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 AmazonDataSyncClient.
/// 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 DataSync.
/// REST API Reference for UntagResource Operation
public virtual UntagResourceResponse EndUntagResource(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region UpdateAgent
///
/// Updates the name of an agent.
///
/// Container for the necessary parameters to execute the UpdateAgent service method.
///
/// The response from the UpdateAgent service method, as returned by DataSync.
///
/// This exception is thrown when an error occurs in the DataSync service.
///
///
/// This exception is thrown when the client submits a malformed request.
///
/// REST API Reference for UpdateAgent Operation
public virtual UpdateAgentResponse UpdateAgent(UpdateAgentRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateAgentRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateAgentResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the UpdateAgent operation.
///
///
/// Container for the necessary parameters to execute the UpdateAgent operation on AmazonDataSyncClient.
/// 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 EndUpdateAgent
/// operation.
/// REST API Reference for UpdateAgent Operation
public virtual IAsyncResult BeginUpdateAgent(UpdateAgentRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateAgentRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateAgentResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the UpdateAgent operation.
///
///
/// The IAsyncResult returned by the call to BeginUpdateAgent.
///
/// Returns a UpdateAgentResult from DataSync.
/// REST API Reference for UpdateAgent Operation
public virtual UpdateAgentResponse EndUpdateAgent(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region UpdateDiscoveryJob
///
/// Edits a DataSync discovery job configuration.
///
/// Container for the necessary parameters to execute the UpdateDiscoveryJob service method.
///
/// The response from the UpdateDiscoveryJob service method, as returned by DataSync.
///
/// This exception is thrown when an error occurs in the DataSync service.
///
///
/// This exception is thrown when the client submits a malformed request.
///
/// REST API Reference for UpdateDiscoveryJob Operation
public virtual UpdateDiscoveryJobResponse UpdateDiscoveryJob(UpdateDiscoveryJobRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateDiscoveryJobRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateDiscoveryJobResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the UpdateDiscoveryJob operation.
///
///
/// Container for the necessary parameters to execute the UpdateDiscoveryJob operation on AmazonDataSyncClient.
/// 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 EndUpdateDiscoveryJob
/// operation.
/// REST API Reference for UpdateDiscoveryJob Operation
public virtual IAsyncResult BeginUpdateDiscoveryJob(UpdateDiscoveryJobRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateDiscoveryJobRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateDiscoveryJobResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the UpdateDiscoveryJob operation.
///
///
/// The IAsyncResult returned by the call to BeginUpdateDiscoveryJob.
///
/// Returns a UpdateDiscoveryJobResult from DataSync.
/// REST API Reference for UpdateDiscoveryJob Operation
public virtual UpdateDiscoveryJobResponse EndUpdateDiscoveryJob(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region UpdateLocationAzureBlob
///
/// Modifies some configurations of the Microsoft Azure Blob Storage transfer location
/// that you're using with DataSync.
///
/// Container for the necessary parameters to execute the UpdateLocationAzureBlob service method.
///
/// The response from the UpdateLocationAzureBlob service method, as returned by DataSync.
///
/// This exception is thrown when an error occurs in the DataSync service.
///
///
/// This exception is thrown when the client submits a malformed request.
///
/// REST API Reference for UpdateLocationAzureBlob Operation
public virtual UpdateLocationAzureBlobResponse UpdateLocationAzureBlob(UpdateLocationAzureBlobRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateLocationAzureBlobRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateLocationAzureBlobResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the UpdateLocationAzureBlob operation.
///
///
/// Container for the necessary parameters to execute the UpdateLocationAzureBlob operation on AmazonDataSyncClient.
/// 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 EndUpdateLocationAzureBlob
/// operation.
/// REST API Reference for UpdateLocationAzureBlob Operation
public virtual IAsyncResult BeginUpdateLocationAzureBlob(UpdateLocationAzureBlobRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateLocationAzureBlobRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateLocationAzureBlobResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the UpdateLocationAzureBlob operation.
///
///
/// The IAsyncResult returned by the call to BeginUpdateLocationAzureBlob.
///
/// Returns a UpdateLocationAzureBlobResult from DataSync.
/// REST API Reference for UpdateLocationAzureBlob Operation
public virtual UpdateLocationAzureBlobResponse EndUpdateLocationAzureBlob(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region UpdateLocationHdfs
///
/// Updates some parameters of a previously created location for a Hadoop Distributed
/// File System cluster.
///
/// Container for the necessary parameters to execute the UpdateLocationHdfs service method.
///
/// The response from the UpdateLocationHdfs service method, as returned by DataSync.
///
/// This exception is thrown when an error occurs in the DataSync service.
///
///
/// This exception is thrown when the client submits a malformed request.
///
/// REST API Reference for UpdateLocationHdfs Operation
public virtual UpdateLocationHdfsResponse UpdateLocationHdfs(UpdateLocationHdfsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateLocationHdfsRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateLocationHdfsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the UpdateLocationHdfs operation.
///
///
/// Container for the necessary parameters to execute the UpdateLocationHdfs operation on AmazonDataSyncClient.
/// 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 EndUpdateLocationHdfs
/// operation.
/// REST API Reference for UpdateLocationHdfs Operation
public virtual IAsyncResult BeginUpdateLocationHdfs(UpdateLocationHdfsRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateLocationHdfsRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateLocationHdfsResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the UpdateLocationHdfs operation.
///
///
/// The IAsyncResult returned by the call to BeginUpdateLocationHdfs.
///
/// Returns a UpdateLocationHdfsResult from DataSync.
/// REST API Reference for UpdateLocationHdfs Operation
public virtual UpdateLocationHdfsResponse EndUpdateLocationHdfs(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region UpdateLocationNfs
///
/// Updates some of the parameters of a previously created location for Network File System
/// (NFS) access. For information about creating an NFS location, see Creating
/// a location for NFS.
///
/// Container for the necessary parameters to execute the UpdateLocationNfs service method.
///
/// The response from the UpdateLocationNfs service method, as returned by DataSync.
///
/// This exception is thrown when an error occurs in the DataSync service.
///
///
/// This exception is thrown when the client submits a malformed request.
///
/// REST API Reference for UpdateLocationNfs Operation
public virtual UpdateLocationNfsResponse UpdateLocationNfs(UpdateLocationNfsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateLocationNfsRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateLocationNfsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the UpdateLocationNfs operation.
///
///
/// Container for the necessary parameters to execute the UpdateLocationNfs operation on AmazonDataSyncClient.
/// 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 EndUpdateLocationNfs
/// operation.
/// REST API Reference for UpdateLocationNfs Operation
public virtual IAsyncResult BeginUpdateLocationNfs(UpdateLocationNfsRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateLocationNfsRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateLocationNfsResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the UpdateLocationNfs operation.
///
///
/// The IAsyncResult returned by the call to BeginUpdateLocationNfs.
///
/// Returns a UpdateLocationNfsResult from DataSync.
/// REST API Reference for UpdateLocationNfs Operation
public virtual UpdateLocationNfsResponse EndUpdateLocationNfs(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region UpdateLocationObjectStorage
///
/// Updates some parameters of an existing object storage location that DataSync accesses
/// for a transfer. For information about creating a self-managed object storage location,
/// see Creating
/// a location for object storage.
///
/// Container for the necessary parameters to execute the UpdateLocationObjectStorage service method.
///
/// The response from the UpdateLocationObjectStorage service method, as returned by DataSync.
///
/// This exception is thrown when an error occurs in the DataSync service.
///
///
/// This exception is thrown when the client submits a malformed request.
///
/// REST API Reference for UpdateLocationObjectStorage Operation
public virtual UpdateLocationObjectStorageResponse UpdateLocationObjectStorage(UpdateLocationObjectStorageRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateLocationObjectStorageRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateLocationObjectStorageResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the UpdateLocationObjectStorage operation.
///
///
/// Container for the necessary parameters to execute the UpdateLocationObjectStorage operation on AmazonDataSyncClient.
/// 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 EndUpdateLocationObjectStorage
/// operation.
/// REST API Reference for UpdateLocationObjectStorage Operation
public virtual IAsyncResult BeginUpdateLocationObjectStorage(UpdateLocationObjectStorageRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateLocationObjectStorageRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateLocationObjectStorageResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the UpdateLocationObjectStorage operation.
///
///
/// The IAsyncResult returned by the call to BeginUpdateLocationObjectStorage.
///
/// Returns a UpdateLocationObjectStorageResult from DataSync.
/// REST API Reference for UpdateLocationObjectStorage Operation
public virtual UpdateLocationObjectStorageResponse EndUpdateLocationObjectStorage(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region UpdateLocationSmb
///
/// Updates some of the parameters of a previously created location for Server Message
/// Block (SMB) file system access. For information about creating an SMB location, see
/// Creating
/// a location for SMB.
///
/// Container for the necessary parameters to execute the UpdateLocationSmb service method.
///
/// The response from the UpdateLocationSmb service method, as returned by DataSync.
///
/// This exception is thrown when an error occurs in the DataSync service.
///
///
/// This exception is thrown when the client submits a malformed request.
///
/// REST API Reference for UpdateLocationSmb Operation
public virtual UpdateLocationSmbResponse UpdateLocationSmb(UpdateLocationSmbRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateLocationSmbRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateLocationSmbResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the UpdateLocationSmb operation.
///
///
/// Container for the necessary parameters to execute the UpdateLocationSmb operation on AmazonDataSyncClient.
/// 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 EndUpdateLocationSmb
/// operation.
/// REST API Reference for UpdateLocationSmb Operation
public virtual IAsyncResult BeginUpdateLocationSmb(UpdateLocationSmbRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateLocationSmbRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateLocationSmbResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the UpdateLocationSmb operation.
///
///
/// The IAsyncResult returned by the call to BeginUpdateLocationSmb.
///
/// Returns a UpdateLocationSmbResult from DataSync.
/// REST API Reference for UpdateLocationSmb Operation
public virtual UpdateLocationSmbResponse EndUpdateLocationSmb(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region UpdateStorageSystem
///
/// Modifies some configurations of an on-premises storage system resource that you're
/// using with DataSync Discovery.
///
/// Container for the necessary parameters to execute the UpdateStorageSystem service method.
///
/// The response from the UpdateStorageSystem service method, as returned by DataSync.
///
/// This exception is thrown when an error occurs in the DataSync service.
///
///
/// This exception is thrown when the client submits a malformed request.
///
/// REST API Reference for UpdateStorageSystem Operation
public virtual UpdateStorageSystemResponse UpdateStorageSystem(UpdateStorageSystemRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateStorageSystemRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateStorageSystemResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the UpdateStorageSystem operation.
///
///
/// Container for the necessary parameters to execute the UpdateStorageSystem operation on AmazonDataSyncClient.
/// 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 EndUpdateStorageSystem
/// operation.
/// REST API Reference for UpdateStorageSystem Operation
public virtual IAsyncResult BeginUpdateStorageSystem(UpdateStorageSystemRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateStorageSystemRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateStorageSystemResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the UpdateStorageSystem operation.
///
///
/// The IAsyncResult returned by the call to BeginUpdateStorageSystem.
///
/// Returns a UpdateStorageSystemResult from DataSync.
/// REST API Reference for UpdateStorageSystem Operation
public virtual UpdateStorageSystemResponse EndUpdateStorageSystem(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region UpdateTask
///
/// Updates the metadata associated with a task.
///
/// Container for the necessary parameters to execute the UpdateTask service method.
///
/// The response from the UpdateTask service method, as returned by DataSync.
///
/// This exception is thrown when an error occurs in the DataSync service.
///
///
/// This exception is thrown when the client submits a malformed request.
///
/// REST API Reference for UpdateTask Operation
public virtual UpdateTaskResponse UpdateTask(UpdateTaskRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateTaskRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateTaskResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the UpdateTask operation.
///
///
/// Container for the necessary parameters to execute the UpdateTask operation on AmazonDataSyncClient.
/// 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 EndUpdateTask
/// operation.
/// REST API Reference for UpdateTask Operation
public virtual IAsyncResult BeginUpdateTask(UpdateTaskRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateTaskRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateTaskResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the UpdateTask operation.
///
///
/// The IAsyncResult returned by the call to BeginUpdateTask.
///
/// Returns a UpdateTaskResult from DataSync.
/// REST API Reference for UpdateTask Operation
public virtual UpdateTaskResponse EndUpdateTask(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region UpdateTaskExecution
///
/// Modifies a running DataSync task.
///
///
///
/// Currently, the only Option
that you can modify with UpdateTaskExecution
/// is BytesPerSecond
///
, which throttles bandwidth for a running or queued task.
///
///
///
/// Container for the necessary parameters to execute the UpdateTaskExecution service method.
///
/// The response from the UpdateTaskExecution service method, as returned by DataSync.
///
/// This exception is thrown when an error occurs in the DataSync service.
///
///
/// This exception is thrown when the client submits a malformed request.
///
/// REST API Reference for UpdateTaskExecution Operation
public virtual UpdateTaskExecutionResponse UpdateTaskExecution(UpdateTaskExecutionRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateTaskExecutionRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateTaskExecutionResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the UpdateTaskExecution operation.
///
///
/// Container for the necessary parameters to execute the UpdateTaskExecution operation on AmazonDataSyncClient.
/// 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 EndUpdateTaskExecution
/// operation.
/// REST API Reference for UpdateTaskExecution Operation
public virtual IAsyncResult BeginUpdateTaskExecution(UpdateTaskExecutionRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateTaskExecutionRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateTaskExecutionResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the UpdateTaskExecution operation.
///
///
/// The IAsyncResult returned by the call to BeginUpdateTaskExecution.
///
/// Returns a UpdateTaskExecutionResult from DataSync.
/// REST API Reference for UpdateTaskExecution Operation
public virtual UpdateTaskExecutionResponse EndUpdateTaskExecution(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
}
}