Skip to content

ExportTask

Source code in docs_src/capo_rds/types/export_task.py
class ExportTask(TypedDict, closed=True):
    export_task_identifier: NotRequired["capo_rds.types.string.String"]
    """<p>A unique identifier for the snapshot or cluster export task. This ID isn't an identifier for the Amazon S3 bucket where the data is exported.</p>"""
    source_arn: NotRequired["capo_rds.types.string.String"]
    """<p>The Amazon Resource Name (ARN) of the snapshot or cluster exported to Amazon S3.</p>"""
    export_only: NotRequired["capo_rds.types.string_list.StringList"]
    """<p>The data exported from the snapshot or cluster.</p> <p>Valid Values:</p> <ul> <li> <p> <code>database</code> - Export all the data from a specified database.</p> </li> <li> <p> <code>database.table</code> <i>table-name</i> - Export a table of the snapshot or cluster. This format is valid only for RDS for MySQL, RDS for MariaDB, and Aurora MySQL.</p> </li> <li> <p> <code>database.schema</code> <i>schema-name</i> - Export a database schema of the snapshot or cluster. This format is valid only for RDS for PostgreSQL and Aurora PostgreSQL.</p> </li> <li> <p> <code>database.schema.table</code> <i>table-name</i> - Export a table of the database schema. This format is valid only for RDS for PostgreSQL and Aurora PostgreSQL.</p> </li> </ul>"""
    snapshot_time: NotRequired["capo_rds.types.t_stamp.TStamp"]
    """<p>The time when the snapshot was created.</p>"""
    task_start_time: NotRequired["capo_rds.types.t_stamp.TStamp"]
    """<p>The time when the snapshot or cluster export task started.</p>"""
    task_end_time: NotRequired["capo_rds.types.t_stamp.TStamp"]
    """<p>The time when the snapshot or cluster export task ended.</p>"""
    s3_bucket: NotRequired["capo_rds.types.string.String"]
    """<p>The Amazon S3 bucket where the snapshot or cluster is exported to.</p>"""
    s3_prefix: NotRequired["capo_rds.types.string.String"]
    """<p>The Amazon S3 bucket prefix that is the file name and path of the exported data.</p>"""
    iam_role_arn: NotRequired["capo_rds.types.string.String"]
    """<p>The name of the IAM role that is used to write to Amazon S3 when exporting a snapshot or cluster.</p>"""
    kms_key_id: NotRequired["capo_rds.types.string.String"]
    """<p>The key identifier of the Amazon Web Services KMS key that is used to encrypt the data when it's exported to Amazon S3. The KMS key identifier is its key ARN, key ID, alias ARN, or alias name. The IAM role used for the export must have encryption and decryption permissions to use this KMS key.</p>"""
    status: NotRequired["capo_rds.types.string.String"]
    """<p>The progress status of the export task. The status can be one of the following:</p> <ul> <li> <p> <code>CANCELED</code> </p> </li> <li> <p> <code>CANCELING</code> </p> </li> <li> <p> <code>COMPLETE</code> </p> </li> <li> <p> <code>FAILED</code> </p> </li> <li> <p> <code>IN_PROGRESS</code> </p> </li> <li> <p> <code>STARTING</code> </p> </li> </ul>"""
    percent_progress: NotRequired["capo_rds.types.integer.Integer"]
    """<p>The progress of the snapshot or cluster export task as a percentage.</p>"""
    total_extracted_data_in_gb: NotRequired["capo_rds.types.integer.Integer"]
    """<p>The total amount of data exported, in gigabytes.</p>"""
    failure_cause: NotRequired["capo_rds.types.string.String"]
    """<p>The reason the export failed, if it failed.</p>"""
    warning_message: NotRequired["capo_rds.types.string.String"]
    """<p>A warning about the snapshot or cluster export task.</p>"""
    source_type: NotRequired["capo_rds.types.export_source_type.ExportSourceType"]
    """<p>The type of source for the export.</p>"""

export_only instance-attribute

export_only: NotRequired[StringList]

The data exported from the snapshot or cluster.

Valid Values:

  • database - Export all the data from a specified database.

  • database.table table-name - Export a table of the snapshot or cluster. This format is valid only for RDS for MySQL, RDS for MariaDB, and Aurora MySQL.

  • database.schema schema-name - Export a database schema of the snapshot or cluster. This format is valid only for RDS for PostgreSQL and Aurora PostgreSQL.

  • database.schema.table table-name - Export a table of the database schema. This format is valid only for RDS for PostgreSQL and Aurora PostgreSQL.

export_task_identifier instance-attribute

export_task_identifier: NotRequired[String]

A unique identifier for the snapshot or cluster export task. This ID isn't an identifier for the Amazon S3 bucket where the data is exported.

failure_cause instance-attribute

failure_cause: NotRequired[String]

The reason the export failed, if it failed.

iam_role_arn instance-attribute

iam_role_arn: NotRequired[String]

The name of the IAM role that is used to write to Amazon S3 when exporting a snapshot or cluster.

kms_key_id instance-attribute

kms_key_id: NotRequired[String]

The key identifier of the Amazon Web Services KMS key that is used to encrypt the data when it's exported to Amazon S3. The KMS key identifier is its key ARN, key ID, alias ARN, or alias name. The IAM role used for the export must have encryption and decryption permissions to use this KMS key.

percent_progress instance-attribute

percent_progress: NotRequired[Integer]

The progress of the snapshot or cluster export task as a percentage.

s3_bucket instance-attribute

s3_bucket: NotRequired[String]

The Amazon S3 bucket where the snapshot or cluster is exported to.

s3_prefix instance-attribute

s3_prefix: NotRequired[String]

The Amazon S3 bucket prefix that is the file name and path of the exported data.

snapshot_time instance-attribute

snapshot_time: NotRequired[TStamp]

The time when the snapshot was created.

source_arn instance-attribute

source_arn: NotRequired[String]

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

source_type instance-attribute

source_type: NotRequired[ExportSourceType]

The type of source for the export.

status instance-attribute

status: NotRequired[String]

The progress status of the export task. The status can be one of the following:

  • CANCELED

  • CANCELING

  • COMPLETE

  • FAILED

  • IN_PROGRESS

  • STARTING

task_end_time instance-attribute

task_end_time: NotRequired[TStamp]

The time when the snapshot or cluster export task ended.

task_start_time instance-attribute

task_start_time: NotRequired[TStamp]

The time when the snapshot or cluster export task started.

total_extracted_data_in_gb instance-attribute

total_extracted_data_in_gb: NotRequired[Integer]

The total amount of data exported, in gigabytes.

warning_message instance-attribute

warning_message: NotRequired[String]

A warning about the snapshot or cluster export task.