amazonka-codepipeline-1.6.0: Amazon CodePipeline SDK.

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

Network.AWS.CodePipeline.RetryStageExecution

Contents

Description

Resumes the pipeline execution by retrying the last failed actions in a stage.

Synopsis

Creating a Request

retryStageExecution Source #

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

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

  • rsePipelineName - The name of the pipeline that contains the failed stage.
  • rseStageName - The name of the failed stage to be retried.
  • rsePipelineExecutionId - The ID of the pipeline execution in the failed stage to be retried. Use the GetPipelineState action to retrieve the current pipelineExecutionId of the failed stage
  • rseRetryMode - The scope of the retry attempt. Currently, the only supported value is FAILED_ACTIONS.

data RetryStageExecution Source #

Represents the input of a RetryStageExecution action.

See: retryStageExecution smart constructor.

Instances

Eq RetryStageExecution Source # 
Data RetryStageExecution Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> RetryStageExecution -> c RetryStageExecution #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c RetryStageExecution #

toConstr :: RetryStageExecution -> Constr #

dataTypeOf :: RetryStageExecution -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c RetryStageExecution) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c RetryStageExecution) #

gmapT :: (forall b. Data b => b -> b) -> RetryStageExecution -> RetryStageExecution #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> RetryStageExecution -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> RetryStageExecution -> r #

gmapQ :: (forall d. Data d => d -> u) -> RetryStageExecution -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> RetryStageExecution -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> RetryStageExecution -> m RetryStageExecution #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> RetryStageExecution -> m RetryStageExecution #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> RetryStageExecution -> m RetryStageExecution #

Read RetryStageExecution Source # 
Show RetryStageExecution Source # 
Generic RetryStageExecution Source # 
Hashable RetryStageExecution Source # 
ToJSON RetryStageExecution Source # 
NFData RetryStageExecution Source # 

Methods

rnf :: RetryStageExecution -> () #

AWSRequest RetryStageExecution Source # 
ToHeaders RetryStageExecution Source # 
ToPath RetryStageExecution Source # 
ToQuery RetryStageExecution Source # 
type Rep RetryStageExecution Source # 
type Rep RetryStageExecution = D1 * (MetaData "RetryStageExecution" "Network.AWS.CodePipeline.RetryStageExecution" "amazonka-codepipeline-1.6.0-EK1TXgMpZBH3zXFbRFQIXQ" False) (C1 * (MetaCons "RetryStageExecution'" PrefixI True) ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "_rsePipelineName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text)) (S1 * (MetaSel (Just Symbol "_rseStageName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text))) ((:*:) * (S1 * (MetaSel (Just Symbol "_rsePipelineExecutionId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text)) (S1 * (MetaSel (Just Symbol "_rseRetryMode") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * StageRetryMode)))))
type Rs RetryStageExecution Source # 

Request Lenses

rsePipelineName :: Lens' RetryStageExecution Text Source #

The name of the pipeline that contains the failed stage.

rseStageName :: Lens' RetryStageExecution Text Source #

The name of the failed stage to be retried.

rsePipelineExecutionId :: Lens' RetryStageExecution Text Source #

The ID of the pipeline execution in the failed stage to be retried. Use the GetPipelineState action to retrieve the current pipelineExecutionId of the failed stage

rseRetryMode :: Lens' RetryStageExecution StageRetryMode Source #

The scope of the retry attempt. Currently, the only supported value is FAILED_ACTIONS.

Destructuring the Response

retryStageExecutionResponse Source #

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

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

data RetryStageExecutionResponse Source #

Represents the output of a RetryStageExecution action.

See: retryStageExecutionResponse smart constructor.

Instances

Eq RetryStageExecutionResponse Source # 
Data RetryStageExecutionResponse Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> RetryStageExecutionResponse -> c RetryStageExecutionResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c RetryStageExecutionResponse #

toConstr :: RetryStageExecutionResponse -> Constr #

dataTypeOf :: RetryStageExecutionResponse -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c RetryStageExecutionResponse) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c RetryStageExecutionResponse) #

gmapT :: (forall b. Data b => b -> b) -> RetryStageExecutionResponse -> RetryStageExecutionResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> RetryStageExecutionResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> RetryStageExecutionResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> RetryStageExecutionResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> RetryStageExecutionResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> RetryStageExecutionResponse -> m RetryStageExecutionResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> RetryStageExecutionResponse -> m RetryStageExecutionResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> RetryStageExecutionResponse -> m RetryStageExecutionResponse #

Read RetryStageExecutionResponse Source # 
Show RetryStageExecutionResponse Source # 
Generic RetryStageExecutionResponse Source # 
NFData RetryStageExecutionResponse Source # 
type Rep RetryStageExecutionResponse Source # 
type Rep RetryStageExecutionResponse = D1 * (MetaData "RetryStageExecutionResponse" "Network.AWS.CodePipeline.RetryStageExecution" "amazonka-codepipeline-1.6.0-EK1TXgMpZBH3zXFbRFQIXQ" False) (C1 * (MetaCons "RetryStageExecutionResponse'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_rsersPipelineExecutionId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_rsersResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int))))

Response Lenses

rsersPipelineExecutionId :: Lens' RetryStageExecutionResponse (Maybe Text) Source #

The ID of the current workflow execution in the failed stage.