Struct aws_sdk_datasync::input::UpdateLocationSmbInput
source · #[non_exhaustive]pub struct UpdateLocationSmbInput { /* private fields */ }
Implementations§
source§impl UpdateLocationSmbInput
impl UpdateLocationSmbInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<UpdateLocationSmb, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<UpdateLocationSmb, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<UpdateLocationSmb
>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture UpdateLocationSmbInput
.
source§impl UpdateLocationSmbInput
impl UpdateLocationSmbInput
sourcepub fn location_arn(&self) -> Option<&str>
pub fn location_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the SMB location to update.
sourcepub fn subdirectory(&self) -> Option<&str>
pub fn subdirectory(&self) -> Option<&str>
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.
sourcepub fn user(&self) -> Option<&str>
pub fn user(&self) -> Option<&str>
The user who can mount the share has the permissions to access files and folders in the SMB share.
sourcepub fn domain(&self) -> Option<&str>
pub fn domain(&self) -> Option<&str>
The name of the Windows domain that the SMB server belongs to.
sourcepub fn password(&self) -> Option<&str>
pub fn password(&self) -> Option<&str>
The password of the user who can mount the share has the permissions to access files and folders in the SMB share.
sourcepub fn agent_arns(&self) -> Option<&[String]>
pub fn agent_arns(&self) -> Option<&[String]>
The Amazon Resource Names (ARNs) of agents to use for a Simple Message Block (SMB) location.
sourcepub fn mount_options(&self) -> Option<&SmbMountOptions>
pub fn mount_options(&self) -> Option<&SmbMountOptions>
Specifies how DataSync can access a location using the SMB protocol.
Trait Implementations§
source§impl Clone for UpdateLocationSmbInput
impl Clone for UpdateLocationSmbInput
source§fn clone(&self) -> UpdateLocationSmbInput
fn clone(&self) -> UpdateLocationSmbInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for UpdateLocationSmbInput
impl Debug for UpdateLocationSmbInput
source§impl PartialEq<UpdateLocationSmbInput> for UpdateLocationSmbInput
impl PartialEq<UpdateLocationSmbInput> for UpdateLocationSmbInput
source§fn eq(&self, other: &UpdateLocationSmbInput) -> bool
fn eq(&self, other: &UpdateLocationSmbInput) -> bool
self
and other
values to be equal, and is used
by ==
.