create_brand_profile
async
¶
create_brand_profile(
brand_profile_name: BrandProfileName,
*,
config_overrides: Optional[AsyncEndUserMessagingClientConfig] = None,
client_token: Optional[ClientToken] = None,
deletion_protection_enabled: Optional[bool] = None,
tags: Optional[TagList] = None,
) -> CreateBrandProfileOutput
Creates a brand profile. A brand profile is a lightweight container that holds your brand identity information as flexible attributes. After you create a brand profile, use the CreateBrandProfileAttributes operation to add company information, addresses, compliance documents, and logos.
Parameters:
-
brand_profile_name(BrandProfileName) –The name of the brand profile. The name can contain alphanumeric characters, underscores, hyphens, and spaces.
-
client_token(Optional[ClientToken], default:None) –A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If you do not specify a client token, the AWS SDK automatically generates one.
-
deletion_protection_enabled(Optional[bool], default:None) –Specifies whether deletion protection is enabled. When enabled, the resource cannot be deleted until deletion protection is turned off.
-
tags(Optional[TagList], default:None) –An array of key and value pair tags that are associated with the resource.
Raises:
-
AccessDeniedException–You do not have sufficient access to perform this action.
-
ConflictException–The request conflicts with the current state of the resource.
-
InternalServerException–An unexpected error occurred during the processing of the request.
-
ServiceQuotaExceededException–The request would exceed a service quota for your account.
-
ThrottlingException–The request was denied because it exceeded the allowed request rate.
-
ValidationException–A standard error for input validation failures. This should be thrown by services when a member of the input structure falls outside of the modeled or documented constraints.
-
UnknownServiceError–The service returned an error code this client does not model.
Examples:
Create a brand profile
>>> await client.create_brand_profile(brand_profile_name='AcmeCorp', deletion_protection_enabled=True)
Source code in docs_src/capo_endusermessaging/_services/async_end_user_messaging.py
231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 | |