aws_sdk_datasync/client/
describe_location_smb.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`DescribeLocationSmb`](crate::operation::describe_location_smb::builders::DescribeLocationSmbFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`location_arn(impl Into<String>)`](crate::operation::describe_location_smb::builders::DescribeLocationSmbFluentBuilder::location_arn) / [`set_location_arn(Option<String>)`](crate::operation::describe_location_smb::builders::DescribeLocationSmbFluentBuilder::set_location_arn):<br>required: **true**<br><p>Specifies the Amazon Resource Name (ARN) of the SMB location that you want information about.</p><br>
    /// - On success, responds with [`DescribeLocationSmbOutput`](crate::operation::describe_location_smb::DescribeLocationSmbOutput) with field(s):
    ///   - [`location_arn(Option<String>)`](crate::operation::describe_location_smb::DescribeLocationSmbOutput::location_arn): <p>The ARN of the SMB location.</p>
    ///   - [`location_uri(Option<String>)`](crate::operation::describe_location_smb::DescribeLocationSmbOutput::location_uri): <p>The URI of the SMB location.</p>
    ///   - [`agent_arns(Option<Vec::<String>>)`](crate::operation::describe_location_smb::DescribeLocationSmbOutput::agent_arns): <p>The ARNs of the DataSync agents that can connect with your SMB file server.</p>
    ///   - [`user(Option<String>)`](crate::operation::describe_location_smb::DescribeLocationSmbOutput::user): <p>The user that can mount and access the files, folders, and file metadata in your SMB file server.</p>
    ///   - [`domain(Option<String>)`](crate::operation::describe_location_smb::DescribeLocationSmbOutput::domain): <p>The name of the Microsoft Active Directory domain that the SMB file server belongs to.</p>
    ///   - [`mount_options(Option<SmbMountOptions>)`](crate::operation::describe_location_smb::DescribeLocationSmbOutput::mount_options): <p>The protocol that DataSync use to access your SMB file.</p>
    ///   - [`creation_time(Option<DateTime>)`](crate::operation::describe_location_smb::DescribeLocationSmbOutput::creation_time): <p>The time that the SMB location was created.</p>
    /// - On failure, responds with [`SdkError<DescribeLocationSmbError>`](crate::operation::describe_location_smb::DescribeLocationSmbError)
    pub fn describe_location_smb(&self) -> crate::operation::describe_location_smb::builders::DescribeLocationSmbFluentBuilder {
        crate::operation::describe_location_smb::builders::DescribeLocationSmbFluentBuilder::new(self.handle.clone())
    }
}