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

Description

Enables your application to delete an existing flow. Before deleting the flow, Amazon AppFlow validates the request by checking the flow configuration and status. You can delete flows one at a time.

Synopsis

Creating a Request

data DeleteFlow Source #

See: newDeleteFlow smart constructor.

Constructors

DeleteFlow' 

Fields

  • forceDelete :: Maybe Bool

    Indicates whether Amazon AppFlow should delete the flow, even if it is currently in use.

  • flowName :: Text

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

Instances

Instances details
ToJSON DeleteFlow Source # 
Instance details

Defined in Amazonka.AppFlow.DeleteFlow

ToHeaders DeleteFlow Source # 
Instance details

Defined in Amazonka.AppFlow.DeleteFlow

Methods

toHeaders :: DeleteFlow -> [Header] #

ToPath DeleteFlow Source # 
Instance details

Defined in Amazonka.AppFlow.DeleteFlow

ToQuery DeleteFlow Source # 
Instance details

Defined in Amazonka.AppFlow.DeleteFlow

AWSRequest DeleteFlow Source # 
Instance details

Defined in Amazonka.AppFlow.DeleteFlow

Associated Types

type AWSResponse DeleteFlow #

Generic DeleteFlow Source # 
Instance details

Defined in Amazonka.AppFlow.DeleteFlow

Associated Types

type Rep DeleteFlow :: Type -> Type #

Read DeleteFlow Source # 
Instance details

Defined in Amazonka.AppFlow.DeleteFlow

Show DeleteFlow Source # 
Instance details

Defined in Amazonka.AppFlow.DeleteFlow

NFData DeleteFlow Source # 
Instance details

Defined in Amazonka.AppFlow.DeleteFlow

Methods

rnf :: DeleteFlow -> () #

Eq DeleteFlow Source # 
Instance details

Defined in Amazonka.AppFlow.DeleteFlow

Hashable DeleteFlow Source # 
Instance details

Defined in Amazonka.AppFlow.DeleteFlow

type AWSResponse DeleteFlow Source # 
Instance details

Defined in Amazonka.AppFlow.DeleteFlow

type Rep DeleteFlow Source # 
Instance details

Defined in Amazonka.AppFlow.DeleteFlow

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

newDeleteFlow Source #

Arguments

:: Text

DeleteFlow

-> DeleteFlow 

Create a value of DeleteFlow 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:forceDelete:DeleteFlow', deleteFlow_forceDelete - Indicates whether Amazon AppFlow should delete the flow, even if it is currently in use.

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

Request Lenses

deleteFlow_forceDelete :: Lens' DeleteFlow (Maybe Bool) Source #

Indicates whether Amazon AppFlow should delete the flow, even if it is currently in use.

deleteFlow_flowName :: Lens' DeleteFlow Text Source #

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

Destructuring the Response

data DeleteFlowResponse Source #

See: newDeleteFlowResponse smart constructor.

Constructors

DeleteFlowResponse' 

Fields

Instances

Instances details
Generic DeleteFlowResponse Source # 
Instance details

Defined in Amazonka.AppFlow.DeleteFlow

Associated Types

type Rep DeleteFlowResponse :: Type -> Type #

Read DeleteFlowResponse Source # 
Instance details

Defined in Amazonka.AppFlow.DeleteFlow

Show DeleteFlowResponse Source # 
Instance details

Defined in Amazonka.AppFlow.DeleteFlow

NFData DeleteFlowResponse Source # 
Instance details

Defined in Amazonka.AppFlow.DeleteFlow

Methods

rnf :: DeleteFlowResponse -> () #

Eq DeleteFlowResponse Source # 
Instance details

Defined in Amazonka.AppFlow.DeleteFlow

type Rep DeleteFlowResponse Source # 
Instance details

Defined in Amazonka.AppFlow.DeleteFlow

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

newDeleteFlowResponse Source #

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

Response Lenses