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.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
ToJSON CreateFlow Source # 
Instance details

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

AWSRequest CreateFlow Source # 
Instance details

Defined in Amazonka.MediaConnect.CreateFlow

Associated Types

type AWSResponse CreateFlow #

Generic CreateFlow Source # 
Instance details

Defined in Amazonka.MediaConnect.CreateFlow

Associated Types

type Rep CreateFlow :: Type -> Type #

Read CreateFlow Source # 
Instance details

Defined in Amazonka.MediaConnect.CreateFlow

Show CreateFlow Source # 
Instance details

Defined in Amazonka.MediaConnect.CreateFlow

NFData CreateFlow Source # 
Instance details

Defined in Amazonka.MediaConnect.CreateFlow

Methods

rnf :: CreateFlow -> () #

Eq CreateFlow Source # 
Instance details

Defined in Amazonka.MediaConnect.CreateFlow

Hashable CreateFlow Source # 
Instance details

Defined in Amazonka.MediaConnect.CreateFlow

type AWSResponse CreateFlow Source # 
Instance details

Defined in Amazonka.MediaConnect.CreateFlow

type Rep CreateFlow Source # 
Instance details

Defined in Amazonka.MediaConnect.CreateFlow

newCreateFlow Source #

Arguments

:: Text

CreateFlow

-> CreateFlow 

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:

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.

CreateFlow, createFlow_entitlements - The entitlements that you want to grant on a flow.

CreateFlow, createFlow_maintenance - Undocumented member.

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.

CreateFlow, createFlow_outputs - The outputs that you want to add to this flow.

CreateFlow, createFlow_source - Undocumented member.

CreateFlow, createFlow_sourceFailoverConfig - Undocumented member.

CreateFlow, createFlow_sources - Undocumented member.

CreateFlow, createFlow_vpcInterfaces - The VPC interfaces you want on the flow.

CreateFlow, createFlow_name - The name of the flow.

Request Lenses

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_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_outputs :: Lens' CreateFlow (Maybe [AddOutputRequest]) Source #

The outputs that you want to add to this flow.

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

The VPC interfaces you want on the 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
Generic CreateFlowResponse Source # 
Instance details

Defined in Amazonka.MediaConnect.CreateFlow

Associated Types

type Rep CreateFlowResponse :: Type -> Type #

Read CreateFlowResponse Source # 
Instance details

Defined in Amazonka.MediaConnect.CreateFlow

Show CreateFlowResponse Source # 
Instance details

Defined in Amazonka.MediaConnect.CreateFlow

NFData CreateFlowResponse Source # 
Instance details

Defined in Amazonka.MediaConnect.CreateFlow

Methods

rnf :: CreateFlowResponse -> () #

Eq CreateFlowResponse Source # 
Instance details

Defined in Amazonka.MediaConnect.CreateFlow

type Rep CreateFlowResponse Source # 
Instance details

Defined in Amazonka.MediaConnect.CreateFlow

type Rep CreateFlowResponse = D1 ('MetaData "CreateFlowResponse" "Amazonka.MediaConnect.CreateFlow" "amazonka-mediaconnect-2.0-KNF7B97aPsN1PZ2vBYFgux" '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