aws_sdk_datasync/client/
update_location_nfs.rs

1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2impl super::Client {
3    /// Constructs a fluent builder for the [`UpdateLocationNfs`](crate::operation::update_location_nfs::builders::UpdateLocationNfsFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`location_arn(impl 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):<br>required: **true**<br><p>Specifies the Amazon Resource Name (ARN) of the NFS transfer location that you want to update.</p><br>
7    ///   - [`subdirectory(impl Into<String>)`](crate::operation::update_location_nfs::builders::UpdateLocationNfsFluentBuilder::subdirectory) / [`set_subdirectory(Option<String>)`](crate::operation::update_location_nfs::builders::UpdateLocationNfsFluentBuilder::set_subdirectory):<br>required: **false**<br><p>Specifies the export path in your NFS file server that you want DataSync to mount.</p> <p>This path (or a subdirectory of the path) is where DataSync transfers data to or from. For information on configuring an export for DataSync, see <a href="https://docs.aws.amazon.com/datasync/latest/userguide/create-nfs-location.html#accessing-nfs">Accessing NFS file servers</a>.</p><br>
8    ///   - [`server_hostname(impl Into<String>)`](crate::operation::update_location_nfs::builders::UpdateLocationNfsFluentBuilder::server_hostname) / [`set_server_hostname(Option<String>)`](crate::operation::update_location_nfs::builders::UpdateLocationNfsFluentBuilder::set_server_hostname):<br>required: **false**<br><p>Specifies the DNS name or IP version 4 (IPv4) address of the NFS file server that your DataSync agent connects to.</p><br>
9    ///   - [`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):<br>required: **false**<br><p>The DataSync agents that can connect to your Network File System (NFS) file server.</p><br>
10    ///   - [`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):<br>required: **false**<br><p>Specifies how DataSync can access a location using the NFS protocol.</p><br>
11    /// - On success, responds with [`UpdateLocationNfsOutput`](crate::operation::update_location_nfs::UpdateLocationNfsOutput)
12    /// - On failure, responds with [`SdkError<UpdateLocationNfsError>`](crate::operation::update_location_nfs::UpdateLocationNfsError)
13    pub fn update_location_nfs(&self) -> crate::operation::update_location_nfs::builders::UpdateLocationNfsFluentBuilder {
14        crate::operation::update_location_nfs::builders::UpdateLocationNfsFluentBuilder::new(self.handle.clone())
15    }
16}