aws_sdk_datasync/client/
describe_location_efs.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 [`DescribeLocationEfs`](crate::operation::describe_location_efs::builders::DescribeLocationEfsFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`location_arn(impl Into<String>)`](crate::operation::describe_location_efs::builders::DescribeLocationEfsFluentBuilder::location_arn) / [`set_location_arn(Option<String>)`](crate::operation::describe_location_efs::builders::DescribeLocationEfsFluentBuilder::set_location_arn):<br>required: **true**<br><p>The Amazon Resource Name (ARN) of the Amazon EFS file system location that you want information about.</p><br>
    /// - On success, responds with [`DescribeLocationEfsOutput`](crate::operation::describe_location_efs::DescribeLocationEfsOutput) with field(s):
    ///   - [`location_arn(Option<String>)`](crate::operation::describe_location_efs::DescribeLocationEfsOutput::location_arn): <p>The ARN of the Amazon EFS file system location.</p>
    ///   - [`location_uri(Option<String>)`](crate::operation::describe_location_efs::DescribeLocationEfsOutput::location_uri): <p>The URL of the Amazon EFS file system location.</p>
    ///   - [`ec2_config(Option<Ec2Config>)`](crate::operation::describe_location_efs::DescribeLocationEfsOutput::ec2_config): <p>The subnet and security groups that DataSync uses to connect to one of your Amazon EFS file system's <a href="https://docs.aws.amazon.com/efs/latest/ug/accessing-fs.html">mount targets</a>.</p>
    ///   - [`creation_time(Option<DateTime>)`](crate::operation::describe_location_efs::DescribeLocationEfsOutput::creation_time): <p>The time that the location was created.</p>
    ///   - [`access_point_arn(Option<String>)`](crate::operation::describe_location_efs::DescribeLocationEfsOutput::access_point_arn): <p>The ARN of the access point that DataSync uses to access the Amazon EFS file system.</p> <p>For more information, see <a href="https://docs.aws.amazon.com/datasync/latest/userguide/create-efs-location.html#create-efs-location-iam">Accessing restricted file systems</a>.</p>
    ///   - [`file_system_access_role_arn(Option<String>)`](crate::operation::describe_location_efs::DescribeLocationEfsOutput::file_system_access_role_arn): <p>The Identity and Access Management (IAM) role that allows DataSync to access your Amazon EFS file system.</p> <p>For more information, see <a href="https://docs.aws.amazon.com/datasync/latest/userguide/create-efs-location.html#create-efs-location-iam-role">Creating a DataSync IAM role for file system access</a>.</p>
    ///   - [`in_transit_encryption(Option<EfsInTransitEncryption>)`](crate::operation::describe_location_efs::DescribeLocationEfsOutput::in_transit_encryption): <p>Indicates whether DataSync uses Transport Layer Security (TLS) encryption when transferring data to or from the Amazon EFS file system.</p>
    /// - On failure, responds with [`SdkError<DescribeLocationEfsError>`](crate::operation::describe_location_efs::DescribeLocationEfsError)
    pub fn describe_location_efs(&self) -> crate::operation::describe_location_efs::builders::DescribeLocationEfsFluentBuilder {
        crate::operation::describe_location_efs::builders::DescribeLocationEfsFluentBuilder::new(self.handle.clone())
    }
}