@ThreadSafe @Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AWSDataSyncAsyncClient extends AWSDataSyncClient implements AWSDataSyncAsync
AsyncHandler can be used to receive notification when
an asynchronous operation completes.
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 .
LOGGING_AWS_REQUEST_METRIC ENDPOINT_PREFIX addStorageSystem, builder, cancelTaskExecution, createAgent, createLocationAzureBlob, createLocationEfs, createLocationFsxLustre, createLocationFsxOntap, createLocationFsxOpenZfs, createLocationFsxWindows, createLocationHdfs, createLocationNfs, createLocationObjectStorage, createLocationS3, createLocationSmb, createTask, deleteAgent, deleteLocation, deleteTask, describeAgent, describeDiscoveryJob, describeLocationAzureBlob, describeLocationEfs, describeLocationFsxLustre, describeLocationFsxOntap, describeLocationFsxOpenZfs, describeLocationFsxWindows, describeLocationHdfs, describeLocationNfs, describeLocationObjectStorage, describeLocationS3, describeLocationSmb, describeStorageSystem, describeStorageSystemResourceMetrics, describeStorageSystemResources, describeTask, describeTaskExecution, generateRecommendations, getCachedResponseMetadata, listAgents, listDiscoveryJobs, listLocations, listStorageSystems, listTagsForResource, listTaskExecutions, listTasks, removeStorageSystem, startDiscoveryJob, startTaskExecution, stopDiscoveryJob, tagResource, untagResource, updateAgent, updateDiscoveryJob, updateLocationAzureBlob, updateLocationHdfs, updateLocationNfs, updateLocationObjectStorage, updateLocationSmb, updateStorageSystem, updateTask, updateTaskExecution addRequestHandler, addRequestHandler, configureRegion, getClientConfiguration, getEndpointPrefix, getMonitoringListeners, getRequestMetricsCollector, getServiceName, getSignerByURI, getSignerOverride, getSignerRegionOverride, getTimeOffset, makeImmutable, removeRequestHandler, removeRequestHandler, setEndpoint, setEndpoint, setRegion, setServiceNameIntern, setSignerRegionOverride, setTimeOffset, withEndpoint, withRegion, withRegion, withTimeOffset equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait addStorageSystem, cancelTaskExecution, createAgent, createLocationAzureBlob, createLocationEfs, createLocationFsxLustre, createLocationFsxOntap, createLocationFsxOpenZfs, createLocationFsxWindows, createLocationHdfs, createLocationNfs, createLocationObjectStorage, createLocationS3, createLocationSmb, createTask, deleteAgent, deleteLocation, deleteTask, describeAgent, describeDiscoveryJob, describeLocationAzureBlob, describeLocationEfs, describeLocationFsxLustre, describeLocationFsxOntap, describeLocationFsxOpenZfs, describeLocationFsxWindows, describeLocationHdfs, describeLocationNfs, describeLocationObjectStorage, describeLocationS3, describeLocationSmb, describeStorageSystem, describeStorageSystemResourceMetrics, describeStorageSystemResources, describeTask, describeTaskExecution, generateRecommendations, getCachedResponseMetadata, listAgents, listDiscoveryJobs, listLocations, listStorageSystems, listTagsForResource, listTaskExecutions, listTasks, removeStorageSystem, startDiscoveryJob, startTaskExecution, stopDiscoveryJob, tagResource, untagResource, updateAgent, updateDiscoveryJob, updateLocationAzureBlob, updateLocationHdfs, updateLocationNfs, updateLocationObjectStorage, updateLocationSmb, updateStorageSystem, updateTask, updateTaskExecution public static AWSDataSyncAsyncClientBuilder asyncBuilder()
public ExecutorService getExecutorService()
public Future<AddStorageSystemResult> addStorageSystemAsync(AddStorageSystemRequest request)
AWSDataSyncAsync Creates an Amazon Web Services resource for an on-premises storage system that you want DataSync Discovery to collect information about.
addStorageSystemAsync in interface AWSDataSyncAsync public Future<AddStorageSystemResult> addStorageSystemAsync(AddStorageSystemRequest request, AsyncHandler<AddStorageSystemRequest,AddStorageSystemResult> asyncHandler)
AWSDataSyncAsync Creates an Amazon Web Services resource for an on-premises storage system that you want DataSync Discovery to collect information about.
addStorageSystemAsync in interface AWSDataSyncAsync asyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<CancelTaskExecutionResult> cancelTaskExecutionAsync(CancelTaskExecutionRequest request)
AWSDataSyncAsync 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.
cancelTaskExecutionAsync in interface AWSDataSyncAsync request - CancelTaskExecutionRequestpublic Future<CancelTaskExecutionResult> cancelTaskExecutionAsync(CancelTaskExecutionRequest request, AsyncHandler<CancelTaskExecutionRequest,CancelTaskExecutionResult> asyncHandler)
AWSDataSyncAsync 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.
cancelTaskExecutionAsync in interface AWSDataSyncAsync request - CancelTaskExecutionRequestasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<CreateAgentResult> createAgentAsync(CreateAgentRequest request)
AWSDataSyncAsync 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.
createAgentAsync in interface AWSDataSyncAsync request - CreateAgentRequestpublic Future<CreateAgentResult> createAgentAsync(CreateAgentRequest request, AsyncHandler<CreateAgentRequest,CreateAgentResult> asyncHandler)
AWSDataSyncAsync 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.
createAgentAsync in interface AWSDataSyncAsync request - CreateAgentRequestasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<CreateLocationAzureBlobResult> createLocationAzureBlobAsync(CreateLocationAzureBlobRequest request)
AWSDataSyncAsync Creates a transfer location for a Microsoft Azure Blob Storage container. DataSync can use this location 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.
createLocationAzureBlobAsync in interface AWSDataSyncAsync public Future<CreateLocationAzureBlobResult> createLocationAzureBlobAsync(CreateLocationAzureBlobRequest request, AsyncHandler<CreateLocationAzureBlobRequest,CreateLocationAzureBlobResult> asyncHandler)
AWSDataSyncAsync Creates a transfer location for a Microsoft Azure Blob Storage container. DataSync can use this location 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.
createLocationAzureBlobAsync in interface AWSDataSyncAsync asyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<CreateLocationEfsResult> createLocationEfsAsync(CreateLocationEfsRequest request)
AWSDataSyncAsync Creates a transfer location for an Amazon EFS file system. DataSync can use this location as a source or destination for transferring data.
Before you begin, make sure that you understand how DataSync accesses Amazon EFS file systems.
createLocationEfsAsync in interface AWSDataSyncAsync request - CreateLocationEfsRequestpublic Future<CreateLocationEfsResult> createLocationEfsAsync(CreateLocationEfsRequest request, AsyncHandler<CreateLocationEfsRequest,CreateLocationEfsResult> asyncHandler)
AWSDataSyncAsync Creates a transfer location for an Amazon EFS file system. DataSync can use this location as a source or destination for transferring data.
Before you begin, make sure that you understand how DataSync accesses Amazon EFS file systems.
createLocationEfsAsync in interface AWSDataSyncAsync request - CreateLocationEfsRequestasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<CreateLocationFsxLustreResult> createLocationFsxLustreAsync(CreateLocationFsxLustreRequest request)
AWSDataSyncAsync Creates a transfer location for an Amazon FSx for Lustre file system. DataSync can use this location as a source or destination for transferring data.
Before you begin, make sure that you understand how DataSync accesses FSx for Lustre file systems.
createLocationFsxLustreAsync in interface AWSDataSyncAsync public Future<CreateLocationFsxLustreResult> createLocationFsxLustreAsync(CreateLocationFsxLustreRequest request, AsyncHandler<CreateLocationFsxLustreRequest,CreateLocationFsxLustreResult> asyncHandler)
AWSDataSyncAsync Creates a transfer location for an Amazon FSx for Lustre file system. DataSync can use this location as a source or destination for transferring data.
Before you begin, make sure that you understand how DataSync accesses FSx for Lustre file systems.
createLocationFsxLustreAsync in interface AWSDataSyncAsync asyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<CreateLocationFsxOntapResult> createLocationFsxOntapAsync(CreateLocationFsxOntapRequest request)
AWSDataSyncAsync Creates a transfer location for an Amazon FSx for NetApp ONTAP file system. DataSync can use this location as a source or destination for transferring data.
Before you begin, make sure that you understand how DataSync accesses FSx for ONTAP file systems.
createLocationFsxOntapAsync in interface AWSDataSyncAsync public Future<CreateLocationFsxOntapResult> createLocationFsxOntapAsync(CreateLocationFsxOntapRequest request, AsyncHandler<CreateLocationFsxOntapRequest,CreateLocationFsxOntapResult> asyncHandler)
AWSDataSyncAsync Creates a transfer location for an Amazon FSx for NetApp ONTAP file system. DataSync can use this location as a source or destination for transferring data.
Before you begin, make sure that you understand how DataSync accesses FSx for ONTAP file systems.
createLocationFsxOntapAsync in interface AWSDataSyncAsync asyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<CreateLocationFsxOpenZfsResult> createLocationFsxOpenZfsAsync(CreateLocationFsxOpenZfsRequest request)
AWSDataSyncAsync Creates a transfer location for an Amazon FSx for OpenZFS file system. DataSync can use this location as a source or destination for transferring data.
Before you begin, make sure that you understand how DataSync accesses FSx for OpenZFS file systems.
Request parameters related to SMB aren't supported with the CreateLocationFsxOpenZfs
operation.
createLocationFsxOpenZfsAsync in interface AWSDataSyncAsync public Future<CreateLocationFsxOpenZfsResult> createLocationFsxOpenZfsAsync(CreateLocationFsxOpenZfsRequest request, AsyncHandler<CreateLocationFsxOpenZfsRequest,CreateLocationFsxOpenZfsResult> asyncHandler)
AWSDataSyncAsync Creates a transfer location for an Amazon FSx for OpenZFS file system. DataSync can use this location as a source or destination for transferring data.
Before you begin, make sure that you understand how DataSync accesses FSx for OpenZFS file systems.
Request parameters related to SMB aren't supported with the CreateLocationFsxOpenZfs
operation.
createLocationFsxOpenZfsAsync in interface AWSDataSyncAsync asyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<CreateLocationFsxWindowsResult> createLocationFsxWindowsAsync(CreateLocationFsxWindowsRequest request)
AWSDataSyncAsync Creates a transfer location for an Amazon FSx for Windows File Server file system. DataSync can use this location as a source or destination for transferring data.
Before you begin, make sure that you understand how DataSync accesses FSx for Windows File Server file systems.
createLocationFsxWindowsAsync in interface AWSDataSyncAsync public Future<CreateLocationFsxWindowsResult> createLocationFsxWindowsAsync(CreateLocationFsxWindowsRequest request, AsyncHandler<CreateLocationFsxWindowsRequest,CreateLocationFsxWindowsResult> asyncHandler)
AWSDataSyncAsync Creates a transfer location for an Amazon FSx for Windows File Server file system. DataSync can use this location as a source or destination for transferring data.
Before you begin, make sure that you understand how DataSync accesses FSx for Windows File Server file systems.
createLocationFsxWindowsAsync in interface AWSDataSyncAsync asyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<CreateLocationHdfsResult> createLocationHdfsAsync(CreateLocationHdfsRequest request)
AWSDataSyncAsync Creates a transfer location for a Hadoop Distributed File System (HDFS). DataSync can use this location as a source or destination for transferring data.
Before you begin, make sure that you understand how DataSync accesses HDFS clusters.
createLocationHdfsAsync in interface AWSDataSyncAsync public Future<CreateLocationHdfsResult> createLocationHdfsAsync(CreateLocationHdfsRequest request, AsyncHandler<CreateLocationHdfsRequest,CreateLocationHdfsResult> asyncHandler)
AWSDataSyncAsync Creates a transfer location for a Hadoop Distributed File System (HDFS). DataSync can use this location as a source or destination for transferring data.
Before you begin, make sure that you understand how DataSync accesses HDFS clusters.
createLocationHdfsAsync in interface AWSDataSyncAsync asyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<CreateLocationNfsResult> createLocationNfsAsync(CreateLocationNfsRequest request)
AWSDataSyncAsync Creates a transfer location for a Network File System (NFS) file server. DataSync can use this location as a source or destination for transferring data.
Before you begin, make sure that you understand how DataSync accesses NFS file servers.
If you're copying data to or from an Snowcone device, you can also use CreateLocationNfs to create
your transfer location. For more information, see Configuring transfers with
Snowcone.
createLocationNfsAsync in interface AWSDataSyncAsync request - CreateLocationNfsRequestpublic Future<CreateLocationNfsResult> createLocationNfsAsync(CreateLocationNfsRequest request, AsyncHandler<CreateLocationNfsRequest,CreateLocationNfsResult> asyncHandler)
AWSDataSyncAsync Creates a transfer location for a Network File System (NFS) file server. DataSync can use this location as a source or destination for transferring data.
Before you begin, make sure that you understand how DataSync accesses NFS file servers.
If you're copying data to or from an Snowcone device, you can also use CreateLocationNfs to create
your transfer location. For more information, see Configuring transfers with
Snowcone.
createLocationNfsAsync in interface AWSDataSyncAsync request - CreateLocationNfsRequestasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<CreateLocationObjectStorageResult> createLocationObjectStorageAsync(CreateLocationObjectStorageRequest request)
AWSDataSyncAsync Creates a transfer location for an object storage system. DataSync can use this location as a source or destination for transferring data.
Before you begin, make sure that you understand the prerequisites for DataSync to work with object storage systems.
createLocationObjectStorageAsync in interface AWSDataSyncAsync request - CreateLocationObjectStorageRequestpublic Future<CreateLocationObjectStorageResult> createLocationObjectStorageAsync(CreateLocationObjectStorageRequest request, AsyncHandler<CreateLocationObjectStorageRequest,CreateLocationObjectStorageResult> asyncHandler)
AWSDataSyncAsync Creates a transfer location for an object storage system. DataSync can use this location as a source or destination for transferring data.
Before you begin, make sure that you understand the prerequisites for DataSync to work with object storage systems.
createLocationObjectStorageAsync in interface AWSDataSyncAsync request - CreateLocationObjectStorageRequestasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<CreateLocationS3Result> createLocationS3Async(CreateLocationS3Request request)
AWSDataSyncAsync Creates a transfer location for an Amazon S3 bucket. DataSync can use this location as a source or destination for transferring data.
Before you begin, make sure that you read the following topics:
For more information, see Configuring transfers with Amazon S3.
createLocationS3Async in interface AWSDataSyncAsync request - CreateLocationS3Requestpublic Future<CreateLocationS3Result> createLocationS3Async(CreateLocationS3Request request, AsyncHandler<CreateLocationS3Request,CreateLocationS3Result> asyncHandler)
AWSDataSyncAsync Creates a transfer location for an Amazon S3 bucket. DataSync can use this location as a source or destination for transferring data.
Before you begin, make sure that you read the following topics:
For more information, see Configuring transfers with Amazon S3.
createLocationS3Async in interface AWSDataSyncAsync request - CreateLocationS3RequestasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<CreateLocationSmbResult> createLocationSmbAsync(CreateLocationSmbRequest request)
AWSDataSyncAsync Creates a transfer location for a Server Message Block (SMB) file server. DataSync can use this location as a source or destination for transferring data.
Before you begin, make sure that you understand how DataSync accesses SMB file servers.
createLocationSmbAsync in interface AWSDataSyncAsync request - CreateLocationSmbRequestpublic Future<CreateLocationSmbResult> createLocationSmbAsync(CreateLocationSmbRequest request, AsyncHandler<CreateLocationSmbRequest,CreateLocationSmbResult> asyncHandler)
AWSDataSyncAsync Creates a transfer location for a Server Message Block (SMB) file server. DataSync can use this location as a source or destination for transferring data.
Before you begin, make sure that you understand how DataSync accesses SMB file servers.
createLocationSmbAsync in interface AWSDataSyncAsync request - CreateLocationSmbRequestasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<CreateTaskResult> createTaskAsync(CreateTaskRequest request)
AWSDataSyncAsync Configures a task, which defines where and how DataSync transfers your data.
A task includes a source location, destination location, and transfer options (such as bandwidth limits, scheduling, and more).
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.
createTaskAsync in interface AWSDataSyncAsync request - CreateTaskRequestpublic Future<CreateTaskResult> createTaskAsync(CreateTaskRequest request, AsyncHandler<CreateTaskRequest,CreateTaskResult> asyncHandler)
AWSDataSyncAsync Configures a task, which defines where and how DataSync transfers your data.
A task includes a source location, destination location, and transfer options (such as bandwidth limits, scheduling, and more).
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.
createTaskAsync in interface AWSDataSyncAsync request - CreateTaskRequestasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DeleteAgentResult> deleteAgentAsync(DeleteAgentRequest request)
AWSDataSyncAsync Removes an DataSync agent resource from your Amazon Web Services account.
Keep in mind that this operation (which can't be undone) doesn't remove the agent's virtual machine (VM) or Amazon EC2 instance from your storage environment. For next steps, you can delete the VM or instance from your storage environment or reuse it to activate a new agent.
deleteAgentAsync in interface AWSDataSyncAsync request - DeleteAgentRequestpublic Future<DeleteAgentResult> deleteAgentAsync(DeleteAgentRequest request, AsyncHandler<DeleteAgentRequest,DeleteAgentResult> asyncHandler)
AWSDataSyncAsync Removes an DataSync agent resource from your Amazon Web Services account.
Keep in mind that this operation (which can't be undone) doesn't remove the agent's virtual machine (VM) or Amazon EC2 instance from your storage environment. For next steps, you can delete the VM or instance from your storage environment or reuse it to activate a new agent.
deleteAgentAsync in interface AWSDataSyncAsync request - DeleteAgentRequestasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DeleteLocationResult> deleteLocationAsync(DeleteLocationRequest request)
AWSDataSyncAsync Deletes a transfer location resource from DataSync.
deleteLocationAsync in interface AWSDataSyncAsync request - DeleteLocationpublic Future<DeleteLocationResult> deleteLocationAsync(DeleteLocationRequest request, AsyncHandler<DeleteLocationRequest,DeleteLocationResult> asyncHandler)
AWSDataSyncAsync Deletes a transfer location resource from DataSync.
deleteLocationAsync in interface AWSDataSyncAsync request - DeleteLocationasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DeleteTaskResult> deleteTaskAsync(DeleteTaskRequest request)
AWSDataSyncAsync Deletes a transfer task resource from DataSync.
deleteTaskAsync in interface AWSDataSyncAsync request - DeleteTaskpublic Future<DeleteTaskResult> deleteTaskAsync(DeleteTaskRequest request, AsyncHandler<DeleteTaskRequest,DeleteTaskResult> asyncHandler)
AWSDataSyncAsync Deletes a transfer task resource from DataSync.
deleteTaskAsync in interface AWSDataSyncAsync request - DeleteTaskasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DescribeAgentResult> describeAgentAsync(DescribeAgentRequest request)
AWSDataSyncAsync Returns information about an DataSync agent, such as its name, service endpoint type, and status.
describeAgentAsync in interface AWSDataSyncAsync request - DescribeAgentpublic Future<DescribeAgentResult> describeAgentAsync(DescribeAgentRequest request, AsyncHandler<DescribeAgentRequest,DescribeAgentResult> asyncHandler)
AWSDataSyncAsync Returns information about an DataSync agent, such as its name, service endpoint type, and status.
describeAgentAsync in interface AWSDataSyncAsync request - DescribeAgentasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DescribeDiscoveryJobResult> describeDiscoveryJobAsync(DescribeDiscoveryJobRequest request)
AWSDataSyncAsync Returns information about a DataSync discovery job.
describeDiscoveryJobAsync in interface AWSDataSyncAsync public Future<DescribeDiscoveryJobResult> describeDiscoveryJobAsync(DescribeDiscoveryJobRequest request, AsyncHandler<DescribeDiscoveryJobRequest,DescribeDiscoveryJobResult> asyncHandler)
AWSDataSyncAsync Returns information about a DataSync discovery job.
describeDiscoveryJobAsync in interface AWSDataSyncAsync asyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DescribeLocationAzureBlobResult> describeLocationAzureBlobAsync(DescribeLocationAzureBlobRequest request)
AWSDataSyncAsync Provides details about how an DataSync transfer location for Microsoft Azure Blob Storage is configured.
describeLocationAzureBlobAsync in interface AWSDataSyncAsync public Future<DescribeLocationAzureBlobResult> describeLocationAzureBlobAsync(DescribeLocationAzureBlobRequest request, AsyncHandler<DescribeLocationAzureBlobRequest,DescribeLocationAzureBlobResult> asyncHandler)
AWSDataSyncAsync Provides details about how an DataSync transfer location for Microsoft Azure Blob Storage is configured.
describeLocationAzureBlobAsync in interface AWSDataSyncAsync asyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DescribeLocationEfsResult> describeLocationEfsAsync(DescribeLocationEfsRequest request)
AWSDataSyncAsync Provides details about how an DataSync transfer location for an Amazon EFS file system is configured.
describeLocationEfsAsync in interface AWSDataSyncAsync request - DescribeLocationEfsRequestpublic Future<DescribeLocationEfsResult> describeLocationEfsAsync(DescribeLocationEfsRequest request, AsyncHandler<DescribeLocationEfsRequest,DescribeLocationEfsResult> asyncHandler)
AWSDataSyncAsync Provides details about how an DataSync transfer location for an Amazon EFS file system is configured.
describeLocationEfsAsync in interface AWSDataSyncAsync request - DescribeLocationEfsRequestasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DescribeLocationFsxLustreResult> describeLocationFsxLustreAsync(DescribeLocationFsxLustreRequest request)
AWSDataSyncAsync Provides details about how an DataSync transfer location for an Amazon FSx for Lustre file system is configured.
describeLocationFsxLustreAsync in interface AWSDataSyncAsync public Future<DescribeLocationFsxLustreResult> describeLocationFsxLustreAsync(DescribeLocationFsxLustreRequest request, AsyncHandler<DescribeLocationFsxLustreRequest,DescribeLocationFsxLustreResult> asyncHandler)
AWSDataSyncAsync Provides details about how an DataSync transfer location for an Amazon FSx for Lustre file system is configured.
describeLocationFsxLustreAsync in interface AWSDataSyncAsync asyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DescribeLocationFsxOntapResult> describeLocationFsxOntapAsync(DescribeLocationFsxOntapRequest request)
AWSDataSyncAsync Provides details about how an DataSync transfer 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.
describeLocationFsxOntapAsync in interface AWSDataSyncAsync public Future<DescribeLocationFsxOntapResult> describeLocationFsxOntapAsync(DescribeLocationFsxOntapRequest request, AsyncHandler<DescribeLocationFsxOntapRequest,DescribeLocationFsxOntapResult> asyncHandler)
AWSDataSyncAsync Provides details about how an DataSync transfer 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.
describeLocationFsxOntapAsync in interface AWSDataSyncAsync asyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DescribeLocationFsxOpenZfsResult> describeLocationFsxOpenZfsAsync(DescribeLocationFsxOpenZfsRequest request)
AWSDataSyncAsync Provides details about how an DataSync transfer location for an Amazon FSx for OpenZFS file system is configured.
Response elements related to SMB aren't supported with the DescribeLocationFsxOpenZfs
operation.
describeLocationFsxOpenZfsAsync in interface AWSDataSyncAsync public Future<DescribeLocationFsxOpenZfsResult> describeLocationFsxOpenZfsAsync(DescribeLocationFsxOpenZfsRequest request, AsyncHandler<DescribeLocationFsxOpenZfsRequest,DescribeLocationFsxOpenZfsResult> asyncHandler)
AWSDataSyncAsync Provides details about how an DataSync transfer location for an Amazon FSx for OpenZFS file system is configured.
Response elements related to SMB aren't supported with the DescribeLocationFsxOpenZfs
operation.
describeLocationFsxOpenZfsAsync in interface AWSDataSyncAsync asyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DescribeLocationFsxWindowsResult> describeLocationFsxWindowsAsync(DescribeLocationFsxWindowsRequest request)
AWSDataSyncAsync Provides details about how an DataSync transfer location for an Amazon FSx for Windows File Server file system is configured.
describeLocationFsxWindowsAsync in interface AWSDataSyncAsync public Future<DescribeLocationFsxWindowsResult> describeLocationFsxWindowsAsync(DescribeLocationFsxWindowsRequest request, AsyncHandler<DescribeLocationFsxWindowsRequest,DescribeLocationFsxWindowsResult> asyncHandler)
AWSDataSyncAsync Provides details about how an DataSync transfer location for an Amazon FSx for Windows File Server file system is configured.
describeLocationFsxWindowsAsync in interface AWSDataSyncAsync asyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DescribeLocationHdfsResult> describeLocationHdfsAsync(DescribeLocationHdfsRequest request)
AWSDataSyncAsync Provides details about how an DataSync transfer location for a Hadoop Distributed File System (HDFS) is configured.
describeLocationHdfsAsync in interface AWSDataSyncAsync public Future<DescribeLocationHdfsResult> describeLocationHdfsAsync(DescribeLocationHdfsRequest request, AsyncHandler<DescribeLocationHdfsRequest,DescribeLocationHdfsResult> asyncHandler)
AWSDataSyncAsync Provides details about how an DataSync transfer location for a Hadoop Distributed File System (HDFS) is configured.
describeLocationHdfsAsync in interface AWSDataSyncAsync asyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DescribeLocationNfsResult> describeLocationNfsAsync(DescribeLocationNfsRequest request)
AWSDataSyncAsync Provides details about how an DataSync transfer location for a Network File System (NFS) file server is configured.
describeLocationNfsAsync in interface AWSDataSyncAsync request - DescribeLocationNfsRequestpublic Future<DescribeLocationNfsResult> describeLocationNfsAsync(DescribeLocationNfsRequest request, AsyncHandler<DescribeLocationNfsRequest,DescribeLocationNfsResult> asyncHandler)
AWSDataSyncAsync Provides details about how an DataSync transfer location for a Network File System (NFS) file server is configured.
describeLocationNfsAsync in interface AWSDataSyncAsync request - DescribeLocationNfsRequestasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DescribeLocationObjectStorageResult> describeLocationObjectStorageAsync(DescribeLocationObjectStorageRequest request)
AWSDataSyncAsync Provides details about how an DataSync transfer location for an object storage system is configured.
describeLocationObjectStorageAsync in interface AWSDataSyncAsync request - DescribeLocationObjectStorageRequestpublic Future<DescribeLocationObjectStorageResult> describeLocationObjectStorageAsync(DescribeLocationObjectStorageRequest request, AsyncHandler<DescribeLocationObjectStorageRequest,DescribeLocationObjectStorageResult> asyncHandler)
AWSDataSyncAsync Provides details about how an DataSync transfer location for an object storage system is configured.
describeLocationObjectStorageAsync in interface AWSDataSyncAsync request - DescribeLocationObjectStorageRequestasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DescribeLocationS3Result> describeLocationS3Async(DescribeLocationS3Request request)
AWSDataSyncAsync Provides details about how an DataSync transfer location for an S3 bucket is configured.
describeLocationS3Async in interface AWSDataSyncAsync request - DescribeLocationS3Requestpublic Future<DescribeLocationS3Result> describeLocationS3Async(DescribeLocationS3Request request, AsyncHandler<DescribeLocationS3Request,DescribeLocationS3Result> asyncHandler)
AWSDataSyncAsync Provides details about how an DataSync transfer location for an S3 bucket is configured.
describeLocationS3Async in interface AWSDataSyncAsync request - DescribeLocationS3RequestasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DescribeLocationSmbResult> describeLocationSmbAsync(DescribeLocationSmbRequest request)
AWSDataSyncAsync Provides details about how an DataSync transfer location for a Server Message Block (SMB) file server is configured.
describeLocationSmbAsync in interface AWSDataSyncAsync request - DescribeLocationSmbRequestpublic Future<DescribeLocationSmbResult> describeLocationSmbAsync(DescribeLocationSmbRequest request, AsyncHandler<DescribeLocationSmbRequest,DescribeLocationSmbResult> asyncHandler)
AWSDataSyncAsync Provides details about how an DataSync transfer location for a Server Message Block (SMB) file server is configured.
describeLocationSmbAsync in interface AWSDataSyncAsync request - DescribeLocationSmbRequestasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DescribeStorageSystemResult> describeStorageSystemAsync(DescribeStorageSystemRequest request)
AWSDataSyncAsync Returns information about an on-premises storage system that you're using with DataSync Discovery.
describeStorageSystemAsync in interface AWSDataSyncAsync public Future<DescribeStorageSystemResult> describeStorageSystemAsync(DescribeStorageSystemRequest request, AsyncHandler<DescribeStorageSystemRequest,DescribeStorageSystemResult> asyncHandler)
AWSDataSyncAsync Returns information about an on-premises storage system that you're using with DataSync Discovery.
describeStorageSystemAsync in interface AWSDataSyncAsync asyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DescribeStorageSystemResourceMetricsResult> describeStorageSystemResourceMetricsAsync(DescribeStorageSystemResourceMetricsRequest request)
AWSDataSyncAsync Returns information, including performance data and capacity usage, which DataSync Discovery collects about a specific resource in your-premises storage system.
describeStorageSystemResourceMetricsAsync in interface AWSDataSyncAsync public Future<DescribeStorageSystemResourceMetricsResult> describeStorageSystemResourceMetricsAsync(DescribeStorageSystemResourceMetricsRequest request, AsyncHandler<DescribeStorageSystemResourceMetricsRequest,DescribeStorageSystemResourceMetricsResult> asyncHandler)
AWSDataSyncAsync Returns information, including performance data and capacity usage, which DataSync Discovery collects about a specific resource in your-premises storage system.
describeStorageSystemResourceMetricsAsync in interface AWSDataSyncAsync asyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DescribeStorageSystemResourcesResult> describeStorageSystemResourcesAsync(DescribeStorageSystemResourcesRequest request)
AWSDataSyncAsync Returns information that DataSync Discovery collects about resources in your on-premises storage system.
describeStorageSystemResourcesAsync in interface AWSDataSyncAsync public Future<DescribeStorageSystemResourcesResult> describeStorageSystemResourcesAsync(DescribeStorageSystemResourcesRequest request, AsyncHandler<DescribeStorageSystemResourcesRequest,DescribeStorageSystemResourcesResult> asyncHandler)
AWSDataSyncAsync Returns information that DataSync Discovery collects about resources in your on-premises storage system.
describeStorageSystemResourcesAsync in interface AWSDataSyncAsync asyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DescribeTaskResult> describeTaskAsync(DescribeTaskRequest request)
AWSDataSyncAsync Provides information about a task, which defines where and how DataSync transfers your data.
describeTaskAsync in interface AWSDataSyncAsync request - DescribeTaskRequestpublic Future<DescribeTaskResult> describeTaskAsync(DescribeTaskRequest request, AsyncHandler<DescribeTaskRequest,DescribeTaskResult> asyncHandler)
AWSDataSyncAsync Provides information about a task, which defines where and how DataSync transfers your data.
describeTaskAsync in interface AWSDataSyncAsync request - DescribeTaskRequestasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DescribeTaskExecutionResult> describeTaskExecutionAsync(DescribeTaskExecutionRequest request)
AWSDataSyncAsync Provides information about an execution of your DataSync task. You can use this operation to help monitor the progress of an ongoing transfer or check the results of the transfer.
describeTaskExecutionAsync in interface AWSDataSyncAsync request - DescribeTaskExecutionRequestpublic Future<DescribeTaskExecutionResult> describeTaskExecutionAsync(DescribeTaskExecutionRequest request, AsyncHandler<DescribeTaskExecutionRequest,DescribeTaskExecutionResult> asyncHandler)
AWSDataSyncAsync Provides information about an execution of your DataSync task. You can use this operation to help monitor the progress of an ongoing transfer or check the results of the transfer.
describeTaskExecutionAsync in interface AWSDataSyncAsync request - DescribeTaskExecutionRequestasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<GenerateRecommendationsResult> generateRecommendationsAsync(GenerateRecommendationsRequest request)
AWSDataSyncAsync 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.
generateRecommendationsAsync in interface AWSDataSyncAsync public Future<GenerateRecommendationsResult> generateRecommendationsAsync(GenerateRecommendationsRequest request, AsyncHandler<GenerateRecommendationsRequest,GenerateRecommendationsResult> asyncHandler)
AWSDataSyncAsync 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.
generateRecommendationsAsync in interface AWSDataSyncAsync asyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListAgentsResult> listAgentsAsync(ListAgentsRequest request)
AWSDataSyncAsync 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.
listAgentsAsync in interface AWSDataSyncAsync request - ListAgentsRequestpublic Future<ListAgentsResult> listAgentsAsync(ListAgentsRequest request, AsyncHandler<ListAgentsRequest,ListAgentsResult> asyncHandler)
AWSDataSyncAsync 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.
listAgentsAsync in interface AWSDataSyncAsync request - ListAgentsRequestasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListDiscoveryJobsResult> listDiscoveryJobsAsync(ListDiscoveryJobsRequest request)
AWSDataSyncAsync 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.
listDiscoveryJobsAsync in interface AWSDataSyncAsync public Future<ListDiscoveryJobsResult> listDiscoveryJobsAsync(ListDiscoveryJobsRequest request, AsyncHandler<ListDiscoveryJobsRequest,ListDiscoveryJobsResult> asyncHandler)
AWSDataSyncAsync 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.
listDiscoveryJobsAsync in interface AWSDataSyncAsync asyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListLocationsResult> listLocationsAsync(ListLocationsRequest request)
AWSDataSyncAsync 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.
listLocationsAsync in interface AWSDataSyncAsync request - ListLocationsRequestpublic Future<ListLocationsResult> listLocationsAsync(ListLocationsRequest request, AsyncHandler<ListLocationsRequest,ListLocationsResult> asyncHandler)
AWSDataSyncAsync 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.
listLocationsAsync in interface AWSDataSyncAsync request - ListLocationsRequestasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListStorageSystemsResult> listStorageSystemsAsync(ListStorageSystemsRequest request)
AWSDataSyncAsync Lists the on-premises storage systems that you're using with DataSync Discovery.
listStorageSystemsAsync in interface AWSDataSyncAsync public Future<ListStorageSystemsResult> listStorageSystemsAsync(ListStorageSystemsRequest request, AsyncHandler<ListStorageSystemsRequest,ListStorageSystemsResult> asyncHandler)
AWSDataSyncAsync Lists the on-premises storage systems that you're using with DataSync Discovery.
listStorageSystemsAsync in interface AWSDataSyncAsync asyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListTagsForResourceResult> listTagsForResourceAsync(ListTagsForResourceRequest request)
AWSDataSyncAsync Returns all the tags associated with an Amazon Web Services resource.
listTagsForResourceAsync in interface AWSDataSyncAsync request - ListTagsForResourceRequestpublic Future<ListTagsForResourceResult> listTagsForResourceAsync(ListTagsForResourceRequest request, AsyncHandler<ListTagsForResourceRequest,ListTagsForResourceResult> asyncHandler)
AWSDataSyncAsync Returns all the tags associated with an Amazon Web Services resource.
listTagsForResourceAsync in interface AWSDataSyncAsync request - ListTagsForResourceRequestasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListTaskExecutionsResult> listTaskExecutionsAsync(ListTaskExecutionsRequest request)
AWSDataSyncAsync Returns a list of executions for an DataSync transfer task.
listTaskExecutionsAsync in interface AWSDataSyncAsync request - ListTaskExecutionspublic Future<ListTaskExecutionsResult> listTaskExecutionsAsync(ListTaskExecutionsRequest request, AsyncHandler<ListTaskExecutionsRequest,ListTaskExecutionsResult> asyncHandler)
AWSDataSyncAsync Returns a list of executions for an DataSync transfer task.
listTaskExecutionsAsync in interface AWSDataSyncAsync request - ListTaskExecutionsasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListTasksResult> listTasksAsync(ListTasksRequest request)
AWSDataSyncAsync Returns a list of the DataSync tasks you created.
listTasksAsync in interface AWSDataSyncAsync request - ListTasksRequestpublic Future<ListTasksResult> listTasksAsync(ListTasksRequest request, AsyncHandler<ListTasksRequest,ListTasksResult> asyncHandler)
AWSDataSyncAsync Returns a list of the DataSync tasks you created.
listTasksAsync in interface AWSDataSyncAsync request - ListTasksRequestasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<RemoveStorageSystemResult> removeStorageSystemAsync(RemoveStorageSystemRequest request)
AWSDataSyncAsync Permanently removes a storage system resource from DataSync Discovery, including the associated discovery jobs, collected data, and recommendations.
removeStorageSystemAsync in interface AWSDataSyncAsync public Future<RemoveStorageSystemResult> removeStorageSystemAsync(RemoveStorageSystemRequest request, AsyncHandler<RemoveStorageSystemRequest,RemoveStorageSystemResult> asyncHandler)
AWSDataSyncAsync Permanently removes a storage system resource from DataSync Discovery, including the associated discovery jobs, collected data, and recommendations.
removeStorageSystemAsync in interface AWSDataSyncAsync asyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<StartDiscoveryJobResult> startDiscoveryJobAsync(StartDiscoveryJobRequest request)
AWSDataSyncAsync 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.
startDiscoveryJobAsync in interface AWSDataSyncAsync public Future<StartDiscoveryJobResult> startDiscoveryJobAsync(StartDiscoveryJobRequest request, AsyncHandler<StartDiscoveryJobRequest,StartDiscoveryJobResult> asyncHandler)
AWSDataSyncAsync 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.
startDiscoveryJobAsync in interface AWSDataSyncAsync asyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<StartTaskExecutionResult> startTaskExecutionAsync(StartTaskExecutionRequest request)
AWSDataSyncAsync Starts an DataSync transfer 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.
startTaskExecutionAsync in interface AWSDataSyncAsync request - StartTaskExecutionRequestpublic Future<StartTaskExecutionResult> startTaskExecutionAsync(StartTaskExecutionRequest request, AsyncHandler<StartTaskExecutionRequest,StartTaskExecutionResult> asyncHandler)
AWSDataSyncAsync Starts an DataSync transfer 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.
startTaskExecutionAsync in interface AWSDataSyncAsync request - StartTaskExecutionRequestasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<StopDiscoveryJobResult> stopDiscoveryJobAsync(StopDiscoveryJobRequest request)
AWSDataSyncAsync 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.
stopDiscoveryJobAsync in interface AWSDataSyncAsync public Future<StopDiscoveryJobResult> stopDiscoveryJobAsync(StopDiscoveryJobRequest request, AsyncHandler<StopDiscoveryJobRequest,StopDiscoveryJobResult> asyncHandler)
AWSDataSyncAsync 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.
stopDiscoveryJobAsync in interface AWSDataSyncAsync asyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<TagResourceResult> tagResourceAsync(TagResourceRequest request)
AWSDataSyncAsync 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.
tagResourceAsync in interface AWSDataSyncAsync request - TagResourceRequestpublic Future<TagResourceResult> tagResourceAsync(TagResourceRequest request, AsyncHandler<TagResourceRequest,TagResourceResult> asyncHandler)
AWSDataSyncAsync 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.
tagResourceAsync in interface AWSDataSyncAsync request - TagResourceRequestasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<UntagResourceResult> untagResourceAsync(UntagResourceRequest request)
AWSDataSyncAsync Removes tags from an Amazon Web Services resource.
untagResourceAsync in interface AWSDataSyncAsync request - UntagResourceRequestpublic Future<UntagResourceResult> untagResourceAsync(UntagResourceRequest request, AsyncHandler<UntagResourceRequest,UntagResourceResult> asyncHandler)
AWSDataSyncAsync Removes tags from an Amazon Web Services resource.
untagResourceAsync in interface AWSDataSyncAsync request - UntagResourceRequestasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<UpdateAgentResult> updateAgentAsync(UpdateAgentRequest request)
AWSDataSyncAsync Updates the name of an DataSync agent.
updateAgentAsync in interface AWSDataSyncAsync request - UpdateAgentRequestpublic Future<UpdateAgentResult> updateAgentAsync(UpdateAgentRequest request, AsyncHandler<UpdateAgentRequest,UpdateAgentResult> asyncHandler)
AWSDataSyncAsync Updates the name of an DataSync agent.
updateAgentAsync in interface AWSDataSyncAsync request - UpdateAgentRequestasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<UpdateDiscoveryJobResult> updateDiscoveryJobAsync(UpdateDiscoveryJobRequest request)
AWSDataSyncAsync Edits a DataSync discovery job configuration.
updateDiscoveryJobAsync in interface AWSDataSyncAsync public Future<UpdateDiscoveryJobResult> updateDiscoveryJobAsync(UpdateDiscoveryJobRequest request, AsyncHandler<UpdateDiscoveryJobRequest,UpdateDiscoveryJobResult> asyncHandler)
AWSDataSyncAsync Edits a DataSync discovery job configuration.
updateDiscoveryJobAsync in interface AWSDataSyncAsync asyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<UpdateLocationAzureBlobResult> updateLocationAzureBlobAsync(UpdateLocationAzureBlobRequest request)
AWSDataSyncAsync Modifies some configurations of the Microsoft Azure Blob Storage transfer location that you're using with DataSync.
updateLocationAzureBlobAsync in interface AWSDataSyncAsync public Future<UpdateLocationAzureBlobResult> updateLocationAzureBlobAsync(UpdateLocationAzureBlobRequest request, AsyncHandler<UpdateLocationAzureBlobRequest,UpdateLocationAzureBlobResult> asyncHandler)
AWSDataSyncAsync Modifies some configurations of the Microsoft Azure Blob Storage transfer location that you're using with DataSync.
updateLocationAzureBlobAsync in interface AWSDataSyncAsync asyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<UpdateLocationHdfsResult> updateLocationHdfsAsync(UpdateLocationHdfsRequest request)
AWSDataSyncAsync Updates some parameters of a previously created location for a Hadoop Distributed File System cluster.
updateLocationHdfsAsync in interface AWSDataSyncAsync public Future<UpdateLocationHdfsResult> updateLocationHdfsAsync(UpdateLocationHdfsRequest request, AsyncHandler<UpdateLocationHdfsRequest,UpdateLocationHdfsResult> asyncHandler)
AWSDataSyncAsync Updates some parameters of a previously created location for a Hadoop Distributed File System cluster.
updateLocationHdfsAsync in interface AWSDataSyncAsync asyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<UpdateLocationNfsResult> updateLocationNfsAsync(UpdateLocationNfsRequest request)
AWSDataSyncAsync Modifies some configurations of the Network File System (NFS) transfer location that you're using with DataSync.
For more information, see Configuring transfers to or from an NFS file server.
updateLocationNfsAsync in interface AWSDataSyncAsync public Future<UpdateLocationNfsResult> updateLocationNfsAsync(UpdateLocationNfsRequest request, AsyncHandler<UpdateLocationNfsRequest,UpdateLocationNfsResult> asyncHandler)
AWSDataSyncAsync Modifies some configurations of the Network File System (NFS) transfer location that you're using with DataSync.
For more information, see Configuring transfers to or from an NFS file server.
updateLocationNfsAsync in interface AWSDataSyncAsync asyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<UpdateLocationObjectStorageResult> updateLocationObjectStorageAsync(UpdateLocationObjectStorageRequest request)
AWSDataSyncAsync Updates some parameters of an existing DataSync location for an object storage system.
updateLocationObjectStorageAsync in interface AWSDataSyncAsync public Future<UpdateLocationObjectStorageResult> updateLocationObjectStorageAsync(UpdateLocationObjectStorageRequest request, AsyncHandler<UpdateLocationObjectStorageRequest,UpdateLocationObjectStorageResult> asyncHandler)
AWSDataSyncAsync Updates some parameters of an existing DataSync location for an object storage system.
updateLocationObjectStorageAsync in interface AWSDataSyncAsync asyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<UpdateLocationSmbResult> updateLocationSmbAsync(UpdateLocationSmbRequest request)
AWSDataSyncAsync Updates some of the parameters of a Server Message Block (SMB) file server location that you can use for DataSync transfers.
updateLocationSmbAsync in interface AWSDataSyncAsync public Future<UpdateLocationSmbResult> updateLocationSmbAsync(UpdateLocationSmbRequest request, AsyncHandler<UpdateLocationSmbRequest,UpdateLocationSmbResult> asyncHandler)
AWSDataSyncAsync Updates some of the parameters of a Server Message Block (SMB) file server location that you can use for DataSync transfers.
updateLocationSmbAsync in interface AWSDataSyncAsync asyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<UpdateStorageSystemResult> updateStorageSystemAsync(UpdateStorageSystemRequest request)
AWSDataSyncAsync Modifies some configurations of an on-premises storage system resource that you're using with DataSync Discovery.
updateStorageSystemAsync in interface AWSDataSyncAsync public Future<UpdateStorageSystemResult> updateStorageSystemAsync(UpdateStorageSystemRequest request, AsyncHandler<UpdateStorageSystemRequest,UpdateStorageSystemResult> asyncHandler)
AWSDataSyncAsync Modifies some configurations of an on-premises storage system resource that you're using with DataSync Discovery.
updateStorageSystemAsync in interface AWSDataSyncAsync asyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<UpdateTaskResult> updateTaskAsync(UpdateTaskRequest request)
AWSDataSyncAsync Updates the configuration of a task, which defines where and how DataSync transfers your data.
updateTaskAsync in interface AWSDataSyncAsync request - UpdateTaskResponsepublic Future<UpdateTaskResult> updateTaskAsync(UpdateTaskRequest request, AsyncHandler<UpdateTaskRequest,UpdateTaskResult> asyncHandler)
AWSDataSyncAsync Updates the configuration of a task, which defines where and how DataSync transfers your data.
updateTaskAsync in interface AWSDataSyncAsync request - UpdateTaskResponseasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<UpdateTaskExecutionResult> updateTaskExecutionAsync(UpdateTaskExecutionRequest request)
AWSDataSyncAsync Updates the configuration of a running DataSync task execution.
Currently, the only Option that you can modify with UpdateTaskExecution is
BytesPerSecond
, which throttles bandwidth for a running or queued task execution.
updateTaskExecutionAsync in interface AWSDataSyncAsync public Future<UpdateTaskExecutionResult> updateTaskExecutionAsync(UpdateTaskExecutionRequest request, AsyncHandler<UpdateTaskExecutionRequest,UpdateTaskExecutionResult> asyncHandler)
AWSDataSyncAsync Updates the configuration of a running DataSync task execution.
Currently, the only Option that you can modify with UpdateTaskExecution is
BytesPerSecond
, which throttles bandwidth for a running or queued task execution.
updateTaskExecutionAsync in interface AWSDataSyncAsync asyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public void shutdown()
getExecutorService().shutdown() followed by getExecutorService().awaitTermination() prior to
calling this method.shutdown in interface AWSDataSync shutdown in class AWSDataSyncClient