aws_sdk_datasync/client/
describe_location_nfs.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`DescribeLocationNfs`](crate::operation::describe_location_nfs::builders::DescribeLocationNfsFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`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>
    /// - On success, responds with [`DescribeLocationNfsOutput`](crate::operation::describe_location_nfs::DescribeLocationNfsOutput) with field(s):
    ///   - [`location_arn(Option<String>)`](crate::operation::describe_location_nfs::DescribeLocationNfsOutput::location_arn): <p>The ARN of the NFS location.</p>
    ///   - [`location_uri(Option<String>)`](crate::operation::describe_location_nfs::DescribeLocationNfsOutput::location_uri): <p>The URI of the NFS location.</p>
    ///   - [`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>
    ///   - [`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>
    ///   - [`creation_time(Option<DateTime>)`](crate::operation::describe_location_nfs::DescribeLocationNfsOutput::creation_time): <p>The time when the NFS location was created.</p>
    /// - On failure, responds with [`SdkError<DescribeLocationNfsError>`](crate::operation::describe_location_nfs::DescribeLocationNfsError)
    pub fn describe_location_nfs(&self) -> crate::operation::describe_location_nfs::builders::DescribeLocationNfsFluentBuilder {
        crate::operation::describe_location_nfs::builders::DescribeLocationNfsFluentBuilder::new(self.handle.clone())
    }
}