{-# 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.SearchGroups
(
SearchGroups (..),
newSearchGroups,
searchGroups_maxResults,
searchGroups_nextToken,
searchGroups_awsAccountId,
searchGroups_namespace,
searchGroups_filters,
SearchGroupsResponse (..),
newSearchGroupsResponse,
searchGroupsResponse_groupList,
searchGroupsResponse_nextToken,
searchGroupsResponse_requestId,
searchGroupsResponse_status,
)
where
import qualified Amazonka.Core as Core
import qualified Amazonka.Core.Lens.Internal as Lens
import qualified Amazonka.Data as Data
import qualified Amazonka.Prelude as Prelude
import Amazonka.QuickSight.Types
import qualified Amazonka.Request as Request
import qualified Amazonka.Response as Response
data SearchGroups = SearchGroups'
{
SearchGroups -> Maybe Natural
maxResults :: Prelude.Maybe Prelude.Natural,
SearchGroups -> Maybe Text
nextToken :: Prelude.Maybe Prelude.Text,
SearchGroups -> Text
awsAccountId :: Prelude.Text,
SearchGroups -> Text
namespace :: Prelude.Text,
SearchGroups -> NonEmpty GroupSearchFilter
filters :: Prelude.NonEmpty GroupSearchFilter
}
deriving (SearchGroups -> SearchGroups -> Bool
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: SearchGroups -> SearchGroups -> Bool
$c/= :: SearchGroups -> SearchGroups -> Bool
== :: SearchGroups -> SearchGroups -> Bool
$c== :: SearchGroups -> SearchGroups -> Bool
Prelude.Eq, ReadPrec [SearchGroups]
ReadPrec SearchGroups
Int -> ReadS SearchGroups
ReadS [SearchGroups]
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [SearchGroups]
$creadListPrec :: ReadPrec [SearchGroups]
readPrec :: ReadPrec SearchGroups
$creadPrec :: ReadPrec SearchGroups
readList :: ReadS [SearchGroups]
$creadList :: ReadS [SearchGroups]
readsPrec :: Int -> ReadS SearchGroups
$creadsPrec :: Int -> ReadS SearchGroups
Prelude.Read, Int -> SearchGroups -> ShowS
[SearchGroups] -> ShowS
SearchGroups -> String
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [SearchGroups] -> ShowS
$cshowList :: [SearchGroups] -> ShowS
show :: SearchGroups -> String
$cshow :: SearchGroups -> String
showsPrec :: Int -> SearchGroups -> ShowS
$cshowsPrec :: Int -> SearchGroups -> ShowS
Prelude.Show, forall x. Rep SearchGroups x -> SearchGroups
forall x. SearchGroups -> Rep SearchGroups x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep SearchGroups x -> SearchGroups
$cfrom :: forall x. SearchGroups -> Rep SearchGroups x
Prelude.Generic)
newSearchGroups ::
Prelude.Text ->
Prelude.Text ->
Prelude.NonEmpty GroupSearchFilter ->
SearchGroups
newSearchGroups :: Text -> Text -> NonEmpty GroupSearchFilter -> SearchGroups
newSearchGroups Text
pAwsAccountId_ Text
pNamespace_ NonEmpty GroupSearchFilter
pFilters_ =
SearchGroups'
{ $sel:maxResults:SearchGroups' :: Maybe Natural
maxResults = forall a. Maybe a
Prelude.Nothing,
$sel:nextToken:SearchGroups' :: Maybe Text
nextToken = forall a. Maybe a
Prelude.Nothing,
$sel:awsAccountId:SearchGroups' :: Text
awsAccountId = Text
pAwsAccountId_,
$sel:namespace:SearchGroups' :: Text
namespace = Text
pNamespace_,
$sel:filters:SearchGroups' :: NonEmpty GroupSearchFilter
filters = forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced forall t b. AReview t b -> b -> t
Lens.# NonEmpty GroupSearchFilter
pFilters_
}
searchGroups_maxResults :: Lens.Lens' SearchGroups (Prelude.Maybe Prelude.Natural)
searchGroups_maxResults :: Lens' SearchGroups (Maybe Natural)
searchGroups_maxResults = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\SearchGroups' {Maybe Natural
maxResults :: Maybe Natural
$sel:maxResults:SearchGroups' :: SearchGroups -> Maybe Natural
maxResults} -> Maybe Natural
maxResults) (\s :: SearchGroups
s@SearchGroups' {} Maybe Natural
a -> SearchGroups
s {$sel:maxResults:SearchGroups' :: Maybe Natural
maxResults = Maybe Natural
a} :: SearchGroups)
searchGroups_nextToken :: Lens.Lens' SearchGroups (Prelude.Maybe Prelude.Text)
searchGroups_nextToken :: Lens' SearchGroups (Maybe Text)
searchGroups_nextToken = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\SearchGroups' {Maybe Text
nextToken :: Maybe Text
$sel:nextToken:SearchGroups' :: SearchGroups -> Maybe Text
nextToken} -> Maybe Text
nextToken) (\s :: SearchGroups
s@SearchGroups' {} Maybe Text
a -> SearchGroups
s {$sel:nextToken:SearchGroups' :: Maybe Text
nextToken = Maybe Text
a} :: SearchGroups)
searchGroups_awsAccountId :: Lens.Lens' SearchGroups Prelude.Text
searchGroups_awsAccountId :: Lens' SearchGroups Text
searchGroups_awsAccountId = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\SearchGroups' {Text
awsAccountId :: Text
$sel:awsAccountId:SearchGroups' :: SearchGroups -> Text
awsAccountId} -> Text
awsAccountId) (\s :: SearchGroups
s@SearchGroups' {} Text
a -> SearchGroups
s {$sel:awsAccountId:SearchGroups' :: Text
awsAccountId = Text
a} :: SearchGroups)
searchGroups_namespace :: Lens.Lens' SearchGroups Prelude.Text
searchGroups_namespace :: Lens' SearchGroups Text
searchGroups_namespace = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\SearchGroups' {Text
namespace :: Text
$sel:namespace:SearchGroups' :: SearchGroups -> Text
namespace} -> Text
namespace) (\s :: SearchGroups
s@SearchGroups' {} Text
a -> SearchGroups
s {$sel:namespace:SearchGroups' :: Text
namespace = Text
a} :: SearchGroups)
searchGroups_filters :: Lens.Lens' SearchGroups (Prelude.NonEmpty GroupSearchFilter)
searchGroups_filters :: Lens' SearchGroups (NonEmpty GroupSearchFilter)
searchGroups_filters = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\SearchGroups' {NonEmpty GroupSearchFilter
filters :: NonEmpty GroupSearchFilter
$sel:filters:SearchGroups' :: SearchGroups -> NonEmpty GroupSearchFilter
filters} -> NonEmpty GroupSearchFilter
filters) (\s :: SearchGroups
s@SearchGroups' {} NonEmpty GroupSearchFilter
a -> SearchGroups
s {$sel:filters:SearchGroups' :: NonEmpty GroupSearchFilter
filters = NonEmpty GroupSearchFilter
a} :: SearchGroups) forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced
instance Core.AWSRequest SearchGroups where
type AWSResponse SearchGroups = SearchGroupsResponse
request :: (Service -> Service) -> SearchGroups -> Request SearchGroups
request Service -> Service
overrides =
forall a. (ToRequest a, ToJSON a) => Service -> a -> Request a
Request.postJSON (Service -> Service
overrides Service
defaultService)
response :: forall (m :: * -> *).
MonadResource m =>
(ByteStringLazy -> IO ByteStringLazy)
-> Service
-> Proxy SearchGroups
-> ClientResponse ClientBody
-> m (Either Error (ClientResponse (AWSResponse SearchGroups)))
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 [Group]
-> Maybe Text -> Maybe Text -> Int -> SearchGroupsResponse
SearchGroupsResponse'
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
"GroupList" 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
"NextToken")
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
"RequestId")
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 SearchGroups where
hashWithSalt :: Int -> SearchGroups -> Int
hashWithSalt Int
_salt SearchGroups' {Maybe Natural
Maybe Text
NonEmpty GroupSearchFilter
Text
filters :: NonEmpty GroupSearchFilter
namespace :: Text
awsAccountId :: Text
nextToken :: Maybe Text
maxResults :: Maybe Natural
$sel:filters:SearchGroups' :: SearchGroups -> NonEmpty GroupSearchFilter
$sel:namespace:SearchGroups' :: SearchGroups -> Text
$sel:awsAccountId:SearchGroups' :: SearchGroups -> Text
$sel:nextToken:SearchGroups' :: SearchGroups -> Maybe Text
$sel:maxResults:SearchGroups' :: SearchGroups -> Maybe Natural
..} =
Int
_salt
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Natural
maxResults
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
nextToken
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Text
awsAccountId
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Text
namespace
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` NonEmpty GroupSearchFilter
filters
instance Prelude.NFData SearchGroups where
rnf :: SearchGroups -> ()
rnf SearchGroups' {Maybe Natural
Maybe Text
NonEmpty GroupSearchFilter
Text
filters :: NonEmpty GroupSearchFilter
namespace :: Text
awsAccountId :: Text
nextToken :: Maybe Text
maxResults :: Maybe Natural
$sel:filters:SearchGroups' :: SearchGroups -> NonEmpty GroupSearchFilter
$sel:namespace:SearchGroups' :: SearchGroups -> Text
$sel:awsAccountId:SearchGroups' :: SearchGroups -> Text
$sel:nextToken:SearchGroups' :: SearchGroups -> Maybe Text
$sel:maxResults:SearchGroups' :: SearchGroups -> Maybe Natural
..} =
forall a. NFData a => a -> ()
Prelude.rnf Maybe Natural
maxResults
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
nextToken
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Text
awsAccountId
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Text
namespace
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf NonEmpty GroupSearchFilter
filters
instance Data.ToHeaders SearchGroups where
toHeaders :: SearchGroups -> 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.0" ::
Prelude.ByteString
)
]
)
instance Data.ToJSON SearchGroups where
toJSON :: SearchGroups -> Value
toJSON SearchGroups' {Maybe Natural
Maybe Text
NonEmpty GroupSearchFilter
Text
filters :: NonEmpty GroupSearchFilter
namespace :: Text
awsAccountId :: Text
nextToken :: Maybe Text
maxResults :: Maybe Natural
$sel:filters:SearchGroups' :: SearchGroups -> NonEmpty GroupSearchFilter
$sel:namespace:SearchGroups' :: SearchGroups -> Text
$sel:awsAccountId:SearchGroups' :: SearchGroups -> Text
$sel:nextToken:SearchGroups' :: SearchGroups -> Maybe Text
$sel:maxResults:SearchGroups' :: SearchGroups -> Maybe Natural
..} =
[Pair] -> Value
Data.object
( forall a. [Maybe a] -> [a]
Prelude.catMaybes
[forall a. a -> Maybe a
Prelude.Just (Key
"Filters" forall kv v. (KeyValue kv, ToJSON v) => Key -> v -> kv
Data..= NonEmpty GroupSearchFilter
filters)]
)
instance Data.ToPath SearchGroups where
toPath :: SearchGroups -> ByteString
toPath SearchGroups' {Maybe Natural
Maybe Text
NonEmpty GroupSearchFilter
Text
filters :: NonEmpty GroupSearchFilter
namespace :: Text
awsAccountId :: Text
nextToken :: Maybe Text
maxResults :: Maybe Natural
$sel:filters:SearchGroups' :: SearchGroups -> NonEmpty GroupSearchFilter
$sel:namespace:SearchGroups' :: SearchGroups -> Text
$sel:awsAccountId:SearchGroups' :: SearchGroups -> Text
$sel:nextToken:SearchGroups' :: SearchGroups -> Maybe Text
$sel:maxResults:SearchGroups' :: SearchGroups -> Maybe Natural
..} =
forall a. Monoid a => [a] -> a
Prelude.mconcat
[ ByteString
"/accounts/",
forall a. ToByteString a => a -> ByteString
Data.toBS Text
awsAccountId,
ByteString
"/namespaces/",
forall a. ToByteString a => a -> ByteString
Data.toBS Text
namespace,
ByteString
"/groups-search"
]
instance Data.ToQuery SearchGroups where
toQuery :: SearchGroups -> QueryString
toQuery SearchGroups' {Maybe Natural
Maybe Text
NonEmpty GroupSearchFilter
Text
filters :: NonEmpty GroupSearchFilter
namespace :: Text
awsAccountId :: Text
nextToken :: Maybe Text
maxResults :: Maybe Natural
$sel:filters:SearchGroups' :: SearchGroups -> NonEmpty GroupSearchFilter
$sel:namespace:SearchGroups' :: SearchGroups -> Text
$sel:awsAccountId:SearchGroups' :: SearchGroups -> Text
$sel:nextToken:SearchGroups' :: SearchGroups -> Maybe Text
$sel:maxResults:SearchGroups' :: SearchGroups -> Maybe Natural
..} =
forall a. Monoid a => [a] -> a
Prelude.mconcat
[ ByteString
"max-results" forall a. ToQuery a => ByteString -> a -> QueryString
Data.=: Maybe Natural
maxResults,
ByteString
"next-token" forall a. ToQuery a => ByteString -> a -> QueryString
Data.=: Maybe Text
nextToken
]
data SearchGroupsResponse = SearchGroupsResponse'
{
SearchGroupsResponse -> Maybe [Group]
groupList :: Prelude.Maybe [Group],
SearchGroupsResponse -> Maybe Text
nextToken :: Prelude.Maybe Prelude.Text,
SearchGroupsResponse -> Maybe Text
requestId :: Prelude.Maybe Prelude.Text,
SearchGroupsResponse -> Int
status :: Prelude.Int
}
deriving (SearchGroupsResponse -> SearchGroupsResponse -> Bool
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: SearchGroupsResponse -> SearchGroupsResponse -> Bool
$c/= :: SearchGroupsResponse -> SearchGroupsResponse -> Bool
== :: SearchGroupsResponse -> SearchGroupsResponse -> Bool
$c== :: SearchGroupsResponse -> SearchGroupsResponse -> Bool
Prelude.Eq, ReadPrec [SearchGroupsResponse]
ReadPrec SearchGroupsResponse
Int -> ReadS SearchGroupsResponse
ReadS [SearchGroupsResponse]
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [SearchGroupsResponse]
$creadListPrec :: ReadPrec [SearchGroupsResponse]
readPrec :: ReadPrec SearchGroupsResponse
$creadPrec :: ReadPrec SearchGroupsResponse
readList :: ReadS [SearchGroupsResponse]
$creadList :: ReadS [SearchGroupsResponse]
readsPrec :: Int -> ReadS SearchGroupsResponse
$creadsPrec :: Int -> ReadS SearchGroupsResponse
Prelude.Read, Int -> SearchGroupsResponse -> ShowS
[SearchGroupsResponse] -> ShowS
SearchGroupsResponse -> String
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [SearchGroupsResponse] -> ShowS
$cshowList :: [SearchGroupsResponse] -> ShowS
show :: SearchGroupsResponse -> String
$cshow :: SearchGroupsResponse -> String
showsPrec :: Int -> SearchGroupsResponse -> ShowS
$cshowsPrec :: Int -> SearchGroupsResponse -> ShowS
Prelude.Show, forall x. Rep SearchGroupsResponse x -> SearchGroupsResponse
forall x. SearchGroupsResponse -> Rep SearchGroupsResponse x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep SearchGroupsResponse x -> SearchGroupsResponse
$cfrom :: forall x. SearchGroupsResponse -> Rep SearchGroupsResponse x
Prelude.Generic)
newSearchGroupsResponse ::
Prelude.Int ->
SearchGroupsResponse
newSearchGroupsResponse :: Int -> SearchGroupsResponse
newSearchGroupsResponse Int
pStatus_ =
SearchGroupsResponse'
{ $sel:groupList:SearchGroupsResponse' :: Maybe [Group]
groupList = forall a. Maybe a
Prelude.Nothing,
$sel:nextToken:SearchGroupsResponse' :: Maybe Text
nextToken = forall a. Maybe a
Prelude.Nothing,
$sel:requestId:SearchGroupsResponse' :: Maybe Text
requestId = forall a. Maybe a
Prelude.Nothing,
$sel:status:SearchGroupsResponse' :: Int
status = Int
pStatus_
}
searchGroupsResponse_groupList :: Lens.Lens' SearchGroupsResponse (Prelude.Maybe [Group])
searchGroupsResponse_groupList :: Lens' SearchGroupsResponse (Maybe [Group])
searchGroupsResponse_groupList = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\SearchGroupsResponse' {Maybe [Group]
groupList :: Maybe [Group]
$sel:groupList:SearchGroupsResponse' :: SearchGroupsResponse -> Maybe [Group]
groupList} -> Maybe [Group]
groupList) (\s :: SearchGroupsResponse
s@SearchGroupsResponse' {} Maybe [Group]
a -> SearchGroupsResponse
s {$sel:groupList:SearchGroupsResponse' :: Maybe [Group]
groupList = Maybe [Group]
a} :: SearchGroupsResponse) 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
searchGroupsResponse_nextToken :: Lens.Lens' SearchGroupsResponse (Prelude.Maybe Prelude.Text)
searchGroupsResponse_nextToken :: Lens' SearchGroupsResponse (Maybe Text)
searchGroupsResponse_nextToken = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\SearchGroupsResponse' {Maybe Text
nextToken :: Maybe Text
$sel:nextToken:SearchGroupsResponse' :: SearchGroupsResponse -> Maybe Text
nextToken} -> Maybe Text
nextToken) (\s :: SearchGroupsResponse
s@SearchGroupsResponse' {} Maybe Text
a -> SearchGroupsResponse
s {$sel:nextToken:SearchGroupsResponse' :: Maybe Text
nextToken = Maybe Text
a} :: SearchGroupsResponse)
searchGroupsResponse_requestId :: Lens.Lens' SearchGroupsResponse (Prelude.Maybe Prelude.Text)
searchGroupsResponse_requestId :: Lens' SearchGroupsResponse (Maybe Text)
searchGroupsResponse_requestId = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\SearchGroupsResponse' {Maybe Text
requestId :: Maybe Text
$sel:requestId:SearchGroupsResponse' :: SearchGroupsResponse -> Maybe Text
requestId} -> Maybe Text
requestId) (\s :: SearchGroupsResponse
s@SearchGroupsResponse' {} Maybe Text
a -> SearchGroupsResponse
s {$sel:requestId:SearchGroupsResponse' :: Maybe Text
requestId = Maybe Text
a} :: SearchGroupsResponse)
searchGroupsResponse_status :: Lens.Lens' SearchGroupsResponse Prelude.Int
searchGroupsResponse_status :: Lens' SearchGroupsResponse Int
searchGroupsResponse_status = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\SearchGroupsResponse' {Int
status :: Int
$sel:status:SearchGroupsResponse' :: SearchGroupsResponse -> Int
status} -> Int
status) (\s :: SearchGroupsResponse
s@SearchGroupsResponse' {} Int
a -> SearchGroupsResponse
s {$sel:status:SearchGroupsResponse' :: Int
status = Int
a} :: SearchGroupsResponse)
instance Prelude.NFData SearchGroupsResponse where
rnf :: SearchGroupsResponse -> ()
rnf SearchGroupsResponse' {Int
Maybe [Group]
Maybe Text
status :: Int
requestId :: Maybe Text
nextToken :: Maybe Text
groupList :: Maybe [Group]
$sel:status:SearchGroupsResponse' :: SearchGroupsResponse -> Int
$sel:requestId:SearchGroupsResponse' :: SearchGroupsResponse -> Maybe Text
$sel:nextToken:SearchGroupsResponse' :: SearchGroupsResponse -> Maybe Text
$sel:groupList:SearchGroupsResponse' :: SearchGroupsResponse -> Maybe [Group]
..} =
forall a. NFData a => a -> ()
Prelude.rnf Maybe [Group]
groupList
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
nextToken
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
requestId
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Int
status