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.DeactivatePipeline

Description

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.

Synopsis

Creating a Request

data DeactivatePipeline Source #

Contains the parameters for DeactivatePipeline.

See: newDeactivatePipeline smart constructor.

Constructors

DeactivatePipeline' 

Fields

  • cancelActive :: Maybe Bool

    Indicates whether to cancel any running objects. The default is true, which sets the state of any running objects to CANCELED. If this value is false, the pipeline is deactivated after all running objects finish.

  • pipelineId :: Text

    The ID of the pipeline.

Instances

Instances details
Eq DeactivatePipeline Source # 
Instance details

Defined in Amazonka.DataPipeline.DeactivatePipeline

Read DeactivatePipeline Source # 
Instance details

Defined in Amazonka.DataPipeline.DeactivatePipeline

Show DeactivatePipeline Source # 
Instance details

Defined in Amazonka.DataPipeline.DeactivatePipeline

Generic DeactivatePipeline Source # 
Instance details

Defined in Amazonka.DataPipeline.DeactivatePipeline

Associated Types

type Rep DeactivatePipeline :: Type -> Type #

NFData DeactivatePipeline Source # 
Instance details

Defined in Amazonka.DataPipeline.DeactivatePipeline

Methods

rnf :: DeactivatePipeline -> () #

Hashable DeactivatePipeline Source # 
Instance details

Defined in Amazonka.DataPipeline.DeactivatePipeline

ToJSON DeactivatePipeline Source # 
Instance details

Defined in Amazonka.DataPipeline.DeactivatePipeline

AWSRequest DeactivatePipeline Source # 
Instance details

Defined in Amazonka.DataPipeline.DeactivatePipeline

Associated Types

type AWSResponse DeactivatePipeline #

ToHeaders DeactivatePipeline Source # 
Instance details

Defined in Amazonka.DataPipeline.DeactivatePipeline

ToPath DeactivatePipeline Source # 
Instance details

Defined in Amazonka.DataPipeline.DeactivatePipeline

ToQuery DeactivatePipeline Source # 
Instance details

Defined in Amazonka.DataPipeline.DeactivatePipeline

type Rep DeactivatePipeline Source # 
Instance details

Defined in Amazonka.DataPipeline.DeactivatePipeline

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

Defined in Amazonka.DataPipeline.DeactivatePipeline

newDeactivatePipeline Source #

Create a value of DeactivatePipeline 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:cancelActive:DeactivatePipeline', deactivatePipeline_cancelActive - Indicates whether to cancel any running objects. The default is true, which sets the state of any running objects to CANCELED. If this value is false, the pipeline is deactivated after all running objects finish.

$sel:pipelineId:DeactivatePipeline', deactivatePipeline_pipelineId - The ID of the pipeline.

Request Lenses

deactivatePipeline_cancelActive :: Lens' DeactivatePipeline (Maybe Bool) Source #

Indicates whether to cancel any running objects. The default is true, which sets the state of any running objects to CANCELED. If this value is false, the pipeline is deactivated after all running objects finish.

Destructuring the Response

data DeactivatePipelineResponse Source #

Contains the output of DeactivatePipeline.

See: newDeactivatePipelineResponse smart constructor.

Constructors

DeactivatePipelineResponse' 

Fields

Instances

Instances details
Eq DeactivatePipelineResponse Source # 
Instance details

Defined in Amazonka.DataPipeline.DeactivatePipeline

Read DeactivatePipelineResponse Source # 
Instance details

Defined in Amazonka.DataPipeline.DeactivatePipeline

Show DeactivatePipelineResponse Source # 
Instance details

Defined in Amazonka.DataPipeline.DeactivatePipeline

Generic DeactivatePipelineResponse Source # 
Instance details

Defined in Amazonka.DataPipeline.DeactivatePipeline

Associated Types

type Rep DeactivatePipelineResponse :: Type -> Type #

NFData DeactivatePipelineResponse Source # 
Instance details

Defined in Amazonka.DataPipeline.DeactivatePipeline

type Rep DeactivatePipelineResponse Source # 
Instance details

Defined in Amazonka.DataPipeline.DeactivatePipeline

type Rep DeactivatePipelineResponse = D1 ('MetaData "DeactivatePipelineResponse" "Amazonka.DataPipeline.DeactivatePipeline" "libZSservicesZSamazonka-datapipelineZSamazonka-datapipeline" 'False) (C1 ('MetaCons "DeactivatePipelineResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newDeactivatePipelineResponse Source #

Create a value of DeactivatePipelineResponse 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:httpStatus:DeactivatePipelineResponse', deactivatePipelineResponse_httpStatus - The response's http status code.

Response Lenses