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 an existing Channel.
Synopsis
- data UpdateChannel = UpdateChannel' {
- description :: Maybe Text
- id :: Text
- newUpdateChannel :: Text -> UpdateChannel
- updateChannel_description :: Lens' UpdateChannel (Maybe Text)
- updateChannel_id :: Lens' UpdateChannel Text
- data UpdateChannelResponse = UpdateChannelResponse' {}
- newUpdateChannelResponse :: Int -> UpdateChannelResponse
- updateChannelResponse_ingressAccessLogs :: Lens' UpdateChannelResponse (Maybe IngressAccessLogs)
- updateChannelResponse_hlsIngest :: Lens' UpdateChannelResponse (Maybe HlsIngest)
- updateChannelResponse_arn :: Lens' UpdateChannelResponse (Maybe Text)
- updateChannelResponse_id :: Lens' UpdateChannelResponse (Maybe Text)
- updateChannelResponse_description :: Lens' UpdateChannelResponse (Maybe Text)
- updateChannelResponse_egressAccessLogs :: Lens' UpdateChannelResponse (Maybe EgressAccessLogs)
- updateChannelResponse_tags :: Lens' UpdateChannelResponse (Maybe (HashMap Text Text))
- updateChannelResponse_httpStatus :: Lens' UpdateChannelResponse Int
Creating a Request
data UpdateChannel Source #
Configuration parameters used to update the 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:description:UpdateChannel'
, updateChannel_description
- A short text description of the Channel.
$sel:id:UpdateChannel'
, updateChannel_id
- The ID of the Channel to update.
Request Lenses
updateChannel_description :: Lens' UpdateChannel (Maybe Text) Source #
A short text description of the Channel.
updateChannel_id :: Lens' UpdateChannel Text Source #
The ID of the Channel to update.
Destructuring the Response
data UpdateChannelResponse Source #
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:ingressAccessLogs:UpdateChannelResponse'
, updateChannelResponse_ingressAccessLogs
- Undocumented member.
$sel:hlsIngest:UpdateChannelResponse'
, updateChannelResponse_hlsIngest
- Undocumented member.
$sel:arn:UpdateChannelResponse'
, updateChannelResponse_arn
- The Amazon Resource Name (ARN) assigned to the Channel.
$sel:id:UpdateChannel'
, updateChannelResponse_id
- The ID of the Channel.
$sel:description:UpdateChannel'
, updateChannelResponse_description
- A short text description of the Channel.
$sel:egressAccessLogs:UpdateChannelResponse'
, updateChannelResponse_egressAccessLogs
- Undocumented member.
$sel:tags:UpdateChannelResponse'
, updateChannelResponse_tags
- Undocumented member.
$sel:httpStatus:UpdateChannelResponse'
, updateChannelResponse_httpStatus
- The response's http status code.
Response Lenses
updateChannelResponse_ingressAccessLogs :: Lens' UpdateChannelResponse (Maybe IngressAccessLogs) Source #
Undocumented member.
updateChannelResponse_hlsIngest :: Lens' UpdateChannelResponse (Maybe HlsIngest) Source #
Undocumented member.
updateChannelResponse_arn :: Lens' UpdateChannelResponse (Maybe Text) Source #
The Amazon Resource Name (ARN) assigned to the Channel.
updateChannelResponse_id :: Lens' UpdateChannelResponse (Maybe Text) Source #
The ID of the Channel.
updateChannelResponse_description :: Lens' UpdateChannelResponse (Maybe Text) Source #
A short text description of the Channel.
updateChannelResponse_egressAccessLogs :: Lens' UpdateChannelResponse (Maybe EgressAccessLogs) Source #
Undocumented member.
updateChannelResponse_tags :: Lens' UpdateChannelResponse (Maybe (HashMap Text Text)) Source #
Undocumented member.
updateChannelResponse_httpStatus :: Lens' UpdateChannelResponse Int Source #
The response's http status code.