{-# 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.ListFolderMembers
(
ListFolderMembers (..),
newListFolderMembers,
listFolderMembers_nextToken,
listFolderMembers_maxResults,
listFolderMembers_awsAccountId,
listFolderMembers_folderId,
ListFolderMembersResponse (..),
newListFolderMembersResponse,
listFolderMembersResponse_requestId,
listFolderMembersResponse_folderMemberList,
listFolderMembersResponse_nextToken,
listFolderMembersResponse_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 ListFolderMembers = ListFolderMembers'
{
ListFolderMembers -> Maybe Text
nextToken :: Prelude.Maybe Prelude.Text,
ListFolderMembers -> Maybe Natural
maxResults :: Prelude.Maybe Prelude.Natural,
ListFolderMembers -> Text
awsAccountId :: Prelude.Text,
ListFolderMembers -> Text
folderId :: Prelude.Text
}
deriving (ListFolderMembers -> ListFolderMembers -> Bool
(ListFolderMembers -> ListFolderMembers -> Bool)
-> (ListFolderMembers -> ListFolderMembers -> Bool)
-> Eq ListFolderMembers
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: ListFolderMembers -> ListFolderMembers -> Bool
$c/= :: ListFolderMembers -> ListFolderMembers -> Bool
== :: ListFolderMembers -> ListFolderMembers -> Bool
$c== :: ListFolderMembers -> ListFolderMembers -> Bool
Prelude.Eq, ReadPrec [ListFolderMembers]
ReadPrec ListFolderMembers
Int -> ReadS ListFolderMembers
ReadS [ListFolderMembers]
(Int -> ReadS ListFolderMembers)
-> ReadS [ListFolderMembers]
-> ReadPrec ListFolderMembers
-> ReadPrec [ListFolderMembers]
-> Read ListFolderMembers
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [ListFolderMembers]
$creadListPrec :: ReadPrec [ListFolderMembers]
readPrec :: ReadPrec ListFolderMembers
$creadPrec :: ReadPrec ListFolderMembers
readList :: ReadS [ListFolderMembers]
$creadList :: ReadS [ListFolderMembers]
readsPrec :: Int -> ReadS ListFolderMembers
$creadsPrec :: Int -> ReadS ListFolderMembers
Prelude.Read, Int -> ListFolderMembers -> ShowS
[ListFolderMembers] -> ShowS
ListFolderMembers -> String
(Int -> ListFolderMembers -> ShowS)
-> (ListFolderMembers -> String)
-> ([ListFolderMembers] -> ShowS)
-> Show ListFolderMembers
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [ListFolderMembers] -> ShowS
$cshowList :: [ListFolderMembers] -> ShowS
show :: ListFolderMembers -> String
$cshow :: ListFolderMembers -> String
showsPrec :: Int -> ListFolderMembers -> ShowS
$cshowsPrec :: Int -> ListFolderMembers -> ShowS
Prelude.Show, (forall x. ListFolderMembers -> Rep ListFolderMembers x)
-> (forall x. Rep ListFolderMembers x -> ListFolderMembers)
-> Generic ListFolderMembers
forall x. Rep ListFolderMembers x -> ListFolderMembers
forall x. ListFolderMembers -> Rep ListFolderMembers x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep ListFolderMembers x -> ListFolderMembers
$cfrom :: forall x. ListFolderMembers -> Rep ListFolderMembers x
Prelude.Generic)
newListFolderMembers ::
Prelude.Text ->
Prelude.Text ->
ListFolderMembers
newListFolderMembers :: Text -> Text -> ListFolderMembers
newListFolderMembers Text
pAwsAccountId_ Text
pFolderId_ =
ListFolderMembers' :: Maybe Text -> Maybe Natural -> Text -> Text -> ListFolderMembers
ListFolderMembers'
{ $sel:nextToken:ListFolderMembers' :: Maybe Text
nextToken = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:maxResults:ListFolderMembers' :: Maybe Natural
maxResults = Maybe Natural
forall a. Maybe a
Prelude.Nothing,
$sel:awsAccountId:ListFolderMembers' :: Text
awsAccountId = Text
pAwsAccountId_,
$sel:folderId:ListFolderMembers' :: Text
folderId = Text
pFolderId_
}
listFolderMembers_nextToken :: Lens.Lens' ListFolderMembers (Prelude.Maybe Prelude.Text)
listFolderMembers_nextToken :: (Maybe Text -> f (Maybe Text))
-> ListFolderMembers -> f ListFolderMembers
listFolderMembers_nextToken = (ListFolderMembers -> Maybe Text)
-> (ListFolderMembers -> Maybe Text -> ListFolderMembers)
-> Lens
ListFolderMembers ListFolderMembers (Maybe Text) (Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListFolderMembers' {Maybe Text
nextToken :: Maybe Text
$sel:nextToken:ListFolderMembers' :: ListFolderMembers -> Maybe Text
nextToken} -> Maybe Text
nextToken) (\s :: ListFolderMembers
s@ListFolderMembers' {} Maybe Text
a -> ListFolderMembers
s {$sel:nextToken:ListFolderMembers' :: Maybe Text
nextToken = Maybe Text
a} :: ListFolderMembers)
listFolderMembers_maxResults :: Lens.Lens' ListFolderMembers (Prelude.Maybe Prelude.Natural)
listFolderMembers_maxResults :: (Maybe Natural -> f (Maybe Natural))
-> ListFolderMembers -> f ListFolderMembers
listFolderMembers_maxResults = (ListFolderMembers -> Maybe Natural)
-> (ListFolderMembers -> Maybe Natural -> ListFolderMembers)
-> Lens
ListFolderMembers ListFolderMembers (Maybe Natural) (Maybe Natural)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListFolderMembers' {Maybe Natural
maxResults :: Maybe Natural
$sel:maxResults:ListFolderMembers' :: ListFolderMembers -> Maybe Natural
maxResults} -> Maybe Natural
maxResults) (\s :: ListFolderMembers
s@ListFolderMembers' {} Maybe Natural
a -> ListFolderMembers
s {$sel:maxResults:ListFolderMembers' :: Maybe Natural
maxResults = Maybe Natural
a} :: ListFolderMembers)
listFolderMembers_awsAccountId :: Lens.Lens' ListFolderMembers Prelude.Text
listFolderMembers_awsAccountId :: (Text -> f Text) -> ListFolderMembers -> f ListFolderMembers
listFolderMembers_awsAccountId = (ListFolderMembers -> Text)
-> (ListFolderMembers -> Text -> ListFolderMembers)
-> Lens ListFolderMembers ListFolderMembers Text Text
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListFolderMembers' {Text
awsAccountId :: Text
$sel:awsAccountId:ListFolderMembers' :: ListFolderMembers -> Text
awsAccountId} -> Text
awsAccountId) (\s :: ListFolderMembers
s@ListFolderMembers' {} Text
a -> ListFolderMembers
s {$sel:awsAccountId:ListFolderMembers' :: Text
awsAccountId = Text
a} :: ListFolderMembers)
listFolderMembers_folderId :: Lens.Lens' ListFolderMembers Prelude.Text
listFolderMembers_folderId :: (Text -> f Text) -> ListFolderMembers -> f ListFolderMembers
listFolderMembers_folderId = (ListFolderMembers -> Text)
-> (ListFolderMembers -> Text -> ListFolderMembers)
-> Lens ListFolderMembers ListFolderMembers Text Text
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListFolderMembers' {Text
folderId :: Text
$sel:folderId:ListFolderMembers' :: ListFolderMembers -> Text
folderId} -> Text
folderId) (\s :: ListFolderMembers
s@ListFolderMembers' {} Text
a -> ListFolderMembers
s {$sel:folderId:ListFolderMembers' :: Text
folderId = Text
a} :: ListFolderMembers)
instance Core.AWSRequest ListFolderMembers where
type
AWSResponse ListFolderMembers =
ListFolderMembersResponse
request :: ListFolderMembers -> Request ListFolderMembers
request = Service -> ListFolderMembers -> Request ListFolderMembers
forall a. ToRequest a => Service -> a -> Request a
Request.get Service
defaultService
response :: Logger
-> Service
-> Proxy ListFolderMembers
-> ClientResponse ClientBody
-> m (Either
Error (ClientResponse (AWSResponse ListFolderMembers)))
response =
(Int
-> ResponseHeaders
-> Object
-> Either String (AWSResponse ListFolderMembers))
-> Logger
-> Service
-> Proxy ListFolderMembers
-> ClientResponse ClientBody
-> m (Either
Error (ClientResponse (AWSResponse ListFolderMembers)))
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 [MemberIdArnPair]
-> Maybe Text
-> Int
-> ListFolderMembersResponse
ListFolderMembersResponse'
(Maybe Text
-> Maybe [MemberIdArnPair]
-> Maybe Text
-> Int
-> ListFolderMembersResponse)
-> Either String (Maybe Text)
-> Either
String
(Maybe [MemberIdArnPair]
-> Maybe Text -> Int -> ListFolderMembersResponse)
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 [MemberIdArnPair]
-> Maybe Text -> Int -> ListFolderMembersResponse)
-> Either String (Maybe [MemberIdArnPair])
-> Either String (Maybe Text -> Int -> ListFolderMembersResponse)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> ( Object
x Object -> Text -> Either String (Maybe (Maybe [MemberIdArnPair]))
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"FolderMemberList"
Either String (Maybe (Maybe [MemberIdArnPair]))
-> Maybe [MemberIdArnPair]
-> Either String (Maybe [MemberIdArnPair])
forall (f :: * -> *) a. Functor f => f (Maybe a) -> a -> f a
Core..!@ Maybe [MemberIdArnPair]
forall a. Monoid a => a
Prelude.mempty
)
Either String (Maybe Text -> Int -> ListFolderMembersResponse)
-> Either String (Maybe Text)
-> Either String (Int -> ListFolderMembersResponse)
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 (Int -> ListFolderMembersResponse)
-> Either String Int -> Either String ListFolderMembersResponse
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 ListFolderMembers
instance Prelude.NFData ListFolderMembers
instance Core.ToHeaders ListFolderMembers where
toHeaders :: ListFolderMembers -> ResponseHeaders
toHeaders =
ResponseHeaders -> ListFolderMembers -> 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 ListFolderMembers where
toPath :: ListFolderMembers -> ByteString
toPath ListFolderMembers' {Maybe Natural
Maybe Text
Text
folderId :: Text
awsAccountId :: Text
maxResults :: Maybe Natural
nextToken :: Maybe Text
$sel:folderId:ListFolderMembers' :: ListFolderMembers -> Text
$sel:awsAccountId:ListFolderMembers' :: ListFolderMembers -> Text
$sel:maxResults:ListFolderMembers' :: ListFolderMembers -> Maybe Natural
$sel:nextToken:ListFolderMembers' :: ListFolderMembers -> 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
"/folders/",
Text -> ByteString
forall a. ToByteString a => a -> ByteString
Core.toBS Text
folderId,
ByteString
"/members"
]
instance Core.ToQuery ListFolderMembers where
toQuery :: ListFolderMembers -> QueryString
toQuery ListFolderMembers' {Maybe Natural
Maybe Text
Text
folderId :: Text
awsAccountId :: Text
maxResults :: Maybe Natural
nextToken :: Maybe Text
$sel:folderId:ListFolderMembers' :: ListFolderMembers -> Text
$sel:awsAccountId:ListFolderMembers' :: ListFolderMembers -> Text
$sel:maxResults:ListFolderMembers' :: ListFolderMembers -> Maybe Natural
$sel:nextToken:ListFolderMembers' :: ListFolderMembers -> 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-results" ByteString -> Maybe Natural -> QueryString
forall a. ToQuery a => ByteString -> a -> QueryString
Core.=: Maybe Natural
maxResults
]
data ListFolderMembersResponse = ListFolderMembersResponse'
{
ListFolderMembersResponse -> Maybe Text
requestId :: Prelude.Maybe Prelude.Text,
ListFolderMembersResponse -> Maybe [MemberIdArnPair]
folderMemberList :: Prelude.Maybe [MemberIdArnPair],
ListFolderMembersResponse -> Maybe Text
nextToken :: Prelude.Maybe Prelude.Text,
ListFolderMembersResponse -> Int
status :: Prelude.Int
}
deriving (ListFolderMembersResponse -> ListFolderMembersResponse -> Bool
(ListFolderMembersResponse -> ListFolderMembersResponse -> Bool)
-> (ListFolderMembersResponse -> ListFolderMembersResponse -> Bool)
-> Eq ListFolderMembersResponse
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: ListFolderMembersResponse -> ListFolderMembersResponse -> Bool
$c/= :: ListFolderMembersResponse -> ListFolderMembersResponse -> Bool
== :: ListFolderMembersResponse -> ListFolderMembersResponse -> Bool
$c== :: ListFolderMembersResponse -> ListFolderMembersResponse -> Bool
Prelude.Eq, ReadPrec [ListFolderMembersResponse]
ReadPrec ListFolderMembersResponse
Int -> ReadS ListFolderMembersResponse
ReadS [ListFolderMembersResponse]
(Int -> ReadS ListFolderMembersResponse)
-> ReadS [ListFolderMembersResponse]
-> ReadPrec ListFolderMembersResponse
-> ReadPrec [ListFolderMembersResponse]
-> Read ListFolderMembersResponse
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [ListFolderMembersResponse]
$creadListPrec :: ReadPrec [ListFolderMembersResponse]
readPrec :: ReadPrec ListFolderMembersResponse
$creadPrec :: ReadPrec ListFolderMembersResponse
readList :: ReadS [ListFolderMembersResponse]
$creadList :: ReadS [ListFolderMembersResponse]
readsPrec :: Int -> ReadS ListFolderMembersResponse
$creadsPrec :: Int -> ReadS ListFolderMembersResponse
Prelude.Read, Int -> ListFolderMembersResponse -> ShowS
[ListFolderMembersResponse] -> ShowS
ListFolderMembersResponse -> String
(Int -> ListFolderMembersResponse -> ShowS)
-> (ListFolderMembersResponse -> String)
-> ([ListFolderMembersResponse] -> ShowS)
-> Show ListFolderMembersResponse
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [ListFolderMembersResponse] -> ShowS
$cshowList :: [ListFolderMembersResponse] -> ShowS
show :: ListFolderMembersResponse -> String
$cshow :: ListFolderMembersResponse -> String
showsPrec :: Int -> ListFolderMembersResponse -> ShowS
$cshowsPrec :: Int -> ListFolderMembersResponse -> ShowS
Prelude.Show, (forall x.
ListFolderMembersResponse -> Rep ListFolderMembersResponse x)
-> (forall x.
Rep ListFolderMembersResponse x -> ListFolderMembersResponse)
-> Generic ListFolderMembersResponse
forall x.
Rep ListFolderMembersResponse x -> ListFolderMembersResponse
forall x.
ListFolderMembersResponse -> Rep ListFolderMembersResponse x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep ListFolderMembersResponse x -> ListFolderMembersResponse
$cfrom :: forall x.
ListFolderMembersResponse -> Rep ListFolderMembersResponse x
Prelude.Generic)
newListFolderMembersResponse ::
Prelude.Int ->
ListFolderMembersResponse
newListFolderMembersResponse :: Int -> ListFolderMembersResponse
newListFolderMembersResponse Int
pStatus_ =
ListFolderMembersResponse' :: Maybe Text
-> Maybe [MemberIdArnPair]
-> Maybe Text
-> Int
-> ListFolderMembersResponse
ListFolderMembersResponse'
{ $sel:requestId:ListFolderMembersResponse' :: Maybe Text
requestId =
Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:folderMemberList:ListFolderMembersResponse' :: Maybe [MemberIdArnPair]
folderMemberList = Maybe [MemberIdArnPair]
forall a. Maybe a
Prelude.Nothing,
$sel:nextToken:ListFolderMembersResponse' :: Maybe Text
nextToken = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:status:ListFolderMembersResponse' :: Int
status = Int
pStatus_
}
listFolderMembersResponse_requestId :: Lens.Lens' ListFolderMembersResponse (Prelude.Maybe Prelude.Text)
listFolderMembersResponse_requestId :: (Maybe Text -> f (Maybe Text))
-> ListFolderMembersResponse -> f ListFolderMembersResponse
listFolderMembersResponse_requestId = (ListFolderMembersResponse -> Maybe Text)
-> (ListFolderMembersResponse
-> Maybe Text -> ListFolderMembersResponse)
-> Lens
ListFolderMembersResponse
ListFolderMembersResponse
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListFolderMembersResponse' {Maybe Text
requestId :: Maybe Text
$sel:requestId:ListFolderMembersResponse' :: ListFolderMembersResponse -> Maybe Text
requestId} -> Maybe Text
requestId) (\s :: ListFolderMembersResponse
s@ListFolderMembersResponse' {} Maybe Text
a -> ListFolderMembersResponse
s {$sel:requestId:ListFolderMembersResponse' :: Maybe Text
requestId = Maybe Text
a} :: ListFolderMembersResponse)
listFolderMembersResponse_folderMemberList :: Lens.Lens' ListFolderMembersResponse (Prelude.Maybe [MemberIdArnPair])
listFolderMembersResponse_folderMemberList :: (Maybe [MemberIdArnPair] -> f (Maybe [MemberIdArnPair]))
-> ListFolderMembersResponse -> f ListFolderMembersResponse
listFolderMembersResponse_folderMemberList = (ListFolderMembersResponse -> Maybe [MemberIdArnPair])
-> (ListFolderMembersResponse
-> Maybe [MemberIdArnPair] -> ListFolderMembersResponse)
-> Lens
ListFolderMembersResponse
ListFolderMembersResponse
(Maybe [MemberIdArnPair])
(Maybe [MemberIdArnPair])
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListFolderMembersResponse' {Maybe [MemberIdArnPair]
folderMemberList :: Maybe [MemberIdArnPair]
$sel:folderMemberList:ListFolderMembersResponse' :: ListFolderMembersResponse -> Maybe [MemberIdArnPair]
folderMemberList} -> Maybe [MemberIdArnPair]
folderMemberList) (\s :: ListFolderMembersResponse
s@ListFolderMembersResponse' {} Maybe [MemberIdArnPair]
a -> ListFolderMembersResponse
s {$sel:folderMemberList:ListFolderMembersResponse' :: Maybe [MemberIdArnPair]
folderMemberList = Maybe [MemberIdArnPair]
a} :: ListFolderMembersResponse) ((Maybe [MemberIdArnPair] -> f (Maybe [MemberIdArnPair]))
-> ListFolderMembersResponse -> f ListFolderMembersResponse)
-> ((Maybe [MemberIdArnPair] -> f (Maybe [MemberIdArnPair]))
-> Maybe [MemberIdArnPair] -> f (Maybe [MemberIdArnPair]))
-> (Maybe [MemberIdArnPair] -> f (Maybe [MemberIdArnPair]))
-> ListFolderMembersResponse
-> f ListFolderMembersResponse
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. AnIso
[MemberIdArnPair]
[MemberIdArnPair]
[MemberIdArnPair]
[MemberIdArnPair]
-> Iso
(Maybe [MemberIdArnPair])
(Maybe [MemberIdArnPair])
(Maybe [MemberIdArnPair])
(Maybe [MemberIdArnPair])
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
[MemberIdArnPair]
[MemberIdArnPair]
[MemberIdArnPair]
[MemberIdArnPair]
forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced
listFolderMembersResponse_nextToken :: Lens.Lens' ListFolderMembersResponse (Prelude.Maybe Prelude.Text)
listFolderMembersResponse_nextToken :: (Maybe Text -> f (Maybe Text))
-> ListFolderMembersResponse -> f ListFolderMembersResponse
listFolderMembersResponse_nextToken = (ListFolderMembersResponse -> Maybe Text)
-> (ListFolderMembersResponse
-> Maybe Text -> ListFolderMembersResponse)
-> Lens
ListFolderMembersResponse
ListFolderMembersResponse
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListFolderMembersResponse' {Maybe Text
nextToken :: Maybe Text
$sel:nextToken:ListFolderMembersResponse' :: ListFolderMembersResponse -> Maybe Text
nextToken} -> Maybe Text
nextToken) (\s :: ListFolderMembersResponse
s@ListFolderMembersResponse' {} Maybe Text
a -> ListFolderMembersResponse
s {$sel:nextToken:ListFolderMembersResponse' :: Maybe Text
nextToken = Maybe Text
a} :: ListFolderMembersResponse)
listFolderMembersResponse_status :: Lens.Lens' ListFolderMembersResponse Prelude.Int
listFolderMembersResponse_status :: (Int -> f Int)
-> ListFolderMembersResponse -> f ListFolderMembersResponse
listFolderMembersResponse_status = (ListFolderMembersResponse -> Int)
-> (ListFolderMembersResponse -> Int -> ListFolderMembersResponse)
-> Lens ListFolderMembersResponse ListFolderMembersResponse Int Int
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListFolderMembersResponse' {Int
status :: Int
$sel:status:ListFolderMembersResponse' :: ListFolderMembersResponse -> Int
status} -> Int
status) (\s :: ListFolderMembersResponse
s@ListFolderMembersResponse' {} Int
a -> ListFolderMembersResponse
s {$sel:status:ListFolderMembersResponse' :: Int
status = Int
a} :: ListFolderMembersResponse)
instance Prelude.NFData ListFolderMembersResponse