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.Types.AddMediaStreamRequest

Description

 
Synopsis

Documentation

data AddMediaStreamRequest Source #

The media stream that you want to add to the flow.

See: newAddMediaStreamRequest smart constructor.

Constructors

AddMediaStreamRequest' 

Fields

Instances

Instances details
Eq AddMediaStreamRequest Source # 
Instance details

Defined in Amazonka.MediaConnect.Types.AddMediaStreamRequest

Read AddMediaStreamRequest Source # 
Instance details

Defined in Amazonka.MediaConnect.Types.AddMediaStreamRequest

Show AddMediaStreamRequest Source # 
Instance details

Defined in Amazonka.MediaConnect.Types.AddMediaStreamRequest

Generic AddMediaStreamRequest Source # 
Instance details

Defined in Amazonka.MediaConnect.Types.AddMediaStreamRequest

Associated Types

type Rep AddMediaStreamRequest :: Type -> Type #

NFData AddMediaStreamRequest Source # 
Instance details

Defined in Amazonka.MediaConnect.Types.AddMediaStreamRequest

Methods

rnf :: AddMediaStreamRequest -> () #

Hashable AddMediaStreamRequest Source # 
Instance details

Defined in Amazonka.MediaConnect.Types.AddMediaStreamRequest

ToJSON AddMediaStreamRequest Source # 
Instance details

Defined in Amazonka.MediaConnect.Types.AddMediaStreamRequest

type Rep AddMediaStreamRequest Source # 
Instance details

Defined in Amazonka.MediaConnect.Types.AddMediaStreamRequest

type Rep AddMediaStreamRequest = D1 ('MetaData "AddMediaStreamRequest" "Amazonka.MediaConnect.Types.AddMediaStreamRequest" "libZSservicesZSamazonka-mediaconnectZSamazonka-mediaconnect" 'False) (C1 ('MetaCons "AddMediaStreamRequest'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "videoFormat") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "attributes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe MediaStreamAttributesRequest)) :*: S1 ('MetaSel ('Just "clockRate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)))) :*: ((S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "mediaStreamType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 MediaStreamType)) :*: (S1 ('MetaSel ('Just "mediaStreamId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "mediaStreamName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))

newAddMediaStreamRequest Source #

Create a value of AddMediaStreamRequest 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:videoFormat:AddMediaStreamRequest', addMediaStreamRequest_videoFormat - The resolution of the video.

$sel:attributes:AddMediaStreamRequest', addMediaStreamRequest_attributes - The attributes that you want to assign to the new media stream.

$sel:clockRate:AddMediaStreamRequest', addMediaStreamRequest_clockRate - The sample rate (in Hz) for the stream. If the media stream type is video or ancillary data, set this value to 90000. If the media stream type is audio, set this value to either 48000 or 96000.

$sel:description:AddMediaStreamRequest', addMediaStreamRequest_description - A description that can help you quickly identify what your media stream is used for.

$sel:mediaStreamType:AddMediaStreamRequest', addMediaStreamRequest_mediaStreamType - The type of media stream.

$sel:mediaStreamId:AddMediaStreamRequest', addMediaStreamRequest_mediaStreamId - A unique identifier for the media stream.

$sel:mediaStreamName:AddMediaStreamRequest', addMediaStreamRequest_mediaStreamName - A name that helps you distinguish one media stream from another.

addMediaStreamRequest_attributes :: Lens' AddMediaStreamRequest (Maybe MediaStreamAttributesRequest) Source #

The attributes that you want to assign to the new media stream.

addMediaStreamRequest_clockRate :: Lens' AddMediaStreamRequest (Maybe Int) Source #

The sample rate (in Hz) for the stream. If the media stream type is video or ancillary data, set this value to 90000. If the media stream type is audio, set this value to either 48000 or 96000.

addMediaStreamRequest_description :: Lens' AddMediaStreamRequest (Maybe Text) Source #

A description that can help you quickly identify what your media stream is used for.

addMediaStreamRequest_mediaStreamId :: Lens' AddMediaStreamRequest Int Source #

A unique identifier for the media stream.

addMediaStreamRequest_mediaStreamName :: Lens' AddMediaStreamRequest Text Source #

A name that helps you distinguish one media stream from another.