put_domain_object_type
¶
put_domain_object_type(
domain_name: name,
object_type_name: typeName,
fields: DomainObjectTypeFields,
*,
config_overrides: Optional[CustomerProfilesClientConfig] = None,
description: Optional[sensitiveString1To10000] = None,
encryption_key: Optional[encryptionKey] = None,
tags: Optional[TagMap] = None,
) -> PutDomainObjectTypeResponse
Create/Update a DomainObjectType in a Customer Profiles domain. To create a new DomainObjectType, Data Store needs to be enabled on the Domain.
Parameters:
-
domain_name(name) –The unique name of the domain.
-
object_type_name(typeName) –The unique name of the domain object type.
-
description(Optional[sensitiveString1To10000], default:None) –The description of the domain object type.
-
encryption_key(Optional[encryptionKey], default:None) –The customer provided KMS key used to encrypt this type of domain object.
-
fields(DomainObjectTypeFields) –A map of field names to their corresponding domain object type field definitions.
-
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
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 7490 7491 7492 7493 7494 7495 7496 7497 7498 7499 7500 7501 | |