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

Description

Adds additional objects to customer profiles of a given ObjectType.

When adding a specific profile object, like a Contact Trace Record (CTR), an inferred profile can get created if it is not mapped to an existing profile. The resulting profile will only have a phone number populated in the standard ProfileObject. Any additional CTRs with the same phone number will be mapped to the same inferred profile.

When a ProfileObject is created and if a ProfileObjectType already exists for the ProfileObject, it will provide data to a standard profile depending on the ProfileObjectType definition.

PutProfileObject needs an ObjectType, which can be created using PutProfileObjectType.

Synopsis

Creating a Request

data PutProfileObject Source #

See: newPutProfileObject smart constructor.

Constructors

PutProfileObject' 

Fields

Instances

Instances details
Eq PutProfileObject Source # 
Instance details

Defined in Amazonka.CustomerProfiles.PutProfileObject

Read PutProfileObject Source # 
Instance details

Defined in Amazonka.CustomerProfiles.PutProfileObject

Show PutProfileObject Source # 
Instance details

Defined in Amazonka.CustomerProfiles.PutProfileObject

Generic PutProfileObject Source # 
Instance details

Defined in Amazonka.CustomerProfiles.PutProfileObject

Associated Types

type Rep PutProfileObject :: Type -> Type #

NFData PutProfileObject Source # 
Instance details

Defined in Amazonka.CustomerProfiles.PutProfileObject

Methods

rnf :: PutProfileObject -> () #

Hashable PutProfileObject Source # 
Instance details

Defined in Amazonka.CustomerProfiles.PutProfileObject

ToJSON PutProfileObject Source # 
Instance details

Defined in Amazonka.CustomerProfiles.PutProfileObject

AWSRequest PutProfileObject Source # 
Instance details

Defined in Amazonka.CustomerProfiles.PutProfileObject

Associated Types

type AWSResponse PutProfileObject #

ToHeaders PutProfileObject Source # 
Instance details

Defined in Amazonka.CustomerProfiles.PutProfileObject

ToPath PutProfileObject Source # 
Instance details

Defined in Amazonka.CustomerProfiles.PutProfileObject

ToQuery PutProfileObject Source # 
Instance details

Defined in Amazonka.CustomerProfiles.PutProfileObject

type Rep PutProfileObject Source # 
Instance details

Defined in Amazonka.CustomerProfiles.PutProfileObject

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

Defined in Amazonka.CustomerProfiles.PutProfileObject

newPutProfileObject Source #

Create a value of PutProfileObject 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:objectTypeName:PutProfileObject', putProfileObject_objectTypeName - The name of the profile object type.

$sel:object':PutProfileObject', putProfileObject_object - A string that is serialized from a JSON object.

$sel:domainName:PutProfileObject', putProfileObject_domainName - The unique name of the domain.

Request Lenses

putProfileObject_objectTypeName :: Lens' PutProfileObject Text Source #

The name of the profile object type.

putProfileObject_object :: Lens' PutProfileObject Text Source #

A string that is serialized from a JSON object.

Destructuring the Response

data PutProfileObjectResponse Source #

See: newPutProfileObjectResponse smart constructor.

Constructors

PutProfileObjectResponse' 

Fields

Instances

Instances details
Eq PutProfileObjectResponse Source # 
Instance details

Defined in Amazonka.CustomerProfiles.PutProfileObject

Read PutProfileObjectResponse Source # 
Instance details

Defined in Amazonka.CustomerProfiles.PutProfileObject

Show PutProfileObjectResponse Source # 
Instance details

Defined in Amazonka.CustomerProfiles.PutProfileObject

Generic PutProfileObjectResponse Source # 
Instance details

Defined in Amazonka.CustomerProfiles.PutProfileObject

Associated Types

type Rep PutProfileObjectResponse :: Type -> Type #

NFData PutProfileObjectResponse Source # 
Instance details

Defined in Amazonka.CustomerProfiles.PutProfileObject

type Rep PutProfileObjectResponse Source # 
Instance details

Defined in Amazonka.CustomerProfiles.PutProfileObject

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

newPutProfileObjectResponse Source #

Create a value of PutProfileObjectResponse 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:profileObjectUniqueKey:PutProfileObjectResponse', putProfileObjectResponse_profileObjectUniqueKey - The unique identifier of the profile object generated by the service.

$sel:httpStatus:PutProfileObjectResponse', putProfileObjectResponse_httpStatus - The response's http status code.

Response Lenses

putProfileObjectResponse_profileObjectUniqueKey :: Lens' PutProfileObjectResponse (Maybe Text) Source #

The unique identifier of the profile object generated by the service.