Class: Aws::DataSync::Client
- Inherits:
-
Seahorse::Client::Base
- Object
- Seahorse::Client::Base
- Aws::DataSync::Client
- Includes:
- ClientStubs
- Defined in:
- 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](/sdk-for-ruby/v3/developer-guide/setup-config.html).
See #initialize for a full list of supported configuration options.
Class Attribute Summary collapse
- .identifier ⇒ Object readonly private
API Operations collapse
-
#add_storage_system(params = {}) ⇒ Types::AddStorageSystemResponse
Creates an Amazon Web Services resource for an on-premises storage system that you want DataSync Discovery to collect information about.
-
#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 deploy in your storage environment.
-
#create_location_azure_blob(params = {}) ⇒ Types::CreateLocationAzureBlobResponse
Creates a transfer location for a Microsoft Azure Blob Storage container.
-
#create_location_efs(params = {}) ⇒ Types::CreateLocationEfsResponse
Creates a transfer location for an Amazon EFS file system.
-
#create_location_fsx_lustre(params = {}) ⇒ Types::CreateLocationFsxLustreResponse
Creates a transfer location for an Amazon FSx for Lustre file system.
-
#create_location_fsx_ontap(params = {}) ⇒ Types::CreateLocationFsxOntapResponse
Creates a transfer location for an Amazon FSx for NetApp ONTAP file system.
-
#create_location_fsx_open_zfs(params = {}) ⇒ Types::CreateLocationFsxOpenZfsResponse
Creates a transfer location for an Amazon FSx for OpenZFS file system.
-
#create_location_fsx_windows(params = {}) ⇒ Types::CreateLocationFsxWindowsResponse
Creates a transfer location for an Amazon FSx for Windows File Server file system.
-
#create_location_hdfs(params = {}) ⇒ Types::CreateLocationHdfsResponse
Creates a transfer location for a Hadoop Distributed File System (HDFS).
-
#create_location_nfs(params = {}) ⇒ Types::CreateLocationNfsResponse
Creates a transfer location for a Network File System (NFS) file server.
-
#create_location_object_storage(params = {}) ⇒ Types::CreateLocationObjectStorageResponse
Creates a transfer location for an object storage system.
-
#create_location_s3(params = {}) ⇒ Types::CreateLocationS3Response
Creates a transfer location for an Amazon S3 bucket.
-
#create_location_smb(params = {}) ⇒ Types::CreateLocationSmbResponse
Creates a transfer location for a Server Message Block (SMB) file server.
-
#create_task(params = {}) ⇒ Types::CreateTaskResponse
Configures a task, which defines where and how DataSync transfers your data.
-
#delete_agent(params = {}) ⇒ Struct
Removes an DataSync agent resource from your Amazon Web Services account.
-
#delete_location(params = {}) ⇒ Struct
Deletes a transfer location resource from DataSync.
-
#delete_task(params = {}) ⇒ Struct
Deletes a transfer task resource from DataSync.
-
#describe_agent(params = {}) ⇒ Types::DescribeAgentResponse
Returns information about an DataSync agent, such as its name, service endpoint type, and status.
-
#describe_discovery_job(params = {}) ⇒ Types::DescribeDiscoveryJobResponse
Returns information about a DataSync discovery job.
-
#describe_location_azure_blob(params = {}) ⇒ Types::DescribeLocationAzureBlobResponse
Provides details about how an DataSync transfer location for Microsoft Azure Blob Storage is configured.
-
#describe_location_efs(params = {}) ⇒ Types::DescribeLocationEfsResponse
Provides details about how an DataSync transfer location for an Amazon EFS file system is configured.
-
#describe_location_fsx_lustre(params = {}) ⇒ Types::DescribeLocationFsxLustreResponse
Provides details about how an DataSync transfer location for an Amazon FSx for Lustre file system is configured.
-
#describe_location_fsx_ontap(params = {}) ⇒ Types::DescribeLocationFsxOntapResponse
Provides details about how an DataSync transfer 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 transfer location for an Amazon FSx for OpenZFS file system is configured.
-
#describe_location_fsx_windows(params = {}) ⇒ Types::DescribeLocationFsxWindowsResponse
Provides details about how an DataSync transfer location for an Amazon FSx for Windows File Server file system is configured.
-
#describe_location_hdfs(params = {}) ⇒ Types::DescribeLocationHdfsResponse
Provides details about how an DataSync transfer location for a Hadoop Distributed File System (HDFS) is configured.
-
#describe_location_nfs(params = {}) ⇒ Types::DescribeLocationNfsResponse
Provides details about how an DataSync transfer location for a Network File System (NFS) file server is configured.
-
#describe_location_object_storage(params = {}) ⇒ Types::DescribeLocationObjectStorageResponse
Provides details about how an DataSync transfer location for an object storage system is configured.
-
#describe_location_s3(params = {}) ⇒ Types::DescribeLocationS3Response
Provides details about how an DataSync transfer location for an S3 bucket is configured.
-
#describe_location_smb(params = {}) ⇒ Types::DescribeLocationSmbResponse
Provides details about how an DataSync transfer location for a Server Message Block (SMB) file server is configured.
-
#describe_storage_system(params = {}) ⇒ Types::DescribeStorageSystemResponse
Returns information about an on-premises storage system that you’re using with DataSync Discovery.
-
#describe_storage_system_resource_metrics(params = {}) ⇒ Types::DescribeStorageSystemResourceMetricsResponse
Returns information, including performance data and capacity usage, which DataSync Discovery collects about a specific resource in your-premises storage system.
-
#describe_storage_system_resources(params = {}) ⇒ Types::DescribeStorageSystemResourcesResponse
Returns information that DataSync Discovery collects about resources in your on-premises storage system.
-
#describe_task(params = {}) ⇒ Types::DescribeTaskResponse
Provides information about a task, which defines where and how DataSync transfers your data.
-
#describe_task_execution(params = {}) ⇒ Types::DescribeTaskExecutionResponse
Provides information about an execution of your DataSync task.
-
#generate_recommendations(params = {}) ⇒ Struct
Creates recommendations about where to migrate your data to in Amazon Web Services.
-
#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_discovery_jobs(params = {}) ⇒ Types::ListDiscoveryJobsResponse
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.
-
#list_locations(params = {}) ⇒ Types::ListLocationsResponse
Returns a list of source and destination locations.
-
#list_storage_systems(params = {}) ⇒ Types::ListStorageSystemsResponse
Lists the on-premises storage systems that you’re using with DataSync Discovery.
-
#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 executions for an DataSync transfer task.
-
#list_tasks(params = {}) ⇒ Types::ListTasksResponse
Returns a list of the DataSync tasks you created.
-
#remove_storage_system(params = {}) ⇒ Struct
Permanently removes a storage system resource from DataSync Discovery, including the associated discovery jobs, collected data, and recommendations.
-
#start_discovery_job(params = {}) ⇒ Types::StartDiscoveryJobResponse
Runs a DataSync discovery job on your on-premises storage system.
-
#start_task_execution(params = {}) ⇒ Types::StartTaskExecutionResponse
Starts an DataSync transfer task.
-
#stop_discovery_job(params = {}) ⇒ Struct
Stops a running DataSync discovery job.
-
#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 DataSync agent.
-
#update_discovery_job(params = {}) ⇒ Struct
Edits a DataSync discovery job configuration.
-
#update_location_azure_blob(params = {}) ⇒ Struct
Modifies the following configurations of the Microsoft Azure Blob Storage transfer location that you’re using with DataSync.
-
#update_location_efs(params = {}) ⇒ Struct
Modifies the following configuration parameters of the Amazon EFS transfer location that you’re using with DataSync.
-
#update_location_fsx_lustre(params = {}) ⇒ Struct
Modifies the following configuration parameters of the Amazon FSx for Lustre transfer location that you’re using with DataSync.
-
#update_location_fsx_ontap(params = {}) ⇒ Struct
Modifies the following configuration parameters of the Amazon FSx for NetApp ONTAP transfer location that you’re using with DataSync.
-
#update_location_fsx_open_zfs(params = {}) ⇒ Struct
Modifies the following configuration parameters of the Amazon FSx for OpenZFS transfer location that you’re using with DataSync.
-
#update_location_fsx_windows(params = {}) ⇒ Struct
Modifies the following configuration parameters of the Amazon FSx for Windows File Server transfer location that you’re using with DataSync.
-
#update_location_hdfs(params = {}) ⇒ Struct
Modifies the following configuration parameters of the Hadoop Distributed File System (HDFS) transfer location that you’re using with DataSync.
-
#update_location_nfs(params = {}) ⇒ Struct
Modifies the following configuration parameters of the Network File System (NFS) transfer location that you’re using with DataSync.
-
#update_location_object_storage(params = {}) ⇒ Struct
Modifies the following configuration parameters of the object storage transfer location that you’re using with DataSync.
-
#update_location_s3(params = {}) ⇒ Struct
Modifies the following configuration parameters of the Amazon S3 transfer location that you’re using with DataSync.
-
#update_location_smb(params = {}) ⇒ Struct
Modifies the following configuration parameters of the Server Message Block (SMB) transfer location that you’re using with DataSync.
-
#update_storage_system(params = {}) ⇒ Struct
Modifies some configurations of an on-premises storage system resource that you’re using with DataSync Discovery.
-
#update_task(params = {}) ⇒ Struct
Updates the configuration of a task, which defines where and how DataSync transfers your data.
-
#update_task_execution(params = {}) ⇒ Struct
Updates the configuration of a running DataSync task execution.
Class Method Summary collapse
- .errors_module ⇒ Object private
Instance Method Summary collapse
- #build_request(operation_name, params = {}) ⇒ Object private
-
#initialize(options) ⇒ Client
constructor
A new instance of Client.
- #waiter_names ⇒ Object deprecated private Deprecated.
Constructor Details
#initialize(options) ⇒ Client
Returns a new instance of Client.
451 452 453 |
# File 'lib/aws-sdk-datasync/client.rb', line 451 def initialize(*args) super end |
Class Attribute Details
.identifier ⇒ Object (readonly)
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
5229 5230 5231 |
# File 'lib/aws-sdk-datasync/client.rb', line 5229 def identifier @identifier end |
Class Method Details
.errors_module ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
5232 5233 5234 |
# File 'lib/aws-sdk-datasync/client.rb', line 5232 def errors_module Errors end |
Instance Method Details
#add_storage_system(params = {}) ⇒ Types::AddStorageSystemResponse
Creates an Amazon Web Services resource for an on-premises storage system that you want DataSync Discovery to collect information about.
538 539 540 541 |
# File 'lib/aws-sdk-datasync/client.rb', line 538 def add_storage_system(params = {}, = {}) req = build_request(:add_storage_system, params) req.send_request() end |
#build_request(operation_name, params = {}) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
5202 5203 5204 5205 5206 5207 5208 5209 5210 5211 5212 5213 5214 5215 5216 5217 5218 |
# File 'lib/aws-sdk-datasync/client.rb', line 5202 def build_request(operation_name, params = {}) handlers = @handlers.for(operation_name) tracer = config.telemetry_provider.tracer_provider.tracer( Aws::Telemetry.module_to_tracer_name('Aws::DataSync') ) context = Seahorse::Client::RequestContext.new( operation_name: operation_name, operation: config.api.operation(operation_name), client: self, params: params, config: config, tracer: tracer ) context[:gem_name] = 'aws-sdk-datasync' context[:gem_version] = '1.94.0' Seahorse::Client::Request.new(handlers, context) end |
#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.
570 571 572 573 |
# File 'lib/aws-sdk-datasync/client.rb', line 570 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 deploy 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 [Do I need a DataSync agent?]
[1]: docs.aws.amazon.com/datasync/latest/userguide/do-i-need-datasync-agent.html
651 652 653 654 |
# File 'lib/aws-sdk-datasync/client.rb', line 651 def create_agent(params = {}, = {}) req = build_request(:create_agent, params) req.send_request() end |
#create_location_azure_blob(params = {}) ⇒ Types::CreateLocationAzureBlobResponse
Creates a transfer location for a Microsoft Azure Blob Storage container. DataSync can use this location as a transfer source or destination.
Before you begin, make sure you know [how DataSync accesses Azure Blob Storage] and works with [access tiers] and [blob types]. You also need a [DataSync agent] that can connect to your container.
[1]: docs.aws.amazon.com/datasync/latest/userguide/creating-azure-blob-location.html#azure-blob-access [2]: docs.aws.amazon.com/datasync/latest/userguide/creating-azure-blob-location.html#azure-blob-access-tiers [3]: docs.aws.amazon.com/datasync/latest/userguide/creating-azure-blob-location.html#blob-types [4]: docs.aws.amazon.com/datasync/latest/userguide/creating-azure-blob-location.html#azure-blob-creating-agent
756 757 758 759 |
# File 'lib/aws-sdk-datasync/client.rb', line 756 def create_location_azure_blob(params = {}, = {}) req = build_request(:create_location_azure_blob, params) req.send_request() end |
#create_location_efs(params = {}) ⇒ Types::CreateLocationEfsResponse
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].
[1]: docs.aws.amazon.com/datasync/latest/userguide/create-efs-location.html#create-efs-location-access
864 865 866 867 |
# File 'lib/aws-sdk-datasync/client.rb', line 864 def create_location_efs(params = {}, = {}) req = build_request(:create_location_efs, params) req.send_request() end |
#create_location_fsx_lustre(params = {}) ⇒ Types::CreateLocationFsxLustreResponse
Creates a transfer location for an Amazon FSx for Lustre 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 Lustre file systems].
937 938 939 940 |
# File 'lib/aws-sdk-datasync/client.rb', line 937 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 a transfer location for an Amazon FSx for NetApp ONTAP 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 ONTAP file systems].
1040 1041 1042 1043 |
# File 'lib/aws-sdk-datasync/client.rb', line 1040 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 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].
<note markdown=“1”> Request parameters related to ‘SMB` aren’t supported with the ‘CreateLocationFsxOpenZfs` operation.
</note>
[1]: docs.aws.amazon.com/datasync/latest/userguide/create-openzfs-location.html#create-openzfs-access
1123 1124 1125 1126 |
# File 'lib/aws-sdk-datasync/client.rb', line 1123 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 a transfer location for an Amazon FSx for Windows File Server 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 Windows File Server file systems].
[1]: docs.aws.amazon.com/datasync/latest/userguide/create-fsx-location.html#create-fsx-location-access
1232 1233 1234 1235 |
# File 'lib/aws-sdk-datasync/client.rb', line 1232 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 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].
[1]: docs.aws.amazon.com/datasync/latest/userguide/create-hdfs-location.html#accessing-hdfs
1376 1377 1378 1379 |
# File 'lib/aws-sdk-datasync/client.rb', line 1376 def create_location_hdfs(params = {}, = {}) req = build_request(:create_location_hdfs, params) req.send_request() end |
#create_location_nfs(params = {}) ⇒ Types::CreateLocationNfsResponse
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].
[1]: docs.aws.amazon.com/datasync/latest/userguide/create-nfs-location.html#accessing-nfs
1459 1460 1461 1462 |
# File 'lib/aws-sdk-datasync/client.rb', line 1459 def create_location_nfs(params = {}, = {}) req = build_request(:create_location_nfs, params) req.send_request() end |
#create_location_object_storage(params = {}) ⇒ Types::CreateLocationObjectStorageResponse
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.
1572 1573 1574 1575 |
# File 'lib/aws-sdk-datasync/client.rb', line 1572 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 a transfer location for an Amazon S3 bucket. DataSync can use this location as a source or destination for transferring data.
Before you begin, make sure that you read the following topics:
* [Storage class considerations with Amazon S3 locations][1]
- Evaluating S3 request costs when using DataSync][2
For more information, see [Configuring transfers with Amazon S3].
[1]: docs.aws.amazon.com/datasync/latest/userguide/create-s3-location.html#using-storage-classes [2]: docs.aws.amazon.com/datasync/latest/userguide/create-s3-location.html#create-s3-location-s3-requests [3]: docs.aws.amazon.com/datasync/latest/userguide/create-s3-location.html
1696 1697 1698 1699 |
# File 'lib/aws-sdk-datasync/client.rb', line 1696 def create_location_s3(params = {}, = {}) req = build_request(:create_location_s3, params) req.send_request() end |
#create_location_smb(params = {}) ⇒ Types::CreateLocationSmbResponse
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].
[1]: docs.aws.amazon.com/datasync/latest/userguide/create-smb-location.html#configuring-smb
1810 1811 1812 1813 |
# File 'lib/aws-sdk-datasync/client.rb', line 1810 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, destination location, and transfer options (such as bandwidth limits, scheduling, and more).
If you’re planning to transfer data to or from an Amazon S3 location, review [how DataSync can affect your S3 request charges] and the
- DataSync pricing page][2
-
before you begin.
[1]: docs.aws.amazon.com/datasync/latest/userguide/create-s3-location.html#create-s3-location-s3-requests [2]: aws.amazon.com/datasync/pricing/
2043 2044 2045 2046 |
# File 'lib/aws-sdk-datasync/client.rb', line 2043 def create_task(params = {}, = {}) req = build_request(:create_task, params) req.send_request() end |
#delete_agent(params = {}) ⇒ Struct
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].
[1]: docs.aws.amazon.com/datasync/latest/userguide/activate-agent.html
2078 2079 2080 2081 |
# File 'lib/aws-sdk-datasync/client.rb', line 2078 def delete_agent(params = {}, = {}) req = build_request(:delete_agent, params) req.send_request() end |
#delete_location(params = {}) ⇒ Struct
Deletes a transfer location resource from DataSync.
2100 2101 2102 2103 |
# File 'lib/aws-sdk-datasync/client.rb', line 2100 def delete_location(params = {}, = {}) req = build_request(:delete_location, params) req.send_request() end |
#delete_task(params = {}) ⇒ Struct
Deletes a transfer task resource from DataSync.
2123 2124 2125 2126 |
# File 'lib/aws-sdk-datasync/client.rb', line 2123 def delete_task(params = {}, = {}) req = build_request(:delete_task, params) req.send_request() end |
#describe_agent(params = {}) ⇒ Types::DescribeAgentResponse
Returns information about an DataSync agent, such as its name, service endpoint type, and status.
2172 2173 2174 2175 |
# File 'lib/aws-sdk-datasync/client.rb', line 2172 def describe_agent(params = {}, = {}) req = build_request(:describe_agent, params) req.send_request() end |
#describe_discovery_job(params = {}) ⇒ Types::DescribeDiscoveryJobResponse
Returns information about a DataSync discovery job.
2211 2212 2213 2214 |
# File 'lib/aws-sdk-datasync/client.rb', line 2211 def describe_discovery_job(params = {}, = {}) req = build_request(:describe_discovery_job, params) req.send_request() end |
#describe_location_azure_blob(params = {}) ⇒ Types::DescribeLocationAzureBlobResponse
Provides details about how an DataSync transfer location for Microsoft Azure Blob Storage is configured.
2254 2255 2256 2257 |
# File 'lib/aws-sdk-datasync/client.rb', line 2254 def describe_location_azure_blob(params = {}, = {}) req = build_request(:describe_location_azure_blob, params) req.send_request() end |
#describe_location_efs(params = {}) ⇒ Types::DescribeLocationEfsResponse
Provides details about how an DataSync transfer location for an Amazon EFS file system is configured.
2298 2299 2300 2301 |
# File 'lib/aws-sdk-datasync/client.rb', line 2298 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 transfer location for an Amazon FSx for Lustre file system is configured.
2335 2336 2337 2338 |
# File 'lib/aws-sdk-datasync/client.rb', line 2335 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 transfer location for an Amazon FSx for NetApp ONTAP file system is configured.
<note markdown=“1”> If your location uses SMB, the ‘DescribeLocationFsxOntap` operation doesn’t actually return a ‘Password`.
</note>
2387 2388 2389 2390 |
# File 'lib/aws-sdk-datasync/client.rb', line 2387 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 transfer location for an Amazon FSx for OpenZFS file system is configured.
<note markdown=“1”> Response elements related to ‘SMB` aren’t supported with the ‘DescribeLocationFsxOpenZfs` operation.
</note>
2435 2436 2437 2438 |
# File 'lib/aws-sdk-datasync/client.rb', line 2435 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
Provides details about how an DataSync transfer location for an Amazon FSx for Windows File Server file system is configured.
2476 2477 2478 2479 |
# File 'lib/aws-sdk-datasync/client.rb', line 2476 def describe_location_fsx_windows(params = {}, = {}) req = build_request(:describe_location_fsx_windows, params) req.send_request() end |
#describe_location_hdfs(params = {}) ⇒ Types::DescribeLocationHdfsResponse
Provides details about how an DataSync transfer location for a Hadoop Distributed File System (HDFS) is configured.
2531 2532 2533 2534 |
# File 'lib/aws-sdk-datasync/client.rb', line 2531 def describe_location_hdfs(params = {}, = {}) req = build_request(:describe_location_hdfs, params) req.send_request() end |
#describe_location_nfs(params = {}) ⇒ Types::DescribeLocationNfsResponse
Provides details about how an DataSync transfer location for a Network File System (NFS) file server is configured.
2570 2571 2572 2573 |
# File 'lib/aws-sdk-datasync/client.rb', line 2570 def describe_location_nfs(params = {}, = {}) req = build_request(:describe_location_nfs, params) req.send_request() end |
#describe_location_object_storage(params = {}) ⇒ Types::DescribeLocationObjectStorageResponse
Provides details about how an DataSync transfer location for an object storage system is configured.
2615 2616 2617 2618 |
# File 'lib/aws-sdk-datasync/client.rb', line 2615 def describe_location_object_storage(params = {}, = {}) req = build_request(:describe_location_object_storage, params) req.send_request() end |
#describe_location_s3(params = {}) ⇒ Types::DescribeLocationS3Response
Provides details about how an DataSync transfer location for an S3 bucket is configured.
2655 2656 2657 2658 |
# File 'lib/aws-sdk-datasync/client.rb', line 2655 def describe_location_s3(params = {}, = {}) req = build_request(:describe_location_s3, params) req.send_request() end |
#describe_location_smb(params = {}) ⇒ Types::DescribeLocationSmbResponse
Provides details about how an DataSync transfer location for a Server Message Block (SMB) file server is configured.
2698 2699 2700 2701 |
# File 'lib/aws-sdk-datasync/client.rb', line 2698 def describe_location_smb(params = {}, = {}) req = build_request(:describe_location_smb, params) req.send_request() end |
#describe_storage_system(params = {}) ⇒ Types::DescribeStorageSystemResponse
Returns information about an on-premises storage system that you’re using with DataSync Discovery.
2748 2749 2750 2751 |
# File 'lib/aws-sdk-datasync/client.rb', line 2748 def describe_storage_system(params = {}, = {}) req = build_request(:describe_storage_system, params) req.send_request() end |
#describe_storage_system_resource_metrics(params = {}) ⇒ Types::DescribeStorageSystemResourceMetricsResponse
Returns information, including performance data and capacity usage, which DataSync Discovery collects about a specific resource in your-premises storage system.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
2832 2833 2834 2835 |
# File 'lib/aws-sdk-datasync/client.rb', line 2832 def describe_storage_system_resource_metrics(params = {}, = {}) req = build_request(:describe_storage_system_resource_metrics, params) req.send_request() end |
#describe_storage_system_resources(params = {}) ⇒ Types::DescribeStorageSystemResourcesResponse
Returns information that DataSync Discovery collects about resources in your on-premises storage system.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
2981 2982 2983 2984 |
# File 'lib/aws-sdk-datasync/client.rb', line 2981 def describe_storage_system_resources(params = {}, = {}) req = build_request(:describe_storage_system_resources, params) req.send_request() end |
#describe_task(params = {}) ⇒ Types::DescribeTaskResponse
Provides information about a task, which defines where and how DataSync transfers your data.
3086 3087 3088 3089 |
# File 'lib/aws-sdk-datasync/client.rb', line 3086 def describe_task(params = {}, = {}) req = build_request(:describe_task, params) req.send_request() end |
#describe_task_execution(params = {}) ⇒ Types::DescribeTaskExecutionResponse
Provides information about an execution of your DataSync task. You can use this operation to help monitor the progress of an ongoing data transfer or check the results of the transfer.
<note markdown=“1”> Some ‘DescribeTaskExecution` response elements are only relevant to a specific task mode. For information, see [Understanding task mode differences] and [Understanding data transfer performance counters].
</note>
[1]: docs.aws.amazon.com/datasync/latest/userguide/choosing-task-mode.html#task-mode-differences [2]: docs.aws.amazon.com/datasync/latest/userguide/transfer-performance-counters.html
3221 3222 3223 3224 |
# File 'lib/aws-sdk-datasync/client.rb', line 3221 def describe_task_execution(params = {}, = {}) req = build_request(:describe_task_execution, params) req.send_request() end |
#generate_recommendations(params = {}) ⇒ Struct
Creates recommendations about where to migrate your data to in Amazon Web Services. Recommendations are generated based on information that DataSync Discovery collects about your on-premises storage system’s resources. For more information, see [Recommendations provided by DataSync Discovery].
Once generated, you can view your recommendations by using the
- DescribeStorageSystemResources][2
-
operation.
[1]: docs.aws.amazon.com/datasync/latest/userguide/discovery-understand-recommendations.html [2]: docs.aws.amazon.com/datasync/latest/userguide/API_DescribeStorageSystemResources.html
3266 3267 3268 3269 |
# File 'lib/aws-sdk-datasync/client.rb', line 3266 def generate_recommendations(params = {}, = {}) req = build_request(:generate_recommendations, 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][1
-
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].
[1]: docs.aws.amazon.com/datasync/latest/userguide/API_CreateAgent.html [2]: docs.aws.amazon.com/datasync/latest/userguide/API_DescribeAgent.html
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
3328 3329 3330 3331 |
# File 'lib/aws-sdk-datasync/client.rb', line 3328 def list_agents(params = {}, = {}) req = build_request(:list_agents, params) req.send_request() end |
#list_discovery_jobs(params = {}) ⇒ Types::ListDiscoveryJobsResponse
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.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
3375 3376 3377 3378 |
# File 'lib/aws-sdk-datasync/client.rb', line 3375 def list_discovery_jobs(params = {}, = {}) req = build_request(:list_discovery_jobs, 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.
3432 3433 3434 3435 |
# File 'lib/aws-sdk-datasync/client.rb', line 3432 def list_locations(params = {}, = {}) req = build_request(:list_locations, params) req.send_request() end |
#list_storage_systems(params = {}) ⇒ Types::ListStorageSystemsResponse
Lists the on-premises storage systems that you’re using with DataSync Discovery.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
3472 3473 3474 3475 |
# File 'lib/aws-sdk-datasync/client.rb', line 3472 def list_storage_systems(params = {}, = {}) req = build_request(:list_storage_systems, 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.
3516 3517 3518 3519 |
# File 'lib/aws-sdk-datasync/client.rb', line 3516 def (params = {}, = {}) req = build_request(:list_tags_for_resource, params) req.send_request() end |
#list_task_executions(params = {}) ⇒ Types::ListTaskExecutionsResponse
Returns a list of executions for an DataSync transfer task.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
3561 3562 3563 3564 |
# File 'lib/aws-sdk-datasync/client.rb', line 3561 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.
3615 3616 3617 3618 |
# File 'lib/aws-sdk-datasync/client.rb', line 3615 def list_tasks(params = {}, = {}) req = build_request(:list_tasks, params) req.send_request() end |
#remove_storage_system(params = {}) ⇒ Struct
Permanently removes a storage system resource from DataSync Discovery, including the associated discovery jobs, collected data, and recommendations.
3640 3641 3642 3643 |
# File 'lib/aws-sdk-datasync/client.rb', line 3640 def remove_storage_system(params = {}, = {}) req = build_request(:remove_storage_system, params) req.send_request() end |
#start_discovery_job(params = {}) ⇒ Types::StartDiscoveryJobResponse
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.
[1]: docs.aws.amazon.com/datasync/latest/userguide/API_AddStorageSystem.html
3705 3706 3707 3708 |
# File 'lib/aws-sdk-datasync/client.rb', line 3705 def start_discovery_job(params = {}, = {}) req = build_request(:start_discovery_job, params) req.send_request() end |
#start_task_execution(params = {}) ⇒ Types::StartTaskExecutionResponse
Starts an DataSync transfer task. For each task, you can only run one task execution at a time.
There are several steps to a task execution. For more information, see [Task execution statuses].
If you’re planning to transfer data to or from an Amazon S3 location, review [how DataSync can affect your S3 request charges] and the
- DataSync pricing page][3
-
before you begin.
[1]: docs.aws.amazon.com/datasync/latest/userguide/working-with-task-executions.html#understand-task-execution-statuses [2]: docs.aws.amazon.com/datasync/latest/userguide/create-s3-location.html#create-s3-location-s3-requests [3]: aws.amazon.com/datasync/pricing/
3894 3895 3896 3897 |
# File 'lib/aws-sdk-datasync/client.rb', line 3894 def start_task_execution(params = {}, = {}) req = build_request(:start_task_execution, params) req.send_request() end |
#stop_discovery_job(params = {}) ⇒ Struct
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.
[1]: docs.aws.amazon.com/datasync/latest/userguide/API_GenerateRecommendations.html
3927 3928 3929 3930 |
# File 'lib/aws-sdk-datasync/client.rb', line 3927 def stop_discovery_job(params = {}, = {}) req = build_request(:stop_discovery_job, 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.
3963 3964 3965 3966 |
# File 'lib/aws-sdk-datasync/client.rb', line 3963 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.
3990 3991 3992 3993 |
# File 'lib/aws-sdk-datasync/client.rb', line 3990 def untag_resource(params = {}, = {}) req = build_request(:untag_resource, params) req.send_request() end |
#update_agent(params = {}) ⇒ Struct
Updates the name of an DataSync agent.
4016 4017 4018 4019 |
# File 'lib/aws-sdk-datasync/client.rb', line 4016 def update_agent(params = {}, = {}) req = build_request(:update_agent, params) req.send_request() end |
#update_discovery_job(params = {}) ⇒ Struct
Edits a DataSync discovery job configuration.
4045 4046 4047 4048 |
# File 'lib/aws-sdk-datasync/client.rb', line 4045 def update_discovery_job(params = {}, = {}) req = build_request(:update_discovery_job, params) req.send_request() end |
#update_location_azure_blob(params = {}) ⇒ Struct
Modifies the following configurations of the Microsoft Azure Blob Storage transfer location that you’re using with DataSync.
For more information, see [Configuring DataSync transfers with Azure Blob Storage].
[1]: docs.aws.amazon.com/datasync/latest/userguide/creating-azure-blob-location.html
4128 4129 4130 4131 |
# File 'lib/aws-sdk-datasync/client.rb', line 4128 def update_location_azure_blob(params = {}, = {}) req = build_request(:update_location_azure_blob, params) req.send_request() end |
#update_location_efs(params = {}) ⇒ Struct
Modifies the following configuration parameters of the Amazon EFS transfer location that you’re using with DataSync.
For more information, see [Configuring DataSync transfers with Amazon EFS].
[1]: docs.aws.amazon.com/datasync/latest/userguide/create-efs-location.html
4207 4208 4209 4210 |
# File 'lib/aws-sdk-datasync/client.rb', line 4207 def update_location_efs(params = {}, = {}) req = build_request(:update_location_efs, params) req.send_request() end |
#update_location_fsx_lustre(params = {}) ⇒ Struct
Modifies the following configuration parameters of the Amazon FSx for Lustre transfer location that you’re using with DataSync.
For more information, see [Configuring DataSync transfers with FSx for Lustre].
[1]: docs.aws.amazon.com/datasync/latest/userguide/create-lustre-location.html
4248 4249 4250 4251 |
# File 'lib/aws-sdk-datasync/client.rb', line 4248 def update_location_fsx_lustre(params = {}, = {}) req = build_request(:update_location_fsx_lustre, params) req.send_request() end |
#update_location_fsx_ontap(params = {}) ⇒ Struct
Modifies the following configuration parameters of the Amazon FSx for NetApp ONTAP transfer location that you’re using with DataSync.
For more information, see [Configuring DataSync transfers with FSx for ONTAP].
[1]: docs.aws.amazon.com/datasync/latest/userguide/create-ontap-location.html
4318 4319 4320 4321 |
# File 'lib/aws-sdk-datasync/client.rb', line 4318 def update_location_fsx_ontap(params = {}, = {}) req = build_request(:update_location_fsx_ontap, params) req.send_request() end |
#update_location_fsx_open_zfs(params = {}) ⇒ Struct
Modifies the following configuration parameters of the Amazon FSx for OpenZFS transfer location that you’re using with DataSync.
For more information, see [Configuring DataSync transfers with FSx for OpenZFS].
<note markdown=“1”> Request parameters related to ‘SMB` aren’t supported with the ‘UpdateLocationFsxOpenZfs` operation.
</note>
[1]: docs.aws.amazon.com/datasync/latest/userguide/create-openzfs-location.html
4380 4381 4382 4383 |
# File 'lib/aws-sdk-datasync/client.rb', line 4380 def update_location_fsx_open_zfs(params = {}, = {}) req = build_request(:update_location_fsx_open_zfs, params) req.send_request() end |
#update_location_fsx_windows(params = {}) ⇒ Struct
Modifies the following configuration parameters of the Amazon FSx for Windows File Server transfer location that you’re using with DataSync.
For more information, see [Configuring DataSync transfers with FSx for Windows File Server].
[1]: docs.aws.amazon.com/datasync/latest/userguide/create-fsx-location.html
4447 4448 4449 4450 |
# File 'lib/aws-sdk-datasync/client.rb', line 4447 def update_location_fsx_windows(params = {}, = {}) req = build_request(:update_location_fsx_windows, params) req.send_request() end |
#update_location_hdfs(params = {}) ⇒ Struct
Modifies the following configuration parameters of the Hadoop Distributed File System (HDFS) transfer location that you’re using with DataSync.
For more information, see [Configuring DataSync transfers with an HDFS cluster].
[1]: docs.aws.amazon.com/datasync/latest/userguide/create-hdfs-location.html
4551 4552 4553 4554 |
# File 'lib/aws-sdk-datasync/client.rb', line 4551 def update_location_hdfs(params = {}, = {}) req = build_request(:update_location_hdfs, params) req.send_request() end |
#update_location_nfs(params = {}) ⇒ Struct
Modifies the following configuration parameters of the Network File System (NFS) transfer location that you’re using with DataSync.
For more information, see [Configuring transfers with an NFS file server].
[1]: docs.aws.amazon.com/datasync/latest/userguide/create-nfs-location.html
4608 4609 4610 4611 |
# File 'lib/aws-sdk-datasync/client.rb', line 4608 def update_location_nfs(params = {}, = {}) req = build_request(:update_location_nfs, params) req.send_request() end |
#update_location_object_storage(params = {}) ⇒ Struct
Modifies the following configuration parameters of the object storage transfer location that you’re using with DataSync.
For more information, see [Configuring DataSync transfers with an object storage system].
[1]: docs.aws.amazon.com/datasync/latest/userguide/create-object-location.html
4700 4701 4702 4703 |
# File 'lib/aws-sdk-datasync/client.rb', line 4700 def update_location_object_storage(params = {}, = {}) req = build_request(:update_location_object_storage, params) req.send_request() end |
#update_location_s3(params = {}) ⇒ Struct
Modifies the following configuration parameters of the Amazon S3 transfer location that you’re using with DataSync.
Before you begin, make sure that you read the following topics:
* [Storage class considerations with Amazon S3 locations][1]
- Evaluating S3 request costs when using DataSync][2
[1]: docs.aws.amazon.com/datasync/latest/userguide/create-s3-location.html#using-storage-classes [2]: docs.aws.amazon.com/datasync/latest/userguide/create-s3-location.html#create-s3-location-s3-requests
4784 4785 4786 4787 |
# File 'lib/aws-sdk-datasync/client.rb', line 4784 def update_location_s3(params = {}, = {}) req = build_request(:update_location_s3, params) req.send_request() end |
#update_location_smb(params = {}) ⇒ Struct
Modifies the following configuration parameters of the Server Message Block (SMB) transfer location that you’re using with DataSync.
For more information, see [Configuring DataSync transfers with an SMB file server].
[1]: docs.aws.amazon.com/datasync/latest/userguide/create-smb-location.html
4880 4881 4882 4883 |
# File 'lib/aws-sdk-datasync/client.rb', line 4880 def update_location_smb(params = {}, = {}) req = build_request(:update_location_smb, params) req.send_request() end |
#update_storage_system(params = {}) ⇒ Struct
Modifies some configurations of an on-premises storage system resource that you’re using with DataSync Discovery.
4935 4936 4937 4938 |
# File 'lib/aws-sdk-datasync/client.rb', line 4935 def update_storage_system(params = {}, = {}) req = build_request(:update_storage_system, params) req.send_request() end |
#update_task(params = {}) ⇒ Struct
Updates the configuration of a task, which defines where and how DataSync transfers your data.
5130 5131 5132 5133 |
# File 'lib/aws-sdk-datasync/client.rb', line 5130 def update_task(params = {}, = {}) req = build_request(:update_task, params) req.send_request() end |
#update_task_execution(params = {}) ⇒ Struct
Updates the configuration of a running DataSync task execution.
<note markdown=“1”> Currently, the only ‘Option` that you can modify with `UpdateTaskExecution` is ` BytesPerSecond `, which throttles bandwidth for a running or queued task execution.
</note>
5193 5194 5195 5196 |
# File 'lib/aws-sdk-datasync/client.rb', line 5193 def update_task_execution(params = {}, = {}) req = build_request(:update_task_execution, params) req.send_request() end |
#waiter_names ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
5222 5223 5224 |
# File 'lib/aws-sdk-datasync/client.rb', line 5222 def waiter_names [] end |