aws_sdk_workmail/client/
describe_inbound_dmarc_settings.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`DescribeInboundDmarcSettings`](crate::operation::describe_inbound_dmarc_settings::builders::DescribeInboundDmarcSettingsFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`organization_id(impl Into<String>)`](crate::operation::describe_inbound_dmarc_settings::builders::DescribeInboundDmarcSettingsFluentBuilder::organization_id) / [`set_organization_id(Option<String>)`](crate::operation::describe_inbound_dmarc_settings::builders::DescribeInboundDmarcSettingsFluentBuilder::set_organization_id):<br>required: **true**<br><p>Lists the ID of the given organization.</p><br>
    /// - On success, responds with [`DescribeInboundDmarcSettingsOutput`](crate::operation::describe_inbound_dmarc_settings::DescribeInboundDmarcSettingsOutput) with field(s):
    ///   - [`enforced(bool)`](crate::operation::describe_inbound_dmarc_settings::DescribeInboundDmarcSettingsOutput::enforced): <p>Lists the enforcement setting of the applied policy.</p>
    /// - On failure, responds with [`SdkError<DescribeInboundDmarcSettingsError>`](crate::operation::describe_inbound_dmarc_settings::DescribeInboundDmarcSettingsError)
    pub fn describe_inbound_dmarc_settings(
        &self,
    ) -> crate::operation::describe_inbound_dmarc_settings::builders::DescribeInboundDmarcSettingsFluentBuilder {
        crate::operation::describe_inbound_dmarc_settings::builders::DescribeInboundDmarcSettingsFluentBuilder::new(self.handle.clone())
    }
}