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
- createChannel :: CreateChannel
- data CreateChannel
- ccRequestId :: Lens' CreateChannel (Maybe Text)
- ccInputSpecification :: Lens' CreateChannel (Maybe InputSpecification)
- ccInputAttachments :: Lens' CreateChannel [InputAttachment]
- ccReserved :: Lens' CreateChannel (Maybe Text)
- ccDestinations :: Lens' CreateChannel [OutputDestination]
- ccName :: Lens' CreateChannel (Maybe Text)
- ccEncoderSettings :: Lens' CreateChannel (Maybe EncoderSettings)
- ccRoleARN :: Lens' CreateChannel (Maybe Text)
- createChannelResponse :: Int -> CreateChannelResponse
- data CreateChannelResponse
- ccrsChannel :: Lens' CreateChannelResponse (Maybe Channel)
- ccrsResponseStatus :: Lens' CreateChannelResponse Int
Creating a Request
createChannel :: CreateChannel Source #
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:
ccRequestId
- Unique request ID to be specified. This is needed to prevent retries from creating multiple resources.ccInputSpecification
- Specification of input for this channel (max. bitrate, resolution, codec, etc.)ccInputAttachments
- List of input attachments for channel.ccReserved
- Deprecated field that's only usable by whitelisted customers.ccDestinations
- Undocumented member.ccName
- Name of channel.ccEncoderSettings
- Undocumented member.ccRoleARN
- An optional Amazon Resource Name (ARN) of the role to assume when running the Channel.
data CreateChannel Source #
Placeholder documentation for CreateChannel
See: createChannel
smart constructor.
Request Lenses
ccRequestId :: Lens' CreateChannel (Maybe Text) Source #
Unique request ID to be specified. This is needed to prevent retries from creating multiple resources.
ccInputSpecification :: Lens' CreateChannel (Maybe InputSpecification) Source #
Specification of input for this channel (max. bitrate, resolution, codec, etc.)
ccInputAttachments :: Lens' CreateChannel [InputAttachment] Source #
List of input attachments for channel.
ccReserved :: Lens' CreateChannel (Maybe Text) Source #
Deprecated field that's only usable by whitelisted customers.
ccDestinations :: Lens' CreateChannel [OutputDestination] Source #
Undocumented member.
ccEncoderSettings :: Lens' CreateChannel (Maybe EncoderSettings) Source #
Undocumented member.
ccRoleARN :: Lens' CreateChannel (Maybe Text) Source #
An optional Amazon Resource Name (ARN) of the role to assume when running the Channel.
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:
ccrsChannel
- Undocumented member.ccrsResponseStatus
- -- | The response status code.
data CreateChannelResponse Source #
Placeholder documentation for CreateChannelResponse
See: createChannelResponse
smart constructor.
Response Lenses
ccrsChannel :: Lens' CreateChannelResponse (Maybe Channel) Source #
Undocumented member.
ccrsResponseStatus :: Lens' CreateChannelResponse Int Source #
- - | The response status code.