Struct aws_sdk_rds::output::CancelExportTaskOutput
source · [−]#[non_exhaustive]pub struct CancelExportTaskOutput {Show 15 fields
pub export_task_identifier: Option<String>,
pub source_arn: Option<String>,
pub export_only: Option<Vec<String>>,
pub snapshot_time: Option<DateTime>,
pub task_start_time: Option<DateTime>,
pub task_end_time: Option<DateTime>,
pub s3_bucket: Option<String>,
pub s3_prefix: Option<String>,
pub iam_role_arn: Option<String>,
pub kms_key_id: Option<String>,
pub status: Option<String>,
pub percent_progress: i32,
pub total_extracted_data_in_gb: i32,
pub failure_cause: Option<String>,
pub warning_message: Option<String>,
}Expand description
Contains the details of a snapshot export to Amazon S3.
This data type is used as a response element in the DescribeExportTasks action.
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.export_task_identifier: Option<String>A unique identifier for the snapshot export task. This ID isn't an identifier for the Amazon S3 bucket where the snapshot is exported to.
source_arn: Option<String>The Amazon Resource Name (ARN) of the snapshot exported to Amazon S3.
export_only: Option<Vec<String>>The data exported from the snapshot. Valid values are the following:
-
database- Export all the data from a specified database. -
database.tabletable-name - Export a table of the snapshot. This format is valid only for RDS for MySQL, RDS for MariaDB, and Aurora MySQL. -
database.schemaschema-name - Export a database schema of the snapshot. This format is valid only for RDS for PostgreSQL and Aurora PostgreSQL. -
database.schema.tabletable-name - Export a table of the database schema. This format is valid only for RDS for PostgreSQL and Aurora PostgreSQL.
snapshot_time: Option<DateTime>The time that the snapshot was created.
task_start_time: Option<DateTime>The time that the snapshot export task started.
task_end_time: Option<DateTime>The time that the snapshot export task completed.
s3_bucket: Option<String>The Amazon S3 bucket that the snapshot is exported to.
s3_prefix: Option<String>The Amazon S3 bucket prefix that is the file name and path of the exported snapshot.
iam_role_arn: Option<String>The name of the IAM role that is used to write to Amazon S3 when exporting a snapshot.
kms_key_id: Option<String>The key identifier of the Amazon Web Services KMS key that is used to encrypt the snapshot 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 snapshot export must have encryption and decryption permissions to use this KMS key.
status: Option<String>The progress status of the export task.
percent_progress: i32The progress of the snapshot export task as a percentage.
total_extracted_data_in_gb: i32The total amount of data exported, in gigabytes.
failure_cause: Option<String>The reason the export failed, if it failed.
warning_message: Option<String>A warning about the snapshot export task.
Implementations
sourceimpl CancelExportTaskOutput
impl CancelExportTaskOutput
sourcepub fn export_task_identifier(&self) -> Option<&str>
pub fn export_task_identifier(&self) -> Option<&str>
A unique identifier for the snapshot export task. This ID isn't an identifier for the Amazon S3 bucket where the snapshot is exported to.
sourcepub fn source_arn(&self) -> Option<&str>
pub fn source_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the snapshot exported to Amazon S3.
sourcepub fn export_only(&self) -> Option<&[String]>
pub fn export_only(&self) -> Option<&[String]>
The data exported from the snapshot. Valid values are the following:
-
database- Export all the data from a specified database. -
database.tabletable-name - Export a table of the snapshot. This format is valid only for RDS for MySQL, RDS for MariaDB, and Aurora MySQL. -
database.schemaschema-name - Export a database schema of the snapshot. This format is valid only for RDS for PostgreSQL and Aurora PostgreSQL. -
database.schema.tabletable-name - Export a table of the database schema. This format is valid only for RDS for PostgreSQL and Aurora PostgreSQL.
sourcepub fn snapshot_time(&self) -> Option<&DateTime>
pub fn snapshot_time(&self) -> Option<&DateTime>
The time that the snapshot was created.
sourcepub fn task_start_time(&self) -> Option<&DateTime>
pub fn task_start_time(&self) -> Option<&DateTime>
The time that the snapshot export task started.
sourcepub fn task_end_time(&self) -> Option<&DateTime>
pub fn task_end_time(&self) -> Option<&DateTime>
The time that the snapshot export task completed.
sourcepub fn s3_prefix(&self) -> Option<&str>
pub fn s3_prefix(&self) -> Option<&str>
The Amazon S3 bucket prefix that is the file name and path of the exported snapshot.
sourcepub fn iam_role_arn(&self) -> Option<&str>
pub fn iam_role_arn(&self) -> Option<&str>
The name of the IAM role that is used to write to Amazon S3 when exporting a snapshot.
sourcepub fn kms_key_id(&self) -> Option<&str>
pub fn kms_key_id(&self) -> Option<&str>
The key identifier of the Amazon Web Services KMS key that is used to encrypt the snapshot 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 snapshot export must have encryption and decryption permissions to use this KMS key.
sourcepub fn percent_progress(&self) -> i32
pub fn percent_progress(&self) -> i32
The progress of the snapshot export task as a percentage.
sourcepub fn total_extracted_data_in_gb(&self) -> i32
pub fn total_extracted_data_in_gb(&self) -> i32
The total amount of data exported, in gigabytes.
sourcepub fn failure_cause(&self) -> Option<&str>
pub fn failure_cause(&self) -> Option<&str>
The reason the export failed, if it failed.
sourcepub fn warning_message(&self) -> Option<&str>
pub fn warning_message(&self) -> Option<&str>
A warning about the snapshot export task.
sourceimpl CancelExportTaskOutput
impl CancelExportTaskOutput
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture CancelExportTaskOutput
Trait Implementations
sourceimpl Clone for CancelExportTaskOutput
impl Clone for CancelExportTaskOutput
sourcefn clone(&self) -> CancelExportTaskOutput
fn clone(&self) -> CancelExportTaskOutput
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for CancelExportTaskOutput
impl Debug for CancelExportTaskOutput
sourceimpl PartialEq<CancelExportTaskOutput> for CancelExportTaskOutput
impl PartialEq<CancelExportTaskOutput> for CancelExportTaskOutput
sourcefn eq(&self, other: &CancelExportTaskOutput) -> bool
fn eq(&self, other: &CancelExportTaskOutput) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &CancelExportTaskOutput) -> bool
fn ne(&self, other: &CancelExportTaskOutput) -> bool
This method tests for !=.
impl StructuralPartialEq for CancelExportTaskOutput
Auto Trait Implementations
impl RefUnwindSafe for CancelExportTaskOutput
impl Send for CancelExportTaskOutput
impl Sync for CancelExportTaskOutput
impl Unpin for CancelExportTaskOutput
impl UnwindSafe for CancelExportTaskOutput
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more