Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Updates an existing media stream.
Synopsis
- data UpdateFlowMediaStream = UpdateFlowMediaStream' {}
- newUpdateFlowMediaStream :: Text -> Text -> UpdateFlowMediaStream
- updateFlowMediaStream_videoFormat :: Lens' UpdateFlowMediaStream (Maybe Text)
- updateFlowMediaStream_mediaStreamType :: Lens' UpdateFlowMediaStream (Maybe MediaStreamType)
- updateFlowMediaStream_attributes :: Lens' UpdateFlowMediaStream (Maybe MediaStreamAttributesRequest)
- updateFlowMediaStream_clockRate :: Lens' UpdateFlowMediaStream (Maybe Int)
- updateFlowMediaStream_description :: Lens' UpdateFlowMediaStream (Maybe Text)
- updateFlowMediaStream_flowArn :: Lens' UpdateFlowMediaStream Text
- updateFlowMediaStream_mediaStreamName :: Lens' UpdateFlowMediaStream Text
- data UpdateFlowMediaStreamResponse = UpdateFlowMediaStreamResponse' {
- flowArn :: Maybe Text
- mediaStream :: Maybe MediaStream
- httpStatus :: Int
- newUpdateFlowMediaStreamResponse :: Int -> UpdateFlowMediaStreamResponse
- updateFlowMediaStreamResponse_flowArn :: Lens' UpdateFlowMediaStreamResponse (Maybe Text)
- updateFlowMediaStreamResponse_mediaStream :: Lens' UpdateFlowMediaStreamResponse (Maybe MediaStream)
- updateFlowMediaStreamResponse_httpStatus :: Lens' UpdateFlowMediaStreamResponse Int
Creating a Request
data UpdateFlowMediaStream Source #
The fields that you want to update in the media stream.
See: newUpdateFlowMediaStream
smart constructor.
UpdateFlowMediaStream' | |
|
Instances
newUpdateFlowMediaStream Source #
:: Text | |
-> Text | |
-> UpdateFlowMediaStream |
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_videoFormat :: Lens' UpdateFlowMediaStream (Maybe Text) Source #
The resolution of the video.
updateFlowMediaStream_mediaStreamType :: Lens' UpdateFlowMediaStream (Maybe MediaStreamType) Source #
The type of media stream.
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_description :: Lens' UpdateFlowMediaStream (Maybe Text) Source #
Description
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.
UpdateFlowMediaStreamResponse' | |
|
Instances
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.
updateFlowMediaStreamResponse_mediaStream :: Lens' UpdateFlowMediaStreamResponse (Maybe MediaStream) Source #
The media stream that you updated.
updateFlowMediaStreamResponse_httpStatus :: Lens' UpdateFlowMediaStreamResponse Int Source #
The response's http status code.