#[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>,
pub execution_mode: Option<ExecutionMode>,
}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.
execution_mode: Option<ExecutionMode>The method that the pipeline will use to handle multiple executions. The default mode is SUPERSEDED.
Implementations§
source§impl 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) -> &[SourceRevision]
pub fn source_revisions(&self) -> &[SourceRevision]
A list of the source artifact revisions that initiated a pipeline execution.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .source_revisions.is_none().
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.
sourcepub fn execution_mode(&self) -> Option<&ExecutionMode>
pub fn execution_mode(&self) -> Option<&ExecutionMode>
The method that the pipeline will use to handle multiple executions. The default mode is SUPERSEDED.
source§impl PipelineExecutionSummary
impl PipelineExecutionSummary
sourcepub fn builder() -> PipelineExecutionSummaryBuilder
pub fn builder() -> PipelineExecutionSummaryBuilder
Creates a new builder-style object to manufacture PipelineExecutionSummary.
Trait Implementations§
source§impl Clone for PipelineExecutionSummary
impl Clone for PipelineExecutionSummary
source§fn clone(&self) -> PipelineExecutionSummary
fn clone(&self) -> PipelineExecutionSummary
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for PipelineExecutionSummary
impl Debug for PipelineExecutionSummary
source§impl PartialEq for PipelineExecutionSummary
impl PartialEq for PipelineExecutionSummary
source§fn eq(&self, other: &PipelineExecutionSummary) -> bool
fn eq(&self, other: &PipelineExecutionSummary) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for PipelineExecutionSummary
Auto Trait Implementations§
impl Freeze for PipelineExecutionSummary
impl RefUnwindSafe for PipelineExecutionSummary
impl Send for PipelineExecutionSummary
impl Sync for PipelineExecutionSummary
impl Unpin for PipelineExecutionSummary
impl UnwindSafe for PipelineExecutionSummary
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