aws_sdk_workmail/client/
describe_email_monitoring_configuration.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`DescribeEmailMonitoringConfiguration`](crate::operation::describe_email_monitoring_configuration::builders::DescribeEmailMonitoringConfigurationFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`organization_id(impl Into<String>)`](crate::operation::describe_email_monitoring_configuration::builders::DescribeEmailMonitoringConfigurationFluentBuilder::organization_id) / [`set_organization_id(Option<String>)`](crate::operation::describe_email_monitoring_configuration::builders::DescribeEmailMonitoringConfigurationFluentBuilder::set_organization_id):<br>required: **true**<br><p>The ID of the organization for which the email monitoring configuration is described.</p><br>
    /// - On success, responds with [`DescribeEmailMonitoringConfigurationOutput`](crate::operation::describe_email_monitoring_configuration::DescribeEmailMonitoringConfigurationOutput) with field(s):
    ///   - [`role_arn(Option<String>)`](crate::operation::describe_email_monitoring_configuration::DescribeEmailMonitoringConfigurationOutput::role_arn): <p>The Amazon Resource Name (ARN) of the IAM Role associated with the email monitoring configuration.</p>
    ///   - [`log_group_arn(Option<String>)`](crate::operation::describe_email_monitoring_configuration::DescribeEmailMonitoringConfigurationOutput::log_group_arn): <p>The Amazon Resource Name (ARN) of the CloudWatch Log group associated with the email monitoring configuration.</p>
    /// - On failure, responds with [`SdkError<DescribeEmailMonitoringConfigurationError>`](crate::operation::describe_email_monitoring_configuration::DescribeEmailMonitoringConfigurationError)
    pub fn describe_email_monitoring_configuration(
        &self,
    ) -> crate::operation::describe_email_monitoring_configuration::builders::DescribeEmailMonitoringConfigurationFluentBuilder {
        crate::operation::describe_email_monitoring_configuration::builders::DescribeEmailMonitoringConfigurationFluentBuilder::new(
            self.handle.clone(),
        )
    }
}