amazonka-appflow-2.0: Amazon Appflow SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.AppFlow.StopFlow

Description

Deactivates the existing flow. For on-demand flows, this operation returns an unsupportedOperationException error message. For schedule and event-triggered flows, this operation deactivates the flow.

Synopsis

Creating a Request

data StopFlow Source #

See: newStopFlow smart constructor.

Constructors

StopFlow' 

Fields

  • flowName :: Text

    The specified name of the flow. Spaces are not allowed. Use underscores (_) or hyphens (-) only.

Instances

Instances details
ToJSON StopFlow Source # 
Instance details

Defined in Amazonka.AppFlow.StopFlow

ToHeaders StopFlow Source # 
Instance details

Defined in Amazonka.AppFlow.StopFlow

Methods

toHeaders :: StopFlow -> [Header] #

ToPath StopFlow Source # 
Instance details

Defined in Amazonka.AppFlow.StopFlow

ToQuery StopFlow Source # 
Instance details

Defined in Amazonka.AppFlow.StopFlow

AWSRequest StopFlow Source # 
Instance details

Defined in Amazonka.AppFlow.StopFlow

Associated Types

type AWSResponse StopFlow #

Generic StopFlow Source # 
Instance details

Defined in Amazonka.AppFlow.StopFlow

Associated Types

type Rep StopFlow :: Type -> Type #

Methods

from :: StopFlow -> Rep StopFlow x #

to :: Rep StopFlow x -> StopFlow #

Read StopFlow Source # 
Instance details

Defined in Amazonka.AppFlow.StopFlow

Show StopFlow Source # 
Instance details

Defined in Amazonka.AppFlow.StopFlow

NFData StopFlow Source # 
Instance details

Defined in Amazonka.AppFlow.StopFlow

Methods

rnf :: StopFlow -> () #

Eq StopFlow Source # 
Instance details

Defined in Amazonka.AppFlow.StopFlow

Hashable StopFlow Source # 
Instance details

Defined in Amazonka.AppFlow.StopFlow

Methods

hashWithSalt :: Int -> StopFlow -> Int #

hash :: StopFlow -> Int #

type AWSResponse StopFlow Source # 
Instance details

Defined in Amazonka.AppFlow.StopFlow

type Rep StopFlow Source # 
Instance details

Defined in Amazonka.AppFlow.StopFlow

type Rep StopFlow = D1 ('MetaData "StopFlow" "Amazonka.AppFlow.StopFlow" "amazonka-appflow-2.0-3aJWKTszi6ZKDtrkFSqVAB" 'False) (C1 ('MetaCons "StopFlow'" 'PrefixI 'True) (S1 ('MetaSel ('Just "flowName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newStopFlow Source #

Arguments

:: Text

StopFlow

-> StopFlow 

Create a value of StopFlow 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:

StopFlow, stopFlow_flowName - The specified name of the flow. Spaces are not allowed. Use underscores (_) or hyphens (-) only.

Request Lenses

stopFlow_flowName :: Lens' StopFlow Text Source #

The specified name of the flow. Spaces are not allowed. Use underscores (_) or hyphens (-) only.

Destructuring the Response

data StopFlowResponse Source #

See: newStopFlowResponse smart constructor.

Constructors

StopFlowResponse' 

Fields

Instances

Instances details
Generic StopFlowResponse Source # 
Instance details

Defined in Amazonka.AppFlow.StopFlow

Associated Types

type Rep StopFlowResponse :: Type -> Type #

Read StopFlowResponse Source # 
Instance details

Defined in Amazonka.AppFlow.StopFlow

Show StopFlowResponse Source # 
Instance details

Defined in Amazonka.AppFlow.StopFlow

NFData StopFlowResponse Source # 
Instance details

Defined in Amazonka.AppFlow.StopFlow

Methods

rnf :: StopFlowResponse -> () #

Eq StopFlowResponse Source # 
Instance details

Defined in Amazonka.AppFlow.StopFlow

type Rep StopFlowResponse Source # 
Instance details

Defined in Amazonka.AppFlow.StopFlow

type Rep StopFlowResponse = D1 ('MetaData "StopFlowResponse" "Amazonka.AppFlow.StopFlow" "amazonka-appflow-2.0-3aJWKTszi6ZKDtrkFSqVAB" 'False) (C1 ('MetaCons "StopFlowResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "flowArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "flowStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe FlowStatus)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newStopFlowResponse Source #

Create a value of StopFlowResponse 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:

StopFlowResponse, stopFlowResponse_flowArn - The flow's Amazon Resource Name (ARN).

StopFlowResponse, stopFlowResponse_flowStatus - Indicates the current status of the flow.

$sel:httpStatus:StopFlowResponse', stopFlowResponse_httpStatus - The response's http status code.

Response Lenses

stopFlowResponse_flowArn :: Lens' StopFlowResponse (Maybe Text) Source #

The flow's Amazon Resource Name (ARN).

stopFlowResponse_flowStatus :: Lens' StopFlowResponse (Maybe FlowStatus) Source #

Indicates the current status of the flow.

stopFlowResponse_httpStatus :: Lens' StopFlowResponse Int Source #

The response's http status code.