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
8741 8742 8743 8744 8745 8746 8747 8748 8749 8750 8751 8752 8753 8754 8755 8756 8757 8758 8759 8760 8761 8762 8763 8764 8765 8766 8767 8768 8769 8770 8771 8772 8773 8774 8775 8776 8777 8778 8779 8780 8781 8782 8783 8784 8785 8786 8787 8788 8789 8790 8791 8792 8793 8794 8795 8796 8797 8798 8799 8800 8801 8802 8803 8804 8805 8806 8807 8808 8809 8810 8811 8812 | |