amazonka-codepipeline-1.6.1: 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 # 
Instance details

Defined in Network.AWS.CodePipeline.RetryStageExecution

Data RetryStageExecution Source # 
Instance details

Defined in Network.AWS.CodePipeline.RetryStageExecution

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 # 
Instance details

Defined in Network.AWS.CodePipeline.RetryStageExecution

Show RetryStageExecution Source # 
Instance details

Defined in Network.AWS.CodePipeline.RetryStageExecution

Generic RetryStageExecution Source # 
Instance details

Defined in Network.AWS.CodePipeline.RetryStageExecution

Associated Types

type Rep RetryStageExecution :: Type -> Type #

Hashable RetryStageExecution Source # 
Instance details

Defined in Network.AWS.CodePipeline.RetryStageExecution

ToJSON RetryStageExecution Source # 
Instance details

Defined in Network.AWS.CodePipeline.RetryStageExecution

AWSRequest RetryStageExecution Source # 
Instance details

Defined in Network.AWS.CodePipeline.RetryStageExecution

Associated Types

type Rs RetryStageExecution :: Type #

ToHeaders RetryStageExecution Source # 
Instance details

Defined in Network.AWS.CodePipeline.RetryStageExecution

ToPath RetryStageExecution Source # 
Instance details

Defined in Network.AWS.CodePipeline.RetryStageExecution

ToQuery RetryStageExecution Source # 
Instance details

Defined in Network.AWS.CodePipeline.RetryStageExecution

NFData RetryStageExecution Source # 
Instance details

Defined in Network.AWS.CodePipeline.RetryStageExecution

Methods

rnf :: RetryStageExecution -> () #

type Rep RetryStageExecution Source # 
Instance details

Defined in Network.AWS.CodePipeline.RetryStageExecution

type Rep RetryStageExecution = D1 (MetaData "RetryStageExecution" "Network.AWS.CodePipeline.RetryStageExecution" "amazonka-codepipeline-1.6.1-F3QDNRTP6GQJdBGUcFnM9u" False) (C1 (MetaCons "RetryStageExecution'" PrefixI True) ((S1 (MetaSel (Just "_rsePipelineName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_rseStageName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) :*: (S1 (MetaSel (Just "_rsePipelineExecutionId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_rseRetryMode") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 StageRetryMode))))
type Rs RetryStageExecution Source # 
Instance details

Defined in Network.AWS.CodePipeline.RetryStageExecution

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 # 
Instance details

Defined in Network.AWS.CodePipeline.RetryStageExecution

Data RetryStageExecutionResponse Source # 
Instance details

Defined in Network.AWS.CodePipeline.RetryStageExecution

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 # 
Instance details

Defined in Network.AWS.CodePipeline.RetryStageExecution

Show RetryStageExecutionResponse Source # 
Instance details

Defined in Network.AWS.CodePipeline.RetryStageExecution

Generic RetryStageExecutionResponse Source # 
Instance details

Defined in Network.AWS.CodePipeline.RetryStageExecution

Associated Types

type Rep RetryStageExecutionResponse :: Type -> Type #

NFData RetryStageExecutionResponse Source # 
Instance details

Defined in Network.AWS.CodePipeline.RetryStageExecution

type Rep RetryStageExecutionResponse Source # 
Instance details

Defined in Network.AWS.CodePipeline.RetryStageExecution

type Rep RetryStageExecutionResponse = D1 (MetaData "RetryStageExecutionResponse" "Network.AWS.CodePipeline.RetryStageExecution" "amazonka-codepipeline-1.6.1-F3QDNRTP6GQJdBGUcFnM9u" False) (C1 (MetaCons "RetryStageExecutionResponse'" PrefixI True) (S1 (MetaSel (Just "_rsersPipelineExecutionId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_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.