describe_import_task_batches
¶
describe_import_task_batches(
import_id: ImportId,
*,
config_overrides: Optional[CloudWatchLogsClientConfig] = None,
batch_import_status: Optional[ImportStatusList] = None,
limit: Optional[DescribeLimit] = None,
next_token: Optional[NextToken] = None,
) -> DescribeImportTaskBatchesResponse
Gets detailed information about the individual batches within an import task, including their status and any error messages. For CloudTrail Event Data Store sources, a batch refers to a subset of stored events grouped by their eventTime.
Parameters:
-
import_id(ImportId) –The ID of the import task to get batch information for.
-
batch_import_status(Optional[ImportStatusList], default:None) –Optional filter to list import batches by their status. Accepts multiple status values: IN_PROGRESS, CANCELLED, COMPLETED and FAILED.
-
limit(Optional[DescribeLimit], default:None) –The maximum number of import batches to return in the response. Default: 10
-
next_token(Optional[NextToken], default:None) –The pagination token for the next set of results.
Raises:
-
AccessDeniedException–You don't have sufficient permissions to perform this action.
-
InvalidOperationException–The operation is not valid on the specified resource.
-
InvalidParameterException–A parameter is specified incorrectly.
-
ResourceNotFoundException–The specified resource does not exist.
-
ThrottlingException–The request was throttled because of quota limits.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_cloudwatch_logs/_services/cloud_watch_logs.py
2961 2962 2963 2964 2965 2966 2967 2968 2969 2970 2971 2972 2973 2974 2975 2976 2977 2978 2979 2980 2981 2982 2983 2984 2985 2986 2987 2988 2989 2990 2991 2992 2993 2994 2995 2996 2997 2998 2999 3000 3001 3002 3003 3004 3005 3006 3007 3008 3009 3010 3011 3012 3013 3014 3015 3016 3017 3018 3019 3020 3021 3022 3023 3024 | |