aws_sdk_shield/client/associate_drt_log_bucket.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 [`AssociateDRTLogBucket`](crate::operation::associate_drt_log_bucket::builders::AssociateDRTLogBucketFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`log_bucket(impl Into<String>)`](crate::operation::associate_drt_log_bucket::builders::AssociateDRTLogBucketFluentBuilder::log_bucket) / [`set_log_bucket(Option<String>)`](crate::operation::associate_drt_log_bucket::builders::AssociateDRTLogBucketFluentBuilder::set_log_bucket):<br>required: **true**<br><p>The Amazon S3 bucket that contains the logs that you want to share.</p><br>
7 /// - On success, responds with [`AssociateDrtLogBucketOutput`](crate::operation::associate_drt_log_bucket::AssociateDrtLogBucketOutput)
8 /// - On failure, responds with [`SdkError<AssociateDRTLogBucketError>`](crate::operation::associate_drt_log_bucket::AssociateDRTLogBucketError)
9 pub fn associate_drt_log_bucket(&self) -> crate::operation::associate_drt_log_bucket::builders::AssociateDRTLogBucketFluentBuilder {
10 crate::operation::associate_drt_log_bucket::builders::AssociateDRTLogBucketFluentBuilder::new(self.handle.clone())
11 }
12}