#[non_exhaustive]pub struct DescribeTaskExecutionOutput { /* private fields */ }
Expand description
DescribeTaskExecutionResponse
Implementations§
source§impl 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>
Configures your DataSync task settings. These options include how DataSync handles files, objects, and their associated metadata. You also can specify how DataSync verifies data integrity, set bandwidth limits for your task, among other options.
Each task setting has a default value. Unless you need to, you don't have to configure any of these Options
before starting your task.
sourcepub fn excludes(&self) -> Option<&[FilterRule]>
pub fn excludes(&self) -> Option<&[FilterRule]>
A list of filter rules that exclude specific data during your transfer. For more information and examples, see Filtering data transferred by DataSync.
sourcepub fn includes(&self) -> Option<&[FilterRule]>
pub fn includes(&self) -> Option<&[FilterRule]>
A list of filter rules that include specific data during your transfer. For more information and examples, see Filtering data transferred by DataSync.
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 of the task execution. 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 of the task execution. 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
. In some cases, this value can also be greater than EstimatedFilesToTransfer
. 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 total number of bytes that are involved in the transfer. For the number of bytes sent over the network, see BytesCompressed
.
sourcepub fn result(&self) -> Option<&TaskExecutionResultDetail>
pub fn result(&self) -> Option<&TaskExecutionResultDetail>
The result of the task execution.
sourcepub fn bytes_compressed(&self) -> i64
pub fn bytes_compressed(&self) -> i64
The physical number of bytes transferred over the network after compression was applied. In most cases, this number is less than BytesTransferred
unless the data isn't compressible.
source§impl DescribeTaskExecutionOutput
impl DescribeTaskExecutionOutput
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture DescribeTaskExecutionOutput
.
Trait Implementations§
source§impl Clone for DescribeTaskExecutionOutput
impl Clone for DescribeTaskExecutionOutput
source§fn clone(&self) -> DescribeTaskExecutionOutput
fn clone(&self) -> DescribeTaskExecutionOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for DescribeTaskExecutionOutput
impl Debug for DescribeTaskExecutionOutput
source§impl PartialEq<DescribeTaskExecutionOutput> for DescribeTaskExecutionOutput
impl PartialEq<DescribeTaskExecutionOutput> for DescribeTaskExecutionOutput
source§fn eq(&self, other: &DescribeTaskExecutionOutput) -> bool
fn eq(&self, other: &DescribeTaskExecutionOutput) -> bool
self
and other
values to be equal, and is used
by ==
.