Struct aws_sdk_datasync::client::fluent_builders::UpdateLocationSmb [−][src]
pub struct UpdateLocationSmb<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* fields omitted */ }
Expand description
Fluent builder constructing a request to UpdateLocationSmb
.
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.
Implementations
impl<C, M, R> UpdateLocationSmb<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> UpdateLocationSmb<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<UpdateLocationSmbOutput, SdkError<UpdateLocationSmbError>> where
R::Policy: SmithyRetryPolicy<UpdateLocationSmbInputOperationOutputAlias, UpdateLocationSmbOutput, UpdateLocationSmbError, UpdateLocationSmbInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<UpdateLocationSmbOutput, SdkError<UpdateLocationSmbError>> where
R::Policy: SmithyRetryPolicy<UpdateLocationSmbInputOperationOutputAlias, UpdateLocationSmbOutput, UpdateLocationSmbError, UpdateLocationSmbInputOperationRetryAlias>,
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
The Amazon Resource Name (ARN) of the SMB location to update.
The Amazon Resource Name (ARN) of the SMB location to update.
The subdirectory in the SMB file system that is used to read data from the SMB source location or write data to the SMB destination. The SMB path should be a path that's exported by the SMB server, or a subdirectory of that path. The path should be such that it can be mounted by other SMB clients in your network.
Subdirectory
must be specified with forward slashes. For example, /path/to/folder
.
To transfer all the data in the folder that you specified, DataSync must have permissions to mount the SMB share and to access all the data in that share. To ensure this, do either of the following:
-
Ensure that the user/password specified belongs to the user who can mount the share and who has the appropriate permissions for all of the files and directories that you want DataSync to access.
-
Use credentials of a member of the Backup Operators group to mount the share.
Doing either of these options enables the agent to access the data. For the agent to access directories, you must also enable all execute access.
The subdirectory in the SMB file system that is used to read data from the SMB source location or write data to the SMB destination. The SMB path should be a path that's exported by the SMB server, or a subdirectory of that path. The path should be such that it can be mounted by other SMB clients in your network.
Subdirectory
must be specified with forward slashes. For example, /path/to/folder
.
To transfer all the data in the folder that you specified, DataSync must have permissions to mount the SMB share and to access all the data in that share. To ensure this, do either of the following:
-
Ensure that the user/password specified belongs to the user who can mount the share and who has the appropriate permissions for all of the files and directories that you want DataSync to access.
-
Use credentials of a member of the Backup Operators group to mount the share.
Doing either of these options enables the agent to access the data. For the agent to access directories, you must also enable all execute access.
The user who can mount the share has the permissions to access files and folders in the SMB share.
The user who can mount the share has the permissions to access files and folders in the SMB share.
The name of the Windows domain that the SMB server belongs to.
The name of the Windows domain that the SMB server belongs to.
The password of the user who can mount the share has the permissions to access files and folders in the SMB share.
The password of the user who can mount the share has the permissions to access files and folders in the SMB share.
Appends an item to AgentArns
.
To override the contents of this collection use set_agent_arns
.
The Amazon Resource Names (ARNs) of agents to use for a Simple Message Block (SMB) location.
The Amazon Resource Names (ARNs) of agents to use for a Simple Message Block (SMB) location.
Represents the mount options that are available for DataSync to access an SMB location.
Represents the mount options that are available for DataSync to access an SMB location.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !RefUnwindSafe for UpdateLocationSmb<C, M, R>
impl<C, M, R> Send for UpdateLocationSmb<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for UpdateLocationSmb<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for UpdateLocationSmb<C, M, R>
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !UnwindSafe for UpdateLocationSmb<C, M, R>
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more