Struct rusoto_datasync::DataSyncClient
source · [−]pub struct DataSyncClient { /* private fields */ }
Expand description
A client for the DataSync API.
Implementations
sourceimpl DataSyncClient
impl DataSyncClient
sourcepub fn new(region: Region) -> DataSyncClient
pub fn new(region: Region) -> DataSyncClient
Creates a client backed by the default tokio event loop.
The client will use the default credentials provider and tls client.
pub fn new_with<P, D>(
request_dispatcher: D,
credentials_provider: P,
region: Region
) -> DataSyncClient where
P: ProvideAwsCredentials + Send + Sync + 'static,
D: DispatchSignedRequest + Send + Sync + 'static,
pub fn new_with_client(client: Client, region: Region) -> DataSyncClient
Trait Implementations
sourceimpl Clone for DataSyncClient
impl Clone for DataSyncClient
sourcefn clone(&self) -> DataSyncClient
fn clone(&self) -> DataSyncClient
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl DataSync for DataSyncClient
impl DataSync for DataSyncClient
sourcefn cancel_task_execution<'life0, 'async_trait>(
&'life0 self,
input: CancelTaskExecutionRequest
) -> Pin<Box<dyn Future<Output = Result<CancelTaskExecutionResponse, RusotoError<CancelTaskExecutionError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn cancel_task_execution<'life0, 'async_trait>(
&'life0 self,
input: CancelTaskExecutionRequest
) -> Pin<Box<dyn Future<Output = Result<CancelTaskExecutionResponse, RusotoError<CancelTaskExecutionError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
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, AWS DataSync successfully complete the transfer when you start the next task execution.
sourcefn create_agent<'life0, 'async_trait>(
&'life0 self,
input: CreateAgentRequest
) -> Pin<Box<dyn Future<Output = Result<CreateAgentResponse, RusotoError<CreateAgentError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn create_agent<'life0, 'async_trait>(
&'life0 self,
input: CreateAgentRequest
) -> Pin<Box<dyn Future<Output = Result<CreateAgentResponse, RusotoError<CreateAgentError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Activates an AWS 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 AWS Region that you want to activate the agent in. You activate the agent in the AWS Region where your target locations (in Amazon S3 or Amazon EFS) reside. Your tasks are created in this AWS 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 AWS on a regular basis, using a mechanism that ensures minimal interruption to your tasks.
sourcefn create_location_efs<'life0, 'async_trait>(
&'life0 self,
input: CreateLocationEfsRequest
) -> Pin<Box<dyn Future<Output = Result<CreateLocationEfsResponse, RusotoError<CreateLocationEfsError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn create_location_efs<'life0, 'async_trait>(
&'life0 self,
input: CreateLocationEfsRequest
) -> Pin<Box<dyn Future<Output = Result<CreateLocationEfsResponse, RusotoError<CreateLocationEfsError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Creates an endpoint for an Amazon EFS file system.
sourcefn create_location_fsx_windows<'life0, 'async_trait>(
&'life0 self,
input: CreateLocationFsxWindowsRequest
) -> Pin<Box<dyn Future<Output = Result<CreateLocationFsxWindowsResponse, RusotoError<CreateLocationFsxWindowsError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn create_location_fsx_windows<'life0, 'async_trait>(
&'life0 self,
input: CreateLocationFsxWindowsRequest
) -> Pin<Box<dyn Future<Output = Result<CreateLocationFsxWindowsResponse, RusotoError<CreateLocationFsxWindowsError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Creates an endpoint for an Amazon FSx for Windows File Server file system.
sourcefn create_location_nfs<'life0, 'async_trait>(
&'life0 self,
input: CreateLocationNfsRequest
) -> Pin<Box<dyn Future<Output = Result<CreateLocationNfsResponse, RusotoError<CreateLocationNfsError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn create_location_nfs<'life0, 'async_trait>(
&'life0 self,
input: CreateLocationNfsRequest
) -> Pin<Box<dyn Future<Output = Result<CreateLocationNfsResponse, RusotoError<CreateLocationNfsError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Defines a file system on a Network File System (NFS) server that can be read from or written to.
sourcefn create_location_object_storage<'life0, 'async_trait>(
&'life0 self,
input: CreateLocationObjectStorageRequest
) -> Pin<Box<dyn Future<Output = Result<CreateLocationObjectStorageResponse, RusotoError<CreateLocationObjectStorageError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn create_location_object_storage<'life0, 'async_trait>(
&'life0 self,
input: CreateLocationObjectStorageRequest
) -> Pin<Box<dyn Future<Output = Result<CreateLocationObjectStorageResponse, RusotoError<CreateLocationObjectStorageError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
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.
sourcefn create_location_s3<'life0, 'async_trait>(
&'life0 self,
input: CreateLocationS3Request
) -> Pin<Box<dyn Future<Output = Result<CreateLocationS3Response, RusotoError<CreateLocationS3Error>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn create_location_s3<'life0, 'async_trait>(
&'life0 self,
input: CreateLocationS3Request
) -> Pin<Box<dyn Future<Output = Result<CreateLocationS3Response, RusotoError<CreateLocationS3Error>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Creates an endpoint for an Amazon S3 bucket.
For more information, see https://docs.aws.amazon.com/datasync/latest/userguide/create-locations-cli.html#create-location-s3-cli in the AWS DataSync User Guide.
sourcefn create_location_smb<'life0, 'async_trait>(
&'life0 self,
input: CreateLocationSmbRequest
) -> Pin<Box<dyn Future<Output = Result<CreateLocationSmbResponse, RusotoError<CreateLocationSmbError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn create_location_smb<'life0, 'async_trait>(
&'life0 self,
input: CreateLocationSmbRequest
) -> Pin<Box<dyn Future<Output = Result<CreateLocationSmbResponse, RusotoError<CreateLocationSmbError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Defines a file system on a Server Message Block (SMB) server that can be read from or written to.
sourcefn create_task<'life0, 'async_trait>(
&'life0 self,
input: CreateTaskRequest
) -> Pin<Box<dyn Future<Output = Result<CreateTaskResponse, RusotoError<CreateTaskError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn create_task<'life0, 'async_trait>(
&'life0 self,
input: CreateTaskRequest
) -> Pin<Box<dyn Future<Output = Result<CreateTaskResponse, RusotoError<CreateTaskError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
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 AWS services in different AWS 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 AWS Regions except for China, or between AWS GovCloud (US-East and US-West) Regions.
When you use DataSync to copy files or objects between AWS 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.
sourcefn delete_agent<'life0, 'async_trait>(
&'life0 self,
input: DeleteAgentRequest
) -> Pin<Box<dyn Future<Output = Result<DeleteAgentResponse, RusotoError<DeleteAgentError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn delete_agent<'life0, 'async_trait>(
&'life0 self,
input: DeleteAgentRequest
) -> Pin<Box<dyn Future<Output = Result<DeleteAgentResponse, RusotoError<DeleteAgentError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
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 AWS account. However, it doesn't delete the agent virtual machine (VM) from your on-premises environment.
sourcefn delete_location<'life0, 'async_trait>(
&'life0 self,
input: DeleteLocationRequest
) -> Pin<Box<dyn Future<Output = Result<DeleteLocationResponse, RusotoError<DeleteLocationError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn delete_location<'life0, 'async_trait>(
&'life0 self,
input: DeleteLocationRequest
) -> Pin<Box<dyn Future<Output = Result<DeleteLocationResponse, RusotoError<DeleteLocationError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Deletes the configuration of a location used by AWS DataSync.
sourcefn delete_task<'life0, 'async_trait>(
&'life0 self,
input: DeleteTaskRequest
) -> Pin<Box<dyn Future<Output = Result<DeleteTaskResponse, RusotoError<DeleteTaskError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn delete_task<'life0, 'async_trait>(
&'life0 self,
input: DeleteTaskRequest
) -> Pin<Box<dyn Future<Output = Result<DeleteTaskResponse, RusotoError<DeleteTaskError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Deletes a task.
sourcefn describe_agent<'life0, 'async_trait>(
&'life0 self,
input: DescribeAgentRequest
) -> Pin<Box<dyn Future<Output = Result<DescribeAgentResponse, RusotoError<DescribeAgentError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn describe_agent<'life0, 'async_trait>(
&'life0 self,
input: DescribeAgentRequest
) -> Pin<Box<dyn Future<Output = Result<DescribeAgentResponse, RusotoError<DescribeAgentError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
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.
sourcefn describe_location_efs<'life0, 'async_trait>(
&'life0 self,
input: DescribeLocationEfsRequest
) -> Pin<Box<dyn Future<Output = Result<DescribeLocationEfsResponse, RusotoError<DescribeLocationEfsError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn describe_location_efs<'life0, 'async_trait>(
&'life0 self,
input: DescribeLocationEfsRequest
) -> Pin<Box<dyn Future<Output = Result<DescribeLocationEfsResponse, RusotoError<DescribeLocationEfsError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Returns metadata, such as the path information about an Amazon EFS location.
sourcefn describe_location_fsx_windows<'life0, 'async_trait>(
&'life0 self,
input: DescribeLocationFsxWindowsRequest
) -> Pin<Box<dyn Future<Output = Result<DescribeLocationFsxWindowsResponse, RusotoError<DescribeLocationFsxWindowsError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn describe_location_fsx_windows<'life0, 'async_trait>(
&'life0 self,
input: DescribeLocationFsxWindowsRequest
) -> Pin<Box<dyn Future<Output = Result<DescribeLocationFsxWindowsResponse, RusotoError<DescribeLocationFsxWindowsError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Returns metadata, such as the path information about an Amazon FSx for Windows File Server location.
sourcefn describe_location_nfs<'life0, 'async_trait>(
&'life0 self,
input: DescribeLocationNfsRequest
) -> Pin<Box<dyn Future<Output = Result<DescribeLocationNfsResponse, RusotoError<DescribeLocationNfsError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn describe_location_nfs<'life0, 'async_trait>(
&'life0 self,
input: DescribeLocationNfsRequest
) -> Pin<Box<dyn Future<Output = Result<DescribeLocationNfsResponse, RusotoError<DescribeLocationNfsError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Returns metadata, such as the path information, about an NFS location.
sourcefn describe_location_object_storage<'life0, 'async_trait>(
&'life0 self,
input: DescribeLocationObjectStorageRequest
) -> Pin<Box<dyn Future<Output = Result<DescribeLocationObjectStorageResponse, RusotoError<DescribeLocationObjectStorageError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn describe_location_object_storage<'life0, 'async_trait>(
&'life0 self,
input: DescribeLocationObjectStorageRequest
) -> Pin<Box<dyn Future<Output = Result<DescribeLocationObjectStorageResponse, RusotoError<DescribeLocationObjectStorageError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
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.
sourcefn describe_location_s3<'life0, 'async_trait>(
&'life0 self,
input: DescribeLocationS3Request
) -> Pin<Box<dyn Future<Output = Result<DescribeLocationS3Response, RusotoError<DescribeLocationS3Error>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn describe_location_s3<'life0, 'async_trait>(
&'life0 self,
input: DescribeLocationS3Request
) -> Pin<Box<dyn Future<Output = Result<DescribeLocationS3Response, RusotoError<DescribeLocationS3Error>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Returns metadata, such as bucket name, about an Amazon S3 bucket location.
sourcefn describe_location_smb<'life0, 'async_trait>(
&'life0 self,
input: DescribeLocationSmbRequest
) -> Pin<Box<dyn Future<Output = Result<DescribeLocationSmbResponse, RusotoError<DescribeLocationSmbError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn describe_location_smb<'life0, 'async_trait>(
&'life0 self,
input: DescribeLocationSmbRequest
) -> Pin<Box<dyn Future<Output = Result<DescribeLocationSmbResponse, RusotoError<DescribeLocationSmbError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Returns metadata, such as the path and user information about an SMB location.
sourcefn describe_task<'life0, 'async_trait>(
&'life0 self,
input: DescribeTaskRequest
) -> Pin<Box<dyn Future<Output = Result<DescribeTaskResponse, RusotoError<DescribeTaskError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn describe_task<'life0, 'async_trait>(
&'life0 self,
input: DescribeTaskRequest
) -> Pin<Box<dyn Future<Output = Result<DescribeTaskResponse, RusotoError<DescribeTaskError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Returns metadata about a task.
sourcefn describe_task_execution<'life0, 'async_trait>(
&'life0 self,
input: DescribeTaskExecutionRequest
) -> Pin<Box<dyn Future<Output = Result<DescribeTaskExecutionResponse, RusotoError<DescribeTaskExecutionError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn describe_task_execution<'life0, 'async_trait>(
&'life0 self,
input: DescribeTaskExecutionRequest
) -> Pin<Box<dyn Future<Output = Result<DescribeTaskExecutionResponse, RusotoError<DescribeTaskExecutionError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Returns detailed metadata about a task that is being executed.
sourcefn list_agents<'life0, 'async_trait>(
&'life0 self,
input: ListAgentsRequest
) -> Pin<Box<dyn Future<Output = Result<ListAgentsResponse, RusotoError<ListAgentsError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn list_agents<'life0, 'async_trait>(
&'life0 self,
input: ListAgentsRequest
) -> Pin<Box<dyn Future<Output = Result<ListAgentsResponse, RusotoError<ListAgentsError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Returns a list of agents owned by an AWS account in the AWS 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.
sourcefn list_locations<'life0, 'async_trait>(
&'life0 self,
input: ListLocationsRequest
) -> Pin<Box<dyn Future<Output = Result<ListLocationsResponse, RusotoError<ListLocationsError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn list_locations<'life0, 'async_trait>(
&'life0 self,
input: ListLocationsRequest
) -> Pin<Box<dyn Future<Output = Result<ListLocationsResponse, RusotoError<ListLocationsError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
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.
Returns all the tags associated with a specified resource.
sourcefn list_task_executions<'life0, 'async_trait>(
&'life0 self,
input: ListTaskExecutionsRequest
) -> Pin<Box<dyn Future<Output = Result<ListTaskExecutionsResponse, RusotoError<ListTaskExecutionsError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn list_task_executions<'life0, 'async_trait>(
&'life0 self,
input: ListTaskExecutionsRequest
) -> Pin<Box<dyn Future<Output = Result<ListTaskExecutionsResponse, RusotoError<ListTaskExecutionsError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Returns a list of executed tasks.
sourcefn list_tasks<'life0, 'async_trait>(
&'life0 self,
input: ListTasksRequest
) -> Pin<Box<dyn Future<Output = Result<ListTasksResponse, RusotoError<ListTasksError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn list_tasks<'life0, 'async_trait>(
&'life0 self,
input: ListTasksRequest
) -> Pin<Box<dyn Future<Output = Result<ListTasksResponse, RusotoError<ListTasksError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Returns a list of all the tasks.
sourcefn start_task_execution<'life0, 'async_trait>(
&'life0 self,
input: StartTaskExecutionRequest
) -> Pin<Box<dyn Future<Output = Result<StartTaskExecutionResponse, RusotoError<StartTaskExecutionError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn start_task_execution<'life0, 'async_trait>(
&'life0 self,
input: StartTaskExecutionRequest
) -> Pin<Box<dyn Future<Output = Result<StartTaskExecutionResponse, RusotoError<StartTaskExecutionError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
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 AWS DataSync User Guide.
sourcefn tag_resource<'life0, 'async_trait>(
&'life0 self,
input: TagResourceRequest
) -> Pin<Box<dyn Future<Output = Result<TagResourceResponse, RusotoError<TagResourceError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn tag_resource<'life0, 'async_trait>(
&'life0 self,
input: TagResourceRequest
) -> Pin<Box<dyn Future<Output = Result<TagResourceResponse, RusotoError<TagResourceError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Applies a key-value pair to an AWS resource.
sourcefn untag_resource<'life0, 'async_trait>(
&'life0 self,
input: UntagResourceRequest
) -> Pin<Box<dyn Future<Output = Result<UntagResourceResponse, RusotoError<UntagResourceError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn untag_resource<'life0, 'async_trait>(
&'life0 self,
input: UntagResourceRequest
) -> Pin<Box<dyn Future<Output = Result<UntagResourceResponse, RusotoError<UntagResourceError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Removes a tag from an AWS resource.
sourcefn update_agent<'life0, 'async_trait>(
&'life0 self,
input: UpdateAgentRequest
) -> Pin<Box<dyn Future<Output = Result<UpdateAgentResponse, RusotoError<UpdateAgentError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn update_agent<'life0, 'async_trait>(
&'life0 self,
input: UpdateAgentRequest
) -> Pin<Box<dyn Future<Output = Result<UpdateAgentResponse, RusotoError<UpdateAgentError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Updates the name of an agent.
sourcefn update_location_nfs<'life0, 'async_trait>(
&'life0 self,
input: UpdateLocationNfsRequest
) -> Pin<Box<dyn Future<Output = Result<UpdateLocationNfsResponse, RusotoError<UpdateLocationNfsError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn update_location_nfs<'life0, 'async_trait>(
&'life0 self,
input: UpdateLocationNfsRequest
) -> Pin<Box<dyn Future<Output = Result<UpdateLocationNfsResponse, RusotoError<UpdateLocationNfsError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
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.
sourcefn update_location_object_storage<'life0, 'async_trait>(
&'life0 self,
input: UpdateLocationObjectStorageRequest
) -> Pin<Box<dyn Future<Output = Result<UpdateLocationObjectStorageResponse, RusotoError<UpdateLocationObjectStorageError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn update_location_object_storage<'life0, 'async_trait>(
&'life0 self,
input: UpdateLocationObjectStorageRequest
) -> Pin<Box<dyn Future<Output = Result<UpdateLocationObjectStorageResponse, RusotoError<UpdateLocationObjectStorageError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
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.
sourcefn update_location_smb<'life0, 'async_trait>(
&'life0 self,
input: UpdateLocationSmbRequest
) -> Pin<Box<dyn Future<Output = Result<UpdateLocationSmbResponse, RusotoError<UpdateLocationSmbError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn update_location_smb<'life0, 'async_trait>(
&'life0 self,
input: UpdateLocationSmbRequest
) -> Pin<Box<dyn Future<Output = Result<UpdateLocationSmbResponse, RusotoError<UpdateLocationSmbError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
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.
sourcefn update_task<'life0, 'async_trait>(
&'life0 self,
input: UpdateTaskRequest
) -> Pin<Box<dyn Future<Output = Result<UpdateTaskResponse, RusotoError<UpdateTaskError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn update_task<'life0, 'async_trait>(
&'life0 self,
input: UpdateTaskRequest
) -> Pin<Box<dyn Future<Output = Result<UpdateTaskResponse, RusotoError<UpdateTaskError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Updates the metadata associated with a task.
sourcefn update_task_execution<'life0, 'async_trait>(
&'life0 self,
input: UpdateTaskExecutionRequest
) -> Pin<Box<dyn Future<Output = Result<UpdateTaskExecutionResponse, RusotoError<UpdateTaskExecutionError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn update_task_execution<'life0, 'async_trait>(
&'life0 self,
input: UpdateTaskExecutionRequest
) -> Pin<Box<dyn Future<Output = Result<UpdateTaskExecutionResponse, RusotoError<UpdateTaskExecutionError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
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.
The only Option
that can be modified by UpdateTaskExecution
is BytesPerSecond
.
Auto Trait Implementations
impl !RefUnwindSafe for DataSyncClient
impl Send for DataSyncClient
impl Sync for DataSyncClient
impl Unpin for DataSyncClient
impl !UnwindSafe for DataSyncClient
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more