describe_export_tasks
async
¶
describe_export_tasks(
*,
config_overrides: Optional[AsyncRDSClientConfig] = 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/async_rds.py
8498 8499 8500 8501 8502 8503 8504 8505 8506 8507 8508 8509 8510 8511 8512 8513 8514 8515 8516 8517 8518 8519 8520 8521 8522 8523 8524 8525 8526 8527 8528 8529 8530 8531 8532 8533 8534 8535 8536 8537 8538 8539 8540 8541 8542 8543 8544 8545 8546 8547 8548 8549 8550 8551 8552 8553 8554 8555 8556 8557 8558 8559 8560 8561 8562 8563 8564 8565 8566 8567 8568 8569 8570 | |