#[non_exhaustive]pub struct GetPipelineStateOutput {
pub pipeline_name: Option<String>,
pub pipeline_version: Option<i32>,
pub stage_states: Option<Vec<StageState>>,
pub created: Option<DateTime>,
pub updated: Option<DateTime>,
/* private fields */
}
Expand description
Represents the output of a GetPipelineState
action.
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_name: Option<String>
The name of the pipeline for which you want to get the state.
pipeline_version: Option<i32>
The version number of the pipeline.
A newly created pipeline is always assigned a version number of 1
.
stage_states: Option<Vec<StageState>>
A list of the pipeline stage output information, including stage name, state, most recent run details, whether the stage is disabled, and other data.
created: Option<DateTime>
The date and time the pipeline was created, in timestamp format.
updated: Option<DateTime>
The date and time the pipeline was last updated, in timestamp format.
Implementations§
source§impl GetPipelineStateOutput
impl GetPipelineStateOutput
sourcepub fn pipeline_name(&self) -> Option<&str>
pub fn pipeline_name(&self) -> Option<&str>
The name of the pipeline for which you want to get the state.
sourcepub fn pipeline_version(&self) -> Option<i32>
pub fn pipeline_version(&self) -> Option<i32>
The version number of the pipeline.
A newly created pipeline is always assigned a version number of 1
.
sourcepub fn stage_states(&self) -> &[StageState]
pub fn stage_states(&self) -> &[StageState]
A list of the pipeline stage output information, including stage name, state, most recent run details, whether the stage is disabled, and other data.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .stage_states.is_none()
.
source§impl GetPipelineStateOutput
impl GetPipelineStateOutput
sourcepub fn builder() -> GetPipelineStateOutputBuilder
pub fn builder() -> GetPipelineStateOutputBuilder
Creates a new builder-style object to manufacture GetPipelineStateOutput
.
Trait Implementations§
source§impl Clone for GetPipelineStateOutput
impl Clone for GetPipelineStateOutput
source§fn clone(&self) -> GetPipelineStateOutput
fn clone(&self) -> GetPipelineStateOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for GetPipelineStateOutput
impl Debug for GetPipelineStateOutput
source§impl PartialEq for GetPipelineStateOutput
impl PartialEq for GetPipelineStateOutput
source§fn eq(&self, other: &GetPipelineStateOutput) -> bool
fn eq(&self, other: &GetPipelineStateOutput) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl RequestId for GetPipelineStateOutput
impl RequestId for GetPipelineStateOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None
if the service could not be reached.