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

Description

Returns the template information for a specific object type.

A template is a predefined ProfileObjectType, such as “Salesforce-Account” or “Salesforce-Contact.” When a user sends a ProfileObject, using the PutProfileObject API, with an ObjectTypeName that matches one of the TemplateIds, it uses the mappings from the template.

Synopsis

Creating a Request

data GetProfileObjectTypeTemplate Source #

See: newGetProfileObjectTypeTemplate smart constructor.

Constructors

GetProfileObjectTypeTemplate' 

Fields

Instances

Instances details
Eq GetProfileObjectTypeTemplate Source # 
Instance details

Defined in Amazonka.CustomerProfiles.GetProfileObjectTypeTemplate

Read GetProfileObjectTypeTemplate Source # 
Instance details

Defined in Amazonka.CustomerProfiles.GetProfileObjectTypeTemplate

Show GetProfileObjectTypeTemplate Source # 
Instance details

Defined in Amazonka.CustomerProfiles.GetProfileObjectTypeTemplate

Generic GetProfileObjectTypeTemplate Source # 
Instance details

Defined in Amazonka.CustomerProfiles.GetProfileObjectTypeTemplate

Associated Types

type Rep GetProfileObjectTypeTemplate :: Type -> Type #

NFData GetProfileObjectTypeTemplate Source # 
Instance details

Defined in Amazonka.CustomerProfiles.GetProfileObjectTypeTemplate

Hashable GetProfileObjectTypeTemplate Source # 
Instance details

Defined in Amazonka.CustomerProfiles.GetProfileObjectTypeTemplate

AWSRequest GetProfileObjectTypeTemplate Source # 
Instance details

Defined in Amazonka.CustomerProfiles.GetProfileObjectTypeTemplate

ToHeaders GetProfileObjectTypeTemplate Source # 
Instance details

Defined in Amazonka.CustomerProfiles.GetProfileObjectTypeTemplate

ToPath GetProfileObjectTypeTemplate Source # 
Instance details

Defined in Amazonka.CustomerProfiles.GetProfileObjectTypeTemplate

ToQuery GetProfileObjectTypeTemplate Source # 
Instance details

Defined in Amazonka.CustomerProfiles.GetProfileObjectTypeTemplate

type Rep GetProfileObjectTypeTemplate Source # 
Instance details

Defined in Amazonka.CustomerProfiles.GetProfileObjectTypeTemplate

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

Defined in Amazonka.CustomerProfiles.GetProfileObjectTypeTemplate

newGetProfileObjectTypeTemplate Source #

Create a value of GetProfileObjectTypeTemplate 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:templateId:GetProfileObjectTypeTemplate', getProfileObjectTypeTemplate_templateId - A unique identifier for the object template.

Request Lenses

Destructuring the Response

data GetProfileObjectTypeTemplateResponse Source #

Constructors

GetProfileObjectTypeTemplateResponse' 

Fields

  • sourceName :: Maybe Text

    The name of the source of the object template.

  • templateId :: Maybe Text

    A unique identifier for the object template.

  • sourceObject :: Maybe Text

    The source of the object template.

  • keys :: Maybe (HashMap Text [ObjectTypeKey])

    A list of unique keys that can be used to map data to the profile.

  • allowProfileCreation :: Maybe Bool

    Indicates whether a profile should be created when data is received if one doesn’t exist for an object of this type. The default is FALSE. If the AllowProfileCreation flag is set to FALSE, then the service tries to fetch a standard profile and associate this object with the profile. If it is set to TRUE, and if no match is found, then the service creates a new standard profile.

  • fields :: Maybe (HashMap Text ObjectTypeField)

    A map of the name and ObjectType field.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Eq GetProfileObjectTypeTemplateResponse Source # 
Instance details

Defined in Amazonka.CustomerProfiles.GetProfileObjectTypeTemplate

Read GetProfileObjectTypeTemplateResponse Source # 
Instance details

Defined in Amazonka.CustomerProfiles.GetProfileObjectTypeTemplate

Show GetProfileObjectTypeTemplateResponse Source # 
Instance details

Defined in Amazonka.CustomerProfiles.GetProfileObjectTypeTemplate

Generic GetProfileObjectTypeTemplateResponse Source # 
Instance details

Defined in Amazonka.CustomerProfiles.GetProfileObjectTypeTemplate

NFData GetProfileObjectTypeTemplateResponse Source # 
Instance details

Defined in Amazonka.CustomerProfiles.GetProfileObjectTypeTemplate

type Rep GetProfileObjectTypeTemplateResponse Source # 
Instance details

Defined in Amazonka.CustomerProfiles.GetProfileObjectTypeTemplate

type Rep GetProfileObjectTypeTemplateResponse = D1 ('MetaData "GetProfileObjectTypeTemplateResponse" "Amazonka.CustomerProfiles.GetProfileObjectTypeTemplate" "libZSservicesZSamazonka-customer-profilesZSamazonka-customer-profiles" 'False) (C1 ('MetaCons "GetProfileObjectTypeTemplateResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "sourceName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "templateId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "sourceObject") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "keys") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text [ObjectTypeKey]))) :*: S1 ('MetaSel ('Just "allowProfileCreation") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))) :*: (S1 ('MetaSel ('Just "fields") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text ObjectTypeField))) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))))

newGetProfileObjectTypeTemplateResponse Source #

Create a value of GetProfileObjectTypeTemplateResponse 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:sourceName:GetProfileObjectTypeTemplateResponse', getProfileObjectTypeTemplateResponse_sourceName - The name of the source of the object template.

$sel:templateId:GetProfileObjectTypeTemplate', getProfileObjectTypeTemplateResponse_templateId - A unique identifier for the object template.

$sel:sourceObject:GetProfileObjectTypeTemplateResponse', getProfileObjectTypeTemplateResponse_sourceObject - The source of the object template.

$sel:keys:GetProfileObjectTypeTemplateResponse', getProfileObjectTypeTemplateResponse_keys - A list of unique keys that can be used to map data to the profile.

$sel:allowProfileCreation:GetProfileObjectTypeTemplateResponse', getProfileObjectTypeTemplateResponse_allowProfileCreation - Indicates whether a profile should be created when data is received if one doesn’t exist for an object of this type. The default is FALSE. If the AllowProfileCreation flag is set to FALSE, then the service tries to fetch a standard profile and associate this object with the profile. If it is set to TRUE, and if no match is found, then the service creates a new standard profile.

$sel:fields:GetProfileObjectTypeTemplateResponse', getProfileObjectTypeTemplateResponse_fields - A map of the name and ObjectType field.

$sel:httpStatus:GetProfileObjectTypeTemplateResponse', getProfileObjectTypeTemplateResponse_httpStatus - The response's http status code.

Response Lenses

getProfileObjectTypeTemplateResponse_keys :: Lens' GetProfileObjectTypeTemplateResponse (Maybe (HashMap Text [ObjectTypeKey])) Source #

A list of unique keys that can be used to map data to the profile.

getProfileObjectTypeTemplateResponse_allowProfileCreation :: Lens' GetProfileObjectTypeTemplateResponse (Maybe Bool) Source #

Indicates whether a profile should be created when data is received if one doesn’t exist for an object of this type. The default is FALSE. If the AllowProfileCreation flag is set to FALSE, then the service tries to fetch a standard profile and associate this object with the profile. If it is set to TRUE, and if no match is found, then the service creates a new standard profile.