{-# 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.ListMultiplexes
(
ListMultiplexes (..),
newListMultiplexes,
listMultiplexes_nextToken,
listMultiplexes_maxResults,
ListMultiplexesResponse (..),
newListMultiplexesResponse,
listMultiplexesResponse_nextToken,
listMultiplexesResponse_multiplexes,
listMultiplexesResponse_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 ListMultiplexes = ListMultiplexes'
{
ListMultiplexes -> Maybe Text
nextToken :: Prelude.Maybe Prelude.Text,
ListMultiplexes -> Maybe Natural
maxResults :: Prelude.Maybe Prelude.Natural
}
deriving (ListMultiplexes -> ListMultiplexes -> Bool
(ListMultiplexes -> ListMultiplexes -> Bool)
-> (ListMultiplexes -> ListMultiplexes -> Bool)
-> Eq ListMultiplexes
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: ListMultiplexes -> ListMultiplexes -> Bool
$c/= :: ListMultiplexes -> ListMultiplexes -> Bool
== :: ListMultiplexes -> ListMultiplexes -> Bool
$c== :: ListMultiplexes -> ListMultiplexes -> Bool
Prelude.Eq, ReadPrec [ListMultiplexes]
ReadPrec ListMultiplexes
Int -> ReadS ListMultiplexes
ReadS [ListMultiplexes]
(Int -> ReadS ListMultiplexes)
-> ReadS [ListMultiplexes]
-> ReadPrec ListMultiplexes
-> ReadPrec [ListMultiplexes]
-> Read ListMultiplexes
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [ListMultiplexes]
$creadListPrec :: ReadPrec [ListMultiplexes]
readPrec :: ReadPrec ListMultiplexes
$creadPrec :: ReadPrec ListMultiplexes
readList :: ReadS [ListMultiplexes]
$creadList :: ReadS [ListMultiplexes]
readsPrec :: Int -> ReadS ListMultiplexes
$creadsPrec :: Int -> ReadS ListMultiplexes
Prelude.Read, Int -> ListMultiplexes -> ShowS
[ListMultiplexes] -> ShowS
ListMultiplexes -> String
(Int -> ListMultiplexes -> ShowS)
-> (ListMultiplexes -> String)
-> ([ListMultiplexes] -> ShowS)
-> Show ListMultiplexes
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [ListMultiplexes] -> ShowS
$cshowList :: [ListMultiplexes] -> ShowS
show :: ListMultiplexes -> String
$cshow :: ListMultiplexes -> String
showsPrec :: Int -> ListMultiplexes -> ShowS
$cshowsPrec :: Int -> ListMultiplexes -> ShowS
Prelude.Show, (forall x. ListMultiplexes -> Rep ListMultiplexes x)
-> (forall x. Rep ListMultiplexes x -> ListMultiplexes)
-> Generic ListMultiplexes
forall x. Rep ListMultiplexes x -> ListMultiplexes
forall x. ListMultiplexes -> Rep ListMultiplexes x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep ListMultiplexes x -> ListMultiplexes
$cfrom :: forall x. ListMultiplexes -> Rep ListMultiplexes x
Prelude.Generic)
newListMultiplexes ::
ListMultiplexes
newListMultiplexes :: ListMultiplexes
newListMultiplexes =
ListMultiplexes' :: Maybe Text -> Maybe Natural -> ListMultiplexes
ListMultiplexes'
{ $sel:nextToken:ListMultiplexes' :: Maybe Text
nextToken = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:maxResults:ListMultiplexes' :: Maybe Natural
maxResults = Maybe Natural
forall a. Maybe a
Prelude.Nothing
}
listMultiplexes_nextToken :: Lens.Lens' ListMultiplexes (Prelude.Maybe Prelude.Text)
listMultiplexes_nextToken :: (Maybe Text -> f (Maybe Text))
-> ListMultiplexes -> f ListMultiplexes
listMultiplexes_nextToken = (ListMultiplexes -> Maybe Text)
-> (ListMultiplexes -> Maybe Text -> ListMultiplexes)
-> Lens ListMultiplexes ListMultiplexes (Maybe Text) (Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListMultiplexes' {Maybe Text
nextToken :: Maybe Text
$sel:nextToken:ListMultiplexes' :: ListMultiplexes -> Maybe Text
nextToken} -> Maybe Text
nextToken) (\s :: ListMultiplexes
s@ListMultiplexes' {} Maybe Text
a -> ListMultiplexes
s {$sel:nextToken:ListMultiplexes' :: Maybe Text
nextToken = Maybe Text
a} :: ListMultiplexes)
listMultiplexes_maxResults :: Lens.Lens' ListMultiplexes (Prelude.Maybe Prelude.Natural)
listMultiplexes_maxResults :: (Maybe Natural -> f (Maybe Natural))
-> ListMultiplexes -> f ListMultiplexes
listMultiplexes_maxResults = (ListMultiplexes -> Maybe Natural)
-> (ListMultiplexes -> Maybe Natural -> ListMultiplexes)
-> Lens
ListMultiplexes ListMultiplexes (Maybe Natural) (Maybe Natural)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListMultiplexes' {Maybe Natural
maxResults :: Maybe Natural
$sel:maxResults:ListMultiplexes' :: ListMultiplexes -> Maybe Natural
maxResults} -> Maybe Natural
maxResults) (\s :: ListMultiplexes
s@ListMultiplexes' {} Maybe Natural
a -> ListMultiplexes
s {$sel:maxResults:ListMultiplexes' :: Maybe Natural
maxResults = Maybe Natural
a} :: ListMultiplexes)
instance Core.AWSPager ListMultiplexes where
page :: ListMultiplexes
-> AWSResponse ListMultiplexes -> Maybe ListMultiplexes
page ListMultiplexes
rq AWSResponse ListMultiplexes
rs
| Maybe Text -> Bool
forall a. AWSTruncated a => a -> Bool
Core.stop
( AWSResponse ListMultiplexes
ListMultiplexesResponse
rs
ListMultiplexesResponse
-> Getting (First Text) ListMultiplexesResponse Text -> Maybe Text
forall s a. s -> Getting (First a) s a -> Maybe a
Lens.^? (Maybe Text -> Const (First Text) (Maybe Text))
-> ListMultiplexesResponse
-> Const (First Text) ListMultiplexesResponse
Lens' ListMultiplexesResponse (Maybe Text)
listMultiplexesResponse_nextToken
((Maybe Text -> Const (First Text) (Maybe Text))
-> ListMultiplexesResponse
-> Const (First Text) ListMultiplexesResponse)
-> ((Text -> Const (First Text) Text)
-> Maybe Text -> Const (First Text) (Maybe Text))
-> Getting (First Text) ListMultiplexesResponse Text
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. (Text -> Const (First Text) Text)
-> Maybe Text -> Const (First Text) (Maybe Text)
forall a b. Prism (Maybe a) (Maybe b) a b
Lens._Just
) =
Maybe ListMultiplexes
forall a. Maybe a
Prelude.Nothing
| Maybe [MultiplexSummary] -> Bool
forall a. AWSTruncated a => a -> Bool
Core.stop
( AWSResponse ListMultiplexes
ListMultiplexesResponse
rs
ListMultiplexesResponse
-> Getting
(First [MultiplexSummary])
ListMultiplexesResponse
[MultiplexSummary]
-> Maybe [MultiplexSummary]
forall s a. s -> Getting (First a) s a -> Maybe a
Lens.^? (Maybe [MultiplexSummary]
-> Const (First [MultiplexSummary]) (Maybe [MultiplexSummary]))
-> ListMultiplexesResponse
-> Const (First [MultiplexSummary]) ListMultiplexesResponse
Lens' ListMultiplexesResponse (Maybe [MultiplexSummary])
listMultiplexesResponse_multiplexes
((Maybe [MultiplexSummary]
-> Const (First [MultiplexSummary]) (Maybe [MultiplexSummary]))
-> ListMultiplexesResponse
-> Const (First [MultiplexSummary]) ListMultiplexesResponse)
-> (([MultiplexSummary]
-> Const (First [MultiplexSummary]) [MultiplexSummary])
-> Maybe [MultiplexSummary]
-> Const (First [MultiplexSummary]) (Maybe [MultiplexSummary]))
-> Getting
(First [MultiplexSummary])
ListMultiplexesResponse
[MultiplexSummary]
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. ([MultiplexSummary]
-> Const (First [MultiplexSummary]) [MultiplexSummary])
-> Maybe [MultiplexSummary]
-> Const (First [MultiplexSummary]) (Maybe [MultiplexSummary])
forall a b. Prism (Maybe a) (Maybe b) a b
Lens._Just
) =
Maybe ListMultiplexes
forall a. Maybe a
Prelude.Nothing
| Bool
Prelude.otherwise =
ListMultiplexes -> Maybe ListMultiplexes
forall a. a -> Maybe a
Prelude.Just (ListMultiplexes -> Maybe ListMultiplexes)
-> ListMultiplexes -> Maybe ListMultiplexes
forall a b. (a -> b) -> a -> b
Prelude.$
ListMultiplexes
rq
ListMultiplexes
-> (ListMultiplexes -> ListMultiplexes) -> ListMultiplexes
forall a b. a -> (a -> b) -> b
Prelude.& (Maybe Text -> Identity (Maybe Text))
-> ListMultiplexes -> Identity ListMultiplexes
Lens ListMultiplexes ListMultiplexes (Maybe Text) (Maybe Text)
listMultiplexes_nextToken
((Maybe Text -> Identity (Maybe Text))
-> ListMultiplexes -> Identity ListMultiplexes)
-> Maybe Text -> ListMultiplexes -> ListMultiplexes
forall s t a b. ASetter s t a b -> b -> s -> t
Lens..~ AWSResponse ListMultiplexes
ListMultiplexesResponse
rs
ListMultiplexesResponse
-> Getting (First Text) ListMultiplexesResponse Text -> Maybe Text
forall s a. s -> Getting (First a) s a -> Maybe a
Lens.^? (Maybe Text -> Const (First Text) (Maybe Text))
-> ListMultiplexesResponse
-> Const (First Text) ListMultiplexesResponse
Lens' ListMultiplexesResponse (Maybe Text)
listMultiplexesResponse_nextToken
((Maybe Text -> Const (First Text) (Maybe Text))
-> ListMultiplexesResponse
-> Const (First Text) ListMultiplexesResponse)
-> ((Text -> Const (First Text) Text)
-> Maybe Text -> Const (First Text) (Maybe Text))
-> Getting (First Text) ListMultiplexesResponse Text
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. (Text -> Const (First Text) Text)
-> Maybe Text -> Const (First Text) (Maybe Text)
forall a b. Prism (Maybe a) (Maybe b) a b
Lens._Just
instance Core.AWSRequest ListMultiplexes where
type
AWSResponse ListMultiplexes =
ListMultiplexesResponse
request :: ListMultiplexes -> Request ListMultiplexes
request = Service -> ListMultiplexes -> Request ListMultiplexes
forall a. ToRequest a => Service -> a -> Request a
Request.get Service
defaultService
response :: Logger
-> Service
-> Proxy ListMultiplexes
-> ClientResponse ClientBody
-> m (Either Error (ClientResponse (AWSResponse ListMultiplexes)))
response =
(Int
-> ResponseHeaders
-> Object
-> Either String (AWSResponse ListMultiplexes))
-> Logger
-> Service
-> Proxy ListMultiplexes
-> ClientResponse ClientBody
-> m (Either Error (ClientResponse (AWSResponse ListMultiplexes)))
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 Text
-> Maybe [MultiplexSummary] -> Int -> ListMultiplexesResponse
ListMultiplexesResponse'
(Maybe Text
-> Maybe [MultiplexSummary] -> Int -> ListMultiplexesResponse)
-> Either String (Maybe Text)
-> Either
String (Maybe [MultiplexSummary] -> Int -> ListMultiplexesResponse)
forall (f :: * -> *) a b. Functor 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
"nextToken")
Either
String (Maybe [MultiplexSummary] -> Int -> ListMultiplexesResponse)
-> Either String (Maybe [MultiplexSummary])
-> Either String (Int -> ListMultiplexesResponse)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Either String (Maybe (Maybe [MultiplexSummary]))
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"multiplexes" Either String (Maybe (Maybe [MultiplexSummary]))
-> Maybe [MultiplexSummary]
-> Either String (Maybe [MultiplexSummary])
forall (f :: * -> *) a. Functor f => f (Maybe a) -> a -> f a
Core..!@ Maybe [MultiplexSummary]
forall a. Monoid a => a
Prelude.mempty)
Either String (Int -> ListMultiplexesResponse)
-> Either String Int -> Either String ListMultiplexesResponse
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 ListMultiplexes
instance Prelude.NFData ListMultiplexes
instance Core.ToHeaders ListMultiplexes where
toHeaders :: ListMultiplexes -> ResponseHeaders
toHeaders =
ResponseHeaders -> ListMultiplexes -> 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 ListMultiplexes where
toPath :: ListMultiplexes -> ByteString
toPath = ByteString -> ListMultiplexes -> ByteString
forall a b. a -> b -> a
Prelude.const ByteString
"/prod/multiplexes"
instance Core.ToQuery ListMultiplexes where
toQuery :: ListMultiplexes -> QueryString
toQuery ListMultiplexes' {Maybe Natural
Maybe Text
maxResults :: Maybe Natural
nextToken :: Maybe Text
$sel:maxResults:ListMultiplexes' :: ListMultiplexes -> Maybe Natural
$sel:nextToken:ListMultiplexes' :: ListMultiplexes -> Maybe Text
..} =
[QueryString] -> QueryString
forall a. Monoid a => [a] -> a
Prelude.mconcat
[ ByteString
"nextToken" ByteString -> Maybe Text -> QueryString
forall a. ToQuery a => ByteString -> a -> QueryString
Core.=: Maybe Text
nextToken,
ByteString
"maxResults" ByteString -> Maybe Natural -> QueryString
forall a. ToQuery a => ByteString -> a -> QueryString
Core.=: Maybe Natural
maxResults
]
data ListMultiplexesResponse = ListMultiplexesResponse'
{
ListMultiplexesResponse -> Maybe Text
nextToken :: Prelude.Maybe Prelude.Text,
ListMultiplexesResponse -> Maybe [MultiplexSummary]
multiplexes :: Prelude.Maybe [MultiplexSummary],
ListMultiplexesResponse -> Int
httpStatus :: Prelude.Int
}
deriving (ListMultiplexesResponse -> ListMultiplexesResponse -> Bool
(ListMultiplexesResponse -> ListMultiplexesResponse -> Bool)
-> (ListMultiplexesResponse -> ListMultiplexesResponse -> Bool)
-> Eq ListMultiplexesResponse
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: ListMultiplexesResponse -> ListMultiplexesResponse -> Bool
$c/= :: ListMultiplexesResponse -> ListMultiplexesResponse -> Bool
== :: ListMultiplexesResponse -> ListMultiplexesResponse -> Bool
$c== :: ListMultiplexesResponse -> ListMultiplexesResponse -> Bool
Prelude.Eq, ReadPrec [ListMultiplexesResponse]
ReadPrec ListMultiplexesResponse
Int -> ReadS ListMultiplexesResponse
ReadS [ListMultiplexesResponse]
(Int -> ReadS ListMultiplexesResponse)
-> ReadS [ListMultiplexesResponse]
-> ReadPrec ListMultiplexesResponse
-> ReadPrec [ListMultiplexesResponse]
-> Read ListMultiplexesResponse
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [ListMultiplexesResponse]
$creadListPrec :: ReadPrec [ListMultiplexesResponse]
readPrec :: ReadPrec ListMultiplexesResponse
$creadPrec :: ReadPrec ListMultiplexesResponse
readList :: ReadS [ListMultiplexesResponse]
$creadList :: ReadS [ListMultiplexesResponse]
readsPrec :: Int -> ReadS ListMultiplexesResponse
$creadsPrec :: Int -> ReadS ListMultiplexesResponse
Prelude.Read, Int -> ListMultiplexesResponse -> ShowS
[ListMultiplexesResponse] -> ShowS
ListMultiplexesResponse -> String
(Int -> ListMultiplexesResponse -> ShowS)
-> (ListMultiplexesResponse -> String)
-> ([ListMultiplexesResponse] -> ShowS)
-> Show ListMultiplexesResponse
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [ListMultiplexesResponse] -> ShowS
$cshowList :: [ListMultiplexesResponse] -> ShowS
show :: ListMultiplexesResponse -> String
$cshow :: ListMultiplexesResponse -> String
showsPrec :: Int -> ListMultiplexesResponse -> ShowS
$cshowsPrec :: Int -> ListMultiplexesResponse -> ShowS
Prelude.Show, (forall x.
ListMultiplexesResponse -> Rep ListMultiplexesResponse x)
-> (forall x.
Rep ListMultiplexesResponse x -> ListMultiplexesResponse)
-> Generic ListMultiplexesResponse
forall x. Rep ListMultiplexesResponse x -> ListMultiplexesResponse
forall x. ListMultiplexesResponse -> Rep ListMultiplexesResponse x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep ListMultiplexesResponse x -> ListMultiplexesResponse
$cfrom :: forall x. ListMultiplexesResponse -> Rep ListMultiplexesResponse x
Prelude.Generic)
newListMultiplexesResponse ::
Prelude.Int ->
ListMultiplexesResponse
newListMultiplexesResponse :: Int -> ListMultiplexesResponse
newListMultiplexesResponse Int
pHttpStatus_ =
ListMultiplexesResponse' :: Maybe Text
-> Maybe [MultiplexSummary] -> Int -> ListMultiplexesResponse
ListMultiplexesResponse'
{ $sel:nextToken:ListMultiplexesResponse' :: Maybe Text
nextToken =
Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:multiplexes:ListMultiplexesResponse' :: Maybe [MultiplexSummary]
multiplexes = Maybe [MultiplexSummary]
forall a. Maybe a
Prelude.Nothing,
$sel:httpStatus:ListMultiplexesResponse' :: Int
httpStatus = Int
pHttpStatus_
}
listMultiplexesResponse_nextToken :: Lens.Lens' ListMultiplexesResponse (Prelude.Maybe Prelude.Text)
listMultiplexesResponse_nextToken :: (Maybe Text -> f (Maybe Text))
-> ListMultiplexesResponse -> f ListMultiplexesResponse
listMultiplexesResponse_nextToken = (ListMultiplexesResponse -> Maybe Text)
-> (ListMultiplexesResponse
-> Maybe Text -> ListMultiplexesResponse)
-> Lens' ListMultiplexesResponse (Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListMultiplexesResponse' {Maybe Text
nextToken :: Maybe Text
$sel:nextToken:ListMultiplexesResponse' :: ListMultiplexesResponse -> Maybe Text
nextToken} -> Maybe Text
nextToken) (\s :: ListMultiplexesResponse
s@ListMultiplexesResponse' {} Maybe Text
a -> ListMultiplexesResponse
s {$sel:nextToken:ListMultiplexesResponse' :: Maybe Text
nextToken = Maybe Text
a} :: ListMultiplexesResponse)
listMultiplexesResponse_multiplexes :: Lens.Lens' ListMultiplexesResponse (Prelude.Maybe [MultiplexSummary])
listMultiplexesResponse_multiplexes :: (Maybe [MultiplexSummary] -> f (Maybe [MultiplexSummary]))
-> ListMultiplexesResponse -> f ListMultiplexesResponse
listMultiplexesResponse_multiplexes = (ListMultiplexesResponse -> Maybe [MultiplexSummary])
-> (ListMultiplexesResponse
-> Maybe [MultiplexSummary] -> ListMultiplexesResponse)
-> Lens' ListMultiplexesResponse (Maybe [MultiplexSummary])
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListMultiplexesResponse' {Maybe [MultiplexSummary]
multiplexes :: Maybe [MultiplexSummary]
$sel:multiplexes:ListMultiplexesResponse' :: ListMultiplexesResponse -> Maybe [MultiplexSummary]
multiplexes} -> Maybe [MultiplexSummary]
multiplexes) (\s :: ListMultiplexesResponse
s@ListMultiplexesResponse' {} Maybe [MultiplexSummary]
a -> ListMultiplexesResponse
s {$sel:multiplexes:ListMultiplexesResponse' :: Maybe [MultiplexSummary]
multiplexes = Maybe [MultiplexSummary]
a} :: ListMultiplexesResponse) ((Maybe [MultiplexSummary] -> f (Maybe [MultiplexSummary]))
-> ListMultiplexesResponse -> f ListMultiplexesResponse)
-> ((Maybe [MultiplexSummary] -> f (Maybe [MultiplexSummary]))
-> Maybe [MultiplexSummary] -> f (Maybe [MultiplexSummary]))
-> (Maybe [MultiplexSummary] -> f (Maybe [MultiplexSummary]))
-> ListMultiplexesResponse
-> f ListMultiplexesResponse
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. AnIso
[MultiplexSummary]
[MultiplexSummary]
[MultiplexSummary]
[MultiplexSummary]
-> Iso
(Maybe [MultiplexSummary])
(Maybe [MultiplexSummary])
(Maybe [MultiplexSummary])
(Maybe [MultiplexSummary])
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
[MultiplexSummary]
[MultiplexSummary]
[MultiplexSummary]
[MultiplexSummary]
forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced
listMultiplexesResponse_httpStatus :: Lens.Lens' ListMultiplexesResponse Prelude.Int
listMultiplexesResponse_httpStatus :: (Int -> f Int)
-> ListMultiplexesResponse -> f ListMultiplexesResponse
listMultiplexesResponse_httpStatus = (ListMultiplexesResponse -> Int)
-> (ListMultiplexesResponse -> Int -> ListMultiplexesResponse)
-> Lens ListMultiplexesResponse ListMultiplexesResponse Int Int
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListMultiplexesResponse' {Int
httpStatus :: Int
$sel:httpStatus:ListMultiplexesResponse' :: ListMultiplexesResponse -> Int
httpStatus} -> Int
httpStatus) (\s :: ListMultiplexesResponse
s@ListMultiplexesResponse' {} Int
a -> ListMultiplexesResponse
s {$sel:httpStatus:ListMultiplexesResponse' :: Int
httpStatus = Int
a} :: ListMultiplexesResponse)
instance Prelude.NFData ListMultiplexesResponse