Copyright | (c) 2013-2015 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Network.AWS.DataPipeline.ActivatePipeline
Description
Validates the specified pipeline and starts processing pipeline tasks. If the pipeline does not pass validation, activation fails.
If you need to pause the pipeline to investigate an issue with a component, such as a data source or script, call DeactivatePipeline.
To activate a finished pipeline, modify the end date for the pipeline and then activate it.
See: AWS API Reference for ActivatePipeline.
- activatePipeline :: Text -> ActivatePipeline
- data ActivatePipeline
- apStartTimestamp :: Lens' ActivatePipeline (Maybe UTCTime)
- apParameterValues :: Lens' ActivatePipeline [ParameterValue]
- apPipelineId :: Lens' ActivatePipeline Text
- activatePipelineResponse :: Int -> ActivatePipelineResponse
- data ActivatePipelineResponse
- aprsStatus :: Lens' ActivatePipelineResponse Int
Creating a Request
Arguments
:: Text | |
-> ActivatePipeline |
Creates a value of ActivatePipeline
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ActivatePipeline Source
Contains the parameters for ActivatePipeline.
See: activatePipeline
smart constructor.
Instances
Request Lenses
apStartTimestamp :: Lens' ActivatePipeline (Maybe UTCTime) Source
The date and time to resume the pipeline. By default, the pipeline resumes from the last completed execution.
apParameterValues :: Lens' ActivatePipeline [ParameterValue] Source
A list of parameter values to pass to the pipeline at activation.
apPipelineId :: Lens' ActivatePipeline Text Source
The ID of the pipeline.
Destructuring the Response
activatePipelineResponse Source
Arguments
:: Int | |
-> ActivatePipelineResponse |
Creates a value of ActivatePipelineResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ActivatePipelineResponse Source
Contains the output of ActivatePipeline.
See: activatePipelineResponse
smart constructor.
Response Lenses
aprsStatus :: Lens' ActivatePipelineResponse Int Source
The response status code.