put_domain_object_type
async
¶
put_domain_object_type(
domain_name: name,
object_type_name: typeName,
fields: DomainObjectTypeFields,
*,
config_overrides: Optional[AsyncCustomerProfilesClientConfig] = 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/async_customer_profiles.py
7507 7508 7509 7510 7511 7512 7513 7514 7515 7516 7517 7518 7519 7520 7521 7522 7523 7524 7525 7526 7527 7528 7529 7530 7531 7532 7533 7534 7535 7536 7537 7538 7539 7540 7541 7542 7543 7544 7545 7546 7547 7548 7549 7550 7551 7552 7553 7554 7555 7556 7557 7558 7559 7560 7561 7562 7563 7564 7565 7566 7567 7568 7569 7570 7571 7572 7573 7574 7575 7576 7577 7578 7579 7580 7581 7582 7583 7584 7585 7586 7587 7588 7589 7590 7591 7592 7593 7594 7595 7596 7597 7598 7599 7600 | |