describe_export_tasks
¶
describe_export_tasks(
*,
config_overrides: Optional[CloudWatchLogsClientConfig] = 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/cloud_watch_logs.py
2892 2893 2894 2895 2896 2897 2898 2899 2900 2901 2902 2903 2904 2905 2906 2907 2908 2909 2910 2911 2912 2913 2914 2915 2916 2917 2918 2919 2920 2921 2922 2923 2924 2925 2926 2927 2928 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 | |