describe_import_tasks
¶
describe_import_tasks(
*,
config_overrides: Optional[CloudWatchLogsClientConfig] = 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/cloud_watch_logs.py
3026 3027 3028 3029 3030 3031 3032 3033 3034 3035 3036 3037 3038 3039 3040 3041 3042 3043 3044 3045 3046 3047 3048 3049 3050 3051 3052 3053 3054 3055 3056 3057 3058 3059 3060 3061 3062 3063 3064 3065 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 | |