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

Defined in Amazonka.MediaConnect.StartFlow

Read StartFlow Source # 
Instance details

Defined in Amazonka.MediaConnect.StartFlow

Show StartFlow Source # 
Instance details

Defined in Amazonka.MediaConnect.StartFlow

Generic StartFlow Source # 
Instance details

Defined in Amazonka.MediaConnect.StartFlow

Associated Types

type Rep StartFlow :: Type -> Type #

NFData StartFlow Source # 
Instance details

Defined in Amazonka.MediaConnect.StartFlow

Methods

rnf :: StartFlow -> () #

Hashable StartFlow Source # 
Instance details

Defined in Amazonka.MediaConnect.StartFlow

ToJSON StartFlow Source # 
Instance details

Defined in Amazonka.MediaConnect.StartFlow

AWSRequest StartFlow Source # 
Instance details

Defined in Amazonka.MediaConnect.StartFlow

Associated Types

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

type Rep StartFlow Source # 
Instance details

Defined in Amazonka.MediaConnect.StartFlow

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

Defined in Amazonka.MediaConnect.StartFlow

newStartFlow Source #

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:

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

Defined in Amazonka.MediaConnect.StartFlow

Read StartFlowResponse Source # 
Instance details

Defined in Amazonka.MediaConnect.StartFlow

Show StartFlowResponse Source # 
Instance details

Defined in Amazonka.MediaConnect.StartFlow

Generic StartFlowResponse Source # 
Instance details

Defined in Amazonka.MediaConnect.StartFlow

Associated Types

type Rep StartFlowResponse :: Type -> Type #

NFData StartFlowResponse Source # 
Instance details

Defined in Amazonka.MediaConnect.StartFlow

Methods

rnf :: StartFlowResponse -> () #

type Rep StartFlowResponse Source # 
Instance details

Defined in Amazonka.MediaConnect.StartFlow

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

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:

$sel:status:StartFlowResponse', startFlowResponse_status - The status of the flow when the StartFlow process begins.

$sel:flowArn:StartFlow', startFlowResponse_flowArn - The ARN of the flow that you started.

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

Response Lenses

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

The status of the flow when the StartFlow process begins.

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

The ARN of the flow that you started.

startFlowResponse_httpStatus :: Lens' StartFlowResponse Int Source #

The response's http status code.