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

Description

Adds Sources to flow

Synopsis

Creating a Request

data AddFlowSources Source #

A request to add sources to the flow.

See: newAddFlowSources smart constructor.

Constructors

AddFlowSources' 

Fields

Instances

Instances details
Eq AddFlowSources Source # 
Instance details

Defined in Amazonka.MediaConnect.AddFlowSources

Read AddFlowSources Source # 
Instance details

Defined in Amazonka.MediaConnect.AddFlowSources

Show AddFlowSources Source # 
Instance details

Defined in Amazonka.MediaConnect.AddFlowSources

Generic AddFlowSources Source # 
Instance details

Defined in Amazonka.MediaConnect.AddFlowSources

Associated Types

type Rep AddFlowSources :: Type -> Type #

NFData AddFlowSources Source # 
Instance details

Defined in Amazonka.MediaConnect.AddFlowSources

Methods

rnf :: AddFlowSources -> () #

Hashable AddFlowSources Source # 
Instance details

Defined in Amazonka.MediaConnect.AddFlowSources

ToJSON AddFlowSources Source # 
Instance details

Defined in Amazonka.MediaConnect.AddFlowSources

AWSRequest AddFlowSources Source # 
Instance details

Defined in Amazonka.MediaConnect.AddFlowSources

Associated Types

type AWSResponse AddFlowSources #

ToHeaders AddFlowSources Source # 
Instance details

Defined in Amazonka.MediaConnect.AddFlowSources

ToPath AddFlowSources Source # 
Instance details

Defined in Amazonka.MediaConnect.AddFlowSources

ToQuery AddFlowSources Source # 
Instance details

Defined in Amazonka.MediaConnect.AddFlowSources

type Rep AddFlowSources Source # 
Instance details

Defined in Amazonka.MediaConnect.AddFlowSources

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

Defined in Amazonka.MediaConnect.AddFlowSources

newAddFlowSources Source #

Create a value of AddFlowSources 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:AddFlowSources', addFlowSources_flowArn - The flow that you want to mutate.

$sel:sources:AddFlowSources', addFlowSources_sources - A list of sources that you want to add.

Request Lenses

addFlowSources_flowArn :: Lens' AddFlowSources Text Source #

The flow that you want to mutate.

addFlowSources_sources :: Lens' AddFlowSources [SetSourceRequest] Source #

A list of sources that you want to add.

Destructuring the Response

data AddFlowSourcesResponse Source #

See: newAddFlowSourcesResponse smart constructor.

Constructors

AddFlowSourcesResponse' 

Fields

Instances

Instances details
Eq AddFlowSourcesResponse Source # 
Instance details

Defined in Amazonka.MediaConnect.AddFlowSources

Read AddFlowSourcesResponse Source # 
Instance details

Defined in Amazonka.MediaConnect.AddFlowSources

Show AddFlowSourcesResponse Source # 
Instance details

Defined in Amazonka.MediaConnect.AddFlowSources

Generic AddFlowSourcesResponse Source # 
Instance details

Defined in Amazonka.MediaConnect.AddFlowSources

Associated Types

type Rep AddFlowSourcesResponse :: Type -> Type #

NFData AddFlowSourcesResponse Source # 
Instance details

Defined in Amazonka.MediaConnect.AddFlowSources

Methods

rnf :: AddFlowSourcesResponse -> () #

type Rep AddFlowSourcesResponse Source # 
Instance details

Defined in Amazonka.MediaConnect.AddFlowSources

type Rep AddFlowSourcesResponse = D1 ('MetaData "AddFlowSourcesResponse" "Amazonka.MediaConnect.AddFlowSources" "libZSservicesZSamazonka-mediaconnectZSamazonka-mediaconnect" 'False) (C1 ('MetaCons "AddFlowSourcesResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "flowArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "sources") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Source])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newAddFlowSourcesResponse Source #

Create a value of AddFlowSourcesResponse 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:AddFlowSources', addFlowSourcesResponse_flowArn - The ARN of the flow that these sources were added to.

$sel:sources:AddFlowSources', addFlowSourcesResponse_sources - The details of the newly added sources.

$sel:httpStatus:AddFlowSourcesResponse', addFlowSourcesResponse_httpStatus - The response's http status code.

Response Lenses

addFlowSourcesResponse_flowArn :: Lens' AddFlowSourcesResponse (Maybe Text) Source #

The ARN of the flow that these sources were added to.

addFlowSourcesResponse_sources :: Lens' AddFlowSourcesResponse (Maybe [Source]) Source #

The details of the newly added sources.