amazonka-codepipeline-1.2.0.1: Amazon CodePipeline SDK.

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

Network.AWS.CodePipeline.GetPipelineState

Contents

Description

Returns information about the state of a pipeline, including the stages, actions, and details about the last run of the pipeline.

See: AWS API Reference for GetPipelineState.

Synopsis

Creating a Request

getPipelineState Source

Creates a value of GetPipelineState with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

Request Lenses

gpsName :: Lens' GetPipelineState Text Source

The name of the pipeline about which you want to get information.

Destructuring the Response

getPipelineStateResponse Source

Creates a value of GetPipelineStateResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

Response Lenses

gpsrsPipelineName :: Lens' GetPipelineStateResponse (Maybe Text) Source

The name of the pipeline for which you want to get the state.

gpsrsPipelineVersion :: Lens' GetPipelineStateResponse (Maybe Natural) Source

The version number of the pipeline.

A newly-created pipeline is always assigned a version number of '1'.

gpsrsCreated :: Lens' GetPipelineStateResponse (Maybe UTCTime) Source

The date and time the pipeline was created, in timestamp format.

gpsrsStageStates :: Lens' GetPipelineStateResponse [StageState] Source

A list of the pipeline stage output information, including stage name, state, most recent run details, whether the stage is disabled, and other data.

gpsrsUpdated :: Lens' GetPipelineStateResponse (Maybe UTCTime) Source

The date and time the pipeline was last updated, in timestamp format.