pub struct StartExportTaskMessage {
pub export_only: Option<Vec<String>>,
pub export_task_identifier: String,
pub iam_role_arn: String,
pub kms_key_id: String,
pub s3_bucket_name: String,
pub s3_prefix: Option<String>,
pub source_arn: String,
}
Fields§
§export_only: Option<Vec<String>>
The data to be exported from the snapshot. If this parameter is not provided, all the snapshot data is exported. Valid values are the following:
-
database
- Export all the data from a specified database. -
database.table
table-name - Export a table of the snapshot. 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. 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: String
A unique identifier for the snapshot export task. This ID isn't an identifier for the Amazon S3 bucket where the snapshot is to be exported to.
iam_role_arn: String
The name of the IAM role to use for writing to the Amazon S3 bucket when exporting a snapshot.
kms_key_id: String
The ID of the AWS KMS key to use to encrypt the snapshot exported to Amazon S3. The KMS key ID is the Amazon Resource Name (ARN), the KMS key identifier, or the KMS key alias for the KMS encryption key. The IAM role used for the snapshot export must have encryption and decryption permissions to use this KMS key.
s3_bucket_name: String
The name of the Amazon S3 bucket to export the snapshot to.
s3_prefix: Option<String>
The Amazon S3 bucket prefix to use as the file name and path of the exported snapshot.
source_arn: String
The Amazon Resource Name (ARN) of the snapshot to export to Amazon S3.
Trait Implementations§
Source§impl Clone for StartExportTaskMessage
impl Clone for StartExportTaskMessage
Source§fn clone(&self) -> StartExportTaskMessage
fn clone(&self) -> StartExportTaskMessage
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more