| 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.MediaTailor.StopChannel
Description
Stops a channel. For information about MediaTailor channels, see Working with channels in the MediaTailor User Guide.
Synopsis
- data StopChannel = StopChannel' {
- channelName :: Text
- newStopChannel :: Text -> StopChannel
- stopChannel_channelName :: Lens' StopChannel Text
- data StopChannelResponse = StopChannelResponse' {
- httpStatus :: Int
- newStopChannelResponse :: Int -> StopChannelResponse
- stopChannelResponse_httpStatus :: Lens' StopChannelResponse Int
Creating a Request
data StopChannel Source #
See: newStopChannel smart constructor.
Constructors
| StopChannel' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> StopChannel |
Create a value of StopChannel 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:
StopChannel, stopChannel_channelName - The name of the channel.
Request Lenses
stopChannel_channelName :: Lens' StopChannel Text Source #
The name of the channel.
Destructuring the Response
data StopChannelResponse Source #
See: newStopChannelResponse smart constructor.
Constructors
| StopChannelResponse' | |
Fields
| |
Instances
newStopChannelResponse Source #
Arguments
| :: Int | |
| -> StopChannelResponse |
Create a value of StopChannelResponse 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:StopChannelResponse', stopChannelResponse_httpStatus - The response's http status code.
Response Lenses
stopChannelResponse_httpStatus :: Lens' StopChannelResponse Int Source #
The response's http status code.