libZSservicesZSamazonka-pinpoint-emailZSamazonka-pinpoint-email
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.PinpointEmail.Types.IdentityInfo

Description

 
Synopsis

Documentation

data IdentityInfo Source #

Information about an email identity.

See: newIdentityInfo smart constructor.

Constructors

IdentityInfo' 

Fields

  • identityType :: Maybe IdentityType

    The email identity type. The identity type can be one of the following:

    • EMAIL_ADDRESS – The identity is an email address.
    • DOMAIN – The identity is a domain.
    • MANAGED_DOMAIN – The identity is a domain that is managed by AWS.
  • identityName :: Maybe Text

    The address or domain of the identity.

  • sendingEnabled :: Maybe Bool

    Indicates whether or not you can send email from the identity.

    In Amazon Pinpoint, an identity is an email address or domain that you send email from. Before you can send email from an identity, you have to demostrate that you own the identity, and that you authorize Amazon Pinpoint to send email from that identity.

Instances

Instances details
Eq IdentityInfo Source # 
Instance details

Defined in Amazonka.PinpointEmail.Types.IdentityInfo

Read IdentityInfo Source # 
Instance details

Defined in Amazonka.PinpointEmail.Types.IdentityInfo

Show IdentityInfo Source # 
Instance details

Defined in Amazonka.PinpointEmail.Types.IdentityInfo

Generic IdentityInfo Source # 
Instance details

Defined in Amazonka.PinpointEmail.Types.IdentityInfo

Associated Types

type Rep IdentityInfo :: Type -> Type #

NFData IdentityInfo Source # 
Instance details

Defined in Amazonka.PinpointEmail.Types.IdentityInfo

Methods

rnf :: IdentityInfo -> () #

Hashable IdentityInfo Source # 
Instance details

Defined in Amazonka.PinpointEmail.Types.IdentityInfo

FromJSON IdentityInfo Source # 
Instance details

Defined in Amazonka.PinpointEmail.Types.IdentityInfo

type Rep IdentityInfo Source # 
Instance details

Defined in Amazonka.PinpointEmail.Types.IdentityInfo

type Rep IdentityInfo = D1 ('MetaData "IdentityInfo" "Amazonka.PinpointEmail.Types.IdentityInfo" "libZSservicesZSamazonka-pinpoint-emailZSamazonka-pinpoint-email" 'False) (C1 ('MetaCons "IdentityInfo'" 'PrefixI 'True) (S1 ('MetaSel ('Just "identityType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe IdentityType)) :*: (S1 ('MetaSel ('Just "identityName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "sendingEnabled") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)))))

newIdentityInfo :: IdentityInfo Source #

Create a value of IdentityInfo 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:identityType:IdentityInfo', identityInfo_identityType - The email identity type. The identity type can be one of the following:

  • EMAIL_ADDRESS – The identity is an email address.
  • DOMAIN – The identity is a domain.
  • MANAGED_DOMAIN – The identity is a domain that is managed by AWS.

$sel:identityName:IdentityInfo', identityInfo_identityName - The address or domain of the identity.

$sel:sendingEnabled:IdentityInfo', identityInfo_sendingEnabled - Indicates whether or not you can send email from the identity.

In Amazon Pinpoint, an identity is an email address or domain that you send email from. Before you can send email from an identity, you have to demostrate that you own the identity, and that you authorize Amazon Pinpoint to send email from that identity.

identityInfo_identityType :: Lens' IdentityInfo (Maybe IdentityType) Source #

The email identity type. The identity type can be one of the following:

  • EMAIL_ADDRESS – The identity is an email address.
  • DOMAIN – The identity is a domain.
  • MANAGED_DOMAIN – The identity is a domain that is managed by AWS.

identityInfo_identityName :: Lens' IdentityInfo (Maybe Text) Source #

The address or domain of the identity.

identityInfo_sendingEnabled :: Lens' IdentityInfo (Maybe Bool) Source #

Indicates whether or not you can send email from the identity.

In Amazon Pinpoint, an identity is an email address or domain that you send email from. Before you can send email from an identity, you have to demostrate that you own the identity, and that you authorize Amazon Pinpoint to send email from that identity.