aws_sdk_workmail/client/
put_inbound_dmarc_settings.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`PutInboundDmarcSettings`](crate::operation::put_inbound_dmarc_settings::builders::PutInboundDmarcSettingsFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`organization_id(impl Into<String>)`](crate::operation::put_inbound_dmarc_settings::builders::PutInboundDmarcSettingsFluentBuilder::organization_id) / [`set_organization_id(Option<String>)`](crate::operation::put_inbound_dmarc_settings::builders::PutInboundDmarcSettingsFluentBuilder::set_organization_id):<br>required: **true**<br><p>The ID of the organization that you are applying the DMARC policy to.</p><br>
    ///   - [`enforced(bool)`](crate::operation::put_inbound_dmarc_settings::builders::PutInboundDmarcSettingsFluentBuilder::enforced) / [`set_enforced(Option<bool>)`](crate::operation::put_inbound_dmarc_settings::builders::PutInboundDmarcSettingsFluentBuilder::set_enforced):<br>required: **true**<br><p>Enforces or suspends a policy after it's applied.</p><br>
    /// - On success, responds with [`PutInboundDmarcSettingsOutput`](crate::operation::put_inbound_dmarc_settings::PutInboundDmarcSettingsOutput)
    /// - On failure, responds with [`SdkError<PutInboundDmarcSettingsError>`](crate::operation::put_inbound_dmarc_settings::PutInboundDmarcSettingsError)
    pub fn put_inbound_dmarc_settings(&self) -> crate::operation::put_inbound_dmarc_settings::builders::PutInboundDmarcSettingsFluentBuilder {
        crate::operation::put_inbound_dmarc_settings::builders::PutInboundDmarcSettingsFluentBuilder::new(self.handle.clone())
    }
}