JavaScript is disabled on your browser.
Skip navigation links

AWS SDK for Java 1.x API Reference - 1.12.795

We announced the upcoming end-of-support for AWS SDK for Java (v1). We recommend that you migrate to AWS SDK for Java v2. For dates, additional details, and information on how to migrate, please refer to the linked announcement.
com.amazonaws.services.datasync

Interface AWSDataSync

  • All Known Subinterfaces:
    AWSDataSyncAsync
    All Known Implementing Classes:
    AbstractAWSDataSync, AbstractAWSDataSyncAsync, AWSDataSyncAsyncClient, AWSDataSyncClient


    @Generated(value="com.amazonaws:aws-java-sdk-code-generator")
    public interface AWSDataSync
    Interface for accessing DataSync.

    Note: Do not directly implement this interface, new methods are added to it regularly. Extend from AbstractAWSDataSync instead.

    DataSync

    DataSync is an online data movement and discovery service that simplifies data migration and helps you quickly, easily, and securely transfer your file or object data to, from, and between Amazon Web Services storage services.

    This API interface reference includes documentation for using DataSync programmatically. For complete information, see the DataSync User Guide .

    • Method Detail

      • addStorageSystem

        AddStorageSystemResult addStorageSystem(AddStorageSystemRequest addStorageSystemRequest)

        Creates an Amazon Web Services resource for an on-premises storage system that you want DataSync Discovery to collect information about.

        Parameters:
        addStorageSystemRequest -
        Returns:
        Result of the AddStorageSystem operation returned by the service.
        Throws:
        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.
        See Also:
        AWS API Documentation
      • cancelTaskExecution

        CancelTaskExecutionResult cancelTaskExecution(CancelTaskExecutionRequest cancelTaskExecutionRequest)

        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.

        Parameters:
        cancelTaskExecutionRequest - CancelTaskExecutionRequest
        Returns:
        Result of the CancelTaskExecution operation returned by the service.
        Throws:
        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.
        See Also:
        AWS API Documentation
      • createAgent

        CreateAgentResult createAgent(CreateAgentRequest createAgentRequest)

        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.

        Parameters:
        createAgentRequest - CreateAgentRequest
        Returns:
        Result of the CreateAgent operation returned by the service.
        Throws:
        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.
        See Also:
        AWS API Documentation
      • createLocationEfs

        CreateLocationEfsResult createLocationEfs(CreateLocationEfsRequest createLocationEfsRequest)

        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.

        Parameters:
        createLocationEfsRequest - CreateLocationEfsRequest
        Returns:
        Result of the CreateLocationEfs operation returned by the service.
        Throws:
        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.
        See Also:
        AWS API Documentation
      • createLocationFsxOpenZfs

        CreateLocationFsxOpenZfsResult createLocationFsxOpenZfs(CreateLocationFsxOpenZfsRequest createLocationFsxOpenZfsRequest)

        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.

        Parameters:
        createLocationFsxOpenZfsRequest -
        Returns:
        Result of the CreateLocationFsxOpenZfs operation returned by the service.
        Throws:
        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.
        See Also:
        AWS API Documentation
      • createLocationHdfs

        CreateLocationHdfsResult createLocationHdfs(CreateLocationHdfsRequest createLocationHdfsRequest)

        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.

        Parameters:
        createLocationHdfsRequest -
        Returns:
        Result of the CreateLocationHdfs operation returned by the service.
        Throws:
        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.
        See Also:
        AWS API Documentation
      • createLocationNfs

        CreateLocationNfsResult createLocationNfs(CreateLocationNfsRequest createLocationNfsRequest)

        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.

        Parameters:
        createLocationNfsRequest - CreateLocationNfsRequest
        Returns:
        Result of the CreateLocationNfs operation returned by the service.
        Throws:
        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.
        See Also:
        AWS API Documentation
      • createLocationObjectStorage

        CreateLocationObjectStorageResult createLocationObjectStorage(CreateLocationObjectStorageRequest createLocationObjectStorageRequest)

        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.

        Parameters:
        createLocationObjectStorageRequest - CreateLocationObjectStorageRequest
        Returns:
        Result of the CreateLocationObjectStorage operation returned by the service.
        Throws:
        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.
        See Also:
        AWS API Documentation
      • createLocationSmb

        CreateLocationSmbResult createLocationSmb(CreateLocationSmbRequest createLocationSmbRequest)

        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.

        Parameters:
        createLocationSmbRequest - CreateLocationSmbRequest
        Returns:
        Result of the CreateLocationSmb operation returned by the service.
        Throws:
        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.
        See Also:
        AWS API Documentation
      • deleteAgent

        DeleteAgentResult deleteAgent(DeleteAgentRequest deleteAgentRequest)

        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.

        Parameters:
        deleteAgentRequest - DeleteAgentRequest
        Returns:
        Result of the DeleteAgent operation returned by the service.
        Throws:
        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.
        See Also:
        AWS API Documentation
      • describeAgent

        DescribeAgentResult describeAgent(DescribeAgentRequest describeAgentRequest)

        Returns information about an DataSync agent, such as its name, service endpoint type, and status.

        Parameters:
        describeAgentRequest - DescribeAgent
        Returns:
        Result of the DescribeAgent operation returned by the service.
        Throws:
        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.
        See Also:
        AWS API Documentation
      • describeLocationEfs

        DescribeLocationEfsResult describeLocationEfs(DescribeLocationEfsRequest describeLocationEfsRequest)

        Provides details about how an DataSync transfer location for an Amazon EFS file system is configured.

        Parameters:
        describeLocationEfsRequest - DescribeLocationEfsRequest
        Returns:
        Result of the DescribeLocationEfs operation returned by the service.
        Throws:
        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.
        See Also:
        AWS API Documentation
      • describeLocationFsxLustre

        DescribeLocationFsxLustreResult describeLocationFsxLustre(DescribeLocationFsxLustreRequest describeLocationFsxLustreRequest)

        Provides details about how an DataSync transfer location for an Amazon FSx for Lustre file system is configured.

        Parameters:
        describeLocationFsxLustreRequest -
        Returns:
        Result of the DescribeLocationFsxLustre operation returned by the service.
        Throws:
        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.
        See Also:
        AWS API Documentation
      • describeLocationFsxOntap

        DescribeLocationFsxOntapResult describeLocationFsxOntap(DescribeLocationFsxOntapRequest describeLocationFsxOntapRequest)

        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.

        Parameters:
        describeLocationFsxOntapRequest -
        Returns:
        Result of the DescribeLocationFsxOntap operation returned by the service.
        Throws:
        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.
        See Also:
        AWS API Documentation
      • describeLocationFsxOpenZfs

        DescribeLocationFsxOpenZfsResult describeLocationFsxOpenZfs(DescribeLocationFsxOpenZfsRequest describeLocationFsxOpenZfsRequest)

        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.

        Parameters:
        describeLocationFsxOpenZfsRequest -
        Returns:
        Result of the DescribeLocationFsxOpenZfs operation returned by the service.
        Throws:
        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.
        See Also:
        AWS API Documentation
      • describeLocationFsxWindows

        DescribeLocationFsxWindowsResult describeLocationFsxWindows(DescribeLocationFsxWindowsRequest describeLocationFsxWindowsRequest)

        Provides details about how an DataSync transfer location for an Amazon FSx for Windows File Server file system is configured.

        Parameters:
        describeLocationFsxWindowsRequest -
        Returns:
        Result of the DescribeLocationFsxWindows operation returned by the service.
        Throws:
        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.
        See Also:
        AWS API Documentation
      • describeLocationHdfs

        DescribeLocationHdfsResult describeLocationHdfs(DescribeLocationHdfsRequest describeLocationHdfsRequest)

        Provides details about how an DataSync transfer location for a Hadoop Distributed File System (HDFS) is configured.

        Parameters:
        describeLocationHdfsRequest -
        Returns:
        Result of the DescribeLocationHdfs operation returned by the service.
        Throws:
        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.
        See Also:
        AWS API Documentation
      • describeLocationNfs

        DescribeLocationNfsResult describeLocationNfs(DescribeLocationNfsRequest describeLocationNfsRequest)

        Provides details about how an DataSync transfer location for a Network File System (NFS) file server is configured.

        Parameters:
        describeLocationNfsRequest - DescribeLocationNfsRequest
        Returns:
        Result of the DescribeLocationNfs operation returned by the service.
        Throws:
        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.
        See Also:
        AWS API Documentation
      • describeLocationObjectStorage

        DescribeLocationObjectStorageResult describeLocationObjectStorage(DescribeLocationObjectStorageRequest describeLocationObjectStorageRequest)

        Provides details about how an DataSync transfer location for an object storage system is configured.

        Parameters:
        describeLocationObjectStorageRequest - DescribeLocationObjectStorageRequest
        Returns:
        Result of the DescribeLocationObjectStorage operation returned by the service.
        Throws:
        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.
        See Also:
        AWS API Documentation
      • describeLocationS3

        DescribeLocationS3Result describeLocationS3(DescribeLocationS3Request describeLocationS3Request)

        Provides details about how an DataSync transfer location for an S3 bucket is configured.

        Parameters:
        describeLocationS3Request - DescribeLocationS3Request
        Returns:
        Result of the DescribeLocationS3 operation returned by the service.
        Throws:
        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.
        See Also:
        AWS API Documentation
      • describeLocationSmb

        DescribeLocationSmbResult describeLocationSmb(DescribeLocationSmbRequest describeLocationSmbRequest)

        Provides details about how an DataSync transfer location for a Server Message Block (SMB) file server is configured.

        Parameters:
        describeLocationSmbRequest - DescribeLocationSmbRequest
        Returns:
        Result of the DescribeLocationSmb operation returned by the service.
        Throws:
        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.
        See Also:
        AWS API Documentation
      • describeStorageSystem

        DescribeStorageSystemResult describeStorageSystem(DescribeStorageSystemRequest describeStorageSystemRequest)

        Returns information about an on-premises storage system that you're using with DataSync Discovery.

        Parameters:
        describeStorageSystemRequest -
        Returns:
        Result of the DescribeStorageSystem operation returned by the service.
        Throws:
        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.
        See Also:
        AWS API Documentation
      • describeStorageSystemResourceMetrics

        DescribeStorageSystemResourceMetricsResult describeStorageSystemResourceMetrics(DescribeStorageSystemResourceMetricsRequest describeStorageSystemResourceMetricsRequest)

        Returns information, including performance data and capacity usage, which DataSync Discovery collects about a specific resource in your-premises storage system.

        Parameters:
        describeStorageSystemResourceMetricsRequest -
        Returns:
        Result of the DescribeStorageSystemResourceMetrics operation returned by the service.
        Throws:
        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.
        See Also:
        AWS API Documentation
      • describeTask

        DescribeTaskResult describeTask(DescribeTaskRequest describeTaskRequest)

        Provides information about a task, which defines where and how DataSync transfers your data.

        Parameters:
        describeTaskRequest - DescribeTaskRequest
        Returns:
        Result of the DescribeTask operation returned by the service.
        Throws:
        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.
        See Also:
        AWS API Documentation
      • describeTaskExecution

        DescribeTaskExecutionResult describeTaskExecution(DescribeTaskExecutionRequest describeTaskExecutionRequest)

        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.

        Parameters:
        describeTaskExecutionRequest - DescribeTaskExecutionRequest
        Returns:
        Result of the DescribeTaskExecution operation returned by the service.
        Throws:
        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.
        See Also:
        AWS API Documentation
      • listAgents

        ListAgentsResult listAgents(ListAgentsRequest listAgentsRequest)

        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.

        Parameters:
        listAgentsRequest - ListAgentsRequest
        Returns:
        Result of the ListAgents operation returned by the service.
        Throws:
        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.
        See Also:
        AWS API Documentation
      • listDiscoveryJobs

        ListDiscoveryJobsResult listDiscoveryJobs(ListDiscoveryJobsRequest listDiscoveryJobsRequest)

        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.

        Parameters:
        listDiscoveryJobsRequest -
        Returns:
        Result of the ListDiscoveryJobs operation returned by the service.
        Throws:
        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.
        See Also:
        AWS API Documentation
      • listLocations

        ListLocationsResult listLocations(ListLocationsRequest listLocationsRequest)

        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.

        Parameters:
        listLocationsRequest - ListLocationsRequest
        Returns:
        Result of the ListLocations operation returned by the service.
        Throws:
        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.
        See Also:
        AWS API Documentation
      • listTagsForResource

        ListTagsForResourceResult listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest)

        Returns all the tags associated with an Amazon Web Services resource.

        Parameters:
        listTagsForResourceRequest - ListTagsForResourceRequest
        Returns:
        Result of the ListTagsForResource operation returned by the service.
        Throws:
        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.
        See Also:
        AWS API Documentation
      • listTasks

        ListTasksResult listTasks(ListTasksRequest listTasksRequest)

        Returns a list of the DataSync tasks you created.

        Parameters:
        listTasksRequest - ListTasksRequest
        Returns:
        Result of the ListTasks operation returned by the service.
        Throws:
        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.
        See Also:
        AWS API Documentation
      • removeStorageSystem

        RemoveStorageSystemResult removeStorageSystem(RemoveStorageSystemRequest removeStorageSystemRequest)

        Permanently removes a storage system resource from DataSync Discovery, including the associated discovery jobs, collected data, and recommendations.

        Parameters:
        removeStorageSystemRequest -
        Returns:
        Result of the RemoveStorageSystem operation returned by the service.
        Throws:
        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.
        See Also:
        AWS API Documentation
      • startDiscoveryJob

        StartDiscoveryJobResult startDiscoveryJob(StartDiscoveryJobRequest startDiscoveryJobRequest)

        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.

        Parameters:
        startDiscoveryJobRequest -
        Returns:
        Result of the StartDiscoveryJob operation returned by the service.
        Throws:
        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.
        See Also:
        AWS API Documentation
      • stopDiscoveryJob

        StopDiscoveryJobResult stopDiscoveryJob(StopDiscoveryJobRequest stopDiscoveryJobRequest)

        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.

        Parameters:
        stopDiscoveryJobRequest -
        Returns:
        Result of the StopDiscoveryJob operation returned by the service.
        Throws:
        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.
        See Also:
        AWS API Documentation
      • tagResource

        TagResourceResult tagResource(TagResourceRequest tagResourceRequest)

        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.

        Parameters:
        tagResourceRequest - TagResourceRequest
        Returns:
        Result of the TagResource operation returned by the service.
        Throws:
        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.
        See Also:
        AWS API Documentation
      • updateLocationAzureBlob

        UpdateLocationAzureBlobResult updateLocationAzureBlob(UpdateLocationAzureBlobRequest updateLocationAzureBlobRequest)

        Modifies some configurations of the Microsoft Azure Blob Storage transfer location that you're using with DataSync.

        Parameters:
        updateLocationAzureBlobRequest -
        Returns:
        Result of the UpdateLocationAzureBlob operation returned by the service.
        Throws:
        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.
        See Also:
        AWS API Documentation
      • updateLocationHdfs

        UpdateLocationHdfsResult updateLocationHdfs(UpdateLocationHdfsRequest updateLocationHdfsRequest)

        Updates some parameters of a previously created location for a Hadoop Distributed File System cluster.

        Parameters:
        updateLocationHdfsRequest -
        Returns:
        Result of the UpdateLocationHdfs operation returned by the service.
        Throws:
        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.
        See Also:
        AWS API Documentation
      • updateLocationSmb

        UpdateLocationSmbResult updateLocationSmb(UpdateLocationSmbRequest updateLocationSmbRequest)

        Updates some of the parameters of a Server Message Block (SMB) file server location that you can use for DataSync transfers.

        Parameters:
        updateLocationSmbRequest -
        Returns:
        Result of the UpdateLocationSmb operation returned by the service.
        Throws:
        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.
        See Also:
        AWS API Documentation
      • updateStorageSystem

        UpdateStorageSystemResult updateStorageSystem(UpdateStorageSystemRequest updateStorageSystemRequest)

        Modifies some configurations of an on-premises storage system resource that you're using with DataSync Discovery.

        Parameters:
        updateStorageSystemRequest -
        Returns:
        Result of the UpdateStorageSystem operation returned by the service.
        Throws:
        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.
        See Also:
        AWS API Documentation
      • updateTask

        UpdateTaskResult updateTask(UpdateTaskRequest updateTaskRequest)

        Updates the configuration of a task, which defines where and how DataSync transfers your data.

        Parameters:
        updateTaskRequest - UpdateTaskResponse
        Returns:
        Result of the UpdateTask operation returned by the service.
        Throws:
        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.
        See Also:
        AWS API Documentation
      • updateTaskExecution

        UpdateTaskExecutionResult updateTaskExecution(UpdateTaskExecutionRequest updateTaskExecutionRequest)

        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.

        Parameters:
        updateTaskExecutionRequest -
        Returns:
        Result of the UpdateTaskExecution operation returned by the service.
        Throws:
        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.
        See Also:
        AWS API Documentation
      • shutdown

        void shutdown()
        Shuts down this client object, releasing any resources that might be held open. This is an optional method, and callers are not expected to call it, but can if they want to explicitly release any open resources. Once a client has been shutdown, it should not be used to make any more requests.
      • getCachedResponseMetadata

        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. This data isn't considered part of the result data returned by an operation, so it's available through this separate, diagnostic interface.

        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.

        Parameters:
        request - The originally executed request.
        Returns:
        The response metadata for the specified request, or null if none is available.
Skip navigation links

AltStyle によって変換されたページ (->オリジナル) /