libZSservicesZSamazonka-mediaconnectZSamazonka-mediaconnect
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.MediaConnect.DeleteFlow

Description

Deletes a flow. Before you can delete a flow, you must stop the flow.

Synopsis

Creating a Request

data DeleteFlow Source #

See: newDeleteFlow smart constructor.

Constructors

DeleteFlow' 

Fields

  • flowArn :: Text

    The ARN of the flow that you want to delete.

Instances

Instances details
Eq DeleteFlow Source # 
Instance details

Defined in Amazonka.MediaConnect.DeleteFlow

Read DeleteFlow Source # 
Instance details

Defined in Amazonka.MediaConnect.DeleteFlow

Show DeleteFlow Source # 
Instance details

Defined in Amazonka.MediaConnect.DeleteFlow

Generic DeleteFlow Source # 
Instance details

Defined in Amazonka.MediaConnect.DeleteFlow

Associated Types

type Rep DeleteFlow :: Type -> Type #

NFData DeleteFlow Source # 
Instance details

Defined in Amazonka.MediaConnect.DeleteFlow

Methods

rnf :: DeleteFlow -> () #

Hashable DeleteFlow Source # 
Instance details

Defined in Amazonka.MediaConnect.DeleteFlow

AWSRequest DeleteFlow Source # 
Instance details

Defined in Amazonka.MediaConnect.DeleteFlow

Associated Types

type AWSResponse DeleteFlow #

ToHeaders DeleteFlow Source # 
Instance details

Defined in Amazonka.MediaConnect.DeleteFlow

Methods

toHeaders :: DeleteFlow -> [Header] #

ToPath DeleteFlow Source # 
Instance details

Defined in Amazonka.MediaConnect.DeleteFlow

ToQuery DeleteFlow Source # 
Instance details

Defined in Amazonka.MediaConnect.DeleteFlow

type Rep DeleteFlow Source # 
Instance details

Defined in Amazonka.MediaConnect.DeleteFlow

type Rep DeleteFlow = D1 ('MetaData "DeleteFlow" "Amazonka.MediaConnect.DeleteFlow" "libZSservicesZSamazonka-mediaconnectZSamazonka-mediaconnect" 'False) (C1 ('MetaCons "DeleteFlow'" 'PrefixI 'True) (S1 ('MetaSel ('Just "flowArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse DeleteFlow Source # 
Instance details

Defined in Amazonka.MediaConnect.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:flowArn:DeleteFlow', deleteFlow_flowArn - The ARN of the flow that you want to delete.

Request Lenses

deleteFlow_flowArn :: Lens' DeleteFlow Text Source #

The ARN of the flow that you want to delete.

Destructuring the Response

data DeleteFlowResponse Source #

See: newDeleteFlowResponse smart constructor.

Constructors

DeleteFlowResponse' 

Fields

Instances

Instances details
Eq DeleteFlowResponse Source # 
Instance details

Defined in Amazonka.MediaConnect.DeleteFlow

Read DeleteFlowResponse Source # 
Instance details

Defined in Amazonka.MediaConnect.DeleteFlow

Show DeleteFlowResponse Source # 
Instance details

Defined in Amazonka.MediaConnect.DeleteFlow

Generic DeleteFlowResponse Source # 
Instance details

Defined in Amazonka.MediaConnect.DeleteFlow

Associated Types

type Rep DeleteFlowResponse :: Type -> Type #

NFData DeleteFlowResponse Source # 
Instance details

Defined in Amazonka.MediaConnect.DeleteFlow

Methods

rnf :: DeleteFlowResponse -> () #

type Rep DeleteFlowResponse Source # 
Instance details

Defined in Amazonka.MediaConnect.DeleteFlow

type Rep DeleteFlowResponse = D1 ('MetaData "DeleteFlowResponse" "Amazonka.MediaConnect.DeleteFlow" "libZSservicesZSamazonka-mediaconnectZSamazonka-mediaconnect" 'False) (C1 ('MetaCons "DeleteFlowResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Status)) :*: (S1 ('MetaSel ('Just "flowArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: 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:status:DeleteFlowResponse', deleteFlowResponse_status - The status of the flow when the DeleteFlow process begins.

$sel:flowArn:DeleteFlow', deleteFlowResponse_flowArn - The ARN of the flow that was deleted.

$sel:httpStatus:DeleteFlowResponse', deleteFlowResponse_httpStatus - The response's http status code.

Response Lenses

deleteFlowResponse_status :: Lens' DeleteFlowResponse (Maybe Status) Source #

The status of the flow when the DeleteFlow process begins.

deleteFlowResponse_flowArn :: Lens' DeleteFlowResponse (Maybe Text) Source #

The ARN of the flow that was deleted.