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
7099 7100 7101 7102 7103 7104 7105 7106 7107 7108 7109 7110 7111 7112 7113 7114 7115 7116 7117 7118 7119 7120 7121 7122 7123 7124 7125 7126 7127 7128 7129 7130 7131 7132 7133 7134 7135 7136 7137 7138 7139 7140 7141 7142 7143 7144 7145 7146 7147 7148 7149 7150 7151 7152 7153 7154 7155 7156 7157 7158 7159 7160 7161 7162 7163 7164 7165 7166 7167 7168 7169 7170 7171 7172 7173 7174 7175 7176 7177 7178 7179 7180 7181 7182 7183 7184 7185 7186 7187 7188 7189 7190 7191 | |