aws_sdk_efs/client/
describe_file_system_policy.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 [`DescribeFileSystemPolicy`](crate::operation::describe_file_system_policy::builders::DescribeFileSystemPolicyFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`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>
7    /// - On success, responds with [`DescribeFileSystemPolicyOutput`](crate::operation::describe_file_system_policy::DescribeFileSystemPolicyOutput) with field(s):
8    ///   - [`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>
9    ///   - [`policy(Option<String>)`](crate::operation::describe_file_system_policy::DescribeFileSystemPolicyOutput::policy): <p>The JSON formatted <code>FileSystemPolicy</code> for the EFS file system.</p>
10    /// - On failure, responds with [`SdkError<DescribeFileSystemPolicyError>`](crate::operation::describe_file_system_policy::DescribeFileSystemPolicyError)
11    pub fn describe_file_system_policy(&self) -> crate::operation::describe_file_system_policy::builders::DescribeFileSystemPolicyFluentBuilder {
12        crate::operation::describe_file_system_policy::builders::DescribeFileSystemPolicyFluentBuilder::new(self.handle.clone())
13    }
14}