amazonka-mediaconnect-2.0: Amazon MediaConnect 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.MediaConnect.StartFlow

Description

Starts a flow.

Synopsis

Creating a Request

data StartFlow Source #

See: newStartFlow smart constructor.

Constructors

StartFlow' 

Fields

  • flowArn :: Text

    The ARN of the flow that you want to start.

Instances

Instances details
ToJSON StartFlow Source # 
Instance details

Defined in Amazonka.MediaConnect.StartFlow

ToHeaders StartFlow Source # 
Instance details

Defined in Amazonka.MediaConnect.StartFlow

Methods

toHeaders :: StartFlow -> [Header] #

ToPath StartFlow Source # 
Instance details

Defined in Amazonka.MediaConnect.StartFlow

ToQuery StartFlow Source # 
Instance details

Defined in Amazonka.MediaConnect.StartFlow

AWSRequest StartFlow Source # 
Instance details

Defined in Amazonka.MediaConnect.StartFlow

Associated Types

type AWSResponse StartFlow #

Generic StartFlow Source # 
Instance details

Defined in Amazonka.MediaConnect.StartFlow

Associated Types

type Rep StartFlow :: Type -> Type #

Read StartFlow Source # 
Instance details

Defined in Amazonka.MediaConnect.StartFlow

Show StartFlow Source # 
Instance details

Defined in Amazonka.MediaConnect.StartFlow

NFData StartFlow Source # 
Instance details

Defined in Amazonka.MediaConnect.StartFlow

Methods

rnf :: StartFlow -> () #

Eq StartFlow Source # 
Instance details

Defined in Amazonka.MediaConnect.StartFlow

Hashable StartFlow Source # 
Instance details

Defined in Amazonka.MediaConnect.StartFlow

type AWSResponse StartFlow Source # 
Instance details

Defined in Amazonka.MediaConnect.StartFlow

type Rep StartFlow Source # 
Instance details

Defined in Amazonka.MediaConnect.StartFlow

type Rep StartFlow = D1 ('MetaData "StartFlow" "Amazonka.MediaConnect.StartFlow" "amazonka-mediaconnect-2.0-KNF7B97aPsN1PZ2vBYFgux" 'False) (C1 ('MetaCons "StartFlow'" 'PrefixI 'True) (S1 ('MetaSel ('Just "flowArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newStartFlow Source #

Arguments

:: Text

StartFlow

-> StartFlow 

Create a value of StartFlow 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:

StartFlow, startFlow_flowArn - The ARN of the flow that you want to start.

Request Lenses

startFlow_flowArn :: Lens' StartFlow Text Source #

The ARN of the flow that you want to start.

Destructuring the Response

data StartFlowResponse Source #

See: newStartFlowResponse smart constructor.

Constructors

StartFlowResponse' 

Fields

Instances

Instances details
Generic StartFlowResponse Source # 
Instance details

Defined in Amazonka.MediaConnect.StartFlow

Associated Types

type Rep StartFlowResponse :: Type -> Type #

Read StartFlowResponse Source # 
Instance details

Defined in Amazonka.MediaConnect.StartFlow

Show StartFlowResponse Source # 
Instance details

Defined in Amazonka.MediaConnect.StartFlow

NFData StartFlowResponse Source # 
Instance details

Defined in Amazonka.MediaConnect.StartFlow

Methods

rnf :: StartFlowResponse -> () #

Eq StartFlowResponse Source # 
Instance details

Defined in Amazonka.MediaConnect.StartFlow

type Rep StartFlowResponse Source # 
Instance details

Defined in Amazonka.MediaConnect.StartFlow

type Rep StartFlowResponse = D1 ('MetaData "StartFlowResponse" "Amazonka.MediaConnect.StartFlow" "amazonka-mediaconnect-2.0-KNF7B97aPsN1PZ2vBYFgux" 'False) (C1 ('MetaCons "StartFlowResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "flowArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Status)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newStartFlowResponse Source #

Create a value of StartFlowResponse 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:

StartFlow, startFlowResponse_flowArn - The ARN of the flow that you started.

StartFlowResponse, startFlowResponse_status - The status of the flow when the StartFlow process begins.

$sel:httpStatus:StartFlowResponse', startFlowResponse_httpStatus - The response's http status code.

Response Lenses

startFlowResponse_flowArn :: Lens' StartFlowResponse (Maybe Text) Source #

The ARN of the flow that you started.

startFlowResponse_status :: Lens' StartFlowResponse (Maybe Status) Source #

The status of the flow when the StartFlow process begins.

startFlowResponse_httpStatus :: Lens' StartFlowResponse Int Source #

The response's http status code.