{-# LANGUAGE DeriveGeneric #-}
{-# LANGUAGE DuplicateRecordFields #-}
{-# LANGUAGE NamedFieldPuns #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE RecordWildCards #-}
{-# LANGUAGE StrictData #-}
{-# LANGUAGE TypeFamilies #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# OPTIONS_GHC -fno-warn-unused-binds #-}
{-# OPTIONS_GHC -fno-warn-unused-imports #-}
{-# OPTIONS_GHC -fno-warn-unused-matches #-}

-- Derived from AWS service descriptions, licensed under Apache 2.0.

-- |
-- Module      : Amazonka.MediaLive.DeleteChannel
-- Copyright   : (c) 2013-2021 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)
--
-- Starts deletion of channel. The associated outputs are also deleted.
module Amazonka.MediaLive.DeleteChannel
  ( -- * Creating a Request
    DeleteChannel (..),
    newDeleteChannel,

    -- * Request Lenses
    deleteChannel_channelId,

    -- * Destructuring the Response
    DeleteChannelResponse (..),
    newDeleteChannelResponse,

    -- * Response Lenses
    deleteChannelResponse_state,
    deleteChannelResponse_logLevel,
    deleteChannelResponse_arn,
    deleteChannelResponse_pipelinesRunningCount,
    deleteChannelResponse_pipelineDetails,
    deleteChannelResponse_inputSpecification,
    deleteChannelResponse_inputAttachments,
    deleteChannelResponse_destinations,
    deleteChannelResponse_name,
    deleteChannelResponse_cdiInputSpecification,
    deleteChannelResponse_id,
    deleteChannelResponse_channelClass,
    deleteChannelResponse_vpc,
    deleteChannelResponse_egressEndpoints,
    deleteChannelResponse_tags,
    deleteChannelResponse_encoderSettings,
    deleteChannelResponse_roleArn,
    deleteChannelResponse_httpStatus,
  )
where

import qualified Amazonka.Core as Core
import qualified Amazonka.Lens as Lens
import Amazonka.MediaLive.Types
import qualified Amazonka.Prelude as Prelude
import qualified Amazonka.Request as Request
import qualified Amazonka.Response as Response

-- | Placeholder documentation for DeleteChannelRequest
--
-- /See:/ 'newDeleteChannel' smart constructor.
data DeleteChannel = DeleteChannel'
  { -- | Unique ID of the channel.
    DeleteChannel -> Text
channelId :: Prelude.Text
  }
  deriving (DeleteChannel -> DeleteChannel -> Bool
(DeleteChannel -> DeleteChannel -> Bool)
-> (DeleteChannel -> DeleteChannel -> Bool) -> Eq DeleteChannel
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: DeleteChannel -> DeleteChannel -> Bool
$c/= :: DeleteChannel -> DeleteChannel -> Bool
== :: DeleteChannel -> DeleteChannel -> Bool
$c== :: DeleteChannel -> DeleteChannel -> Bool
Prelude.Eq, ReadPrec [DeleteChannel]
ReadPrec DeleteChannel
Int -> ReadS DeleteChannel
ReadS [DeleteChannel]
(Int -> ReadS DeleteChannel)
-> ReadS [DeleteChannel]
-> ReadPrec DeleteChannel
-> ReadPrec [DeleteChannel]
-> Read DeleteChannel
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [DeleteChannel]
$creadListPrec :: ReadPrec [DeleteChannel]
readPrec :: ReadPrec DeleteChannel
$creadPrec :: ReadPrec DeleteChannel
readList :: ReadS [DeleteChannel]
$creadList :: ReadS [DeleteChannel]
readsPrec :: Int -> ReadS DeleteChannel
$creadsPrec :: Int -> ReadS DeleteChannel
Prelude.Read, Int -> DeleteChannel -> ShowS
[DeleteChannel] -> ShowS
DeleteChannel -> String
(Int -> DeleteChannel -> ShowS)
-> (DeleteChannel -> String)
-> ([DeleteChannel] -> ShowS)
-> Show DeleteChannel
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [DeleteChannel] -> ShowS
$cshowList :: [DeleteChannel] -> ShowS
show :: DeleteChannel -> String
$cshow :: DeleteChannel -> String
showsPrec :: Int -> DeleteChannel -> ShowS
$cshowsPrec :: Int -> DeleteChannel -> ShowS
Prelude.Show, (forall x. DeleteChannel -> Rep DeleteChannel x)
-> (forall x. Rep DeleteChannel x -> DeleteChannel)
-> Generic DeleteChannel
forall x. Rep DeleteChannel x -> DeleteChannel
forall x. DeleteChannel -> Rep DeleteChannel x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep DeleteChannel x -> DeleteChannel
$cfrom :: forall x. DeleteChannel -> Rep DeleteChannel x
Prelude.Generic)

-- |
-- Create a value of 'DeleteChannel' with all optional fields omitted.
--
-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.
--
-- The following record fields are available, with the corresponding lenses provided
-- for backwards compatibility:
--
-- 'channelId', 'deleteChannel_channelId' - Unique ID of the channel.
newDeleteChannel ::
  -- | 'channelId'
  Prelude.Text ->
  DeleteChannel
newDeleteChannel :: Text -> DeleteChannel
newDeleteChannel Text
pChannelId_ =
  DeleteChannel' :: Text -> DeleteChannel
DeleteChannel' {$sel:channelId:DeleteChannel' :: Text
channelId = Text
pChannelId_}

-- | Unique ID of the channel.
deleteChannel_channelId :: Lens.Lens' DeleteChannel Prelude.Text
deleteChannel_channelId :: (Text -> f Text) -> DeleteChannel -> f DeleteChannel
deleteChannel_channelId = (DeleteChannel -> Text)
-> (DeleteChannel -> Text -> DeleteChannel)
-> Lens DeleteChannel DeleteChannel Text Text
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DeleteChannel' {Text
channelId :: Text
$sel:channelId:DeleteChannel' :: DeleteChannel -> Text
channelId} -> Text
channelId) (\s :: DeleteChannel
s@DeleteChannel' {} Text
a -> DeleteChannel
s {$sel:channelId:DeleteChannel' :: Text
channelId = Text
a} :: DeleteChannel)

instance Core.AWSRequest DeleteChannel where
  type
    AWSResponse DeleteChannel =
      DeleteChannelResponse
  request :: DeleteChannel -> Request DeleteChannel
request = Service -> DeleteChannel -> Request DeleteChannel
forall a. ToRequest a => Service -> a -> Request a
Request.delete Service
defaultService
  response :: Logger
-> Service
-> Proxy DeleteChannel
-> ClientResponse ClientBody
-> m (Either Error (ClientResponse (AWSResponse DeleteChannel)))
response =
    (Int
 -> ResponseHeaders
 -> Object
 -> Either String (AWSResponse DeleteChannel))
-> Logger
-> Service
-> Proxy DeleteChannel
-> ClientResponse ClientBody
-> m (Either Error (ClientResponse (AWSResponse DeleteChannel)))
forall (m :: * -> *) a.
MonadResource m =>
(Int -> ResponseHeaders -> Object -> Either String (AWSResponse a))
-> Logger
-> Service
-> Proxy a
-> ClientResponse ClientBody
-> m (Either Error (ClientResponse (AWSResponse a)))
Response.receiveJSON
      ( \Int
s ResponseHeaders
h Object
x ->
          Maybe ChannelState
-> Maybe LogLevel
-> Maybe Text
-> Maybe Int
-> Maybe [PipelineDetail]
-> Maybe InputSpecification
-> Maybe [InputAttachment]
-> Maybe [OutputDestination]
-> Maybe Text
-> Maybe CdiInputSpecification
-> Maybe Text
-> Maybe ChannelClass
-> Maybe VpcOutputSettingsDescription
-> Maybe [ChannelEgressEndpoint]
-> Maybe (HashMap Text Text)
-> Maybe EncoderSettings
-> Maybe Text
-> Int
-> DeleteChannelResponse
DeleteChannelResponse'
            (Maybe ChannelState
 -> Maybe LogLevel
 -> Maybe Text
 -> Maybe Int
 -> Maybe [PipelineDetail]
 -> Maybe InputSpecification
 -> Maybe [InputAttachment]
 -> Maybe [OutputDestination]
 -> Maybe Text
 -> Maybe CdiInputSpecification
 -> Maybe Text
 -> Maybe ChannelClass
 -> Maybe VpcOutputSettingsDescription
 -> Maybe [ChannelEgressEndpoint]
 -> Maybe (HashMap Text Text)
 -> Maybe EncoderSettings
 -> Maybe Text
 -> Int
 -> DeleteChannelResponse)
-> Either String (Maybe ChannelState)
-> Either
     String
     (Maybe LogLevel
      -> Maybe Text
      -> Maybe Int
      -> Maybe [PipelineDetail]
      -> Maybe InputSpecification
      -> Maybe [InputAttachment]
      -> Maybe [OutputDestination]
      -> Maybe Text
      -> Maybe CdiInputSpecification
      -> Maybe Text
      -> Maybe ChannelClass
      -> Maybe VpcOutputSettingsDescription
      -> Maybe [ChannelEgressEndpoint]
      -> Maybe (HashMap Text Text)
      -> Maybe EncoderSettings
      -> Maybe Text
      -> Int
      -> DeleteChannelResponse)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> (Object
x Object -> Text -> Either String (Maybe ChannelState)
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"state")
            Either
  String
  (Maybe LogLevel
   -> Maybe Text
   -> Maybe Int
   -> Maybe [PipelineDetail]
   -> Maybe InputSpecification
   -> Maybe [InputAttachment]
   -> Maybe [OutputDestination]
   -> Maybe Text
   -> Maybe CdiInputSpecification
   -> Maybe Text
   -> Maybe ChannelClass
   -> Maybe VpcOutputSettingsDescription
   -> Maybe [ChannelEgressEndpoint]
   -> Maybe (HashMap Text Text)
   -> Maybe EncoderSettings
   -> Maybe Text
   -> Int
   -> DeleteChannelResponse)
-> Either String (Maybe LogLevel)
-> Either
     String
     (Maybe Text
      -> Maybe Int
      -> Maybe [PipelineDetail]
      -> Maybe InputSpecification
      -> Maybe [InputAttachment]
      -> Maybe [OutputDestination]
      -> Maybe Text
      -> Maybe CdiInputSpecification
      -> Maybe Text
      -> Maybe ChannelClass
      -> Maybe VpcOutputSettingsDescription
      -> Maybe [ChannelEgressEndpoint]
      -> Maybe (HashMap Text Text)
      -> Maybe EncoderSettings
      -> Maybe Text
      -> Int
      -> DeleteChannelResponse)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Either String (Maybe LogLevel)
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"logLevel")
            Either
  String
  (Maybe Text
   -> Maybe Int
   -> Maybe [PipelineDetail]
   -> Maybe InputSpecification
   -> Maybe [InputAttachment]
   -> Maybe [OutputDestination]
   -> Maybe Text
   -> Maybe CdiInputSpecification
   -> Maybe Text
   -> Maybe ChannelClass
   -> Maybe VpcOutputSettingsDescription
   -> Maybe [ChannelEgressEndpoint]
   -> Maybe (HashMap Text Text)
   -> Maybe EncoderSettings
   -> Maybe Text
   -> Int
   -> DeleteChannelResponse)
-> Either String (Maybe Text)
-> Either
     String
     (Maybe Int
      -> Maybe [PipelineDetail]
      -> Maybe InputSpecification
      -> Maybe [InputAttachment]
      -> Maybe [OutputDestination]
      -> Maybe Text
      -> Maybe CdiInputSpecification
      -> Maybe Text
      -> Maybe ChannelClass
      -> Maybe VpcOutputSettingsDescription
      -> Maybe [ChannelEgressEndpoint]
      -> Maybe (HashMap Text Text)
      -> Maybe EncoderSettings
      -> Maybe Text
      -> Int
      -> DeleteChannelResponse)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Either String (Maybe Text)
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"arn")
            Either
  String
  (Maybe Int
   -> Maybe [PipelineDetail]
   -> Maybe InputSpecification
   -> Maybe [InputAttachment]
   -> Maybe [OutputDestination]
   -> Maybe Text
   -> Maybe CdiInputSpecification
   -> Maybe Text
   -> Maybe ChannelClass
   -> Maybe VpcOutputSettingsDescription
   -> Maybe [ChannelEgressEndpoint]
   -> Maybe (HashMap Text Text)
   -> Maybe EncoderSettings
   -> Maybe Text
   -> Int
   -> DeleteChannelResponse)
-> Either String (Maybe Int)
-> Either
     String
     (Maybe [PipelineDetail]
      -> Maybe InputSpecification
      -> Maybe [InputAttachment]
      -> Maybe [OutputDestination]
      -> Maybe Text
      -> Maybe CdiInputSpecification
      -> Maybe Text
      -> Maybe ChannelClass
      -> Maybe VpcOutputSettingsDescription
      -> Maybe [ChannelEgressEndpoint]
      -> Maybe (HashMap Text Text)
      -> Maybe EncoderSettings
      -> Maybe Text
      -> Int
      -> DeleteChannelResponse)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Either String (Maybe Int)
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"pipelinesRunningCount")
            Either
  String
  (Maybe [PipelineDetail]
   -> Maybe InputSpecification
   -> Maybe [InputAttachment]
   -> Maybe [OutputDestination]
   -> Maybe Text
   -> Maybe CdiInputSpecification
   -> Maybe Text
   -> Maybe ChannelClass
   -> Maybe VpcOutputSettingsDescription
   -> Maybe [ChannelEgressEndpoint]
   -> Maybe (HashMap Text Text)
   -> Maybe EncoderSettings
   -> Maybe Text
   -> Int
   -> DeleteChannelResponse)
-> Either String (Maybe [PipelineDetail])
-> Either
     String
     (Maybe InputSpecification
      -> Maybe [InputAttachment]
      -> Maybe [OutputDestination]
      -> Maybe Text
      -> Maybe CdiInputSpecification
      -> Maybe Text
      -> Maybe ChannelClass
      -> Maybe VpcOutputSettingsDescription
      -> Maybe [ChannelEgressEndpoint]
      -> Maybe (HashMap Text Text)
      -> Maybe EncoderSettings
      -> Maybe Text
      -> Int
      -> DeleteChannelResponse)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> ( Object
x Object -> Text -> Either String (Maybe (Maybe [PipelineDetail]))
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"pipelineDetails"
                            Either String (Maybe (Maybe [PipelineDetail]))
-> Maybe [PipelineDetail] -> Either String (Maybe [PipelineDetail])
forall (f :: * -> *) a. Functor f => f (Maybe a) -> a -> f a
Core..!@ Maybe [PipelineDetail]
forall a. Monoid a => a
Prelude.mempty
                        )
            Either
  String
  (Maybe InputSpecification
   -> Maybe [InputAttachment]
   -> Maybe [OutputDestination]
   -> Maybe Text
   -> Maybe CdiInputSpecification
   -> Maybe Text
   -> Maybe ChannelClass
   -> Maybe VpcOutputSettingsDescription
   -> Maybe [ChannelEgressEndpoint]
   -> Maybe (HashMap Text Text)
   -> Maybe EncoderSettings
   -> Maybe Text
   -> Int
   -> DeleteChannelResponse)
-> Either String (Maybe InputSpecification)
-> Either
     String
     (Maybe [InputAttachment]
      -> Maybe [OutputDestination]
      -> Maybe Text
      -> Maybe CdiInputSpecification
      -> Maybe Text
      -> Maybe ChannelClass
      -> Maybe VpcOutputSettingsDescription
      -> Maybe [ChannelEgressEndpoint]
      -> Maybe (HashMap Text Text)
      -> Maybe EncoderSettings
      -> Maybe Text
      -> Int
      -> DeleteChannelResponse)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Either String (Maybe InputSpecification)
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"inputSpecification")
            Either
  String
  (Maybe [InputAttachment]
   -> Maybe [OutputDestination]
   -> Maybe Text
   -> Maybe CdiInputSpecification
   -> Maybe Text
   -> Maybe ChannelClass
   -> Maybe VpcOutputSettingsDescription
   -> Maybe [ChannelEgressEndpoint]
   -> Maybe (HashMap Text Text)
   -> Maybe EncoderSettings
   -> Maybe Text
   -> Int
   -> DeleteChannelResponse)
