/*
* 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.Threading;
using System.Threading.Tasks;
using System.Collections.Generic;
using Amazon.Runtime;
using Amazon.DataSync.Model;
namespace Amazon.DataSync
{
///
/// Interface 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 interface IAmazonDataSync : IAmazonService, IDisposable
{
///
/// Paginators for the service
///
IDataSyncPaginatorFactory Paginators { get; }
#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
AddStorageSystemResponse AddStorageSystem(AddStorageSystemRequest request);
///
/// 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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task AddStorageSystemAsync(AddStorageSystemRequest request, CancellationToken cancellationToken = default(CancellationToken));
#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
CancelTaskExecutionResponse CancelTaskExecution(CancelTaskExecutionRequest request);
///
/// 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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task CancelTaskExecutionAsync(CancelTaskExecutionRequest request, CancellationToken cancellationToken = default(CancellationToken));
#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
CreateAgentResponse CreateAgent(CreateAgentRequest request);
///
/// 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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task CreateAgentAsync(CreateAgentRequest request, CancellationToken cancellationToken = default(CancellationToken));
#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
CreateLocationAzureBlobResponse CreateLocationAzureBlob(CreateLocationAzureBlobRequest request);
///
/// 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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task CreateLocationAzureBlobAsync(CreateLocationAzureBlobRequest request, CancellationToken cancellationToken = default(CancellationToken));
#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
CreateLocationEfsResponse CreateLocationEfs(CreateLocationEfsRequest request);
///
/// 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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task CreateLocationEfsAsync(CreateLocationEfsRequest request, CancellationToken cancellationToken = default(CancellationToken));
#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
CreateLocationFsxLustreResponse CreateLocationFsxLustre(CreateLocationFsxLustreRequest request);
///
/// Creates an endpoint for an Amazon FSx for Lustre file system.
///
/// Container for the necessary parameters to execute the CreateLocationFsxLustre service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task CreateLocationFsxLustreAsync(CreateLocationFsxLustreRequest request, CancellationToken cancellationToken = default(CancellationToken));
#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
CreateLocationFsxOntapResponse CreateLocationFsxOntap(CreateLocationFsxOntapRequest request);
///
/// 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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task CreateLocationFsxOntapAsync(CreateLocationFsxOntapRequest request, CancellationToken cancellationToken = default(CancellationToken));
#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
CreateLocationFsxOpenZfsResponse CreateLocationFsxOpenZfs(CreateLocationFsxOpenZfsRequest request);
///
/// 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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task CreateLocationFsxOpenZfsAsync(CreateLocationFsxOpenZfsRequest request, CancellationToken cancellationToken = default(CancellationToken));
#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
CreateLocationFsxWindowsResponse CreateLocationFsxWindows(CreateLocationFsxWindowsRequest request);
///
/// Creates an endpoint for an Amazon FSx for Windows File Server file system.
///
/// Container for the necessary parameters to execute the CreateLocationFsxWindows service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task CreateLocationFsxWindowsAsync(CreateLocationFsxWindowsRequest request, CancellationToken cancellationToken = default(CancellationToken));
#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
CreateLocationHdfsResponse CreateLocationHdfs(CreateLocationHdfsRequest request);
///
/// Creates an endpoint for a Hadoop Distributed File System (HDFS).
///
/// Container for the necessary parameters to execute the CreateLocationHdfs service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task CreateLocationHdfsAsync(CreateLocationHdfsRequest request, CancellationToken cancellationToken = default(CancellationToken));
#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
CreateLocationNfsResponse CreateLocationNfs(CreateLocationNfsRequest request);
///
/// 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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task CreateLocationNfsAsync(CreateLocationNfsRequest request, CancellationToken cancellationToken = default(CancellationToken));
#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
CreateLocationObjectStorageResponse CreateLocationObjectStorage(CreateLocationObjectStorageRequest request);
///
/// 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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task CreateLocationObjectStorageAsync(CreateLocationObjectStorageRequest request, CancellationToken cancellationToken = default(CancellationToken));
#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
CreateLocationS3Response CreateLocationS3(CreateLocationS3Request request);
///
/// 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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task CreateLocationS3Async(CreateLocationS3Request request, CancellationToken cancellationToken = default(CancellationToken));
#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
CreateLocationSmbResponse CreateLocationSmb(CreateLocationSmbRequest request);
///
/// 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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task CreateLocationSmbAsync(CreateLocationSmbRequest request, CancellationToken cancellationToken = default(CancellationToken));
#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
CreateTaskResponse CreateTask(CreateTaskRequest request);
///
/// 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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task CreateTaskAsync(CreateTaskRequest request, CancellationToken cancellationToken = default(CancellationToken));
#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
DeleteAgentResponse DeleteAgent(DeleteAgentRequest request);
///
/// 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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task DeleteAgentAsync(DeleteAgentRequest request, CancellationToken cancellationToken = default(CancellationToken));
#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
DeleteLocationResponse DeleteLocation(DeleteLocationRequest request);
///
/// Deletes the configuration of a location used by DataSync.
///
/// Container for the necessary parameters to execute the DeleteLocation service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task DeleteLocationAsync(DeleteLocationRequest request, CancellationToken cancellationToken = default(CancellationToken));
#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
DeleteTaskResponse DeleteTask(DeleteTaskRequest request);
///
/// Deletes an DataSync task.
///
/// Container for the necessary parameters to execute the DeleteTask service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task DeleteTaskAsync(DeleteTaskRequest request, CancellationToken cancellationToken = default(CancellationToken));
#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
DescribeAgentResponse DescribeAgent(DescribeAgentRequest request);
///
/// 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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task DescribeAgentAsync(DescribeAgentRequest request, CancellationToken cancellationToken = default(CancellationToken));
#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
DescribeDiscoveryJobResponse DescribeDiscoveryJob(DescribeDiscoveryJobRequest request);
///
/// Returns information about a DataSync discovery job.
///
/// Container for the necessary parameters to execute the DescribeDiscoveryJob service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task DescribeDiscoveryJobAsync(DescribeDiscoveryJobRequest request, CancellationToken cancellationToken = default(CancellationToken));
#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
DescribeLocationAzureBlobResponse DescribeLocationAzureBlob(DescribeLocationAzureBlobRequest request);
///
/// 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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task DescribeLocationAzureBlobAsync(DescribeLocationAzureBlobRequest request, CancellationToken cancellationToken = default(CancellationToken));
#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
DescribeLocationEfsResponse DescribeLocationEfs(DescribeLocationEfsRequest request);
///
/// Returns metadata about your DataSync location for an Amazon EFS file system.
///
/// Container for the necessary parameters to execute the DescribeLocationEfs service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task DescribeLocationEfsAsync(DescribeLocationEfsRequest request, CancellationToken cancellationToken = default(CancellationToken));
#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
DescribeLocationFsxLustreResponse DescribeLocationFsxLustre(DescribeLocationFsxLustreRequest request);
///
/// 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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task DescribeLocationFsxLustreAsync(DescribeLocationFsxLustreRequest request, CancellationToken cancellationToken = default(CancellationToken));
#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
DescribeLocationFsxOntapResponse DescribeLocationFsxOntap(DescribeLocationFsxOntapRequest request);
///
/// 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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task DescribeLocationFsxOntapAsync(DescribeLocationFsxOntapRequest request, CancellationToken cancellationToken = default(CancellationToken));
#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
DescribeLocationFsxOpenZfsResponse DescribeLocationFsxOpenZfs(DescribeLocationFsxOpenZfsRequest request);
///
/// 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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task DescribeLocationFsxOpenZfsAsync(DescribeLocationFsxOpenZfsRequest request, CancellationToken cancellationToken = default(CancellationToken));
#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
DescribeLocationFsxWindowsResponse DescribeLocationFsxWindows(DescribeLocationFsxWindowsRequest request);
///
/// 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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task DescribeLocationFsxWindowsAsync(DescribeLocationFsxWindowsRequest request, CancellationToken cancellationToken = default(CancellationToken));
#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
DescribeLocationHdfsResponse DescribeLocationHdfs(DescribeLocationHdfsRequest request);
///
/// 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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task DescribeLocationHdfsAsync(DescribeLocationHdfsRequest request, CancellationToken cancellationToken = default(CancellationToken));
#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
DescribeLocationNfsResponse DescribeLocationNfs(DescribeLocationNfsRequest request);
///
/// Returns metadata, such as the path information, about an NFS location.
///
/// Container for the necessary parameters to execute the DescribeLocationNfs service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task DescribeLocationNfsAsync(DescribeLocationNfsRequest request, CancellationToken cancellationToken = default(CancellationToken));
#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
DescribeLocationObjectStorageResponse DescribeLocationObjectStorage(DescribeLocationObjectStorageRequest request);
///
/// Returns metadata about your DataSync location for an object storage system.
///
/// Container for the necessary parameters to execute the DescribeLocationObjectStorage service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task DescribeLocationObjectStorageAsync(DescribeLocationObjectStorageRequest request, CancellationToken cancellationToken = default(CancellationToken));
#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
DescribeLocationS3Response DescribeLocationS3(DescribeLocationS3Request request);
///
/// Returns metadata, such as bucket name, about an Amazon S3 bucket location.
///
/// Container for the necessary parameters to execute the DescribeLocationS3 service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task DescribeLocationS3Async(DescribeLocationS3Request request, CancellationToken cancellationToken = default(CancellationToken));
#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
DescribeLocationSmbResponse DescribeLocationSmb(DescribeLocationSmbRequest request);
///
/// Returns metadata, such as the path and user information about an SMB location.
///
/// Container for the necessary parameters to execute the DescribeLocationSmb service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task DescribeLocationSmbAsync(DescribeLocationSmbRequest request, CancellationToken cancellationToken = default(CancellationToken));
#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
DescribeStorageSystemResponse DescribeStorageSystem(DescribeStorageSystemRequest request);
///
/// 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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task DescribeStorageSystemAsync(DescribeStorageSystemRequest request, CancellationToken cancellationToken = default(CancellationToken));
#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
DescribeStorageSystemResourceMetricsResponse DescribeStorageSystemResourceMetrics(DescribeStorageSystemResourceMetricsRequest request);
///
/// 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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task DescribeStorageSystemResourceMetricsAsync(DescribeStorageSystemResourceMetricsRequest request, CancellationToken cancellationToken = default(CancellationToken));
#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
DescribeStorageSystemResourcesResponse DescribeStorageSystemResources(DescribeStorageSystemResourcesRequest request);
///
/// 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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task DescribeStorageSystemResourcesAsync(DescribeStorageSystemResourcesRequest request, CancellationToken cancellationToken = default(CancellationToken));
#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
DescribeTaskResponse DescribeTask(DescribeTaskRequest request);
///
/// Provides information about an DataSync transfer task.
///
/// Container for the necessary parameters to execute the DescribeTask service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task DescribeTaskAsync(DescribeTaskRequest request, CancellationToken cancellationToken = default(CancellationToken));
#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
DescribeTaskExecutionResponse DescribeTaskExecution(DescribeTaskExecutionRequest request);
///
/// Provides information about an DataSync transfer task that's running.
///
/// Container for the necessary parameters to execute the DescribeTaskExecution service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task DescribeTaskExecutionAsync(DescribeTaskExecutionRequest request, CancellationToken cancellationToken = default(CancellationToken));
#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
GenerateRecommendationsResponse GenerateRecommendations(GenerateRecommendationsRequest request);
///
/// 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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task GenerateRecommendationsAsync(GenerateRecommendationsRequest request, CancellationToken cancellationToken = default(CancellationToken));
#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
ListAgentsResponse ListAgents(ListAgentsRequest request);
///
/// 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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task ListAgentsAsync(ListAgentsRequest request, CancellationToken cancellationToken = default(CancellationToken));
#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
ListDiscoveryJobsResponse ListDiscoveryJobs(ListDiscoveryJobsRequest request);
///
/// 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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task ListDiscoveryJobsAsync(ListDiscoveryJobsRequest request, CancellationToken cancellationToken = default(CancellationToken));
#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
ListLocationsResponse ListLocations(ListLocationsRequest request);
///
/// 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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task ListLocationsAsync(ListLocationsRequest request, CancellationToken cancellationToken = default(CancellationToken));
#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
ListStorageSystemsResponse ListStorageSystems(ListStorageSystemsRequest request);
///
/// Lists the on-premises storage systems that you're using with DataSync Discovery.
///
/// Container for the necessary parameters to execute the ListStorageSystems service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task ListStorageSystemsAsync(ListStorageSystemsRequest request, CancellationToken cancellationToken = default(CancellationToken));
#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
ListTagsForResourceResponse ListTagsForResource(ListTagsForResourceRequest request);
///
/// Returns all the tags associated with an Amazon Web Services resource.
///
/// Container for the necessary parameters to execute the ListTagsForResource service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListTagsForResource service method, as returned by 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
Task ListTagsForResourceAsync(ListTagsForResourceRequest request, CancellationToken cancellationToken = default(CancellationToken));
#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
ListTaskExecutionsResponse ListTaskExecutions(ListTaskExecutionsRequest request);
///
/// Returns a list of executed tasks.
///
/// Container for the necessary parameters to execute the ListTaskExecutions service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task ListTaskExecutionsAsync(ListTaskExecutionsRequest request, CancellationToken cancellationToken = default(CancellationToken));
#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
ListTasksResponse ListTasks(ListTasksRequest request);
///
/// Returns a list of the DataSync tasks you created.
///
/// Container for the necessary parameters to execute the ListTasks service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task ListTasksAsync(ListTasksRequest request, CancellationToken cancellationToken = default(CancellationToken));
#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
RemoveStorageSystemResponse RemoveStorageSystem(RemoveStorageSystemRequest request);
///
/// 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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task RemoveStorageSystemAsync(RemoveStorageSystemRequest request, CancellationToken cancellationToken = default(CancellationToken));
#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
StartDiscoveryJobResponse StartDiscoveryJob(StartDiscoveryJobRequest request);
///
/// 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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task StartDiscoveryJobAsync(StartDiscoveryJobRequest request, CancellationToken cancellationToken = default(CancellationToken));
#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
StartTaskExecutionResponse StartTaskExecution(StartTaskExecutionRequest request);
///
/// 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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task StartTaskExecutionAsync(StartTaskExecutionRequest request, CancellationToken cancellationToken = default(CancellationToken));
#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
StopDiscoveryJobResponse StopDiscoveryJob(StopDiscoveryJobRequest request);
///
/// 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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task StopDiscoveryJobAsync(StopDiscoveryJobRequest request, CancellationToken cancellationToken = default(CancellationToken));
#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
TagResourceResponse TagResource(TagResourceRequest request);
///
/// 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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the TagResource service method, as returned by 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
Task TagResourceAsync(TagResourceRequest request, CancellationToken cancellationToken = default(CancellationToken));
#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
UntagResourceResponse UntagResource(UntagResourceRequest request);
///
/// Removes tags from an Amazon Web Services resource.
///
/// Container for the necessary parameters to execute the UntagResource service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the UntagResource service method, as returned by 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
Task UntagResourceAsync(UntagResourceRequest request, CancellationToken cancellationToken = default(CancellationToken));
#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
UpdateAgentResponse UpdateAgent(UpdateAgentRequest request);
///
/// Updates the name of an agent.
///
/// Container for the necessary parameters to execute the UpdateAgent service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task UpdateAgentAsync(UpdateAgentRequest request, CancellationToken cancellationToken = default(CancellationToken));
#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
UpdateDiscoveryJobResponse UpdateDiscoveryJob(UpdateDiscoveryJobRequest request);
///
/// Edits a DataSync discovery job configuration.
///
/// Container for the necessary parameters to execute the UpdateDiscoveryJob service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task UpdateDiscoveryJobAsync(UpdateDiscoveryJobRequest request, CancellationToken cancellationToken = default(CancellationToken));
#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
UpdateLocationAzureBlobResponse UpdateLocationAzureBlob(UpdateLocationAzureBlobRequest request);
///
/// 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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task UpdateLocationAzureBlobAsync(UpdateLocationAzureBlobRequest request, CancellationToken cancellationToken = default(CancellationToken));
#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
UpdateLocationHdfsResponse UpdateLocationHdfs(UpdateLocationHdfsRequest request);
///
/// 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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task UpdateLocationHdfsAsync(UpdateLocationHdfsRequest request, CancellationToken cancellationToken = default(CancellationToken));
#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
UpdateLocationNfsResponse UpdateLocationNfs(UpdateLocationNfsRequest request);
///
/// 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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task UpdateLocationNfsAsync(UpdateLocationNfsRequest request, CancellationToken cancellationToken = default(CancellationToken));
#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
UpdateLocationObjectStorageResponse UpdateLocationObjectStorage(UpdateLocationObjectStorageRequest request);
///
/// 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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task UpdateLocationObjectStorageAsync(UpdateLocationObjectStorageRequest request, CancellationToken cancellationToken = default(CancellationToken));
#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
UpdateLocationSmbResponse UpdateLocationSmb(UpdateLocationSmbRequest request);
///
/// 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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task UpdateLocationSmbAsync(UpdateLocationSmbRequest request, CancellationToken cancellationToken = default(CancellationToken));
#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
UpdateStorageSystemResponse UpdateStorageSystem(UpdateStorageSystemRequest request);
///
/// 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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task UpdateStorageSystemAsync(UpdateStorageSystemRequest request, CancellationToken cancellationToken = default(CancellationToken));
#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
UpdateTaskResponse UpdateTask(UpdateTaskRequest request);
///
/// Updates the metadata associated with a task.
///
/// Container for the necessary parameters to execute the UpdateTask service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task UpdateTaskAsync(UpdateTaskRequest request, CancellationToken cancellationToken = default(CancellationToken));
#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
UpdateTaskExecutionResponse UpdateTaskExecution(UpdateTaskExecutionRequest request);
///
/// 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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task UpdateTaskExecutionAsync(UpdateTaskExecutionRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
}
}