aws_sdk_omics/client/
get_s3_access_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 [`GetS3AccessPolicy`](crate::operation::get_s3_access_policy::builders::GetS3AccessPolicyFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`s3_access_point_arn(impl Into<String>)`](crate::operation::get_s3_access_policy::builders::GetS3AccessPolicyFluentBuilder::s3_access_point_arn) / [`set_s3_access_point_arn(Option<String>)`](crate::operation::get_s3_access_policy::builders::GetS3AccessPolicyFluentBuilder::set_s3_access_point_arn):<br>required: **true**<br><p>The S3 access point ARN that has the access policy.</p><br>
7    /// - On success, responds with [`GetS3AccessPolicyOutput`](crate::operation::get_s3_access_policy::GetS3AccessPolicyOutput) with field(s):
8    ///   - [`s3_access_point_arn(Option<String>)`](crate::operation::get_s3_access_policy::GetS3AccessPolicyOutput::s3_access_point_arn): <p>The S3 access point ARN that has the access policy.</p>
9    ///   - [`store_id(Option<String>)`](crate::operation::get_s3_access_policy::GetS3AccessPolicyOutput::store_id): <p>The AWS-generated Sequence Store or Reference Store ID.</p>
10    ///   - [`store_type(Option<StoreType>)`](crate::operation::get_s3_access_policy::GetS3AccessPolicyOutput::store_type): <p>The type of store associated with the access point.</p>
11    ///   - [`update_time(Option<DateTime>)`](crate::operation::get_s3_access_policy::GetS3AccessPolicyOutput::update_time): <p>The time when the policy was last updated.</p>
12    ///   - [`s3_access_policy(String)`](crate::operation::get_s3_access_policy::GetS3AccessPolicyOutput::s3_access_policy): <p>The current resource policy that controls S3 access on the store.</p>
13    /// - On failure, responds with [`SdkError<GetS3AccessPolicyError>`](crate::operation::get_s3_access_policy::GetS3AccessPolicyError)
14    pub fn get_s3_access_policy(&self) -> crate::operation::get_s3_access_policy::builders::GetS3AccessPolicyFluentBuilder {
15        crate::operation::get_s3_access_policy::builders::GetS3AccessPolicyFluentBuilder::new(self.handle.clone())
16    }
17}