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, including the identity's verification status, sending authorization policies, 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' {
- dkimAttributes :: Maybe DkimAttributes
- verifiedForSendingStatus :: Maybe Bool
- configurationSetName :: Maybe Text
- identityType :: Maybe IdentityType
- mailFromAttributes :: Maybe MailFromAttributes
- feedbackForwardingStatus :: Maybe Bool
- policies :: Maybe (HashMap Text Text)
- tags :: Maybe [Tag]
- httpStatus :: Int
- newGetEmailIdentityResponse :: Int -> GetEmailIdentityResponse
- getEmailIdentityResponse_dkimAttributes :: Lens' GetEmailIdentityResponse (Maybe DkimAttributes)
- getEmailIdentityResponse_verifiedForSendingStatus :: Lens' GetEmailIdentityResponse (Maybe Bool)
- getEmailIdentityResponse_configurationSetName :: Lens' GetEmailIdentityResponse (Maybe Text)
- getEmailIdentityResponse_identityType :: Lens' GetEmailIdentityResponse (Maybe IdentityType)
- getEmailIdentityResponse_mailFromAttributes :: Lens' GetEmailIdentityResponse (Maybe MailFromAttributes)
- getEmailIdentityResponse_feedbackForwardingStatus :: Lens' GetEmailIdentityResponse (Maybe Bool)
- getEmailIdentityResponse_policies :: Lens' GetEmailIdentityResponse (Maybe (HashMap Text Text))
- 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.
Request Lenses
getEmailIdentity_emailIdentity :: Lens' GetEmailIdentity Text Source #
The email identity.
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.
$sel:verifiedForSendingStatus:GetEmailIdentityResponse'
, getEmailIdentityResponse_verifiedForSendingStatus
- Specifies whether or not the identity is verified. You can only send
email from verified email addresses or domains. For more information
about verifying identities, see the
Amazon Pinpoint User Guide.
$sel:configurationSetName:GetEmailIdentityResponse'
, getEmailIdentityResponse_configurationSetName
- The configuration set used by default when sending from this identity.
$sel:identityType:GetEmailIdentityResponse'
, getEmailIdentityResponse_identityType
- The email identity type. Note: the MANAGED_DOMAIN
identity type is not
supported.
$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
, you receive email notifications when bounce or
complaint events occur. These notifications are sent to the address that
you specified in the Return-Path
header of the original email.
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 (for example, by setting up an event destination), you receive an email notification when these events occur (even if this setting is disabled).
$sel:policies:GetEmailIdentityResponse'
, getEmailIdentityResponse_policies
- A map of policy names to policies.
$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.
getEmailIdentityResponse_verifiedForSendingStatus :: Lens' GetEmailIdentityResponse (Maybe Bool) Source #
Specifies whether or not the identity is verified. You can only send email from verified email addresses or domains. For more information about verifying identities, see the Amazon Pinpoint User Guide.
getEmailIdentityResponse_configurationSetName :: Lens' GetEmailIdentityResponse (Maybe Text) Source #
The configuration set used by default when sending from this identity.
getEmailIdentityResponse_identityType :: Lens' GetEmailIdentityResponse (Maybe IdentityType) Source #
The email identity type. Note: the MANAGED_DOMAIN
identity type is not
supported.
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
, you receive email notifications when bounce or
complaint events occur. These notifications are sent to the address that
you specified in the Return-Path
header of the original email.
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 (for example, by setting up an event destination), you receive an email notification when these events occur (even if this setting is disabled).
getEmailIdentityResponse_policies :: Lens' GetEmailIdentityResponse (Maybe (HashMap Text Text)) Source #
A map of policy names to policies.
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.