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
3119 3120 3121 3122 3123 3124 3125 3126 3127 3128 3129 3130 3131 3132 3133 3134 3135 3136 3137 3138 3139 3140 3141 3142 3143 3144 3145 3146 3147 3148 3149 3150 3151 3152 3153 3154 3155 3156 3157 3158 3159 3160 3161 3162 3163 3164 3165 3166 3167 3168 3169 3170 3171 3172 3173 3174 3175 3176 3177 3178 3179 3180 3181 3182 3183 3184 3185 3186 3187 | |