#[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
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
impl DescribeTaskExecutionOutput
sourcepub fn task_execution_arn(&self) -> Option<&str>
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
.
sourcepub fn status(&self) -> Option<&TaskExecutionStatus>
pub fn status(&self) -> Option<&TaskExecutionStatus>
The status of the task execution.
sourcepub fn options(&self) -> Option<&Options>
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.
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 when the task execution started.
sourcepub fn estimated_files_to_transfer(&self) -> i64
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.
sourcepub fn estimated_bytes_to_transfer(&self) -> i64
pub fn estimated_bytes_to_transfer(&self) -> i64
The estimated physical number of bytes that will transfer over the network.
sourcepub fn files_transferred(&self) -> i64
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.
sourcepub fn bytes_written(&self) -> i64
pub fn bytes_written(&self) -> i64
The number of logical bytes written to the destination location.
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.
sourcepub fn task_report_config(&self) -> Option<&TaskReportConfig>
pub fn task_report_config(&self) -> Option<&TaskReportConfig>
The configuration of your task report, which provides detailed information about for your DataSync transfer.
sourcepub fn files_deleted(&self) -> i64
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
.
sourcepub fn files_skipped(&self) -> i64
pub fn files_skipped(&self) -> i64
The number of files, objects, and directories that DataSync skipped during your transfer.
sourcepub fn files_verified(&self) -> i64
pub fn files_verified(&self) -> i64
The number of files, objects, and directories that DataSync verified during your transfer.
sourcepub fn report_result(&self) -> Option<&ReportResult>
pub fn report_result(&self) -> Option<&ReportResult>
Indicates whether DataSync generated a complete task report for your transfer.
sourcepub fn estimated_files_to_delete(&self) -> i64
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
impl DescribeTaskExecutionOutput
sourcepub fn builder() -> DescribeTaskExecutionOutputBuilder
pub fn builder() -> DescribeTaskExecutionOutputBuilder
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 for DescribeTaskExecutionOutput
impl PartialEq 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 ==
.source§impl RequestId for DescribeTaskExecutionOutput
impl RequestId for DescribeTaskExecutionOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None
if the service could not be reached.