{-# 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 #-}
module Amazonka.MediaLive.DeleteMultiplexProgram
(
DeleteMultiplexProgram (..),
newDeleteMultiplexProgram,
deleteMultiplexProgram_multiplexId,
deleteMultiplexProgram_programName,
DeleteMultiplexProgramResponse (..),
newDeleteMultiplexProgramResponse,
deleteMultiplexProgramResponse_packetIdentifiersMap,
deleteMultiplexProgramResponse_pipelineDetails,
deleteMultiplexProgramResponse_programName,
deleteMultiplexProgramResponse_channelId,
deleteMultiplexProgramResponse_multiplexProgramSettings,
deleteMultiplexProgramResponse_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
data DeleteMultiplexProgram = DeleteMultiplexProgram'
{
DeleteMultiplexProgram -> Text
multiplexId :: Prelude.Text,
DeleteMultiplexProgram -> Text
programName :: Prelude.Text
}
deriving (DeleteMultiplexProgram -> DeleteMultiplexProgram -> Bool
(DeleteMultiplexProgram -> DeleteMultiplexProgram -> Bool)
-> (DeleteMultiplexProgram -> DeleteMultiplexProgram -> Bool)
-> Eq DeleteMultiplexProgram
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: DeleteMultiplexProgram -> DeleteMultiplexProgram -> Bool
$c/= :: DeleteMultiplexProgram -> DeleteMultiplexProgram -> Bool
== :: DeleteMultiplexProgram -> DeleteMultiplexProgram -> Bool
$c== :: DeleteMultiplexProgram -> DeleteMultiplexProgram -> Bool
Prelude.Eq, ReadPrec [DeleteMultiplexProgram]
ReadPrec DeleteMultiplexProgram
Int -> ReadS DeleteMultiplexProgram
ReadS [DeleteMultiplexProgram]
(Int -> ReadS DeleteMultiplexProgram)
-> ReadS [DeleteMultiplexProgram]
-> ReadPrec DeleteMultiplexProgram
-> ReadPrec [DeleteMultiplexProgram]
-> Read DeleteMultiplexProgram
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [DeleteMultiplexProgram]
$creadListPrec :: ReadPrec [DeleteMultiplexProgram]
readPrec :: ReadPrec DeleteMultiplexProgram
$creadPrec :: ReadPrec DeleteMultiplexProgram
readList :: ReadS [DeleteMultiplexProgram]
$creadList :: ReadS [DeleteMultiplexProgram]
readsPrec :: Int -> ReadS DeleteMultiplexProgram
$creadsPrec :: Int -> ReadS DeleteMultiplexProgram
Prelude.Read, Int -> DeleteMultiplexProgram -> ShowS
[DeleteMultiplexProgram] -> ShowS
DeleteMultiplexProgram -> String
(Int -> DeleteMultiplexProgram -> ShowS)
-> (DeleteMultiplexProgram -> String)
-> ([DeleteMultiplexProgram] -> ShowS)
-> Show DeleteMultiplexProgram
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [DeleteMultiplexProgram] -> ShowS
$cshowList :: [DeleteMultiplexProgram] -> ShowS
show :: DeleteMultiplexProgram -> String
$cshow :: DeleteMultiplexProgram -> String
showsPrec :: Int -> DeleteMultiplexProgram -> ShowS
$cshowsPrec :: Int -> DeleteMultiplexProgram -> ShowS
Prelude.Show, (forall x. DeleteMultiplexProgram -> Rep DeleteMultiplexProgram x)
-> (forall x.
Rep DeleteMultiplexProgram x -> DeleteMultiplexProgram)
-> Generic DeleteMultiplexProgram
forall x. Rep DeleteMultiplexProgram x -> DeleteMultiplexProgram
forall x. DeleteMultiplexProgram -> Rep DeleteMultiplexProgram x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep DeleteMultiplexProgram x -> DeleteMultiplexProgram
$cfrom :: forall x. DeleteMultiplexProgram -> Rep DeleteMultiplexProgram x
Prelude.Generic)
newDeleteMultiplexProgram ::
Prelude.Text ->
Prelude.Text ->
DeleteMultiplexProgram
newDeleteMultiplexProgram :: Text -> Text -> DeleteMultiplexProgram
newDeleteMultiplexProgram Text
pMultiplexId_ Text
pProgramName_ =
DeleteMultiplexProgram' :: Text -> Text -> DeleteMultiplexProgram
DeleteMultiplexProgram'
{ $sel:multiplexId:DeleteMultiplexProgram' :: Text
multiplexId =
Text
pMultiplexId_,
$sel:programName:DeleteMultiplexProgram' :: Text
programName = Text
pProgramName_
}
deleteMultiplexProgram_multiplexId :: Lens.Lens' DeleteMultiplexProgram Prelude.Text
deleteMultiplexProgram_multiplexId :: (Text -> f Text)
-> DeleteMultiplexProgram -> f DeleteMultiplexProgram
deleteMultiplexProgram_multiplexId = (DeleteMultiplexProgram -> Text)
-> (DeleteMultiplexProgram -> Text -> DeleteMultiplexProgram)
-> Lens DeleteMultiplexProgram DeleteMultiplexProgram Text Text
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DeleteMultiplexProgram' {Text
multiplexId :: Text
$sel:multiplexId:DeleteMultiplexProgram' :: DeleteMultiplexProgram -> Text
multiplexId} -> Text
multiplexId) (\s :: DeleteMultiplexProgram
s@DeleteMultiplexProgram' {} Text
a -> DeleteMultiplexProgram
s {$sel:multiplexId:DeleteMultiplexProgram' :: Text
multiplexId = Text
a} :: DeleteMultiplexProgram)
deleteMultiplexProgram_programName :: Lens.Lens' DeleteMultiplexProgram Prelude.Text
deleteMultiplexProgram_programName :: (Text -> f Text)
-> DeleteMultiplexProgram -> f DeleteMultiplexProgram
deleteMultiplexProgram_programName = (DeleteMultiplexProgram -> Text)
-> (DeleteMultiplexProgram -> Text -> DeleteMultiplexProgram)
-> Lens DeleteMultiplexProgram DeleteMultiplexProgram Text Text
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DeleteMultiplexProgram' {Text
programName :: Text
$sel:programName:DeleteMultiplexProgram' :: DeleteMultiplexProgram -> Text
programName} -> Text
programName) (\s :: DeleteMultiplexProgram
s@DeleteMultiplexProgram' {} Text
a -> DeleteMultiplexProgram
s {$sel:programName:DeleteMultiplexProgram' :: Text
programName = Text
a} :: DeleteMultiplexProgram)
instance Core.AWSRequest DeleteMultiplexProgram where
type
AWSResponse DeleteMultiplexProgram =
DeleteMultiplexProgramResponse
request :: DeleteMultiplexProgram -> Request DeleteMultiplexProgram
request = Service -> DeleteMultiplexProgram -> Request DeleteMultiplexProgram
forall a. ToRequest a => Service -> a -> Request a
Request.delete Service
defaultService
response :: Logger
-> Service
-> Proxy DeleteMultiplexProgram
-> ClientResponse ClientBody
-> m (Either
Error (ClientResponse (AWSResponse DeleteMultiplexProgram)))
response =
(Int
-> ResponseHeaders
-> Object
-> Either String (AWSResponse DeleteMultiplexProgram))
-> Logger
-> Service
-> Proxy DeleteMultiplexProgram
-> ClientResponse ClientBody
-> m (Either
Error (ClientResponse (AWSResponse DeleteMultiplexProgram)))
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 MultiplexProgramPacketIdentifiersMap
-> Maybe [MultiplexProgramPipelineDetail]
-> Maybe Text
-> Maybe Text
-> Maybe MultiplexProgramSettings
-> Int
-> DeleteMultiplexProgramResponse
DeleteMultiplexProgramResponse'
(Maybe MultiplexProgramPacketIdentifiersMap
-> Maybe [MultiplexProgramPipelineDetail]
-> Maybe Text
-> Maybe Text
-> Maybe MultiplexProgramSettings
-> Int
-> DeleteMultiplexProgramResponse)
-> Either String (Maybe MultiplexProgramPacketIdentifiersMap)
-> Either
String
(Maybe [MultiplexProgramPipelineDetail]
-> Maybe Text
-> Maybe Text
-> Maybe MultiplexProgramSettings
-> Int
-> DeleteMultiplexProgramResponse)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> (Object
x Object
-> Text
-> Either String (Maybe MultiplexProgramPacketIdentifiersMap)
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"packetIdentifiersMap")
Either
String
(Maybe [MultiplexProgramPipelineDetail]
-> Maybe Text
-> Maybe Text
-> Maybe MultiplexProgramSettings
-> Int
-> DeleteMultiplexProgramResponse)
-> Either String (Maybe [MultiplexProgramPipelineDetail])
-> Either
String
(Maybe Text
-> Maybe Text
-> Maybe MultiplexProgramSettings
-> Int
-> DeleteMultiplexProgramResponse)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> ( Object
x Object
-> Text
-> Either String (Maybe (Maybe [MultiplexProgramPipelineDetail]))
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"pipelineDetails"
Either String (Maybe (Maybe [MultiplexProgramPipelineDetail]))
-> Maybe [MultiplexProgramPipelineDetail]
-> Either String (Maybe [MultiplexProgramPipelineDetail])
forall (f :: * -> *) a. Functor f => f (Maybe a) -> a -> f a
Core..!@ Maybe [MultiplexProgramPipelineDetail]
forall a. Monoid a => a
Prelude.mempty
)
Either
String
(Maybe Text
-> Maybe Text
-> Maybe MultiplexProgramSettings
-> Int
-> DeleteMultiplexProgramResponse)
-> Either String (Maybe Text)
-> Either
String
(Maybe Text
-> Maybe MultiplexProgramSettings
-> Int
-> DeleteMultiplexProgramResponse)
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
"programName")
Either
String
(Maybe Text
-> Maybe MultiplexProgramSettings
-> Int
-> DeleteMultiplexProgramResponse)
-> Either String (Maybe Text)
-> Either
String
(Maybe MultiplexProgramSettings
-> Int -> DeleteMultiplexProgramResponse)
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
"channelId")
Either
String
(Maybe MultiplexProgramSettings
-> Int -> DeleteMultiplexProgramResponse)
-> Either String (Maybe MultiplexProgramSettings)
-> Either String (Int -> DeleteMultiplexProgramResponse)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Either String (Maybe MultiplexProgramSettings)
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"multiplexProgramSettings")
Either String (Int -> DeleteMultiplexProgramResponse)
-> Either String Int
-> Either String DeleteMultiplexProgramResponse
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 DeleteMultiplexProgram
instance Prelude.NFData DeleteMultiplexProgram
instance Core.ToHeaders DeleteMultiplexProgram where
toHeaders :: DeleteMultiplexProgram -> ResponseHeaders
toHeaders =
ResponseHeaders -> DeleteMultiplexProgram -> 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 DeleteMultiplexProgram where
toPath :: DeleteMultiplexProgram -> ByteString
toPath DeleteMultiplexProgram' {Text
programName :: Text
multiplexId :: Text
$sel:programName:DeleteMultiplexProgram' :: DeleteMultiplexProgram -> Text
$sel:multiplexId:DeleteMultiplexProgram' :: DeleteMultiplexProgram -> Text
..} =
[ByteString] -> ByteString
forall a. Monoid a => [a] -> a
Prelude.mconcat
[ ByteString
"/prod/multiplexes/",
Text -> ByteString
forall a. ToByteString a => a -> ByteString
Core.toBS Text
multiplexId,
ByteString
"/programs/",
Text -> ByteString
forall a. ToByteString a => a -> ByteString
Core.toBS Text
programName
]
instance Core.ToQuery DeleteMultiplexProgram where
toQuery :: DeleteMultiplexProgram -> QueryString
toQuery = QueryString -> DeleteMultiplexProgram -> QueryString
forall a b. a -> b -> a
Prelude.const QueryString
forall a. Monoid a => a
Prelude.mempty
data DeleteMultiplexProgramResponse = DeleteMultiplexProgramResponse'
{
DeleteMultiplexProgramResponse
-> Maybe MultiplexProgramPacketIdentifiersMap
packetIdentifiersMap :: Prelude.Maybe MultiplexProgramPacketIdentifiersMap,
DeleteMultiplexProgramResponse
-> Maybe [MultiplexProgramPipelineDetail]
pipelineDetails :: Prelude.Maybe [MultiplexProgramPipelineDetail],
DeleteMultiplexProgramResponse -> Maybe Text
programName :: Prelude.Maybe Prelude.Text,
DeleteMultiplexProgramResponse -> Maybe Text
channelId :: Prelude.Maybe Prelude.Text,
DeleteMultiplexProgramResponse -> Maybe MultiplexProgramSettings
multiplexProgramSettings :: Prelude.Maybe MultiplexProgramSettings,
DeleteMultiplexProgramResponse -> Int
httpStatus :: Prelude.Int
}
deriving (DeleteMultiplexProgramResponse
-> DeleteMultiplexProgramResponse -> Bool
(DeleteMultiplexProgramResponse
-> DeleteMultiplexProgramResponse -> Bool)
-> (DeleteMultiplexProgramResponse
-> DeleteMultiplexProgramResponse -> Bool)
-> Eq DeleteMultiplexProgramResponse
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: DeleteMultiplexProgramResponse
-> DeleteMultiplexProgramResponse -> Bool
$c/= :: DeleteMultiplexProgramResponse
-> DeleteMultiplexProgramResponse -> Bool
== :: DeleteMultiplexProgramResponse
-> DeleteMultiplexProgramResponse -> Bool
$c== :: DeleteMultiplexProgramResponse
-> DeleteMultiplexProgramResponse -> Bool
Prelude.Eq, ReadPrec [DeleteMultiplexProgramResponse]
ReadPrec DeleteMultiplexProgramResponse
Int -> ReadS DeleteMultiplexProgramResponse
ReadS [DeleteMultiplexProgramResponse]
(Int -> ReadS DeleteMultiplexProgramResponse)
-> ReadS [DeleteMultiplexProgramResponse]
-> ReadPrec DeleteMultiplexProgramResponse
-> ReadPrec [DeleteMultiplexProgramResponse]
-> Read DeleteMultiplexProgramResponse
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [DeleteMultiplexProgramResponse]
$creadListPrec :: ReadPrec [DeleteMultiplexProgramResponse]
readPrec :: ReadPrec DeleteMultiplexProgramResponse
$creadPrec :: ReadPrec DeleteMultiplexProgramResponse
readList :: ReadS [DeleteMultiplexProgramResponse]
$creadList :: ReadS [DeleteMultiplexProgramResponse]
readsPrec :: Int -> ReadS DeleteMultiplexProgramResponse
$creadsPrec :: Int -> ReadS DeleteMultiplexProgramResponse
Prelude.Read, Int -> DeleteMultiplexProgramResponse -> ShowS
[DeleteMultiplexProgramResponse] -> ShowS
DeleteMultiplexProgramResponse -> String
(Int -> DeleteMultiplexProgramResponse -> ShowS)
-> (DeleteMultiplexProgramResponse -> String)
-> ([DeleteMultiplexProgramResponse] -> ShowS)
-> Show DeleteMultiplexProgramResponse
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [DeleteMultiplexProgramResponse] -> ShowS
$cshowList :: [DeleteMultiplexProgramResponse] -> ShowS
show :: DeleteMultiplexProgramResponse -> String
$cshow :: DeleteMultiplexProgramResponse -> String
showsPrec :: Int -> DeleteMultiplexProgramResponse -> ShowS
$cshowsPrec :: Int -> DeleteMultiplexProgramResponse -> ShowS
Prelude.Show, (forall x.
DeleteMultiplexProgramResponse
-> Rep DeleteMultiplexProgramResponse x)
-> (forall x.
Rep DeleteMultiplexProgramResponse x
-> DeleteMultiplexProgramResponse)
-> Generic DeleteMultiplexProgramResponse
forall x.
Rep DeleteMultiplexProgramResponse x
-> DeleteMultiplexProgramResponse
forall x.
DeleteMultiplexProgramResponse
-> Rep DeleteMultiplexProgramResponse x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep DeleteMultiplexProgramResponse x
-> DeleteMultiplexProgramResponse
$cfrom :: forall x.
DeleteMultiplexProgramResponse
-> Rep DeleteMultiplexProgramResponse x
Prelude.Generic)
newDeleteMultiplexProgramResponse ::
Prelude.Int ->
DeleteMultiplexProgramResponse
newDeleteMultiplexProgramResponse :: Int -> DeleteMultiplexProgramResponse
newDeleteMultiplexProgramResponse Int
pHttpStatus_ =
DeleteMultiplexProgramResponse' :: Maybe MultiplexProgramPacketIdentifiersMap
-> Maybe [MultiplexProgramPipelineDetail]
-> Maybe Text
-> Maybe Text
-> Maybe MultiplexProgramSettings
-> Int
-> DeleteMultiplexProgramResponse
DeleteMultiplexProgramResponse'
{ $sel:packetIdentifiersMap:DeleteMultiplexProgramResponse' :: Maybe MultiplexProgramPacketIdentifiersMap
packetIdentifiersMap =
Maybe MultiplexProgramPacketIdentifiersMap
forall a. Maybe a
Prelude.Nothing,
$sel:pipelineDetails:DeleteMultiplexProgramResponse' :: Maybe [MultiplexProgramPipelineDetail]
pipelineDetails = Maybe [MultiplexProgramPipelineDetail]
forall a. Maybe a
Prelude.Nothing,
$sel:programName:DeleteMultiplexProgramResponse' :: Maybe Text
programName = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:channelId:DeleteMultiplexProgramResponse' :: Maybe Text
channelId = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:multiplexProgramSettings:DeleteMultiplexProgramResponse' :: Maybe MultiplexProgramSettings
multiplexProgramSettings = Maybe MultiplexProgramSettings
forall a. Maybe a
Prelude.Nothing,
$sel:httpStatus:DeleteMultiplexProgramResponse' :: Int
httpStatus = Int
pHttpStatus_
}
deleteMultiplexProgramResponse_packetIdentifiersMap :: Lens.Lens' DeleteMultiplexProgramResponse (Prelude.Maybe MultiplexProgramPacketIdentifiersMap)
deleteMultiplexProgramResponse_packetIdentifiersMap :: (Maybe MultiplexProgramPacketIdentifiersMap
-> f (Maybe MultiplexProgramPacketIdentifiersMap))
-> DeleteMultiplexProgramResponse
-> f DeleteMultiplexProgramResponse
deleteMultiplexProgramResponse_packetIdentifiersMap = (DeleteMultiplexProgramResponse
-> Maybe MultiplexProgramPacketIdentifiersMap)
-> (DeleteMultiplexProgramResponse
-> Maybe MultiplexProgramPacketIdentifiersMap
-> DeleteMultiplexProgramResponse)
-> Lens
DeleteMultiplexProgramResponse
DeleteMultiplexProgramResponse
(Maybe MultiplexProgramPacketIdentifiersMap)
(Maybe MultiplexProgramPacketIdentifiersMap)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DeleteMultiplexProgramResponse' {Maybe MultiplexProgramPacketIdentifiersMap
packetIdentifiersMap :: Maybe MultiplexProgramPacketIdentifiersMap
$sel:packetIdentifiersMap:DeleteMultiplexProgramResponse' :: DeleteMultiplexProgramResponse
-> Maybe MultiplexProgramPacketIdentifiersMap
packetIdentifiersMap} -> Maybe MultiplexProgramPacketIdentifiersMap
packetIdentifiersMap) (\s :: DeleteMultiplexProgramResponse
s@DeleteMultiplexProgramResponse' {} Maybe MultiplexProgramPacketIdentifiersMap
a -> DeleteMultiplexProgramResponse
s {$sel:packetIdentifiersMap:DeleteMultiplexProgramResponse' :: Maybe MultiplexProgramPacketIdentifiersMap
packetIdentifiersMap = Maybe MultiplexProgramPacketIdentifiersMap
a} :: DeleteMultiplexProgramResponse)
deleteMultiplexProgramResponse_pipelineDetails :: Lens.Lens' DeleteMultiplexProgramResponse (Prelude.Maybe [MultiplexProgramPipelineDetail])
deleteMultiplexProgramResponse_pipelineDetails :: (Maybe [MultiplexProgramPipelineDetail]
-> f (Maybe [MultiplexProgramPipelineDetail]))
-> DeleteMultiplexProgramResponse
-> f DeleteMultiplexProgramResponse
deleteMultiplexProgramResponse_pipelineDetails = (DeleteMultiplexProgramResponse
-> Maybe [MultiplexProgramPipelineDetail])
-> (DeleteMultiplexProgramResponse
-> Maybe [MultiplexProgramPipelineDetail]
-> DeleteMultiplexProgramResponse)
-> Lens
DeleteMultiplexProgramResponse
DeleteMultiplexProgramResponse
(Maybe [MultiplexProgramPipelineDetail])
(Maybe [MultiplexProgramPipelineDetail])
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DeleteMultiplexProgramResponse' {Maybe [MultiplexProgramPipelineDetail]
pipelineDetails :: Maybe [MultiplexProgramPipelineDetail]
$sel:pipelineDetails:DeleteMultiplexProgramResponse' :: DeleteMultiplexProgramResponse
-> Maybe [MultiplexProgramPipelineDetail]
pipelineDetails} -> Maybe [MultiplexProgramPipelineDetail]
pipelineDetails) (\s :: DeleteMultiplexProgramResponse
s@DeleteMultiplexProgramResponse' {} Maybe [MultiplexProgramPipelineDetail]
a -> DeleteMultiplexProgramResponse
s {$sel:pipelineDetails:DeleteMultiplexProgramResponse' :: Maybe [MultiplexProgramPipelineDetail]
pipelineDetails = Maybe [MultiplexProgramPipelineDetail]
a} :: DeleteMultiplexProgramResponse) ((Maybe [MultiplexProgramPipelineDetail]
-> f (Maybe [MultiplexProgramPipelineDetail]))
-> DeleteMultiplexProgramResponse
-> f DeleteMultiplexProgramResponse)
-> ((Maybe [MultiplexProgramPipelineDetail]
-> f (Maybe [MultiplexProgramPipelineDetail]))
-> Maybe [MultiplexProgramPipelineDetail]
-> f (Maybe [MultiplexProgramPipelineDetail]))
-> (Maybe [MultiplexProgramPipelineDetail]
-> f (Maybe [MultiplexProgramPipelineDetail]))
-> DeleteMultiplexProgramResponse
-> f DeleteMultiplexProgramResponse
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. AnIso
[MultiplexProgramPipelineDetail]
[MultiplexProgramPipelineDetail]
[MultiplexProgramPipelineDetail]
[MultiplexProgramPipelineDetail]
-> Iso
(Maybe [MultiplexProgramPipelineDetail])
(Maybe [MultiplexProgramPipelineDetail])
(Maybe [MultiplexProgramPipelineDetail])
(Maybe [MultiplexProgramPipelineDetail])
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
[MultiplexProgramPipelineDetail]
[MultiplexProgramPipelineDetail]
[MultiplexProgramPipelineDetail]
[MultiplexProgramPipelineDetail]
forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced
deleteMultiplexProgramResponse_programName :: Lens.Lens' DeleteMultiplexProgramResponse (Prelude.Maybe Prelude.Text)
deleteMultiplexProgramResponse_programName :: (Maybe Text -> f (Maybe Text))
-> DeleteMultiplexProgramResponse
-> f DeleteMultiplexProgramResponse
deleteMultiplexProgramResponse_programName = (DeleteMultiplexProgramResponse -> Maybe Text)
-> (DeleteMultiplexProgramResponse
-> Maybe Text -> DeleteMultiplexProgramResponse)
-> Lens
DeleteMultiplexProgramResponse
DeleteMultiplexProgramResponse
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DeleteMultiplexProgramResponse' {Maybe Text
programName :: Maybe Text
$sel:programName:DeleteMultiplexProgramResponse' :: DeleteMultiplexProgramResponse -> Maybe Text
programName} -> Maybe Text
programName) (\s :: DeleteMultiplexProgramResponse
s@DeleteMultiplexProgramResponse' {} Maybe Text
a -> DeleteMultiplexProgramResponse
s {$sel:programName:DeleteMultiplexProgramResponse' :: Maybe Text
programName = Maybe Text
a} :: DeleteMultiplexProgramResponse)
deleteMultiplexProgramResponse_channelId :: Lens.Lens' DeleteMultiplexProgramResponse (Prelude.Maybe Prelude.Text)
deleteMultiplexProgramResponse_channelId :: (Maybe Text -> f (Maybe Text))
-> DeleteMultiplexProgramResponse
-> f DeleteMultiplexProgramResponse
deleteMultiplexProgramResponse_channelId = (DeleteMultiplexProgramResponse -> Maybe Text)
-> (DeleteMultiplexProgramResponse
-> Maybe Text -> DeleteMultiplexProgramResponse)
-> Lens
DeleteMultiplexProgramResponse
DeleteMultiplexProgramResponse
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DeleteMultiplexProgramResponse' {Maybe Text
channelId :: Maybe Text
$sel:channelId:DeleteMultiplexProgramResponse' :: DeleteMultiplexProgramResponse -> Maybe Text
channelId} -> Maybe Text
channelId) (\s :: DeleteMultiplexProgramResponse
s@DeleteMultiplexProgramResponse' {} Maybe Text
a -> DeleteMultiplexProgramResponse
s {$sel:channelId:DeleteMultiplexProgramResponse' :: Maybe Text
channelId = Maybe Text
a} :: DeleteMultiplexProgramResponse)
deleteMultiplexProgramResponse_multiplexProgramSettings :: Lens.Lens' DeleteMultiplexProgramResponse (Prelude.Maybe MultiplexProgramSettings)
deleteMultiplexProgramResponse_multiplexProgramSettings :: (Maybe MultiplexProgramSettings
-> f (Maybe MultiplexProgramSettings))
-> DeleteMultiplexProgramResponse
-> f DeleteMultiplexProgramResponse
deleteMultiplexProgramResponse_multiplexProgramSettings = (DeleteMultiplexProgramResponse -> Maybe MultiplexProgramSettings)
-> (DeleteMultiplexProgramResponse
-> Maybe MultiplexProgramSettings
-> DeleteMultiplexProgramResponse)
-> Lens
DeleteMultiplexProgramResponse
DeleteMultiplexProgramResponse
(Maybe MultiplexProgramSettings)
(Maybe MultiplexProgramSettings)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DeleteMultiplexProgramResponse' {Maybe MultiplexProgramSettings
multiplexProgramSettings :: Maybe MultiplexProgramSettings
$sel:multiplexProgramSettings:DeleteMultiplexProgramResponse' :: DeleteMultiplexProgramResponse -> Maybe MultiplexProgramSettings
multiplexProgramSettings} -> Maybe MultiplexProgramSettings
multiplexProgramSettings) (\s :: DeleteMultiplexProgramResponse
s@DeleteMultiplexProgramResponse' {} Maybe MultiplexProgramSettings
a -> DeleteMultiplexProgramResponse
s {$sel:multiplexProgramSettings:DeleteMultiplexProgramResponse' :: Maybe MultiplexProgramSettings
multiplexProgramSettings = Maybe MultiplexProgramSettings
a} :: DeleteMultiplexProgramResponse)
deleteMultiplexProgramResponse_httpStatus :: Lens.Lens' DeleteMultiplexProgramResponse Prelude.Int
deleteMultiplexProgramResponse_httpStatus :: (Int -> f Int)
-> DeleteMultiplexProgramResponse
-> f DeleteMultiplexProgramResponse
deleteMultiplexProgramResponse_httpStatus = (DeleteMultiplexProgramResponse -> Int)
-> (DeleteMultiplexProgramResponse
-> Int -> DeleteMultiplexProgramResponse)
-> Lens
DeleteMultiplexProgramResponse
DeleteMultiplexProgramResponse
Int
Int
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DeleteMultiplexProgramResponse' {Int
httpStatus :: Int
$sel:httpStatus:DeleteMultiplexProgramResponse' :: DeleteMultiplexProgramResponse -> Int
httpStatus} -> Int
httpStatus) (\s :: DeleteMultiplexProgramResponse
s@DeleteMultiplexProgramResponse' {} Int
a -> DeleteMultiplexProgramResponse
s {$sel:httpStatus:DeleteMultiplexProgramResponse' :: Int
httpStatus = Int
a} :: DeleteMultiplexProgramResponse)
instance
Prelude.NFData
DeleteMultiplexProgramResponse