-> Either String (Maybe [InputAttachment])
-> Either
     String
     (Maybe [OutputDestination]
      -> Maybe Text
      -> Maybe CdiInputSpecification
      -> Maybe Text
      -> Maybe ChannelClass
      -> Maybe VpcOutputSettingsDescription
      -> Maybe [ChannelEgressEndpoint]
      -> Maybe (HashMap Text Text)
      -> Maybe EncoderSettings
      -> Maybe Text
      -> Int
      -> DeleteChannelResponse)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> ( Object
x Object -> Text -> Either String (Maybe (Maybe [InputAttachment]))
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"inputAttachments"
                            Either String (Maybe (Maybe [InputAttachment]))
-> Maybe [InputAttachment]
-> Either String (Maybe [InputAttachment])
forall (f :: * -> *) a. Functor f => f (Maybe a) -> a -> f a
Core..!@ Maybe [InputAttachment]
forall a. Monoid a => a
Prelude.mempty
                        )
            Either
  String
  (Maybe [OutputDestination]
   -> Maybe Text
   -> Maybe CdiInputSpecification
   -> Maybe Text
   -> Maybe ChannelClass
   -> Maybe VpcOutputSettingsDescription
   -> Maybe [ChannelEgressEndpoint]
   -> Maybe (HashMap Text Text)
   -> Maybe EncoderSettings
   -> Maybe Text
   -> Int
   -> DeleteChannelResponse)
