libZSservicesZSamazonka-sesv2ZSamazonka-sesv2
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.SESV2.GetContact

Description

Returns a contact from a contact list.

Synopsis

Creating a Request

data GetContact Source #

See: newGetContact smart constructor.

Constructors

GetContact' 

Fields

Instances

Instances details
Eq GetContact Source # 
Instance details

Defined in Amazonka.SESV2.GetContact

Read GetContact Source # 
Instance details

Defined in Amazonka.SESV2.GetContact

Show GetContact Source # 
Instance details

Defined in Amazonka.SESV2.GetContact

Generic GetContact Source # 
Instance details

Defined in Amazonka.SESV2.GetContact

Associated Types

type Rep GetContact :: Type -> Type #

NFData GetContact Source # 
Instance details

Defined in Amazonka.SESV2.GetContact

Methods

rnf :: GetContact -> () #

Hashable GetContact Source # 
Instance details

Defined in Amazonka.SESV2.GetContact

AWSRequest GetContact Source # 
Instance details

Defined in Amazonka.SESV2.GetContact

Associated Types

type AWSResponse GetContact #

ToHeaders GetContact Source # 
Instance details

Defined in Amazonka.SESV2.GetContact

Methods

toHeaders :: GetContact -> [Header] #

ToPath GetContact Source # 
Instance details

Defined in Amazonka.SESV2.GetContact

ToQuery GetContact Source # 
Instance details

Defined in Amazonka.SESV2.GetContact

type Rep GetContact Source # 
Instance details

Defined in Amazonka.SESV2.GetContact

type Rep GetContact = D1 ('MetaData "GetContact" "Amazonka.SESV2.GetContact" "libZSservicesZSamazonka-sesv2ZSamazonka-sesv2" 'False) (C1 ('MetaCons "GetContact'" 'PrefixI 'True) (S1 ('MetaSel ('Just "contactListName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "emailAddress") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse GetContact Source # 
Instance details

Defined in Amazonka.SESV2.GetContact

newGetContact Source #

Create a value of GetContact 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:contactListName:GetContact', getContact_contactListName - The name of the contact list to which the contact belongs.

$sel:emailAddress:GetContact', getContact_emailAddress - The contact's email addres.

Request Lenses

getContact_contactListName :: Lens' GetContact Text Source #

The name of the contact list to which the contact belongs.

getContact_emailAddress :: Lens' GetContact Text Source #

The contact's email addres.

Destructuring the Response

data GetContactResponse Source #

See: newGetContactResponse smart constructor.

Constructors

GetContactResponse' 

Fields

Instances

Instances details
Eq GetContactResponse Source # 
Instance details

Defined in Amazonka.SESV2.GetContact

Read GetContactResponse Source # 
Instance details

Defined in Amazonka.SESV2.GetContact

Show GetContactResponse Source # 
Instance details

Defined in Amazonka.SESV2.GetContact

Generic GetContactResponse Source # 
Instance details

Defined in Amazonka.SESV2.GetContact

Associated Types

type Rep GetContactResponse :: Type -> Type #

NFData GetContactResponse Source # 
Instance details

Defined in Amazonka.SESV2.GetContact

Methods

rnf :: GetContactResponse -> () #

type Rep GetContactResponse Source # 
Instance details

Defined in Amazonka.SESV2.GetContact

type Rep GetContactResponse = D1 ('MetaData "GetContactResponse" "Amazonka.SESV2.GetContact" "libZSservicesZSamazonka-sesv2ZSamazonka-sesv2" 'False) (C1 ('MetaCons "GetContactResponse'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "unsubscribeAll") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "attributesData") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "topicDefaultPreferences") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [TopicPreference])) :*: S1 ('MetaSel ('Just "emailAddress") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "contactListName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "createdTimestamp") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX))) :*: (S1 ('MetaSel ('Just "lastUpdatedTimestamp") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: (S1 ('MetaSel ('Just "topicPreferences") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [TopicPreference])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))))

newGetContactResponse Source #

Create a value of GetContactResponse 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:unsubscribeAll:GetContactResponse', getContactResponse_unsubscribeAll - A boolean value status noting if the contact is unsubscribed from all contact list topics.

$sel:attributesData:GetContactResponse', getContactResponse_attributesData - The attribute data attached to a contact.

$sel:topicDefaultPreferences:GetContactResponse', getContactResponse_topicDefaultPreferences - The default topic preferences applied to the contact.

$sel:emailAddress:GetContact', getContactResponse_emailAddress - The contact's email addres.

$sel:contactListName:GetContact', getContactResponse_contactListName - The name of the contact list to which the contact belongs.

$sel:createdTimestamp:GetContactResponse', getContactResponse_createdTimestamp - A timestamp noting when the contact was created.

$sel:lastUpdatedTimestamp:GetContactResponse', getContactResponse_lastUpdatedTimestamp - A timestamp noting the last time the contact's information was updated.

$sel:topicPreferences:GetContactResponse', getContactResponse_topicPreferences - The contact's preference for being opted-in to or opted-out of a topic.>

$sel:httpStatus:GetContactResponse', getContactResponse_httpStatus - The response's http status code.

Response Lenses

getContactResponse_unsubscribeAll :: Lens' GetContactResponse (Maybe Bool) Source #

A boolean value status noting if the contact is unsubscribed from all contact list topics.

getContactResponse_attributesData :: Lens' GetContactResponse (Maybe Text) Source #

The attribute data attached to a contact.

getContactResponse_topicDefaultPreferences :: Lens' GetContactResponse (Maybe [TopicPreference]) Source #

The default topic preferences applied to the contact.

getContactResponse_contactListName :: Lens' GetContactResponse (Maybe Text) Source #

The name of the contact list to which the contact belongs.

getContactResponse_createdTimestamp :: Lens' GetContactResponse (Maybe UTCTime) Source #

A timestamp noting when the contact was created.

getContactResponse_lastUpdatedTimestamp :: Lens' GetContactResponse (Maybe UTCTime) Source #

A timestamp noting the last time the contact's information was updated.

getContactResponse_topicPreferences :: Lens' GetContactResponse (Maybe [TopicPreference]) Source #

The contact's preference for being opted-in to or opted-out of a topic.>