Struct aws_sdk_codepipeline::model::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
sourceimpl 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.
sourceimpl PipelineContext
impl PipelineContext
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture PipelineContext
.
Trait Implementations
sourceimpl Clone for PipelineContext
impl Clone for PipelineContext
sourcefn clone(&self) -> PipelineContext
fn clone(&self) -> PipelineContext
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 PipelineContext
impl Debug for PipelineContext
sourceimpl PartialEq<PipelineContext> for PipelineContext
impl PartialEq<PipelineContext> for PipelineContext
sourcefn eq(&self, other: &PipelineContext) -> bool
fn eq(&self, other: &PipelineContext) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &PipelineContext) -> bool
fn ne(&self, other: &PipelineContext) -> bool
This method tests for !=
.
impl StructuralPartialEq for PipelineContext
Auto Trait Implementations
impl RefUnwindSafe for PipelineContext
impl Send for PipelineContext
impl Sync for PipelineContext
impl Unpin for PipelineContext
impl UnwindSafe for PipelineContext
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