-> Either String (Maybe [OutputDestination])
-> Either
     String
     (Maybe Text
      -> Maybe CdiInputSpecification
      -> Maybe Text
      -> Maybe ChannelClass
      -> Maybe VpcOutputSettingsDescription
      -> Maybe [ChannelEgressEndpoint]
      -> Maybe (HashMap Text Text)
      -> Maybe EncoderSettings
      -> Maybe Text
      -> Int
      -> DeleteChannelResponse)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Either String (Maybe (Maybe [OutputDestination]))
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"destinations" Either String (Maybe (Maybe [OutputDestination]))
-> Maybe [OutputDestination]
-> Either String (Maybe [OutputDestination])
forall (f :: * -> *) a. Functor f => f (Maybe a) -> a -> f a
Core..!@ Maybe [OutputDestination]
forall a. Monoid a => a
Prelude.mempty)
            Either
  String
  (Maybe Text
   -> Maybe CdiInputSpecification
   -> Maybe Text
   -> Maybe ChannelClass
   -> Maybe VpcOutputSettingsDescription
   -> Maybe [ChannelEgressEndpoint]
   -> Maybe (HashMap Text Text)
   -> Maybe EncoderSettings
   -> Maybe Text
   -> Int
   -> DeleteChannelResponse)
-> Either String (Maybe Text)
-> Either
     String
     (Maybe CdiInputSpecification
      -> Maybe Text
      -> Maybe ChannelClass
      -> Maybe VpcOutputSettingsDescription
      -> Maybe [ChannelEgressEndpoint]
      -> Maybe (HashMap Text Text)
      -> Maybe EncoderSettings
      -> Maybe Text
      -> Int
      -> DeleteChannelResponse)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Either String (Maybe Text)
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"name")
            Either
  String
  (Maybe CdiInputSpecification
   -> Maybe Text
   -> Maybe ChannelClass
   -> Maybe VpcOutputSettingsDescription
   -> Maybe [ChannelEgressEndpoint]
   -> Maybe (HashMap Text Text)
   -> Maybe EncoderSettings
   -> Maybe Text
   -> Int
   -> DeleteChannelResponse)
-> Either String (Maybe CdiInputSpecification)
-> Either
     String
     (Maybe Text
      -> Maybe ChannelClass
      -> Maybe VpcOutputSettingsDescription
      -> Maybe [ChannelEgressEndpoint]
      -> Maybe (HashMap Text Text)
      -> Maybe EncoderSettings
      -> Maybe Text
      -> Int
      -> DeleteChannelResponse)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Either String (Maybe CdiInputSpecification)
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"cdiInputSpecification")
            Either
  String
  (Maybe Text
   -> Maybe ChannelClass
   -> Maybe VpcOutputSettingsDescription
   -> Maybe [ChannelEgressEndpoint]
   -> Maybe (HashMap Text Text)
   -> Maybe EncoderSettings
   -> Maybe Text
   -> Int
   -> DeleteChannelResponse)
-> Either String (Maybe Text)
-> Either
     String
     (Maybe ChannelClass
      -> Maybe VpcOutputSettingsDescription
      -> Maybe [ChannelEgressEndpoint]
      -> Maybe (HashMap Text Text)
      -> Maybe EncoderSettings
      -> Maybe Text
      -> Int
      -> DeleteChannelResponse)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Either String (Maybe Text)
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"id")
            Either
  String
  (Maybe ChannelClass
   -> Maybe VpcOutputSettingsDescription
   -> Maybe [ChannelEgressEndpoint]
   -> Maybe (HashMap Text Text)
   -> Maybe EncoderSettings
   -> Maybe Text
   -> Int
   -> DeleteChannelResponse)
-> Either String (Maybe ChannelClass)
-> Either
     String
     (Maybe VpcOutputSettingsDescription
      -> Maybe [ChannelEgressEndpoint]
      -> Maybe (HashMap Text Text)
      -> Maybe EncoderSettings
      -> Maybe Text
      -> Int
      -> DeleteChannelResponse)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Either String (Maybe ChannelClass)
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"channelClass")
            Either
  String
  (Maybe VpcOutputSettingsDescription
   -> Maybe [ChannelEgressEndpoint]
   -> Maybe (HashMap Text Text)
   -> Maybe EncoderSettings
   -> Maybe Text
   -> Int
   -> DeleteChannelResponse)
-> Either String (Maybe VpcOutputSettingsDescription)
-> Either
     String
     (Maybe [ChannelEgressEndpoint]
      -> Maybe (HashMap Text Text)
      -> Maybe EncoderSettings
      -> Maybe Text
      -> Int
      -> DeleteChannelResponse)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object
-> Text -> Either String (Maybe VpcOutputSettingsDescription)
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"vpc")
            Either
  String
  (Maybe [ChannelEgressEndpoint]
   -> Maybe (HashMap Text Text)
   -> Maybe EncoderSettings
   -> Maybe Text
   -> Int
   -> DeleteChannelResponse)
-> Either String (Maybe [ChannelEgressEndpoint])
-> Either
     String
     (Maybe (HashMap Text Text)
      -> Maybe EncoderSettings
      -> Maybe Text
      -> Int
      -> DeleteChannelResponse)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> ( Object
x Object
-> Text -> Either String (Maybe (Maybe [ChannelEgressEndpoint]))
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"egressEndpoints"
                            Either String (Maybe (Maybe [ChannelEgressEndpoint]))
-> Maybe [ChannelEgressEndpoint]
-> Either String (Maybe [ChannelEgressEndpoint])
forall (f :: * -> *) a. Functor f => f (Maybe a) -> a -> f a
Core..!@ Maybe [ChannelEgressEndpoint]
forall a. Monoid a => a
Prelude.mempty
                        )
            Either
  String
  (Maybe (HashMap Text Text)
   -> Maybe EncoderSettings
   -> Maybe Text
   -> Int
   -> DeleteChannelResponse)
-> Either String (Maybe (HashMap Text Text))
-> Either
     String
     (Maybe EncoderSettings
      -> Maybe Text -> Int -> DeleteChannelResponse)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Either String (Maybe (Maybe (HashMap Text Text)))
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"tags" Either String (Maybe (Maybe (HashMap Text Text)))
-> Maybe (HashMap Text Text)
-> Either String (Maybe (HashMap Text Text))
forall (f :: * -> *) a. Functor f => f (Maybe a) -> a -> f a
Core..!@ Maybe (HashMap Text Text)
forall a. Monoid a => a
Prelude.mempty)
            Either
  String
  (Maybe EncoderSettings
   -> Maybe Text -> Int -> DeleteChannelResponse)
-> Either String (Maybe EncoderSettings)
-> Either String (Maybe Text -> Int -> DeleteChannelResponse)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Either String (Maybe EncoderSettings)
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"encoderSettings")
            Either String (Maybe Text -> Int -> DeleteChannelResponse)
-> Either String (Maybe Text)
-> Either String (Int -> DeleteChannelResponse)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Either String (Maybe Text)
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"roleArn")
            Either String (Int -> DeleteChannelResponse)
-> Either String Int -> Either String DeleteChannelResponse
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Int -> Either String Int
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure (Int -> Int
forall a. Enum a => a -> Int
Prelude.fromEnum Int
s))
      )

instance Prelude.Hashable DeleteChannel

instance Prelude.NFData DeleteChannel

instance Core.ToHeaders DeleteChannel where
  toHeaders :: DeleteChannel -> ResponseHeaders
