amazonka-customer-profiles-2.0: Amazon Connect Customer Profiles 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.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
FromJSON 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 #

Read Profile Source # 
Instance details

Defined in Amazonka.CustomerProfiles.Types.Profile

Show Profile Source # 
Instance details

Defined in Amazonka.CustomerProfiles.Types.Profile

NFData Profile Source # 
Instance details

Defined in Amazonka.CustomerProfiles.Types.Profile

Methods

rnf :: Profile -> () #

Eq Profile Source # 
Instance details

Defined in Amazonka.CustomerProfiles.Types.Profile

Methods

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

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

Hashable Profile Source # 
Instance details

Defined in Amazonka.CustomerProfiles.Types.Profile

Methods

hashWithSalt :: Int -> Profile -> Int #

hash :: Profile -> Int #

type Rep Profile Source # 
Instance details

Defined in Amazonka.CustomerProfiles.Types.Profile

type Rep Profile = D1 ('MetaData "Profile" "Amazonka.CustomerProfiles.Types.Profile" "amazonka-customer-profiles-2.0-7iC4NjyJEW8JuQGNtDiJ1f" 'False) (C1 ('MetaCons "Profile'" 'PrefixI 'True) ((((S1 ('MetaSel ('Just "accountNumber") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "additionalInformation") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "address") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Address)) :*: (S1 ('MetaSel ('Just "attributes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text))) :*: S1 ('MetaSel ('Just "billingAddress") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Address))))) :*: ((S1 ('MetaSel ('Just "birthDate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "businessEmailAddress") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "businessName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "businessPhoneNumber") '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 "foundByItems") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (NonEmpty FoundByKeyValue))) :*: (S1 ('MetaSel ('Just "gender") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Gender)) :*: S1 ('MetaSel ('Just "homePhoneNumber") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "lastName") '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 "mobilePhoneNumber") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "partyType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe PartyType)) :*: S1 ('MetaSel ('Just "personalEmailAddress") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "phoneNumber") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "profileId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "shippingAddress") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Address))))))))

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:accountNumber:Profile', profile_accountNumber - A unique account number that you have given to the customer.

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

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

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

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

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

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

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

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

$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:foundByItems:Profile', profile_foundByItems - A list of items used to find a profile returned in a SearchProfiles response. An item is a key-value(s) pair that matches an attribute in the profile.

If the optional AdditionalSearchKeys parameter was included in the SearchProfiles request, the FoundByItems list should be interpreted based on the LogicalOperator used in the request:

  • AND - The profile included in the response matched all of the search keys specified in the request. The FoundByItems will include all of the key-value(s) pairs that were specified in the request (as this is a requirement of AND search logic).
  • OR - The profile included in the response matched at least one of the search keys specified in the request. The FoundByItems will include each of the key-value(s) pairs that the profile was found by.

The OR relationship is the default behavior if the LogicalOperator parameter is not included in the SearchProfiles request.

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

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

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

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

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

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

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

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

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

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

$sel:shippingAddress:Profile', profile_shippingAddress - The customer’s shipping address.

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

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

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

Any additional information relevant to the customer’s profile.

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

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

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

A key value pair of attributes of a customer profile.

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

The customer’s billing address.

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

The customer’s birth date.

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

The customer’s business email address.

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

The name of the customer’s business.

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

The customer’s home phone number.

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_foundByItems :: Lens' Profile (Maybe (NonEmpty FoundByKeyValue)) Source #

A list of items used to find a profile returned in a SearchProfiles response. An item is a key-value(s) pair that matches an attribute in the profile.

If the optional AdditionalSearchKeys parameter was included in the SearchProfiles request, the FoundByItems list should be interpreted based on the LogicalOperator used in the request:

  • AND - The profile included in the response matched all of the search keys specified in the request. The FoundByItems will include all of the key-value(s) pairs that were specified in the request (as this is a requirement of AND search logic).
  • OR - The profile included in the response matched at least one of the search keys specified in the request. The FoundByItems will include each of the key-value(s) pairs that the profile was found by.

The OR relationship is the default behavior if the LogicalOperator parameter is not included in the SearchProfiles request.

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

The gender with which the customer identifies.

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

The customer’s home phone number.

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

The customer’s last name.

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_mobilePhoneNumber :: Lens' Profile (Maybe Text) Source #

The customer’s mobile phone number.

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

The type of profile used to describe the customer.

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

The customer’s personal email address.

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_profileId :: Lens' Profile (Maybe Text) Source #

The unique identifier of a customer profile.

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

The customer’s shipping address.