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
7191 7192 7193 7194 7195 7196 7197 7198 7199 7200 7201 7202 7203 7204 7205 7206 7207 7208 7209 7210 7211 7212 7213 7214 7215 7216 7217 7218 7219 7220 7221 7222 7223 7224 7225 7226 7227 7228 7229 7230 7231 7232 7233 7234 7235 7236 7237 7238 7239 7240 7241 7242 7243 7244 7245 7246 7247 7248 7249 7250 7251 7252 7253 7254 7255 7256 7257 7258 7259 7260 7261 7262 7263 7264 7265 7266 7267 7268 7269 7270 7271 7272 7273 7274 7275 7276 7277 7278 7279 7280 7281 7282 7283 7284 | |