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 deletion of channel. The associated outputs are also deleted.
Synopsis
- deleteChannel :: Text -> DeleteChannel
- data DeleteChannel
- dcChannelId :: Lens' DeleteChannel Text
- deleteChannelResponse :: Int -> DeleteChannelResponse
- data DeleteChannelResponse
- drsState :: Lens' DeleteChannelResponse (Maybe ChannelState)
- drsARN :: Lens' DeleteChannelResponse (Maybe Text)
- drsPipelinesRunningCount :: Lens' DeleteChannelResponse (Maybe Int)
- drsInputSpecification :: Lens' DeleteChannelResponse (Maybe InputSpecification)
- drsInputAttachments :: Lens' DeleteChannelResponse [InputAttachment]
- drsDestinations :: Lens' DeleteChannelResponse [OutputDestination]
- drsName :: Lens' DeleteChannelResponse (Maybe Text)
- drsId :: Lens' DeleteChannelResponse (Maybe Text)
- drsEgressEndpoints :: Lens' DeleteChannelResponse [ChannelEgressEndpoint]
- drsEncoderSettings :: Lens' DeleteChannelResponse (Maybe EncoderSettings)
- drsRoleARN :: Lens' DeleteChannelResponse (Maybe Text)
- drsResponseStatus :: Lens' DeleteChannelResponse Int
Creating a Request
Creates a value of DeleteChannel
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dcChannelId
- Unique ID of the channel.
data DeleteChannel Source #
Placeholder documentation for DeleteChannelRequest
See: deleteChannel
smart constructor.
Instances
Request Lenses
dcChannelId :: Lens' DeleteChannel Text Source #
Unique ID of the channel.
Destructuring the Response
deleteChannelResponse Source #
Creates a value of DeleteChannelResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
drsState
- Undocumented member.drsARN
- The unique arn of the channel.drsPipelinesRunningCount
- The number of currently healthy pipelines.drsInputSpecification
- Undocumented member.drsInputAttachments
- List of input attachments for channel.drsDestinations
- 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.drsName
- The name of the channel. (user-mutable)drsId
- The unique id of the channel.drsEgressEndpoints
- The endpoints where outgoing connections initiate fromdrsEncoderSettings
- Undocumented member.drsRoleARN
- The Amazon Resource Name (ARN) of the role assumed when running the Channel.drsResponseStatus
- -- | The response status code.
data DeleteChannelResponse Source #
Placeholder documentation for DeleteChannelResponse
See: deleteChannelResponse
smart constructor.
Instances
Response Lenses
drsState :: Lens' DeleteChannelResponse (Maybe ChannelState) Source #
Undocumented member.
drsPipelinesRunningCount :: Lens' DeleteChannelResponse (Maybe Int) Source #
The number of currently healthy pipelines.
drsInputSpecification :: Lens' DeleteChannelResponse (Maybe InputSpecification) Source #
Undocumented member.
drsInputAttachments :: Lens' DeleteChannelResponse [InputAttachment] Source #
List of input attachments for channel.
drsDestinations :: Lens' DeleteChannelResponse [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.
drsEgressEndpoints :: Lens' DeleteChannelResponse [ChannelEgressEndpoint] Source #
The endpoints where outgoing connections initiate from
drsEncoderSettings :: Lens' DeleteChannelResponse (Maybe EncoderSettings) Source #
Undocumented member.
drsRoleARN :: Lens' DeleteChannelResponse (Maybe Text) Source #
The Amazon Resource Name (ARN) of the role assumed when running the Channel.
drsResponseStatus :: Lens' DeleteChannelResponse Int Source #
- - | The response status code.