describe_import_task_batches
async
¶
describe_import_task_batches(
import_id: ImportId,
*,
config_overrides: Optional[AsyncCloudWatchLogsClientConfig] = 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/async_cloud_watch_logs.py
3053 3054 3055 3056 3057 3058 3059 3060 3061 3062 3063 3064 3065 3066 3067 3068 3069 3070 3071 3072 3073 3074 3075 3076 3077 3078 3079 3080 3081 3082 3083 3084 3085 3086 3087 3088 3089 3090 3091 3092 3093 3094 3095 3096 3097 3098 3099 3100 3101 3102 3103 3104 3105 3106 3107 3108 3109 3110 3111 3112 3113 3114 3115 3116 3117 | |