#[non_exhaustive]pub struct CancelDataRepositoryTaskOutput {
pub lifecycle: Option<DataRepositoryTaskLifecycle>,
pub task_id: Option<String>,
/* private fields */
}
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.lifecycle: Option<DataRepositoryTaskLifecycle>
The lifecycle status of the data repository task, as follows:
-
PENDING
- Amazon FSx has not started the task. -
EXECUTING
- Amazon FSx is processing the task. -
FAILED
- Amazon FSx was not able to complete the task. For example, there may be files the task failed to process. TheDataRepositoryTaskFailureDetails
property provides more information about task failures. -
SUCCEEDED
- FSx completed the task successfully. -
CANCELED
- Amazon FSx canceled the task and it did not complete. -
CANCELING
- FSx is in process of canceling the task.
task_id: Option<String>
The ID of the task being canceled.
Implementations§
source§impl CancelDataRepositoryTaskOutput
impl CancelDataRepositoryTaskOutput
sourcepub fn lifecycle(&self) -> Option<&DataRepositoryTaskLifecycle>
pub fn lifecycle(&self) -> Option<&DataRepositoryTaskLifecycle>
The lifecycle status of the data repository task, as follows:
-
PENDING
- Amazon FSx has not started the task. -
EXECUTING
- Amazon FSx is processing the task. -
FAILED
- Amazon FSx was not able to complete the task. For example, there may be files the task failed to process. TheDataRepositoryTaskFailureDetails
property provides more information about task failures. -
SUCCEEDED
- FSx completed the task successfully. -
CANCELED
- Amazon FSx canceled the task and it did not complete. -
CANCELING
- FSx is in process of canceling the task.
source§impl CancelDataRepositoryTaskOutput
impl CancelDataRepositoryTaskOutput
sourcepub fn builder() -> CancelDataRepositoryTaskOutputBuilder
pub fn builder() -> CancelDataRepositoryTaskOutputBuilder
Creates a new builder-style object to manufacture CancelDataRepositoryTaskOutput
.
Trait Implementations§
source§impl Clone for CancelDataRepositoryTaskOutput
impl Clone for CancelDataRepositoryTaskOutput
source§fn clone(&self) -> CancelDataRepositoryTaskOutput
fn clone(&self) -> CancelDataRepositoryTaskOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for CancelDataRepositoryTaskOutput
impl PartialEq for CancelDataRepositoryTaskOutput
source§fn eq(&self, other: &CancelDataRepositoryTaskOutput) -> bool
fn eq(&self, other: &CancelDataRepositoryTaskOutput) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl RequestId for CancelDataRepositoryTaskOutput
impl RequestId for CancelDataRepositoryTaskOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None
if the service could not be reached.