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 |
Deactivates the specified running pipeline. The pipeline is set to the
DEACTIVATING
state until the deactivation process completes.
To resume a deactivated pipeline, use ActivatePipeline. By default, the pipeline resumes from the last completed execution. Optionally, you can specify the date and time to resume the pipeline.
Synopsis
- data DeactivatePipeline = DeactivatePipeline' {
- cancelActive :: Maybe Bool
- pipelineId :: Text
- newDeactivatePipeline :: Text -> DeactivatePipeline
- deactivatePipeline_cancelActive :: Lens' DeactivatePipeline (Maybe Bool)
- deactivatePipeline_pipelineId :: Lens' DeactivatePipeline Text
- data DeactivatePipelineResponse = DeactivatePipelineResponse' {
- httpStatus :: Int
- newDeactivatePipelineResponse :: Int -> DeactivatePipelineResponse
- deactivatePipelineResponse_httpStatus :: Lens' DeactivatePipelineResponse Int
Creating a Request
data DeactivatePipeline Source #
Contains the parameters for DeactivatePipeline.
See: newDeactivatePipeline
smart constructor.
DeactivatePipeline' | |
|
Instances
newDeactivatePipeline Source #
Create a value of DeactivatePipeline
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:cancelActive:DeactivatePipeline'
, deactivatePipeline_cancelActive
- Indicates whether to cancel any running objects. The default is true,
which sets the state of any running objects to CANCELED
. If this value
is false, the pipeline is deactivated after all running objects finish.
$sel:pipelineId:DeactivatePipeline'
, deactivatePipeline_pipelineId
- The ID of the pipeline.
Request Lenses
deactivatePipeline_cancelActive :: Lens' DeactivatePipeline (Maybe Bool) Source #
Indicates whether to cancel any running objects. The default is true,
which sets the state of any running objects to CANCELED
. If this value
is false, the pipeline is deactivated after all running objects finish.
deactivatePipeline_pipelineId :: Lens' DeactivatePipeline Text Source #
The ID of the pipeline.
Destructuring the Response
data DeactivatePipelineResponse Source #
Contains the output of DeactivatePipeline.
See: newDeactivatePipelineResponse
smart constructor.
DeactivatePipelineResponse' | |
|
Instances
newDeactivatePipelineResponse Source #
Create a value of DeactivatePipelineResponse
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:httpStatus:DeactivatePipelineResponse'
, deactivatePipelineResponse_httpStatus
- The response's http status code.
Response Lenses
deactivatePipelineResponse_httpStatus :: Lens' DeactivatePipelineResponse Int Source #
The response's http status code.