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
Defines a file system on a Server Message Block (SMB) server that can be read from or written to.
-
#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 such as the name, the network interfaces, and the status (that is, whether the agent is running or not) for an agent.
-
#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 agents owned by 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.
755 756 757 758 |
# File 'gems/aws-sdk-datasync/lib/aws-sdk-datasync/client.rb', line 755 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.
835 836 837 838 |
# File 'gems/aws-sdk-datasync/lib/aws-sdk-datasync/client.rb', line 835 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.
917 918 919 920 |
# File 'gems/aws-sdk-datasync/lib/aws-sdk-datasync/client.rb', line 917 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).
1052 1053 1054 1055 |
# File 'gems/aws-sdk-datasync/lib/aws-sdk-datasync/client.rb', line 1052 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.
1159 1160 1161 1162 |
# File 'gems/aws-sdk-datasync/lib/aws-sdk-datasync/client.rb', line 1159 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.
1253 1254 1255 1256 |
# File 'gems/aws-sdk-datasync/lib/aws-sdk-datasync/client.rb', line 1253 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 in the DataSync User Guide.
1347 1348 1349 1350 |
# File 'gems/aws-sdk-datasync/lib/aws-sdk-datasync/client.rb', line 1347 def create_location_s3(params = {}, = {}) req = build_request(:create_location_s3, params) req.send_request() end |
#create_location_smb(params = {}) ⇒ Types::CreateLocationSmbResponse
Defines a file system on a Server Message Block (SMB) server that can be read from or written to.
1446 1447 1448 1449 |
# File 'gems/aws-sdk-datasync/lib/aws-sdk-datasync/client.rb', line 1446 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).
1578 1579 1580 1581 |
# File 'gems/aws-sdk-datasync/lib/aws-sdk-datasync/client.rb', line 1578 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.
1606 1607 1608 1609 |
# File 'gems/aws-sdk-datasync/lib/aws-sdk-datasync/client.rb', line 1606 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.
1628 1629 1630 1631 |
# File 'gems/aws-sdk-datasync/lib/aws-sdk-datasync/client.rb', line 1628 def delete_location(params = {}, = {}) req = build_request(:delete_location, params) req.send_request() end |
#delete_task(params = {}) ⇒ Struct
Deletes an DataSync task.
1651 1652 1653 1654 |
# File 'gems/aws-sdk-datasync/lib/aws-sdk-datasync/client.rb', line 1651 def delete_task(params = {}, = {}) req = build_request(:delete_task, params) req.send_request() end |
#describe_agent(params = {}) ⇒ Types::DescribeAgentResponse
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.
1699 1700 1701 1702 |
# File 'gems/aws-sdk-datasync/lib/aws-sdk-datasync/client.rb', line 1699 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.
1743 1744 1745 1746 |
# File 'gems/aws-sdk-datasync/lib/aws-sdk-datasync/client.rb', line 1743 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.
1780 1781 1782 1783 |
# File 'gems/aws-sdk-datasync/lib/aws-sdk-datasync/client.rb', line 1780 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
.
1832 1833 1834 1835 |
# File 'gems/aws-sdk-datasync/lib/aws-sdk-datasync/client.rb', line 1832 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.
1880 1881 1882 1883 |
# File 'gems/aws-sdk-datasync/lib/aws-sdk-datasync/client.rb', line 1880 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.
1921 1922 1923 1924 |
# File 'gems/aws-sdk-datasync/lib/aws-sdk-datasync/client.rb', line 1921 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.
1977 1978 1979 1980 |
# File 'gems/aws-sdk-datasync/lib/aws-sdk-datasync/client.rb', line 1977 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.
2014 2015 2016 2017 |
# File 'gems/aws-sdk-datasync/lib/aws-sdk-datasync/client.rb', line 2014 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.
2059 2060 2061 2062 |
# File 'gems/aws-sdk-datasync/lib/aws-sdk-datasync/client.rb', line 2059 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.
2100 2101 2102 2103 |
# File 'gems/aws-sdk-datasync/lib/aws-sdk-datasync/client.rb', line 2100 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.
2142 2143 2144 2145 |
# File 'gems/aws-sdk-datasync/lib/aws-sdk-datasync/client.rb', line 2142 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.
2220 2221 2222 2223 |
# File 'gems/aws-sdk-datasync/lib/aws-sdk-datasync/client.rb', line 2220 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.
2298 2299 2300 2301 |
# File 'gems/aws-sdk-datasync/lib/aws-sdk-datasync/client.rb', line 2298 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 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.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
2349 2350 2351 2352 |
# File 'gems/aws-sdk-datasync/lib/aws-sdk-datasync/client.rb', line 2349 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.
2406 2407 2408 2409 |
# File 'gems/aws-sdk-datasync/lib/aws-sdk-datasync/client.rb', line 2406 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.
2450 2451 2452 2453 |
# File 'gems/aws-sdk-datasync/lib/aws-sdk-datasync/client.rb', line 2450 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.
2494 2495 2496 2497 |
# File 'gems/aws-sdk-datasync/lib/aws-sdk-datasync/client.rb', line 2494 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.
2547 2548 2549 2550 |
# File 'gems/aws-sdk-datasync/lib/aws-sdk-datasync/client.rb', line 2547 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.
2648 2649 2650 2651 |
# File 'gems/aws-sdk-datasync/lib/aws-sdk-datasync/client.rb', line 2648 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.
2684 2685 2686 2687 |
# File 'gems/aws-sdk-datasync/lib/aws-sdk-datasync/client.rb', line 2684 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.
2711 2712 2713 2714 |
# File 'gems/aws-sdk-datasync/lib/aws-sdk-datasync/client.rb', line 2711 def untag_resource(params = {}, = {}) req = build_request(:untag_resource, params) req.send_request() end |
#update_agent(params = {}) ⇒ Struct
Updates the name of an agent.
2737 2738 2739 2740 |
# File 'gems/aws-sdk-datasync/lib/aws-sdk-datasync/client.rb', line 2737 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.
2832 2833 2834 2835 |
# File 'gems/aws-sdk-datasync/lib/aws-sdk-datasync/client.rb', line 2832 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.
2906 2907 2908 2909 |
# File 'gems/aws-sdk-datasync/lib/aws-sdk-datasync/client.rb', line 2906 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.
2981 2982 2983 2984 |
# File 'gems/aws-sdk-datasync/lib/aws-sdk-datasync/client.rb', line 2981 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.
3062 3063 3064 3065 |
# File 'gems/aws-sdk-datasync/lib/aws-sdk-datasync/client.rb', line 3062 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.
3165 3166 3167 3168 |
# File 'gems/aws-sdk-datasync/lib/aws-sdk-datasync/client.rb', line 3165 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
.
3227 3228 3229 3230 |
# File 'gems/aws-sdk-datasync/lib/aws-sdk-datasync/client.rb', line 3227 def update_task_execution(params = {}, = {}) req = build_request(:update_task_execution, params) req.send_request() end |