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 ==
.