amazonka-sesv2-2.0: Amazon Simple Email Service SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.SESV2.GetEmailIdentity

Description

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

Creating a Request

data GetEmailIdentity Source #

A request to return details about an email identity.

See: newGetEmailIdentity smart constructor.

Constructors

GetEmailIdentity' 

Fields

Instances

Instances details
ToHeaders GetEmailIdentity Source # 
Instance details

Defined in Amazonka.SESV2.GetEmailIdentity

ToPath GetEmailIdentity Source # 
Instance details

Defined in Amazonka.SESV2.GetEmailIdentity

ToQuery GetEmailIdentity Source # 
Instance details

Defined in Amazonka.SESV2.GetEmailIdentity

AWSRequest GetEmailIdentity Source # 
Instance details

Defined in Amazonka.SESV2.GetEmailIdentity

Associated Types

type AWSResponse GetEmailIdentity #

Generic GetEmailIdentity Source # 
Instance details

Defined in Amazonka.SESV2.GetEmailIdentity

Associated Types

type Rep GetEmailIdentity :: Type -> Type #

Read GetEmailIdentity Source # 
Instance details

Defined in Amazonka.SESV2.GetEmailIdentity

Show GetEmailIdentity Source # 
Instance details

Defined in Amazonka.SESV2.GetEmailIdentity

NFData GetEmailIdentity Source # 
Instance details

Defined in Amazonka.SESV2.GetEmailIdentity

Methods

rnf :: GetEmailIdentity -> () #

Eq GetEmailIdentity Source # 
Instance details

Defined in Amazonka.SESV2.GetEmailIdentity

Hashable GetEmailIdentity Source # 
Instance details

Defined in Amazonka.SESV2.GetEmailIdentity

type AWSResponse GetEmailIdentity Source # 
Instance details

Defined in Amazonka.SESV2.GetEmailIdentity

type Rep GetEmailIdentity Source # 
Instance details

Defined in Amazonka.SESV2.GetEmailIdentity

type Rep GetEmailIdentity = D1 ('MetaData "GetEmailIdentity" "Amazonka.SESV2.GetEmailIdentity" "amazonka-sesv2-2.0-KPRo1S1CRfP4bs5VKSgHvB" 'False) (C1 ('MetaCons "GetEmailIdentity'" 'PrefixI 'True) (S1 ('MetaSel ('Just "emailIdentity") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newGetEmailIdentity Source #

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

Destructuring the Response

data GetEmailIdentityResponse Source #

Details about an email identity.

See: newGetEmailIdentityResponse smart constructor.

Constructors

GetEmailIdentityResponse' 

Fields

  • configurationSetName :: Maybe Text

    The configuration set used by default when sending from this identity.

  • dkimAttributes :: Maybe DkimAttributes

    An object that contains information about the DKIM attributes for the identity.

  • feedbackForwardingStatus :: Maybe Bool

    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).

  • identityType :: Maybe IdentityType

    The email identity type. Note: the MANAGED_DOMAIN identity type is not supported.

  • mailFromAttributes :: Maybe MailFromAttributes

    An object that contains information about the Mail-From attributes for the email identity.

  • policies :: Maybe (HashMap Text Text)

    A map of policy names to policies.

  • tags :: Maybe [Tag]

    An array of objects that define the tags (keys and values) that are associated with the email identity.

  • verificationStatus :: Maybe VerificationStatus

    The verification status of the identity. The status can be one of the following:

    • PENDING – The verification process was initiated, but Amazon SES hasn't yet been able to verify the identity.
    • SUCCESS – The verification process completed successfully.
    • FAILED – The verification process failed.
    • TEMPORARY_FAILURE – A temporary issue is preventing Amazon SES from determining the verification status of the identity.
    • NOT_STARTED – The verification process hasn't been initiated for the identity.
  • verifiedForSendingStatus :: Maybe Bool

    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.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Generic GetEmailIdentityResponse Source # 
Instance details

Defined in Amazonka.SESV2.GetEmailIdentity

Associated Types

type Rep GetEmailIdentityResponse :: Type -> Type #

Read GetEmailIdentityResponse Source # 
Instance details

Defined in Amazonka.SESV2.GetEmailIdentity

Show GetEmailIdentityResponse Source # 
Instance details

Defined in Amazonka.SESV2.GetEmailIdentity

NFData GetEmailIdentityResponse Source # 
Instance details

Defined in Amazonka.SESV2.GetEmailIdentity

Eq GetEmailIdentityResponse Source # 
Instance details

Defined in Amazonka.SESV2.GetEmailIdentity

type Rep GetEmailIdentityResponse Source # 
Instance details

Defined in Amazonka.SESV2.GetEmailIdentity

type Rep GetEmailIdentityResponse = D1 ('MetaData "GetEmailIdentityResponse" "Amazonka.SESV2.GetEmailIdentity" "amazonka-sesv2-2.0-KPRo1S1CRfP4bs5VKSgHvB" 'False) (C1 ('MetaCons "GetEmailIdentityResponse'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "configurationSetName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "dkimAttributes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe DkimAttributes))) :*: (S1 ('MetaSel ('Just "feedbackForwardingStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 ('MetaSel ('Just "identityType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe IdentityType)) :*: S1 ('MetaSel ('Just "mailFromAttributes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe MailFromAttributes))))) :*: ((S1 ('MetaSel ('Just "policies") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text))) :*: S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Tag]))) :*: (S1 ('MetaSel ('Just "verificationStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe VerificationStatus)) :*: (S1 ('MetaSel ('Just "verifiedForSendingStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))))

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:configurationSetName:GetEmailIdentityResponse', getEmailIdentityResponse_configurationSetName - The configuration set used by default when sending from this identity.

$sel:dkimAttributes:GetEmailIdentityResponse', getEmailIdentityResponse_dkimAttributes - An object that contains information about the DKIM attributes for the 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).

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: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.

GetEmailIdentityResponse, getEmailIdentityResponse_verificationStatus - The verification status of the identity. The status can be one of the following:

  • PENDING – The verification process was initiated, but Amazon SES hasn't yet been able to verify the identity.
  • SUCCESS – The verification process completed successfully.
  • FAILED – The verification process failed.
  • TEMPORARY_FAILURE – A temporary issue is preventing Amazon SES from determining the verification status of the identity.
  • NOT_STARTED – The verification process hasn't been initiated 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:httpStatus:GetEmailIdentityResponse', getEmailIdentityResponse_httpStatus - The response's http status code.

Response Lenses

getEmailIdentityResponse_configurationSetName :: Lens' GetEmailIdentityResponse (Maybe Text) Source #

The configuration set used by default when sending from this identity.

getEmailIdentityResponse_dkimAttributes :: Lens' GetEmailIdentityResponse (Maybe DkimAttributes) Source #

An object that contains information about the DKIM attributes for the 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_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_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_verificationStatus :: Lens' GetEmailIdentityResponse (Maybe VerificationStatus) Source #

The verification status of the identity. The status can be one of the following:

  • PENDING – The verification process was initiated, but Amazon SES hasn't yet been able to verify the identity.
  • SUCCESS – The verification process completed successfully.
  • FAILED – The verification process failed.
  • TEMPORARY_FAILURE – A temporary issue is preventing Amazon SES from determining the verification status of the identity.
  • NOT_STARTED – The verification process hasn't been initiated 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.