DataPipeline.Client.
deactivate_pipeline
(**kwargs)¶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 also: AWS API Documentation
Request Syntax
response = client.deactivate_pipeline(
pipelineId='string',
cancelActive=True|False
)
[REQUIRED]
The ID of the pipeline.
CANCELED
. If this value is false, the pipeline is deactivated after all running objects finish.dict
Response Syntax
{}
Response Structure
(dict) --
Contains the output of DeactivatePipeline.
Exceptions
DataPipeline.Client.exceptions.PipelineNotFoundException
DataPipeline.Client.exceptions.PipelineDeletedException
DataPipeline.Client.exceptions.InternalServiceError
DataPipeline.Client.exceptions.InvalidRequestException