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

Description

Associates a new key value with a specific profile, such as a Contact Trace Record (CTR) ContactId.

A profile object can have a single unique key and any number of additional keys that can be used to identify the profile that it belongs to.

Synopsis

Creating a Request

data AddProfileKey Source #

See: newAddProfileKey smart constructor.

Constructors

AddProfileKey' 

Fields

Instances

Instances details
Eq AddProfileKey Source # 
Instance details

Defined in Amazonka.CustomerProfiles.AddProfileKey

Read AddProfileKey Source # 
Instance details

Defined in Amazonka.CustomerProfiles.AddProfileKey

Show AddProfileKey Source # 
Instance details

Defined in Amazonka.CustomerProfiles.AddProfileKey

Generic AddProfileKey Source # 
Instance details

Defined in Amazonka.CustomerProfiles.AddProfileKey

Associated Types

type Rep AddProfileKey :: Type -> Type #

NFData AddProfileKey Source # 
Instance details

Defined in Amazonka.CustomerProfiles.AddProfileKey

Methods

rnf :: AddProfileKey -> () #

Hashable AddProfileKey Source # 
Instance details

Defined in Amazonka.CustomerProfiles.AddProfileKey

ToJSON AddProfileKey Source # 
Instance details

Defined in Amazonka.CustomerProfiles.AddProfileKey

AWSRequest AddProfileKey Source # 
Instance details

Defined in Amazonka.CustomerProfiles.AddProfileKey

Associated Types

type AWSResponse AddProfileKey #

ToHeaders AddProfileKey Source # 
Instance details

Defined in Amazonka.CustomerProfiles.AddProfileKey

ToPath AddProfileKey Source # 
Instance details

Defined in Amazonka.CustomerProfiles.AddProfileKey

ToQuery AddProfileKey Source # 
Instance details

Defined in Amazonka.CustomerProfiles.AddProfileKey

type Rep AddProfileKey Source # 
Instance details

Defined in Amazonka.CustomerProfiles.AddProfileKey

type Rep AddProfileKey = D1 ('MetaData "AddProfileKey" "Amazonka.CustomerProfiles.AddProfileKey" "libZSservicesZSamazonka-customer-profilesZSamazonka-customer-profiles" 'False) (C1 ('MetaCons "AddProfileKey'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "profileId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "keyName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "values") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Text]) :*: S1 ('MetaSel ('Just "domainName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse AddProfileKey Source # 
Instance details

Defined in Amazonka.CustomerProfiles.AddProfileKey

newAddProfileKey Source #

Create a value of AddProfileKey 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:profileId:AddProfileKey', addProfileKey_profileId - The unique identifier of a customer profile.

$sel:keyName:AddProfileKey', addProfileKey_keyName - A searchable identifier of a customer profile.

$sel:values:AddProfileKey', addProfileKey_values - A list of key values.

$sel:domainName:AddProfileKey', addProfileKey_domainName - The unique name of the domain.

Request Lenses

addProfileKey_profileId :: Lens' AddProfileKey Text Source #

The unique identifier of a customer profile.

addProfileKey_keyName :: Lens' AddProfileKey Text Source #

A searchable identifier of a customer profile.

addProfileKey_domainName :: Lens' AddProfileKey Text Source #

The unique name of the domain.

Destructuring the Response

data AddProfileKeyResponse Source #

See: newAddProfileKeyResponse smart constructor.

Constructors

AddProfileKeyResponse' 

Fields

Instances

Instances details
Eq AddProfileKeyResponse Source # 
Instance details

Defined in Amazonka.CustomerProfiles.AddProfileKey

Read AddProfileKeyResponse Source # 
Instance details

Defined in Amazonka.CustomerProfiles.AddProfileKey

Show AddProfileKeyResponse Source # 
Instance details

Defined in Amazonka.CustomerProfiles.AddProfileKey

Generic AddProfileKeyResponse Source # 
Instance details

Defined in Amazonka.CustomerProfiles.AddProfileKey

Associated Types

type Rep AddProfileKeyResponse :: Type -> Type #

NFData AddProfileKeyResponse Source # 
Instance details

Defined in Amazonka.CustomerProfiles.AddProfileKey

Methods

rnf :: AddProfileKeyResponse -> () #

type Rep AddProfileKeyResponse Source # 
Instance details

Defined in Amazonka.CustomerProfiles.AddProfileKey

type Rep AddProfileKeyResponse = D1 ('MetaData "AddProfileKeyResponse" "Amazonka.CustomerProfiles.AddProfileKey" "libZSservicesZSamazonka-customer-profilesZSamazonka-customer-profiles" 'False) (C1 ('MetaCons "AddProfileKeyResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "values") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: (S1 ('MetaSel ('Just "keyName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newAddProfileKeyResponse Source #

Create a value of AddProfileKeyResponse 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:values:AddProfileKey', addProfileKeyResponse_values - A list of key values.

$sel:keyName:AddProfileKey', addProfileKeyResponse_keyName - A searchable identifier of a customer profile.

$sel:httpStatus:AddProfileKeyResponse', addProfileKeyResponse_httpStatus - The response's http status code.

Response Lenses

addProfileKeyResponse_keyName :: Lens' AddProfileKeyResponse (Maybe Text) Source #

A searchable identifier of a customer profile.