Copyright | (c) 2013-2018 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 |
Language | Haskell2010 |
Updates a channel.
Synopsis
- updateChannel :: Text -> UpdateChannel
- data UpdateChannel
- ucInputSpecification :: Lens' UpdateChannel (Maybe InputSpecification)
- ucInputAttachments :: Lens' UpdateChannel [InputAttachment]
- ucDestinations :: Lens' UpdateChannel [OutputDestination]
- ucName :: Lens' UpdateChannel (Maybe Text)
- ucEncoderSettings :: Lens' UpdateChannel (Maybe EncoderSettings)
- ucRoleARN :: Lens' UpdateChannel (Maybe Text)
- ucChannelId :: Lens' UpdateChannel Text
- updateChannelResponse :: Int -> UpdateChannelResponse
- data UpdateChannelResponse
- ucrsChannel :: Lens' UpdateChannelResponse (Maybe Channel)
- ucrsResponseStatus :: Lens' UpdateChannelResponse Int
Creating a Request
Creates a value of UpdateChannel
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ucInputSpecification
- Specification of input for this channel (max. bitrate, resolution, codec, etc.)ucInputAttachments
- Undocumented member.ucDestinations
- A list of output destinations for this channel.ucName
- The name of the channel.ucEncoderSettings
- The encoder settings for this channel.ucRoleARN
- An optional Amazon Resource Name (ARN) of the role to assume when running the Channel. If you do not specify this on an update call but the role was previously set that role will be removed.ucChannelId
- channel ID
data UpdateChannel Source #
A request to update a channel.
See: updateChannel
smart constructor.
Instances
Request Lenses
ucInputSpecification :: Lens' UpdateChannel (Maybe InputSpecification) Source #
Specification of input for this channel (max. bitrate, resolution, codec, etc.)
ucInputAttachments :: Lens' UpdateChannel [InputAttachment] Source #
Undocumented member.
ucDestinations :: Lens' UpdateChannel [OutputDestination] Source #
A list of output destinations for this channel.
ucEncoderSettings :: Lens' UpdateChannel (Maybe EncoderSettings) Source #
The encoder settings for this channel.
ucRoleARN :: Lens' UpdateChannel (Maybe Text) Source #
An optional Amazon Resource Name (ARN) of the role to assume when running the Channel. If you do not specify this on an update call but the role was previously set that role will be removed.
ucChannelId :: Lens' UpdateChannel Text Source #
channel ID
Destructuring the Response
updateChannelResponse Source #
Creates a value of UpdateChannelResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ucrsChannel
- Undocumented member.ucrsResponseStatus
- -- | The response status code.
data UpdateChannelResponse Source #
Placeholder documentation for UpdateChannelResponse
See: updateChannelResponse
smart constructor.
Instances
Response Lenses
ucrsChannel :: Lens' UpdateChannelResponse (Maybe Channel) Source #
Undocumented member.
ucrsResponseStatus :: Lens' UpdateChannelResponse Int Source #
- - | The response status code.