libZSservicesZSamazonka-appflowZSamazonka-appflow
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.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
Eq StopFlow Source # 
Instance details

Defined in Amazonka.AppFlow.StopFlow

Read StopFlow Source # 
Instance details

Defined in Amazonka.AppFlow.StopFlow

Show StopFlow Source # 
Instance details

Defined in Amazonka.AppFlow.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 #

NFData StopFlow Source # 
Instance details

Defined in Amazonka.AppFlow.StopFlow

Methods

rnf :: StopFlow -> () #

Hashable StopFlow Source # 
Instance details

Defined in Amazonka.AppFlow.StopFlow

Methods

hashWithSalt :: Int -> StopFlow -> Int #

hash :: StopFlow -> Int #

ToJSON StopFlow Source # 
Instance details

Defined in Amazonka.AppFlow.StopFlow

AWSRequest StopFlow Source # 
Instance details

Defined in Amazonka.AppFlow.StopFlow

Associated Types

type AWSResponse 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

type Rep StopFlow Source # 
Instance details

Defined in Amazonka.AppFlow.StopFlow

type Rep StopFlow = D1 ('MetaData "StopFlow" "Amazonka.AppFlow.StopFlow" "libZSservicesZSamazonka-appflowZSamazonka-appflow" 'False) (C1 ('MetaCons "StopFlow'" 'PrefixI 'True) (S1 ('MetaSel ('Just "flowName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse StopFlow Source # 
Instance details

Defined in Amazonka.AppFlow.StopFlow

newStopFlow Source #

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:

$sel:flowName: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
Eq StopFlowResponse Source # 
Instance details

Defined in Amazonka.AppFlow.StopFlow

Read StopFlowResponse Source # 
Instance details

Defined in Amazonka.AppFlow.StopFlow

Show StopFlowResponse Source # 
Instance details

Defined in Amazonka.AppFlow.StopFlow

Generic StopFlowResponse Source # 
Instance details

Defined in Amazonka.AppFlow.StopFlow

Associated Types

type Rep StopFlowResponse :: Type -> Type #

NFData StopFlowResponse Source # 
Instance details

Defined in Amazonka.AppFlow.StopFlow

Methods

rnf :: StopFlowResponse -> () #

type Rep StopFlowResponse Source # 
Instance details

Defined in Amazonka.AppFlow.StopFlow

type Rep StopFlowResponse = D1 ('MetaData "StopFlowResponse" "Amazonka.AppFlow.StopFlow" "libZSservicesZSamazonka-appflowZSamazonka-appflow" '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:

$sel:flowArn:StopFlowResponse', stopFlowResponse_flowArn - The flow's Amazon Resource Name (ARN).

$sel:flowStatus: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.