libZSservicesZSamazonka-customer-profilesZSamazonka-customer-profiles
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.CustomerProfiles.Types.Profile

Description

 
Synopsis

Documentation

data Profile Source #

The standard profile of a customer.

See: newProfile smart constructor.

Constructors

Profile' 

Fields

Instances

Instances details
Eq Profile Source # 
Instance details

Defined in Amazonka.CustomerProfiles.Types.Profile

Methods

(==) :: Profile -> Profile -> Bool #

(/=) :: Profile -> Profile -> Bool #

Read Profile Source # 
Instance details

Defined in Amazonka.CustomerProfiles.Types.Profile

Show Profile Source # 
Instance details

Defined in Amazonka.CustomerProfiles.Types.Profile

Generic Profile Source # 
Instance details

Defined in Amazonka.CustomerProfiles.Types.Profile

Associated Types

type Rep Profile :: Type -> Type #

Methods

from :: Profile -> Rep Profile x #

to :: Rep Profile x -> Profile #

NFData Profile Source # 
Instance details

Defined in Amazonka.CustomerProfiles.Types.Profile

Methods

rnf :: Profile -> () #

Hashable Profile Source # 
Instance details

Defined in Amazonka.CustomerProfiles.Types.Profile

Methods

hashWithSalt :: Int -> Profile -> Int #

hash :: Profile -> Int #

FromJSON Profile Source # 
Instance details

Defined in Amazonka.CustomerProfiles.Types.Profile

type Rep Profile Source # 
Instance details

Defined in Amazonka.CustomerProfiles.Types.Profile

type Rep Profile = D1 ('MetaData "Profile" "Amazonka.CustomerProfiles.Types.Profile" "libZSservicesZSamazonka-customer-profilesZSamazonka-customer-profiles" 'False) (C1 ('MetaCons "Profile'" 'PrefixI 'True) ((((S1 ('MetaSel ('Just "shippingAddress") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Address)) :*: S1 ('MetaSel ('Just "mobilePhoneNumber") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "mailingAddress") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Address)) :*: (S1 ('MetaSel ('Just "middleName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "personalEmailAddress") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))) :*: ((S1 ('MetaSel ('Just "lastName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "additionalInformation") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "homePhoneNumber") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "address") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Address)) :*: (S1 ('MetaSel ('Just "partyType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe PartyType)) :*: S1 ('MetaSel ('Just "profileId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))) :*: (((S1 ('MetaSel ('Just "businessEmailAddress") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "attributes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text)))) :*: (S1 ('MetaSel ('Just "gender") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Gender)) :*: (S1 ('MetaSel ('Just "phoneNumber") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "accountNumber") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))) :*: ((S1 ('MetaSel ('Just "emailAddress") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "firstName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "billingAddress") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Address)))) :*: (S1 ('MetaSel ('Just "businessPhoneNumber") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "birthDate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "businessName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))))))

newProfile :: Profile Source #

Create a value of Profile 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:shippingAddress:Profile', profile_shippingAddress - The customer’s shipping address.

$sel:mobilePhoneNumber:Profile', profile_mobilePhoneNumber - The customer’s mobile phone number.

$sel:mailingAddress:Profile', profile_mailingAddress - The customer’s mailing address.

$sel:middleName:Profile', profile_middleName - The customer’s middle name.

$sel:personalEmailAddress:Profile', profile_personalEmailAddress - The customer’s personal email address.

$sel:lastName:Profile', profile_lastName - The customer’s last name.

$sel:additionalInformation:Profile', profile_additionalInformation - Any additional information relevant to the customer’s profile.

$sel:homePhoneNumber:Profile', profile_homePhoneNumber - The customer’s home phone number.

$sel:address:Profile', profile_address - A generic address associated with the customer that is not mailing, shipping, or billing.

$sel:partyType:Profile', profile_partyType - The type of profile used to describe the customer.

$sel:profileId:Profile', profile_profileId - The unique identifier of a customer profile.

$sel:businessEmailAddress:Profile', profile_businessEmailAddress - The customer’s business email address.

$sel:attributes:Profile', profile_attributes - A key value pair of attributes of a customer profile.

$sel:gender:Profile', profile_gender - The gender with which the customer identifies.

$sel:phoneNumber:Profile', profile_phoneNumber - The customer's phone number, which has not been specified as a mobile, home, or business number.

$sel:accountNumber:Profile', profile_accountNumber - A unique account number that you have given to the customer.

$sel:emailAddress:Profile', profile_emailAddress - The customer’s email address, which has not been specified as a personal or business address.

$sel:firstName:Profile', profile_firstName - The customer’s first name.

$sel:billingAddress:Profile', profile_billingAddress - The customer’s billing address.

$sel:businessPhoneNumber:Profile', profile_businessPhoneNumber - The customer’s home phone number.

$sel:birthDate:Profile', profile_birthDate - The customer’s birth date.

$sel:businessName:Profile', profile_businessName - The name of the customer’s business.

profile_shippingAddress :: Lens' Profile (Maybe Address) Source #

The customer’s shipping address.

profile_mobilePhoneNumber :: Lens' Profile (Maybe Text) Source #

The customer’s mobile phone number.

profile_mailingAddress :: Lens' Profile (Maybe Address) Source #

The customer’s mailing address.

profile_middleName :: Lens' Profile (Maybe Text) Source #

The customer’s middle name.

profile_personalEmailAddress :: Lens' Profile (Maybe Text) Source #

The customer’s personal email address.

profile_lastName :: Lens' Profile (Maybe Text) Source #

The customer’s last name.

profile_additionalInformation :: Lens' Profile (Maybe Text) Source #

Any additional information relevant to the customer’s profile.

profile_homePhoneNumber :: Lens' Profile (Maybe Text) Source #

The customer’s home phone number.

profile_address :: Lens' Profile (Maybe Address) Source #

A generic address associated with the customer that is not mailing, shipping, or billing.

profile_partyType :: Lens' Profile (Maybe PartyType) Source #

The type of profile used to describe the customer.

profile_profileId :: Lens' Profile (Maybe Text) Source #

The unique identifier of a customer profile.

profile_businessEmailAddress :: Lens' Profile (Maybe Text) Source #

The customer’s business email address.

profile_attributes :: Lens' Profile (Maybe (HashMap Text Text)) Source #

A key value pair of attributes of a customer profile.

profile_gender :: Lens' Profile (Maybe Gender) Source #

The gender with which the customer identifies.

profile_phoneNumber :: Lens' Profile (Maybe Text) Source #

The customer's phone number, which has not been specified as a mobile, home, or business number.

profile_accountNumber :: Lens' Profile (Maybe Text) Source #

A unique account number that you have given to the customer.

profile_emailAddress :: Lens' Profile (Maybe Text) Source #

The customer’s email address, which has not been specified as a personal or business address.

profile_firstName :: Lens' Profile (Maybe Text) Source #

The customer’s first name.

profile_billingAddress :: Lens' Profile (Maybe Address) Source #

The customer’s billing address.

profile_businessPhoneNumber :: Lens' Profile (Maybe Text) Source #

The customer’s home phone number.

profile_birthDate :: Lens' Profile (Maybe Text) Source #

The customer’s birth date.

profile_businessName :: Lens' Profile (Maybe Text) Source #

The name of the customer’s business.