toHeaders =
    ResponseHeaders -> DeleteChannel -> ResponseHeaders
forall a b. a -> b -> a
Prelude.const
      ( [ResponseHeaders] -> ResponseHeaders
forall a. Monoid a => [a] -> a
Prelude.mconcat
          [ HeaderName
"Content-Type"
              HeaderName -> ByteString -> ResponseHeaders
forall a. ToHeader a => HeaderName -> a -> ResponseHeaders
Core.=# ( ByteString
"application/x-amz-json-1.1" ::
                          Prelude.ByteString
                      )
          ]
      )

instance Core.ToPath DeleteChannel where
  toPath :: DeleteChannel -> ByteString
toPath DeleteChannel' {Text
channelId :: Text
$sel:channelId:DeleteChannel' :: DeleteChannel -> Text
..} =
    [ByteString] -> ByteString
forall a. Monoid a => [a] -> a
Prelude.mconcat
      [ByteString
"/prod/channels/", Text -> ByteString
forall a. ToByteString a => a -> ByteString
Core.toBS Text
channelId]

instance Core.ToQuery DeleteChannel where
  toQuery :: DeleteChannel -> QueryString
toQuery = QueryString -> DeleteChannel -> QueryString
forall a b. a -> b -> a
Prelude.const QueryString
forall a. Monoid a => a
Prelude.mempty

-- | Placeholder documentation for DeleteChannelResponse
--
-- /See:/ 'newDeleteChannelResponse' smart constructor.
data DeleteChannelResponse = DeleteChannelResponse'
  { DeleteChannelResponse -> Maybe ChannelState
state :: Prelude.Maybe ChannelState,
    -- | The log level being written to CloudWatch Logs.
    DeleteChannelResponse -> Maybe LogLevel
logLevel :: Prelude.Maybe LogLevel,
    -- | The unique arn of the channel.
    DeleteChannelResponse -> Maybe Text
arn :: Prelude.Maybe Prelude.Text,
    -- | The number of currently healthy pipelines.
    DeleteChannelResponse -> Maybe Int
pipelinesRunningCount :: Prelude.Maybe Prelude.Int,
    -- | Runtime details for the pipelines of a running channel.
    DeleteChannelResponse -> Maybe [PipelineDetail]
pipelineDetails :: Prelude.Maybe [PipelineDetail],
    -- | Specification of network and file inputs for this channel
    DeleteChannelResponse -> Maybe InputSpecification
inputSpecification :: Prelude.Maybe InputSpecification,
    -- | List of input attachments for channel.
    DeleteChannelResponse -> Maybe [InputAttachment]
inputAttachments :: Prelude.Maybe [InputAttachment],
    -- | 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.
    DeleteChannelResponse -> Maybe [OutputDestination]
destinations :: Prelude.Maybe [OutputDestination],
    -- | The name of the channel. (user-mutable)
    DeleteChannelResponse -> Maybe Text
name :: Prelude.Maybe Prelude.Text,
    -- | Specification of CDI inputs for this channel
    DeleteChannelResponse -> Maybe CdiInputSpecification
cdiInputSpecification :: Prelude.Maybe CdiInputSpecification,
    -- | The unique id of the channel.
    DeleteChannelResponse -> Maybe Text
id :: Prelude.Maybe Prelude.Text,
    -- | The class for this channel. STANDARD for a channel with two pipelines or
    -- SINGLE_PIPELINE for a channel with one pipeline.
    DeleteChannelResponse -> Maybe ChannelClass
channelClass :: Prelude.Maybe ChannelClass,
    -- | Settings for VPC output
    DeleteChannelResponse -> Maybe VpcOutputSettingsDescription
vpc :: Prelude.Maybe VpcOutputSettingsDescription,
    -- | The endpoints where outgoing connections initiate from
    DeleteChannelResponse -> Maybe [ChannelEgressEndpoint]
egressEndpoints :: Prelude.Maybe [ChannelEgressEndpoint],
    -- | A collection of key-value pairs.
    DeleteChannelResponse -> Maybe (HashMap Text Text)
tags :: Prelude.Maybe (Prelude.HashMap Prelude.Text Prelude.Text),
    DeleteChannelResponse -> Maybe EncoderSettings
encoderSettings :: Prelude.Maybe EncoderSettings,
    -- | The Amazon Resource Name (ARN) of the role assumed when running the
    -- Channel.
    DeleteChannelResponse -> Maybe Text
roleArn :: Prelude.Maybe Prelude.Text,
    -- | The response's http status code.
    DeleteChannelResponse -> Int
httpStatus :: Prelude.Int
  }
  deriving (DeleteChannelResponse -> DeleteChannelResponse -> Bool
(DeleteChannelResponse -> DeleteChannelResponse -> Bool)
-> (DeleteChannelResponse -> DeleteChannelResponse -> Bool)
-> Eq DeleteChannelResponse
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: DeleteChannelResponse -> DeleteChannelResponse -> Bool
$c/= :: DeleteChannelResponse -> DeleteChannelResponse -> Bool
== :: DeleteChannelResponse -> DeleteChannelResponse -> Bool
$c== :: DeleteChannelResponse -> DeleteChannelResponse -> Bool
Prelude.Eq, ReadPrec [DeleteChannelResponse]
ReadPrec DeleteChannelResponse
Int -> ReadS DeleteChannelResponse
ReadS [DeleteChannelResponse]
(Int -> ReadS DeleteChannelResponse)
-> ReadS [DeleteChannelResponse]
-> ReadPrec DeleteChannelResponse
-> ReadPrec [DeleteChannelResponse]
-> Read DeleteChannelResponse
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [DeleteChannelResponse]
$creadListPrec :: ReadPrec [DeleteChannelResponse]
readPrec :: ReadPrec DeleteChannelResponse
$creadPrec :: ReadPrec DeleteChannelResponse
readList :: ReadS [DeleteChannelResponse]
$creadList :: ReadS [DeleteChannelResponse]
readsPrec :: Int -> ReadS DeleteChannelResponse
$creadsPrec :: Int -> ReadS DeleteChannelResponse
Prelude.Read, Int -> DeleteChannelResponse -> ShowS
[DeleteChannelResponse] -> ShowS
DeleteChannelResponse -> String
(Int -> DeleteChannelResponse -> ShowS)
-> (DeleteChannelResponse -> String)
-> ([DeleteChannelResponse] -> ShowS)
-> Show DeleteChannelResponse
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [DeleteChannelResponse] -> ShowS
$cshowList :: [DeleteChannelResponse] -> ShowS
show :: DeleteChannelResponse -> String
$cshow :: DeleteChannelResponse -> String
showsPrec :: Int -> DeleteChannelResponse -> ShowS
$cshowsPrec :: Int -> DeleteChannelResponse -> ShowS
Prelude.Show, (forall x. DeleteChannelResponse -> Rep DeleteChannelResponse x)
-> (forall x. Rep DeleteChannelResponse x -> DeleteChannelResponse)
-> Generic DeleteChannelResponse
forall x. Rep DeleteChannelResponse x -> DeleteChannelResponse
forall x. DeleteChannelResponse -> Rep DeleteChannelResponse x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep DeleteChannelResponse x -> DeleteChannelResponse
$cfrom :: forall x. DeleteChannelResponse -> Rep DeleteChannelResponse x
Prelude.Generic)

