amazonka-datapipeline-1.3.4: Amazon Data Pipeline SDK.

Copyright(c) 2013-2015 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.DataPipeline.DeactivatePipeline

Contents

Description

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.

See: AWS API Reference for DeactivatePipeline.

Synopsis

Creating a Request

deactivatePipeline Source

Creates a value of DeactivatePipeline with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

Request Lenses

dCancelActive :: 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.

dPipelineId :: Lens' DeactivatePipeline Text Source

The ID of the pipeline.

Destructuring the Response

deactivatePipelineResponse Source

Creates a value of DeactivatePipelineResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

Response Lenses