describe_export_tasks
async
¶
describe_export_tasks(
*,
config_overrides: Optional[AsyncCloudWatchLogsClientConfig] = None,
task_id: Optional[ExportTaskId] = None,
status_code: Optional[ExportTaskStatusCode] = None,
next_token: Optional[NextToken] = None,
limit: Optional[DescribeLimit] = None,
) -> DescribeExportTasksResponse
Lists the specified export tasks. You can list all your export tasks or filter the results based on task ID or task status.
Parameters:
-
task_id(Optional[ExportTaskId], default:None) –The ID of the export task. Specifying a task ID filters the results to one or zero export tasks.
-
status_code(Optional[ExportTaskStatusCode], default:None) –The status code of the export task. Specifying a status code filters the results to zero or more export tasks.
-
next_token(Optional[NextToken], default:None) –The token for the next set of items to return. (You received this token from a previous call.)
-
limit(Optional[DescribeLimit], default:None) –The maximum number of items returned. If you don't specify a value, the default is up to 50 items.
Raises:
-
InvalidParameterException–A parameter is specified incorrectly.
-
ServiceUnavailableException–The service cannot complete the request.
-
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
2929 2930 2931 2932 2933 2934 2935 2936 2937 2938 2939 2940 2941 2942 2943 2944 2945 2946 2947 2948 2949 2950 2951 2952 2953 2954 2955 2956 2957 2958 2959 2960 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 | |