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

Description

Stops the specified pipeline execution. You choose to either stop the pipeline execution by completing in-progress actions without starting subsequent actions, or by abandoning in-progress actions. While completing or abandoning in-progress actions, the pipeline execution is in a Stopping state. After all in-progress actions are completed or abandoned, the pipeline execution is in a Stopped state.

Synopsis

Creating a Request

data StopPipelineExecution Source #

See: newStopPipelineExecution smart constructor.

Constructors

StopPipelineExecution' 

Fields

  • abandon :: Maybe Bool

    Use this option to stop the pipeline execution by abandoning, rather than finishing, in-progress actions.

    This option can lead to failed or out-of-sequence tasks.

  • reason :: Maybe Text

    Use this option to enter comments, such as the reason the pipeline was stopped.

  • pipelineName :: Text

    The name of the pipeline to stop.

  • pipelineExecutionId :: Text

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

Instances

Instances details
Eq StopPipelineExecution Source # 
Instance details

Defined in Amazonka.CodePipeline.StopPipelineExecution

Read StopPipelineExecution Source # 
Instance details

Defined in Amazonka.CodePipeline.StopPipelineExecution

Show StopPipelineExecution Source # 
Instance details

Defined in Amazonka.CodePipeline.StopPipelineExecution

Generic StopPipelineExecution Source # 
Instance details

Defined in Amazonka.CodePipeline.StopPipelineExecution

Associated Types

type Rep StopPipelineExecution :: Type -> Type #

NFData StopPipelineExecution Source # 
Instance details

Defined in Amazonka.CodePipeline.StopPipelineExecution

Methods

rnf :: StopPipelineExecution -> () #

Hashable StopPipelineExecution Source # 
Instance details

Defined in Amazonka.CodePipeline.StopPipelineExecution

ToJSON StopPipelineExecution Source # 
Instance details

Defined in Amazonka.CodePipeline.StopPipelineExecution

AWSRequest StopPipelineExecution Source # 
Instance details

Defined in Amazonka.CodePipeline.StopPipelineExecution

Associated Types

type AWSResponse StopPipelineExecution #

ToHeaders StopPipelineExecution Source # 
Instance details

Defined in Amazonka.CodePipeline.StopPipelineExecution

ToPath StopPipelineExecution Source # 
Instance details

Defined in Amazonka.CodePipeline.StopPipelineExecution

ToQuery StopPipelineExecution Source # 
Instance details

Defined in Amazonka.CodePipeline.StopPipelineExecution

type Rep StopPipelineExecution Source # 
Instance details

Defined in Amazonka.CodePipeline.StopPipelineExecution

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

Defined in Amazonka.CodePipeline.StopPipelineExecution

newStopPipelineExecution Source #

Create a value of StopPipelineExecution 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:abandon:StopPipelineExecution', stopPipelineExecution_abandon - Use this option to stop the pipeline execution by abandoning, rather than finishing, in-progress actions.

This option can lead to failed or out-of-sequence tasks.

$sel:reason:StopPipelineExecution', stopPipelineExecution_reason - Use this option to enter comments, such as the reason the pipeline was stopped.

$sel:pipelineName:StopPipelineExecution', stopPipelineExecution_pipelineName - The name of the pipeline to stop.

$sel:pipelineExecutionId:StopPipelineExecution', stopPipelineExecution_pipelineExecutionId - The ID of the pipeline execution to be stopped in the current stage. Use the GetPipelineState action to retrieve the current pipelineExecutionId.

Request Lenses

stopPipelineExecution_abandon :: Lens' StopPipelineExecution (Maybe Bool) Source #

Use this option to stop the pipeline execution by abandoning, rather than finishing, in-progress actions.

This option can lead to failed or out-of-sequence tasks.

stopPipelineExecution_reason :: Lens' StopPipelineExecution (Maybe Text) Source #

Use this option to enter comments, such as the reason the pipeline was stopped.

stopPipelineExecution_pipelineExecutionId :: Lens' StopPipelineExecution Text Source #

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

Destructuring the Response

data StopPipelineExecutionResponse Source #

See: newStopPipelineExecutionResponse smart constructor.

Constructors

StopPipelineExecutionResponse' 

Fields

Instances

Instances details
Eq StopPipelineExecutionResponse Source # 
Instance details

Defined in Amazonka.CodePipeline.StopPipelineExecution

Read StopPipelineExecutionResponse Source # 
Instance details

Defined in Amazonka.CodePipeline.StopPipelineExecution

Show StopPipelineExecutionResponse Source # 
Instance details

Defined in Amazonka.CodePipeline.StopPipelineExecution

Generic StopPipelineExecutionResponse Source # 
Instance details

Defined in Amazonka.CodePipeline.StopPipelineExecution

Associated Types

type Rep StopPipelineExecutionResponse :: Type -> Type #

NFData StopPipelineExecutionResponse Source # 
Instance details

Defined in Amazonka.CodePipeline.StopPipelineExecution

type Rep StopPipelineExecutionResponse Source # 
Instance details

Defined in Amazonka.CodePipeline.StopPipelineExecution

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

newStopPipelineExecutionResponse Source #

Create a value of StopPipelineExecutionResponse 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:StopPipelineExecution', stopPipelineExecutionResponse_pipelineExecutionId - The unique system-generated ID of the pipeline execution that was stopped.

$sel:httpStatus:StopPipelineExecutionResponse', stopPipelineExecutionResponse_httpStatus - The response's http status code.

Response Lenses

stopPipelineExecutionResponse_pipelineExecutionId :: Lens' StopPipelineExecutionResponse (Maybe Text) Source #

The unique system-generated ID of the pipeline execution that was stopped.