{-# 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_arn,
deleteMultiplexResponse_availabilityZones,
deleteMultiplexResponse_destinations,
deleteMultiplexResponse_id,
deleteMultiplexResponse_multiplexSettings,
deleteMultiplexResponse_name,
deleteMultiplexResponse_pipelinesRunningCount,
deleteMultiplexResponse_programCount,
deleteMultiplexResponse_state,
deleteMultiplexResponse_tags,
deleteMultiplexResponse_httpStatus,
)
where
import qualified Amazonka.Core as Core
import qualified Amazonka.Core.Lens.Internal as Lens
import qualified Amazonka.Data as Data
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
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]
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
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. 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' {$sel:multiplexId:DeleteMultiplex' :: Text
multiplexId = Text
pMultiplexId_}
deleteMultiplex_multiplexId :: Lens.Lens' DeleteMultiplex Prelude.Text
deleteMultiplex_multiplexId :: Lens' DeleteMultiplex Text
deleteMultiplex_multiplexId = 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 :: (Service -> Service) -> DeleteMultiplex -> Request DeleteMultiplex
request Service -> Service
overrides =
forall a. ToRequest a => Service -> a -> Request a
Request.delete (Service -> Service
overrides Service
defaultService)
response :: forall (m :: * -> *).
MonadResource m =>
(ByteStringLazy -> IO ByteStringLazy)
-> Service
-> Proxy DeleteMultiplex
-> ClientResponse ClientBody
-> m (Either Error (ClientResponse (AWSResponse DeleteMultiplex)))
response =
forall (m :: * -> *) a.
MonadResource m =>
(Int -> ResponseHeaders -> Object -> Either String (AWSResponse a))
-> (ByteStringLazy -> IO ByteStringLazy)
-> Service
-> Proxy a
-> ClientResponse ClientBody
-> m (Either Error (ClientResponse (AWSResponse a)))
Response.receiveJSON
( \Int
s ResponseHeaders
h Object
x ->
Maybe Text
-> Maybe [Text]
-> Maybe [MultiplexOutputDestination]
-> Maybe Text
-> Maybe MultiplexSettings
-> Maybe Text
-> Maybe Int
-> Maybe Int
-> Maybe MultiplexState
-> Maybe (HashMap Text Text)
-> Int
-> DeleteMultiplexResponse
DeleteMultiplexResponse'
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> (Object
x forall a. FromJSON a => Object -> Key -> Either String (Maybe a)
Data..?> Key
"arn")
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> ( Object
x
forall a. FromJSON a => Object -> Key -> Either String (Maybe a)
Data..?> Key
"availabilityZones"
forall (f :: * -> *) a. Functor f => f (Maybe a) -> a -> f a
Core..!@ forall a. Monoid a => a
Prelude.mempty
)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Either String (Maybe a)
Data..?> Key
"destinations" forall (f :: * -> *) a. Functor f => f (Maybe a) -> a -> f a
Core..!@ forall a. Monoid a => a
Prelude.mempty)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Either String (Maybe a)
Data..?> Key
"id")
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Either String (Maybe a)
Data..?> Key
"multiplexSettings")
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Either String (Maybe a)
Data..?> Key
"name")
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Either String (Maybe a)
Data..?> Key
"pipelinesRunningCount")
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Either String (Maybe a)
Data..?> Key
"programCount")
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Either String (Maybe a)
Data..?> Key
"state")
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Either String (Maybe a)
Data..?> Key
"tags" forall (f :: * -> *) a. Functor f => f (Maybe a) -> a -> f a
Core..!@ forall a. Monoid a => a
Prelude.mempty)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure (forall a. Enum a => a -> Int
Prelude.fromEnum Int
s))
)
instance Prelude.Hashable DeleteMultiplex where
hashWithSalt :: Int -> DeleteMultiplex -> Int
hashWithSalt Int
_salt DeleteMultiplex' {Text
multiplexId :: Text
$sel:multiplexId:DeleteMultiplex' :: DeleteMultiplex -> Text
..} =
Int
_salt forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Text
multiplexId
instance Prelude.NFData DeleteMultiplex where
rnf :: DeleteMultiplex -> ()
rnf DeleteMultiplex' {Text
multiplexId :: Text
$sel:multiplexId:DeleteMultiplex' :: DeleteMultiplex -> Text
..} = forall a. NFData a => a -> ()
Prelude.rnf Text
multiplexId
instance Data.ToHeaders DeleteMultiplex where
toHeaders :: DeleteMultiplex -> ResponseHeaders
toHeaders =
forall a b. a -> b -> a
Prelude.const
( forall a. Monoid a => [a] -> a
Prelude.mconcat
[ HeaderName
"Content-Type"
forall a. ToHeader a => HeaderName -> a -> ResponseHeaders
Data.=# ( ByteString
"application/x-amz-json-1.1" ::
Prelude.ByteString
)
]
)
instance Data.ToPath DeleteMultiplex where
toPath :: DeleteMultiplex -> ByteString
toPath DeleteMultiplex' {Text
multiplexId :: Text
$sel:multiplexId:DeleteMultiplex' :: DeleteMultiplex -> Text
..} =
forall a. Monoid a => [a] -> a
Prelude.mconcat
[ByteString
"/prod/multiplexes/", forall a. ToByteString a => a -> ByteString
Data.toBS Text
multiplexId]
instance Data.ToQuery DeleteMultiplex where
toQuery :: DeleteMultiplex -> QueryString
toQuery = forall a b. a -> b -> a
Prelude.const forall a. Monoid a => a
Prelude.mempty
data DeleteMultiplexResponse = DeleteMultiplexResponse'
{
DeleteMultiplexResponse -> Maybe Text
arn :: Prelude.Maybe Prelude.Text,
DeleteMultiplexResponse -> Maybe [Text]
availabilityZones :: Prelude.Maybe [Prelude.Text],
DeleteMultiplexResponse -> Maybe [MultiplexOutputDestination]
destinations :: Prelude.Maybe [MultiplexOutputDestination],
DeleteMultiplexResponse -> Maybe Text
id :: Prelude.Maybe Prelude.Text,
DeleteMultiplexResponse -> Maybe MultiplexSettings
multiplexSettings :: Prelude.Maybe MultiplexSettings,
DeleteMultiplexResponse -> Maybe Text
name :: Prelude.Maybe Prelude.Text,
DeleteMultiplexResponse -> Maybe Int
pipelinesRunningCount :: Prelude.Maybe Prelude.Int,
DeleteMultiplexResponse -> Maybe Int
programCount :: Prelude.Maybe Prelude.Int,
DeleteMultiplexResponse -> Maybe MultiplexState
state :: Prelude.Maybe MultiplexState,
DeleteMultiplexResponse -> Maybe (HashMap Text Text)
tags :: Prelude.Maybe (Prelude.HashMap Prelude.Text Prelude.Text),
DeleteMultiplexResponse -> Int
httpStatus :: Prelude.Int
}
deriving (DeleteMultiplexResponse -> DeleteMultiplexResponse -> Bool
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]
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
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. 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'
{ $sel:arn:DeleteMultiplexResponse' :: Maybe Text
arn = forall a. Maybe a
Prelude.Nothing,
$sel:availabilityZones:DeleteMultiplexResponse' :: Maybe [Text]
availabilityZones = forall a. Maybe a
Prelude.Nothing,
$sel:destinations:DeleteMultiplexResponse' :: Maybe [MultiplexOutputDestination]
destinations = forall a. Maybe a
Prelude.Nothing,
$sel:id:DeleteMultiplexResponse' :: Maybe Text
id = forall a. Maybe a
Prelude.Nothing,
$sel:multiplexSettings:DeleteMultiplexResponse' :: Maybe MultiplexSettings
multiplexSettings = forall a. Maybe a
Prelude.Nothing,
$sel:name:DeleteMultiplexResponse' :: Maybe Text
name = forall a. Maybe a
Prelude.Nothing,
$sel:pipelinesRunningCount:DeleteMultiplexResponse' :: Maybe Int
pipelinesRunningCount = forall a. Maybe a
Prelude.Nothing,
$sel:programCount:DeleteMultiplexResponse' :: Maybe Int
programCount = forall a. Maybe a
Prelude.Nothing,
$sel:state:DeleteMultiplexResponse' :: Maybe MultiplexState
state = forall a. Maybe a
Prelude.Nothing,
$sel:tags:DeleteMultiplexResponse' :: Maybe (HashMap Text Text)
tags = forall a. Maybe a
Prelude.Nothing,
$sel:httpStatus:DeleteMultiplexResponse' :: Int
httpStatus = Int
pHttpStatus_
}
deleteMultiplexResponse_arn :: Lens.Lens' DeleteMultiplexResponse (Prelude.Maybe Prelude.Text)
deleteMultiplexResponse_arn :: Lens' DeleteMultiplexResponse (Maybe Text)
deleteMultiplexResponse_arn = 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_availabilityZones :: Lens.Lens' DeleteMultiplexResponse (Prelude.Maybe [Prelude.Text])
deleteMultiplexResponse_availabilityZones :: Lens' DeleteMultiplexResponse (Maybe [Text])
deleteMultiplexResponse_availabilityZones = 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) forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. 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 forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced
deleteMultiplexResponse_destinations :: Lens.Lens' DeleteMultiplexResponse (Prelude.Maybe [MultiplexOutputDestination])
deleteMultiplexResponse_destinations :: Lens' DeleteMultiplexResponse (Maybe [MultiplexOutputDestination])
deleteMultiplexResponse_destinations = 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) forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. 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 forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced
deleteMultiplexResponse_id :: Lens.Lens' DeleteMultiplexResponse (Prelude.Maybe Prelude.Text)
deleteMultiplexResponse_id :: Lens' DeleteMultiplexResponse (Maybe Text)
deleteMultiplexResponse_id = 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 :: Lens' DeleteMultiplexResponse (Maybe MultiplexSettings)
deleteMultiplexResponse_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_name :: Lens.Lens' DeleteMultiplexResponse (Prelude.Maybe Prelude.Text)
deleteMultiplexResponse_name :: Lens' DeleteMultiplexResponse (Maybe Text)
deleteMultiplexResponse_name = 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_pipelinesRunningCount :: Lens.Lens' DeleteMultiplexResponse (Prelude.Maybe Prelude.Int)
deleteMultiplexResponse_pipelinesRunningCount :: Lens' DeleteMultiplexResponse (Maybe Int)
deleteMultiplexResponse_pipelinesRunningCount = 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_programCount :: Lens.Lens' DeleteMultiplexResponse (Prelude.Maybe Prelude.Int)
deleteMultiplexResponse_programCount :: Lens' DeleteMultiplexResponse (Maybe Int)
deleteMultiplexResponse_programCount = 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_state :: Lens.Lens' DeleteMultiplexResponse (Prelude.Maybe MultiplexState)
deleteMultiplexResponse_state :: Lens' DeleteMultiplexResponse (Maybe MultiplexState)
deleteMultiplexResponse_state = 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_tags :: Lens.Lens' DeleteMultiplexResponse (Prelude.Maybe (Prelude.HashMap Prelude.Text Prelude.Text))
deleteMultiplexResponse_tags :: Lens' DeleteMultiplexResponse (Maybe (HashMap Text Text))
deleteMultiplexResponse_tags = 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) forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. 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 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 :: Lens' DeleteMultiplexResponse Int
deleteMultiplexResponse_httpStatus = 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 where
rnf :: DeleteMultiplexResponse -> ()
rnf DeleteMultiplexResponse' {Int
Maybe Int
Maybe [Text]
Maybe [MultiplexOutputDestination]
Maybe Text
Maybe (HashMap Text Text)
Maybe MultiplexSettings
Maybe MultiplexState
httpStatus :: Int
tags :: Maybe (HashMap Text Text)
state :: Maybe MultiplexState
programCount :: Maybe Int
pipelinesRunningCount :: Maybe Int
name :: Maybe Text
multiplexSettings :: Maybe MultiplexSettings
id :: Maybe Text
destinations :: Maybe [MultiplexOutputDestination]
availabilityZones :: Maybe [Text]
arn :: Maybe Text
$sel:httpStatus:DeleteMultiplexResponse' :: DeleteMultiplexResponse -> Int
$sel:tags:DeleteMultiplexResponse' :: DeleteMultiplexResponse -> Maybe (HashMap Text Text)
$sel:state:DeleteMultiplexResponse' :: DeleteMultiplexResponse -> Maybe MultiplexState
$sel:programCount:DeleteMultiplexResponse' :: DeleteMultiplexResponse -> Maybe Int
$sel:pipelinesRunningCount:DeleteMultiplexResponse' :: DeleteMultiplexResponse -> Maybe Int
$sel:name:DeleteMultiplexResponse' :: DeleteMultiplexResponse -> Maybe Text
$sel:multiplexSettings:DeleteMultiplexResponse' :: DeleteMultiplexResponse -> Maybe MultiplexSettings
$sel:id:DeleteMultiplexResponse' :: DeleteMultiplexResponse -> Maybe Text
$sel:destinations:DeleteMultiplexResponse' :: DeleteMultiplexResponse -> Maybe [MultiplexOutputDestination]
$sel:availabilityZones:DeleteMultiplexResponse' :: DeleteMultiplexResponse -> Maybe [Text]
$sel:arn:DeleteMultiplexResponse' :: DeleteMultiplexResponse -> Maybe Text
..} =
forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
arn
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe [Text]
availabilityZones
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe [MultiplexOutputDestination]
destinations
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
id
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe MultiplexSettings
multiplexSettings
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
name
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Int
pipelinesRunningCount
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Int
programCount
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe MultiplexState
state
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe (HashMap Text Text)
tags
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Int
httpStatus