aws_sdk_workmail/client/put_email_monitoring_configuration.rs
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`PutEmailMonitoringConfiguration`](crate::operation::put_email_monitoring_configuration::builders::PutEmailMonitoringConfigurationFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`organization_id(impl Into<String>)`](crate::operation::put_email_monitoring_configuration::builders::PutEmailMonitoringConfigurationFluentBuilder::organization_id) / [`set_organization_id(Option<String>)`](crate::operation::put_email_monitoring_configuration::builders::PutEmailMonitoringConfigurationFluentBuilder::set_organization_id):<br>required: **true**<br><p>The ID of the organization for which the email monitoring configuration is set.</p><br>
/// - [`role_arn(impl Into<String>)`](crate::operation::put_email_monitoring_configuration::builders::PutEmailMonitoringConfigurationFluentBuilder::role_arn) / [`set_role_arn(Option<String>)`](crate::operation::put_email_monitoring_configuration::builders::PutEmailMonitoringConfigurationFluentBuilder::set_role_arn):<br>required: **true**<br><p>The Amazon Resource Name (ARN) of the IAM Role associated with the email monitoring configuration.</p><br>
/// - [`log_group_arn(impl Into<String>)`](crate::operation::put_email_monitoring_configuration::builders::PutEmailMonitoringConfigurationFluentBuilder::log_group_arn) / [`set_log_group_arn(Option<String>)`](crate::operation::put_email_monitoring_configuration::builders::PutEmailMonitoringConfigurationFluentBuilder::set_log_group_arn):<br>required: **true**<br><p>The Amazon Resource Name (ARN) of the CloudWatch Log group associated with the email monitoring configuration.</p><br>
/// - On success, responds with [`PutEmailMonitoringConfigurationOutput`](crate::operation::put_email_monitoring_configuration::PutEmailMonitoringConfigurationOutput)
/// - On failure, responds with [`SdkError<PutEmailMonitoringConfigurationError>`](crate::operation::put_email_monitoring_configuration::PutEmailMonitoringConfigurationError)
pub fn put_email_monitoring_configuration(
&self,
) -> crate::operation::put_email_monitoring_configuration::builders::PutEmailMonitoringConfigurationFluentBuilder {
crate::operation::put_email_monitoring_configuration::builders::PutEmailMonitoringConfigurationFluentBuilder::new(self.handle.clone())
}
}