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 |
Stops a running channel
- stopChannel :: Text -> StopChannel
- data StopChannel
- sChannelId :: Lens' StopChannel Text
- stopChannelResponse :: Int -> StopChannelResponse
- data StopChannelResponse
- srsState :: Lens' StopChannelResponse (Maybe ChannelState)
- srsARN :: Lens' StopChannelResponse (Maybe Text)
- srsPipelinesRunningCount :: Lens' StopChannelResponse (Maybe Int)
- srsInputSpecification :: Lens' StopChannelResponse (Maybe InputSpecification)
- srsInputAttachments :: Lens' StopChannelResponse [InputAttachment]
- srsDestinations :: Lens' StopChannelResponse [OutputDestination]
- srsName :: Lens' StopChannelResponse (Maybe Text)
- srsId :: Lens' StopChannelResponse (Maybe Text)
- srsEgressEndpoints :: Lens' StopChannelResponse [ChannelEgressEndpoint]
- srsEncoderSettings :: Lens' StopChannelResponse (Maybe EncoderSettings)
- srsRoleARN :: Lens' StopChannelResponse (Maybe Text)
- srsResponseStatus :: Lens' StopChannelResponse Int
Creating a Request
Creates a value of StopChannel
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
sChannelId
- A request to stop a running channel
data StopChannel Source #
Placeholder documentation for StopChannelRequest
See: stopChannel
smart constructor.
Request Lenses
sChannelId :: Lens' StopChannel Text Source #
A request to stop a running channel
Destructuring the Response
Creates a value of StopChannelResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
srsState
- Undocumented member.srsARN
- The unique arn of the channel.srsPipelinesRunningCount
- The number of currently healthy pipelines.srsInputSpecification
- Undocumented member.srsInputAttachments
- List of input attachments for channel.srsDestinations
- 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.srsName
- The name of the channel. (user-mutable)srsId
- The unique id of the channel.srsEgressEndpoints
- The endpoints where outgoing connections initiate fromsrsEncoderSettings
- Undocumented member.srsRoleARN
- The Amazon Resource Name (ARN) of the role assumed when running the Channel.srsResponseStatus
- -- | The response status code.
data StopChannelResponse Source #
Placeholder documentation for StopChannelResponse
See: stopChannelResponse
smart constructor.
Response Lenses
srsState :: Lens' StopChannelResponse (Maybe ChannelState) Source #
Undocumented member.
srsPipelinesRunningCount :: Lens' StopChannelResponse (Maybe Int) Source #
The number of currently healthy pipelines.
srsInputSpecification :: Lens' StopChannelResponse (Maybe InputSpecification) Source #
Undocumented member.
srsInputAttachments :: Lens' StopChannelResponse [InputAttachment] Source #
List of input attachments for channel.
srsDestinations :: Lens' StopChannelResponse [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.
srsEgressEndpoints :: Lens' StopChannelResponse [ChannelEgressEndpoint] Source #
The endpoints where outgoing connections initiate from
srsEncoderSettings :: Lens' StopChannelResponse (Maybe EncoderSettings) Source #
Undocumented member.
srsRoleARN :: Lens' StopChannelResponse (Maybe Text) Source #
The Amazon Resource Name (ARN) of the role assumed when running the Channel.
srsResponseStatus :: Lens' StopChannelResponse Int Source #
- - | The response status code.