// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`PutBucketAnalyticsConfiguration`](crate::operation::put_bucket_analytics_configuration::builders::PutBucketAnalyticsConfigurationFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`bucket(impl Into<String>)`](crate::operation::put_bucket_analytics_configuration::builders::PutBucketAnalyticsConfigurationFluentBuilder::bucket) / [`set_bucket(Option<String>)`](crate::operation::put_bucket_analytics_configuration::builders::PutBucketAnalyticsConfigurationFluentBuilder::set_bucket):<br>required: **true**<br><p>The name of the bucket to which an analytics configuration is stored.</p><br>
/// - [`id(impl Into<String>)`](crate::operation::put_bucket_analytics_configuration::builders::PutBucketAnalyticsConfigurationFluentBuilder::id) / [`set_id(Option<String>)`](crate::operation::put_bucket_analytics_configuration::builders::PutBucketAnalyticsConfigurationFluentBuilder::set_id):<br>required: **true**<br><p>The ID that identifies the analytics configuration.</p><br>
/// - [`analytics_configuration(AnalyticsConfiguration)`](crate::operation::put_bucket_analytics_configuration::builders::PutBucketAnalyticsConfigurationFluentBuilder::analytics_configuration) / [`set_analytics_configuration(Option<AnalyticsConfiguration>)`](crate::operation::put_bucket_analytics_configuration::builders::PutBucketAnalyticsConfigurationFluentBuilder::set_analytics_configuration):<br>required: **true**<br><p>The configuration and any analyses for the analytics filter.</p><br>
/// - [`expected_bucket_owner(impl Into<String>)`](crate::operation::put_bucket_analytics_configuration::builders::PutBucketAnalyticsConfigurationFluentBuilder::expected_bucket_owner) / [`set_expected_bucket_owner(Option<String>)`](crate::operation::put_bucket_analytics_configuration::builders::PutBucketAnalyticsConfigurationFluentBuilder::set_expected_bucket_owner):<br>required: **false**<br><p>The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code <code>403 Forbidden</code> (access denied).</p><br>
/// - On success, responds with [`PutBucketAnalyticsConfigurationOutput`](crate::operation::put_bucket_analytics_configuration::PutBucketAnalyticsConfigurationOutput)
/// - On failure, responds with [`SdkError<PutBucketAnalyticsConfigurationError>`](crate::operation::put_bucket_analytics_configuration::PutBucketAnalyticsConfigurationError)
pub fn put_bucket_analytics_configuration(
&self,
) -> crate::operation::put_bucket_analytics_configuration::builders::PutBucketAnalyticsConfigurationFluentBuilder {
crate::operation::put_bucket_analytics_configuration::builders::PutBucketAnalyticsConfigurationFluentBuilder::new(self.handle.clone())
}
}