Safe Haskell | None |
---|---|
Language | Haskell2010 |
Requests that the status of an array of physical or logical pipeline objects be updated in the pipeline. This update may not occur immediately, but is eventually consistent. The status that can be set depends on the type of object, e.g. DataNode or Activity. You cannot perform this operation on FINISHED pipelines and attempting to do so will return an InvalidRequestException.
http://docs.aws.amazon.com/datapipeline/latest/APIReference/API_SetStatus.html
- data SetStatus
- setStatus :: Text -> Text -> SetStatus
- ssObjectIds :: Lens' SetStatus [Text]
- ssPipelineId :: Lens' SetStatus Text
- ssStatus :: Lens' SetStatus Text
- data SetStatusResponse
- setStatusResponse :: SetStatusResponse
Request
Request constructor
SetStatus
constructor.
The fields accessible through corresponding lenses are:
ssObjectIds
::
[Text
]ssPipelineId
::
Text
ssStatus
::
Text
Request lenses
ssObjectIds :: Lens' SetStatus [Text] Source
Identifies an array of objects. The corresponding objects can be either physical or components, but not a mix of both types.
ssPipelineId :: Lens' SetStatus Text Source
Identifies the pipeline that contains the objects.
ssStatus :: Lens' SetStatus Text Source
Specifies the status to be set on all the objects in objectIds
. For
components, this can be either PAUSE
or RESUME
. For instances, this can be
either CANCEL
, RERUN
, or MARK_FINISHED
.
Response
data SetStatusResponse Source
Response constructor
setStatusResponse :: SetStatusResponse Source
SetStatusResponse
constructor.