create_watchlist
¶
create_watchlist(
domain_id: DomainId,
name: WatchlistName,
*,
config_overrides: Optional[VoiceIDClientConfig] = None,
description: Optional[WatchlistDescription] = None,
client_token: Optional[ClientTokenString] = None,
) -> CreateWatchlistResponse
Creates a watchlist that fraudsters can be a part of.
Parameters:
-
domain_id(DomainId) –The identifier of the domain that contains the watchlist.
-
name(WatchlistName) –The name of the watchlist.
-
description(Optional[WatchlistDescription], default:None) –A brief description of this watchlist.
-
client_token(Optional[ClientTokenString], default:None) –A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.
Raises:
-
AccessDeniedException–You do not have sufficient permissions to perform this action. Check the error message and try again.
-
ConflictException–The request failed due to a conflict. Check the
ConflictTypeand error message for more details. -
InternalServerException–The request failed due to an unknown error on the server side.
-
ResourceNotFoundException–The specified resource cannot be found. Check the
ResourceTypeand error message for more details. -
ServiceQuotaExceededException–The request exceeded the service quota. Refer to Voice ID Service Quotas and try your request again.
-
ThrottlingException–The request was denied due to request throttling. Please slow down your request rate. Refer to Amazon Connect Voice ID Service API throttling quotas and try your request again.
-
ValidationException–The request failed one or more validations; check the error message for more details.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_voice_id/_services/voice_id.py
303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 | |