-- |
-- Create a value of 'DeleteChannelResponse' with all optional fields omitted.
--
-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.
--
-- The following record fields are available, with the corresponding lenses provided
-- for backwards compatibility:
--
-- 'state', 'deleteChannelResponse_state' - Undocumented member.
--
-- 'logLevel', 'deleteChannelResponse_logLevel' - The log level being written to CloudWatch Logs.
--
-- 'arn', 'deleteChannelResponse_arn' - The unique arn of the channel.
--
-- 'pipelinesRunningCount', 'deleteChannelResponse_pipelinesRunningCount' - The number of currently healthy pipelines.
--
-- 'pipelineDetails', 'deleteChannelResponse_pipelineDetails' - Runtime details for the pipelines of a running channel.
--
-- 'inputSpecification', 'deleteChannelResponse_inputSpecification' - Specification of network and file inputs for this channel
--
-- 'inputAttachments', 'deleteChannelResponse_inputAttachments' - List of input attachments for channel.
--
-- 'destinations', 'deleteChannelResponse_destinations' - 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.
--
-- 'name', 'deleteChannelResponse_name' - The name of the channel. (user-mutable)
--
-- 'cdiInputSpecification', 'deleteChannelResponse_cdiInputSpecification' - Specification of CDI inputs for this channel
--
-- 'id', 'deleteChannelResponse_id' - The unique id of the channel.
--
-- 'channelClass', 'deleteChannelResponse_channelClass' - The class for this channel. STANDARD for a channel with two pipelines or
-- SINGLE_PIPELINE for a channel with one pipeline.
--
-- 'vpc', 'deleteChannelResponse_vpc' - Settings for VPC output
--
-- 'egressEndpoints', 'deleteChannelResponse_egressEndpoints' - The endpoints where outgoing connections initiate from
--
-- 'tags', 'deleteChannelResponse_tags' - A collection of key-value pairs.
--
-- 'encoderSettings', 'deleteChannelResponse_encoderSettings' - Undocumented member.
--
-- 'roleArn', 'deleteChannelResponse_roleArn' - The Amazon Resource Name (ARN) of the role assumed when running the
-- Channel.
--
-- 'httpStatus', 'deleteChannelResponse_httpStatus' - The response's http status code.
newDeleteChannelResponse ::
  -- | 'httpStatus'
  Prelude.Int ->
  DeleteChannelResponse
newDeleteChannelResponse :: Int -> DeleteChannelResponse
newDeleteChannelResponse Int
pHttpStatus_ =
  DeleteChannelResponse' :: Maybe ChannelState
-> Maybe LogLevel
-> Maybe Text
-> Maybe Int
-> Maybe [PipelineDetail]
-> Maybe InputSpecification
-> Maybe [InputAttachment]
-> Maybe [OutputDestination]
-> Maybe Text
-> Maybe CdiInputSpecification
-> Maybe Text
-> Maybe ChannelClass
-> Maybe VpcOutputSettingsDescription
-> Maybe [ChannelEgressEndpoint]
-> Maybe (HashMap Text Text)
-> Maybe EncoderSettings
-> Maybe Text
-> Int
-> DeleteChannelResponse
DeleteChannelResponse'
    { $sel:state:DeleteChannelResponse' :: Maybe ChannelState
state = Maybe ChannelState
forall a. Maybe a
Prelude.Nothing,
      $sel:logLevel:DeleteChannelResponse' :: Maybe LogLevel
logLevel = Maybe LogLevel
forall a. Maybe a
Prelude.Nothing,
      $sel:arn:DeleteChannelResponse' :: Maybe Text
arn = Maybe Text
forall a. Maybe a
Prelude.Nothing,
      $sel:pipelinesRunningCount:DeleteChannelResponse' :: Maybe Int
pipelinesRunningCount = Maybe Int
forall a. Maybe a
Prelude.Nothing,
      $sel:pipelineDetails:DeleteChannelResponse' :: Maybe [PipelineDetail]
pipelineDetails = Maybe [PipelineDetail]
forall a. Maybe a
Prelude.Nothing,
      $sel:inputSpecification:DeleteChannelResponse' :: Maybe InputSpecification
inputSpecification = Maybe InputSpecification
forall a. Maybe a
Prelude.Nothing,
      $sel:inputAttachments:DeleteChannelResponse' :: Maybe [InputAttachment]
inputAttachments = Maybe [InputAttachment]
forall a. Maybe a
Prelude.Nothing,
      $sel:destinations:DeleteChannelResponse' :: Maybe [OutputDestination]
destinations = Maybe [OutputDestination]
forall a. Maybe a
Prelude.Nothing,
      $sel:name:DeleteChannelResponse' :: Maybe Text
name = Maybe Text
forall a. Maybe a
Prelude.Nothing,
      $sel:cdiInputSpecification:DeleteChannelResponse' :: Maybe CdiInputSpecification
cdiInputSpecification = Maybe CdiInputSpecification
forall a. Maybe a
Prelude.Nothing,
      $sel:id:DeleteChannelResponse' :: Maybe Text
id = Maybe Text
forall a. Maybe a
Prelude.Nothing,
      $sel:channelClass:DeleteChannelResponse' :: Maybe ChannelClass
channelClass = Maybe ChannelClass
forall a. Maybe a
Prelude.Nothing,
      $sel:vpc:DeleteChannelResponse' :: Maybe VpcOutputSettingsDescription
vpc = Maybe VpcOutputSettingsDescription
forall a. Maybe a
Prelude.Nothing,
      $sel:egressEndpoints:DeleteChannelResponse' :: Maybe [ChannelEgressEndpoint]
egressEndpoints = Maybe [ChannelEgressEndpoint]
forall a. Maybe a
Prelude.Nothing,
      $sel:tags:DeleteChannelResponse' :: Maybe (HashMap Text Text)
tags = Maybe (HashMap Text Text)
forall a. Maybe a
Prelude.Nothing,
      $sel:encoderSettings:DeleteChannelResponse' :: Maybe EncoderSettings
encoderSettings = Maybe EncoderSettings
forall a. Maybe a
Prelude.Nothing,
      $sel:roleArn:DeleteChannelResponse' :: Maybe Text
roleArn = Maybe Text
forall a. Maybe a
Prelude.Nothing,
      $sel:httpStatus:DeleteChannelResponse' :: Int
httpStatus = Int
pHttpStatus_
    }

-- | Undocumented member.
deleteChannelResponse_state :: Lens.Lens' DeleteChannelResponse (Prelude.Maybe ChannelState)
deleteChannelResponse_state :: (Maybe ChannelState -> f (Maybe ChannelState))
-> DeleteChannelResponse -> f DeleteChannelResponse
deleteChannelResponse_state = (DeleteChannelResponse -> Maybe ChannelState)
-> (DeleteChannelResponse
    -> Maybe ChannelState -> DeleteChannelResponse)
-> Lens
     DeleteChannelResponse
     DeleteChannelResponse
     (Maybe ChannelState)
     (Maybe ChannelState)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DeleteChannelResponse' {Maybe ChannelState
state :: Maybe ChannelState
$sel:state:DeleteChannelResponse' :: DeleteChannelResponse -> Maybe ChannelState
state} -> Maybe ChannelState
state) (\s :: DeleteChannelResponse
s@DeleteChannelResponse' {} Maybe ChannelState
a -> DeleteChannelResponse
s {$sel:state:DeleteChannelResponse' :: Maybe ChannelState
state = Maybe ChannelState
a} :: DeleteChannelResponse)

-- | The log level being written to CloudWatch Logs.
deleteChannelResponse_logLevel :: Lens.Lens' DeleteChannelResponse (Prelude.Maybe LogLevel)
deleteChannelResponse_logLevel :: (Maybe LogLevel -> f (Maybe LogLevel))
-> DeleteChannelResponse -> f DeleteChannelResponse
deleteChannelResponse_logLevel = (DeleteChannelResponse -> Maybe LogLevel)
-> (DeleteChannelResponse
    -> Maybe LogLevel -> DeleteChannelResponse)
-> Lens
     DeleteChannelResponse
     DeleteChannelResponse
     (Maybe LogLevel)
     (Maybe LogLevel)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DeleteChannelResponse' {Maybe LogLevel
logLevel :: Maybe LogLevel
$sel:logLevel:DeleteChannelResponse' :: DeleteChannelResponse -> Maybe LogLevel
logLevel} -> Maybe LogLevel
logLevel) (\s :: DeleteChannelResponse
s@DeleteChannelResponse' {} Maybe LogLevel
a -> DeleteChannelResponse
s {$sel:logLevel:DeleteChannelResponse' :: Maybe LogLevel
logLevel = Maybe LogLevel
a} :: DeleteChannelResponse)

-- | The unique arn of the channel.
deleteChannelResponse_arn :: Lens.Lens' DeleteChannelResponse (Prelude.Maybe Prelude.Text)
deleteChannelResponse_arn :: (Maybe Text -> f (Maybe Text))
-> DeleteChannelResponse -> f DeleteChannelResponse
deleteChannelResponse_arn = (DeleteChannelResponse -> Maybe Text)
-> (DeleteChannelResponse -> Maybe Text -> DeleteChannelResponse)
-> Lens
     DeleteChannelResponse
     DeleteChannelResponse
     (Maybe Text)
     (Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DeleteChannelResponse' {Maybe Text
arn :: Maybe Text
$sel:arn:DeleteChannelResponse' :: DeleteChannelResponse -> Maybe Text
arn} -> Maybe Text
arn) (\s :: DeleteChannelResponse
s@DeleteChannelResponse' {} Maybe Text
a -> DeleteChannelResponse
s {$sel:arn:DeleteChannelResponse' :: Maybe Text
arn = Maybe Text
a} :: DeleteChannelResponse)

