put_profile_object_type
async
¶
put_profile_object_type(
domain_name: name,
object_type_name: typeName,
description: sensitiveText,
*,
config_overrides: Optional[AsyncCustomerProfilesClientConfig] = 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/async_customer_profiles.py
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 7859 7860 7861 7862 7863 7864 7865 7866 7867 7868 7869 7870 7871 7872 7873 7874 7875 7876 7877 7878 7879 7880 7881 7882 7883 7884 7885 7886 7887 7888 7889 7890 7891 7892 7893 7894 7895 7896 7897 7898 7899 7900 7901 7902 7903 7904 7905 7906 7907 7908 7909 7910 7911 7912 7913 7914 7915 7916 7917 7918 7919 7920 7921 7922 7923 7924 7925 7926 7927 7928 7929 7930 7931 7932 7933 7934 7935 7936 7937 7938 7939 7940 7941 7942 7943 7944 7945 7946 7947 7948 7949 7950 7951 7952 7953 7954 7955 7956 7957 7958 7959 7960 7961 | |