aws-sdk-efs 1.65.0

AWS SDK for Amazon Elastic File System
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`DescribeFileSystemPolicy`](crate::operation::describe_file_system_policy::builders::DescribeFileSystemPolicyFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`file_system_id(impl Into<String>)`](crate::operation::describe_file_system_policy::builders::DescribeFileSystemPolicyFluentBuilder::file_system_id) / [`set_file_system_id(Option<String>)`](crate::operation::describe_file_system_policy::builders::DescribeFileSystemPolicyFluentBuilder::set_file_system_id):<br>required: **true**<br><p>Specifies which EFS file system to retrieve the <code>FileSystemPolicy</code> for.</p><br>
    /// - On success, responds with [`DescribeFileSystemPolicyOutput`](crate::operation::describe_file_system_policy::DescribeFileSystemPolicyOutput) with field(s):
    ///   - [`file_system_id(Option<String>)`](crate::operation::describe_file_system_policy::DescribeFileSystemPolicyOutput::file_system_id): <p>Specifies the EFS file system to which the <code>FileSystemPolicy</code> applies.</p>
    ///   - [`policy(Option<String>)`](crate::operation::describe_file_system_policy::DescribeFileSystemPolicyOutput::policy): <p>The JSON formatted <code>FileSystemPolicy</code> for the EFS file system.</p>
    /// - On failure, responds with [`SdkError<DescribeFileSystemPolicyError>`](crate::operation::describe_file_system_policy::DescribeFileSystemPolicyError)
    pub fn describe_file_system_policy(&self) -> crate::operation::describe_file_system_policy::builders::DescribeFileSystemPolicyFluentBuilder {
        crate::operation::describe_file_system_policy::builders::DescribeFileSystemPolicyFluentBuilder::new(self.handle.clone())
    }
}