Struct aws_sdk_datasync::types::TaskExecutionResultDetail
source · #[non_exhaustive]pub struct TaskExecutionResultDetail {
pub prepare_duration: Option<i64>,
pub prepare_status: Option<PhaseStatus>,
pub total_duration: Option<i64>,
pub transfer_duration: Option<i64>,
pub transfer_status: Option<PhaseStatus>,
pub verify_duration: Option<i64>,
pub verify_status: Option<PhaseStatus>,
pub error_code: Option<String>,
pub error_detail: Option<String>,
}
Expand description
Describes the detailed result of a TaskExecution
operation. This result includes the time in milliseconds spent in each phase, the status of the task execution, and the errors encountered.
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.prepare_duration: Option<i64>
The total time in milliseconds that DataSync spent in the PREPARING phase.
prepare_status: Option<PhaseStatus>
The status of the PREPARING phase.
total_duration: Option<i64>
The total time in milliseconds that DataSync took to transfer the file from the source to the destination location.
transfer_duration: Option<i64>
The total time in milliseconds that DataSync spent in the TRANSFERRING phase.
transfer_status: Option<PhaseStatus>
The status of the TRANSFERRING phase.
verify_duration: Option<i64>
The total time in milliseconds that DataSync spent in the VERIFYING phase.
verify_status: Option<PhaseStatus>
The status of the VERIFYING phase.
error_code: Option<String>
Errors that DataSync encountered during execution of the task. You can use this error code to help troubleshoot issues.
error_detail: Option<String>
Detailed description of an error that was encountered during the task execution. You can use this information to help troubleshoot issues.
Implementations§
source§impl TaskExecutionResultDetail
impl TaskExecutionResultDetail
sourcepub fn prepare_duration(&self) -> Option<i64>
pub fn prepare_duration(&self) -> Option<i64>
The total time in milliseconds that DataSync spent in the PREPARING phase.
sourcepub fn prepare_status(&self) -> Option<&PhaseStatus>
pub fn prepare_status(&self) -> Option<&PhaseStatus>
The status of the PREPARING phase.
sourcepub fn total_duration(&self) -> Option<i64>
pub fn total_duration(&self) -> Option<i64>
The total time in milliseconds that DataSync took to transfer the file from the source to the destination location.
sourcepub fn transfer_duration(&self) -> Option<i64>
pub fn transfer_duration(&self) -> Option<i64>
The total time in milliseconds that DataSync spent in the TRANSFERRING phase.
sourcepub fn transfer_status(&self) -> Option<&PhaseStatus>
pub fn transfer_status(&self) -> Option<&PhaseStatus>
The status of the TRANSFERRING phase.
sourcepub fn verify_duration(&self) -> Option<i64>
pub fn verify_duration(&self) -> Option<i64>
The total time in milliseconds that DataSync spent in the VERIFYING phase.
sourcepub fn verify_status(&self) -> Option<&PhaseStatus>
pub fn verify_status(&self) -> Option<&PhaseStatus>
The status of the VERIFYING phase.
sourcepub fn error_code(&self) -> Option<&str>
pub fn error_code(&self) -> Option<&str>
Errors that DataSync encountered during execution of the task. You can use this error code to help troubleshoot issues.
sourcepub fn error_detail(&self) -> Option<&str>
pub fn error_detail(&self) -> Option<&str>
Detailed description of an error that was encountered during the task execution. You can use this information to help troubleshoot issues.
source§impl TaskExecutionResultDetail
impl TaskExecutionResultDetail
sourcepub fn builder() -> TaskExecutionResultDetailBuilder
pub fn builder() -> TaskExecutionResultDetailBuilder
Creates a new builder-style object to manufacture TaskExecutionResultDetail
.
Trait Implementations§
source§impl Clone for TaskExecutionResultDetail
impl Clone for TaskExecutionResultDetail
source§fn clone(&self) -> TaskExecutionResultDetail
fn clone(&self) -> TaskExecutionResultDetail
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for TaskExecutionResultDetail
impl Debug for TaskExecutionResultDetail
source§impl PartialEq for TaskExecutionResultDetail
impl PartialEq for TaskExecutionResultDetail
source§fn eq(&self, other: &TaskExecutionResultDetail) -> bool
fn eq(&self, other: &TaskExecutionResultDetail) -> bool
self
and other
values to be equal, and is used
by ==
.