#[non_exhaustive]pub struct PipelineExecutionSummary {
pub pipeline_execution_id: Option<String>,
pub status: Option<PipelineExecutionStatus>,
pub start_time: Option<DateTime>,
pub last_update_time: Option<DateTime>,
pub source_revisions: Option<Vec<SourceRevision>>,
pub trigger: Option<ExecutionTrigger>,
pub stop_trigger: Option<StopExecutionTrigger>,
}
Expand description
Summary information about a pipeline execution.
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.pipeline_execution_id: Option<String>
The ID of the pipeline execution.
status: Option<PipelineExecutionStatus>
The status of the pipeline execution.
-
InProgress: The pipeline execution is currently running.
-
Stopped: The pipeline execution was manually stopped. For more information, see Stopped Executions.
-
Stopping: The pipeline execution received a request to be manually stopped. Depending on the selected stop mode, the execution is either completing or abandoning in-progress actions. For more information, see Stopped Executions.
-
Succeeded: The pipeline execution was completed successfully.
-
Superseded: While this pipeline execution was waiting for the next stage to be completed, a newer pipeline execution advanced and continued through the pipeline instead. For more information, see Superseded Executions.
-
Failed: The pipeline execution was not completed successfully.
start_time: Option<DateTime>
The date and time when the pipeline execution began, in timestamp format.
last_update_time: Option<DateTime>
The date and time of the last change to the pipeline execution, in timestamp format.
source_revisions: Option<Vec<SourceRevision>>
A list of the source artifact revisions that initiated a pipeline execution.
trigger: Option<ExecutionTrigger>
The interaction or event that started a pipeline execution, such as automated change detection or a StartPipelineExecution
API call.
stop_trigger: Option<StopExecutionTrigger>
The interaction that stopped a pipeline execution.
Implementations
sourceimpl PipelineExecutionSummary
impl PipelineExecutionSummary
sourcepub fn pipeline_execution_id(&self) -> Option<&str>
pub fn pipeline_execution_id(&self) -> Option<&str>
The ID of the pipeline execution.
sourcepub fn status(&self) -> Option<&PipelineExecutionStatus>
pub fn status(&self) -> Option<&PipelineExecutionStatus>
The status of the pipeline execution.
-
InProgress: The pipeline execution is currently running.
-
Stopped: The pipeline execution was manually stopped. For more information, see Stopped Executions.
-
Stopping: The pipeline execution received a request to be manually stopped. Depending on the selected stop mode, the execution is either completing or abandoning in-progress actions. For more information, see Stopped Executions.
-
Succeeded: The pipeline execution was completed successfully.
-
Superseded: While this pipeline execution was waiting for the next stage to be completed, a newer pipeline execution advanced and continued through the pipeline instead. For more information, see Superseded Executions.
-
Failed: The pipeline execution was not completed successfully.
sourcepub fn start_time(&self) -> Option<&DateTime>
pub fn start_time(&self) -> Option<&DateTime>
The date and time when the pipeline execution began, in timestamp format.
sourcepub fn last_update_time(&self) -> Option<&DateTime>
pub fn last_update_time(&self) -> Option<&DateTime>
The date and time of the last change to the pipeline execution, in timestamp format.
sourcepub fn source_revisions(&self) -> Option<&[SourceRevision]>
pub fn source_revisions(&self) -> Option<&[SourceRevision]>
A list of the source artifact revisions that initiated a pipeline execution.
sourcepub fn trigger(&self) -> Option<&ExecutionTrigger>
pub fn trigger(&self) -> Option<&ExecutionTrigger>
The interaction or event that started a pipeline execution, such as automated change detection or a StartPipelineExecution
API call.
sourcepub fn stop_trigger(&self) -> Option<&StopExecutionTrigger>
pub fn stop_trigger(&self) -> Option<&StopExecutionTrigger>
The interaction that stopped a pipeline execution.
sourceimpl PipelineExecutionSummary
impl PipelineExecutionSummary
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture PipelineExecutionSummary
.
Trait Implementations
sourceimpl Clone for PipelineExecutionSummary
impl Clone for PipelineExecutionSummary
sourcefn clone(&self) -> PipelineExecutionSummary
fn clone(&self) -> PipelineExecutionSummary
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 PipelineExecutionSummary
impl Debug for PipelineExecutionSummary
sourceimpl PartialEq<PipelineExecutionSummary> for PipelineExecutionSummary
impl PartialEq<PipelineExecutionSummary> for PipelineExecutionSummary
sourcefn eq(&self, other: &PipelineExecutionSummary) -> bool
fn eq(&self, other: &PipelineExecutionSummary) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &PipelineExecutionSummary) -> bool
fn ne(&self, other: &PipelineExecutionSummary) -> bool
This method tests for !=
.
impl StructuralPartialEq for PipelineExecutionSummary
Auto Trait Implementations
impl RefUnwindSafe for PipelineExecutionSummary
impl Send for PipelineExecutionSummary
impl Sync for PipelineExecutionSummary
impl Unpin for PipelineExecutionSummary
impl UnwindSafe for PipelineExecutionSummary
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
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> 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