Struct aws_sdk_datasync::output::DescribeTaskOutput
source · [−]#[non_exhaustive]pub struct DescribeTaskOutput {Show 16 fields
pub task_arn: Option<String>,
pub status: Option<TaskStatus>,
pub name: Option<String>,
pub current_task_execution_arn: Option<String>,
pub source_location_arn: Option<String>,
pub destination_location_arn: Option<String>,
pub cloud_watch_log_group_arn: Option<String>,
pub source_network_interface_arns: Option<Vec<String>>,
pub destination_network_interface_arns: Option<Vec<String>>,
pub options: Option<Options>,
pub excludes: Option<Vec<FilterRule>>,
pub schedule: Option<TaskSchedule>,
pub error_code: Option<String>,
pub error_detail: Option<String>,
pub creation_time: Option<DateTime>,
pub includes: Option<Vec<FilterRule>>,
}
Expand description
DescribeTaskResponse
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_arn: Option<String>
The Amazon Resource Name (ARN) of the task that was described.
status: Option<TaskStatus>
The status of the task that was described.
For detailed information about task execution statuses, see Understanding Task Statuses in the DataSync User Guide.
name: Option<String>
The name of the task that was described.
current_task_execution_arn: Option<String>
The Amazon Resource Name (ARN) of the task execution that is syncing files.
source_location_arn: Option<String>
The Amazon Resource Name (ARN) of the source file system's location.
destination_location_arn: Option<String>
The Amazon Resource Name (ARN) of the Amazon Web Services storage resource's location.
cloud_watch_log_group_arn: Option<String>
The Amazon Resource Name (ARN) of the Amazon CloudWatch log group that was used to monitor and log events in the task.
For more information on these groups, see Working with Log Groups and Log Streams in the Amazon CloudWatch User Guide.
source_network_interface_arns: Option<Vec<String>>
The Amazon Resource Names (ARNs) of the source elastic network interfaces (ENIs) that were created for your subnet.
destination_network_interface_arns: Option<Vec<String>>
The Amazon Resource Names (ARNs) of the destination elastic network interfaces (ENIs) that were created for your subnet.
options: Option<Options>
The set of configuration options that control the behavior of a single execution of the task that occurs when you call StartTaskExecution
. You can configure these options to preserve metadata such as user ID (UID) and group (GID), file permissions, data integrity verification, and so on.
For each individual task execution, you can override these options by specifying the overriding OverrideOptions
value to StartTaskExecution operation.
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"
.
schedule: Option<TaskSchedule>
The schedule used to periodically transfer files from a source to a destination location.
error_code: Option<String>
Errors that DataSync encountered during execution of the task. You can use this error code to help troubleshoot issues.
error_detail: Option<String>
Detailed description of an error that was encountered during the task execution. You can use this information to help troubleshoot issues.
creation_time: Option<DateTime>
The time that the task was created.
includes: Option<Vec<FilterRule>>
A list of filter rules that determines which files to include when running a task. The pattern contains a single filter string that consists of the patterns to include. The patterns are delimited by "|" (that is, a pipe), for example, "/folder1|/folder2
".
Implementations
sourceimpl DescribeTaskOutput
impl DescribeTaskOutput
sourcepub fn task_arn(&self) -> Option<&str>
pub fn task_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the task that was described.
sourcepub fn status(&self) -> Option<&TaskStatus>
pub fn status(&self) -> Option<&TaskStatus>
The status of the task that was described.
For detailed information about task execution statuses, see Understanding Task Statuses in the DataSync User Guide.
sourcepub fn current_task_execution_arn(&self) -> Option<&str>
pub fn current_task_execution_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the task execution that is syncing files.
sourcepub fn source_location_arn(&self) -> Option<&str>
pub fn source_location_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the source file system's location.
sourcepub fn destination_location_arn(&self) -> Option<&str>
pub fn destination_location_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the Amazon Web Services storage resource's location.
sourcepub fn cloud_watch_log_group_arn(&self) -> Option<&str>
pub fn cloud_watch_log_group_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the Amazon CloudWatch log group that was used to monitor and log events in the task.
For more information on these groups, see Working with Log Groups and Log Streams in the Amazon CloudWatch User Guide.
sourcepub fn source_network_interface_arns(&self) -> Option<&[String]>
pub fn source_network_interface_arns(&self) -> Option<&[String]>
The Amazon Resource Names (ARNs) of the source elastic network interfaces (ENIs) that were created for your subnet.
sourcepub fn destination_network_interface_arns(&self) -> Option<&[String]>
pub fn destination_network_interface_arns(&self) -> Option<&[String]>
The Amazon Resource Names (ARNs) of the destination elastic network interfaces (ENIs) that were created for your subnet.
sourcepub fn options(&self) -> Option<&Options>
pub fn options(&self) -> Option<&Options>
The set of configuration options that control the behavior of a single execution of the task that occurs when you call StartTaskExecution
. You can configure these options to preserve metadata such as user ID (UID) and group (GID), file permissions, data integrity verification, and so on.
For each individual task execution, you can override these options by specifying the overriding OverrideOptions
value to StartTaskExecution operation.
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 schedule(&self) -> Option<&TaskSchedule>
pub fn schedule(&self) -> Option<&TaskSchedule>
The schedule used to periodically transfer files from a source to a destination location.
sourcepub fn error_code(&self) -> Option<&str>
pub fn error_code(&self) -> Option<&str>
Errors that DataSync encountered during execution of the task. You can use this error code to help troubleshoot issues.
sourcepub fn error_detail(&self) -> Option<&str>
pub fn error_detail(&self) -> Option<&str>
Detailed description of an error that was encountered during the task execution. You can use this information to help troubleshoot issues.
sourcepub fn creation_time(&self) -> Option<&DateTime>
pub fn creation_time(&self) -> Option<&DateTime>
The time that the task was created.
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 pattern contains a single filter string that consists of the patterns to include. The patterns are delimited by "|" (that is, a pipe), for example, "/folder1|/folder2
".
sourceimpl DescribeTaskOutput
impl DescribeTaskOutput
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture DescribeTaskOutput
Trait Implementations
sourceimpl Clone for DescribeTaskOutput
impl Clone for DescribeTaskOutput
sourcefn clone(&self) -> DescribeTaskOutput
fn clone(&self) -> DescribeTaskOutput
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 DescribeTaskOutput
impl Debug for DescribeTaskOutput
sourceimpl PartialEq<DescribeTaskOutput> for DescribeTaskOutput
impl PartialEq<DescribeTaskOutput> for DescribeTaskOutput
sourcefn eq(&self, other: &DescribeTaskOutput) -> bool
fn eq(&self, other: &DescribeTaskOutput) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &DescribeTaskOutput) -> bool
fn ne(&self, other: &DescribeTaskOutput) -> bool
This method tests for !=
.
impl StructuralPartialEq for DescribeTaskOutput
Auto Trait Implementations
impl RefUnwindSafe for DescribeTaskOutput
impl Send for DescribeTaskOutput
impl Sync for DescribeTaskOutput
impl Unpin for DescribeTaskOutput
impl UnwindSafe for DescribeTaskOutput
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