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 |
Disconnects the incoming RTMPS stream for the specified channel. Can be used in conjunction with DeleteStreamKey to prevent further streaming to a channel.
Many streaming client-software libraries automatically reconnect a
dropped RTMPS session, so to stop the stream permanently, you may want
to first revoke the streamKey
attached to the channel.
Synopsis
- data StopStream = StopStream' {
- channelArn :: Text
- newStopStream :: Text -> StopStream
- stopStream_channelArn :: Lens' StopStream Text
- data StopStreamResponse = StopStreamResponse' {
- httpStatus :: Int
- newStopStreamResponse :: Int -> StopStreamResponse
- stopStreamResponse_httpStatus :: Lens' StopStreamResponse Int
Creating a Request
data StopStream Source #
See: newStopStream
smart constructor.
StopStream' | |
|
Instances
Create a value of StopStream
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:channelArn:StopStream'
, stopStream_channelArn
- ARN of the channel for which the stream is to be stopped.
Request Lenses
stopStream_channelArn :: Lens' StopStream Text Source #
ARN of the channel for which the stream is to be stopped.
Destructuring the Response
data StopStreamResponse Source #
See: newStopStreamResponse
smart constructor.
StopStreamResponse' | |
|
Instances
newStopStreamResponse Source #
Create a value of StopStreamResponse
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:httpStatus:StopStreamResponse'
, stopStreamResponse_httpStatus
- The response's http status code.
Response Lenses
stopStreamResponse_httpStatus :: Lens' StopStreamResponse Int Source #
The response's http status code.