Create/Update a DomainObjectType in a Customer Profiles domain¶
Description¶
Create/Update a DomainObjectType in a Customer Profiles domain. To create a new DomainObjectType, Data Store needs to be enabled on the Domain.
Usage¶
customerprofiles_put_domain_object_type(DomainName, ObjectTypeName,
Description, EncryptionKey, Fields, Tags)
Arguments¶
DomainName
[required] The unique name of the domain.
ObjectTypeName
[required] The unique name of the domain object type.
Description
The description of the domain object type.
EncryptionKey
The customer provided KMS key used to encrypt this type of domain object.
Fields
[required] A map of field names to their corresponding domain object type field definitions.
Tags
The tags used to organize, track, or control access for this resource.
Value¶
A list with the following syntax:
list(
ObjectTypeName = "string",
Description = "string",
EncryptionKey = "string",
Fields = list(
list(
Source = "string",
Target = "string",
ContentType = "STRING"|"NUMBER",
FeatureType = "TEXTUAL"|"CATEGORICAL"
)
),
CreatedAt = as.POSIXct(
"2015-01-01"
),
LastUpdatedAt = as.POSIXct(
"2015-01-01"
),
Tags = list(
"string"
)
)