describe_export_tasks
¶
describe_export_tasks(
*,
config_overrides: Optional[RDSClientConfig] = None,
export_task_identifier: Optional[String] = None,
source_arn: Optional[String] = None,
filters: Optional[FilterList] = None,
marker: Optional[String] = None,
max_records: Optional[MaxRecords] = None,
source_type: Optional[ExportSourceType] = None,
) -> ExportTasksMessage
Returns information about a snapshot or cluster export to Amazon S3. This API operation supports pagination.
Parameters:
-
export_task_identifier(Optional[String], default:None) –The identifier of the snapshot or cluster export task to be described.
-
source_arn(Optional[String], default:None) –The Amazon Resource Name (ARN) of the snapshot or cluster exported to Amazon S3.
-
filters(Optional[FilterList], default:None) –Filters specify one or more snapshot or cluster exports to describe. The filters are specified as name-value pairs that define what to include in the output. Filter names and values are case-sensitive.
Supported filters include the following:
-
export-task-identifier- An identifier for the snapshot or cluster export task. -
s3-bucket- The Amazon S3 bucket the data is exported to. -
source-arn- The Amazon Resource Name (ARN) of the snapshot or cluster exported to Amazon S3. -
status- The status of the export task. Must be lowercase. Valid statuses are the following:-
canceled -
canceling -
complete -
failed -
in_progress -
starting
-
-
-
marker(Optional[String], default:None) –An optional pagination token provided by a previous
DescribeExportTasksrequest. If you specify this parameter, the response includes only records beyond the marker, up to the value specified by theMaxRecordsparameter. -
max_records(Optional[MaxRecords], default:None) –The maximum number of records to include in the response. If more records exist than the specified value, a pagination token called a marker is included in the response. You can use the marker in a later
DescribeExportTasksrequest to retrieve the remaining results.Default: 100
Constraints: Minimum 20, maximum 100.
-
source_type(Optional[ExportSourceType], default:None) –The type of source for the export.
Raises:
-
ExportTaskNotFoundFault–The export task doesn't exist.
-
UnknownServiceError–The service returned an error code this client does not model.
Examples:
To describe snapshot export tasks The following example returns information about snapshot exports to Amazon S3.
Source code in docs_src/capo_rds/_services/rds.py
8401 8402 8403 8404 8405 8406 8407 8408 8409 8410 8411 8412 8413 8414 8415 8416 8417 8418 8419 8420 8421 8422 8423 8424 8425 8426 8427 8428 8429 8430 8431 8432 8433 8434 8435 8436 8437 8438 8439 8440 8441 8442 8443 8444 8445 8446 8447 8448 8449 8450 8451 8452 8453 8454 8455 8456 8457 8458 8459 8460 8461 8462 8463 8464 8465 8466 8467 8468 8469 8470 8471 8472 | |