describe_import_tasks
async
¶
describe_import_tasks(
*,
config_overrides: Optional[AsyncCloudWatchLogsClientConfig] = None,
import_id: Optional[ImportId] = None,
import_status: Optional[ImportStatus] = None,
import_source_arn: Optional[Arn] = None,
limit: Optional[DescribeLimit] = None,
next_token: Optional[NextToken] = None,
) -> DescribeImportTasksResponse
Lists and describes import tasks, with optional filtering by import status and source ARN.
Parameters:
-
import_id(Optional[ImportId], default:None) –Optional filter to describe a specific import task by its ID.
-
import_status(Optional[ImportStatus], default:None) –Optional filter to list imports by their status. Valid values are IN_PROGRESS, CANCELLED, COMPLETED and FAILED.
-
import_source_arn(Optional[Arn], default:None) –Optional filter to list imports from a specific source
-
limit(Optional[DescribeLimit], default:None) –The maximum number of import tasks to return in the response. Default: 50
-
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
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 3118 3119 3120 3121 3122 3123 3124 3125 3126 3127 3128 3129 3130 3131 3132 3133 3134 | |