Struct aws_sdk_datapipeline::types::TaskObject
source · #[non_exhaustive]pub struct TaskObject {
pub task_id: Option<String>,
pub pipeline_id: Option<String>,
pub attempt_id: Option<String>,
pub objects: Option<HashMap<String, PipelineObject>>,
}Expand description
Contains information about a pipeline task that is assigned to a task runner.
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_id: Option<String>An internal identifier for the task. This ID is passed to the SetTaskStatus and ReportTaskProgress actions.
pipeline_id: Option<String>The ID of the pipeline that provided the task.
attempt_id: Option<String>The ID of the pipeline task attempt object. AWS Data Pipeline uses this value to track how many times a task is attempted.
objects: Option<HashMap<String, PipelineObject>>Connection information for the location where the task runner will publish the output of the task.
Implementations§
source§impl TaskObject
impl TaskObject
sourcepub fn task_id(&self) -> Option<&str>
pub fn task_id(&self) -> Option<&str>
An internal identifier for the task. This ID is passed to the SetTaskStatus and ReportTaskProgress actions.
sourcepub fn pipeline_id(&self) -> Option<&str>
pub fn pipeline_id(&self) -> Option<&str>
The ID of the pipeline that provided the task.
sourcepub fn attempt_id(&self) -> Option<&str>
pub fn attempt_id(&self) -> Option<&str>
The ID of the pipeline task attempt object. AWS Data Pipeline uses this value to track how many times a task is attempted.
source§impl TaskObject
impl TaskObject
sourcepub fn builder() -> TaskObjectBuilder
pub fn builder() -> TaskObjectBuilder
Creates a new builder-style object to manufacture TaskObject.
Trait Implementations§
source§impl Clone for TaskObject
impl Clone for TaskObject
source§fn clone(&self) -> TaskObject
fn clone(&self) -> TaskObject
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for TaskObject
impl Debug for TaskObject
source§impl PartialEq for TaskObject
impl PartialEq for TaskObject
source§fn eq(&self, other: &TaskObject) -> bool
fn eq(&self, other: &TaskObject) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for TaskObject
Auto Trait Implementations§
impl Freeze for TaskObject
impl RefUnwindSafe for TaskObject
impl Send for TaskObject
impl Sync for TaskObject
impl Unpin for TaskObject
impl UnwindSafe for TaskObject
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more