1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`UpdateLocationSmb`](crate::operation::update_location_smb::builders::UpdateLocationSmbFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`location_arn(impl Into<String>)`](crate::operation::update_location_smb::builders::UpdateLocationSmbFluentBuilder::location_arn) / [`set_location_arn(Option<String>)`](crate::operation::update_location_smb::builders::UpdateLocationSmbFluentBuilder::set_location_arn): <p>The Amazon Resource Name (ARN) of the SMB location to update.</p>
    ///   - [`subdirectory(impl Into<String>)`](crate::operation::update_location_smb::builders::UpdateLocationSmbFluentBuilder::subdirectory) / [`set_subdirectory(Option<String>)`](crate::operation::update_location_smb::builders::UpdateLocationSmbFluentBuilder::set_subdirectory): <p>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.</p> <note>   <p> <code>Subdirectory</code> must be specified with forward slashes. For example, <code>/path/to/folder</code>.</p>  </note>  <p>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:</p>  <ul>   <li> <p>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.</p> </li>   <li> <p>Use credentials of a member of the Backup Operators group to mount the share. </p> </li>  </ul>  <p>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.</p>
    ///   - [`user(impl Into<String>)`](crate::operation::update_location_smb::builders::UpdateLocationSmbFluentBuilder::user) / [`set_user(Option<String>)`](crate::operation::update_location_smb::builders::UpdateLocationSmbFluentBuilder::set_user): <p>The user who can mount the share has the permissions to access files and folders in the SMB share.</p>
    ///   - [`domain(impl Into<String>)`](crate::operation::update_location_smb::builders::UpdateLocationSmbFluentBuilder::domain) / [`set_domain(Option<String>)`](crate::operation::update_location_smb::builders::UpdateLocationSmbFluentBuilder::set_domain): <p>The name of the Windows domain that the SMB server belongs to.</p>
    ///   - [`password(impl Into<String>)`](crate::operation::update_location_smb::builders::UpdateLocationSmbFluentBuilder::password) / [`set_password(Option<String>)`](crate::operation::update_location_smb::builders::UpdateLocationSmbFluentBuilder::set_password): <p>The password of the user who can mount the share has the permissions to access files and folders in the SMB share.</p>
    ///   - [`agent_arns(impl Into<String>)`](crate::operation::update_location_smb::builders::UpdateLocationSmbFluentBuilder::agent_arns) / [`set_agent_arns(Option<Vec<String>>)`](crate::operation::update_location_smb::builders::UpdateLocationSmbFluentBuilder::set_agent_arns): <p>The Amazon Resource Names (ARNs) of agents to use for a Simple Message Block (SMB) location.</p>
    ///   - [`mount_options(SmbMountOptions)`](crate::operation::update_location_smb::builders::UpdateLocationSmbFluentBuilder::mount_options) / [`set_mount_options(Option<SmbMountOptions>)`](crate::operation::update_location_smb::builders::UpdateLocationSmbFluentBuilder::set_mount_options): <p>Specifies the version of the Server Message Block (SMB) protocol that DataSync uses to access an SMB file server.</p>
    /// - On success, responds with [`UpdateLocationSmbOutput`](crate::operation::update_location_smb::UpdateLocationSmbOutput)
    /// - On failure, responds with [`SdkError<UpdateLocationSmbError>`](crate::operation::update_location_smb::UpdateLocationSmbError)
    pub fn update_location_smb(&self) -> crate::operation::update_location_smb::builders::UpdateLocationSmbFluentBuilder {
        crate::operation::update_location_smb::builders::UpdateLocationSmbFluentBuilder::new(self.handle.clone())
    }
}