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
2839 2840 2841 2842 2843 2844 2845 2846 2847 2848 2849 2850 2851 2852 2853 2854 2855 2856 2857 2858 2859 2860 2861 2862 2863 2864 2865 2866 2867 2868 2869 2870 2871 2872 2873 2874 2875 2876 2877 2878 2879 2880 2881 2882 2883 2884 2885 2886 2887 2888 2889 2890 2891 2892 2893 2894 2895 2896 2897 2898 2899 2900 2901 | |