#[non_exhaustive]pub struct DescribeTaskExecutionOutput {
pub task_execution_arn: Option<String>,
pub status: Option<TaskExecutionStatus>,
pub options: Option<Options>,
pub excludes: Option<Vec<FilterRule>>,
pub includes: Option<Vec<FilterRule>>,
pub start_time: Option<DateTime>,
pub estimated_files_to_transfer: i64,
pub estimated_bytes_to_transfer: i64,
pub files_transferred: i64,
pub bytes_written: i64,
pub bytes_transferred: i64,
pub result: Option<TaskExecutionResultDetail>,
}
Expand description
DescribeTaskExecutionResponse
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_execution_arn: Option<String>
The Amazon Resource Name (ARN) of the task execution that was described. TaskExecutionArn
is hierarchical and includes TaskArn
for the task that was executed.
For example, a TaskExecution
value with the ARN arn:aws:datasync:us-east-1:111222333444:task/task-0208075f79cedf4a2/execution/exec-08ef1e88ec491019b
executed the task with the ARN arn:aws:datasync:us-east-1:111222333444:task/task-0208075f79cedf4a2
.
status: Option<TaskExecutionStatus>
The status of the task execution.
For detailed information about task execution statuses, see Understanding Task Statuses in the DataSync User Guide.
options: Option<Options>
Represents the options that are available to control the behavior of a StartTaskExecution operation. Behavior includes preserving metadata such as user ID (UID), group ID (GID), and file permissions, and also overwriting files in the destination, data integrity verification, and so on.
A task has a set of default options associated with it. If you don't specify an option in StartTaskExecution, the default value is used. You can override the defaults options on each task execution by specifying an overriding Options
value to StartTaskExecution.
excludes: Option<Vec<FilterRule>>
A list of filter rules that determines which files to exclude from a task. The list should contain a single filter string that consists of the patterns to exclude. The patterns are delimited by "|" (that is, a pipe), for example: "/folder1|/folder2"
includes: Option<Vec<FilterRule>>
A list of filter rules that determines which files to include when running a task. The list should contain a single filter string that consists of the patterns to include. The patterns are delimited by "|" (that is, a pipe), for example: "/folder1|/folder2"
start_time: Option<DateTime>
The time that the task execution was started.
estimated_files_to_transfer: i64
The expected number of files that is to be transferred over the network. This value is calculated during the PREPARING phase, before the TRANSFERRING phase. This value is the expected number of files to be transferred. It's calculated based on comparing the content of the source and destination locations and finding the delta that needs to be transferred.
estimated_bytes_to_transfer: i64
The estimated physical number of bytes that is to be transferred over the network.
files_transferred: i64
The actual number of files that was transferred over the network. This value is calculated and updated on an ongoing basis during the TRANSFERRING phase. It's updated periodically when each file is read from the source and sent over the network.
If failures occur during a transfer, this value can be less than EstimatedFilesToTransfer
. This value can also be greater than EstimatedFilesTransferred
in some cases. This element is implementation-specific for some location types, so don't use it as an indicator for a correct file number or to monitor your task execution.
bytes_written: i64
The number of logical bytes written to the destination Amazon Web Services storage resource.
bytes_transferred: i64
The physical number of bytes transferred over the network.
result: Option<TaskExecutionResultDetail>
The result of the task execution.
Implementations
sourceimpl DescribeTaskExecutionOutput
impl DescribeTaskExecutionOutput
sourcepub fn task_execution_arn(&self) -> Option<&str>
pub fn task_execution_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the task execution that was described. TaskExecutionArn
is hierarchical and includes TaskArn
for the task that was executed.
For example, a TaskExecution
value with the ARN arn:aws:datasync:us-east-1:111222333444:task/task-0208075f79cedf4a2/execution/exec-08ef1e88ec491019b
executed the task with the ARN arn:aws:datasync:us-east-1:111222333444:task/task-0208075f79cedf4a2
.
sourcepub fn status(&self) -> Option<&TaskExecutionStatus>
pub fn status(&self) -> Option<&TaskExecutionStatus>
The status of the task execution.
For detailed information about task execution statuses, see Understanding Task Statuses in the DataSync User Guide.
sourcepub fn options(&self) -> Option<&Options>
pub fn options(&self) -> Option<&Options>
Represents the options that are available to control the behavior of a StartTaskExecution operation. Behavior includes preserving metadata such as user ID (UID), group ID (GID), and file permissions, and also overwriting files in the destination, data integrity verification, and so on.
A task has a set of default options associated with it. If you don't specify an option in StartTaskExecution, the default value is used. You can override the defaults options on each task execution by specifying an overriding Options
value to StartTaskExecution.
sourcepub fn excludes(&self) -> Option<&[FilterRule]>
pub fn excludes(&self) -> Option<&[FilterRule]>
A list of filter rules that determines which files to exclude from a task. The list should contain a single filter string that consists of the patterns to exclude. The patterns are delimited by "|" (that is, a pipe), for example: "/folder1|/folder2"
sourcepub fn includes(&self) -> Option<&[FilterRule]>
pub fn includes(&self) -> Option<&[FilterRule]>
A list of filter rules that determines which files to include when running a task. The list should contain a single filter string that consists of the patterns to include. The patterns are delimited by "|" (that is, a pipe), for example: "/folder1|/folder2"
sourcepub fn start_time(&self) -> Option<&DateTime>
pub fn start_time(&self) -> Option<&DateTime>
The time that the task execution was started.
sourcepub fn estimated_files_to_transfer(&self) -> i64
pub fn estimated_files_to_transfer(&self) -> i64
The expected number of files that is to be transferred over the network. This value is calculated during the PREPARING phase, before the TRANSFERRING phase. This value is the expected number of files to be transferred. It's calculated based on comparing the content of the source and destination locations and finding the delta that needs to be transferred.
sourcepub fn estimated_bytes_to_transfer(&self) -> i64
pub fn estimated_bytes_to_transfer(&self) -> i64
The estimated physical number of bytes that is to be transferred over the network.
sourcepub fn files_transferred(&self) -> i64
pub fn files_transferred(&self) -> i64
The actual number of files that was transferred over the network. This value is calculated and updated on an ongoing basis during the TRANSFERRING phase. It's updated periodically when each file is read from the source and sent over the network.
If failures occur during a transfer, this value can be less than EstimatedFilesToTransfer
. This value can also be greater than EstimatedFilesTransferred
in some cases. This element is implementation-specific for some location types, so don't use it as an indicator for a correct file number or to monitor your task execution.
sourcepub fn bytes_written(&self) -> i64
pub fn bytes_written(&self) -> i64
The number of logical bytes written to the destination Amazon Web Services storage resource.
sourcepub fn bytes_transferred(&self) -> i64
pub fn bytes_transferred(&self) -> i64
The physical number of bytes transferred over the network.
sourcepub fn result(&self) -> Option<&TaskExecutionResultDetail>
pub fn result(&self) -> Option<&TaskExecutionResultDetail>
The result of the task execution.
sourceimpl DescribeTaskExecutionOutput
impl DescribeTaskExecutionOutput
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture DescribeTaskExecutionOutput
Trait Implementations
sourceimpl Clone for DescribeTaskExecutionOutput
impl Clone for DescribeTaskExecutionOutput
sourcefn clone(&self) -> DescribeTaskExecutionOutput
fn clone(&self) -> DescribeTaskExecutionOutput
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 DescribeTaskExecutionOutput
impl Debug for DescribeTaskExecutionOutput
sourceimpl PartialEq<DescribeTaskExecutionOutput> for DescribeTaskExecutionOutput
impl PartialEq<DescribeTaskExecutionOutput> for DescribeTaskExecutionOutput
sourcefn eq(&self, other: &DescribeTaskExecutionOutput) -> bool
fn eq(&self, other: &DescribeTaskExecutionOutput) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &DescribeTaskExecutionOutput) -> bool
fn ne(&self, other: &DescribeTaskExecutionOutput) -> bool
This method tests for !=
.
impl StructuralPartialEq for DescribeTaskExecutionOutput
Auto Trait Implementations
impl RefUnwindSafe for DescribeTaskExecutionOutput
impl Send for DescribeTaskExecutionOutput
impl Sync for DescribeTaskExecutionOutput
impl Unpin for DescribeTaskExecutionOutput
impl UnwindSafe for DescribeTaskExecutionOutput
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