@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AbstractAWSDataSync extends Object implements AWSDataSync
AWSDataSync
. Convenient method forms pass through to the corresponding overload
that takes a request object, which throws an UnsupportedOperationException
.ENDPOINT_PREFIX
Modifier and Type | Method and Description |
---|---|
AddStorageSystemResult |
addStorageSystem(AddStorageSystemRequest request)
Creates an Amazon Web Services resource for an on-premises storage system that you want DataSync Discovery to
collect information about.
|
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)
A location is an endpoint for an Amazon S3 bucket.
|
CreateLocationSmbResult |
createLocationSmb(CreateLocationSmbRequest request)
Creates an endpoint for a Server Message Block (SMB) file server that DataSync can access for a transfer.
|
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 about an DataSync agent, such as its name, endpoint type, and status.
|
DescribeDiscoveryJobResult |
describeDiscoveryJob(DescribeDiscoveryJobRequest request)
Returns information about a DataSync discovery job.
|
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.
|
DescribeStorageSystemResult |
describeStorageSystem(DescribeStorageSystemRequest request)
Returns information about an on-premises storage system that you're using with DataSync Discovery.
|
DescribeStorageSystemResourceMetricsResult |
describeStorageSystemResourceMetrics(DescribeStorageSystemResourceMetricsRequest request)
Returns information, including performance data and capacity usage, which DataSync Discovery collects about a
specific resource in your-premises storage system.
|
DescribeStorageSystemResourcesResult |
describeStorageSystemResources(DescribeStorageSystemResourcesRequest request)
Returns information that DataSync Discovery collects about resources in your on-premises storage system.
|
DescribeTaskResult |
describeTask(DescribeTaskRequest request)
Returns metadata about a task.
|
DescribeTaskExecutionResult |
describeTaskExecution(DescribeTaskExecutionRequest request)
Returns detailed metadata about a task that is being executed.
|
GenerateRecommendationsResult |
generateRecommendations(GenerateRecommendationsRequest request)
Creates recommendations about where to migrate your data to in Amazon Web Services.
|
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 DataSync agents that belong to an Amazon Web Services account in the Amazon Web Services Region
specified in the request.
|
ListDiscoveryJobsResult |
listDiscoveryJobs(ListDiscoveryJobsRequest request)
Provides a list of the existing discovery jobs in the Amazon Web Services Region and Amazon Web Services account
where you're using DataSync Discovery.
|
ListLocationsResult |
listLocations(ListLocationsRequest request)
Returns a list of source and destination locations.
|
ListStorageSystemsResult |
listStorageSystems(ListStorageSystemsRequest request)
Lists the on-premises storage systems that you're using with DataSync Discovery.
|
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.
|
RemoveStorageSystemResult |
removeStorageSystem(RemoveStorageSystemRequest request)
Permanently removes a storage system resource from DataSync Discovery, including the associated discovery jobs,
collected data, and recommendations.
|
void |
shutdown()
Shuts down this client object, releasing any resources that might be held open.
|
StartDiscoveryJobResult |
startDiscoveryJob(StartDiscoveryJobRequest request)
Runs a DataSync discovery job on your on-premises storage system.
|
StartTaskExecutionResult |
startTaskExecution(StartTaskExecutionRequest request)
Starts an DataSync task.
|
StopDiscoveryJobResult |
stopDiscoveryJob(StopDiscoveryJobRequest request)
Stops a running DataSync discovery job.
|
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.
|
UpdateDiscoveryJobResult |
updateDiscoveryJob(UpdateDiscoveryJobRequest request)
Edits a DataSync discovery job configuration.
|
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.
|
UpdateStorageSystemResult |
updateStorageSystem(UpdateStorageSystemRequest request)
Modifies some configurations of an on-premises storage system resource that you're using with DataSync Discovery.
|
UpdateTaskResult |
updateTask(UpdateTaskRequest request)
Updates the metadata associated with a task.
|
UpdateTaskExecutionResult |
updateTaskExecution(UpdateTaskExecutionRequest request)
Modifies a running DataSync task.
|
public AddStorageSystemResult addStorageSystem(AddStorageSystemRequest request)
AWSDataSync
Creates an Amazon Web Services resource for an on-premises storage system that you want DataSync Discovery to collect information about.
addStorageSystem
in interface AWSDataSync
public CancelTaskExecutionResult cancelTaskExecution(CancelTaskExecutionRequest request)
AWSDataSync
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 AWSDataSync
request
- CancelTaskExecutionRequestpublic CreateAgentResult createAgent(CreateAgentRequest request)
AWSDataSync
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 AWSDataSync
request
- CreateAgentRequestpublic CreateLocationEfsResult createLocationEfs(CreateLocationEfsRequest request)
AWSDataSync
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 AWSDataSync
request
- CreateLocationEfsRequestpublic CreateLocationFsxLustreResult createLocationFsxLustre(CreateLocationFsxLustreRequest request)
AWSDataSync
Creates an endpoint for an Amazon FSx for Lustre file system.
createLocationFsxLustre
in interface AWSDataSync
public CreateLocationFsxOntapResult createLocationFsxOntap(CreateLocationFsxOntapRequest request)
AWSDataSync
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 AWSDataSync
public CreateLocationFsxOpenZfsResult createLocationFsxOpenZfs(CreateLocationFsxOpenZfsRequest request)
AWSDataSync
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 AWSDataSync
public CreateLocationFsxWindowsResult createLocationFsxWindows(CreateLocationFsxWindowsRequest request)
AWSDataSync
Creates an endpoint for an Amazon FSx for Windows File Server file system.
createLocationFsxWindows
in interface AWSDataSync
public CreateLocationHdfsResult createLocationHdfs(CreateLocationHdfsRequest request)
AWSDataSync
Creates an endpoint for a Hadoop Distributed File System (HDFS).
createLocationHdfs
in interface AWSDataSync
public CreateLocationNfsResult createLocationNfs(CreateLocationNfsRequest request)
AWSDataSync
Defines a file system on a Network File System (NFS) server that can be read from or written to.
createLocationNfs
in interface AWSDataSync
request
- CreateLocationNfsRequestpublic CreateLocationObjectStorageResult createLocationObjectStorage(CreateLocationObjectStorageRequest request)
AWSDataSync
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 AWSDataSync
request
- CreateLocationObjectStorageRequestpublic CreateLocationS3Result createLocationS3(CreateLocationS3Request request)
AWSDataSync
A location is an endpoint for an Amazon S3 bucket. DataSync can use the location as a source or destination for copying data.
Before you create your location, make sure that you read the following sections:
For more information, see Creating an Amazon S3 location.
createLocationS3
in interface AWSDataSync
request
- CreateLocationS3Requestpublic CreateLocationSmbResult createLocationSmb(CreateLocationSmbRequest request)
AWSDataSync
Creates an endpoint for a Server Message Block (SMB) file server that DataSync can access for a transfer. For more information, see Creating an SMB location.
createLocationSmb
in interface AWSDataSync
request
- CreateLocationSmbRequestpublic CreateTaskResult createTask(CreateTaskRequest request)
AWSDataSync
Configures a task, which defines where and how DataSync transfers your data.
A task includes a source location, a destination location, and the preferences for how and when you want to transfer your data (such as bandwidth limits, scheduling, among other options).
If you're planning to transfer data to or from an Amazon S3 location, review how DataSync can affect your S3 request charges and the DataSync pricing page before you begin.
createTask
in interface AWSDataSync
request
- CreateTaskRequestpublic DeleteAgentResult deleteAgent(DeleteAgentRequest request)
AWSDataSync
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 AWSDataSync
request
- DeleteAgentRequestpublic DeleteLocationResult deleteLocation(DeleteLocationRequest request)
AWSDataSync
Deletes the configuration of a location used by DataSync.
deleteLocation
in interface AWSDataSync
request
- DeleteLocationpublic DeleteTaskResult deleteTask(DeleteTaskRequest request)
AWSDataSync
Deletes an DataSync task.
deleteTask
in interface AWSDataSync
request
- DeleteTaskpublic DescribeAgentResult describeAgent(DescribeAgentRequest request)
AWSDataSync
Returns metadata about an DataSync agent, such as its name, endpoint type, and status.
describeAgent
in interface AWSDataSync
request
- DescribeAgentpublic DescribeDiscoveryJobResult describeDiscoveryJob(DescribeDiscoveryJobRequest request)
AWSDataSync
Returns information about a DataSync discovery job.
describeDiscoveryJob
in interface AWSDataSync
public DescribeLocationEfsResult describeLocationEfs(DescribeLocationEfsRequest request)
AWSDataSync
Returns metadata about your DataSync location for an Amazon EFS file system.
describeLocationEfs
in interface AWSDataSync
request
- DescribeLocationEfsRequestpublic DescribeLocationFsxLustreResult describeLocationFsxLustre(DescribeLocationFsxLustreRequest request)
AWSDataSync
Provides details about how an DataSync location for an Amazon FSx for Lustre file system is configured.
describeLocationFsxLustre
in interface AWSDataSync
public DescribeLocationFsxOntapResult describeLocationFsxOntap(DescribeLocationFsxOntapRequest request)
AWSDataSync
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 AWSDataSync
public DescribeLocationFsxOpenZfsResult describeLocationFsxOpenZfs(DescribeLocationFsxOpenZfsRequest request)
AWSDataSync
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 AWSDataSync
public DescribeLocationFsxWindowsResult describeLocationFsxWindows(DescribeLocationFsxWindowsRequest request)
AWSDataSync
Returns metadata about an Amazon FSx for Windows File Server location, such as information about its path.
describeLocationFsxWindows
in interface AWSDataSync
public DescribeLocationHdfsResult describeLocationHdfs(DescribeLocationHdfsRequest request)
AWSDataSync
Returns metadata, such as the authentication information about the Hadoop Distributed File System (HDFS) location.
describeLocationHdfs
in interface AWSDataSync
public DescribeLocationNfsResult describeLocationNfs(DescribeLocationNfsRequest request)
AWSDataSync
Returns metadata, such as the path information, about an NFS location.
describeLocationNfs
in interface AWSDataSync
request
- DescribeLocationNfsRequestpublic DescribeLocationObjectStorageResult describeLocationObjectStorage(DescribeLocationObjectStorageRequest request)
AWSDataSync
Returns metadata about your DataSync location for an object storage system.
describeLocationObjectStorage
in interface AWSDataSync
request
- DescribeLocationObjectStorageRequestpublic DescribeLocationS3Result describeLocationS3(DescribeLocationS3Request request)
AWSDataSync
Returns metadata, such as bucket name, about an Amazon S3 bucket location.
describeLocationS3
in interface AWSDataSync
request
- DescribeLocationS3Requestpublic DescribeLocationSmbResult describeLocationSmb(DescribeLocationSmbRequest request)
AWSDataSync
Returns metadata, such as the path and user information about an SMB location.
describeLocationSmb
in interface AWSDataSync
request
- DescribeLocationSmbRequestpublic DescribeStorageSystemResult describeStorageSystem(DescribeStorageSystemRequest request)
AWSDataSync
Returns information about an on-premises storage system that you're using with DataSync Discovery.
describeStorageSystem
in interface AWSDataSync
public DescribeStorageSystemResourceMetricsResult describeStorageSystemResourceMetrics(DescribeStorageSystemResourceMetricsRequest request)
AWSDataSync
Returns information, including performance data and capacity usage, which DataSync Discovery collects about a specific resource in your-premises storage system.
describeStorageSystemResourceMetrics
in interface AWSDataSync
public DescribeStorageSystemResourcesResult describeStorageSystemResources(DescribeStorageSystemResourcesRequest request)
AWSDataSync
Returns information that DataSync Discovery collects about resources in your on-premises storage system.
describeStorageSystemResources
in interface AWSDataSync
public DescribeTaskResult describeTask(DescribeTaskRequest request)
AWSDataSync
Returns metadata about a task.
describeTask
in interface AWSDataSync
request
- DescribeTaskRequestpublic DescribeTaskExecutionResult describeTaskExecution(DescribeTaskExecutionRequest request)
AWSDataSync
Returns detailed metadata about a task that is being executed.
describeTaskExecution
in interface AWSDataSync
request
- DescribeTaskExecutionRequestpublic GenerateRecommendationsResult generateRecommendations(GenerateRecommendationsRequest request)
AWSDataSync
Creates recommendations about where to migrate your data to in Amazon Web Services. Recommendations are generated based on information that DataSync Discovery collects about your on-premises storage system's resources. For more information, see Recommendations provided by DataSync Discovery.
Once generated, you can view your recommendations by using the DescribeStorageSystemResources operation.
If your discovery job completes successfully, you don't need to use this operation. DataSync Discovery generates the recommendations for you automatically.
generateRecommendations
in interface AWSDataSync
public ListAgentsResult listAgents(ListAgentsRequest request)
AWSDataSync
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.
listAgents
in interface AWSDataSync
request
- ListAgentsRequestpublic ListDiscoveryJobsResult listDiscoveryJobs(ListDiscoveryJobsRequest request)
AWSDataSync
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.
listDiscoveryJobs
in interface AWSDataSync
public ListLocationsResult listLocations(ListLocationsRequest request)
AWSDataSync
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 AWSDataSync
request
- ListLocationsRequestpublic ListStorageSystemsResult listStorageSystems(ListStorageSystemsRequest request)
AWSDataSync
Lists the on-premises storage systems that you're using with DataSync Discovery.
listStorageSystems
in interface AWSDataSync
public ListTagsForResourceResult listTagsForResource(ListTagsForResourceRequest request)
AWSDataSync
Returns all the tags associated with an Amazon Web Services resource.
listTagsForResource
in interface AWSDataSync
request
- ListTagsForResourceRequestpublic ListTaskExecutionsResult listTaskExecutions(ListTaskExecutionsRequest request)
AWSDataSync
Returns a list of executed tasks.
listTaskExecutions
in interface AWSDataSync
request
- ListTaskExecutionspublic ListTasksResult listTasks(ListTasksRequest request)
AWSDataSync
Returns a list of the DataSync tasks you created.
listTasks
in interface AWSDataSync
request
- ListTasksRequestpublic RemoveStorageSystemResult removeStorageSystem(RemoveStorageSystemRequest request)
AWSDataSync
Permanently removes a storage system resource from DataSync Discovery, including the associated discovery jobs, collected data, and recommendations.
removeStorageSystem
in interface AWSDataSync
public StartDiscoveryJobResult startDiscoveryJob(StartDiscoveryJobRequest request)
AWSDataSync
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.
startDiscoveryJob
in interface AWSDataSync
public StartTaskExecutionResult startTaskExecution(StartTaskExecutionRequest request)
AWSDataSync
Starts an DataSync task. For each task, you can only run one task execution at a time.
There are several phases to a task execution. For more information, see Task execution statuses.
If you're planning to transfer data to or from an Amazon S3 location, review how DataSync can affect your S3 request charges and the DataSync pricing page before you begin.
startTaskExecution
in interface AWSDataSync
request
- StartTaskExecutionRequestpublic StopDiscoveryJobResult stopDiscoveryJob(StopDiscoveryJobRequest request)
AWSDataSync
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.
stopDiscoveryJob
in interface AWSDataSync
public TagResourceResult tagResource(TagResourceRequest request)
AWSDataSync
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 AWSDataSync
request
- TagResourceRequestpublic UntagResourceResult untagResource(UntagResourceRequest request)
AWSDataSync
Removes tags from an Amazon Web Services resource.
untagResource
in interface AWSDataSync
request
- UntagResourceRequestpublic UpdateAgentResult updateAgent(UpdateAgentRequest request)
AWSDataSync
Updates the name of an agent.
updateAgent
in interface AWSDataSync
request
- UpdateAgentRequestpublic UpdateDiscoveryJobResult updateDiscoveryJob(UpdateDiscoveryJobRequest request)
AWSDataSync
Edits a DataSync discovery job configuration.
updateDiscoveryJob
in interface AWSDataSync
public UpdateLocationHdfsResult updateLocationHdfs(UpdateLocationHdfsRequest request)
AWSDataSync
Updates some parameters of a previously created location for a Hadoop Distributed File System cluster.
updateLocationHdfs
in interface AWSDataSync
public UpdateLocationNfsResult updateLocationNfs(UpdateLocationNfsRequest request)
AWSDataSync
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 AWSDataSync
public UpdateLocationObjectStorageResult updateLocationObjectStorage(UpdateLocationObjectStorageRequest request)
AWSDataSync
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 AWSDataSync
public UpdateLocationSmbResult updateLocationSmb(UpdateLocationSmbRequest request)
AWSDataSync
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 AWSDataSync
public UpdateStorageSystemResult updateStorageSystem(UpdateStorageSystemRequest request)
AWSDataSync
Modifies some configurations of an on-premises storage system resource that you're using with DataSync Discovery.
updateStorageSystem
in interface AWSDataSync
public UpdateTaskResult updateTask(UpdateTaskRequest request)
AWSDataSync
Updates the metadata associated with a task.
updateTask
in interface AWSDataSync
request
- UpdateTaskResponsepublic UpdateTaskExecutionResult updateTaskExecution(UpdateTaskExecutionRequest request)
AWSDataSync
Modifies a running DataSync task.
Currently, the only Option
that you can modify with UpdateTaskExecution
is
BytesPerSecond
, which throttles bandwidth for a running or queued task.
updateTaskExecution
in interface AWSDataSync
public void shutdown()
AWSDataSync
shutdown
in interface AWSDataSync
public ResponseMetadata getCachedResponseMetadata(AmazonWebServiceRequest request)
AWSDataSync
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 a request.
getCachedResponseMetadata
in interface AWSDataSync
request
- The originally executed request.