1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`UpdateLocationNfs`](crate::operation::update_location_nfs::builders::UpdateLocationNfsFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`location_arn(impl ::std::convert::Into<String>)`](crate::operation::update_location_nfs::builders::UpdateLocationNfsFluentBuilder::location_arn) / [`set_location_arn(Option<String>)`](crate::operation::update_location_nfs::builders::UpdateLocationNfsFluentBuilder::set_location_arn): <p>Specifies the Amazon Resource Name (ARN) of the NFS location that you want to update.</p>
    ///   - [`subdirectory(impl ::std::convert::Into<String>)`](crate::operation::update_location_nfs::builders::UpdateLocationNfsFluentBuilder::subdirectory) / [`set_subdirectory(Option<String>)`](crate::operation::update_location_nfs::builders::UpdateLocationNfsFluentBuilder::set_subdirectory): <p>Specifies the subdirectory in your NFS file system that DataSync uses to read from or write to during a transfer. The NFS path should be exported by the NFS server, or a subdirectory of that path. The path should be such that it can be mounted by other NFS clients in your network.</p>  <p>To see all the paths exported by your NFS server, run "<code>showmount -e nfs-server-name</code>" from an NFS client that has access to your server. You can specify any directory that appears in the results, and any subdirectory of that directory. Ensure that the NFS export is accessible without Kerberos authentication. </p>  <p>To transfer all the data in the folder that you specified, DataSync must have permissions to read all the data. To ensure this, either configure the NFS export with <code>no_root_squash</code>, or ensure that the files you want DataSync to access have permissions that allow read access for all users. Doing either option enables the agent to read the files. For the agent to access directories, you must additionally enable all execute access.</p>  <p>If you are copying data to or from your Snowcone device, see <a href="https://docs.aws.amazon.com/datasync/latest/userguide/create-nfs-location.html#nfs-on-snowcone">NFS Server on Snowcone</a> for more information.</p>
    ///   - [`on_prem_config(OnPremConfig)`](crate::operation::update_location_nfs::builders::UpdateLocationNfsFluentBuilder::on_prem_config) / [`set_on_prem_config(Option<OnPremConfig>)`](crate::operation::update_location_nfs::builders::UpdateLocationNfsFluentBuilder::set_on_prem_config): <p>A list of Amazon Resource Names (ARNs) of agents to use for a Network File System (NFS) location.</p>
    ///   - [`mount_options(NfsMountOptions)`](crate::operation::update_location_nfs::builders::UpdateLocationNfsFluentBuilder::mount_options) / [`set_mount_options(Option<NfsMountOptions>)`](crate::operation::update_location_nfs::builders::UpdateLocationNfsFluentBuilder::set_mount_options): <p>Specifies how DataSync can access a location using the NFS protocol.</p>
    /// - On success, responds with [`UpdateLocationNfsOutput`](crate::operation::update_location_nfs::UpdateLocationNfsOutput)
    /// - On failure, responds with [`SdkError<UpdateLocationNfsError>`](crate::operation::update_location_nfs::UpdateLocationNfsError)
    pub fn update_location_nfs(&self) -> crate::operation::update_location_nfs::builders::UpdateLocationNfsFluentBuilder {
        crate::operation::update_location_nfs::builders::UpdateLocationNfsFluentBuilder::new(self.handle.clone())
    }
}