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 |
Creates a new Channel.
Synopsis
- data CreateChannel = CreateChannel' {}
- newCreateChannel :: Text -> CreateChannel
- createChannel_description :: Lens' CreateChannel (Maybe Text)
- createChannel_tags :: Lens' CreateChannel (Maybe (HashMap Text Text))
- createChannel_id :: Lens' CreateChannel Text
- data CreateChannelResponse = CreateChannelResponse' {}
- newCreateChannelResponse :: Int -> CreateChannelResponse
- createChannelResponse_ingressAccessLogs :: Lens' CreateChannelResponse (Maybe IngressAccessLogs)
- createChannelResponse_hlsIngest :: Lens' CreateChannelResponse (Maybe HlsIngest)
- createChannelResponse_arn :: Lens' CreateChannelResponse (Maybe Text)
- createChannelResponse_id :: Lens' CreateChannelResponse (Maybe Text)
- createChannelResponse_description :: Lens' CreateChannelResponse (Maybe Text)
- createChannelResponse_egressAccessLogs :: Lens' CreateChannelResponse (Maybe EgressAccessLogs)
- createChannelResponse_tags :: Lens' CreateChannelResponse (Maybe (HashMap Text Text))
- createChannelResponse_httpStatus :: Lens' CreateChannelResponse Int
Creating a Request
data CreateChannel Source #
A new Channel configuration.
See: newCreateChannel
smart constructor.
Instances
Create a value of CreateChannel
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:CreateChannel'
, createChannel_description
- A short text description of the Channel.
$sel:tags:CreateChannel'
, createChannel_tags
- Undocumented member.
$sel:id:CreateChannel'
, createChannel_id
- The ID of the Channel. The ID must be unique within the region and it
cannot be changed after a Channel is created.
Request Lenses
createChannel_description :: Lens' CreateChannel (Maybe Text) Source #
A short text description of the Channel.
createChannel_tags :: Lens' CreateChannel (Maybe (HashMap Text Text)) Source #
Undocumented member.
createChannel_id :: Lens' CreateChannel Text Source #
The ID of the Channel. The ID must be unique within the region and it cannot be changed after a Channel is created.
Destructuring the Response
data CreateChannelResponse Source #
See: newCreateChannelResponse
smart constructor.
CreateChannelResponse' | |
|
Instances
newCreateChannelResponse Source #
Create a value of CreateChannelResponse
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:CreateChannelResponse'
, createChannelResponse_ingressAccessLogs
- Undocumented member.
$sel:hlsIngest:CreateChannelResponse'
, createChannelResponse_hlsIngest
- Undocumented member.
$sel:arn:CreateChannelResponse'
, createChannelResponse_arn
- The Amazon Resource Name (ARN) assigned to the Channel.
$sel:id:CreateChannel'
, createChannelResponse_id
- The ID of the Channel.
$sel:description:CreateChannel'
, createChannelResponse_description
- A short text description of the Channel.
$sel:egressAccessLogs:CreateChannelResponse'
, createChannelResponse_egressAccessLogs
- Undocumented member.
$sel:tags:CreateChannel'
, createChannelResponse_tags
- Undocumented member.
$sel:httpStatus:CreateChannelResponse'
, createChannelResponse_httpStatus
- The response's http status code.
Response Lenses
createChannelResponse_ingressAccessLogs :: Lens' CreateChannelResponse (Maybe IngressAccessLogs) Source #
Undocumented member.
createChannelResponse_hlsIngest :: Lens' CreateChannelResponse (Maybe HlsIngest) Source #
Undocumented member.
createChannelResponse_arn :: Lens' CreateChannelResponse (Maybe Text) Source #
The Amazon Resource Name (ARN) assigned to the Channel.
createChannelResponse_id :: Lens' CreateChannelResponse (Maybe Text) Source #
The ID of the Channel.
createChannelResponse_description :: Lens' CreateChannelResponse (Maybe Text) Source #
A short text description of the Channel.
createChannelResponse_egressAccessLogs :: Lens' CreateChannelResponse (Maybe EgressAccessLogs) Source #
Undocumented member.
createChannelResponse_tags :: Lens' CreateChannelResponse (Maybe (HashMap Text Text)) Source #
Undocumented member.
createChannelResponse_httpStatus :: Lens' CreateChannelResponse Int Source #
The response's http status code.