aws_sdk_datasync/client/update_location_nfs.rs
// 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 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>
/// - [`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>
/// - [`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>
/// - [`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>
/// - 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())
}
}