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 [`GetEmailIdentity`](crate::operation::get_email_identity::builders::GetEmailIdentityFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`email_identity(impl Into<String>)`](crate::operation::get_email_identity::builders::GetEmailIdentityFluentBuilder::email_identity) / [`set_email_identity(Option<String>)`](crate::operation::get_email_identity::builders::GetEmailIdentityFluentBuilder::set_email_identity):<br>required: **true**<br><p>The email identity that you want to retrieve details for.</p><br>
    /// - On success, responds with [`GetEmailIdentityOutput`](crate::operation::get_email_identity::GetEmailIdentityOutput) with field(s):
    ///   - [`identity_type(Option<IdentityType>)`](crate::operation::get_email_identity::GetEmailIdentityOutput::identity_type): <p>The email identity type.</p>
    ///   - [`feedback_forwarding_status(bool)`](crate::operation::get_email_identity::GetEmailIdentityOutput::feedback_forwarding_status): <p>The feedback forwarding configuration for the identity.</p> <p>If the value is <code>true</code>, Amazon Pinpoint sends you email notifications when bounce or complaint events occur. Amazon Pinpoint sends this notification to the address that you specified in the Return-Path header of the original email.</p> <p>When you set this value to <code>false</code>, Amazon Pinpoint sends notifications through other mechanisms, such as by notifying an Amazon SNS topic or another event destination. You're required to have a method of tracking bounces and complaints. If you haven't set up another mechanism for receiving bounce or complaint notifications, Amazon Pinpoint sends an email notification when these events occur (even if this setting is disabled).</p>
    ///   - [`verified_for_sending_status(bool)`](crate::operation::get_email_identity::GetEmailIdentityOutput::verified_for_sending_status): <p>Specifies whether or not the identity is verified. In Amazon Pinpoint, you can only send email from verified email addresses or domains. For more information about verifying identities, see the <a href="https://docs.aws.amazon.com/pinpoint/latest/userguide/channels-email-manage-verify.html">Amazon Pinpoint User Guide</a>.</p>
    ///   - [`dkim_attributes(Option<DkimAttributes>)`](crate::operation::get_email_identity::GetEmailIdentityOutput::dkim_attributes): <p>An object that contains information about the DKIM attributes for the identity. This object includes the tokens that you use to create the CNAME records that are required to complete the DKIM verification process.</p>
    ///   - [`mail_from_attributes(Option<MailFromAttributes>)`](crate::operation::get_email_identity::GetEmailIdentityOutput::mail_from_attributes): <p>An object that contains information about the Mail-From attributes for the email identity.</p>
    ///   - [`tags(Option<Vec::<Tag>>)`](crate::operation::get_email_identity::GetEmailIdentityOutput::tags): <p>An array of objects that define the tags (keys and values) that are associated with the email identity.</p>
    /// - On failure, responds with [`SdkError<GetEmailIdentityError>`](crate::operation::get_email_identity::GetEmailIdentityError)
    pub fn get_email_identity(&self) -> crate::operation::get_email_identity::builders::GetEmailIdentityFluentBuilder {
        crate::operation::get_email_identity::builders::GetEmailIdentityFluentBuilder::new(self.handle.clone())
    }
}