list_domains
async
¶
list_domains(
*,
config_overrides: Optional[AsyncVoiceIDClientConfig] = None,
max_results: Optional[MaxResultsForListDomainFe] = None,
next_token: Optional[NextToken] = None,
) -> ListDomainsResponse
Lists all the domains in the Amazon Web Services account.
Parameters:
-
max_results(Optional[MaxResultsForListDomainFe], 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.
-
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/async_voice_id.py
2332 2333 2334 2335 2336 2337 2338 2339 2340 2341 2342 2343 2344 2345 2346 2347 2348 2349 2350 2351 2352 2353 2354 2355 2356 2357 2358 2359 2360 2361 2362 2363 2364 2365 2366 2367 2368 2369 2370 2371 2372 2373 2374 2375 2376 2377 2378 2379 2380 2381 2382 2383 2384 2385 2386 2387 2388 2389 2390 2391 2392 2393 | |