libZSservicesZSamazonka-codepipelineZSamazonka-codepipeline
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.CodePipeline.Types.PipelineContext

Description

 
Synopsis

Documentation

data PipelineContext Source #

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.

See: newPipelineContext smart constructor.

Constructors

PipelineContext' 

Fields

Instances

Instances details
Eq PipelineContext Source # 
Instance details

Defined in Amazonka.CodePipeline.Types.PipelineContext

Read PipelineContext Source # 
Instance details

Defined in Amazonka.CodePipeline.Types.PipelineContext

Show PipelineContext Source # 
Instance details

Defined in Amazonka.CodePipeline.Types.PipelineContext

Generic PipelineContext Source # 
Instance details

Defined in Amazonka.CodePipeline.Types.PipelineContext

Associated Types

type Rep PipelineContext :: Type -> Type #

NFData PipelineContext Source # 
Instance details

Defined in Amazonka.CodePipeline.Types.PipelineContext

Methods

rnf :: PipelineContext -> () #

Hashable PipelineContext Source # 
Instance details

Defined in Amazonka.CodePipeline.Types.PipelineContext

FromJSON PipelineContext Source # 
Instance details

Defined in Amazonka.CodePipeline.Types.PipelineContext

type Rep PipelineContext Source # 
Instance details

Defined in Amazonka.CodePipeline.Types.PipelineContext

type Rep PipelineContext = D1 ('MetaData "PipelineContext" "Amazonka.CodePipeline.Types.PipelineContext" "libZSservicesZSamazonka-codepipelineZSamazonka-codepipeline" 'False) (C1 ('MetaCons "PipelineContext'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "stage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe StageContext)) :*: S1 ('MetaSel ('Just "pipelineName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "action") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ActionContext)) :*: (S1 ('MetaSel ('Just "pipelineArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "pipelineExecutionId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))))

newPipelineContext :: PipelineContext Source #

Create a value of PipelineContext with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:stage:PipelineContext', pipelineContext_stage - The stage of the pipeline.

$sel:pipelineName:PipelineContext', pipelineContext_pipelineName - 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.

$sel:action:PipelineContext', pipelineContext_action - The context of an action to a job worker in the stage of a pipeline.

$sel:pipelineArn:PipelineContext', pipelineContext_pipelineArn - The Amazon Resource Name (ARN) of the pipeline.

$sel:pipelineExecutionId:PipelineContext', pipelineContext_pipelineExecutionId - The execution ID of the pipeline.

pipelineContext_pipelineName :: Lens' PipelineContext (Maybe Text) Source #

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.

pipelineContext_action :: Lens' PipelineContext (Maybe ActionContext) Source #

The context of an action to a job worker in the stage of a pipeline.

pipelineContext_pipelineArn :: Lens' PipelineContext (Maybe Text) Source #

The Amazon Resource Name (ARN) of the pipeline.