list_speakers
¶
list_speakers(
domain_id: DomainId,
*,
config_overrides: Optional[VoiceIDClientConfig] = None,
max_results: Optional[MaxResultsForList] = None,
next_token: Optional[NextToken] = None,
) -> ListSpeakersResponse
Lists all speakers in a specified domain.
Parameters:
-
domain_id(DomainId) –The identifier of the domain.
-
max_results(Optional[MaxResultsForList], default:None) –The maximum number of results that are returned per call. You can use
NextTokento obtain more pages of results. The default is 100; the maximum allowed page size is also 100. -
next_token(Optional[NextToken], default:None) –If
NextTokenis returned, there are more results available. The value ofNextTokenis a unique pagination token for each page. Make the call again using the returned token to retrieve the next page. Keep all other arguments unchanged. Each pagination token expires after 24 hours.
Raises:
-
AccessDeniedException–You do not have sufficient permissions to perform this action. Check the error message and try again.
-
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. -
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
1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 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 | |