Class: Aws::DataSync::Client
- Inherits:
-
Seahorse::Client::Base
- Object
- Seahorse::Client::Base
- Aws::DataSync::Client
- Includes:
- ClientStubs
- Defined in:
- gems/aws-sdk-datasync/lib/aws-sdk-datasync/client.rb
Overview
An API client for DataSync. To construct a client, you need to configure a :region
and :credentials
.
client = Aws::DataSync::Client.new(
region: region_name,
credentials: credentials,
# ...
)
For details on configuring region and credentials see the developer guide.
See #initialize for a full list of supported configuration options.
Instance Attribute Summary
Attributes inherited from Seahorse::Client::Base
API Operations collapse
-
#cancel_task_execution(params = {}) ⇒ Struct
Stops an DataSync task execution that's in progress.
-
#create_agent(params = {}) ⇒ Types::CreateAgentResponse
Activates an DataSync agent that you have deployed in your storage environment.
-
#create_location_efs(params = {}) ⇒ Types::CreateLocationEfsResponse
Creates an endpoint for an Amazon EFS file system that DataSync can access for a transfer.
-
#create_location_fsx_lustre(params = {}) ⇒ Types::CreateLocationFsxLustreResponse
Creates an endpoint for an Amazon FSx for Lustre file system.
-
#create_location_fsx_ontap(params = {}) ⇒ Types::CreateLocationFsxOntapResponse
Creates an endpoint for an Amazon FSx for NetApp ONTAP file system that DataSync can access for a transfer.
-
#create_location_fsx_open_zfs(params = {}) ⇒ Types::CreateLocationFsxOpenZfsResponse
Creates an endpoint for an Amazon FSx for OpenZFS file system that DataSync can access for a transfer.
-
#create_location_fsx_windows(params = {}) ⇒ Types::CreateLocationFsxWindowsResponse
Creates an endpoint for an Amazon FSx for Windows File Server file system.
-
#create_location_hdfs(params = {}) ⇒ Types::CreateLocationHdfsResponse
Creates an endpoint for a Hadoop Distributed File System (HDFS).
-
#create_location_nfs(params = {}) ⇒ Types::CreateLocationNfsResponse
Defines a file system on a Network File System (NFS) server that can be read from or written to.
-
#create_location_object_storage(params = {}) ⇒ Types::CreateLocationObjectStorageResponse
Creates an endpoint for an object storage system that DataSync can access for a transfer.
-
#create_location_s3(params = {}) ⇒ Types::CreateLocationS3Response
Creates an endpoint for an Amazon S3 bucket that DataSync can access for a transfer.
-
#create_location_smb(params = {}) ⇒ Types::CreateLocationSmbResponse
Creates an endpoint for a Server Message Block (SMB) file server that DataSync can access for a transfer.
-
#create_task(params = {}) ⇒ Types::CreateTaskResponse
Configures a task, which defines where and how DataSync transfers your data.
-
#delete_agent(params = {}) ⇒ Struct
Deletes an agent.
-
#delete_location(params = {}) ⇒ Struct
Deletes the configuration of a location used by DataSync.
-
#delete_task(params = {}) ⇒ Struct
Deletes an DataSync task.
-
#describe_agent(params = {}) ⇒ Types::DescribeAgentResponse
Returns metadata about an DataSync agent, such as its name, endpoint type, and status.
-
#describe_location_efs(params = {}) ⇒ Types::DescribeLocationEfsResponse
Returns metadata about your DataSync location for an Amazon EFS file system.
-
#describe_location_fsx_lustre(params = {}) ⇒ Types::DescribeLocationFsxLustreResponse
Provides details about how an DataSync location for an Amazon FSx for Lustre file system is configured.
-
#describe_location_fsx_ontap(params = {}) ⇒ Types::DescribeLocationFsxOntapResponse
Provides details about how an DataSync location for an Amazon FSx for NetApp ONTAP file system is configured.
-
#describe_location_fsx_open_zfs(params = {}) ⇒ Types::DescribeLocationFsxOpenZfsResponse
Provides details about how an DataSync location for an Amazon FSx for OpenZFS file system is configured.
-
#describe_location_fsx_windows(params = {}) ⇒ Types::DescribeLocationFsxWindowsResponse
Returns metadata about an Amazon FSx for Windows File Server location, such as information about its path.
-
#describe_location_hdfs(params = {}) ⇒ Types::DescribeLocationHdfsResponse
Returns metadata, such as the authentication information about the Hadoop Distributed File System (HDFS) location.
-
#describe_location_nfs(params = {}) ⇒ Types::DescribeLocationNfsResponse
Returns metadata, such as the path information, about an NFS location.
-
#describe_location_object_storage(params = {}) ⇒ Types::DescribeLocationObjectStorageResponse
Returns metadata about your DataSync location for an object storage system.
-
#describe_location_s3(params = {}) ⇒ Types::DescribeLocationS3Response
Returns metadata, such as bucket name, about an Amazon S3 bucket location.
-
#describe_location_smb(params = {}) ⇒ Types::DescribeLocationSmbResponse
Returns metadata, such as the path and user information about an SMB location.
-
#describe_task(params = {}) ⇒ Types::DescribeTaskResponse
Returns metadata about a task.
-
#describe_task_execution(params = {}) ⇒ Types::DescribeTaskExecutionResponse
Returns detailed metadata about a task that is being executed.
-
#list_agents(params = {}) ⇒ Types::ListAgentsResponse
Returns a list of DataSync agents that belong to an Amazon Web Services account in the Amazon Web Services Region specified in the request.
-
#list_locations(params = {}) ⇒ Types::ListLocationsResponse
Returns a list of source and destination locations.
-
#list_tags_for_resource(params = {}) ⇒ Types::ListTagsForResourceResponse
Returns all the tags associated with an Amazon Web Services resource.
-
#list_task_executions(params = {}) ⇒ Types::ListTaskExecutionsResponse
Returns a list of executed tasks.
-
#list_tasks(params = {}) ⇒ Types::ListTasksResponse
Returns a list of the DataSync tasks you created.
-
#start_task_execution(params = {}) ⇒ Types::StartTaskExecutionResponse
Starts an DataSync task.
-
#tag_resource(params = {}) ⇒ Struct
Applies a tag to an Amazon Web Services resource.
-
#untag_resource(params = {}) ⇒ Struct
Removes tags from an Amazon Web Services resource.
-
#update_agent(params = {}) ⇒ Struct
Updates the name of an agent.
-
#update_location_hdfs(params = {}) ⇒ Struct
Updates some parameters of a previously created location for a Hadoop Distributed File System cluster.
-
#update_location_nfs(params = {}) ⇒ Struct
Updates some of the parameters of a previously created location for Network File System (NFS) access.
-
#update_location_object_storage(params = {}) ⇒ Struct
Updates some parameters of an existing object storage location that DataSync accesses for a transfer.
-
#update_location_smb(params = {}) ⇒ Struct
Updates some of the parameters of a previously created location for Server Message Block (SMB) file system access.
-
#update_task(params = {}) ⇒ Struct
Updates the metadata associated with a task.
-
#update_task_execution(params = {}) ⇒ Struct
Updates execution of a task.
Instance Method Summary collapse
-
#initialize(options) ⇒ Client
constructor
A new instance of Client.
Methods included from ClientStubs
#api_requests, #stub_data, #stub_responses
Methods inherited from Seahorse::Client::Base
add_plugin, api, clear_plugins, define, new, #operation_names, plugins, remove_plugin, set_api, set_plugins
Methods included from Seahorse::Client::HandlerBuilder
#handle, #handle_request, #handle_response
Constructor Details
#initialize(options) ⇒ Client
Returns a new instance of Client.
375 376 377 |
# File 'gems/aws-sdk-datasync/lib/aws-sdk-datasync/client.rb', line 375 def initialize(*args) super end |
Instance Method Details
#cancel_task_execution(params = {}) ⇒ Struct
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.
408 409 410 411 |
# File 'gems/aws-sdk-datasync/lib/aws-sdk-datasync/client.rb', line 408 def cancel_task_execution(params = {}, = {}) req = build_request(:cancel_task_execution, params) req.send_request() end |
#create_agent(params = {}) ⇒ Types::CreateAgentResponse
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.
523 524 525 526 |
# File 'gems/aws-sdk-datasync/lib/aws-sdk-datasync/client.rb', line 523 def create_agent(params = {}, = {}) req = build_request(:create_agent, params) req.send_request() end |
#create_location_efs(params = {}) ⇒ Types::CreateLocationEfsResponse
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.
609 610 611 612 |
# File 'gems/aws-sdk-datasync/lib/aws-sdk-datasync/client.rb', line 609 def create_location_efs(params = {}, = {}) req = build_request(:create_location_efs, params) req.send_request() end |
#create_location_fsx_lustre(params = {}) ⇒ Types::CreateLocationFsxLustreResponse
Creates an endpoint for an Amazon FSx for Lustre file system.
660 661 662 663 |
# File 'gems/aws-sdk-datasync/lib/aws-sdk-datasync/client.rb', line 660 def create_location_fsx_lustre(params = {}, = {}) req = build_request(:create_location_fsx_lustre, params) req.send_request() end |
#create_location_fsx_ontap(params = {}) ⇒ Types::CreateLocationFsxOntapResponse
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.
760 761 762 763 |
# File 'gems/aws-sdk-datasync/lib/aws-sdk-datasync/client.rb', line 760 def create_location_fsx_ontap(params = {}, = {}) req = build_request(:create_location_fsx_ontap, params) req.send_request() end |
#create_location_fsx_open_zfs(params = {}) ⇒ Types::CreateLocationFsxOpenZfsResponse
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.
SMB
aren't supported with the
CreateLocationFsxOpenZfs
operation.
840 841 842 843 |
# File 'gems/aws-sdk-datasync/lib/aws-sdk-datasync/client.rb', line 840 def create_location_fsx_open_zfs(params = {}, = {}) req = build_request(:create_location_fsx_open_zfs, params) req.send_request() end |
#create_location_fsx_windows(params = {}) ⇒ Types::CreateLocationFsxWindowsResponse
Creates an endpoint for an Amazon FSx for Windows File Server file system.
922 923 924 925 |
# File 'gems/aws-sdk-datasync/lib/aws-sdk-datasync/client.rb', line 922 def create_location_fsx_windows(params = {}, = {}) req = build_request(:create_location_fsx_windows, params) req.send_request() end |
#create_location_hdfs(params = {}) ⇒ Types::CreateLocationHdfsResponse
Creates an endpoint for a Hadoop Distributed File System (HDFS).
1057 1058 1059 1060 |
# File 'gems/aws-sdk-datasync/lib/aws-sdk-datasync/client.rb', line 1057 def create_location_hdfs(params = {}, = {}) req = build_request(:create_location_hdfs, params) req.send_request() end |
#create_location_nfs(params = {}) ⇒ Types::CreateLocationNfsResponse
Defines a file system on a Network File System (NFS) server that can be read from or written to.
1164 1165 1166 1167 |
# File 'gems/aws-sdk-datasync/lib/aws-sdk-datasync/client.rb', line 1164 def create_location_nfs(params = {}, = {}) req = build_request(:create_location_nfs, params) req.send_request() end |
#create_location_object_storage(params = {}) ⇒ Types::CreateLocationObjectStorageResponse
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.
1258 1259 1260 1261 |
# File 'gems/aws-sdk-datasync/lib/aws-sdk-datasync/client.rb', line 1258 def create_location_object_storage(params = {}, = {}) req = build_request(:create_location_object_storage, params) req.send_request() end |
#create_location_s3(params = {}) ⇒ Types::CreateLocationS3Response
Creates an endpoint for an Amazon S3 bucket that DataSync can access for a transfer. For more information, see Create an Amazon S3 location.
1350 1351 1352 1353 |
# File 'gems/aws-sdk-datasync/lib/aws-sdk-datasync/client.rb', line 1350 def create_location_s3(params = {}, = {}) req = build_request(:create_location_s3, params) req.send_request() end |
#create_location_smb(params = {}) ⇒ Types::CreateLocationSmbResponse
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.
1463 1464 1465 1466 |
# File 'gems/aws-sdk-datasync/lib/aws-sdk-datasync/client.rb', line 1463 def create_location_smb(params = {}, = {}) req = build_request(:create_location_smb, params) req.send_request() end |
#create_task(params = {}) ⇒ Types::CreateTaskResponse
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).
1595 1596 1597 1598 |
# File 'gems/aws-sdk-datasync/lib/aws-sdk-datasync/client.rb', line 1595 def create_task(params = {}, = {}) req = build_request(:create_task, params) req.send_request() end |
#delete_agent(params = {}) ⇒ Struct
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.
1623 1624 1625 1626 |
# File 'gems/aws-sdk-datasync/lib/aws-sdk-datasync/client.rb', line 1623 def delete_agent(params = {}, = {}) req = build_request(:delete_agent, params) req.send_request() end |
#delete_location(params = {}) ⇒ Struct
Deletes the configuration of a location used by DataSync.
1645 1646 1647 1648 |
# File 'gems/aws-sdk-datasync/lib/aws-sdk-datasync/client.rb', line 1645 def delete_location(params = {}, = {}) req = build_request(:delete_location, params) req.send_request() end |
#delete_task(params = {}) ⇒ Struct
Deletes an DataSync task.
1668 1669 1670 1671 |
# File 'gems/aws-sdk-datasync/lib/aws-sdk-datasync/client.rb', line 1668 def delete_task(params = {}, = {}) req = build_request(:delete_task, params) req.send_request() end |
#describe_agent(params = {}) ⇒ Types::DescribeAgentResponse
Returns metadata about an DataSync agent, such as its name, endpoint type, and status.
1715 1716 1717 1718 |
# File 'gems/aws-sdk-datasync/lib/aws-sdk-datasync/client.rb', line 1715 def describe_agent(params = {}, = {}) req = build_request(:describe_agent, params) req.send_request() end |
#describe_location_efs(params = {}) ⇒ Types::DescribeLocationEfsResponse
Returns metadata about your DataSync location for an Amazon EFS file system.
1759 1760 1761 1762 |
# File 'gems/aws-sdk-datasync/lib/aws-sdk-datasync/client.rb', line 1759 def describe_location_efs(params = {}, = {}) req = build_request(:describe_location_efs, params) req.send_request() end |
#describe_location_fsx_lustre(params = {}) ⇒ Types::DescribeLocationFsxLustreResponse
Provides details about how an DataSync location for an Amazon FSx for Lustre file system is configured.
1796 1797 1798 1799 |
# File 'gems/aws-sdk-datasync/lib/aws-sdk-datasync/client.rb', line 1796 def describe_location_fsx_lustre(params = {}, = {}) req = build_request(:describe_location_fsx_lustre, params) req.send_request() end |
#describe_location_fsx_ontap(params = {}) ⇒ Types::DescribeLocationFsxOntapResponse
Provides details about how an DataSync location for an Amazon FSx for NetApp ONTAP file system is configured.
DescribeLocationFsxOntap
operation
doesn't actually return a Password
.
1848 1849 1850 1851 |
# File 'gems/aws-sdk-datasync/lib/aws-sdk-datasync/client.rb', line 1848 def describe_location_fsx_ontap(params = {}, = {}) req = build_request(:describe_location_fsx_ontap, params) req.send_request() end |
#describe_location_fsx_open_zfs(params = {}) ⇒ Types::DescribeLocationFsxOpenZfsResponse
Provides details about how an DataSync location for an Amazon FSx for OpenZFS file system is configured.
SMB
aren't supported with the
DescribeLocationFsxOpenZfs
operation.
1896 1897 1898 1899 |
# File 'gems/aws-sdk-datasync/lib/aws-sdk-datasync/client.rb', line 1896 def describe_location_fsx_open_zfs(params = {}, = {}) req = build_request(:describe_location_fsx_open_zfs, params) req.send_request() end |
#describe_location_fsx_windows(params = {}) ⇒ Types::DescribeLocationFsxWindowsResponse
Returns metadata about an Amazon FSx for Windows File Server location, such as information about its path.
1937 1938 1939 1940 |
# File 'gems/aws-sdk-datasync/lib/aws-sdk-datasync/client.rb', line 1937 def describe_location_fsx_windows(params = {}, = {}) req = build_request(:describe_location_fsx_windows, params) req.send_request() end |
#describe_location_hdfs(params = {}) ⇒ Types::DescribeLocationHdfsResponse
Returns metadata, such as the authentication information about the Hadoop Distributed File System (HDFS) location.
1993 1994 1995 1996 |
# File 'gems/aws-sdk-datasync/lib/aws-sdk-datasync/client.rb', line 1993 def describe_location_hdfs(params = {}, = {}) req = build_request(:describe_location_hdfs, params) req.send_request() end |
#describe_location_nfs(params = {}) ⇒ Types::DescribeLocationNfsResponse
Returns metadata, such as the path information, about an NFS location.
2030 2031 2032 2033 |
# File 'gems/aws-sdk-datasync/lib/aws-sdk-datasync/client.rb', line 2030 def describe_location_nfs(params = {}, = {}) req = build_request(:describe_location_nfs, params) req.send_request() end |
#describe_location_object_storage(params = {}) ⇒ Types::DescribeLocationObjectStorageResponse
Returns metadata about your DataSync location for an object storage system.
2075 2076 2077 2078 |
# File 'gems/aws-sdk-datasync/lib/aws-sdk-datasync/client.rb', line 2075 def describe_location_object_storage(params = {}, = {}) req = build_request(:describe_location_object_storage, params) req.send_request() end |
#describe_location_s3(params = {}) ⇒ Types::DescribeLocationS3Response
Returns metadata, such as bucket name, about an Amazon S3 bucket location.
2116 2117 2118 2119 |
# File 'gems/aws-sdk-datasync/lib/aws-sdk-datasync/client.rb', line 2116 def describe_location_s3(params = {}, = {}) req = build_request(:describe_location_s3, params) req.send_request() end |
#describe_location_smb(params = {}) ⇒ Types::DescribeLocationSmbResponse
Returns metadata, such as the path and user information about an SMB location.
2158 2159 2160 2161 |
# File 'gems/aws-sdk-datasync/lib/aws-sdk-datasync/client.rb', line 2158 def describe_location_smb(params = {}, = {}) req = build_request(:describe_location_smb, params) req.send_request() end |
#describe_task(params = {}) ⇒ Types::DescribeTaskResponse
Returns metadata about a task.
2236 2237 2238 2239 |
# File 'gems/aws-sdk-datasync/lib/aws-sdk-datasync/client.rb', line 2236 def describe_task(params = {}, = {}) req = build_request(:describe_task, params) req.send_request() end |
#describe_task_execution(params = {}) ⇒ Types::DescribeTaskExecutionResponse
Returns detailed metadata about a task that is being executed.
2314 2315 2316 2317 |
# File 'gems/aws-sdk-datasync/lib/aws-sdk-datasync/client.rb', line 2314 def describe_task_execution(params = {}, = {}) req = build_request(:describe_task_execution, params) req.send_request() end |
#list_agents(params = {}) ⇒ Types::ListAgentsResponse
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.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
2375 2376 2377 2378 |
# File 'gems/aws-sdk-datasync/lib/aws-sdk-datasync/client.rb', line 2375 def list_agents(params = {}, = {}) req = build_request(:list_agents, params) req.send_request() end |
#list_locations(params = {}) ⇒ Types::ListLocationsResponse
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.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
2432 2433 2434 2435 |
# File 'gems/aws-sdk-datasync/lib/aws-sdk-datasync/client.rb', line 2432 def list_locations(params = {}, = {}) req = build_request(:list_locations, params) req.send_request() end |
#list_tags_for_resource(params = {}) ⇒ Types::ListTagsForResourceResponse
Returns all the tags associated with an Amazon Web Services resource.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
2476 2477 2478 2479 |
# File 'gems/aws-sdk-datasync/lib/aws-sdk-datasync/client.rb', line 2476 def (params = {}, = {}) req = build_request(:list_tags_for_resource, params) req.send_request() end |
#list_task_executions(params = {}) ⇒ Types::ListTaskExecutionsResponse
Returns a list of executed tasks.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
2520 2521 2522 2523 |
# File 'gems/aws-sdk-datasync/lib/aws-sdk-datasync/client.rb', line 2520 def list_task_executions(params = {}, = {}) req = build_request(:list_task_executions, params) req.send_request() end |
#list_tasks(params = {}) ⇒ Types::ListTasksResponse
Returns a list of the DataSync tasks you created.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
2573 2574 2575 2576 |
# File 'gems/aws-sdk-datasync/lib/aws-sdk-datasync/client.rb', line 2573 def list_tasks(params = {}, = {}) req = build_request(:list_tasks, params) req.send_request() end |
#start_task_execution(params = {}) ⇒ Types::StartTaskExecutionResponse
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.
2674 2675 2676 2677 |
# File 'gems/aws-sdk-datasync/lib/aws-sdk-datasync/client.rb', line 2674 def start_task_execution(params = {}, = {}) req = build_request(:start_task_execution, params) req.send_request() end |
#tag_resource(params = {}) ⇒ Struct
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.
2710 2711 2712 2713 |
# File 'gems/aws-sdk-datasync/lib/aws-sdk-datasync/client.rb', line 2710 def tag_resource(params = {}, = {}) req = build_request(:tag_resource, params) req.send_request() end |
#untag_resource(params = {}) ⇒ Struct
Removes tags from an Amazon Web Services resource.
2737 2738 2739 2740 |
# File 'gems/aws-sdk-datasync/lib/aws-sdk-datasync/client.rb', line 2737 def untag_resource(params = {}, = {}) req = build_request(:untag_resource, params) req.send_request() end |
#update_agent(params = {}) ⇒ Struct
Updates the name of an agent.
2763 2764 2765 2766 |
# File 'gems/aws-sdk-datasync/lib/aws-sdk-datasync/client.rb', line 2763 def update_agent(params = {}, = {}) req = build_request(:update_agent, params) req.send_request() end |
#update_location_hdfs(params = {}) ⇒ Struct
Updates some parameters of a previously created location for a Hadoop Distributed File System cluster.
2858 2859 2860 2861 |
# File 'gems/aws-sdk-datasync/lib/aws-sdk-datasync/client.rb', line 2858 def update_location_hdfs(params = {}, = {}) req = build_request(:update_location_hdfs, params) req.send_request() end |
#update_location_nfs(params = {}) ⇒ Struct
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.
2932 2933 2934 2935 |
# File 'gems/aws-sdk-datasync/lib/aws-sdk-datasync/client.rb', line 2932 def update_location_nfs(params = {}, = {}) req = build_request(:update_location_nfs, params) req.send_request() end |
#update_location_object_storage(params = {}) ⇒ Struct
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.
3007 3008 3009 3010 |
# File 'gems/aws-sdk-datasync/lib/aws-sdk-datasync/client.rb', line 3007 def update_location_object_storage(params = {}, = {}) req = build_request(:update_location_object_storage, params) req.send_request() end |
#update_location_smb(params = {}) ⇒ Struct
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.
3089 3090 3091 3092 |
# File 'gems/aws-sdk-datasync/lib/aws-sdk-datasync/client.rb', line 3089 def update_location_smb(params = {}, = {}) req = build_request(:update_location_smb, params) req.send_request() end |
#update_task(params = {}) ⇒ Struct
Updates the metadata associated with a task.
3192 3193 3194 3195 |
# File 'gems/aws-sdk-datasync/lib/aws-sdk-datasync/client.rb', line 3192 def update_task(params = {}, = {}) req = build_request(:update_task, params) req.send_request() end |
#update_task_execution(params = {}) ⇒ Struct
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.
Option
that can be modified by UpdateTaskExecution
is
BytesPerSecond
.
3254 3255 3256 3257 |
# File 'gems/aws-sdk-datasync/lib/aws-sdk-datasync/client.rb', line 3254 def update_task_execution(params = {}, = {}) req = build_request(:update_task_execution, params) req.send_request() end |