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 |
Starts an existing channel
Synopsis
- startChannel :: Text -> StartChannel
- data StartChannel
- scChannelId :: Lens' StartChannel Text
- startChannelResponse :: Int -> StartChannelResponse
- data StartChannelResponse
- scrsState :: Lens' StartChannelResponse (Maybe ChannelState)
- scrsARN :: Lens' StartChannelResponse (Maybe Text)
- scrsPipelinesRunningCount :: Lens' StartChannelResponse (Maybe Int)
- scrsInputSpecification :: Lens' StartChannelResponse (Maybe InputSpecification)
- scrsInputAttachments :: Lens' StartChannelResponse [InputAttachment]
- scrsDestinations :: Lens' StartChannelResponse [OutputDestination]
- scrsName :: Lens' StartChannelResponse (Maybe Text)
- scrsId :: Lens' StartChannelResponse (Maybe Text)
- scrsEgressEndpoints :: Lens' StartChannelResponse [ChannelEgressEndpoint]
- scrsEncoderSettings :: Lens' StartChannelResponse (Maybe EncoderSettings)
- scrsRoleARN :: Lens' StartChannelResponse (Maybe Text)
- scrsResponseStatus :: Lens' StartChannelResponse Int
Creating a Request
Creates a value of StartChannel
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
scChannelId
- A request to start a channel
data StartChannel Source #
Placeholder documentation for StartChannelRequest
See: startChannel
smart constructor.
Instances
Request Lenses
scChannelId :: Lens' StartChannel Text Source #
A request to start a channel
Destructuring the Response
Creates a value of StartChannelResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
scrsState
- Undocumented member.scrsARN
- The unique arn of the channel.scrsPipelinesRunningCount
- The number of currently healthy pipelines.scrsInputSpecification
- Undocumented member.scrsInputAttachments
- List of input attachments for channel.scrsDestinations
- A list of destinations of the channel. For UDP outputs, there is one destination per output. For other types (HLS, for example), there is one destination per packager.scrsName
- The name of the channel. (user-mutable)scrsId
- The unique id of the channel.scrsEgressEndpoints
- The endpoints where outgoing connections initiate fromscrsEncoderSettings
- Undocumented member.scrsRoleARN
- The Amazon Resource Name (ARN) of the role assumed when running the Channel.scrsResponseStatus
- -- | The response status code.
data StartChannelResponse Source #
Placeholder documentation for StartChannelResponse
See: startChannelResponse
smart constructor.
Instances
Response Lenses
scrsState :: Lens' StartChannelResponse (Maybe ChannelState) Source #
Undocumented member.
scrsPipelinesRunningCount :: Lens' StartChannelResponse (Maybe Int) Source #
The number of currently healthy pipelines.
scrsInputSpecification :: Lens' StartChannelResponse (Maybe InputSpecification) Source #
Undocumented member.
scrsInputAttachments :: Lens' StartChannelResponse [InputAttachment] Source #
List of input attachments for channel.
scrsDestinations :: Lens' StartChannelResponse [OutputDestination] Source #
A list of destinations of the channel. For UDP outputs, there is one destination per output. For other types (HLS, for example), there is one destination per packager.
scrsEgressEndpoints :: Lens' StartChannelResponse [ChannelEgressEndpoint] Source #
The endpoints where outgoing connections initiate from
scrsEncoderSettings :: Lens' StartChannelResponse (Maybe EncoderSettings) Source #
Undocumented member.
scrsRoleARN :: Lens' StartChannelResponse (Maybe Text) Source #
The Amazon Resource Name (ARN) of the role assumed when running the Channel.
scrsResponseStatus :: Lens' StartChannelResponse Int Source #
- - | The response status code.