-- | The number of currently healthy pipelines.
deleteChannelResponse_pipelinesRunningCount :: Lens.Lens' DeleteChannelResponse (Prelude.Maybe Prelude.Int)
deleteChannelResponse_pipelinesRunningCount :: (Maybe Int -> f (Maybe Int))
-> DeleteChannelResponse -> f DeleteChannelResponse
deleteChannelResponse_pipelinesRunningCount = (DeleteChannelResponse -> Maybe Int)
-> (DeleteChannelResponse -> Maybe Int -> DeleteChannelResponse)
-> Lens
     DeleteChannelResponse DeleteChannelResponse (Maybe Int) (Maybe Int)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DeleteChannelResponse' {Maybe Int
pipelinesRunningCount :: Maybe Int
$sel:pipelinesRunningCount:DeleteChannelResponse' :: DeleteChannelResponse -> Maybe Int
pipelinesRunningCount} -> Maybe Int
pipelinesRunningCount) (\s :: DeleteChannelResponse
s@DeleteChannelResponse' {} Maybe Int
a -> DeleteChannelResponse
s {$sel:pipelinesRunningCount:DeleteChannelResponse' :: Maybe Int
pipelinesRunningCount = Maybe Int
a} :: DeleteChannelResponse)

-- | Runtime details for the pipelines of a running channel.
deleteChannelResponse_pipelineDetails :: Lens.Lens' DeleteChannelResponse (Prelude.Maybe [PipelineDetail])
deleteChannelResponse_pipelineDetails :: (Maybe [PipelineDetail] -> f (Maybe [PipelineDetail]))
-> DeleteChannelResponse -> f DeleteChannelResponse
deleteChannelResponse_pipelineDetails = (DeleteChannelResponse -> Maybe [PipelineDetail])
-> (DeleteChannelResponse
    -> Maybe [PipelineDetail] -> DeleteChannelResponse)
-> Lens
     DeleteChannelResponse
     DeleteChannelResponse
     (Maybe [PipelineDetail])
     (Maybe [PipelineDetail])
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DeleteChannelResponse' {Maybe [PipelineDetail]
pipelineDetails :: Maybe [PipelineDetail]
$sel:pipelineDetails:DeleteChannelResponse' :: DeleteChannelResponse -> Maybe [PipelineDetail]
pipelineDetails} -> Maybe [PipelineDetail]
pipelineDetails) (\s :: DeleteChannelResponse
s@DeleteChannelResponse' {} Maybe [PipelineDetail]
a -> DeleteChannelResponse
s {$sel:pipelineDetails:DeleteChannelResponse' :: Maybe [PipelineDetail]
pipelineDetails = Maybe [PipelineDetail]
a} :: DeleteChannelResponse) ((Maybe [PipelineDetail] -> f (Maybe [PipelineDetail]))
 -> DeleteChannelResponse -> f DeleteChannelResponse)
-> ((Maybe [PipelineDetail] -> f (Maybe [PipelineDetail]))
    -> Maybe [PipelineDetail] -> f (Maybe [PipelineDetail]))
-> (Maybe [PipelineDetail] -> f (Maybe [PipelineDetail]))
-> DeleteChannelResponse
-> f DeleteChannelResponse
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. AnIso
  [PipelineDetail] [PipelineDetail] [PipelineDetail] [PipelineDetail]
-> Iso
     (Maybe [PipelineDetail])
     (Maybe [PipelineDetail])
     (Maybe [PipelineDetail])
     (Maybe [PipelineDetail])
forall (f :: * -> *) (g :: * -> *) s t a b.
(Functor f, Functor g) =>
AnIso s t a b -> Iso (f s) (g t) (f a) (g b)
Lens.mapping AnIso
  [PipelineDetail] [PipelineDetail] [PipelineDetail] [PipelineDetail]
forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced

-- | Specification of network and file inputs for this channel
deleteChannelResponse_inputSpecification :: Lens.Lens' DeleteChannelResponse (Prelude.Maybe InputSpecification)
deleteChannelResponse_inputSpecification :: (Maybe InputSpecification -> f (Maybe InputSpecification))
-> DeleteChannelResponse -> f DeleteChannelResponse
deleteChannelResponse_inputSpecification = (DeleteChannelResponse -> Maybe InputSpecification)
-> (DeleteChannelResponse
    -> Maybe InputSpecification -> DeleteChannelResponse)
-> Lens
     DeleteChannelResponse
     DeleteChannelResponse
     (Maybe InputSpecification)
     (Maybe InputSpecification)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DeleteChannelResponse' {Maybe InputSpecification
inputSpecification :: Maybe InputSpecification
$sel:inputSpecification:DeleteChannelResponse' :: DeleteChannelResponse -> Maybe InputSpecification
inputSpecification} -> Maybe InputSpecification
inputSpecification) (\s :: DeleteChannelResponse
s@DeleteChannelResponse' {} Maybe InputSpecification
a -> DeleteChannelResponse
s {$sel:inputSpecification:DeleteChannelResponse' :: Maybe InputSpecification
inputSpecification = Maybe InputSpecification
a} :: DeleteChannelResponse)

-- | List of input attachments for channel.
deleteChannelResponse_inputAttachments :: Lens.Lens' DeleteChannelResponse (Prelude.Maybe [InputAttachment])
deleteChannelResponse_inputAttachments :: (Maybe [InputAttachment] -> f (Maybe [InputAttachment]))
-> DeleteChannelResponse -> f DeleteChannelResponse
deleteChannelResponse_inputAttachments = (DeleteChannelResponse -> Maybe [InputAttachment])
-> (DeleteChannelResponse
    -> Maybe [InputAttachment] -> DeleteChannelResponse)
-> Lens
     DeleteChannelResponse
     DeleteChannelResponse
     (Maybe [InputAttachment])
     (Maybe [InputAttachment])
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DeleteChannelResponse' {Maybe [InputAttachment]
inputAttachments :: Maybe [InputAttachment]
$sel:inputAttachments:DeleteChannelResponse' :: DeleteChannelResponse -> Maybe [InputAttachment]
inputAttachments} -> Maybe [InputAttachment]
inputAttachments) (\s :: DeleteChannelResponse
s@DeleteChannelResponse' {} Maybe [InputAttachment]
a -> DeleteChannelResponse
s {$sel:inputAttachments:DeleteChannelResponse' :: Maybe [InputAttachment]
inputAttachments = Maybe [InputAttachment]
a} :: DeleteChannelResponse) ((Maybe [InputAttachment] -> f (Maybe [InputAttachment]))
 -> DeleteChannelResponse -> f DeleteChannelResponse)
-> ((Maybe [InputAttachment] -> f (Maybe [InputAttachment]))
    -> Maybe [InputAttachment] -> f (Maybe [InputAttachment]))
-> (Maybe [InputAttachment] -> f (Maybe [InputAttachment]))
-> DeleteChannelResponse
-> f DeleteChannelResponse
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. AnIso
  [InputAttachment]
  [InputAttachment]
  [InputAttachment]
  [InputAttachment]
-> Iso
     (Maybe [InputAttachment])
     (Maybe [InputAttachment])
     (Maybe [InputAttachment])
     (Maybe [InputAttachment])
forall (f :: * -> *) (g :: * -> *) s t a b.
(Functor f, Functor g) =>
AnIso s t a b -> Iso (f s) (g t) (f a) (g b)
Lens.mapping AnIso
  [InputAttachment]
  [InputAttachment]
  [InputAttachment]
  [InputAttachment]
forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced

-- | 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.
deleteChannelResponse_destinations :: Lens.Lens' DeleteChannelResponse (Prelude.Maybe [OutputDestination])
deleteChannelResponse_destinations :: (Maybe [OutputDestination] -> f (Maybe [OutputDestination]))
-> DeleteChannelResponse -> f DeleteChannelResponse
deleteChannelResponse_destinations = (DeleteChannelResponse -> Maybe [OutputDestination])
-> (DeleteChannelResponse
    -> Maybe [OutputDestination] -> DeleteChannelResponse)
