aws-sdk-s3files 1.1.0

AWS SDK for Amazon S3 Files
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 [`GetFileSystemPolicy`](crate::operation::get_file_system_policy::builders::GetFileSystemPolicyFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`file_system_id(impl Into<String>)`](crate::operation::get_file_system_policy::builders::GetFileSystemPolicyFluentBuilder::file_system_id) / [`set_file_system_id(Option<String>)`](crate::operation::get_file_system_policy::builders::GetFileSystemPolicyFluentBuilder::set_file_system_id):<br>required: **true**<br><p>The ID or Amazon Resource Name (ARN) of the S3 File System whose resource policy to retrieve.</p><br>
    /// - On success, responds with [`GetFileSystemPolicyOutput`](crate::operation::get_file_system_policy::GetFileSystemPolicyOutput) with field(s):
    ///   - [`file_system_id(String)`](crate::operation::get_file_system_policy::GetFileSystemPolicyOutput::file_system_id): <p>The ID of the file system.</p>
    ///   - [`policy(String)`](crate::operation::get_file_system_policy::GetFileSystemPolicyOutput::policy): <p>The JSON-formatted resource policy for the file system.</p>
    /// - On failure, responds with [`SdkError<GetFileSystemPolicyError>`](crate::operation::get_file_system_policy::GetFileSystemPolicyError)
    pub fn get_file_system_policy(&self) -> crate::operation::get_file_system_policy::builders::GetFileSystemPolicyFluentBuilder {
        crate::operation::get_file_system_policy::builders::GetFileSystemPolicyFluentBuilder::new(self.handle.clone())
    }
}