Copyright | (c) 2013-2021 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 |
Updates a channel.
Synopsis
- data UpdateChannel' = UpdateChannel'' {
- logLevel :: Maybe LogLevel
- inputSpecification :: Maybe InputSpecification
- inputAttachments :: Maybe [InputAttachment]
- destinations :: Maybe [OutputDestination]
- name :: Maybe Text
- cdiInputSpecification :: Maybe CdiInputSpecification
- encoderSettings :: Maybe EncoderSettings
- roleArn :: Maybe Text
- channelId :: Text
- newUpdateChannel' :: Text -> UpdateChannel'
- updateChannel'_logLevel :: Lens' UpdateChannel' (Maybe LogLevel)
- updateChannel'_inputSpecification :: Lens' UpdateChannel' (Maybe InputSpecification)
- updateChannel'_inputAttachments :: Lens' UpdateChannel' (Maybe [InputAttachment])
- updateChannel'_destinations :: Lens' UpdateChannel' (Maybe [OutputDestination])
- updateChannel'_name :: Lens' UpdateChannel' (Maybe Text)
- updateChannel'_cdiInputSpecification :: Lens' UpdateChannel' (Maybe CdiInputSpecification)
- updateChannel'_encoderSettings :: Lens' UpdateChannel' (Maybe EncoderSettings)
- 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:
$sel:logLevel:UpdateChannel''
, updateChannel'_logLevel
- The log level to write to CloudWatch Logs.
$sel:inputSpecification:UpdateChannel''
, updateChannel'_inputSpecification
- Specification of network and file inputs for this channel
$sel:inputAttachments:UpdateChannel''
, updateChannel'_inputAttachments
- Undocumented member.
$sel:destinations:UpdateChannel''
, updateChannel'_destinations
- A list of output destinations for this channel.
$sel:name:UpdateChannel''
, updateChannel'_name
- The name of the channel.
$sel:cdiInputSpecification:UpdateChannel''
, updateChannel'_cdiInputSpecification
- Specification of CDI inputs for this channel
$sel:encoderSettings:UpdateChannel''
, updateChannel'_encoderSettings
- The encoder settings for this channel.
$sel:roleArn: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.
$sel:channelId:UpdateChannel''
, updateChannel'_channelId
- channel ID
Request Lenses
updateChannel'_logLevel :: Lens' UpdateChannel' (Maybe LogLevel) Source #
The log level to write to CloudWatch Logs.
updateChannel'_inputSpecification :: Lens' UpdateChannel' (Maybe InputSpecification) Source #
Specification of network and file inputs for this channel
updateChannel'_inputAttachments :: Lens' UpdateChannel' (Maybe [InputAttachment]) Source #
Undocumented member.
updateChannel'_destinations :: Lens' UpdateChannel' (Maybe [OutputDestination]) Source #
A list of output destinations for this channel.
updateChannel'_name :: Lens' UpdateChannel' (Maybe Text) Source #
The name of the channel.
updateChannel'_cdiInputSpecification :: Lens' UpdateChannel' (Maybe CdiInputSpecification) Source #
Specification of CDI inputs for this channel
updateChannel'_encoderSettings :: Lens' UpdateChannel' (Maybe EncoderSettings) Source #
The encoder settings for this 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.