Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Provides information about a specific identity associated with your Amazon Pinpoint account, including the identity's verification status, its DKIM authentication status, and its custom Mail-From settings.
Synopsis
- data GetEmailIdentity = GetEmailIdentity' {}
- newGetEmailIdentity :: Text -> GetEmailIdentity
- getEmailIdentity_emailIdentity :: Lens' GetEmailIdentity Text
- data GetEmailIdentityResponse = GetEmailIdentityResponse' {}
- newGetEmailIdentityResponse :: Int -> GetEmailIdentityResponse
- getEmailIdentityResponse_dkimAttributes :: Lens' GetEmailIdentityResponse (Maybe DkimAttributes)
- getEmailIdentityResponse_verifiedForSendingStatus :: Lens' GetEmailIdentityResponse (Maybe Bool)
- getEmailIdentityResponse_identityType :: Lens' GetEmailIdentityResponse (Maybe IdentityType)
- getEmailIdentityResponse_mailFromAttributes :: Lens' GetEmailIdentityResponse (Maybe MailFromAttributes)
- getEmailIdentityResponse_feedbackForwardingStatus :: Lens' GetEmailIdentityResponse (Maybe Bool)
- getEmailIdentityResponse_tags :: Lens' GetEmailIdentityResponse (Maybe [Tag])
- getEmailIdentityResponse_httpStatus :: Lens' GetEmailIdentityResponse Int
Creating a Request
data GetEmailIdentity Source #
A request to return details about an email identity.
See: newGetEmailIdentity
smart constructor.
GetEmailIdentity' | |
|
Instances
Create a value of GetEmailIdentity
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:emailIdentity:GetEmailIdentity'
, getEmailIdentity_emailIdentity
- The email identity that you want to retrieve details for.
Request Lenses
getEmailIdentity_emailIdentity :: Lens' GetEmailIdentity Text Source #
The email identity that you want to retrieve details for.
Destructuring the Response
data GetEmailIdentityResponse Source #
Details about an email identity.
See: newGetEmailIdentityResponse
smart constructor.
GetEmailIdentityResponse' | |
|
Instances
newGetEmailIdentityResponse Source #
Create a value of GetEmailIdentityResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:dkimAttributes:GetEmailIdentityResponse'
, getEmailIdentityResponse_dkimAttributes
- 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.
$sel:verifiedForSendingStatus:GetEmailIdentityResponse'
, getEmailIdentityResponse_verifiedForSendingStatus
- 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
Amazon Pinpoint User Guide.
$sel:identityType:GetEmailIdentityResponse'
, getEmailIdentityResponse_identityType
- The email identity type.
$sel:mailFromAttributes:GetEmailIdentityResponse'
, getEmailIdentityResponse_mailFromAttributes
- An object that contains information about the Mail-From attributes for
the email identity.
$sel:feedbackForwardingStatus:GetEmailIdentityResponse'
, getEmailIdentityResponse_feedbackForwardingStatus
- The feedback forwarding configuration for the identity.
If the value is true
, 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.
When you set this value to false
, 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).
$sel:tags:GetEmailIdentityResponse'
, getEmailIdentityResponse_tags
- An array of objects that define the tags (keys and values) that are
associated with the email identity.
$sel:httpStatus:GetEmailIdentityResponse'
, getEmailIdentityResponse_httpStatus
- The response's http status code.
Response Lenses
getEmailIdentityResponse_dkimAttributes :: Lens' GetEmailIdentityResponse (Maybe DkimAttributes) Source #
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.
getEmailIdentityResponse_verifiedForSendingStatus :: Lens' GetEmailIdentityResponse (Maybe Bool) Source #
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 Amazon Pinpoint User Guide.
getEmailIdentityResponse_identityType :: Lens' GetEmailIdentityResponse (Maybe IdentityType) Source #
The email identity type.
getEmailIdentityResponse_mailFromAttributes :: Lens' GetEmailIdentityResponse (Maybe MailFromAttributes) Source #
An object that contains information about the Mail-From attributes for the email identity.
getEmailIdentityResponse_feedbackForwardingStatus :: Lens' GetEmailIdentityResponse (Maybe Bool) Source #
The feedback forwarding configuration for the identity.
If the value is true
, 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.
When you set this value to false
, 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).
getEmailIdentityResponse_tags :: Lens' GetEmailIdentityResponse (Maybe [Tag]) Source #
An array of objects that define the tags (keys and values) that are associated with the email identity.
getEmailIdentityResponse_httpStatus :: Lens' GetEmailIdentityResponse Int Source #
The response's http status code.