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

Description

Creates a standard profile.

A standard profile represents the following attributes for a customer profile in a domain.

Synopsis

Creating a Request

data CreateProfile Source #

See: newCreateProfile smart constructor.

Constructors

CreateProfile' 

Fields

Instances

Instances details
Eq CreateProfile Source # 
Instance details

Defined in Amazonka.CustomerProfiles.CreateProfile

Read CreateProfile Source # 
Instance details

Defined in Amazonka.CustomerProfiles.CreateProfile

Show CreateProfile Source # 
Instance details

Defined in Amazonka.CustomerProfiles.CreateProfile

Generic CreateProfile Source # 
Instance details

Defined in Amazonka.CustomerProfiles.CreateProfile

Associated Types

type Rep CreateProfile :: Type -> Type #

NFData CreateProfile Source # 
Instance details

Defined in Amazonka.CustomerProfiles.CreateProfile

Methods

rnf :: CreateProfile -> () #

Hashable CreateProfile Source # 
Instance details

Defined in Amazonka.CustomerProfiles.CreateProfile

ToJSON CreateProfile Source # 
Instance details

Defined in Amazonka.CustomerProfiles.CreateProfile

AWSRequest CreateProfile Source # 
Instance details

Defined in Amazonka.CustomerProfiles.CreateProfile

Associated Types

type AWSResponse CreateProfile #

ToHeaders CreateProfile Source # 
Instance details

Defined in Amazonka.CustomerProfiles.CreateProfile

ToPath CreateProfile Source # 
Instance details

Defined in Amazonka.CustomerProfiles.CreateProfile

ToQuery CreateProfile Source # 
Instance details

Defined in Amazonka.CustomerProfiles.CreateProfile

type Rep CreateProfile Source # 
Instance details

Defined in Amazonka.CustomerProfiles.CreateProfile

