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

Description

Creates a new flow. The request must include one source. The request optionally can include outputs (up to 50) and entitlements (up to 50).

Synopsis

Creating a Request

data CreateFlow Source #

Creates a new flow. The request must include one source. The request optionally can include outputs (up to 50) and entitlements (up to 50).

See: newCreateFlow smart constructor.

Constructors

CreateFlow' 

Fields

Instances

Instances details
Eq CreateFlow Source # 
Instance details

Defined in Amazonka.MediaConnect.CreateFlow

Read CreateFlow Source # 
Instance details

Defined in Amazonka.MediaConnect.CreateFlow

Show CreateFlow Source # 
Instance details

Defined in Amazonka.MediaConnect.CreateFlow

Generic CreateFlow Source # 
Instance details

Defined in Amazonka.MediaConnect.CreateFlow

Associated Types

type Rep CreateFlow :: Type -> Type #

NFData CreateFlow Source # 
Instance details

Defined in Amazonka.MediaConnect.CreateFlow

Methods

rnf :: CreateFlow -> () #

Hashable CreateFlow Source # 
Instance details

Defined in Amazonka.MediaConnect.CreateFlow

ToJSON CreateFlow Source # 
Instance details

Defined in Amazonka.MediaConnect.CreateFlow

AWSRequest CreateFlow Source # 
Instance details

Defined in Amazonka.MediaConnect.CreateFlow

Associated Types

type AWSResponse CreateFlow #

ToHeaders CreateFlow Source # 
Instance details

Defined in Amazonka.MediaConnect.CreateFlow

Methods

toHeaders :: CreateFlow -> [Header] #

ToPath CreateFlow Source # 
Instance details

Defined in Amazonka.MediaConnect.CreateFlow

ToQuery CreateFlow Source # 
Instance details

Defined in Amazonka.MediaConnect.CreateFlow

type Rep CreateFlow Source # 
Instance details

Defined in Amazonka.MediaConnect.CreateFlow

type AWSResponse CreateFlow Source # 
Instance details

Defined in Amazonka.MediaConnect.CreateFlow

newCreateFlow Source #

Create a value of CreateFlow 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:mediaStreams:CreateFlow', createFlow_mediaStreams - The media streams that you want to add to the flow. You can associate these media streams with sources and outputs on the flow.

$sel:sourceFailoverConfig:CreateFlow', createFlow_sourceFailoverConfig - Undocumented member.

$sel:vpcInterfaces:CreateFlow', createFlow_vpcInterfaces - The VPC interfaces you want on the flow.

$sel:sources:CreateFlow', createFlow_sources - Undocumented member.

$sel:outputs:CreateFlow', createFlow_outputs - The outputs that you want to add to this flow.

$sel:availabilityZone:CreateFlow', createFlow_availabilityZone - The Availability Zone that you want to create the flow in. These options are limited to the Availability Zones within the current AWS Region.

$sel:entitlements:CreateFlow', createFlow_entitlements - The entitlements that you want to grant on a flow.

$sel:source:CreateFlow', createFlow_source - Undocumented member.

$sel:name:CreateFlow', createFlow_name - The name of the flow.

Request Lenses

createFlow_mediaStreams :: Lens' CreateFlow (Maybe [AddMediaStreamRequest]) Source #

The media streams that you want to add to the flow. You can associate these media streams with sources and outputs on the flow.

createFlow_vpcInterfaces :: Lens' CreateFlow (Maybe [VpcInterfaceRequest]) Source #

The VPC interfaces you want on the flow.

createFlow_outputs :: Lens' CreateFlow (Maybe [AddOutputRequest]) Source #

The outputs that you want to add to this flow.

createFlow_availabilityZone :: Lens' CreateFlow (Maybe Text) Source #

The Availability Zone that you want to create the flow in. These options are limited to the Availability Zones within the current AWS Region.

createFlow_entitlements :: Lens' CreateFlow (Maybe [GrantEntitlementRequest]) Source #

The entitlements that you want to grant on a flow.

createFlow_name :: Lens' CreateFlow Text Source #

The name of the flow.

Destructuring the Response

data CreateFlowResponse Source #

See: newCreateFlowResponse smart constructor.

Constructors

CreateFlowResponse' 

Fields

Instances

Instances details
Eq CreateFlowResponse Source # 
Instance details

Defined in Amazonka.MediaConnect.CreateFlow

Read CreateFlowResponse Source # 
Instance details

Defined in Amazonka.MediaConnect.CreateFlow

Show CreateFlowResponse Source # 
Instance details

Defined in Amazonka.MediaConnect.CreateFlow

Generic CreateFlowResponse Source # 
Instance details

Defined in Amazonka.MediaConnect.CreateFlow

Associated Types

type Rep CreateFlowResponse :: Type -> Type #

NFData CreateFlowResponse Source # 
Instance details

Defined in Amazonka.MediaConnect.CreateFlow

Methods

rnf :: CreateFlowResponse -> () #

type Rep CreateFlowResponse Source # 
Instance details

Defined in Amazonka.MediaConnect.CreateFlow

type Rep CreateFlowResponse = D1 ('MetaData "CreateFlowResponse" "Amazonka.MediaConnect.CreateFlow" "libZSservicesZSamazonka-mediaconnectZSamazonka-mediaconnect" 'False) (C1 ('MetaCons "CreateFlowResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "flow") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Flow)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newCreateFlowResponse Source #

Create a value of CreateFlowResponse 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:flow:CreateFlowResponse', createFlowResponse_flow - Undocumented member.

$sel:httpStatus:CreateFlowResponse', createFlowResponse_httpStatus - The response's http status code.

Response Lenses