put_profile_object_type
¶
put_profile_object_type(
domain_name: name,
object_type_name: typeName,
description: sensitiveText,
*,
config_overrides: Optional[CustomerProfilesClientConfig] = None,
template_id: Optional[name] = None,
expiration_days: Optional[expirationDaysInteger] = None,
encryption_key: Optional[encryptionKey] = None,
allow_profile_creation: Optional[boolean] = None,
source_last_updated_timestamp_format: Optional[string1To255] = None,
max_profile_object_count: Optional[minSize1] = None,
source_priority: Optional[minSize1] = None,
fields: Optional[FieldMap] = None,
keys: Optional[KeyMap] = None,
tags: Optional[TagMap] = None,
) -> PutProfileObjectTypeResponse
Defines a ProfileObjectType.
To add or remove tags on an existing ObjectType, see TagResource/UntagResource.
Parameters:
-
domain_name(name) –The unique name of the domain.
-
object_type_name(typeName) –The name of the profile object type.
-
description(sensitiveText) –Description of the profile object type.
-
template_id(Optional[name], default:None) –A unique identifier for the object template. For some attributes in the request, the service will use the default value from the object template when TemplateId is present. If these attributes are present in the request, the service may return a
BadRequestException. These attributes include: AllowProfileCreation, SourceLastUpdatedTimestampFormat, Fields, and Keys. For example, if AllowProfileCreation is set to true when TemplateId is set, the service may return aBadRequestException. -
expiration_days(Optional[expirationDaysInteger], default:None) –The number of days until the data in the object expires.
-
encryption_key(Optional[encryptionKey], default:None) –The customer-provided key to encrypt the profile object that will be created in this profile object type.
-
allow_profile_creation(Optional[boolean], default:None) –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 toFALSE, then the service tries to fetch a standard profile and associate this object with the profile. If it is set toTRUE, and if no match is found, then the service creates a new standard profile. -
source_last_updated_timestamp_format(Optional[string1To255], default:None) –The format of your
sourceLastUpdatedTimestampthat was previously set up. -
max_profile_object_count(Optional[minSize1], default:None) –The amount of profile object max count assigned to the object type
-
source_priority(Optional[minSize1], default:None) –An integer that determines the priority of this object type when data from multiple sources is ingested. Lower values take priority. Object types without a specified source priority default to the lowest priority.
-
fields(Optional[FieldMap], default:None) –A map of the name and ObjectType field.
-
keys(Optional[KeyMap], default:None) –A list of unique keys that can be used to map data to the profile.
-
tags(Optional[TagMap], default:None) –The tags used to organize, track, or control access for this resource.
Raises:
-
AccessDeniedException–You do not have sufficient access to perform this action.
-
BadRequestException–The input you provided is invalid.
-
InternalServerException–An internal service error occurred.
-
ResourceNotFoundException–The requested resource does not exist, or access was denied.
-
ThrottlingException–You exceeded the maximum number of requests.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_customer_profiles/_services/customer_profiles.py
7728 7729 7730 7731 7732 7733 7734 7735 7736 7737 7738 7739 7740 7741 7742 7743 7744 7745 7746 7747 7748 7749 7750 7751 7752 7753 7754 7755 7756 7757 7758 7759 7760 7761 7762 7763 7764 7765 7766 7767 7768 7769 7770 7771 7772 7773 7774 7775 7776 7777 7778 7779 7780 7781 7782 7783 7784 7785 7786 7787 7788 7789 7790 7791 7792 7793 7794 7795 7796 7797 7798 7799 7800 7801 7802 7803 7804 7805 7806 7807 7808 7809 7810 7811 7812 7813 7814 7815 7816 7817 7818 7819 7820 7821 7822 7823 7824 7825 7826 7827 7828 7829 7830 7831 7832 7833 7834 7835 7836 7837 7838 7839 7840 7841 7842 7843 7844 7845 7846 7847 7848 7849 7850 7851 7852 7853 7854 7855 7856 7857 7858 | |