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
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 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 | |