create_voice_profile_domain
¶
create_voice_profile_domain(
name: VoiceProfileDomainName,
server_side_encryption_configuration: ServerSideEncryptionConfiguration,
*,
config_overrides: Optional[ChimeSDKVoiceClientConfig] = None,
description: Optional[VoiceProfileDomainDescription] = None,
client_request_token: Optional[ClientRequestId] = None,
tags: Optional[TagList] = None,
) -> CreateVoiceProfileDomainResponse
Creates a voice profile domain, a collection of voice profiles, their voice prints, and encrypted enrollment audio.
Before creating any voice profiles, you must provide all notices and obtain all consents from the speaker as required under applicable privacy and biometrics laws, and as required under the AWS service terms for the Amazon Chime SDK.
For more information about voice profile domains, see Using Amazon Chime SDK Voice Analytics in the Amazon Chime SDK Developer Guide.
Parameters:
-
name(VoiceProfileDomainName) –The name of the voice profile domain.
-
description(Optional[VoiceProfileDomainDescription], default:None) –A description of the voice profile domain.
-
server_side_encryption_configuration(ServerSideEncryptionConfiguration) –The server-side encryption configuration for the request.
-
client_request_token(Optional[ClientRequestId], default:None) –The unique identifier for the client request. Use a different token for different domain creation requests.
-
tags(Optional[TagList], default:None) –The tags assigned to the domain.
Raises:
-
AccessDeniedException–You don't have the permissions needed to run this action.
-
BadRequestException–The input parameters don't match the service's restrictions.
-
ConflictException–Multiple instances of the same request were made simultaneously.
-
ForbiddenException–The client is permanently forbidden from making the request.
-
ResourceLimitExceededException–The request exceeds the resource limit.
-
ServiceFailureException–The service encountered an unexpected error.
-
ServiceUnavailableException–The service is currently unavailable.
-
ThrottledClientException–The number of customer requests exceeds the request rate limit.
-
UnauthorizedClientException–The client isn't authorized to request a resource.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_chime_sdk_voice/_services/chime_sdk_voice.py
1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 | |