{-# 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.DeleteMultiplex
(
DeleteMultiplex (..),
newDeleteMultiplex,
deleteMultiplex_multiplexId,
DeleteMultiplexResponse (..),
newDeleteMultiplexResponse,
deleteMultiplexResponse_state,
deleteMultiplexResponse_arn,
deleteMultiplexResponse_pipelinesRunningCount,
deleteMultiplexResponse_availabilityZones,
deleteMultiplexResponse_programCount,
deleteMultiplexResponse_destinations,
deleteMultiplexResponse_name,
deleteMultiplexResponse_id,
deleteMultiplexResponse_multiplexSettings,
deleteMultiplexResponse_tags,
deleteMultiplexResponse_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 DeleteMultiplex = DeleteMultiplex'
{
DeleteMultiplex -> Text
multiplexId :: Prelude.Text
}
deriving (DeleteMultiplex -> DeleteMultiplex -> Bool
(DeleteMultiplex -> DeleteMultiplex -> Bool)
-> (DeleteMultiplex -> DeleteMultiplex -> Bool)
-> Eq DeleteMultiplex
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: DeleteMultiplex -> DeleteMultiplex -> Bool
$c/= :: DeleteMultiplex -> DeleteMultiplex -> Bool
== :: DeleteMultiplex -> DeleteMultiplex -> Bool
$c== :: DeleteMultiplex -> DeleteMultiplex -> Bool
Prelude.Eq, ReadPrec [DeleteMultiplex]
ReadPrec DeleteMultiplex
Int -> ReadS DeleteMultiplex
ReadS [DeleteMultiplex]
(Int -> ReadS DeleteMultiplex)
-> ReadS [DeleteMultiplex]
-> ReadPrec DeleteMultiplex
-> ReadPrec [DeleteMultiplex]
-> Read DeleteMultiplex
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [DeleteMultiplex]
$creadListPrec :: ReadPrec [DeleteMultiplex]
readPrec :: ReadPrec DeleteMultiplex
$creadPrec :: ReadPrec DeleteMultiplex
readList :: ReadS [DeleteMultiplex]
$creadList :: ReadS [DeleteMultiplex]
readsPrec :: Int -> ReadS DeleteMultiplex
$creadsPrec :: Int -> ReadS DeleteMultiplex
Prelude.Read, Int -> DeleteMultiplex -> ShowS
[DeleteMultiplex] -> ShowS
DeleteMultiplex -> String
(Int -> DeleteMultiplex -> ShowS)
-> (DeleteMultiplex -> String)
-> ([DeleteMultiplex] -> ShowS)
-> Show DeleteMultiplex
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [DeleteMultiplex] -> ShowS
$cshowList :: [DeleteMultiplex] -> ShowS
show :: DeleteMultiplex -> String
$cshow :: DeleteMultiplex -> String
showsPrec :: Int -> DeleteMultiplex -> ShowS
$cshowsPrec :: Int -> DeleteMultiplex -> ShowS
Prelude.Show, (forall x. DeleteMultiplex -> Rep DeleteMultiplex x)
-> (forall x. Rep DeleteMultiplex x -> DeleteMultiplex)
-> Generic DeleteMultiplex
forall x. Rep DeleteMultiplex x -> DeleteMultiplex
forall x. DeleteMultiplex -> Rep DeleteMultiplex x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep DeleteMultiplex x -> DeleteMultiplex
$cfrom :: forall x. DeleteMultiplex -> Rep DeleteMultiplex x
Prelude.Generic)
newDeleteMultiplex ::
Prelude.Text ->
DeleteMultiplex
newDeleteMultiplex :: Text -> DeleteMultiplex
newDeleteMultiplex Text
pMultiplexId_ =
DeleteMultiplex' :: Text -> DeleteMultiplex
DeleteMultiplex' {$sel:multiplexId:DeleteMultiplex' :: Text
multiplexId = Text
pMultiplexId_}
deleteMultiplex_multiplexId :: Lens.Lens' DeleteMultiplex Prelude.Text
deleteMultiplex_multiplexId :: (Text -> f Text) -> DeleteMultiplex -> f DeleteMultiplex
deleteMultiplex_multiplexId = (DeleteMultiplex -> Text)
-> (DeleteMultiplex -> Text -> DeleteMultiplex)
-> Lens DeleteMultiplex DeleteMultiplex Text Text
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DeleteMultiplex' {Text
multiplexId :: Text
$sel:multiplexId:DeleteMultiplex' :: DeleteMultiplex -> Text
multiplexId} -> Text
multiplexId) (\s :: DeleteMultiplex
s@DeleteMultiplex' {} Text
a -> DeleteMultiplex
s {$sel:multiplexId:DeleteMultiplex' :: Text
multiplexId = Text
a} :: DeleteMultiplex)
instance Core.AWSRequest DeleteMultiplex where
type
AWSResponse DeleteMultiplex =
DeleteMultiplexResponse
request :: DeleteMultiplex -> Request DeleteMultiplex
request = Service -> DeleteMultiplex -> Request DeleteMultiplex
forall a. ToRequest a => Service -> a -> Request a
Request.delete Service
defaultService
response :: Logger
-> Service
-> Proxy DeleteMultiplex
-> ClientResponse ClientBody
-> m (Either Error (ClientResponse (AWSResponse DeleteMultiplex)))
response =
(Int
-> ResponseHeaders
-> Object
-> Either String (AWSResponse DeleteMultiplex))
-> Logger
-> Service
-> Proxy DeleteMultiplex
-> ClientResponse ClientBody
-> m (Either Error (ClientResponse (AWSResponse DeleteMultiplex)))
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 MultiplexState
-> Maybe Text
-> Maybe Int
-> Maybe [Text]
-> Maybe Int
-> Maybe [MultiplexOutputDestination]
-> Maybe Text
-> Maybe Text
-> Maybe MultiplexSettings
-> Maybe (HashMap Text Text)
-> Int
-> DeleteMultiplexResponse
DeleteMultiplexResponse'
(Maybe MultiplexState
-> Maybe Text
-> Maybe Int
-> Maybe [Text]
-> Maybe Int
-> Maybe [MultiplexOutputDestination]
-> Maybe Text
-> Maybe Text
-> Maybe MultiplexSettings
-> Maybe (HashMap Text Text)
-> Int
-> DeleteMultiplexResponse)
-> Either String (Maybe MultiplexState)
-> Either
String
(Maybe Text
-> Maybe Int
-> Maybe [Text]
-> Maybe Int
-> Maybe [MultiplexOutputDestination]
-> Maybe Text
-> Maybe Text
-> Maybe MultiplexSettings
-> Maybe (HashMap Text Text)
-> Int
-> DeleteMultiplexResponse)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> (Object
x Object -> Text -> Either String (Maybe MultiplexState)
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"state")
Either
String
(Maybe Text
-> Maybe Int
-> Maybe [Text]
-> Maybe Int
-> Maybe [MultiplexOutputDestination]
-> Maybe Text
-> Maybe Text
-> Maybe MultiplexSettings
-> Maybe (HashMap Text Text)
-> Int
-> DeleteMultiplexResponse)
-> Either String (Maybe Text)
-> Either
String
(Maybe Int
-> Maybe [Text]
-> Maybe Int
-> Maybe [MultiplexOutputDestination]
-> Maybe Text
-> Maybe Text
-> Maybe MultiplexSettings
-> Maybe (HashMap Text Text)
-> Int
-> DeleteMultiplexResponse)
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 [Text]
-> Maybe Int
-> Maybe [MultiplexOutputDestination]
-> Maybe Text
-> Maybe Text
-> Maybe MultiplexSettings
-> Maybe (HashMap Text Text)
-> Int
-> DeleteMultiplexResponse)
-> Either String (Maybe Int)
-> Either
String
(Maybe [Text]
-> Maybe Int
-> Maybe [MultiplexOutputDestination]
-> Maybe Text
-> Maybe Text
-> Maybe MultiplexSettings
-> Maybe (HashMap Text Text)
-> Int
-> DeleteMultiplexResponse)
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 [Text]
-> Maybe Int
-> Maybe [MultiplexOutputDestination]
-> Maybe Text
-> Maybe Text
-> Maybe MultiplexSettings
-> Maybe (HashMap Text Text)
-> Int
-> DeleteMultiplexResponse)
-> Either String (Maybe [Text])
-> Either
String
(Maybe Int
-> Maybe [MultiplexOutputDestination]
-> Maybe Text
-> Maybe Text
-> Maybe MultiplexSettings
-> Maybe (HashMap Text Text)
-> Int
-> DeleteMultiplexResponse)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> ( Object
x Object -> Text -> Either String (Maybe (Maybe [Text]))
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"availabilityZones"
Either String (Maybe (Maybe [Text]))
-> Maybe [Text] -> Either String (Maybe [Text])
forall (f :: * -> *) a. Functor f => f (Maybe a) -> a -> f a
Core..!@ Maybe [Text]
forall a. Monoid a => a
Prelude.mempty
)
Either
String
(Maybe Int
-> Maybe [MultiplexOutputDestination]
-> Maybe Text
-> Maybe Text
-> Maybe MultiplexSettings
-> Maybe (HashMap Text Text)
-> Int
-> DeleteMultiplexResponse)
-> Either String (Maybe Int)
-> Either
String
(Maybe [MultiplexOutputDestination]
-> Maybe Text
-> Maybe Text
-> Maybe MultiplexSettings
-> Maybe (HashMap Text Text)
-> Int
-> DeleteMultiplexResponse)
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
"programCount")
Either
String
(Maybe [MultiplexOutputDestination]
-> Maybe Text
-> Maybe Text
-> Maybe MultiplexSettings
-> Maybe (HashMap Text Text)
-> Int
-> DeleteMultiplexResponse)
-> Either String (Maybe [MultiplexOutputDestination])
-> Either
String
(Maybe Text
-> Maybe Text
-> Maybe MultiplexSettings
-> Maybe (HashMap Text Text)
-> Int
-> DeleteMultiplexResponse)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object
-> Text
-> Either String (Maybe (Maybe [MultiplexOutputDestination]))
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"destinations" Either String (Maybe (Maybe [MultiplexOutputDestination]))
-> Maybe [MultiplexOutputDestination]
-> Either String (Maybe [MultiplexOutputDestination])
forall (f :: * -> *) a. Functor f => f (Maybe a) -> a -> f a
Core..!@ Maybe [MultiplexOutputDestination]
forall a. Monoid a => a
Prelude.mempty)
Either
String
(Maybe Text
-> Maybe Text
-> Maybe MultiplexSettings
-> Maybe (HashMap Text Text)
-> Int
-> DeleteMultiplexResponse)
-> Either String (Maybe Text)
-> Either
String
(Maybe Text
-> Maybe MultiplexSettings
-> Maybe (HashMap Text Text)
-> Int
-> DeleteMultiplexResponse)
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 Text
-> Maybe MultiplexSettings
-> Maybe (HashMap Text Text)
-> Int
-> DeleteMultiplexResponse)
-> Either String (Maybe Text)
-> Either
String
(Maybe MultiplexSettings
-> Maybe (HashMap Text Text) -> Int -> DeleteMultiplexResponse)
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 MultiplexSettings
-> Maybe (HashMap Text Text) -> Int -> DeleteMultiplexResponse)
-> Either String (Maybe MultiplexSettings)
-> Either
String
(Maybe (HashMap Text Text) -> Int -> DeleteMultiplexResponse)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Either String (Maybe MultiplexSettings)
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"multiplexSettings")
Either
String
(Maybe (HashMap Text Text) -> Int -> DeleteMultiplexResponse)
-> Either String (Maybe (HashMap Text Text))
-> Either String (Int -> DeleteMultiplexResponse)
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 (Int -> DeleteMultiplexResponse)
-> Either String Int -> Either String DeleteMultiplexResponse
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 DeleteMultiplex
instance Prelude.NFData DeleteMultiplex
instance Core.ToHeaders DeleteMultiplex where
toHeaders :: DeleteMultiplex -> ResponseHeaders
toHeaders =
ResponseHeaders -> DeleteMultiplex -> 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 DeleteMultiplex where
toPath :: DeleteMultiplex -> ByteString
toPath DeleteMultiplex' {Text
multiplexId :: Text
$sel:multiplexId:DeleteMultiplex' :: DeleteMultiplex -> 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]
instance Core.ToQuery DeleteMultiplex where
toQuery :: DeleteMultiplex -> QueryString
toQuery = QueryString -> DeleteMultiplex -> QueryString
forall a b. a -> b -> a
Prelude.const QueryString
forall a. Monoid a => a
Prelude.mempty
data DeleteMultiplexResponse = DeleteMultiplexResponse'
{
DeleteMultiplexResponse -> Maybe MultiplexState
state :: Prelude.Maybe MultiplexState,
DeleteMultiplexResponse -> Maybe Text
arn :: Prelude.Maybe Prelude.Text,
DeleteMultiplexResponse -> Maybe Int
pipelinesRunningCount :: Prelude.Maybe Prelude.Int,
DeleteMultiplexResponse -> Maybe [Text]
availabilityZones :: Prelude.Maybe [Prelude.Text],
DeleteMultiplexResponse -> Maybe Int
programCount :: Prelude.Maybe Prelude.Int,
DeleteMultiplexResponse -> Maybe [MultiplexOutputDestination]
destinations :: Prelude.Maybe [MultiplexOutputDestination],
DeleteMultiplexResponse -> Maybe Text
name :: Prelude.Maybe Prelude.Text,
DeleteMultiplexResponse -> Maybe Text
id :: Prelude.Maybe Prelude.Text,
DeleteMultiplexResponse -> Maybe MultiplexSettings
multiplexSettings :: Prelude.Maybe MultiplexSettings,
DeleteMultiplexResponse -> Maybe (HashMap Text Text)
tags :: Prelude.Maybe (Prelude.HashMap Prelude.Text Prelude.Text),
DeleteMultiplexResponse -> Int
httpStatus :: Prelude.Int
}
deriving (DeleteMultiplexResponse -> DeleteMultiplexResponse -> Bool
(DeleteMultiplexResponse -> DeleteMultiplexResponse -> Bool)
-> (DeleteMultiplexResponse -> DeleteMultiplexResponse -> Bool)
-> Eq DeleteMultiplexResponse
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: DeleteMultiplexResponse -> DeleteMultiplexResponse -> Bool
$c/= :: DeleteMultiplexResponse -> DeleteMultiplexResponse -> Bool
== :: DeleteMultiplexResponse -> DeleteMultiplexResponse -> Bool
$c== :: DeleteMultiplexResponse -> DeleteMultiplexResponse -> Bool
Prelude.Eq, ReadPrec [DeleteMultiplexResponse]
ReadPrec DeleteMultiplexResponse
Int -> ReadS DeleteMultiplexResponse
ReadS [DeleteMultiplexResponse]
(Int -> ReadS DeleteMultiplexResponse)
-> ReadS [DeleteMultiplexResponse]
-> ReadPrec DeleteMultiplexResponse
-> ReadPrec [DeleteMultiplexResponse]
-> Read DeleteMultiplexResponse
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [DeleteMultiplexResponse]
$creadListPrec :: ReadPrec [DeleteMultiplexResponse]
readPrec :: ReadPrec DeleteMultiplexResponse
$creadPrec :: ReadPrec DeleteMultiplexResponse
readList :: ReadS [DeleteMultiplexResponse]
$creadList :: ReadS [DeleteMultiplexResponse]
readsPrec :: Int -> ReadS DeleteMultiplexResponse
$creadsPrec :: Int -> ReadS DeleteMultiplexResponse
Prelude.Read, Int -> DeleteMultiplexResponse -> ShowS
[DeleteMultiplexResponse] -> ShowS
DeleteMultiplexResponse -> String
(Int -> DeleteMultiplexResponse -> ShowS)
-> (DeleteMultiplexResponse -> String)
-> ([DeleteMultiplexResponse] -> ShowS)
-> Show DeleteMultiplexResponse
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [DeleteMultiplexResponse] -> ShowS
$cshowList :: [DeleteMultiplexResponse] -> ShowS
show :: DeleteMultiplexResponse -> String
$cshow :: DeleteMultiplexResponse -> String
showsPrec :: Int -> DeleteMultiplexResponse -> ShowS
$cshowsPrec :: Int -> DeleteMultiplexResponse -> ShowS
Prelude.Show, (forall x.
DeleteMultiplexResponse -> Rep DeleteMultiplexResponse x)
-> (forall x.
Rep DeleteMultiplexResponse x -> DeleteMultiplexResponse)
-> Generic DeleteMultiplexResponse
forall x. Rep DeleteMultiplexResponse x -> DeleteMultiplexResponse
forall x. DeleteMultiplexResponse -> Rep DeleteMultiplexResponse x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep DeleteMultiplexResponse x -> DeleteMultiplexResponse
$cfrom :: forall x. DeleteMultiplexResponse -> Rep DeleteMultiplexResponse x
Prelude.Generic)
newDeleteMultiplexResponse ::
Prelude.Int ->
DeleteMultiplexResponse
newDeleteMultiplexResponse :: Int -> DeleteMultiplexResponse
newDeleteMultiplexResponse Int
pHttpStatus_ =
DeleteMultiplexResponse' :: Maybe MultiplexState
-> Maybe Text
-> Maybe Int
-> Maybe [Text]
-> Maybe Int
-> Maybe [MultiplexOutputDestination]
-> Maybe Text
-> Maybe Text
-> Maybe MultiplexSettings
-> Maybe (HashMap Text Text)
-> Int
-> DeleteMultiplexResponse
DeleteMultiplexResponse'
{ $sel:state:DeleteMultiplexResponse' :: Maybe MultiplexState
state = Maybe MultiplexState
forall a. Maybe a
Prelude.Nothing,
$sel:arn:DeleteMultiplexResponse' :: Maybe Text
arn = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:pipelinesRunningCount:DeleteMultiplexResponse' :: Maybe Int
pipelinesRunningCount = Maybe Int
forall a. Maybe a
Prelude.Nothing,
$sel:availabilityZones:DeleteMultiplexResponse' :: Maybe [Text]
availabilityZones = Maybe [Text]
forall a. Maybe a
Prelude.Nothing,
$sel:programCount:DeleteMultiplexResponse' :: Maybe Int
programCount = Maybe Int
forall a. Maybe a
Prelude.Nothing,
$sel:destinations:DeleteMultiplexResponse' :: Maybe [MultiplexOutputDestination]
destinations = Maybe [MultiplexOutputDestination]
forall a. Maybe a
Prelude.Nothing,
$sel:name:DeleteMultiplexResponse' :: Maybe Text
name = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:id:DeleteMultiplexResponse' :: Maybe Text
id = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:multiplexSettings:DeleteMultiplexResponse' :: Maybe MultiplexSettings
multiplexSettings = Maybe MultiplexSettings
forall a. Maybe a
Prelude.Nothing,
$sel:tags:DeleteMultiplexResponse' :: Maybe (HashMap Text Text)
tags = Maybe (HashMap Text Text)
forall a. Maybe a
Prelude.Nothing,
$sel:httpStatus:DeleteMultiplexResponse' :: Int
httpStatus = Int
pHttpStatus_
}
deleteMultiplexResponse_state :: Lens.Lens' DeleteMultiplexResponse (Prelude.Maybe MultiplexState)
deleteMultiplexResponse_state :: (Maybe MultiplexState -> f (Maybe MultiplexState))
-> DeleteMultiplexResponse -> f DeleteMultiplexResponse
deleteMultiplexResponse_state = (DeleteMultiplexResponse -> Maybe MultiplexState)
-> (DeleteMultiplexResponse
-> Maybe MultiplexState -> DeleteMultiplexResponse)
-> Lens
DeleteMultiplexResponse
DeleteMultiplexResponse
(Maybe MultiplexState)
(Maybe MultiplexState)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DeleteMultiplexResponse' {Maybe MultiplexState
state :: Maybe MultiplexState
$sel:state:DeleteMultiplexResponse' :: DeleteMultiplexResponse -> Maybe MultiplexState
state} -> Maybe MultiplexState
state) (\s :: DeleteMultiplexResponse
s@DeleteMultiplexResponse' {} Maybe MultiplexState
a -> DeleteMultiplexResponse
s {$sel:state:DeleteMultiplexResponse' :: Maybe MultiplexState
state = Maybe MultiplexState
a} :: DeleteMultiplexResponse)
deleteMultiplexResponse_arn :: Lens.Lens' DeleteMultiplexResponse (Prelude.Maybe Prelude.Text)
deleteMultiplexResponse_arn :: (Maybe Text -> f (Maybe Text))
-> DeleteMultiplexResponse -> f DeleteMultiplexResponse
deleteMultiplexResponse_arn = (DeleteMultiplexResponse -> Maybe Text)
-> (DeleteMultiplexResponse
-> Maybe Text -> DeleteMultiplexResponse)
-> Lens
DeleteMultiplexResponse
DeleteMultiplexResponse
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DeleteMultiplexResponse' {Maybe Text
arn :: Maybe Text
$sel:arn:DeleteMultiplexResponse' :: DeleteMultiplexResponse -> Maybe Text
arn} -> Maybe Text
arn) (\s :: DeleteMultiplexResponse
s@DeleteMultiplexResponse' {} Maybe Text
a -> DeleteMultiplexResponse
s {$sel:arn:DeleteMultiplexResponse' :: Maybe Text
arn = Maybe Text
a} :: DeleteMultiplexResponse)
deleteMultiplexResponse_pipelinesRunningCount :: Lens.Lens' DeleteMultiplexResponse (Prelude.Maybe Prelude.Int)
deleteMultiplexResponse_pipelinesRunningCount :: (Maybe Int -> f (Maybe Int))
-> DeleteMultiplexResponse -> f DeleteMultiplexResponse
deleteMultiplexResponse_pipelinesRunningCount = (DeleteMultiplexResponse -> Maybe Int)
-> (DeleteMultiplexResponse
-> Maybe Int -> DeleteMultiplexResponse)
-> Lens
DeleteMultiplexResponse
DeleteMultiplexResponse
(Maybe Int)
(Maybe Int)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DeleteMultiplexResponse' {Maybe Int
pipelinesRunningCount :: Maybe Int
$sel:pipelinesRunningCount:DeleteMultiplexResponse' :: DeleteMultiplexResponse -> Maybe Int
pipelinesRunningCount} -> Maybe Int
pipelinesRunningCount) (\s :: DeleteMultiplexResponse
s@DeleteMultiplexResponse' {} Maybe Int
a -> DeleteMultiplexResponse
s {$sel:pipelinesRunningCount:DeleteMultiplexResponse' :: Maybe Int
pipelinesRunningCount = Maybe Int
a} :: DeleteMultiplexResponse)
deleteMultiplexResponse_availabilityZones :: Lens.Lens' DeleteMultiplexResponse (Prelude.Maybe [Prelude.Text])
deleteMultiplexResponse_availabilityZones :: (Maybe [Text] -> f (Maybe [Text]))
-> DeleteMultiplexResponse -> f DeleteMultiplexResponse
deleteMultiplexResponse_availabilityZones = (DeleteMultiplexResponse -> Maybe [Text])
-> (DeleteMultiplexResponse
-> Maybe [Text] -> DeleteMultiplexResponse)
-> Lens
DeleteMultiplexResponse
DeleteMultiplexResponse
(Maybe [Text])
(Maybe [Text])
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DeleteMultiplexResponse' {Maybe [Text]
availabilityZones :: Maybe [Text]
$sel:availabilityZones:DeleteMultiplexResponse' :: DeleteMultiplexResponse -> Maybe [Text]
availabilityZones} -> Maybe [Text]
availabilityZones) (\s :: DeleteMultiplexResponse
s@DeleteMultiplexResponse' {} Maybe [Text]
a -> DeleteMultiplexResponse
s {$sel:availabilityZones:DeleteMultiplexResponse' :: Maybe [Text]
availabilityZones = Maybe [Text]
a} :: DeleteMultiplexResponse) ((Maybe [Text] -> f (Maybe [Text]))
-> DeleteMultiplexResponse -> f DeleteMultiplexResponse)
-> ((Maybe [Text] -> f (Maybe [Text]))
-> Maybe [Text] -> f (Maybe [Text]))
-> (Maybe [Text] -> f (Maybe [Text]))
-> DeleteMultiplexResponse
-> f DeleteMultiplexResponse
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. AnIso [Text] [Text] [Text] [Text]
-> Iso (Maybe [Text]) (Maybe [Text]) (Maybe [Text]) (Maybe [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 [Text] [Text] [Text] [Text]
forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced
deleteMultiplexResponse_programCount :: Lens.Lens' DeleteMultiplexResponse (Prelude.Maybe Prelude.Int)
deleteMultiplexResponse_programCount :: (Maybe Int -> f (Maybe Int))
-> DeleteMultiplexResponse -> f DeleteMultiplexResponse
deleteMultiplexResponse_programCount = (DeleteMultiplexResponse -> Maybe Int)
-> (DeleteMultiplexResponse
-> Maybe Int -> DeleteMultiplexResponse)
-> Lens
DeleteMultiplexResponse
DeleteMultiplexResponse
(Maybe Int)
(Maybe Int)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DeleteMultiplexResponse' {Maybe Int
programCount :: Maybe Int
$sel:programCount:DeleteMultiplexResponse' :: DeleteMultiplexResponse -> Maybe Int
programCount} -> Maybe Int
programCount) (\s :: DeleteMultiplexResponse
s@DeleteMultiplexResponse' {} Maybe Int
a -> DeleteMultiplexResponse
s {$sel:programCount:DeleteMultiplexResponse' :: Maybe Int
programCount = Maybe Int
a} :: DeleteMultiplexResponse)
deleteMultiplexResponse_destinations :: Lens.Lens' DeleteMultiplexResponse (Prelude.Maybe [MultiplexOutputDestination])
deleteMultiplexResponse_destinations :: (Maybe [MultiplexOutputDestination]
-> f (Maybe [MultiplexOutputDestination]))
-> DeleteMultiplexResponse -> f DeleteMultiplexResponse
deleteMultiplexResponse_destinations = (DeleteMultiplexResponse -> Maybe [MultiplexOutputDestination])
-> (DeleteMultiplexResponse
-> Maybe [MultiplexOutputDestination] -> DeleteMultiplexResponse)
-> Lens
DeleteMultiplexResponse
DeleteMultiplexResponse
(Maybe [MultiplexOutputDestination])
(Maybe [MultiplexOutputDestination])
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DeleteMultiplexResponse' {Maybe [MultiplexOutputDestination]
destinations :: Maybe [MultiplexOutputDestination]
$sel:destinations:DeleteMultiplexResponse' :: DeleteMultiplexResponse -> Maybe [MultiplexOutputDestination]
destinations} -> Maybe [MultiplexOutputDestination]
destinations) (\s :: DeleteMultiplexResponse
s@DeleteMultiplexResponse' {} Maybe [MultiplexOutputDestination]
a -> DeleteMultiplexResponse
s {$sel:destinations:DeleteMultiplexResponse' :: Maybe [MultiplexOutputDestination]
destinations = Maybe [MultiplexOutputDestination]
a} :: DeleteMultiplexResponse) ((Maybe [MultiplexOutputDestination]
-> f (Maybe [MultiplexOutputDestination]))
-> DeleteMultiplexResponse -> f DeleteMultiplexResponse)
-> ((Maybe [MultiplexOutputDestination]
-> f (Maybe [MultiplexOutputDestination]))
-> Maybe [MultiplexOutputDestination]
-> f (Maybe [MultiplexOutputDestination]))
-> (Maybe [MultiplexOutputDestination]
-> f (Maybe [MultiplexOutputDestination]))
-> DeleteMultiplexResponse
-> f DeleteMultiplexResponse
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. AnIso
[MultiplexOutputDestination]
[MultiplexOutputDestination]
[MultiplexOutputDestination]
[MultiplexOutputDestination]
-> Iso
(Maybe [MultiplexOutputDestination])
(Maybe [MultiplexOutputDestination])
(Maybe [MultiplexOutputDestination])
(Maybe [MultiplexOutputDestination])
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
[MultiplexOutputDestination]
[MultiplexOutputDestination]
[MultiplexOutputDestination]
[MultiplexOutputDestination]
forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced
deleteMultiplexResponse_name :: Lens.Lens' DeleteMultiplexResponse (Prelude.Maybe Prelude.Text)
deleteMultiplexResponse_name :: (Maybe Text -> f (Maybe Text))
-> DeleteMultiplexResponse -> f DeleteMultiplexResponse
deleteMultiplexResponse_name = (DeleteMultiplexResponse -> Maybe Text)
-> (DeleteMultiplexResponse
-> Maybe Text -> DeleteMultiplexResponse)
-> Lens
DeleteMultiplexResponse
DeleteMultiplexResponse
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DeleteMultiplexResponse' {Maybe Text
name :: Maybe Text
$sel:name:DeleteMultiplexResponse' :: DeleteMultiplexResponse -> Maybe Text
name} -> Maybe Text
name) (\s :: DeleteMultiplexResponse
s@DeleteMultiplexResponse' {} Maybe Text
a -> DeleteMultiplexResponse
s {$sel:name:DeleteMultiplexResponse' :: Maybe Text
name = Maybe Text
a} :: DeleteMultiplexResponse)
deleteMultiplexResponse_id :: Lens.Lens' DeleteMultiplexResponse (Prelude.Maybe Prelude.Text)
deleteMultiplexResponse_id :: (Maybe Text -> f (Maybe Text))
-> DeleteMultiplexResponse -> f DeleteMultiplexResponse
deleteMultiplexResponse_id = (DeleteMultiplexResponse -> Maybe Text)
-> (DeleteMultiplexResponse
-> Maybe Text -> DeleteMultiplexResponse)
-> Lens
DeleteMultiplexResponse
DeleteMultiplexResponse
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DeleteMultiplexResponse' {Maybe Text
id :: Maybe Text
$sel:id:DeleteMultiplexResponse' :: DeleteMultiplexResponse -> Maybe Text
id} -> Maybe Text
id) (\s :: DeleteMultiplexResponse
s@DeleteMultiplexResponse' {} Maybe Text
a -> DeleteMultiplexResponse
s {$sel:id:DeleteMultiplexResponse' :: Maybe Text
id = Maybe Text
a} :: DeleteMultiplexResponse)
deleteMultiplexResponse_multiplexSettings :: Lens.Lens' DeleteMultiplexResponse (Prelude.Maybe MultiplexSettings)
deleteMultiplexResponse_multiplexSettings :: (Maybe MultiplexSettings -> f (Maybe MultiplexSettings))
-> DeleteMultiplexResponse -> f DeleteMultiplexResponse
deleteMultiplexResponse_multiplexSettings = (DeleteMultiplexResponse -> Maybe MultiplexSettings)
-> (DeleteMultiplexResponse
-> Maybe MultiplexSettings -> DeleteMultiplexResponse)
-> Lens
DeleteMultiplexResponse
DeleteMultiplexResponse
(Maybe MultiplexSettings)
(Maybe MultiplexSettings)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DeleteMultiplexResponse' {Maybe MultiplexSettings
multiplexSettings :: Maybe MultiplexSettings
$sel:multiplexSettings:DeleteMultiplexResponse' :: DeleteMultiplexResponse -> Maybe MultiplexSettings
multiplexSettings} -> Maybe MultiplexSettings
multiplexSettings) (\s :: DeleteMultiplexResponse
s@DeleteMultiplexResponse' {} Maybe MultiplexSettings
a -> DeleteMultiplexResponse
s {$sel:multiplexSettings:DeleteMultiplexResponse' :: Maybe MultiplexSettings
multiplexSettings = Maybe MultiplexSettings
a} :: DeleteMultiplexResponse)
deleteMultiplexResponse_tags :: Lens.Lens' DeleteMultiplexResponse (Prelude.Maybe (Prelude.HashMap Prelude.Text Prelude.Text))
deleteMultiplexResponse_tags :: (Maybe (HashMap Text Text) -> f (Maybe (HashMap Text Text)))
-> DeleteMultiplexResponse -> f DeleteMultiplexResponse
deleteMultiplexResponse_tags = (DeleteMultiplexResponse -> Maybe (HashMap Text Text))
-> (DeleteMultiplexResponse
-> Maybe (HashMap Text Text) -> DeleteMultiplexResponse)
-> Lens
DeleteMultiplexResponse
DeleteMultiplexResponse
(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 (\DeleteMultiplexResponse' {Maybe (HashMap Text Text)
tags :: Maybe (HashMap Text Text)
$sel:tags:DeleteMultiplexResponse' :: DeleteMultiplexResponse -> Maybe (HashMap Text Text)
tags} -> Maybe (HashMap Text Text)
tags) (\s :: DeleteMultiplexResponse
s@DeleteMultiplexResponse' {} Maybe (HashMap Text Text)
a -> DeleteMultiplexResponse
s {$sel:tags:DeleteMultiplexResponse' :: Maybe (HashMap Text Text)
tags = Maybe (HashMap Text Text)
a} :: DeleteMultiplexResponse) ((Maybe (HashMap Text Text) -> f (Maybe (HashMap Text Text)))
-> DeleteMultiplexResponse -> f DeleteMultiplexResponse)
-> ((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)))
-> DeleteMultiplexResponse
-> f DeleteMultiplexResponse
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
deleteMultiplexResponse_httpStatus :: Lens.Lens' DeleteMultiplexResponse Prelude.Int
deleteMultiplexResponse_httpStatus :: (Int -> f Int)
-> DeleteMultiplexResponse -> f DeleteMultiplexResponse
deleteMultiplexResponse_httpStatus = (DeleteMultiplexResponse -> Int)
-> (DeleteMultiplexResponse -> Int -> DeleteMultiplexResponse)
-> Lens DeleteMultiplexResponse DeleteMultiplexResponse Int Int
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DeleteMultiplexResponse' {Int
httpStatus :: Int
$sel:httpStatus:DeleteMultiplexResponse' :: DeleteMultiplexResponse -> Int
httpStatus} -> Int
httpStatus) (\s :: DeleteMultiplexResponse
s@DeleteMultiplexResponse' {} Int
a -> DeleteMultiplexResponse
s {$sel:httpStatus:DeleteMultiplexResponse' :: Int
httpStatus = Int
a} :: DeleteMultiplexResponse)
instance Prelude.NFData DeleteMultiplexResponse