aws_sdk_datasync/client/
describe_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 [`DescribeLocationNfs`](crate::operation::describe_location_nfs::builders::DescribeLocationNfsFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`location_arn(impl Into<String>)`](crate::operation::describe_location_nfs::builders::DescribeLocationNfsFluentBuilder::location_arn) / [`set_location_arn(Option<String>)`](crate::operation::describe_location_nfs::builders::DescribeLocationNfsFluentBuilder::set_location_arn):<br>required: **true**<br><p>Specifies the Amazon Resource Name (ARN) of the NFS location that you want information about.</p><br>
7    /// - On success, responds with [`DescribeLocationNfsOutput`](crate::operation::describe_location_nfs::DescribeLocationNfsOutput) with field(s):
8    ///   - [`location_arn(Option<String>)`](crate::operation::describe_location_nfs::DescribeLocationNfsOutput::location_arn): <p>The ARN of the NFS location.</p>
9    ///   - [`location_uri(Option<String>)`](crate::operation::describe_location_nfs::DescribeLocationNfsOutput::location_uri): <p>The URI of the NFS location.</p>
10    ///   - [`on_prem_config(Option<OnPremConfig>)`](crate::operation::describe_location_nfs::DescribeLocationNfsOutput::on_prem_config): <p>The DataSync agents that can connect to your Network File System (NFS) file server.</p>
11    ///   - [`mount_options(Option<NfsMountOptions>)`](crate::operation::describe_location_nfs::DescribeLocationNfsOutput::mount_options): <p>The mount options that DataSync uses to mount your NFS file server.</p>
12    ///   - [`creation_time(Option<DateTime>)`](crate::operation::describe_location_nfs::DescribeLocationNfsOutput::creation_time): <p>The time when the NFS location was created.</p>
13    /// - On failure, responds with [`SdkError<DescribeLocationNfsError>`](crate::operation::describe_location_nfs::DescribeLocationNfsError)
14    pub fn describe_location_nfs(&self) -> crate::operation::describe_location_nfs::builders::DescribeLocationNfsFluentBuilder {
15        crate::operation::describe_location_nfs::builders::DescribeLocationNfsFluentBuilder::new(self.handle.clone())
16    }
17}