#[non_exhaustive]pub struct BatchDeleteConfigurationTask {
pub task_id: Option<String>,
pub status: Option<BatchDeleteConfigurationTaskStatus>,
pub start_time: Option<DateTime>,
pub end_time: Option<DateTime>,
pub configuration_type: Option<DeletionConfigurationItemType>,
pub requested_configurations: Option<Vec<String>>,
pub deleted_configurations: Option<Vec<String>>,
pub failed_configurations: Option<Vec<FailedConfiguration>>,
pub deletion_warnings: Option<Vec<DeletionWarning>>,
}
Expand description
A metadata object that represents the deletion task being executed.
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.task_id: Option<String>
The deletion task's unique identifier.
status: Option<BatchDeleteConfigurationTaskStatus>
The current execution status of the deletion task. Valid status are: INITIALIZING | VALIDATING | DELETING | COMPLETED | FAILED.
start_time: Option<DateTime>
An epoch seconds timestamp (UTC) of when the deletion task was started.
end_time: Option<DateTime>
An epoch seconds timestamp (UTC) of when the deletion task was completed or failed.
configuration_type: Option<DeletionConfigurationItemType>
The type of configuration item to delete. Supported types are: SERVER.
requested_configurations: Option<Vec<String>>
The list of configuration IDs that were originally requested to be deleted by the deletion task.
deleted_configurations: Option<Vec<String>>
The list of configuration IDs that were successfully deleted by the deletion task.
failed_configurations: Option<Vec<FailedConfiguration>>
A list of configuration IDs that failed to delete during the deletion task, each paired with an error message.
deletion_warnings: Option<Vec<DeletionWarning>>
A list of configuration IDs that produced warnings regarding their deletion, paired with a warning message.
Implementations§
source§impl BatchDeleteConfigurationTask
impl BatchDeleteConfigurationTask
sourcepub fn status(&self) -> Option<&BatchDeleteConfigurationTaskStatus>
pub fn status(&self) -> Option<&BatchDeleteConfigurationTaskStatus>
The current execution status of the deletion task. Valid status are: INITIALIZING | VALIDATING | DELETING | COMPLETED | FAILED.
sourcepub fn start_time(&self) -> Option<&DateTime>
pub fn start_time(&self) -> Option<&DateTime>
An epoch seconds timestamp (UTC) of when the deletion task was started.
sourcepub fn end_time(&self) -> Option<&DateTime>
pub fn end_time(&self) -> Option<&DateTime>
An epoch seconds timestamp (UTC) of when the deletion task was completed or failed.
sourcepub fn configuration_type(&self) -> Option<&DeletionConfigurationItemType>
pub fn configuration_type(&self) -> Option<&DeletionConfigurationItemType>
The type of configuration item to delete. Supported types are: SERVER.
sourcepub fn requested_configurations(&self) -> &[String]
pub fn requested_configurations(&self) -> &[String]
The list of configuration IDs that were originally requested to be deleted by the deletion task.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .requested_configurations.is_none()
.
sourcepub fn deleted_configurations(&self) -> &[String]
pub fn deleted_configurations(&self) -> &[String]
The list of configuration IDs that were successfully deleted by the deletion task.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .deleted_configurations.is_none()
.
sourcepub fn failed_configurations(&self) -> &[FailedConfiguration]
pub fn failed_configurations(&self) -> &[FailedConfiguration]
A list of configuration IDs that failed to delete during the deletion task, each paired with an error message.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .failed_configurations.is_none()
.
sourcepub fn deletion_warnings(&self) -> &[DeletionWarning]
pub fn deletion_warnings(&self) -> &[DeletionWarning]
A list of configuration IDs that produced warnings regarding their deletion, paired with a warning message.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .deletion_warnings.is_none()
.
source§impl BatchDeleteConfigurationTask
impl BatchDeleteConfigurationTask
sourcepub fn builder() -> BatchDeleteConfigurationTaskBuilder
pub fn builder() -> BatchDeleteConfigurationTaskBuilder
Creates a new builder-style object to manufacture BatchDeleteConfigurationTask
.
Trait Implementations§
source§impl Clone for BatchDeleteConfigurationTask
impl Clone for BatchDeleteConfigurationTask
source§fn clone(&self) -> BatchDeleteConfigurationTask
fn clone(&self) -> BatchDeleteConfigurationTask
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for BatchDeleteConfigurationTask
impl Debug for BatchDeleteConfigurationTask
source§impl PartialEq for BatchDeleteConfigurationTask
impl PartialEq for BatchDeleteConfigurationTask
source§fn eq(&self, other: &BatchDeleteConfigurationTask) -> bool
fn eq(&self, other: &BatchDeleteConfigurationTask) -> bool
self
and other
values to be equal, and is used
by ==
.