Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Prevents artifacts in a pipeline from transitioning to the next stage in the pipeline.
Synopsis
- data DisableStageTransition = DisableStageTransition' {}
- newDisableStageTransition :: Text -> Text -> StageTransitionType -> Text -> DisableStageTransition
- disableStageTransition_pipelineName :: Lens' DisableStageTransition Text
- disableStageTransition_stageName :: Lens' DisableStageTransition Text
- disableStageTransition_transitionType :: Lens' DisableStageTransition StageTransitionType
- disableStageTransition_reason :: Lens' DisableStageTransition Text
- data DisableStageTransitionResponse = DisableStageTransitionResponse' {
- newDisableStageTransitionResponse :: DisableStageTransitionResponse
Creating a Request
data DisableStageTransition Source #
Represents the input of a DisableStageTransition
action.
See: newDisableStageTransition
smart constructor.
DisableStageTransition' | |
|
Instances
newDisableStageTransition Source #
:: Text | |
-> Text | |
-> StageTransitionType | |
-> Text | |
-> DisableStageTransition |
Create a value of DisableStageTransition
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:DisableStageTransition'
, disableStageTransition_pipelineName
- The name of the pipeline in which you want to disable the flow of
artifacts from one stage to another.
$sel:stageName:DisableStageTransition'
, disableStageTransition_stageName
- The name of the stage where you want to disable the inbound or outbound
transition of artifacts.
$sel:transitionType:DisableStageTransition'
, disableStageTransition_transitionType
- Specifies whether artifacts are prevented from transitioning into the
stage and being processed by the actions in that stage (inbound), or
prevented from transitioning from the stage after they have been
processed by the actions in that stage (outbound).
$sel:reason:DisableStageTransition'
, disableStageTransition_reason
- The reason given to the user that a stage is disabled, such as waiting
for manual approval or manual tests. This message is displayed in the
pipeline console UI.
Request Lenses
disableStageTransition_pipelineName :: Lens' DisableStageTransition Text Source #
The name of the pipeline in which you want to disable the flow of artifacts from one stage to another.
disableStageTransition_stageName :: Lens' DisableStageTransition Text Source #
The name of the stage where you want to disable the inbound or outbound transition of artifacts.
disableStageTransition_transitionType :: Lens' DisableStageTransition StageTransitionType Source #
Specifies whether artifacts are prevented from transitioning into the stage and being processed by the actions in that stage (inbound), or prevented from transitioning from the stage after they have been processed by the actions in that stage (outbound).
disableStageTransition_reason :: Lens' DisableStageTransition Text Source #
The reason given to the user that a stage is disabled, such as waiting for manual approval or manual tests. This message is displayed in the pipeline console UI.
Destructuring the Response
data DisableStageTransitionResponse Source #
See: newDisableStageTransitionResponse
smart constructor.
Instances
newDisableStageTransitionResponse :: DisableStageTransitionResponse Source #
Create a value of DisableStageTransitionResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.