-> Lens
     DeleteChannelResponse
     DeleteChannelResponse
     (Maybe [OutputDestination])
     (Maybe [OutputDestination])
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DeleteChannelResponse' {Maybe [OutputDestination]
destinations :: Maybe [OutputDestination]
$sel:destinations:DeleteChannelResponse' :: DeleteChannelResponse -> Maybe [OutputDestination]
destinations} -> Maybe [OutputDestination]
destinations) (\s :: DeleteChannelResponse
s@DeleteChannelResponse' {} Maybe [OutputDestination]
a -> DeleteChannelResponse
s {$sel:destinations:DeleteChannelResponse' :: Maybe [OutputDestination]
destinations = Maybe [OutputDestination]
a} :: DeleteChannelResponse) ((Maybe [OutputDestination] -> f (Maybe [OutputDestination]))
 -> DeleteChannelResponse -> f DeleteChannelResponse)
-> ((Maybe [OutputDestination] -> f (Maybe [OutputDestination]))
    -> Maybe [OutputDestination] -> f (Maybe [OutputDestination]))
-> (Maybe [OutputDestination] -> f (Maybe [OutputDestination]))
-> DeleteChannelResponse
-> f DeleteChannelResponse
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. AnIso
  [OutputDestination]
  [OutputDestination]
  [OutputDestination]
  [OutputDestination]
-> Iso
     (Maybe [OutputDestination])
     (Maybe [OutputDestination])
     (Maybe [OutputDestination])
     (Maybe [OutputDestination])
forall (f :: * -> *) (g :: * -> *) s t a b.
(Functor f, Functor g) =>
AnIso s t a b -> Iso (f s) (g t) (f a) (g b)
Lens.mapping AnIso
  [OutputDestination]
  [OutputDestination]
  [OutputDestination]
  [OutputDestination]
forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced

-- | The name of the channel. (user-mutable)
deleteChannelResponse_name :: Lens.Lens' DeleteChannelResponse (Prelude.Maybe Prelude.Text)
deleteChannelResponse_name :: (Maybe Text -> f (Maybe Text))
-> DeleteChannelResponse -> f DeleteChannelResponse
deleteChannelResponse_name = (DeleteChannelResponse -> Maybe Text)
-> (DeleteChannelResponse -> Maybe Text -> DeleteChannelResponse)
-> Lens
     DeleteChannelResponse
     DeleteChannelResponse
     (Maybe Text)
     (Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DeleteChannelResponse' {Maybe Text
name :: Maybe Text
$sel:name:DeleteChannelResponse' :: DeleteChannelResponse -> Maybe Text
name} -> Maybe Text
name) (\s :: DeleteChannelResponse
s@DeleteChannelResponse' {} Maybe Text
a -> DeleteChannelResponse
s {$sel:name:DeleteChannelResponse' :: Maybe Text
name = Maybe Text
a} :: DeleteChannelResponse)

-- | Specification of CDI inputs for this channel
deleteChannelResponse_cdiInputSpecification :: Lens.Lens' DeleteChannelResponse (Prelude.Maybe CdiInputSpecification)
deleteChannelResponse_cdiInputSpecification :: (Maybe CdiInputSpecification -> f (Maybe CdiInputSpecification))
-> DeleteChannelResponse -> f DeleteChannelResponse
deleteChannelResponse_cdiInputSpecification = (DeleteChannelResponse -> Maybe CdiInputSpecification)
-> (DeleteChannelResponse
    -> Maybe CdiInputSpecification -> DeleteChannelResponse)
-> Lens
     DeleteChannelResponse
     DeleteChannelResponse
     (Maybe CdiInputSpecification)
     (Maybe CdiInputSpecification)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DeleteChannelResponse' {Maybe CdiInputSpecification
cdiInputSpecification :: Maybe CdiInputSpecification
$sel:cdiInputSpecification:DeleteChannelResponse' :: DeleteChannelResponse -> Maybe CdiInputSpecification
cdiInputSpecification} -> Maybe CdiInputSpecification
cdiInputSpecification) (\s :: DeleteChannelResponse
s@DeleteChannelResponse' {} Maybe CdiInputSpecification
a -> DeleteChannelResponse
s {$sel:cdiInputSpecification:DeleteChannelResponse' :: Maybe CdiInputSpecification
cdiInputSpecification = Maybe CdiInputSpecification
a} :: DeleteChannelResponse)

-- | The unique id of the channel.
deleteChannelResponse_id :: Lens.Lens' DeleteChannelResponse (Prelude.Maybe Prelude.Text)
deleteChannelResponse_id :: (Maybe Text -> f (Maybe Text))
-> DeleteChannelResponse -> f DeleteChannelResponse
deleteChannelResponse_id = (DeleteChannelResponse -> Maybe Text)
-> (DeleteChannelResponse -> Maybe Text -> DeleteChannelResponse)
-> Lens
     DeleteChannelResponse
     DeleteChannelResponse
     (Maybe Text)
     (Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DeleteChannelResponse' {Maybe Text
id :: Maybe Text
$sel:id:DeleteChannelResponse' :: DeleteChannelResponse -> Maybe Text
id} -> Maybe Text
id) (\s :: DeleteChannelResponse
s@DeleteChannelResponse' {} Maybe Text
a -> DeleteChannelResponse
s {$sel:id:DeleteChannelResponse' :: Maybe Text
id = Maybe Text
a} :: DeleteChannelResponse)

-- | The class for this channel. STANDARD for a channel with two pipelines or
-- SINGLE_PIPELINE for a channel with one pipeline.
deleteChannelResponse_channelClass :: Lens.Lens' DeleteChannelResponse (Prelude.Maybe ChannelClass)
deleteChannelResponse_channelClass :: (Maybe ChannelClass -> f (Maybe ChannelClass))
-> DeleteChannelResponse -> f DeleteChannelResponse
deleteChannelResponse_channelClass = (DeleteChannelResponse -> Maybe ChannelClass)
-> (DeleteChannelResponse
    -> Maybe ChannelClass -> DeleteChannelResponse)
-> Lens
     DeleteChannelResponse
     DeleteChannelResponse
     (Maybe ChannelClass)
     (Maybe ChannelClass)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DeleteChannelResponse' {Maybe ChannelClass
channelClass :: Maybe ChannelClass
$sel:channelClass:DeleteChannelResponse' :: DeleteChannelResponse -> Maybe ChannelClass
channelClass} -> Maybe ChannelClass
channelClass) (\s :: DeleteChannelResponse
s@DeleteChannelResponse' {} Maybe ChannelClass
a -> DeleteChannelResponse
s {$sel:channelClass:DeleteChannelResponse' :: Maybe ChannelClass
channelClass = Maybe ChannelClass
a} :: DeleteChannelResponse)

-- | Settings for VPC output
deleteChannelResponse_vpc :: Lens.Lens' DeleteChannelResponse (Prelude.Maybe VpcOutputSettingsDescription)
deleteChannelResponse_vpc :: (Maybe VpcOutputSettingsDescription
 -> f (Maybe VpcOutputSettingsDescription))
-> DeleteChannelResponse -> f DeleteChannelResponse
deleteChannelResponse_vpc = (DeleteChannelResponse -> Maybe VpcOutputSettingsDescription)
-> (DeleteChannelResponse
    -> Maybe VpcOutputSettingsDescription -> DeleteChannelResponse)
-> Lens
     DeleteChannelResponse
     DeleteChannelResponse
     (Maybe VpcOutputSettingsDescription)
     (Maybe VpcOutputSettingsDescription)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DeleteChannelResponse' {Maybe VpcOutputSettingsDescription
vpc :: Maybe VpcOutputSettingsDescription
$sel:vpc:DeleteChannelResponse' :: DeleteChannelResponse -> Maybe VpcOutputSettingsDescription
vpc} -> Maybe VpcOutputSettingsDescription
vpc) (\s :: DeleteChannelResponse
s@DeleteChannelResponse' {} Maybe VpcOutputSettingsDescription
a -> DeleteChannelResponse
s {$sel:vpc:DeleteChannelResponse' :: Maybe VpcOutputSettingsDescription
vpc = Maybe VpcOutputSettingsDescription
a} :: DeleteChannelResponse)

-- | The endpoints where outgoing connections initiate from
deleteChannelResponse_egressEndpoints :: Lens.Lens' DeleteChannelResponse (Prelude.Maybe [ChannelEgressEndpoint])
deleteChannelResponse_egressEndpoints :: (Maybe [ChannelEgressEndpoint]
 -> f (Maybe [ChannelEgressEndpoint]))
-> DeleteChannelResponse -> f DeleteChannelResponse
deleteChannelResponse_egressEndpoints = (DeleteChannelResponse -> Maybe [ChannelEgressEndpoint])
-> (DeleteChannelResponse
    -> Maybe [ChannelEgressEndpoint] -> DeleteChannelResponse)
