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 |
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.
StopChannel' | |
|
Instances
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.
StopChannelResponse' | |
|
Instances
newStopChannelResponse Source #
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.