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.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
Eq DeleteFlow Source # 
Instance details

Defined in Amazonka.AppFlow.DeleteFlow

Read DeleteFlow Source # 
Instance details

Defined in Amazonka.AppFlow.DeleteFlow

Show DeleteFlow Source # 
Instance details

Defined in Amazonka.AppFlow.DeleteFlow

Generic DeleteFlow Source # 
Instance details

Defined in Amazonka.AppFlow.DeleteFlow

Associated Types

type Rep DeleteFlow :: Type -> Type #

NFData DeleteFlow Source # 
Instance details

Defined in Amazonka.AppFlow.DeleteFlow

Methods

rnf :: DeleteFlow -> () #

Hashable DeleteFlow Source # 
Instance details

Defined in Amazonka.AppFlow.DeleteFlow

ToJSON DeleteFlow Source # 
Instance details

Defined in Amazonka.AppFlow.DeleteFlow

AWSRequest DeleteFlow Source # 
Instance details

Defined in Amazonka.AppFlow.DeleteFlow

Associated Types

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

type Rep DeleteFlow Source # 
Instance details

Defined in Amazonka.AppFlow.DeleteFlow

type Rep DeleteFlow = D1 ('MetaData "DeleteFlow" "Amazonka.AppFlow.DeleteFlow" "libZSservicesZSamazonka-appflowZSamazonka-appflow" '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)))
type AWSResponse DeleteFlow Source # 
Instance details

Defined in Amazonka.AppFlow.DeleteFlow

newDeleteFlow Source #

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.

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

Defined in Amazonka.AppFlow.DeleteFlow

Read DeleteFlowResponse Source # 
Instance details

Defined in Amazonka.AppFlow.DeleteFlow

Show DeleteFlowResponse Source # 
Instance details

Defined in Amazonka.AppFlow.DeleteFlow

Generic DeleteFlowResponse Source # 
Instance details

Defined in Amazonka.AppFlow.DeleteFlow

Associated Types

type Rep DeleteFlowResponse :: Type -> Type #

NFData DeleteFlowResponse Source # 
Instance details

Defined in Amazonka.AppFlow.DeleteFlow

Methods

rnf :: DeleteFlowResponse -> () #

type Rep DeleteFlowResponse Source # 
Instance details

Defined in Amazonka.AppFlow.DeleteFlow

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