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.
-
DescriptionThe description of the domain object type.
-
EncryptionKeyThe 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.
-
TagsThe 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"
)
)