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
8841 8842 8843 8844 8845 8846 8847 8848 8849 8850 8851 8852 8853 8854 8855 8856 8857 8858 8859 8860 8861 8862 8863 8864 8865 8866 8867 8868 8869 8870 8871 8872 8873 8874 8875 8876 8877 8878 8879 8880 8881 8882 8883 8884 8885 8886 8887 8888 8889 8890 8891 8892 8893 8894 8895 8896 8897 8898 8899 8900 8901 8902 8903 8904 8905 8906 8907 8908 8909 8910 8911 8912 8913 | |