{-# 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.QuickSight.ListThemeAliases
(
ListThemeAliases (..),
newListThemeAliases,
listThemeAliases_nextToken,
listThemeAliases_maxResults,
listThemeAliases_awsAccountId,
listThemeAliases_themeId,
ListThemeAliasesResponse (..),
newListThemeAliasesResponse,
listThemeAliasesResponse_requestId,
listThemeAliasesResponse_nextToken,
listThemeAliasesResponse_themeAliasList,
listThemeAliasesResponse_status,
)
where
import qualified Amazonka.Core as Core
import qualified Amazonka.Lens as Lens
import qualified Amazonka.Prelude as Prelude
import Amazonka.QuickSight.Types
import qualified Amazonka.Request as Request
import qualified Amazonka.Response as Response
data ListThemeAliases = ListThemeAliases'
{
ListThemeAliases -> Maybe Text
nextToken :: Prelude.Maybe Prelude.Text,
ListThemeAliases -> Maybe Natural
maxResults :: Prelude.Maybe Prelude.Natural,
ListThemeAliases -> Text
awsAccountId :: Prelude.Text,
ListThemeAliases -> Text
themeId :: Prelude.Text
}
deriving (ListThemeAliases -> ListThemeAliases -> Bool
(ListThemeAliases -> ListThemeAliases -> Bool)
-> (ListThemeAliases -> ListThemeAliases -> Bool)
-> Eq ListThemeAliases
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: ListThemeAliases -> ListThemeAliases -> Bool
$c/= :: ListThemeAliases -> ListThemeAliases -> Bool
== :: ListThemeAliases -> ListThemeAliases -> Bool
$c== :: ListThemeAliases -> ListThemeAliases -> Bool
Prelude.Eq, ReadPrec [ListThemeAliases]
ReadPrec ListThemeAliases
Int -> ReadS ListThemeAliases
ReadS [ListThemeAliases]
(Int -> ReadS ListThemeAliases)
-> ReadS [ListThemeAliases]
-> ReadPrec ListThemeAliases
-> ReadPrec [ListThemeAliases]
-> Read ListThemeAliases
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [ListThemeAliases]
$creadListPrec :: ReadPrec [ListThemeAliases]
readPrec :: ReadPrec ListThemeAliases
$creadPrec :: ReadPrec ListThemeAliases
readList :: ReadS [ListThemeAliases]
$creadList :: ReadS [ListThemeAliases]
readsPrec :: Int -> ReadS ListThemeAliases
$creadsPrec :: Int -> ReadS ListThemeAliases
Prelude.Read, Int -> ListThemeAliases -> ShowS
[ListThemeAliases] -> ShowS
ListThemeAliases -> String
(Int -> ListThemeAliases -> ShowS)
-> (ListThemeAliases -> String)
-> ([ListThemeAliases] -> ShowS)
-> Show ListThemeAliases
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [ListThemeAliases] -> ShowS
$cshowList :: [ListThemeAliases] -> ShowS
show :: ListThemeAliases -> String
$cshow :: ListThemeAliases -> String
showsPrec :: Int -> ListThemeAliases -> ShowS
$cshowsPrec :: Int -> ListThemeAliases -> ShowS
Prelude.Show, (forall x. ListThemeAliases -> Rep ListThemeAliases x)
-> (forall x. Rep ListThemeAliases x -> ListThemeAliases)
-> Generic ListThemeAliases
forall x. Rep ListThemeAliases x -> ListThemeAliases
forall x. ListThemeAliases -> Rep ListThemeAliases x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep ListThemeAliases x -> ListThemeAliases
$cfrom :: forall x. ListThemeAliases -> Rep ListThemeAliases x
Prelude.Generic)
newListThemeAliases ::
Prelude.Text ->
Prelude.Text ->
ListThemeAliases
newListThemeAliases :: Text -> Text -> ListThemeAliases
newListThemeAliases Text
pAwsAccountId_ Text
pThemeId_ =
ListThemeAliases' :: Maybe Text -> Maybe Natural -> Text -> Text -> ListThemeAliases
ListThemeAliases'
{ $sel:nextToken:ListThemeAliases' :: Maybe Text
nextToken = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:maxResults:ListThemeAliases' :: Maybe Natural
maxResults = Maybe Natural
forall a. Maybe a
Prelude.Nothing,
$sel:awsAccountId:ListThemeAliases' :: Text
awsAccountId = Text
pAwsAccountId_,
$sel:themeId:ListThemeAliases' :: Text
themeId = Text
pThemeId_
}
listThemeAliases_nextToken :: Lens.Lens' ListThemeAliases (Prelude.Maybe Prelude.Text)
listThemeAliases_nextToken :: (Maybe Text -> f (Maybe Text))
-> ListThemeAliases -> f ListThemeAliases
listThemeAliases_nextToken = (ListThemeAliases -> Maybe Text)
-> (ListThemeAliases -> Maybe Text -> ListThemeAliases)
-> Lens ListThemeAliases ListThemeAliases (Maybe Text) (Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListThemeAliases' {Maybe Text
nextToken :: Maybe Text
$sel:nextToken:ListThemeAliases' :: ListThemeAliases -> Maybe Text
nextToken} -> Maybe Text
nextToken) (\s :: ListThemeAliases
s@ListThemeAliases' {} Maybe Text
a -> ListThemeAliases
s {$sel:nextToken:ListThemeAliases' :: Maybe Text
nextToken = Maybe Text
a} :: ListThemeAliases)
listThemeAliases_maxResults :: Lens.Lens' ListThemeAliases (Prelude.Maybe Prelude.Natural)
listThemeAliases_maxResults :: (Maybe Natural -> f (Maybe Natural))
-> ListThemeAliases -> f ListThemeAliases
listThemeAliases_maxResults = (ListThemeAliases -> Maybe Natural)
-> (ListThemeAliases -> Maybe Natural -> ListThemeAliases)
-> Lens
ListThemeAliases ListThemeAliases (Maybe Natural) (Maybe Natural)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListThemeAliases' {Maybe Natural
maxResults :: Maybe Natural
$sel:maxResults:ListThemeAliases' :: ListThemeAliases -> Maybe Natural
maxResults} -> Maybe Natural
maxResults) (\s :: ListThemeAliases
s@ListThemeAliases' {} Maybe Natural
a -> ListThemeAliases
s {$sel:maxResults:ListThemeAliases' :: Maybe Natural
maxResults = Maybe Natural
a} :: ListThemeAliases)
listThemeAliases_awsAccountId :: Lens.Lens' ListThemeAliases Prelude.Text
listThemeAliases_awsAccountId :: (Text -> f Text) -> ListThemeAliases -> f ListThemeAliases
listThemeAliases_awsAccountId = (ListThemeAliases -> Text)
-> (ListThemeAliases -> Text -> ListThemeAliases)
-> Lens ListThemeAliases ListThemeAliases Text Text
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListThemeAliases' {Text
awsAccountId :: Text
$sel:awsAccountId:ListThemeAliases' :: ListThemeAliases -> Text
awsAccountId} -> Text
awsAccountId) (\s :: ListThemeAliases
s@ListThemeAliases' {} Text
a -> ListThemeAliases
s {$sel:awsAccountId:ListThemeAliases' :: Text
awsAccountId = Text
a} :: ListThemeAliases)
listThemeAliases_themeId :: Lens.Lens' ListThemeAliases Prelude.Text
listThemeAliases_themeId :: (Text -> f Text) -> ListThemeAliases -> f ListThemeAliases
listThemeAliases_themeId = (ListThemeAliases -> Text)
-> (ListThemeAliases -> Text -> ListThemeAliases)
-> Lens ListThemeAliases ListThemeAliases Text Text
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListThemeAliases' {Text
themeId :: Text
$sel:themeId:ListThemeAliases' :: ListThemeAliases -> Text
themeId} -> Text
themeId) (\s :: ListThemeAliases
s@ListThemeAliases' {} Text
a -> ListThemeAliases
s {$sel:themeId:ListThemeAliases' :: Text
themeId = Text
a} :: ListThemeAliases)
instance Core.AWSRequest ListThemeAliases where
type
AWSResponse ListThemeAliases =
ListThemeAliasesResponse
request :: ListThemeAliases -> Request ListThemeAliases
request = Service -> ListThemeAliases -> Request ListThemeAliases
forall a. ToRequest a => Service -> a -> Request a
Request.get Service
defaultService
response :: Logger
-> Service
-> Proxy ListThemeAliases
-> ClientResponse ClientBody
-> m (Either Error (ClientResponse (AWSResponse ListThemeAliases)))
response =
(Int
-> ResponseHeaders
-> Object
-> Either String (AWSResponse ListThemeAliases))
-> Logger
-> Service
-> Proxy ListThemeAliases
-> ClientResponse ClientBody
-> m (Either Error (ClientResponse (AWSResponse ListThemeAliases)))
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 Text
-> Maybe [ThemeAlias]
-> Int
-> ListThemeAliasesResponse
ListThemeAliasesResponse'
(Maybe Text
-> Maybe Text
-> Maybe [ThemeAlias]
-> Int
-> ListThemeAliasesResponse)
-> Either String (Maybe Text)
-> Either
String
(Maybe Text
-> Maybe [ThemeAlias] -> Int -> ListThemeAliasesResponse)
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
"RequestId")
Either
String
(Maybe Text
-> Maybe [ThemeAlias] -> Int -> ListThemeAliasesResponse)
-> Either String (Maybe Text)
-> Either
String (Maybe [ThemeAlias] -> Int -> ListThemeAliasesResponse)
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
"NextToken")
Either
String (Maybe [ThemeAlias] -> Int -> ListThemeAliasesResponse)
-> Either String (Maybe [ThemeAlias])
-> Either String (Int -> ListThemeAliasesResponse)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Either String (Maybe (Maybe [ThemeAlias]))
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"ThemeAliasList" Either String (Maybe (Maybe [ThemeAlias]))
-> Maybe [ThemeAlias] -> Either String (Maybe [ThemeAlias])
forall (f :: * -> *) a. Functor f => f (Maybe a) -> a -> f a
Core..!@ Maybe [ThemeAlias]
forall a. Monoid a => a
Prelude.mempty)
Either String (Int -> ListThemeAliasesResponse)
-> Either String Int -> Either String ListThemeAliasesResponse
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 ListThemeAliases
instance Prelude.NFData ListThemeAliases
instance Core.ToHeaders ListThemeAliases where
toHeaders :: ListThemeAliases -> ResponseHeaders
toHeaders =
ResponseHeaders -> ListThemeAliases -> 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.0" ::
Prelude.ByteString
)
]
)
instance Core.ToPath ListThemeAliases where
toPath :: ListThemeAliases -> ByteString
toPath ListThemeAliases' {Maybe Natural
Maybe Text
Text
themeId :: Text
awsAccountId :: Text
maxResults :: Maybe Natural
nextToken :: Maybe Text
$sel:themeId:ListThemeAliases' :: ListThemeAliases -> Text
$sel:awsAccountId:ListThemeAliases' :: ListThemeAliases -> Text
$sel:maxResults:ListThemeAliases' :: ListThemeAliases -> Maybe Natural
$sel:nextToken:ListThemeAliases' :: ListThemeAliases -> Maybe Text
..} =
[ByteString] -> ByteString
forall a. Monoid a => [a] -> a
Prelude.mconcat
[ ByteString
"/accounts/",
Text -> ByteString
forall a. ToByteString a => a -> ByteString
Core.toBS Text
awsAccountId,
ByteString
"/themes/",
Text -> ByteString
forall a. ToByteString a => a -> ByteString
Core.toBS Text
themeId,
ByteString
"/aliases"
]
instance Core.ToQuery ListThemeAliases where
toQuery :: ListThemeAliases -> QueryString
toQuery ListThemeAliases' {Maybe Natural
Maybe Text
Text
themeId :: Text
awsAccountId :: Text
maxResults :: Maybe Natural
nextToken :: Maybe Text
$sel:themeId:ListThemeAliases' :: ListThemeAliases -> Text
$sel:awsAccountId:ListThemeAliases' :: ListThemeAliases -> Text
$sel:maxResults:ListThemeAliases' :: ListThemeAliases -> Maybe Natural
$sel:nextToken:ListThemeAliases' :: ListThemeAliases -> Maybe Text
..} =
[QueryString] -> QueryString
forall a. Monoid a => [a] -> a
Prelude.mconcat
[ ByteString
"next-token" ByteString -> Maybe Text -> QueryString
forall a. ToQuery a => ByteString -> a -> QueryString
Core.=: Maybe Text
nextToken,
ByteString
"max-result" ByteString -> Maybe Natural -> QueryString
forall a. ToQuery a => ByteString -> a -> QueryString
Core.=: Maybe Natural
maxResults
]
data ListThemeAliasesResponse = ListThemeAliasesResponse'
{
ListThemeAliasesResponse -> Maybe Text
requestId :: Prelude.Maybe Prelude.Text,
ListThemeAliasesResponse -> Maybe Text
nextToken :: Prelude.Maybe Prelude.Text,
ListThemeAliasesResponse -> Maybe [ThemeAlias]
themeAliasList :: Prelude.Maybe [ThemeAlias],
ListThemeAliasesResponse -> Int
status :: Prelude.Int
}
deriving (ListThemeAliasesResponse -> ListThemeAliasesResponse -> Bool
(ListThemeAliasesResponse -> ListThemeAliasesResponse -> Bool)
-> (ListThemeAliasesResponse -> ListThemeAliasesResponse -> Bool)
-> Eq ListThemeAliasesResponse
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: ListThemeAliasesResponse -> ListThemeAliasesResponse -> Bool
$c/= :: ListThemeAliasesResponse -> ListThemeAliasesResponse -> Bool
== :: ListThemeAliasesResponse -> ListThemeAliasesResponse -> Bool
$c== :: ListThemeAliasesResponse -> ListThemeAliasesResponse -> Bool
Prelude.Eq, ReadPrec [ListThemeAliasesResponse]
ReadPrec ListThemeAliasesResponse
Int -> ReadS ListThemeAliasesResponse
ReadS [ListThemeAliasesResponse]
(Int -> ReadS ListThemeAliasesResponse)
-> ReadS [ListThemeAliasesResponse]
-> ReadPrec ListThemeAliasesResponse
-> ReadPrec [ListThemeAliasesResponse]
-> Read ListThemeAliasesResponse
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [ListThemeAliasesResponse]
$creadListPrec :: ReadPrec [ListThemeAliasesResponse]
readPrec :: ReadPrec ListThemeAliasesResponse
$creadPrec :: ReadPrec ListThemeAliasesResponse
readList :: ReadS [ListThemeAliasesResponse]
$creadList :: ReadS [ListThemeAliasesResponse]
readsPrec :: Int -> ReadS ListThemeAliasesResponse
$creadsPrec :: Int -> ReadS ListThemeAliasesResponse
Prelude.Read, Int -> ListThemeAliasesResponse -> ShowS
[ListThemeAliasesResponse] -> ShowS
ListThemeAliasesResponse -> String
(Int -> ListThemeAliasesResponse -> ShowS)
-> (ListThemeAliasesResponse -> String)
-> ([ListThemeAliasesResponse] -> ShowS)
-> Show ListThemeAliasesResponse
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [ListThemeAliasesResponse] -> ShowS
$cshowList :: [ListThemeAliasesResponse] -> ShowS
show :: ListThemeAliasesResponse -> String
$cshow :: ListThemeAliasesResponse -> String
showsPrec :: Int -> ListThemeAliasesResponse -> ShowS
$cshowsPrec :: Int -> ListThemeAliasesResponse -> ShowS
Prelude.Show, (forall x.
ListThemeAliasesResponse -> Rep ListThemeAliasesResponse x)
-> (forall x.
Rep ListThemeAliasesResponse x -> ListThemeAliasesResponse)
-> Generic ListThemeAliasesResponse
forall x.
Rep ListThemeAliasesResponse x -> ListThemeAliasesResponse
forall x.
ListThemeAliasesResponse -> Rep ListThemeAliasesResponse x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep ListThemeAliasesResponse x -> ListThemeAliasesResponse
$cfrom :: forall x.
ListThemeAliasesResponse -> Rep ListThemeAliasesResponse x
Prelude.Generic)
newListThemeAliasesResponse ::
Prelude.Int ->
ListThemeAliasesResponse
newListThemeAliasesResponse :: Int -> ListThemeAliasesResponse
newListThemeAliasesResponse Int
pStatus_ =
ListThemeAliasesResponse' :: Maybe Text
-> Maybe Text
-> Maybe [ThemeAlias]
-> Int
-> ListThemeAliasesResponse
ListThemeAliasesResponse'
{ $sel:requestId:ListThemeAliasesResponse' :: Maybe Text
requestId =
Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:nextToken:ListThemeAliasesResponse' :: Maybe Text
nextToken = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:themeAliasList:ListThemeAliasesResponse' :: Maybe [ThemeAlias]
themeAliasList = Maybe [ThemeAlias]
forall a. Maybe a
Prelude.Nothing,
$sel:status:ListThemeAliasesResponse' :: Int
status = Int
pStatus_
}
listThemeAliasesResponse_requestId :: Lens.Lens' ListThemeAliasesResponse (Prelude.Maybe Prelude.Text)
listThemeAliasesResponse_requestId :: (Maybe Text -> f (Maybe Text))
-> ListThemeAliasesResponse -> f ListThemeAliasesResponse
listThemeAliasesResponse_requestId = (ListThemeAliasesResponse -> Maybe Text)
-> (ListThemeAliasesResponse
-> Maybe Text -> ListThemeAliasesResponse)
-> Lens
ListThemeAliasesResponse
ListThemeAliasesResponse
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListThemeAliasesResponse' {Maybe Text
requestId :: Maybe Text
$sel:requestId:ListThemeAliasesResponse' :: ListThemeAliasesResponse -> Maybe Text
requestId} -> Maybe Text
requestId) (\s :: ListThemeAliasesResponse
s@ListThemeAliasesResponse' {} Maybe Text
a -> ListThemeAliasesResponse
s {$sel:requestId:ListThemeAliasesResponse' :: Maybe Text
requestId = Maybe Text
a} :: ListThemeAliasesResponse)
listThemeAliasesResponse_nextToken :: Lens.Lens' ListThemeAliasesResponse (Prelude.Maybe Prelude.Text)
listThemeAliasesResponse_nextToken :: (Maybe Text -> f (Maybe Text))
-> ListThemeAliasesResponse -> f ListThemeAliasesResponse
listThemeAliasesResponse_nextToken = (ListThemeAliasesResponse -> Maybe Text)
-> (ListThemeAliasesResponse
-> Maybe Text -> ListThemeAliasesResponse)
-> Lens
ListThemeAliasesResponse
ListThemeAliasesResponse
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListThemeAliasesResponse' {Maybe Text
nextToken :: Maybe Text
$sel:nextToken:ListThemeAliasesResponse' :: ListThemeAliasesResponse -> Maybe Text
nextToken} -> Maybe Text
nextToken) (\s :: ListThemeAliasesResponse
s@ListThemeAliasesResponse' {} Maybe Text
a -> ListThemeAliasesResponse
s {$sel:nextToken:ListThemeAliasesResponse' :: Maybe Text
nextToken = Maybe Text
a} :: ListThemeAliasesResponse)
listThemeAliasesResponse_themeAliasList :: Lens.Lens' ListThemeAliasesResponse (Prelude.Maybe [ThemeAlias])
listThemeAliasesResponse_themeAliasList :: (Maybe [ThemeAlias] -> f (Maybe [ThemeAlias]))
-> ListThemeAliasesResponse -> f ListThemeAliasesResponse
listThemeAliasesResponse_themeAliasList = (ListThemeAliasesResponse -> Maybe [ThemeAlias])
-> (ListThemeAliasesResponse
-> Maybe [ThemeAlias] -> ListThemeAliasesResponse)
-> Lens
ListThemeAliasesResponse
ListThemeAliasesResponse
(Maybe [ThemeAlias])
(Maybe [ThemeAlias])
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListThemeAliasesResponse' {Maybe [ThemeAlias]
themeAliasList :: Maybe [ThemeAlias]
$sel:themeAliasList:ListThemeAliasesResponse' :: ListThemeAliasesResponse -> Maybe [ThemeAlias]
themeAliasList} -> Maybe [ThemeAlias]
themeAliasList) (\s :: ListThemeAliasesResponse
s@ListThemeAliasesResponse' {} Maybe [ThemeAlias]
a -> ListThemeAliasesResponse
s {$sel:themeAliasList:ListThemeAliasesResponse' :: Maybe [ThemeAlias]
themeAliasList = Maybe [ThemeAlias]
a} :: ListThemeAliasesResponse) ((Maybe [ThemeAlias] -> f (Maybe [ThemeAlias]))
-> ListThemeAliasesResponse -> f ListThemeAliasesResponse)
-> ((Maybe [ThemeAlias] -> f (Maybe [ThemeAlias]))
-> Maybe [ThemeAlias] -> f (Maybe [ThemeAlias]))
-> (Maybe [ThemeAlias] -> f (Maybe [ThemeAlias]))
-> ListThemeAliasesResponse
-> f ListThemeAliasesResponse
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. AnIso [ThemeAlias] [ThemeAlias] [ThemeAlias] [ThemeAlias]
-> Iso
(Maybe [ThemeAlias])
(Maybe [ThemeAlias])
(Maybe [ThemeAlias])
(Maybe [ThemeAlias])
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 [ThemeAlias] [ThemeAlias] [ThemeAlias] [ThemeAlias]
forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced
listThemeAliasesResponse_status :: Lens.Lens' ListThemeAliasesResponse Prelude.Int
listThemeAliasesResponse_status :: (Int -> f Int)
-> ListThemeAliasesResponse -> f ListThemeAliasesResponse
listThemeAliasesResponse_status = (ListThemeAliasesResponse -> Int)
-> (ListThemeAliasesResponse -> Int -> ListThemeAliasesResponse)
-> Lens ListThemeAliasesResponse ListThemeAliasesResponse Int Int
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListThemeAliasesResponse' {Int
status :: Int
$sel:status:ListThemeAliasesResponse' :: ListThemeAliasesResponse -> Int
status} -> Int
status) (\s :: ListThemeAliasesResponse
s@ListThemeAliasesResponse' {} Int
a -> ListThemeAliasesResponse
s {$sel:status:ListThemeAliasesResponse' :: Int
status = Int
a} :: ListThemeAliasesResponse)
instance Prelude.NFData ListThemeAliasesResponse