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

Description

Stops a flow.

Synopsis

Creating a Request

data StopFlow Source #

See: newStopFlow smart constructor.

Constructors

StopFlow' 

Fields

  • flowArn :: Text

    The ARN of the flow that you want to stop.

Instances

Instances details
Eq StopFlow Source # 
Instance details

Defined in Amazonka.MediaConnect.StopFlow

Read StopFlow Source # 
Instance details

Defined in Amazonka.MediaConnect.StopFlow

Show StopFlow Source # 
Instance details

Defined in Amazonka.MediaConnect.StopFlow

Generic StopFlow Source # 
Instance details

Defined in Amazonka.MediaConnect.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.MediaConnect.StopFlow

Methods

rnf :: StopFlow -> () #

Hashable StopFlow Source # 
Instance details

Defined in Amazonka.MediaConnect.StopFlow

Methods

hashWithSalt :: Int -> StopFlow -> Int #

hash :: StopFlow -> Int #

ToJSON StopFlow Source # 
Instance details

Defined in Amazonka.MediaConnect.StopFlow

AWSRequest StopFlow Source # 
Instance details

Defined in Amazonka.MediaConnect.StopFlow

Associated Types

type AWSResponse StopFlow #

ToHeaders StopFlow Source # 
Instance details

Defined in Amazonka.MediaConnect.StopFlow

Methods

toHeaders :: StopFlow -> [Header] #

ToPath StopFlow Source # 
Instance details

Defined in Amazonka.MediaConnect.StopFlow

ToQuery StopFlow Source # 
Instance details

Defined in Amazonka.MediaConnect.StopFlow

type Rep StopFlow Source # 
Instance details

Defined in Amazonka.MediaConnect.StopFlow

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

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

Request Lenses

stopFlow_flowArn :: Lens' StopFlow Text Source #

The ARN of the flow that you want to stop.

Destructuring the Response

data StopFlowResponse Source #

See: newStopFlowResponse smart constructor.

Constructors

StopFlowResponse' 

Fields

Instances

Instances details
Eq StopFlowResponse Source # 
Instance details

Defined in Amazonka.MediaConnect.StopFlow

Read StopFlowResponse Source # 
Instance details

Defined in Amazonka.MediaConnect.StopFlow

Show StopFlowResponse Source # 
Instance details

Defined in Amazonka.MediaConnect.StopFlow

Generic StopFlowResponse Source # 
Instance details

Defined in Amazonka.MediaConnect.StopFlow

Associated Types

type Rep StopFlowResponse :: Type -> Type #

NFData StopFlowResponse Source # 
Instance details

Defined in Amazonka.MediaConnect.StopFlow

Methods

rnf :: StopFlowResponse -> () #

type Rep StopFlowResponse Source # 
Instance details

Defined in Amazonka.MediaConnect.StopFlow

type Rep StopFlowResponse = D1 ('MetaData "StopFlowResponse" "Amazonka.MediaConnect.StopFlow" "libZSservicesZSamazonka-mediaconnectZSamazonka-mediaconnect" 'False) (C1 ('MetaCons "StopFlowResponse'" '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))))

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:status:StopFlowResponse', stopFlowResponse_status - The status of the flow when the StopFlow process begins.

$sel:flowArn:StopFlow', stopFlowResponse_flowArn - The ARN of the flow that you stopped.

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

Response Lenses

stopFlowResponse_status :: Lens' StopFlowResponse (Maybe Status) Source #

The status of the flow when the StopFlow process begins.

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

The ARN of the flow that you stopped.

stopFlowResponse_httpStatus :: Lens' StopFlowResponse Int Source #

The response's http status code.