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

Amazonka.DataPipeline.SetStatus

Description

Requests that the status of the specified physical or logical pipeline objects be updated in the specified pipeline. This update might not occur immediately, but is eventually consistent. The status that can be set depends on the type of object (for example, DataNode or Activity). You cannot perform this operation on FINISHED pipelines and attempting to do so returns InvalidRequestException.

Synopsis

Creating a Request

data SetStatus Source #

Contains the parameters for SetStatus.

See: newSetStatus smart constructor.

Constructors

SetStatus' 

Fields

  • pipelineId :: Text

    The ID of the pipeline that contains the objects.

  • objectIds :: [Text]

    The IDs of the objects. The corresponding objects can be either physical or components, but not a mix of both types.

  • status :: Text

    The status to be set on all the objects specified in objectIds. For components, use PAUSE or RESUME. For instances, use TRY_CANCEL, RERUN, or MARK_FINISHED.

Instances

Instances details
Eq SetStatus Source # 
Instance details

Defined in Amazonka.DataPipeline.SetStatus

Read SetStatus Source # 
Instance details

Defined in Amazonka.DataPipeline.SetStatus

Show SetStatus Source # 
Instance details

Defined in Amazonka.DataPipeline.SetStatus

Generic SetStatus Source # 
Instance details

Defined in Amazonka.DataPipeline.SetStatus

Associated Types

type Rep SetStatus :: Type -> Type #

NFData SetStatus Source # 
Instance details

Defined in Amazonka.DataPipeline.SetStatus

Methods

rnf :: SetStatus -> () #

Hashable SetStatus Source # 
Instance details

Defined in Amazonka.DataPipeline.SetStatus

ToJSON SetStatus Source # 
Instance details

Defined in Amazonka.DataPipeline.SetStatus

AWSRequest SetStatus Source # 
Instance details

Defined in Amazonka.DataPipeline.SetStatus

Associated Types

type AWSResponse SetStatus #

ToHeaders SetStatus Source # 
Instance details

Defined in Amazonka.DataPipeline.SetStatus

Methods

toHeaders :: SetStatus -> [Header] #

ToPath SetStatus Source # 
Instance details

Defined in Amazonka.DataPipeline.SetStatus

ToQuery SetStatus Source # 
Instance details

Defined in Amazonka.DataPipeline.SetStatus

type Rep SetStatus Source # 
Instance details

Defined in Amazonka.DataPipeline.SetStatus

type Rep SetStatus = D1 ('MetaData "SetStatus" "Amazonka.DataPipeline.SetStatus" "libZSservicesZSamazonka-datapipelineZSamazonka-datapipeline" 'False) (C1 ('MetaCons "SetStatus'" 'PrefixI 'True) (S1 ('MetaSel ('Just "pipelineId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "objectIds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Text]) :*: S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse SetStatus Source # 
Instance details

Defined in Amazonka.DataPipeline.SetStatus

newSetStatus Source #

Create a value of SetStatus with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:pipelineId:SetStatus', setStatus_pipelineId - The ID of the pipeline that contains the objects.

$sel:objectIds:SetStatus', setStatus_objectIds - The IDs of the objects. The corresponding objects can be either physical or components, but not a mix of both types.

$sel:status:SetStatus', setStatus_status - The status to be set on all the objects specified in objectIds. For components, use PAUSE or RESUME. For instances, use TRY_CANCEL, RERUN, or MARK_FINISHED.

Request Lenses

setStatus_pipelineId :: Lens' SetStatus Text Source #

The ID of the pipeline that contains the objects.

setStatus_objectIds :: Lens' SetStatus [Text] Source #

The IDs of the objects. The corresponding objects can be either physical or components, but not a mix of both types.

setStatus_status :: Lens' SetStatus Text Source #

The status to be set on all the objects specified in objectIds. For components, use PAUSE or RESUME. For instances, use TRY_CANCEL, RERUN, or MARK_FINISHED.

Destructuring the Response

data SetStatusResponse Source #

See: newSetStatusResponse smart constructor.

Constructors

SetStatusResponse' 

Instances

Instances details
Eq SetStatusResponse Source # 
Instance details

Defined in Amazonka.DataPipeline.SetStatus

Read SetStatusResponse Source # 
Instance details

Defined in Amazonka.DataPipeline.SetStatus

Show SetStatusResponse Source # 
Instance details

Defined in Amazonka.DataPipeline.SetStatus

Generic SetStatusResponse Source # 
Instance details

Defined in Amazonka.DataPipeline.SetStatus

Associated Types

type Rep SetStatusResponse :: Type -> Type #

NFData SetStatusResponse Source # 
Instance details

Defined in Amazonka.DataPipeline.SetStatus

Methods

rnf :: SetStatusResponse -> () #

type Rep SetStatusResponse Source # 
Instance details

Defined in Amazonka.DataPipeline.SetStatus

type Rep SetStatusResponse = D1 ('MetaData "SetStatusResponse" "Amazonka.DataPipeline.SetStatus" "libZSservicesZSamazonka-datapipelineZSamazonka-datapipeline" 'False) (C1 ('MetaCons "SetStatusResponse'" 'PrefixI 'False) (U1 :: Type -> Type))

newSetStatusResponse :: SetStatusResponse Source #

Create a value of SetStatusResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.