amazonka-datapipeline-0.3.0: Amazon Data Pipeline SDK.

Safe HaskellNone
LanguageHaskell2010

Network.AWS.DataPipeline.SetStatus

Contents

Description

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

Synopsis

Request

Request constructor

setStatus Source

SetStatus constructor.

The fields accessible through corresponding lenses are:

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

Response constructor