type Rep CreateProfile = D1 ('MetaData "CreateProfile" "Amazonka.CustomerProfiles.CreateProfile" "libZSservicesZSamazonka-customer-profilesZSamazonka-customer-profiles" 'False) (C1 ('MetaCons "CreateProfile'" '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 "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)) :*: S1 ('MetaSel ('Just "domainName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))))
type AWSResponse CreateProfile Source # 
Instance details

Defined in Amazonka.CustomerProfiles.CreateProfile

newCreateProfile Source #

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

$sel:mobilePhoneNumber:CreateProfile', createProfile_mobilePhoneNumber - The customer’s mobile phone number.

$sel:mailingAddress:CreateProfile', createProfile_mailingAddress - The customer’s mailing address.

$sel:middleName:CreateProfile', createProfile_middleName - The customer’s middle name.

$sel:personalEmailAddress:CreateProfile', createProfile_personalEmailAddress - The customer’s personal email address.

$sel:lastName:CreateProfile', createProfile_lastName - The customer’s last name.

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

$sel:homePhoneNumber:CreateProfile', createProfile_homePhoneNumber - The customer’s home phone number.

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

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

$sel:businessEmailAddress:CreateProfile', createProfile_businessEmailAddress - The customer’s business email address.

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

$sel:gender:CreateProfile', createProfile_gender - The gender with which the customer identifies.

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

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

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

$sel:firstName:CreateProfile', createProfile_firstName - The customer’s first name.

$sel:billingAddress:CreateProfile', createProfile_billingAddress - The customer’s billing address.

$sel:businessPhoneNumber:CreateProfile', createProfile_businessPhoneNumber - The customer’s business phone number.

$sel:birthDate:CreateProfile', createProfile_birthDate - The customer’s birth date.

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

$sel:domainName:CreateProfile', createProfile_domainName - The unique name of the domain.

Request Lenses

createProfile_shippingAddress :: Lens' CreateProfile (Maybe Address) Source #

The customer’s shipping address.

createProfile_mobilePhoneNumber :: Lens' CreateProfile (Maybe Text) Source #

The customer’s mobile phone number.

createProfile_mailingAddress :: Lens' CreateProfile (Maybe Address) Source #

The customer’s mailing address.

createProfile_middleName :: Lens' CreateProfile (Maybe Text) Source #

The customer’s middle name.

createProfile_personalEmailAddress :: Lens' CreateProfile (Maybe Text) Source #

The customer’s personal email address.

createProfile_lastName :: Lens' CreateProfile (Maybe Text) Source #

The customer’s last name.

createProfile_additionalInformation :: Lens' CreateProfile (Maybe Text) Source #

Any additional information relevant to the customer’s profile.

createProfile_homePhoneNumber :: Lens' CreateProfile (Maybe Text) Source #

The customer’s home phone number.

createProfile_address :: Lens' CreateProfile (Maybe Address) Source #

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

createProfile_partyType :: Lens' CreateProfile (Maybe PartyType) Source #

The type of profile used to describe the customer.

createProfile_businessEmailAddress :: Lens' CreateProfile (Maybe Text) Source #

The customer’s business email address.

createProfile_attributes :: Lens' CreateProfile (Maybe (HashMap Text Text)) Source #

A key value pair of attributes of a customer profile.

createProfile_gender :: Lens' CreateProfile (Maybe Gender) Source #

The gender with which the customer identifies.

createProfile_phoneNumber :: Lens' CreateProfile (Maybe Text) Source #

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

createProfile_accountNumber :: Lens' CreateProfile (Maybe Text) Source #

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

createProfile_emailAddress :: Lens' CreateProfile (Maybe Text) Source #

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

createProfile_firstName :: Lens' CreateProfile (Maybe Text) Source #

The customer’s first name.

createProfile_billingAddress :: Lens' CreateProfile (Maybe Address) Source #

The customer’s billing address.

createProfile_businessPhoneNumber :: Lens' CreateProfile (Maybe Text) Source #

The customer’s business phone number.

createProfile_birthDate :: Lens' CreateProfile (Maybe Text) Source #

The customer’s birth date.

createProfile_businessName :: Lens' CreateProfile (Maybe Text) Source #

The name of the customer’s business.

createProfile_domainName :: Lens' CreateProfile Text Source #

The unique name of the domain.

Destructuring the Response

data CreateProfileResponse Source #

See: newCreateProfileResponse smart constructor.

Constructors

CreateProfileResponse' 

Fields

Instances

Instances details
Eq CreateProfileResponse Source # 
Instance details

Defined in Amazonka.CustomerProfiles.CreateProfile

Read CreateProfileResponse Source # 
Instance details

Defined in Amazonka.CustomerProfiles.CreateProfile

Show CreateProfileResponse Source # 
Instance details

Defined in Amazonka.CustomerProfiles.CreateProfile

Generic CreateProfileResponse Source # 
Instance details

Defined in Amazonka.CustomerProfiles.CreateProfile

Associated Types

type Rep CreateProfileResponse :: Type -> Type #

NFData CreateProfileResponse Source # 
Instance details

Defined in Amazonka.CustomerProfiles.CreateProfile

Methods

rnf :: CreateProfileResponse -> () #

type Rep CreateProfileResponse Source # 
Instance details

Defined in Amazonka.CustomerProfiles.CreateProfile

type Rep CreateProfileResponse = D1 ('MetaData "CreateProfileResponse" "Amazonka.CustomerProfiles.CreateProfile" "libZSservicesZSamazonka-customer-profilesZSamazonka-customer-profiles" 'False) (C1 ('MetaCons "CreateProfileResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "profileId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newCreateProfileResponse Source #

Create a value of CreateProfileResponse 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:httpStatus:CreateProfileResponse', createProfileResponse_httpStatus - The response's http status code.

$sel:profileId:CreateProfileResponse', createProfileResponse_profileId - The unique identifier of a customer profile.

Response Lenses

createProfileResponse_profileId :: Lens' CreateProfileResponse Text Source #

The unique identifier of a customer profile.