@ThreadSafe @Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AWSDataSyncClient extends AmazonWebServiceClient implements AWSDataSync
DataSync is a managed data transfer service that makes it simpler for you to automate moving data between on-premises storage and Amazon Web Services storage services. You also can use DataSync to transfer data between other cloud providers and 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_METRICENDPOINT_PREFIX| Modifier and Type | Method and Description |
|---|---|
static AWSDataSyncClientBuilder |
builder() |
CancelTaskExecutionResult |
cancelTaskExecution(CancelTaskExecutionRequest request)
Stops an DataSync task execution that's in progress.
|
CreateAgentResult |
createAgent(CreateAgentRequest request)
Activates an DataSync agent that you have deployed in your storage environment.
|
CreateLocationEfsResult |
createLocationEfs(CreateLocationEfsRequest request)
Creates an endpoint for an Amazon EFS file system that DataSync can access for a transfer.
|
CreateLocationFsxLustreResult |
createLocationFsxLustre(CreateLocationFsxLustreRequest request)
Creates an endpoint for an Amazon FSx for Lustre file system.
|
CreateLocationFsxOntapResult |
createLocationFsxOntap(CreateLocationFsxOntapRequest request)
Creates an endpoint for an Amazon FSx for NetApp ONTAP file system that DataSync can access for a transfer.
|
CreateLocationFsxOpenZfsResult |
createLocationFsxOpenZfs(CreateLocationFsxOpenZfsRequest request)
Creates an endpoint for an Amazon FSx for OpenZFS file system that DataSync can access for a transfer.
|
CreateLocationFsxWindowsResult |
createLocationFsxWindows(CreateLocationFsxWindowsRequest request)
Creates an endpoint for an Amazon FSx for Windows File Server file system.
|
CreateLocationHdfsResult |
createLocationHdfs(CreateLocationHdfsRequest request)
Creates an endpoint for a Hadoop Distributed File System (HDFS).
|
CreateLocationNfsResult |
createLocationNfs(CreateLocationNfsRequest request)
Defines a file system on a Network File System (NFS) server that can be read from or written to.
|
CreateLocationObjectStorageResult |
createLocationObjectStorage(CreateLocationObjectStorageRequest request)
Creates an endpoint for an object storage system that DataSync can access for a transfer.
|
CreateLocationS3Result |
createLocationS3(CreateLocationS3Request request)
Creates an endpoint for an Amazon S3 bucket that DataSync can access for a transfer.
|
CreateLocationSmbResult |
createLocationSmb(CreateLocationSmbRequest request)
Defines a file system on a Server Message Block (SMB) server that can be read from or written to.
|
CreateTaskResult |
createTask(CreateTaskRequest request)
Configures a task, which defines where and how DataSync transfers your data.
|
DeleteAgentResult |
deleteAgent(DeleteAgentRequest request)
Deletes an agent.
|
DeleteLocationResult |
deleteLocation(DeleteLocationRequest request)
Deletes the configuration of a location used by DataSync.
|
DeleteTaskResult |
deleteTask(DeleteTaskRequest request)
Deletes an DataSync task.
|
DescribeAgentResult |
describeAgent(DescribeAgentRequest request)
Returns metadata such as the name, the network interfaces, and the status (that is, whether the agent is running
or not) for an agent.
|
DescribeLocationEfsResult |
describeLocationEfs(DescribeLocationEfsRequest request)
Returns metadata about your DataSync location for an Amazon EFS file system.
|
DescribeLocationFsxLustreResult |
describeLocationFsxLustre(DescribeLocationFsxLustreRequest request)
Provides details about how an DataSync location for an Amazon FSx for Lustre file system is configured.
|
DescribeLocationFsxOntapResult |
describeLocationFsxOntap(DescribeLocationFsxOntapRequest request)
Provides details about how an DataSync location for an Amazon FSx for NetApp ONTAP file system is configured.
|
DescribeLocationFsxOpenZfsResult |
describeLocationFsxOpenZfs(DescribeLocationFsxOpenZfsRequest request)
Provides details about how an DataSync location for an Amazon FSx for OpenZFS file system is configured.
|
DescribeLocationFsxWindowsResult |
describeLocationFsxWindows(DescribeLocationFsxWindowsRequest request)
Returns metadata about an Amazon FSx for Windows File Server location, such as information about its path.
|
DescribeLocationHdfsResult |
describeLocationHdfs(DescribeLocationHdfsRequest request)
Returns metadata, such as the authentication information about the Hadoop Distributed File System (HDFS)
location.
|
DescribeLocationNfsResult |
describeLocationNfs(DescribeLocationNfsRequest request)
Returns metadata, such as the path information, about an NFS location.
|
DescribeLocationObjectStorageResult |
describeLocationObjectStorage(DescribeLocationObjectStorageRequest request)
Returns metadata about your DataSync location for an object storage system.
|
DescribeLocationS3Result |
describeLocationS3(DescribeLocationS3Request request)
Returns metadata, such as bucket name, about an Amazon S3 bucket location.
|
DescribeLocationSmbResult |
describeLocationSmb(DescribeLocationSmbRequest request)
Returns metadata, such as the path and user information about an SMB location.
|
DescribeTaskResult |
describeTask(DescribeTaskRequest request)
Returns metadata about a task.
|
DescribeTaskExecutionResult |
describeTaskExecution(DescribeTaskExecutionRequest request)
Returns detailed metadata about a task that is being executed.
|
ResponseMetadata |
getCachedResponseMetadata(AmazonWebServiceRequest request)
Returns additional metadata for a previously executed successful, request, typically used for debugging issues
where a service isn't acting as expected.
|
ListAgentsResult |
listAgents(ListAgentsRequest request)
Returns a list of agents owned by an Amazon Web Services account in the Amazon Web Services Region specified in
the request.
|
ListLocationsResult |
listLocations(ListLocationsRequest request)
Returns a list of source and destination locations.
|
ListTagsForResourceResult |
listTagsForResource(ListTagsForResourceRequest request)
Returns all the tags associated with an Amazon Web Services resource.
|
ListTaskExecutionsResult |
listTaskExecutions(ListTaskExecutionsRequest request)
Returns a list of executed tasks.
|
ListTasksResult |
listTasks(ListTasksRequest request)
Returns a list of the DataSync tasks you created.
|
void |
shutdown()
Shuts down this client object, releasing any resources that might be held
open.
|
StartTaskExecutionResult |
startTaskExecution(StartTaskExecutionRequest request)
Starts an DataSync task.
|
TagResourceResult |
tagResource(TagResourceRequest request)
Applies a tag to an Amazon Web Services resource.
|
UntagResourceResult |
untagResource(UntagResourceRequest request)
Removes tags from an Amazon Web Services resource.
|
UpdateAgentResult |
updateAgent(UpdateAgentRequest request)
Updates the name of an agent.
|
UpdateLocationHdfsResult |
updateLocationHdfs(UpdateLocationHdfsRequest request)
Updates some parameters of a previously created location for a Hadoop Distributed File System cluster.
|
UpdateLocationNfsResult |
updateLocationNfs(UpdateLocationNfsRequest request)
Updates some of the parameters of a previously created location for Network File System (NFS) access.
|
UpdateLocationObjectStorageResult |
updateLocationObjectStorage(UpdateLocationObjectStorageRequest request)
Updates some parameters of an existing object storage location that DataSync accesses for a transfer.
|
UpdateLocationSmbResult |
updateLocationSmb(UpdateLocationSmbRequest request)
Updates some of the parameters of a previously created location for Server Message Block (SMB) file system
access.
|
UpdateTaskResult |
updateTask(UpdateTaskRequest request)
Updates the metadata associated with a task.
|
UpdateTaskExecutionResult |
updateTaskExecution(UpdateTaskExecutionRequest request)
Updates execution of a task.
|
addRequestHandler, addRequestHandler, configureRegion, getClientConfiguration, getEndpointPrefix, getMonitoringListeners, getRequestMetricsCollector, getServiceName, getSignerByURI, getSignerOverride, getSignerRegionOverride, getTimeOffset, makeImmutable, removeRequestHandler, removeRequestHandler, setEndpoint, setEndpoint, setRegion, setServiceNameIntern, setSignerRegionOverride, setTimeOffset, withEndpoint, withRegion, withRegion, withTimeOffsetpublic static AWSDataSyncClientBuilder builder()
public CancelTaskExecutionResult 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.
cancelTaskExecution in interface AWSDataSynccancelTaskExecutionRequest - CancelTaskExecutionRequestInvalidRequestException - This exception is thrown when the client submits a malformed request.InternalException - This exception is thrown when an error occurs in the DataSync service.public CreateAgentResult createAgent(CreateAgentRequest request)
Activates an DataSync agent that you have deployed in your storage environment. The activation process associates your agent with your account. In the activation process, you specify information such as the Amazon Web Services Region that you want to activate the agent in. You activate the agent in the Amazon Web Services Region where your target locations (in Amazon S3 or Amazon EFS) reside. Your tasks are created in this Amazon Web Services Region.
You can activate the agent in a VPC (virtual private cloud) or provide the agent access to a VPC endpoint so you can run tasks without going over the public internet.
You can use an agent for more than one location. If a task uses multiple agents, all of them need to have status AVAILABLE for the task to run. If you use multiple agents for a source location, the status of all the agents must be AVAILABLE for the task to run.
Agents are automatically updated by Amazon Web Services on a regular basis, using a mechanism that ensures minimal interruption to your tasks.
createAgent in interface AWSDataSynccreateAgentRequest - CreateAgentRequestInvalidRequestException - This exception is thrown when the client submits a malformed request.InternalException - This exception is thrown when an error occurs in the DataSync service.public CreateLocationEfsResult 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.
createLocationEfs in interface AWSDataSynccreateLocationEfsRequest - CreateLocationEfsRequestInvalidRequestException - This exception is thrown when the client submits a malformed request.InternalException - This exception is thrown when an error occurs in the DataSync service.public CreateLocationFsxLustreResult createLocationFsxLustre(CreateLocationFsxLustreRequest request)
Creates an endpoint for an Amazon FSx for Lustre file system.
createLocationFsxLustre in interface AWSDataSynccreateLocationFsxLustreRequest - InvalidRequestException - This exception is thrown when the client submits a malformed request.InternalException - This exception is thrown when an error occurs in the DataSync service.public CreateLocationFsxOntapResult 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.
createLocationFsxOntap in interface AWSDataSynccreateLocationFsxOntapRequest - InvalidRequestException - This exception is thrown when the client submits a malformed request.InternalException - This exception is thrown when an error occurs in the DataSync service.public CreateLocationFsxOpenZfsResult 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.
createLocationFsxOpenZfs in interface AWSDataSynccreateLocationFsxOpenZfsRequest - InvalidRequestException - This exception is thrown when the client submits a malformed request.InternalException - This exception is thrown when an error occurs in the DataSync service.public CreateLocationFsxWindowsResult createLocationFsxWindows(CreateLocationFsxWindowsRequest request)
Creates an endpoint for an Amazon FSx for Windows File Server file system.
createLocationFsxWindows in interface AWSDataSynccreateLocationFsxWindowsRequest - InvalidRequestException - This exception is thrown when the client submits a malformed request.InternalException - This exception is thrown when an error occurs in the DataSync service.public CreateLocationHdfsResult createLocationHdfs(CreateLocationHdfsRequest request)
Creates an endpoint for a Hadoop Distributed File System (HDFS).
createLocationHdfs in interface AWSDataSynccreateLocationHdfsRequest - InvalidRequestException - This exception is thrown when the client submits a malformed request.InternalException - This exception is thrown when an error occurs in the DataSync service.public CreateLocationNfsResult createLocationNfs(CreateLocationNfsRequest request)
Defines a file system on a Network File System (NFS) server that can be read from or written to.
createLocationNfs in interface AWSDataSynccreateLocationNfsRequest - CreateLocationNfsRequestInvalidRequestException - This exception is thrown when the client submits a malformed request.InternalException - This exception is thrown when an error occurs in the DataSync service.public CreateLocationObjectStorageResult 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.
createLocationObjectStorage in interface AWSDataSynccreateLocationObjectStorageRequest - CreateLocationObjectStorageRequestInvalidRequestException - This exception is thrown when the client submits a malformed request.InternalException - This exception is thrown when an error occurs in the DataSync service.public CreateLocationS3Result createLocationS3(CreateLocationS3Request request)
Creates an endpoint for an Amazon S3 bucket that DataSync can access for a transfer.
For more information, see Create an Amazon S3 location in the DataSync User Guide.
createLocationS3 in interface AWSDataSynccreateLocationS3Request - CreateLocationS3RequestInvalidRequestException - This exception is thrown when the client submits a malformed request.InternalException - This exception is thrown when an error occurs in the DataSync service.public CreateLocationSmbResult createLocationSmb(CreateLocationSmbRequest request)
Defines a file system on a Server Message Block (SMB) server that can be read from or written to.
createLocationSmb in interface AWSDataSynccreateLocationSmbRequest - CreateLocationSmbRequestInvalidRequestException - This exception is thrown when the client submits a malformed request.InternalException - This exception is thrown when an error occurs in the DataSync service.public CreateTaskResult 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).
createTask in interface AWSDataSynccreateTaskRequest - CreateTaskRequestInvalidRequestException - This exception is thrown when the client submits a malformed request.InternalException - This exception is thrown when an error occurs in the DataSync service.public DeleteAgentResult 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.
deleteAgent in interface AWSDataSyncdeleteAgentRequest - DeleteAgentRequestInvalidRequestException - This exception is thrown when the client submits a malformed request.InternalException - This exception is thrown when an error occurs in the DataSync service.public DeleteLocationResult deleteLocation(DeleteLocationRequest request)
Deletes the configuration of a location used by DataSync.
deleteLocation in interface AWSDataSyncdeleteLocationRequest - DeleteLocationInvalidRequestException - This exception is thrown when the client submits a malformed request.InternalException - This exception is thrown when an error occurs in the DataSync service.public DeleteTaskResult deleteTask(DeleteTaskRequest request)
Deletes an DataSync task.
deleteTask in interface AWSDataSyncdeleteTaskRequest - DeleteTaskInvalidRequestException - This exception is thrown when the client submits a malformed request.InternalException - This exception is thrown when an error occurs in the DataSync service.public DescribeAgentResult describeAgent(DescribeAgentRequest request)
Returns metadata such as the name, the network interfaces, and the status (that is, whether the agent is running or not) for an agent. To specify which agent to describe, use the Amazon Resource Name (ARN) of the agent in your request.
describeAgent in interface AWSDataSyncdescribeAgentRequest - DescribeAgentInvalidRequestException - This exception is thrown when the client submits a malformed request.InternalException - This exception is thrown when an error occurs in the DataSync service.public DescribeLocationEfsResult describeLocationEfs(DescribeLocationEfsRequest request)
Returns metadata about your DataSync location for an Amazon EFS file system.
describeLocationEfs in interface AWSDataSyncdescribeLocationEfsRequest - DescribeLocationEfsRequestInvalidRequestException - This exception is thrown when the client submits a malformed request.InternalException - This exception is thrown when an error occurs in the DataSync service.public DescribeLocationFsxLustreResult describeLocationFsxLustre(DescribeLocationFsxLustreRequest request)
Provides details about how an DataSync location for an Amazon FSx for Lustre file system is configured.
describeLocationFsxLustre in interface AWSDataSyncdescribeLocationFsxLustreRequest - InvalidRequestException - This exception is thrown when the client submits a malformed request.InternalException - This exception is thrown when an error occurs in the DataSync service.public DescribeLocationFsxOntapResult 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.
describeLocationFsxOntap in interface AWSDataSyncdescribeLocationFsxOntapRequest - InvalidRequestException - This exception is thrown when the client submits a malformed request.InternalException - This exception is thrown when an error occurs in the DataSync service.public DescribeLocationFsxOpenZfsResult 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.
describeLocationFsxOpenZfs in interface AWSDataSyncdescribeLocationFsxOpenZfsRequest - InvalidRequestException - This exception is thrown when the client submits a malformed request.InternalException - This exception is thrown when an error occurs in the DataSync service.public DescribeLocationFsxWindowsResult describeLocationFsxWindows(DescribeLocationFsxWindowsRequest request)
Returns metadata about an Amazon FSx for Windows File Server location, such as information about its path.
describeLocationFsxWindows in interface AWSDataSyncdescribeLocationFsxWindowsRequest - InvalidRequestException - This exception is thrown when the client submits a malformed request.InternalException - This exception is thrown when an error occurs in the DataSync service.public DescribeLocationHdfsResult describeLocationHdfs(DescribeLocationHdfsRequest request)
Returns metadata, such as the authentication information about the Hadoop Distributed File System (HDFS) location.
describeLocationHdfs in interface AWSDataSyncdescribeLocationHdfsRequest - InvalidRequestException - This exception is thrown when the client submits a malformed request.InternalException - This exception is thrown when an error occurs in the DataSync service.public DescribeLocationNfsResult describeLocationNfs(DescribeLocationNfsRequest request)
Returns metadata, such as the path information, about an NFS location.
describeLocationNfs in interface AWSDataSyncdescribeLocationNfsRequest - DescribeLocationNfsRequestInvalidRequestException - This exception is thrown when the client submits a malformed request.InternalException - This exception is thrown when an error occurs in the DataSync service.public DescribeLocationObjectStorageResult describeLocationObjectStorage(DescribeLocationObjectStorageRequest request)
Returns metadata about your DataSync location for an object storage system.
describeLocationObjectStorage in interface AWSDataSyncdescribeLocationObjectStorageRequest - DescribeLocationObjectStorageRequestInvalidRequestException - This exception is thrown when the client submits a malformed request.InternalException - This exception is thrown when an error occurs in the DataSync service.public DescribeLocationS3Result describeLocationS3(DescribeLocationS3Request request)
Returns metadata, such as bucket name, about an Amazon S3 bucket location.
describeLocationS3 in interface AWSDataSyncdescribeLocationS3Request - DescribeLocationS3RequestInvalidRequestException - This exception is thrown when the client submits a malformed request.InternalException - This exception is thrown when an error occurs in the DataSync service.public DescribeLocationSmbResult describeLocationSmb(DescribeLocationSmbRequest request)
Returns metadata, such as the path and user information about an SMB location.
describeLocationSmb in interface AWSDataSyncdescribeLocationSmbRequest - DescribeLocationSmbRequestInvalidRequestException - This exception is thrown when the client submits a malformed request.InternalException - This exception is thrown when an error occurs in the DataSync service.public DescribeTaskResult describeTask(DescribeTaskRequest request)
Returns metadata about a task.
describeTask in interface AWSDataSyncdescribeTaskRequest - DescribeTaskRequestInvalidRequestException - This exception is thrown when the client submits a malformed request.InternalException - This exception is thrown when an error occurs in the DataSync service.public DescribeTaskExecutionResult describeTaskExecution(DescribeTaskExecutionRequest request)
Returns detailed metadata about a task that is being executed.
describeTaskExecution in interface AWSDataSyncdescribeTaskExecutionRequest - DescribeTaskExecutionRequestInvalidRequestException - This exception is thrown when the client submits a malformed request.InternalException - This exception is thrown when an error occurs in the DataSync service.public ListAgentsResult listAgents(ListAgentsRequest request)
Returns a list of agents owned by an Amazon Web Services account in the Amazon Web Services Region specified in the request. The returned list is ordered by agent Amazon Resource Name (ARN).
By default, this operation returns a maximum of 100 agents. This operation supports pagination that enables you to optionally reduce the number of agents returned in a response.
If you have more agents than are returned in a response (that is, the response returns only a truncated list of your agents), the response contains a marker that you can specify in your next request to fetch the next page of agents.
listAgents in interface AWSDataSynclistAgentsRequest - ListAgentsRequestInvalidRequestException - This exception is thrown when the client submits a malformed request.InternalException - This exception is thrown when an error occurs in the DataSync service.public ListLocationsResult 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.
listLocations in interface AWSDataSynclistLocationsRequest - ListLocationsRequestInvalidRequestException - This exception is thrown when the client submits a malformed request.InternalException - This exception is thrown when an error occurs in the DataSync service.public ListTagsForResourceResult listTagsForResource(ListTagsForResourceRequest request)
Returns all the tags associated with an Amazon Web Services resource.
listTagsForResource in interface AWSDataSynclistTagsForResourceRequest - ListTagsForResourceRequestInvalidRequestException - This exception is thrown when the client submits a malformed request.InternalException - This exception is thrown when an error occurs in the DataSync service.public ListTaskExecutionsResult listTaskExecutions(ListTaskExecutionsRequest request)
Returns a list of executed tasks.
listTaskExecutions in interface AWSDataSynclistTaskExecutionsRequest - ListTaskExecutionsInvalidRequestException - This exception is thrown when the client submits a malformed request.InternalException - This exception is thrown when an error occurs in the DataSync service.public ListTasksResult listTasks(ListTasksRequest request)
Returns a list of the DataSync tasks you created.
listTasks in interface AWSDataSynclistTasksRequest - ListTasksRequestInvalidRequestException - This exception is thrown when the client submits a malformed request.InternalException - This exception is thrown when an error occurs in the DataSync service.public StartTaskExecutionResult 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.
startTaskExecution in interface AWSDataSyncstartTaskExecutionRequest - StartTaskExecutionRequestInvalidRequestException - This exception is thrown when the client submits a malformed request.InternalException - This exception is thrown when an error occurs in the DataSync service.public TagResourceResult 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.
tagResource in interface AWSDataSynctagResourceRequest - TagResourceRequestInvalidRequestException - This exception is thrown when the client submits a malformed request.InternalException - This exception is thrown when an error occurs in the DataSync service.public UntagResourceResult untagResource(UntagResourceRequest request)
Removes tags from an Amazon Web Services resource.
untagResource in interface AWSDataSyncuntagResourceRequest - UntagResourceRequestInvalidRequestException - This exception is thrown when the client submits a malformed request.InternalException - This exception is thrown when an error occurs in the DataSync service.public UpdateAgentResult updateAgent(UpdateAgentRequest request)
Updates the name of an agent.
updateAgent in interface AWSDataSyncupdateAgentRequest - UpdateAgentRequestInvalidRequestException - This exception is thrown when the client submits a malformed request.InternalException - This exception is thrown when an error occurs in the DataSync service.public UpdateLocationHdfsResult updateLocationHdfs(UpdateLocationHdfsRequest request)
Updates some parameters of a previously created location for a Hadoop Distributed File System cluster.
updateLocationHdfs in interface AWSDataSyncupdateLocationHdfsRequest - InvalidRequestException - This exception is thrown when the client submits a malformed request.InternalException - This exception is thrown when an error occurs in the DataSync service.public UpdateLocationNfsResult 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.
updateLocationNfs in interface AWSDataSyncupdateLocationNfsRequest - InvalidRequestException - This exception is thrown when the client submits a malformed request.InternalException - This exception is thrown when an error occurs in the DataSync service.public UpdateLocationObjectStorageResult 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.
updateLocationObjectStorage in interface AWSDataSyncupdateLocationObjectStorageRequest - InvalidRequestException - This exception is thrown when the client submits a malformed request.InternalException - This exception is thrown when an error occurs in the DataSync service.public UpdateLocationSmbResult 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.
updateLocationSmb in interface AWSDataSyncupdateLocationSmbRequest - InvalidRequestException - This exception is thrown when the client submits a malformed request.InternalException - This exception is thrown when an error occurs in the DataSync service.public UpdateTaskResult updateTask(UpdateTaskRequest request)
Updates the metadata associated with a task.
updateTask in interface AWSDataSyncupdateTaskRequest - UpdateTaskResponseInvalidRequestException - This exception is thrown when the client submits a malformed request.InternalException - This exception is thrown when an error occurs in the DataSync service.public UpdateTaskExecutionResult updateTaskExecution(UpdateTaskExecutionRequest request)
Updates execution of a task.
You can modify bandwidth throttling for a task execution that is running or queued. For more information, see Adjusting Bandwidth Throttling for a Task Execution.
The only Option that can be modified by UpdateTaskExecution is
BytesPerSecond
.
updateTaskExecution in interface AWSDataSyncupdateTaskExecutionRequest - InvalidRequestException - This exception is thrown when the client submits a malformed request.InternalException - This exception is thrown when an error occurs in the DataSync service.public ResponseMetadata getCachedResponseMetadata(AmazonWebServiceRequest request)
Response metadata is only cached for a limited period of time, so if you need to access this extra diagnostic information for an executed request, you should use this method to retrieve it as soon as possible after executing the request.
getCachedResponseMetadata in interface AWSDataSyncrequest - The originally executed requestpublic void shutdown()
AmazonWebServiceClientshutdown in interface AWSDataSyncshutdown in class AmazonWebServiceClient