list_domains
¶
list_domains(
*,
config_overrides: Optional[VoiceIDClientConfig] = 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/voice_id.py
2304 2305 2306 2307 2308 2309 2310 2311 2312 2313 2314 2315 2316 2317 2318 2319 2320 2321 2322 2323 2324 2325 2326 2327 2328 2329 2330 2331 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 | |