{-# 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.ChimeSDKIdentity.ListAppInstanceAdmins
(
ListAppInstanceAdmins (..),
newListAppInstanceAdmins,
listAppInstanceAdmins_nextToken,
listAppInstanceAdmins_maxResults,
listAppInstanceAdmins_appInstanceArn,
ListAppInstanceAdminsResponse (..),
newListAppInstanceAdminsResponse,
listAppInstanceAdminsResponse_nextToken,
listAppInstanceAdminsResponse_appInstanceAdmins,
listAppInstanceAdminsResponse_appInstanceArn,
listAppInstanceAdminsResponse_httpStatus,
)
where
import Amazonka.ChimeSDKIdentity.Types
import qualified Amazonka.Core as Core
import qualified Amazonka.Lens as Lens
import qualified Amazonka.Prelude as Prelude
import qualified Amazonka.Request as Request
import qualified Amazonka.Response as Response
data ListAppInstanceAdmins = ListAppInstanceAdmins'
{
ListAppInstanceAdmins -> Maybe (Sensitive Text)
nextToken :: Prelude.Maybe (Core.Sensitive Prelude.Text),
ListAppInstanceAdmins -> Maybe Natural
maxResults :: Prelude.Maybe Prelude.Natural,
ListAppInstanceAdmins -> Text
appInstanceArn :: Prelude.Text
}
deriving (ListAppInstanceAdmins -> ListAppInstanceAdmins -> Bool
(ListAppInstanceAdmins -> ListAppInstanceAdmins -> Bool)
-> (ListAppInstanceAdmins -> ListAppInstanceAdmins -> Bool)
-> Eq ListAppInstanceAdmins
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: ListAppInstanceAdmins -> ListAppInstanceAdmins -> Bool
$c/= :: ListAppInstanceAdmins -> ListAppInstanceAdmins -> Bool
== :: ListAppInstanceAdmins -> ListAppInstanceAdmins -> Bool
$c== :: ListAppInstanceAdmins -> ListAppInstanceAdmins -> Bool
Prelude.Eq, Int -> ListAppInstanceAdmins -> ShowS
[ListAppInstanceAdmins] -> ShowS
ListAppInstanceAdmins -> String
(Int -> ListAppInstanceAdmins -> ShowS)
-> (ListAppInstanceAdmins -> String)
-> ([ListAppInstanceAdmins] -> ShowS)
-> Show ListAppInstanceAdmins
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [ListAppInstanceAdmins] -> ShowS
$cshowList :: [ListAppInstanceAdmins] -> ShowS
show :: ListAppInstanceAdmins -> String
$cshow :: ListAppInstanceAdmins -> String
showsPrec :: Int -> ListAppInstanceAdmins -> ShowS
$cshowsPrec :: Int -> ListAppInstanceAdmins -> ShowS
Prelude.Show, (forall x. ListAppInstanceAdmins -> Rep ListAppInstanceAdmins x)
-> (forall x. Rep ListAppInstanceAdmins x -> ListAppInstanceAdmins)
-> Generic ListAppInstanceAdmins
forall x. Rep ListAppInstanceAdmins x -> ListAppInstanceAdmins
forall x. ListAppInstanceAdmins -> Rep ListAppInstanceAdmins x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep ListAppInstanceAdmins x -> ListAppInstanceAdmins
$cfrom :: forall x. ListAppInstanceAdmins -> Rep ListAppInstanceAdmins x
Prelude.Generic)
newListAppInstanceAdmins ::
Prelude.Text ->
ListAppInstanceAdmins
newListAppInstanceAdmins :: Text -> ListAppInstanceAdmins
newListAppInstanceAdmins Text
pAppInstanceArn_ =
ListAppInstanceAdmins' :: Maybe (Sensitive Text)
-> Maybe Natural -> Text -> ListAppInstanceAdmins
ListAppInstanceAdmins'
{ $sel:nextToken:ListAppInstanceAdmins' :: Maybe (Sensitive Text)
nextToken = Maybe (Sensitive Text)
forall a. Maybe a
Prelude.Nothing,
$sel:maxResults:ListAppInstanceAdmins' :: Maybe Natural
maxResults = Maybe Natural
forall a. Maybe a
Prelude.Nothing,
$sel:appInstanceArn:ListAppInstanceAdmins' :: Text
appInstanceArn = Text
pAppInstanceArn_
}
listAppInstanceAdmins_nextToken :: Lens.Lens' ListAppInstanceAdmins (Prelude.Maybe Prelude.Text)
listAppInstanceAdmins_nextToken :: (Maybe Text -> f (Maybe Text))
-> ListAppInstanceAdmins -> f ListAppInstanceAdmins
listAppInstanceAdmins_nextToken = (ListAppInstanceAdmins -> Maybe (Sensitive Text))
-> (ListAppInstanceAdmins
-> Maybe (Sensitive Text) -> ListAppInstanceAdmins)
-> Lens
ListAppInstanceAdmins
ListAppInstanceAdmins
(Maybe (Sensitive Text))
(Maybe (Sensitive Text))
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListAppInstanceAdmins' {Maybe (Sensitive Text)
nextToken :: Maybe (Sensitive Text)
$sel:nextToken:ListAppInstanceAdmins' :: ListAppInstanceAdmins -> Maybe (Sensitive Text)
nextToken} -> Maybe (Sensitive Text)
nextToken) (\s :: ListAppInstanceAdmins
s@ListAppInstanceAdmins' {} Maybe (Sensitive Text)
a -> ListAppInstanceAdmins
s {$sel:nextToken:ListAppInstanceAdmins' :: Maybe (Sensitive Text)
nextToken = Maybe (Sensitive Text)
a} :: ListAppInstanceAdmins) ((Maybe (Sensitive Text) -> f (Maybe (Sensitive Text)))
-> ListAppInstanceAdmins -> f ListAppInstanceAdmins)
-> ((Maybe Text -> f (Maybe Text))
-> Maybe (Sensitive Text) -> f (Maybe (Sensitive Text)))
-> (Maybe Text -> f (Maybe Text))
-> ListAppInstanceAdmins
-> f ListAppInstanceAdmins
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. AnIso (Sensitive Text) (Sensitive Text) Text Text
-> Iso
(Maybe (Sensitive Text))
(Maybe (Sensitive 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 (Sensitive Text) (Sensitive Text) Text Text
forall a. Iso' (Sensitive a) a
Core._Sensitive
listAppInstanceAdmins_maxResults :: Lens.Lens' ListAppInstanceAdmins (Prelude.Maybe Prelude.Natural)
listAppInstanceAdmins_maxResults :: (Maybe Natural -> f (Maybe Natural))
-> ListAppInstanceAdmins -> f ListAppInstanceAdmins
listAppInstanceAdmins_maxResults = (ListAppInstanceAdmins -> Maybe Natural)
-> (ListAppInstanceAdmins
-> Maybe Natural -> ListAppInstanceAdmins)
-> Lens
ListAppInstanceAdmins
ListAppInstanceAdmins
(Maybe Natural)
(Maybe Natural)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListAppInstanceAdmins' {Maybe Natural
maxResults :: Maybe Natural
$sel:maxResults:ListAppInstanceAdmins' :: ListAppInstanceAdmins -> Maybe Natural
maxResults} -> Maybe Natural
maxResults) (\s :: ListAppInstanceAdmins
s@ListAppInstanceAdmins' {} Maybe Natural
a -> ListAppInstanceAdmins
s {$sel:maxResults:ListAppInstanceAdmins' :: Maybe Natural
maxResults = Maybe Natural
a} :: ListAppInstanceAdmins)
listAppInstanceAdmins_appInstanceArn :: Lens.Lens' ListAppInstanceAdmins Prelude.Text
listAppInstanceAdmins_appInstanceArn :: (Text -> f Text)
-> ListAppInstanceAdmins -> f ListAppInstanceAdmins
listAppInstanceAdmins_appInstanceArn = (ListAppInstanceAdmins -> Text)
-> (ListAppInstanceAdmins -> Text -> ListAppInstanceAdmins)
-> Lens ListAppInstanceAdmins ListAppInstanceAdmins Text Text
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListAppInstanceAdmins' {Text
appInstanceArn :: Text
$sel:appInstanceArn:ListAppInstanceAdmins' :: ListAppInstanceAdmins -> Text
appInstanceArn} -> Text
appInstanceArn) (\s :: ListAppInstanceAdmins
s@ListAppInstanceAdmins' {} Text
a -> ListAppInstanceAdmins
s {$sel:appInstanceArn:ListAppInstanceAdmins' :: Text
appInstanceArn = Text
a} :: ListAppInstanceAdmins)
instance Core.AWSRequest ListAppInstanceAdmins where
type
AWSResponse ListAppInstanceAdmins =
ListAppInstanceAdminsResponse
request :: ListAppInstanceAdmins -> Request ListAppInstanceAdmins
request = Service -> ListAppInstanceAdmins -> Request ListAppInstanceAdmins
forall a. ToRequest a => Service -> a -> Request a
Request.get Service
defaultService
response :: Logger
-> Service
-> Proxy ListAppInstanceAdmins
-> ClientResponse ClientBody
-> m (Either
Error (ClientResponse (AWSResponse ListAppInstanceAdmins)))
response =
(Int
-> ResponseHeaders
-> Object
-> Either String (AWSResponse ListAppInstanceAdmins))
-> Logger
-> Service
-> Proxy ListAppInstanceAdmins
-> ClientResponse ClientBody
-> m (Either
Error (ClientResponse (AWSResponse ListAppInstanceAdmins)))
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 (Sensitive Text)
-> Maybe [AppInstanceAdminSummary]
-> Maybe Text
-> Int
-> ListAppInstanceAdminsResponse
ListAppInstanceAdminsResponse'
(Maybe (Sensitive Text)
-> Maybe [AppInstanceAdminSummary]
-> Maybe Text
-> Int
-> ListAppInstanceAdminsResponse)
-> Either String (Maybe (Sensitive Text))
-> Either
String
(Maybe [AppInstanceAdminSummary]
-> Maybe Text -> Int -> ListAppInstanceAdminsResponse)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> (Object
x Object -> Text -> Either String (Maybe (Sensitive Text))
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"NextToken")
Either
String
(Maybe [AppInstanceAdminSummary]
-> Maybe Text -> Int -> ListAppInstanceAdminsResponse)
-> Either String (Maybe [AppInstanceAdminSummary])
-> Either
String (Maybe Text -> Int -> ListAppInstanceAdminsResponse)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> ( Object
x Object
-> Text -> Either String (Maybe (Maybe [AppInstanceAdminSummary]))
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"AppInstanceAdmins"
Either String (Maybe (Maybe [AppInstanceAdminSummary]))
-> Maybe [AppInstanceAdminSummary]
-> Either String (Maybe [AppInstanceAdminSummary])
forall (f :: * -> *) a. Functor f => f (Maybe a) -> a -> f a
Core..!@ Maybe [AppInstanceAdminSummary]
forall a. Monoid a => a
Prelude.mempty
)
Either String (Maybe Text -> Int -> ListAppInstanceAdminsResponse)
-> Either String (Maybe Text)
-> Either String (Int -> ListAppInstanceAdminsResponse)
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
"AppInstanceArn")
Either String (Int -> ListAppInstanceAdminsResponse)
-> Either String Int -> Either String ListAppInstanceAdminsResponse
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 ListAppInstanceAdmins
instance Prelude.NFData ListAppInstanceAdmins
instance Core.ToHeaders ListAppInstanceAdmins where
toHeaders :: ListAppInstanceAdmins -> ResponseHeaders
toHeaders = ResponseHeaders -> ListAppInstanceAdmins -> ResponseHeaders
forall a b. a -> b -> a
Prelude.const ResponseHeaders
forall a. Monoid a => a
Prelude.mempty
instance Core.ToPath ListAppInstanceAdmins where
toPath :: ListAppInstanceAdmins -> ByteString
toPath ListAppInstanceAdmins' {Maybe Natural
Maybe (Sensitive Text)
Text
appInstanceArn :: Text
maxResults :: Maybe Natural
nextToken :: Maybe (Sensitive Text)
$sel:appInstanceArn:ListAppInstanceAdmins' :: ListAppInstanceAdmins -> Text
$sel:maxResults:ListAppInstanceAdmins' :: ListAppInstanceAdmins -> Maybe Natural
$sel:nextToken:ListAppInstanceAdmins' :: ListAppInstanceAdmins -> Maybe (Sensitive Text)
..} =
[ByteString] -> ByteString
forall a. Monoid a => [a] -> a
Prelude.mconcat
[ ByteString
"/app-instances/",
Text -> ByteString
forall a. ToByteString a => a -> ByteString
Core.toBS Text
appInstanceArn,
ByteString
"/admins"
]
instance Core.ToQuery ListAppInstanceAdmins where
toQuery :: ListAppInstanceAdmins -> QueryString
toQuery ListAppInstanceAdmins' {Maybe Natural
Maybe (Sensitive Text)
Text
appInstanceArn :: Text
maxResults :: Maybe Natural
nextToken :: Maybe (Sensitive Text)
$sel:appInstanceArn:ListAppInstanceAdmins' :: ListAppInstanceAdmins -> Text
$sel:maxResults:ListAppInstanceAdmins' :: ListAppInstanceAdmins -> Maybe Natural
$sel:nextToken:ListAppInstanceAdmins' :: ListAppInstanceAdmins -> Maybe (Sensitive Text)
..} =
[QueryString] -> QueryString
forall a. Monoid a => [a] -> a
Prelude.mconcat
[ ByteString
"next-token" ByteString -> Maybe (Sensitive Text) -> QueryString
forall a. ToQuery a => ByteString -> a -> QueryString
Core.=: Maybe (Sensitive Text)
nextToken,
ByteString
"max-results" ByteString -> Maybe Natural -> QueryString
forall a. ToQuery a => ByteString -> a -> QueryString
Core.=: Maybe Natural
maxResults
]
data ListAppInstanceAdminsResponse = ListAppInstanceAdminsResponse'
{
ListAppInstanceAdminsResponse -> Maybe (Sensitive Text)
nextToken :: Prelude.Maybe (Core.Sensitive Prelude.Text),
ListAppInstanceAdminsResponse -> Maybe [AppInstanceAdminSummary]
appInstanceAdmins :: Prelude.Maybe [AppInstanceAdminSummary],
ListAppInstanceAdminsResponse -> Maybe Text
appInstanceArn :: Prelude.Maybe Prelude.Text,
ListAppInstanceAdminsResponse -> Int
httpStatus :: Prelude.Int
}
deriving (ListAppInstanceAdminsResponse
-> ListAppInstanceAdminsResponse -> Bool
(ListAppInstanceAdminsResponse
-> ListAppInstanceAdminsResponse -> Bool)
-> (ListAppInstanceAdminsResponse
-> ListAppInstanceAdminsResponse -> Bool)
-> Eq ListAppInstanceAdminsResponse
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: ListAppInstanceAdminsResponse
-> ListAppInstanceAdminsResponse -> Bool
$c/= :: ListAppInstanceAdminsResponse
-> ListAppInstanceAdminsResponse -> Bool
== :: ListAppInstanceAdminsResponse
-> ListAppInstanceAdminsResponse -> Bool
$c== :: ListAppInstanceAdminsResponse
-> ListAppInstanceAdminsResponse -> Bool
Prelude.Eq, Int -> ListAppInstanceAdminsResponse -> ShowS
[ListAppInstanceAdminsResponse] -> ShowS
ListAppInstanceAdminsResponse -> String
(Int -> ListAppInstanceAdminsResponse -> ShowS)
-> (ListAppInstanceAdminsResponse -> String)
-> ([ListAppInstanceAdminsResponse] -> ShowS)
-> Show ListAppInstanceAdminsResponse
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [ListAppInstanceAdminsResponse] -> ShowS
$cshowList :: [ListAppInstanceAdminsResponse] -> ShowS
show :: ListAppInstanceAdminsResponse -> String
$cshow :: ListAppInstanceAdminsResponse -> String
showsPrec :: Int -> ListAppInstanceAdminsResponse -> ShowS
$cshowsPrec :: Int -> ListAppInstanceAdminsResponse -> ShowS
Prelude.Show, (forall x.
ListAppInstanceAdminsResponse
-> Rep ListAppInstanceAdminsResponse x)
-> (forall x.
Rep ListAppInstanceAdminsResponse x
-> ListAppInstanceAdminsResponse)
-> Generic ListAppInstanceAdminsResponse
forall x.
Rep ListAppInstanceAdminsResponse x
-> ListAppInstanceAdminsResponse
forall x.
ListAppInstanceAdminsResponse
-> Rep ListAppInstanceAdminsResponse x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep ListAppInstanceAdminsResponse x
-> ListAppInstanceAdminsResponse
$cfrom :: forall x.
ListAppInstanceAdminsResponse
-> Rep ListAppInstanceAdminsResponse x
Prelude.Generic)
newListAppInstanceAdminsResponse ::
Prelude.Int ->
ListAppInstanceAdminsResponse
newListAppInstanceAdminsResponse :: Int -> ListAppInstanceAdminsResponse
newListAppInstanceAdminsResponse Int
pHttpStatus_ =
ListAppInstanceAdminsResponse' :: Maybe (Sensitive Text)
-> Maybe [AppInstanceAdminSummary]
-> Maybe Text
-> Int
-> ListAppInstanceAdminsResponse
ListAppInstanceAdminsResponse'
{ $sel:nextToken:ListAppInstanceAdminsResponse' :: Maybe (Sensitive Text)
nextToken =
Maybe (Sensitive Text)
forall a. Maybe a
Prelude.Nothing,
$sel:appInstanceAdmins:ListAppInstanceAdminsResponse' :: Maybe [AppInstanceAdminSummary]
appInstanceAdmins = Maybe [AppInstanceAdminSummary]
forall a. Maybe a
Prelude.Nothing,
$sel:appInstanceArn:ListAppInstanceAdminsResponse' :: Maybe Text
appInstanceArn = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:httpStatus:ListAppInstanceAdminsResponse' :: Int
httpStatus = Int
pHttpStatus_
}
listAppInstanceAdminsResponse_nextToken :: Lens.Lens' ListAppInstanceAdminsResponse (Prelude.Maybe Prelude.Text)
listAppInstanceAdminsResponse_nextToken :: (Maybe Text -> f (Maybe Text))
-> ListAppInstanceAdminsResponse -> f ListAppInstanceAdminsResponse
listAppInstanceAdminsResponse_nextToken = (ListAppInstanceAdminsResponse -> Maybe (Sensitive Text))
-> (ListAppInstanceAdminsResponse
-> Maybe (Sensitive Text) -> ListAppInstanceAdminsResponse)
-> Lens
ListAppInstanceAdminsResponse
ListAppInstanceAdminsResponse
(Maybe (Sensitive Text))
(Maybe (Sensitive Text))
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListAppInstanceAdminsResponse' {Maybe (Sensitive Text)
nextToken :: Maybe (Sensitive Text)
$sel:nextToken:ListAppInstanceAdminsResponse' :: ListAppInstanceAdminsResponse -> Maybe (Sensitive Text)
nextToken} -> Maybe (Sensitive Text)
nextToken) (\s :: ListAppInstanceAdminsResponse
s@ListAppInstanceAdminsResponse' {} Maybe (Sensitive Text)
a -> ListAppInstanceAdminsResponse
s {$sel:nextToken:ListAppInstanceAdminsResponse' :: Maybe (Sensitive Text)
nextToken = Maybe (Sensitive Text)
a} :: ListAppInstanceAdminsResponse) ((Maybe (Sensitive Text) -> f (Maybe (Sensitive Text)))
-> ListAppInstanceAdminsResponse
-> f ListAppInstanceAdminsResponse)
-> ((Maybe Text -> f (Maybe Text))
-> Maybe (Sensitive Text) -> f (Maybe (Sensitive Text)))
-> (Maybe Text -> f (Maybe Text))
-> ListAppInstanceAdminsResponse
-> f ListAppInstanceAdminsResponse
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. AnIso (Sensitive Text) (Sensitive Text) Text Text
-> Iso
(Maybe (Sensitive Text))
(Maybe (Sensitive 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 (Sensitive Text) (Sensitive Text) Text Text
forall a. Iso' (Sensitive a) a
Core._Sensitive
listAppInstanceAdminsResponse_appInstanceAdmins :: Lens.Lens' ListAppInstanceAdminsResponse (Prelude.Maybe [AppInstanceAdminSummary])
listAppInstanceAdminsResponse_appInstanceAdmins :: (Maybe [AppInstanceAdminSummary]
-> f (Maybe [AppInstanceAdminSummary]))
-> ListAppInstanceAdminsResponse -> f ListAppInstanceAdminsResponse
listAppInstanceAdminsResponse_appInstanceAdmins = (ListAppInstanceAdminsResponse -> Maybe [AppInstanceAdminSummary])
-> (ListAppInstanceAdminsResponse
-> Maybe [AppInstanceAdminSummary]
-> ListAppInstanceAdminsResponse)
-> Lens
ListAppInstanceAdminsResponse
ListAppInstanceAdminsResponse
(Maybe [AppInstanceAdminSummary])
(Maybe [AppInstanceAdminSummary])
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListAppInstanceAdminsResponse' {Maybe [AppInstanceAdminSummary]
appInstanceAdmins :: Maybe [AppInstanceAdminSummary]
$sel:appInstanceAdmins:ListAppInstanceAdminsResponse' :: ListAppInstanceAdminsResponse -> Maybe [AppInstanceAdminSummary]
appInstanceAdmins} -> Maybe [AppInstanceAdminSummary]
appInstanceAdmins) (\s :: ListAppInstanceAdminsResponse
s@ListAppInstanceAdminsResponse' {} Maybe [AppInstanceAdminSummary]
a -> ListAppInstanceAdminsResponse
s {$sel:appInstanceAdmins:ListAppInstanceAdminsResponse' :: Maybe [AppInstanceAdminSummary]
appInstanceAdmins = Maybe [AppInstanceAdminSummary]
a} :: ListAppInstanceAdminsResponse) ((Maybe [AppInstanceAdminSummary]
-> f (Maybe [AppInstanceAdminSummary]))
-> ListAppInstanceAdminsResponse
-> f ListAppInstanceAdminsResponse)
-> ((Maybe [AppInstanceAdminSummary]
-> f (Maybe [AppInstanceAdminSummary]))
-> Maybe [AppInstanceAdminSummary]
-> f (Maybe [AppInstanceAdminSummary]))
-> (Maybe [AppInstanceAdminSummary]
-> f (Maybe [AppInstanceAdminSummary]))
-> ListAppInstanceAdminsResponse
-> f ListAppInstanceAdminsResponse
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. AnIso
[AppInstanceAdminSummary]
[AppInstanceAdminSummary]
[AppInstanceAdminSummary]
[AppInstanceAdminSummary]
-> Iso
(Maybe [AppInstanceAdminSummary])
(Maybe [AppInstanceAdminSummary])
(Maybe [AppInstanceAdminSummary])
(Maybe [AppInstanceAdminSummary])
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
[AppInstanceAdminSummary]
[AppInstanceAdminSummary]
[AppInstanceAdminSummary]
[AppInstanceAdminSummary]
forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced
listAppInstanceAdminsResponse_appInstanceArn :: Lens.Lens' ListAppInstanceAdminsResponse (Prelude.Maybe Prelude.Text)
listAppInstanceAdminsResponse_appInstanceArn :: (Maybe Text -> f (Maybe Text))
-> ListAppInstanceAdminsResponse -> f ListAppInstanceAdminsResponse
listAppInstanceAdminsResponse_appInstanceArn = (ListAppInstanceAdminsResponse -> Maybe Text)
-> (ListAppInstanceAdminsResponse
-> Maybe Text -> ListAppInstanceAdminsResponse)
-> Lens
ListAppInstanceAdminsResponse
ListAppInstanceAdminsResponse
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListAppInstanceAdminsResponse' {Maybe Text
appInstanceArn :: Maybe Text
$sel:appInstanceArn:ListAppInstanceAdminsResponse' :: ListAppInstanceAdminsResponse -> Maybe Text
appInstanceArn} -> Maybe Text
appInstanceArn) (\s :: ListAppInstanceAdminsResponse
s@ListAppInstanceAdminsResponse' {} Maybe Text
a -> ListAppInstanceAdminsResponse
s {$sel:appInstanceArn:ListAppInstanceAdminsResponse' :: Maybe Text
appInstanceArn = Maybe Text
a} :: ListAppInstanceAdminsResponse)
listAppInstanceAdminsResponse_httpStatus :: Lens.Lens' ListAppInstanceAdminsResponse Prelude.Int
listAppInstanceAdminsResponse_httpStatus :: (Int -> f Int)
-> ListAppInstanceAdminsResponse -> f ListAppInstanceAdminsResponse
listAppInstanceAdminsResponse_httpStatus = (ListAppInstanceAdminsResponse -> Int)
-> (ListAppInstanceAdminsResponse
-> Int -> ListAppInstanceAdminsResponse)
-> Lens
ListAppInstanceAdminsResponse ListAppInstanceAdminsResponse Int Int
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListAppInstanceAdminsResponse' {Int
httpStatus :: Int
$sel:httpStatus:ListAppInstanceAdminsResponse' :: ListAppInstanceAdminsResponse -> Int
httpStatus} -> Int
httpStatus) (\s :: ListAppInstanceAdminsResponse
s@ListAppInstanceAdminsResponse' {} Int
a -> ListAppInstanceAdminsResponse
s {$sel:httpStatus:ListAppInstanceAdminsResponse' :: Int
httpStatus = Int
a} :: ListAppInstanceAdminsResponse)
instance Prelude.NFData ListAppInstanceAdminsResponse