#[non_exhaustive]
pub struct DescribeTaskExecutionOutput {
Show 19 fields 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>, pub bytes_compressed: i64, pub task_report_config: Option<TaskReportConfig>, pub files_deleted: i64, pub files_skipped: i64, pub files_verified: i64, pub report_result: Option<ReportResult>, pub estimated_files_to_delete: i64, /* private fields */
}
Expand description

DescribeTaskExecutionResponse

Fields (Non-exhaustive)§

This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.
§task_execution_arn: Option<String>

The ARN of the task execution that you wanted information about. 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.

§options: Option<Options>

Indicates how your transfer task is configured. These options include how DataSync handles files, objects, and their associated metadata during your transfer. You also can specify how to verify data integrity, set bandwidth limits for your task, among other options.

Each option has a default value. Unless you need to, you don't have to configure any of these options before starting your task.

§excludes: Option<Vec<FilterRule>>

A list of filter rules that exclude specific data during your transfer. For more information and examples, see Filtering data transferred by DataSync.

§includes: Option<Vec<FilterRule>>

A list of filter rules that include specific data during your transfer. For more information and examples, see Filtering data transferred by DataSync.

§start_time: Option<DateTime>

The time when the task execution started.

§estimated_files_to_transfer: i64

The expected number of files, objects, and directories that DataSync will transfer over the network. This value is calculated during the task execution's PREPARING phase before the TRANSFERRING phase. The calculation is based on comparing the content of the source and destination locations and finding the difference that needs to be transferred.

§estimated_bytes_to_transfer: i64

The estimated physical number of bytes that will transfer over the network.

§files_transferred: i64

The actual number of files, objects, and directories that DataSync transferred over the network. This value is updated periodically during the task execution's TRANSFERRING phase when something is read from the source and sent over the network.

If DataSync fails to transfer something, 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 exact indication of what transferred or to monitor your task execution.

§bytes_written: i64

The number of logical bytes written to the destination location.

§bytes_transferred: i64

The total number of bytes that are involved in the transfer. For the number of bytes sent over the network, see BytesCompressed.

§result: Option<TaskExecutionResultDetail>

The result of the task execution.

§bytes_compressed: 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.

§task_report_config: Option<TaskReportConfig>

The configuration of your task report, which provides detailed information about for your DataSync transfer.

§files_deleted: i64

The number of files, objects, and directories that DataSync deleted in your destination location. If you don't configure your task to delete data in the destination that isn't in the source, the value is always 0.

§files_skipped: i64

The number of files, objects, and directories that DataSync skipped during your transfer.

§files_verified: i64

The number of files, objects, and directories that DataSync verified during your transfer.

§report_result: Option<ReportResult>

Indicates whether DataSync generated a complete task report for your transfer.

§estimated_files_to_delete: i64

The expected number of files, objects, and directories that DataSync will delete in your destination location. If you don't configure your task to delete data in the destination that isn't in the source, the value is always 0.

Implementations§

source§

impl DescribeTaskExecutionOutput

source

pub fn task_execution_arn(&self) -> Option<&str>

The ARN of the task execution that you wanted information about. 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.

source

pub fn status(&self) -> Option<&TaskExecutionStatus>

The status of the task execution.

source

pub fn options(&self) -> Option<&Options>

Indicates how your transfer task is configured. These options include how DataSync handles files, objects, and their associated metadata during your transfer. You also can specify how to verify data integrity, set bandwidth limits for your task, among other options.

Each option has a default value. Unless you need to, you don't have to configure any of these options before starting your task.

source

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.

source

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.

source

pub fn start_time(&self) -> Option<&DateTime>

The time when the task execution started.

source

pub fn estimated_files_to_transfer(&self) -> i64

The expected number of files, objects, and directories that DataSync will transfer over the network. This value is calculated during the task execution's PREPARING phase before the TRANSFERRING phase. The calculation is based on comparing the content of the source and destination locations and finding the difference that needs to be transferred.

source

pub fn estimated_bytes_to_transfer(&self) -> i64

The estimated physical number of bytes that will transfer over the network.

source

pub fn files_transferred(&self) -> i64

The actual number of files, objects, and directories that DataSync transferred over the network. This value is updated periodically during the task execution's TRANSFERRING phase when something is read from the source and sent over the network.

If DataSync fails to transfer something, 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 exact indication of what transferred or to monitor your task execution.

source

pub fn bytes_written(&self) -> i64

The number of logical bytes written to the destination location.

source

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.

source

pub fn result(&self) -> Option<&TaskExecutionResultDetail>

The result of the task execution.

source

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

pub fn task_report_config(&self) -> Option<&TaskReportConfig>

The configuration of your task report, which provides detailed information about for your DataSync transfer.

source

pub fn files_deleted(&self) -> i64

The number of files, objects, and directories that DataSync deleted in your destination location. If you don't configure your task to delete data in the destination that isn't in the source, the value is always 0.

source

pub fn files_skipped(&self) -> i64

The number of files, objects, and directories that DataSync skipped during your transfer.

source

pub fn files_verified(&self) -> i64

The number of files, objects, and directories that DataSync verified during your transfer.

source

pub fn report_result(&self) -> Option<&ReportResult>

Indicates whether DataSync generated a complete task report for your transfer.

source

pub fn estimated_files_to_delete(&self) -> i64

The expected number of files, objects, and directories that DataSync will delete in your destination location. If you don't configure your task to delete data in the destination that isn't in the source, the value is always 0.

source§

impl DescribeTaskExecutionOutput

source

pub fn builder() -> DescribeTaskExecutionOutputBuilder

Creates a new builder-style object to manufacture DescribeTaskExecutionOutput.

Trait Implementations§

source§

impl Clone for DescribeTaskExecutionOutput

source§

fn clone(&self) -> DescribeTaskExecutionOutput

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for DescribeTaskExecutionOutput

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl PartialEq for DescribeTaskExecutionOutput

source§

fn eq(&self, other: &DescribeTaskExecutionOutput) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl RequestId for DescribeTaskExecutionOutput

source§

fn request_id(&self) -> Option<&str>

Returns the request ID, or None if the service could not be reached.
source§

impl StructuralPartialEq for DescribeTaskExecutionOutput

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T> Instrument for T

source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> WithSubscriber for T

source§

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
source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more