| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.IVS.StopStream
Description
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.
Constructors
| StopStream' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> StopStream |
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:
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.
Constructors
| StopStreamResponse' | |
Fields
| |
Instances
newStopStreamResponse Source #
Arguments
| :: Int | |
| -> StopStreamResponse |
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.