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
Cancels execution of a task.
-
#create_agent(params = {}) ⇒ Types::CreateAgentResponse
Activates an DataSync agent that you have deployed on your host.
-
#create_location_efs(params = {}) ⇒ Types::CreateLocationEfsResponse
Creates an endpoint for an Amazon EFS file system.
-
#create_location_fsx_lustre(params = {}) ⇒ Types::CreateLocationFsxLustreResponse
Creates an endpoint for an Amazon FSx for Lustre file system.
-
#create_location_fsx_open_zfs(params = {}) ⇒ Types::CreateLocationFsxOpenZfsResponse
Creates an endpoint for an Amazon FSx for OpenZFS file system.
-
#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 a self-managed object storage bucket.
-
#create_location_s3(params = {}) ⇒ Types::CreateLocationS3Response
Creates an endpoint for an Amazon S3 bucket.
-
#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
Creates a task.
-
#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 a 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, such as the path information about an Amazon EFS location.
-
#describe_location_fsx_lustre(params = {}) ⇒ Types::DescribeLocationFsxLustreResponse
Returns metadata about an Amazon FSx for Lustre location, such as information about its path.
-
#describe_location_fsx_open_zfs(params = {}) ⇒ Types::DescribeLocationFsxOpenZfsResponse
Returns metadata about an Amazon FSx for OpenZFS location, such as information about its path.
-
#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 a self-managed object storage server location.
-
#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 a specified resource.
-
#list_task_executions(params = {}) ⇒ Types::ListTaskExecutionsResponse
Returns a list of executed tasks.
-
#list_tasks(params = {}) ⇒ Types::ListTasksResponse
Returns a list of all the tasks.
-
#start_task_execution(params = {}) ⇒ Types::StartTaskExecutionResponse
Starts a specific invocation of a task.
-
#tag_resource(params = {}) ⇒ Struct
Applies a key-value pair to an Amazon Web Services resource.
-
#untag_resource(params = {}) ⇒ Struct
Removes a tag 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 of the parameters of a previously created location for self-managed object storage server access.
-
#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.
358 359 360 |
# File 'gems/aws-sdk-datasync/lib/aws-sdk-datasync/client.rb', line 358 def initialize(*args) super end |
Instance Method Details
#cancel_task_execution(params = {}) ⇒ Struct
Cancels execution of a task.
When you cancel a task execution, the transfer of some files is abruptly interrupted. The contents of files that are transferred to the destination might be incomplete or inconsistent with the source files. However, if you start a new task execution on the same task and you allow the task execution to complete, file content on the destination is complete and consistent. This applies to other unexpected failures that interrupt a task execution. In all of these cases, DataSync successfully complete the transfer when you start the next task execution.
391 392 393 394 |
# File 'gems/aws-sdk-datasync/lib/aws-sdk-datasync/client.rb', line 391 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 on your host. 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.
506 507 508 509 |
# File 'gems/aws-sdk-datasync/lib/aws-sdk-datasync/client.rb', line 506 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.
585 586 587 588 |
# File 'gems/aws-sdk-datasync/lib/aws-sdk-datasync/client.rb', line 585 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.
636 637 638 639 |
# File 'gems/aws-sdk-datasync/lib/aws-sdk-datasync/client.rb', line 636 def create_location_fsx_lustre(params = {}, = {}) req = build_request(:create_location_fsx_lustre, params) req.send_request() end |
#create_location_fsx_open_zfs(params = {}) ⇒ Types::CreateLocationFsxOpenZfsResponse
Creates an endpoint for an Amazon FSx for OpenZFS file system.
697 698 699 700 |
# File 'gems/aws-sdk-datasync/lib/aws-sdk-datasync/client.rb', line 697 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.
770 771 772 773 |
# File 'gems/aws-sdk-datasync/lib/aws-sdk-datasync/client.rb', line 770 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).
905 906 907 908 |
# File 'gems/aws-sdk-datasync/lib/aws-sdk-datasync/client.rb', line 905 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.
1012 1013 1014 1015 |
# File 'gems/aws-sdk-datasync/lib/aws-sdk-datasync/client.rb', line 1012 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 a self-managed object storage bucket. For more information about self-managed object storage locations, see Creating a location for object storage.
1101 1102 1103 1104 |
# File 'gems/aws-sdk-datasync/lib/aws-sdk-datasync/client.rb', line 1101 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.
For more information, see Create an Amazon S3 location in the DataSync User Guide.
1194 1195 1196 1197 |
# File 'gems/aws-sdk-datasync/lib/aws-sdk-datasync/client.rb', line 1194 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.
1293 1294 1295 1296 |
# File 'gems/aws-sdk-datasync/lib/aws-sdk-datasync/client.rb', line 1293 def create_location_smb(params = {}, = {}) req = build_request(:create_location_smb, params) req.send_request() end |
#create_task(params = {}) ⇒ Types::CreateTaskResponse
Creates a task.
A task includes a source location and a destination location, and a configuration that specifies how data is transferred. A task always transfers data from the source location to the destination location. The configuration specifies options such as task scheduling, bandwidth limits, etc. A task is the complete definition of a data transfer.
When you create a task that transfers data between Amazon Web Services services in different Amazon Web Services Regions, one of the two locations that you specify must reside in the Region where DataSync is being used. The other location must be specified in a different Region.
You can transfer data between commercial Amazon Web Services Regions except for China, or between Amazon Web Services GovCloud (US) Regions.
When you use DataSync to copy files or objects between Amazon Web Services Regions, you pay for data transfer between Regions. This is billed as data transfer OUT from your source Region to your destination Region. For more information, see Data Transfer pricing.
1440 1441 1442 1443 |
# File 'gems/aws-sdk-datasync/lib/aws-sdk-datasync/client.rb', line 1440 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.
1468 1469 1470 1471 |
# File 'gems/aws-sdk-datasync/lib/aws-sdk-datasync/client.rb', line 1468 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.
1490 1491 1492 1493 |
# File 'gems/aws-sdk-datasync/lib/aws-sdk-datasync/client.rb', line 1490 def delete_location(params = {}, = {}) req = build_request(:delete_location, params) req.send_request() end |
#delete_task(params = {}) ⇒ Struct
Deletes a task.
1512 1513 1514 1515 |
# File 'gems/aws-sdk-datasync/lib/aws-sdk-datasync/client.rb', line 1512 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.
1560 1561 1562 1563 |
# File 'gems/aws-sdk-datasync/lib/aws-sdk-datasync/client.rb', line 1560 def describe_agent(params = {}, = {}) req = build_request(:describe_agent, params) req.send_request() end |
#describe_location_efs(params = {}) ⇒ Types::DescribeLocationEfsResponse
Returns metadata, such as the path information about an Amazon EFS location.
1597 1598 1599 1600 |
# File 'gems/aws-sdk-datasync/lib/aws-sdk-datasync/client.rb', line 1597 def describe_location_efs(params = {}, = {}) req = build_request(:describe_location_efs, params) req.send_request() end |
#describe_location_fsx_lustre(params = {}) ⇒ Types::DescribeLocationFsxLustreResponse
Returns metadata about an Amazon FSx for Lustre location, such as information about its path.
1634 1635 1636 1637 |
# File 'gems/aws-sdk-datasync/lib/aws-sdk-datasync/client.rb', line 1634 def describe_location_fsx_lustre(params = {}, = {}) req = build_request(:describe_location_fsx_lustre, params) req.send_request() end |
#describe_location_fsx_open_zfs(params = {}) ⇒ Types::DescribeLocationFsxOpenZfsResponse
Returns metadata about an Amazon FSx for OpenZFS location, such as information about its path.
1673 1674 1675 1676 |
# File 'gems/aws-sdk-datasync/lib/aws-sdk-datasync/client.rb', line 1673 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.
1714 1715 1716 1717 |
# File 'gems/aws-sdk-datasync/lib/aws-sdk-datasync/client.rb', line 1714 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.
1770 1771 1772 1773 |
# File 'gems/aws-sdk-datasync/lib/aws-sdk-datasync/client.rb', line 1770 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.
1807 1808 1809 1810 |
# File 'gems/aws-sdk-datasync/lib/aws-sdk-datasync/client.rb', line 1807 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 a self-managed object storage server location. For more information about self-managed object storage locations, see Creating a location for object storage.
1855 1856 1857 1858 |
# File 'gems/aws-sdk-datasync/lib/aws-sdk-datasync/client.rb', line 1855 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.
1896 1897 1898 1899 |
# File 'gems/aws-sdk-datasync/lib/aws-sdk-datasync/client.rb', line 1896 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.
1938 1939 1940 1941 |
# File 'gems/aws-sdk-datasync/lib/aws-sdk-datasync/client.rb', line 1938 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.
2016 2017 2018 2019 |
# File 'gems/aws-sdk-datasync/lib/aws-sdk-datasync/client.rb', line 2016 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.
2092 2093 2094 2095 |
# File 'gems/aws-sdk-datasync/lib/aws-sdk-datasync/client.rb', line 2092 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.
2143 2144 2145 2146 |
# File 'gems/aws-sdk-datasync/lib/aws-sdk-datasync/client.rb', line 2143 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.
2200 2201 2202 2203 |
# File 'gems/aws-sdk-datasync/lib/aws-sdk-datasync/client.rb', line 2200 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 a specified resource.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
2243 2244 2245 2246 |
# File 'gems/aws-sdk-datasync/lib/aws-sdk-datasync/client.rb', line 2243 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.
2287 2288 2289 2290 |
# File 'gems/aws-sdk-datasync/lib/aws-sdk-datasync/client.rb', line 2287 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 all the tasks.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
2340 2341 2342 2343 |
# File 'gems/aws-sdk-datasync/lib/aws-sdk-datasync/client.rb', line 2340 def list_tasks(params = {}, = {}) req = build_request(:list_tasks, params) req.send_request() end |
#start_task_execution(params = {}) ⇒ Types::StartTaskExecutionResponse
Starts a specific invocation of a task. A TaskExecution
value
represents an individual run of a task. Each task can have at most one
TaskExecution
at a time.
TaskExecution
has the following transition phases: INITIALIZING |
PREPARING | TRANSFERRING | VERIFYING | SUCCESS/FAILURE.
For detailed information, see the Task Execution section in the Components and Terminology topic in the DataSync User Guide.
2433 2434 2435 2436 |
# File 'gems/aws-sdk-datasync/lib/aws-sdk-datasync/client.rb', line 2433 def start_task_execution(params = {}, = {}) req = build_request(:start_task_execution, params) req.send_request() end |
#tag_resource(params = {}) ⇒ Struct
Applies a key-value pair to an Amazon Web Services resource.
2464 2465 2466 2467 |
# File 'gems/aws-sdk-datasync/lib/aws-sdk-datasync/client.rb', line 2464 def tag_resource(params = {}, = {}) req = build_request(:tag_resource, params) req.send_request() end |
#untag_resource(params = {}) ⇒ Struct
Removes a tag from an Amazon Web Services resource.
2490 2491 2492 2493 |
# File 'gems/aws-sdk-datasync/lib/aws-sdk-datasync/client.rb', line 2490 def untag_resource(params = {}, = {}) req = build_request(:untag_resource, params) req.send_request() end |
#update_agent(params = {}) ⇒ Struct
Updates the name of an agent.
2516 2517 2518 2519 |
# File 'gems/aws-sdk-datasync/lib/aws-sdk-datasync/client.rb', line 2516 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.
2611 2612 2613 2614 |
# File 'gems/aws-sdk-datasync/lib/aws-sdk-datasync/client.rb', line 2611 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.
2686 2687 2688 2689 |
# File 'gems/aws-sdk-datasync/lib/aws-sdk-datasync/client.rb', line 2686 def update_location_nfs(params = {}, = {}) req = build_request(:update_location_nfs, params) req.send_request() end |
#update_location_object_storage(params = {}) ⇒ Struct
Updates some of the parameters of a previously created location for self-managed object storage server access. For information about creating a self-managed object storage location, see Creating a location for object storage.
2752 2753 2754 2755 |
# File 'gems/aws-sdk-datasync/lib/aws-sdk-datasync/client.rb', line 2752 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.
2834 2835 2836 2837 |
# File 'gems/aws-sdk-datasync/lib/aws-sdk-datasync/client.rb', line 2834 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.
2938 2939 2940 2941 |
# File 'gems/aws-sdk-datasync/lib/aws-sdk-datasync/client.rb', line 2938 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
.
3007 3008 3009 3010 |
# File 'gems/aws-sdk-datasync/lib/aws-sdk-datasync/client.rb', line 3007 def update_task_execution(params = {}, = {}) req = build_request(:update_task_execution, params) req.send_request() end |