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.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
Eq UpdateFlowMediaStream Source # 
Instance details

Defined in Amazonka.MediaConnect.UpdateFlowMediaStream

Read UpdateFlowMediaStream Source # 
Instance details

Defined in Amazonka.MediaConnect.UpdateFlowMediaStream

Show UpdateFlowMediaStream Source # 
Instance details

Defined in Amazonka.MediaConnect.UpdateFlowMediaStream

Generic UpdateFlowMediaStream Source # 
Instance details

Defined in Amazonka.MediaConnect.UpdateFlowMediaStream

Associated Types

type Rep UpdateFlowMediaStream :: Type -> Type #

NFData UpdateFlowMediaStream Source # 
Instance details

Defined in Amazonka.MediaConnect.UpdateFlowMediaStream

Methods

rnf :: UpdateFlowMediaStream -> () #

Hashable UpdateFlowMediaStream Source # 
Instance details

Defined in Amazonka.MediaConnect.UpdateFlowMediaStream

ToJSON UpdateFlowMediaStream Source # 
Instance details

Defined in Amazonka.MediaConnect.UpdateFlowMediaStream

AWSRequest UpdateFlowMediaStream Source # 
Instance details

Defined in Amazonka.MediaConnect.UpdateFlowMediaStream

Associated Types

type AWSResponse 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

type Rep UpdateFlowMediaStream Source # 
Instance details

Defined in Amazonka.MediaConnect.UpdateFlowMediaStream

type Rep UpdateFlowMediaStream = D1 ('MetaData "UpdateFlowMediaStream" "Amazonka.MediaConnect.UpdateFlowMediaStream" "libZSservicesZSamazonka-mediaconnectZSamazonka-mediaconnect" 'False) (C1 ('MetaCons "UpdateFlowMediaStream'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "videoFormat") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "mediaStreamType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe MediaStreamType)) :*: 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 "flowArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "mediaStreamName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))
type AWSResponse UpdateFlowMediaStream Source # 
Instance details

Defined in Amazonka.MediaConnect.UpdateFlowMediaStream

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:

$sel:videoFormat:UpdateFlowMediaStream', updateFlowMediaStream_videoFormat - The resolution of the video.

$sel:mediaStreamType:UpdateFlowMediaStream', updateFlowMediaStream_mediaStreamType - The type of media stream.

$sel:attributes:UpdateFlowMediaStream', updateFlowMediaStream_attributes - The attributes that you want to assign to the media stream.

$sel:clockRate: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.

$sel:description:UpdateFlowMediaStream', updateFlowMediaStream_description - Description

$sel:flowArn:UpdateFlowMediaStream', updateFlowMediaStream_flowArn - The Amazon Resource Name (ARN) of the flow.

$sel:mediaStreamName: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
Eq UpdateFlowMediaStreamResponse Source # 
Instance details

Defined in Amazonka.MediaConnect.UpdateFlowMediaStream

Read UpdateFlowMediaStreamResponse Source # 
Instance details

Defined in Amazonka.MediaConnect.UpdateFlowMediaStream

Show UpdateFlowMediaStreamResponse Source # 
Instance details

Defined in Amazonka.MediaConnect.UpdateFlowMediaStream

Generic UpdateFlowMediaStreamResponse Source # 
Instance details

Defined in Amazonka.MediaConnect.UpdateFlowMediaStream

Associated Types

type Rep UpdateFlowMediaStreamResponse :: Type -> Type #

NFData 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" "libZSservicesZSamazonka-mediaconnectZSamazonka-mediaconnect" '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:

$sel:flowArn: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.