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

Description

Updates an existing media stream.

Synopsis

Creating a Request

data UpdateFlowMediaStream Source #

The fields that you want to update in the media stream.

See: newUpdateFlowMediaStream smart constructor.

Constructors

UpdateFlowMediaStream' 

Fields

Instances

Instances details
ToJSON UpdateFlowMediaStream Source # 
Instance details

Defined in Amazonka.MediaConnect.UpdateFlowMediaStream

ToHeaders UpdateFlowMediaStream Source # 
Instance details

Defined in Amazonka.MediaConnect.UpdateFlowMediaStream

ToPath UpdateFlowMediaStream Source # 
Instance details

Defined in Amazonka.MediaConnect.UpdateFlowMediaStream

ToQuery UpdateFlowMediaStream Source # 
Instance details

Defined in Amazonka.MediaConnect.UpdateFlowMediaStream

AWSRequest UpdateFlowMediaStream Source # 
Instance details

Defined in Amazonka.MediaConnect.UpdateFlowMediaStream

Associated Types

type AWSResponse UpdateFlowMediaStream #

Generic UpdateFlowMediaStream Source # 
Instance details

Defined in Amazonka.MediaConnect.UpdateFlowMediaStream

Associated Types

type Rep UpdateFlowMediaStream :: Type -> Type #

Read UpdateFlowMediaStream Source # 
Instance details

Defined in Amazonka.MediaConnect.UpdateFlowMediaStream

Show UpdateFlowMediaStream Source # 
Instance details

Defined in Amazonka.MediaConnect.UpdateFlowMediaStream

NFData UpdateFlowMediaStream Source # 
Instance details

Defined in Amazonka.MediaConnect.UpdateFlowMediaStream

Methods

rnf :: UpdateFlowMediaStream -> () #

Eq UpdateFlowMediaStream Source # 
Instance details

Defined in Amazonka.MediaConnect.UpdateFlowMediaStream

Hashable UpdateFlowMediaStream Source # 
Instance details

Defined in Amazonka.MediaConnect.UpdateFlowMediaStream

type AWSResponse UpdateFlowMediaStream Source # 
Instance details

Defined in Amazonka.MediaConnect.UpdateFlowMediaStream

type Rep UpdateFlowMediaStream Source # 
Instance details

Defined in Amazonka.MediaConnect.UpdateFlowMediaStream

type Rep UpdateFlowMediaStream = D1 ('MetaData "UpdateFlowMediaStream" "Amazonka.MediaConnect.UpdateFlowMediaStream" "amazonka-mediaconnect-2.0-KNF7B97aPsN1PZ2vBYFgux" 'False) (C1 ('MetaCons "UpdateFlowMediaStream'" 'PrefixI 'True) ((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 (Maybe MediaStreamType)) :*: S1 ('MetaSel ('Just "videoFormat") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "flowArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "mediaStreamName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))

newUpdateFlowMediaStream Source #

Create a value of UpdateFlowMediaStream 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:

UpdateFlowMediaStream, updateFlowMediaStream_attributes - The attributes that you want to assign to the media stream.

UpdateFlowMediaStream, updateFlowMediaStream_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.

UpdateFlowMediaStream, updateFlowMediaStream_description - Description

UpdateFlowMediaStream, updateFlowMediaStream_mediaStreamType - The type of media stream.

UpdateFlowMediaStream, updateFlowMediaStream_videoFormat - The resolution of the video.

UpdateFlowMediaStream, updateFlowMediaStream_flowArn - The Amazon Resource Name (ARN) of the flow.

UpdateFlowMediaStream, updateFlowMediaStream_mediaStreamName - The name of the media stream that you want to update.

Request Lenses

updateFlowMediaStream_attributes :: Lens' UpdateFlowMediaStream (Maybe MediaStreamAttributesRequest) Source #

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

updateFlowMediaStream_clockRate :: Lens' UpdateFlowMediaStream (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.

updateFlowMediaStream_flowArn :: Lens' UpdateFlowMediaStream Text Source #

The Amazon Resource Name (ARN) of the flow.

updateFlowMediaStream_mediaStreamName :: Lens' UpdateFlowMediaStream Text Source #

The name of the media stream that you want to update.

Destructuring the Response

data UpdateFlowMediaStreamResponse Source #

See: newUpdateFlowMediaStreamResponse smart constructor.

Constructors

UpdateFlowMediaStreamResponse' 

Fields

Instances

Instances details
Generic UpdateFlowMediaStreamResponse Source # 
Instance details

Defined in Amazonka.MediaConnect.UpdateFlowMediaStream

Associated Types

type Rep UpdateFlowMediaStreamResponse :: Type -> Type #

Read UpdateFlowMediaStreamResponse Source # 
Instance details

Defined in Amazonka.MediaConnect.UpdateFlowMediaStream

Show UpdateFlowMediaStreamResponse Source # 
Instance details

Defined in Amazonka.MediaConnect.UpdateFlowMediaStream

NFData UpdateFlowMediaStreamResponse Source # 
Instance details

Defined in Amazonka.MediaConnect.UpdateFlowMediaStream

Eq UpdateFlowMediaStreamResponse Source # 
Instance details

Defined in Amazonka.MediaConnect.UpdateFlowMediaStream

type Rep UpdateFlowMediaStreamResponse Source # 
Instance details

Defined in Amazonka.MediaConnect.UpdateFlowMediaStream

type Rep UpdateFlowMediaStreamResponse = D1 ('MetaData "UpdateFlowMediaStreamResponse" "Amazonka.MediaConnect.UpdateFlowMediaStream" "amazonka-mediaconnect-2.0-KNF7B97aPsN1PZ2vBYFgux" 'False) (C1 ('MetaCons "UpdateFlowMediaStreamResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "flowArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "mediaStream") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe MediaStream)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newUpdateFlowMediaStreamResponse Source #

Create a value of UpdateFlowMediaStreamResponse 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:

UpdateFlowMediaStream, updateFlowMediaStreamResponse_flowArn - The ARN of the flow that is associated with the media stream that you updated.

$sel:mediaStream:UpdateFlowMediaStreamResponse', updateFlowMediaStreamResponse_mediaStream - The media stream that you updated.

$sel:httpStatus:UpdateFlowMediaStreamResponse', updateFlowMediaStreamResponse_httpStatus - The response's http status code.

Response Lenses

updateFlowMediaStreamResponse_flowArn :: Lens' UpdateFlowMediaStreamResponse (Maybe Text) Source #

The ARN of the flow that is associated with the media stream that you updated.