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

Description

Resumes the pipeline execution by retrying the last failed actions in a stage. You can retry a stage immediately if any of the actions in the stage fail. When you retry, all actions that are still in progress continue working, and failed actions are triggered again.

Synopsis

Creating a Request

data RetryStageExecution Source #

Represents the input of a RetryStageExecution action.

See: newRetryStageExecution smart constructor.

Constructors

RetryStageExecution' 

Fields

  • pipelineName :: Text

    The name of the pipeline that contains the failed stage.

  • stageName :: Text

    The name of the failed stage to be retried.

  • pipelineExecutionId :: Text

    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

  • retryMode :: StageRetryMode

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

Instances

Instances details
Eq RetryStageExecution Source # 
Instance details

Defined in Amazonka.CodePipeline.RetryStageExecution

Read RetryStageExecution Source # 
Instance details

Defined in Amazonka.CodePipeline.RetryStageExecution

Show RetryStageExecution Source # 
Instance details

Defined in Amazonka.CodePipeline.RetryStageExecution

Generic RetryStageExecution Source # 
Instance details

Defined in Amazonka.CodePipeline.RetryStageExecution

Associated Types

type Rep RetryStageExecution :: Type -> Type #

NFData RetryStageExecution Source # 
Instance details

Defined in Amazonka.CodePipeline.RetryStageExecution

Methods

rnf :: RetryStageExecution -> () #

Hashable RetryStageExecution Source # 
Instance details

Defined in Amazonka.CodePipeline.RetryStageExecution

ToJSON RetryStageExecution Source # 
Instance details

Defined in Amazonka.CodePipeline.RetryStageExecution

AWSRequest RetryStageExecution Source # 
Instance details

Defined in Amazonka.CodePipeline.RetryStageExecution

Associated Types

type AWSResponse RetryStageExecution #

ToHeaders RetryStageExecution Source # 
Instance details

Defined in Amazonka.CodePipeline.RetryStageExecution

ToPath RetryStageExecution Source # 
Instance details

Defined in Amazonka.CodePipeline.RetryStageExecution

ToQuery RetryStageExecution Source # 
Instance details

Defined in Amazonka.CodePipeline.RetryStageExecution

type Rep RetryStageExecution Source # 
Instance details

Defined in Amazonka.CodePipeline.RetryStageExecution

type Rep RetryStageExecution = D1 ('MetaData "RetryStageExecution" "Amazonka.CodePipeline.RetryStageExecution" "libZSservicesZSamazonka-codepipelineZSamazonka-codepipeline" 'False) (C1 ('MetaCons "RetryStageExecution'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "pipelineName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "stageName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "pipelineExecutionId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "retryMode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 StageRetryMode))))
type AWSResponse RetryStageExecution Source # 
Instance details

Defined in Amazonka.CodePipeline.RetryStageExecution

newRetryStageExecution Source #

Create a value of RetryStageExecution 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:pipelineName:RetryStageExecution', retryStageExecution_pipelineName - The name of the pipeline that contains the failed stage.

$sel:stageName:RetryStageExecution', retryStageExecution_stageName - The name of the failed stage to be retried.

$sel:pipelineExecutionId:RetryStageExecution', retryStageExecution_pipelineExecutionId - 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

$sel:retryMode:RetryStageExecution', retryStageExecution_retryMode - The scope of the retry attempt. Currently, the only supported value is FAILED_ACTIONS.

Request Lenses

retryStageExecution_pipelineName :: Lens' RetryStageExecution Text Source #

The name of the pipeline that contains the failed stage.

retryStageExecution_stageName :: Lens' RetryStageExecution Text Source #

The name of the failed stage to be retried.

retryStageExecution_pipelineExecutionId :: 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

retryStageExecution_retryMode :: Lens' RetryStageExecution StageRetryMode Source #

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

Destructuring the Response

data RetryStageExecutionResponse Source #

Represents the output of a RetryStageExecution action.

See: newRetryStageExecutionResponse smart constructor.

Constructors

RetryStageExecutionResponse' 

Fields

Instances

Instances details
Eq RetryStageExecutionResponse Source # 
Instance details

Defined in Amazonka.CodePipeline.RetryStageExecution

Read RetryStageExecutionResponse Source # 
Instance details

Defined in Amazonka.CodePipeline.RetryStageExecution

Show RetryStageExecutionResponse Source # 
Instance details

Defined in Amazonka.CodePipeline.RetryStageExecution

Generic RetryStageExecutionResponse Source # 
Instance details

Defined in Amazonka.CodePipeline.RetryStageExecution

Associated Types

type Rep RetryStageExecutionResponse :: Type -> Type #

NFData RetryStageExecutionResponse Source # 
Instance details

Defined in Amazonka.CodePipeline.RetryStageExecution

type Rep RetryStageExecutionResponse Source # 
Instance details

Defined in Amazonka.CodePipeline.RetryStageExecution

type Rep RetryStageExecutionResponse = D1 ('MetaData "RetryStageExecutionResponse" "Amazonka.CodePipeline.RetryStageExecution" "libZSservicesZSamazonka-codepipelineZSamazonka-codepipeline" 'False) (C1 ('MetaCons "RetryStageExecutionResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "pipelineExecutionId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newRetryStageExecutionResponse Source #

Create a value of RetryStageExecutionResponse 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:pipelineExecutionId:RetryStageExecution', retryStageExecutionResponse_pipelineExecutionId - The ID of the current workflow execution in the failed stage.

$sel:httpStatus:RetryStageExecutionResponse', retryStageExecutionResponse_httpStatus - The response's http status code.

Response Lenses

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

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