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 |
Creates a new Channel.
Synopsis
- createChannel :: Text -> CreateChannel
- data CreateChannel
- ccDescription :: Lens' CreateChannel (Maybe Text)
- ccId :: Lens' CreateChannel Text
- createChannelResponse :: Int -> CreateChannelResponse
- data CreateChannelResponse
- ccrsHlsIngest :: Lens' CreateChannelResponse (Maybe HlsIngest)
- ccrsARN :: Lens' CreateChannelResponse (Maybe Text)
- ccrsId :: Lens' CreateChannelResponse (Maybe Text)
- ccrsDescription :: Lens' CreateChannelResponse (Maybe Text)
- ccrsResponseStatus :: Lens' CreateChannelResponse Int
Creating a Request
:: Text | |
-> CreateChannel |
Creates a value of CreateChannel
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ccDescription
- A short text description of the Channel.ccId
- The ID of the Channel. The ID must be unique within the region and it cannot be changed after a Channel is created.
data CreateChannel Source #
A new Channel configuration.
See: createChannel
smart constructor.
Instances
Request Lenses
ccDescription :: Lens' CreateChannel (Maybe Text) Source #
A short text description of the Channel.
ccId :: 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
createChannelResponse Source #
Creates a value of CreateChannelResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ccrsHlsIngest
- Undocumented member.ccrsARN
- The Amazon Resource Name (ARN) assigned to the Channel.ccrsId
- The ID of the Channel.ccrsDescription
- A short text description of the Channel.ccrsResponseStatus
- -- | The response status code.
data CreateChannelResponse Source #
See: createChannelResponse
smart constructor.
Instances
Response Lenses
ccrsHlsIngest :: Lens' CreateChannelResponse (Maybe HlsIngest) Source #
Undocumented member.
ccrsARN :: Lens' CreateChannelResponse (Maybe Text) Source #
The Amazon Resource Name (ARN) assigned to the Channel.
ccrsDescription :: Lens' CreateChannelResponse (Maybe Text) Source #
A short text description of the Channel.
ccrsResponseStatus :: Lens' CreateChannelResponse Int Source #
- - | The response status code.