-> Lens
     DeleteChannelResponse
     DeleteChannelResponse
     (Maybe [ChannelEgressEndpoint])
     (Maybe [ChannelEgressEndpoint])
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DeleteChannelResponse' {Maybe [ChannelEgressEndpoint]
egressEndpoints :: Maybe [ChannelEgressEndpoint]
$sel:egressEndpoints:DeleteChannelResponse' :: DeleteChannelResponse -> Maybe [ChannelEgressEndpoint]
egressEndpoints} -> Maybe [ChannelEgressEndpoint]
egressEndpoints) (\s :: DeleteChannelResponse
s@DeleteChannelResponse' {} Maybe [ChannelEgressEndpoint]
a -> DeleteChannelResponse
s {$sel:egressEndpoints:DeleteChannelResponse' :: Maybe [ChannelEgressEndpoint]
egressEndpoints = Maybe [ChannelEgressEndpoint]
a} :: DeleteChannelResponse) ((Maybe [ChannelEgressEndpoint]
  -> f (Maybe [ChannelEgressEndpoint]))
 -> DeleteChannelResponse -> f DeleteChannelResponse)
-> ((Maybe [ChannelEgressEndpoint]
     -> f (Maybe [ChannelEgressEndpoint]))
    -> Maybe [ChannelEgressEndpoint]
    -> f (Maybe [ChannelEgressEndpoint]))
-> (Maybe [ChannelEgressEndpoint]
    -> f (Maybe [ChannelEgressEndpoint]))
-> DeleteChannelResponse
-> f DeleteChannelResponse
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. AnIso
  [ChannelEgressEndpoint]
  [ChannelEgressEndpoint]
  [ChannelEgressEndpoint]
  [ChannelEgressEndpoint]
-> Iso
     (Maybe [ChannelEgressEndpoint])
     (Maybe [ChannelEgressEndpoint])
     (Maybe [ChannelEgressEndpoint])
     (Maybe [ChannelEgressEndpoint])
forall (f :: * -> *) (g :: * -> *) s t a b.
(Functor f, Functor g) =>
AnIso s t a b -> Iso (f s) (g t) (f a) (g b)
Lens.mapping AnIso
  [ChannelEgressEndpoint]
  [ChannelEgressEndpoint]
  [ChannelEgressEndpoint]
  [ChannelEgressEndpoint]
forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced

-- | A collection of key-value pairs.
deleteChannelResponse_tags :: Lens.Lens' DeleteChannelResponse (Prelude.Maybe (Prelude.HashMap Prelude.Text Prelude.Text))
deleteChannelResponse_tags :: (Maybe (HashMap Text Text) -> f (Maybe (HashMap Text Text)))
-> DeleteChannelResponse -> f DeleteChannelResponse
deleteChannelResponse_tags = (DeleteChannelResponse -> Maybe (HashMap Text Text))
-> (DeleteChannelResponse
    -> Maybe (HashMap Text Text) -> DeleteChannelResponse)
-> Lens
     DeleteChannelResponse
     DeleteChannelResponse
     (Maybe (HashMap Text Text))
     (Maybe (HashMap Text Text))
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DeleteChannelResponse' {Maybe (HashMap Text Text)
tags :: Maybe (HashMap Text Text)
$sel:tags:DeleteChannelResponse' :: DeleteChannelResponse -> Maybe (HashMap Text Text)
tags} -> Maybe (HashMap Text Text)
tags) (\s :: DeleteChannelResponse
s@DeleteChannelResponse' {} Maybe (HashMap Text Text)
a -> DeleteChannelResponse
s {$sel:tags:DeleteChannelResponse' :: Maybe (HashMap Text Text)
tags = Maybe (HashMap Text Text)
a} :: DeleteChannelResponse) ((Maybe (HashMap Text Text) -> f (Maybe (HashMap Text Text)))
 -> DeleteChannelResponse -> f DeleteChannelResponse)
-> ((Maybe (HashMap Text Text) -> f (Maybe (HashMap Text Text)))
    -> Maybe (HashMap Text Text) -> f (Maybe (HashMap Text Text)))
-> (Maybe (HashMap Text Text) -> f (Maybe (HashMap Text Text)))
-> DeleteChannelResponse
-> f DeleteChannelResponse
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. AnIso
  (HashMap Text Text)
  (HashMap Text Text)
  (HashMap Text Text)
  (HashMap Text Text)
-> Iso
     (Maybe (HashMap Text Text))
     (Maybe (HashMap Text Text))
     (Maybe (HashMap Text Text))
     (Maybe (HashMap Text Text))
forall (f :: * -> *) (g :: * -> *) s t a b.
(Functor f, Functor g) =>
AnIso s t a b -> Iso (f s) (g t) (f a) (g b)
Lens.mapping AnIso
  (HashMap Text Text)
  (HashMap Text Text)
  (HashMap Text Text)
  (HashMap Text Text)
forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced

-- | Undocumented member.
deleteChannelResponse_encoderSettings :: Lens.Lens' DeleteChannelResponse (Prelude.Maybe EncoderSettings)
deleteChannelResponse_encoderSettings :: (Maybe EncoderSettings -> f (Maybe EncoderSettings))
-> DeleteChannelResponse -> f DeleteChannelResponse
deleteChannelResponse_encoderSettings = (DeleteChannelResponse -> Maybe EncoderSettings)
-> (DeleteChannelResponse
    -> Maybe EncoderSettings -> DeleteChannelResponse)
-> Lens
     DeleteChannelResponse
     DeleteChannelResponse
     (Maybe EncoderSettings)
     (Maybe EncoderSettings)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DeleteChannelResponse' {Maybe EncoderSettings
encoderSettings :: Maybe EncoderSettings
$sel:encoderSettings:DeleteChannelResponse' :: DeleteChannelResponse -> Maybe EncoderSettings
encoderSettings} -> Maybe EncoderSettings
encoderSettings) (\s :: DeleteChannelResponse
s@DeleteChannelResponse' {} Maybe EncoderSettings
a -> DeleteChannelResponse
s {$sel:encoderSettings:DeleteChannelResponse' :: Maybe EncoderSettings
encoderSettings = Maybe EncoderSettings
a} :: DeleteChannelResponse)

-- | The Amazon Resource Name (ARN) of the role assumed when running the
-- Channel.
deleteChannelResponse_roleArn :: Lens.Lens' DeleteChannelResponse (Prelude.Maybe Prelude.Text)
deleteChannelResponse_roleArn :: (Maybe Text -> f (Maybe Text))
-> DeleteChannelResponse -> f DeleteChannelResponse
deleteChannelResponse_roleArn = (DeleteChannelResponse -> Maybe Text)
-> (DeleteChannelResponse -> Maybe Text -> DeleteChannelResponse)
-> Lens
     DeleteChannelResponse
     DeleteChannelResponse
     (Maybe Text)
     (Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DeleteChannelResponse' {Maybe Text
roleArn :: Maybe Text
$sel:roleArn:DeleteChannelResponse' :: DeleteChannelResponse -> Maybe Text
roleArn} -> Maybe Text
roleArn) (\s :: DeleteChannelResponse
s@DeleteChannelResponse' {} Maybe Text
a -> DeleteChannelResponse
s {$sel:roleArn:DeleteChannelResponse' :: Maybe Text
roleArn = Maybe Text
a} :: DeleteChannelResponse)

-- | The response's http status code.
deleteChannelResponse_httpStatus :: Lens.Lens' DeleteChannelResponse Prelude.Int
deleteChannelResponse_httpStatus :: (Int -> f Int) -> DeleteChannelResponse -> f DeleteChannelResponse
deleteChannelResponse_httpStatus = (DeleteChannelResponse -> Int)
-> (DeleteChannelResponse -> Int -> DeleteChannelResponse)
-> Lens DeleteChannelResponse DeleteChannelResponse Int Int
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DeleteChannelResponse' {Int
httpStatus :: Int
$sel:httpStatus:DeleteChannelResponse' :: DeleteChannelResponse -> Int
httpStatus} -> Int
httpStatus) (\s :: DeleteChannelResponse
s@DeleteChannelResponse' {} Int
a -> DeleteChannelResponse
s {$sel:httpStatus:DeleteChannelResponse' :: Int
httpStatus = Int
a} :: DeleteChannelResponse)

instance Prelude.NFData DeleteChannelResponse