aws_sdk_s3/client/get_bucket_abac.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 [`GetBucketAbac`](crate::operation::get_bucket_abac::builders::GetBucketAbacFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`bucket(impl Into<String>)`](crate::operation::get_bucket_abac::builders::GetBucketAbacFluentBuilder::bucket) / [`set_bucket(Option<String>)`](crate::operation::get_bucket_abac::builders::GetBucketAbacFluentBuilder::set_bucket):<br>required: **true**<br><p>The name of the general purpose bucket.</p><br>
7 /// - [`expected_bucket_owner(impl Into<String>)`](crate::operation::get_bucket_abac::builders::GetBucketAbacFluentBuilder::expected_bucket_owner) / [`set_expected_bucket_owner(Option<String>)`](crate::operation::get_bucket_abac::builders::GetBucketAbacFluentBuilder::set_expected_bucket_owner):<br>required: **false**<br><p>The Amazon Web Services account ID of the general purpose bucket's owner.</p><br>
8 /// - On success, responds with [`GetBucketAbacOutput`](crate::operation::get_bucket_abac::GetBucketAbacOutput) with field(s):
9 /// - [`abac_status(Option<AbacStatus>)`](crate::operation::get_bucket_abac::GetBucketAbacOutput::abac_status): <p>The ABAC status of the general purpose bucket.</p>
10 /// - On failure, responds with [`SdkError<GetBucketAbacError>`](crate::operation::get_bucket_abac::GetBucketAbacError)
11 pub fn get_bucket_abac(&self) -> crate::operation::get_bucket_abac::builders::GetBucketAbacFluentBuilder {
12 crate::operation::get_bucket_abac::builders::GetBucketAbacFluentBuilder::new(self.handle.clone())
13 }
14}