Skip to content

RDS  >  Operations  >  describe_export_tasks

describe_export_tasks

Operation

describe_export_tasks async

describe_export_tasks(input: DescribeExportTasksInput, plugins: list[Plugin] | None = None) -> DescribeExportTasksOutput

Returns information about a snapshot or cluster export to Amazon S3. This API operation supports pagination.

Parameters:

Name Type Description Default
input DescribeExportTasksInput

An instance of DescribeExportTasksInput.

required
plugins list[Plugin] | None

A list of callables that modify the configuration dynamically. Changes made by these plugins only apply for the duration of the operation execution and will not affect any other operation invocations.

None

Returns:

Type Description
DescribeExportTasksOutput

An instance of DescribeExportTasksOutput.

Input

DescribeExportTasksInput dataclass

Bases: _SerdeShape

Dataclass for DescribeExportTasksInput structure.

Attributes

export_task_identifier class-attribute instance-attribute
export_task_identifier: str | None = ...

The identifier of the snapshot or cluster export task to be described.

filters class-attribute instance-attribute
filters: list[Filter] | 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 class-attribute instance-attribute
marker: str | None = ...

An optional pagination token provided by a previous DescribeExportTasks request. If you specify this parameter, the response includes only records beyond the marker, up to the value specified by the MaxRecords parameter.

max_records class-attribute instance-attribute
max_records: int | 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 DescribeExportTasks request to retrieve the remaining results.

Default: 100

Constraints: Minimum 20, maximum 100.

source_arn class-attribute instance-attribute
source_arn: str | None = ...

The Amazon Resource Name (ARN) of the snapshot or cluster exported to Amazon S3.

source_type class-attribute instance-attribute
source_type: str | None = ...

The type of source for the export.

Output

DescribeExportTasksOutput dataclass

Bases: _SerdeShape

Dataclass for DescribeExportTasksOutput structure.

Attributes

export_tasks class-attribute instance-attribute
export_tasks: list[ExportTask] | None = ...

Information about an export of a snapshot or cluster to Amazon S3.

marker class-attribute instance-attribute
marker: str | None = ...

A pagination token that can be used in a later DescribeExportTasks request. A marker is used for pagination to identify the location to begin output for the next response of DescribeExportTasks.

response_metadata class-attribute instance-attribute
response_metadata: ResponseMetadata = ...

Metadata about the response that produced this output. Use this to recover the request identifiers a service's support team needs in order to investigate a call. Members of the metadata are individually optional.