Struct aws_sdk_codepipeline::types::PipelineContext
source · #[non_exhaustive]pub struct PipelineContext {
pub pipeline_name: Option<String>,
pub stage: Option<StageContext>,
pub action: Option<ActionContext>,
pub pipeline_arn: Option<String>,
pub pipeline_execution_id: Option<String>,
}
Expand description
Represents information about a pipeline to a job worker.
PipelineContext contains pipelineArn
and pipelineExecutionId
for custom action jobs. The pipelineArn
and pipelineExecutionId
fields are not populated for ThirdParty action jobs.
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. This is a user-specified value. Pipeline names must be unique across all pipeline names under an Amazon Web Services account.
stage: Option<StageContext>
The stage of the pipeline.
action: Option<ActionContext>
The context of an action to a job worker in the stage of a pipeline.
pipeline_arn: Option<String>
The Amazon Resource Name (ARN) of the pipeline.
pipeline_execution_id: Option<String>
The execution ID of the pipeline.
Implementations§
source§impl PipelineContext
impl PipelineContext
sourcepub fn pipeline_name(&self) -> Option<&str>
pub fn pipeline_name(&self) -> Option<&str>
The name of the pipeline. This is a user-specified value. Pipeline names must be unique across all pipeline names under an Amazon Web Services account.
sourcepub fn stage(&self) -> Option<&StageContext>
pub fn stage(&self) -> Option<&StageContext>
The stage of the pipeline.
sourcepub fn action(&self) -> Option<&ActionContext>
pub fn action(&self) -> Option<&ActionContext>
The context of an action to a job worker in the stage of a pipeline.
sourcepub fn pipeline_arn(&self) -> Option<&str>
pub fn pipeline_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the pipeline.
sourcepub fn pipeline_execution_id(&self) -> Option<&str>
pub fn pipeline_execution_id(&self) -> Option<&str>
The execution ID of the pipeline.
source§impl PipelineContext
impl PipelineContext
sourcepub fn builder() -> PipelineContextBuilder
pub fn builder() -> PipelineContextBuilder
Creates a new builder-style object to manufacture PipelineContext
.
Trait Implementations§
source§impl Clone for PipelineContext
impl Clone for PipelineContext
source§fn clone(&self) -> PipelineContext
fn clone(&self) -> PipelineContext
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for PipelineContext
impl Debug for PipelineContext
source§impl PartialEq for PipelineContext
impl PartialEq for PipelineContext
source§fn eq(&self, other: &PipelineContext) -> bool
fn eq(&self, other: &PipelineContext) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for PipelineContext
Auto Trait Implementations§
impl Freeze for PipelineContext
impl RefUnwindSafe for PipelineContext
impl Send for PipelineContext
impl Sync for PipelineContext
impl Unpin for PipelineContext
impl UnwindSafe for PipelineContext
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