list_import_failures
async
¶
list_import_failures(
import_id: UUID,
*,
config_overrides: Optional[AsyncCloudTrailClientConfig] = None,
max_results: Optional[ListImportFailuresMaxResultsCount] = None,
next_token: Optional[PaginationToken] = None,
) -> ListImportFailuresResponse
CloudTrail Lake will no longer be open to new customers starting May 31, 2026. If you would like to use CloudTrail Lake, sign up prior to that date. Existing customers can continue to use the service as normal. For more information, see CloudTrail Lake availability change.
Returns a list of failures for the specified import.
Parameters:
-
import_id(UUID) –The ID of the import.
-
max_results(Optional[ListImportFailuresMaxResultsCount], default:None) –The maximum number of failures to display on a single page.
-
next_token(Optional[PaginationToken], default:None) –A token you can use to get the next page of import failures.
Raises:
-
InvalidNextTokenException–A token that is not valid, or a token that was previously used in a request with different parameters. This exception is thrown if the token is not valid.
-
InvalidParameterException–The request includes a parameter that is not valid.
-
OperationNotPermittedException–This exception is thrown when the requested operation is not permitted.
-
UnsupportedOperationException–This exception is thrown when the requested operation is not supported.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_cloudtrail/_services/async_cloud_trail.py
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 2394 2395 2396 2397 2398 2399 2400 2401 | |