list_import_failures
¶
list_import_failures(
import_id: UUID,
*,
config_overrides: Optional[CloudTrailClientConfig] = 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/cloud_trail.py
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 2365 2366 2367 2368 2369 | |