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 |
Changes the class of the channel.
Synopsis
- data UpdateChannelClass' = UpdateChannelClass'' {}
- newUpdateChannelClass' :: Text -> ChannelClass -> UpdateChannelClass'
- updateChannelClass'_destinations :: Lens' UpdateChannelClass' (Maybe [OutputDestination])
- updateChannelClass'_channelId :: Lens' UpdateChannelClass' Text
- updateChannelClass'_channelClass :: Lens' UpdateChannelClass' ChannelClass
- data UpdateChannelClassResponse = UpdateChannelClassResponse' {
- channel :: Maybe Channel
- httpStatus :: Int
- newUpdateChannelClassResponse :: Int -> UpdateChannelClassResponse
- updateChannelClassResponse_channel :: Lens' UpdateChannelClassResponse (Maybe Channel)
- updateChannelClassResponse_httpStatus :: Lens' UpdateChannelClassResponse Int
Creating a Request
data UpdateChannelClass' Source #
Channel class that the channel should be updated to.
See: newUpdateChannelClass'
smart constructor.
UpdateChannelClass'' | |
|
Instances
newUpdateChannelClass' Source #
Create a value of UpdateChannelClass'
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:
UpdateChannelClass'
, updateChannelClass'_destinations
- A list of output destinations for this channel.
UpdateChannelClass'
, updateChannelClass'_channelId
- Channel Id of the channel whose class should be updated.
UpdateChannelClass'
, updateChannelClass'_channelClass
- The channel class that you wish to update this channel to use.
Request Lenses
updateChannelClass'_destinations :: Lens' UpdateChannelClass' (Maybe [OutputDestination]) Source #
A list of output destinations for this channel.
updateChannelClass'_channelId :: Lens' UpdateChannelClass' Text Source #
Channel Id of the channel whose class should be updated.
updateChannelClass'_channelClass :: Lens' UpdateChannelClass' ChannelClass Source #
The channel class that you wish to update this channel to use.
Destructuring the Response
data UpdateChannelClassResponse Source #
Placeholder documentation for UpdateChannelClassResponse
See: newUpdateChannelClassResponse
smart constructor.
UpdateChannelClassResponse' | |
|
Instances
newUpdateChannelClassResponse Source #
Create a value of UpdateChannelClassResponse
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:channel:UpdateChannelClassResponse'
, updateChannelClassResponse_channel
- Undocumented member.
$sel:httpStatus:UpdateChannelClassResponse'
, updateChannelClassResponse_httpStatus
- The response's http status code.
Response Lenses
updateChannelClassResponse_channel :: Lens' UpdateChannelClassResponse (Maybe Channel) Source #
Undocumented member.
updateChannelClassResponse_httpStatus :: Lens' UpdateChannelClassResponse Int Source #
The response's http status code.