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 |
Updates a channel.
Synopsis
- data UpdateChannel' = UpdateChannel'' {
- cdiInputSpecification :: Maybe CdiInputSpecification
- destinations :: Maybe [OutputDestination]
- encoderSettings :: Maybe EncoderSettings
- inputAttachments :: Maybe [InputAttachment]
- inputSpecification :: Maybe InputSpecification
- logLevel :: Maybe LogLevel
- maintenance :: Maybe MaintenanceUpdateSettings
- name :: Maybe Text
- roleArn :: Maybe Text
- channelId :: Text
- newUpdateChannel' :: Text -> UpdateChannel'
- updateChannel'_cdiInputSpecification :: Lens' UpdateChannel' (Maybe CdiInputSpecification)
- updateChannel'_destinations :: Lens' UpdateChannel' (Maybe [OutputDestination])
- updateChannel'_encoderSettings :: Lens' UpdateChannel' (Maybe EncoderSettings)
- updateChannel'_inputAttachments :: Lens' UpdateChannel' (Maybe [InputAttachment])
- updateChannel'_inputSpecification :: Lens' UpdateChannel' (Maybe InputSpecification)
- updateChannel'_logLevel :: Lens' UpdateChannel' (Maybe LogLevel)
- updateChannel'_maintenance :: Lens' UpdateChannel' (Maybe MaintenanceUpdateSettings)
- updateChannel'_name :: Lens' UpdateChannel' (Maybe Text)
- updateChannel'_roleArn :: Lens' UpdateChannel' (Maybe Text)
- updateChannel'_channelId :: Lens' UpdateChannel' Text
- data UpdateChannelResponse = UpdateChannelResponse' {
- channel :: Maybe Channel
- httpStatus :: Int
- newUpdateChannelResponse :: Int -> UpdateChannelResponse
- updateChannelResponse_channel :: Lens' UpdateChannelResponse (Maybe Channel)
- updateChannelResponse_httpStatus :: Lens' UpdateChannelResponse Int
Creating a Request
data UpdateChannel' Source #
A request to update a channel.
See: newUpdateChannel'
smart constructor.
UpdateChannel'' | |
|
Instances
Create a value of UpdateChannel'
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:
UpdateChannel'
, updateChannel'_cdiInputSpecification
- Specification of CDI inputs for this channel
UpdateChannel'
, updateChannel'_destinations
- A list of output destinations for this channel.
UpdateChannel'
, updateChannel'_encoderSettings
- The encoder settings for this channel.
UpdateChannel'
, updateChannel'_inputAttachments
- Undocumented member.
UpdateChannel'
, updateChannel'_inputSpecification
- Specification of network and file inputs for this channel
UpdateChannel'
, updateChannel'_logLevel
- The log level to write to CloudWatch Logs.
UpdateChannel'
, updateChannel'_maintenance
- Maintenance settings for this channel.
UpdateChannel'
, updateChannel'_name
- The name of the channel.
UpdateChannel'
, updateChannel'_roleArn
- 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.
UpdateChannel'
, updateChannel'_channelId
- channel ID
Request Lenses
updateChannel'_cdiInputSpecification :: Lens' UpdateChannel' (Maybe CdiInputSpecification) Source #
Specification of CDI inputs for this channel
updateChannel'_destinations :: Lens' UpdateChannel' (Maybe [OutputDestination]) Source #
A list of output destinations for this channel.
updateChannel'_encoderSettings :: Lens' UpdateChannel' (Maybe EncoderSettings) Source #
The encoder settings for this channel.
updateChannel'_inputAttachments :: Lens' UpdateChannel' (Maybe [InputAttachment]) Source #
Undocumented member.
updateChannel'_inputSpecification :: Lens' UpdateChannel' (Maybe InputSpecification) Source #
Specification of network and file inputs for this channel
updateChannel'_logLevel :: Lens' UpdateChannel' (Maybe LogLevel) Source #
The log level to write to CloudWatch Logs.
updateChannel'_maintenance :: Lens' UpdateChannel' (Maybe MaintenanceUpdateSettings) Source #
Maintenance settings for this channel.
updateChannel'_name :: Lens' UpdateChannel' (Maybe Text) Source #
The name of the channel.
updateChannel'_roleArn :: 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.
updateChannel'_channelId :: Lens' UpdateChannel' Text Source #
channel ID
Destructuring the Response
data UpdateChannelResponse Source #
Placeholder documentation for UpdateChannelResponse
See: newUpdateChannelResponse
smart constructor.
UpdateChannelResponse' | |
|
Instances
newUpdateChannelResponse Source #
Create a value of UpdateChannelResponse
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:UpdateChannelResponse'
, updateChannelResponse_channel
- Undocumented member.
$sel:httpStatus:UpdateChannelResponse'
, updateChannelResponse_httpStatus
- The response's http status code.
Response Lenses
updateChannelResponse_channel :: Lens' UpdateChannelResponse (Maybe Channel) Source #
Undocumented member.
updateChannelResponse_httpStatus :: Lens' UpdateChannelResponse Int Source #
The response's http status code.