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 |
Removes a media stream from a flow. This action is only available if the media stream is not associated with a source or output.
Synopsis
- data RemoveFlowMediaStream = RemoveFlowMediaStream' {
- flowArn :: Text
- mediaStreamName :: Text
- newRemoveFlowMediaStream :: Text -> Text -> RemoveFlowMediaStream
- removeFlowMediaStream_flowArn :: Lens' RemoveFlowMediaStream Text
- removeFlowMediaStream_mediaStreamName :: Lens' RemoveFlowMediaStream Text
- data RemoveFlowMediaStreamResponse = RemoveFlowMediaStreamResponse' {
- mediaStreamName :: Maybe Text
- flowArn :: Maybe Text
- httpStatus :: Int
- newRemoveFlowMediaStreamResponse :: Int -> RemoveFlowMediaStreamResponse
- removeFlowMediaStreamResponse_mediaStreamName :: Lens' RemoveFlowMediaStreamResponse (Maybe Text)
- removeFlowMediaStreamResponse_flowArn :: Lens' RemoveFlowMediaStreamResponse (Maybe Text)
- removeFlowMediaStreamResponse_httpStatus :: Lens' RemoveFlowMediaStreamResponse Int
Creating a Request
data RemoveFlowMediaStream Source #
See: newRemoveFlowMediaStream
smart constructor.
RemoveFlowMediaStream' | |
|
Instances
newRemoveFlowMediaStream Source #
:: Text | |
-> Text | |
-> RemoveFlowMediaStream |
Create a value of RemoveFlowMediaStream
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:RemoveFlowMediaStream'
, removeFlowMediaStream_flowArn
- The Amazon Resource Name (ARN) of the flow.
$sel:mediaStreamName:RemoveFlowMediaStream'
, removeFlowMediaStream_mediaStreamName
- The name of the media stream that you want to remove.
Request Lenses
removeFlowMediaStream_flowArn :: Lens' RemoveFlowMediaStream Text Source #
The Amazon Resource Name (ARN) of the flow.
removeFlowMediaStream_mediaStreamName :: Lens' RemoveFlowMediaStream Text Source #
The name of the media stream that you want to remove.
Destructuring the Response
data RemoveFlowMediaStreamResponse Source #
See: newRemoveFlowMediaStreamResponse
smart constructor.
RemoveFlowMediaStreamResponse' | |
|
Instances
newRemoveFlowMediaStreamResponse Source #
Create a value of RemoveFlowMediaStreamResponse
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:mediaStreamName:RemoveFlowMediaStream'
, removeFlowMediaStreamResponse_mediaStreamName
- The name of the media stream that was removed.
$sel:flowArn:RemoveFlowMediaStream'
, removeFlowMediaStreamResponse_flowArn
- The Amazon Resource Name (ARN) of the flow.
$sel:httpStatus:RemoveFlowMediaStreamResponse'
, removeFlowMediaStreamResponse_httpStatus
- The response's http status code.
Response Lenses
removeFlowMediaStreamResponse_mediaStreamName :: Lens' RemoveFlowMediaStreamResponse (Maybe Text) Source #
The name of the media stream that was removed.
removeFlowMediaStreamResponse_flowArn :: Lens' RemoveFlowMediaStreamResponse (Maybe Text) Source #
The Amazon Resource Name (ARN) of the flow.
removeFlowMediaStreamResponse_httpStatus :: Lens' RemoveFlowMediaStreamResponse Int Source #
The response's http status code.