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
7359 7360 7361 7362 7363 7364 7365 7366 7367 7368 7369 7370 7371 7372 7373 7374 7375 7376 7377 7378 7379 7380 7381 7382 7383 7384 7385 7386 7387 7388 7389 7390 7391 7392 7393 7394 7395 7396 7397 7398 7399 7400 7401 7402 7403 7404 7405 7406 7407 7408 7409 7410 7411 7412 7413 7414 7415 7416 7417 7418 7419 7420 7421 7422 7423 7424 7425 7426 7427 7428 7429 7430 7431 7432 7433 7434 7435 7436 7437 7438 7439 7440 7441 7442 7443 7444 7445 7446 7447 7448 7449 7450 7451 7452 7453 7454 7455 7456 7457 7458 7459 7460 7461 7462 7463 7464 7465 7466 7467 7468 7469 7470 7471 7472 7473 7474 7475 7476 7477 7478 7479 7480 7481 7482 7483 7484 7485 7486 7487 7488 7489 | |