{-# 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.GuardDuty.UpdateMemberDetectors
(
UpdateMemberDetectors (..),
newUpdateMemberDetectors,
updateMemberDetectors_dataSources,
updateMemberDetectors_detectorId,
updateMemberDetectors_accountIds,
UpdateMemberDetectorsResponse (..),
newUpdateMemberDetectorsResponse,
updateMemberDetectorsResponse_httpStatus,
updateMemberDetectorsResponse_unprocessedAccounts,
)
where
import qualified Amazonka.Core as Core
import Amazonka.GuardDuty.Types
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 UpdateMemberDetectors = UpdateMemberDetectors'
{
UpdateMemberDetectors -> Maybe DataSourceConfigurations
dataSources :: Prelude.Maybe DataSourceConfigurations,
UpdateMemberDetectors -> Text
detectorId :: Prelude.Text,
UpdateMemberDetectors -> NonEmpty Text
accountIds :: Prelude.NonEmpty Prelude.Text
}
deriving (UpdateMemberDetectors -> UpdateMemberDetectors -> Bool
(UpdateMemberDetectors -> UpdateMemberDetectors -> Bool)
-> (UpdateMemberDetectors -> UpdateMemberDetectors -> Bool)
-> Eq UpdateMemberDetectors
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: UpdateMemberDetectors -> UpdateMemberDetectors -> Bool
$c/= :: UpdateMemberDetectors -> UpdateMemberDetectors -> Bool
== :: UpdateMemberDetectors -> UpdateMemberDetectors -> Bool
$c== :: UpdateMemberDetectors -> UpdateMemberDetectors -> Bool
Prelude.Eq, ReadPrec [UpdateMemberDetectors]
ReadPrec UpdateMemberDetectors
Int -> ReadS UpdateMemberDetectors
ReadS [UpdateMemberDetectors]
(Int -> ReadS UpdateMemberDetectors)
-> ReadS [UpdateMemberDetectors]
-> ReadPrec UpdateMemberDetectors
-> ReadPrec [UpdateMemberDetectors]
-> Read UpdateMemberDetectors
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [UpdateMemberDetectors]
$creadListPrec :: ReadPrec [UpdateMemberDetectors]
readPrec :: ReadPrec UpdateMemberDetectors
$creadPrec :: ReadPrec UpdateMemberDetectors
readList :: ReadS [UpdateMemberDetectors]
$creadList :: ReadS [UpdateMemberDetectors]
readsPrec :: Int -> ReadS UpdateMemberDetectors
$creadsPrec :: Int -> ReadS UpdateMemberDetectors
Prelude.Read, Int -> UpdateMemberDetectors -> ShowS
[UpdateMemberDetectors] -> ShowS
UpdateMemberDetectors -> String
(Int -> UpdateMemberDetectors -> ShowS)
-> (UpdateMemberDetectors -> String)
-> ([UpdateMemberDetectors] -> ShowS)
-> Show UpdateMemberDetectors
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [UpdateMemberDetectors] -> ShowS
$cshowList :: [UpdateMemberDetectors] -> ShowS
show :: UpdateMemberDetectors -> String
$cshow :: UpdateMemberDetectors -> String
showsPrec :: Int -> UpdateMemberDetectors -> ShowS
$cshowsPrec :: Int -> UpdateMemberDetectors -> ShowS
Prelude.Show, (forall x. UpdateMemberDetectors -> Rep UpdateMemberDetectors x)
-> (forall x. Rep UpdateMemberDetectors x -> UpdateMemberDetectors)
-> Generic UpdateMemberDetectors
forall x. Rep UpdateMemberDetectors x -> UpdateMemberDetectors
forall x. UpdateMemberDetectors -> Rep UpdateMemberDetectors x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep UpdateMemberDetectors x -> UpdateMemberDetectors
$cfrom :: forall x. UpdateMemberDetectors -> Rep UpdateMemberDetectors x
Prelude.Generic)
newUpdateMemberDetectors ::
Prelude.Text ->
Prelude.NonEmpty Prelude.Text ->
UpdateMemberDetectors
newUpdateMemberDetectors :: Text -> NonEmpty Text -> UpdateMemberDetectors
newUpdateMemberDetectors Text
pDetectorId_ NonEmpty Text
pAccountIds_ =
UpdateMemberDetectors' :: Maybe DataSourceConfigurations
-> Text -> NonEmpty Text -> UpdateMemberDetectors
UpdateMemberDetectors'
{ $sel:dataSources:UpdateMemberDetectors' :: Maybe DataSourceConfigurations
dataSources =
Maybe DataSourceConfigurations
forall a. Maybe a
Prelude.Nothing,
$sel:detectorId:UpdateMemberDetectors' :: Text
detectorId = Text
pDetectorId_,
$sel:accountIds:UpdateMemberDetectors' :: NonEmpty Text
accountIds = Tagged (NonEmpty Text) (Identity (NonEmpty Text))
-> Tagged (NonEmpty Text) (Identity (NonEmpty Text))
forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced (Tagged (NonEmpty Text) (Identity (NonEmpty Text))
-> Tagged (NonEmpty Text) (Identity (NonEmpty Text)))
-> NonEmpty Text -> NonEmpty Text
forall t b. AReview t b -> b -> t
Lens.# NonEmpty Text
pAccountIds_
}
updateMemberDetectors_dataSources :: Lens.Lens' UpdateMemberDetectors (Prelude.Maybe DataSourceConfigurations)
updateMemberDetectors_dataSources :: (Maybe DataSourceConfigurations
-> f (Maybe DataSourceConfigurations))
-> UpdateMemberDetectors -> f UpdateMemberDetectors
updateMemberDetectors_dataSources = (UpdateMemberDetectors -> Maybe DataSourceConfigurations)
-> (UpdateMemberDetectors
-> Maybe DataSourceConfigurations -> UpdateMemberDetectors)
-> Lens
UpdateMemberDetectors
UpdateMemberDetectors
(Maybe DataSourceConfigurations)
(Maybe DataSourceConfigurations)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\UpdateMemberDetectors' {Maybe DataSourceConfigurations
dataSources :: Maybe DataSourceConfigurations
$sel:dataSources:UpdateMemberDetectors' :: UpdateMemberDetectors -> Maybe DataSourceConfigurations
dataSources} -> Maybe DataSourceConfigurations
dataSources) (\s :: UpdateMemberDetectors
s@UpdateMemberDetectors' {} Maybe DataSourceConfigurations
a -> UpdateMemberDetectors
s {$sel:dataSources:UpdateMemberDetectors' :: Maybe DataSourceConfigurations
dataSources = Maybe DataSourceConfigurations
a} :: UpdateMemberDetectors)
updateMemberDetectors_detectorId :: Lens.Lens' UpdateMemberDetectors Prelude.Text
updateMemberDetectors_detectorId :: (Text -> f Text)
-> UpdateMemberDetectors -> f UpdateMemberDetectors
updateMemberDetectors_detectorId = (UpdateMemberDetectors -> Text)
-> (UpdateMemberDetectors -> Text -> UpdateMemberDetectors)
-> Lens UpdateMemberDetectors UpdateMemberDetectors Text Text
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\UpdateMemberDetectors' {Text
detectorId :: Text
$sel:detectorId:UpdateMemberDetectors' :: UpdateMemberDetectors -> Text
detectorId} -> Text
detectorId) (\s :: UpdateMemberDetectors
s@UpdateMemberDetectors' {} Text
a -> UpdateMemberDetectors
s {$sel:detectorId:UpdateMemberDetectors' :: Text
detectorId = Text
a} :: UpdateMemberDetectors)
updateMemberDetectors_accountIds :: Lens.Lens' UpdateMemberDetectors (Prelude.NonEmpty Prelude.Text)
updateMemberDetectors_accountIds :: (NonEmpty Text -> f (NonEmpty Text))
-> UpdateMemberDetectors -> f UpdateMemberDetectors
updateMemberDetectors_accountIds = (UpdateMemberDetectors -> NonEmpty Text)
-> (UpdateMemberDetectors
-> NonEmpty Text -> UpdateMemberDetectors)
-> Lens
UpdateMemberDetectors
UpdateMemberDetectors
(NonEmpty Text)
(NonEmpty Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\UpdateMemberDetectors' {NonEmpty Text
accountIds :: NonEmpty Text
$sel:accountIds:UpdateMemberDetectors' :: UpdateMemberDetectors -> NonEmpty Text
accountIds} -> NonEmpty Text
accountIds) (\s :: UpdateMemberDetectors
s@UpdateMemberDetectors' {} NonEmpty Text
a -> UpdateMemberDetectors
s {$sel:accountIds:UpdateMemberDetectors' :: NonEmpty Text
accountIds = NonEmpty Text
a} :: UpdateMemberDetectors) ((NonEmpty Text -> f (NonEmpty Text))
-> UpdateMemberDetectors -> f UpdateMemberDetectors)
-> ((NonEmpty Text -> f (NonEmpty Text))
-> NonEmpty Text -> f (NonEmpty Text))
-> (NonEmpty Text -> f (NonEmpty Text))
-> UpdateMemberDetectors
-> f UpdateMemberDetectors
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. (NonEmpty Text -> f (NonEmpty Text))
-> NonEmpty Text -> f (NonEmpty Text)
forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced
instance Core.AWSRequest UpdateMemberDetectors where
type
AWSResponse UpdateMemberDetectors =
UpdateMemberDetectorsResponse
request :: UpdateMemberDetectors -> Request UpdateMemberDetectors
request = Service -> UpdateMemberDetectors -> Request UpdateMemberDetectors
forall a. (ToRequest a, ToJSON a) => Service -> a -> Request a
Request.postJSON Service
defaultService
response :: Logger
-> Service
-> Proxy UpdateMemberDetectors
-> ClientResponse ClientBody
-> m (Either
Error (ClientResponse (AWSResponse UpdateMemberDetectors)))
response =
(Int
-> ResponseHeaders
-> Object
-> Either String (AWSResponse UpdateMemberDetectors))
-> Logger
-> Service
-> Proxy UpdateMemberDetectors
-> ClientResponse ClientBody
-> m (Either
Error (ClientResponse (AWSResponse UpdateMemberDetectors)))
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 ->
Int -> [UnprocessedAccount] -> UpdateMemberDetectorsResponse
UpdateMemberDetectorsResponse'
(Int -> [UnprocessedAccount] -> UpdateMemberDetectorsResponse)
-> Either String Int
-> Either
String ([UnprocessedAccount] -> UpdateMemberDetectorsResponse)
forall (f :: * -> *) a b. Functor 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))
Either
String ([UnprocessedAccount] -> UpdateMemberDetectorsResponse)
-> Either String [UnprocessedAccount]
-> Either String UpdateMemberDetectorsResponse
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> ( Object
x Object -> Text -> Either String (Maybe [UnprocessedAccount])
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"unprocessedAccounts"
Either String (Maybe [UnprocessedAccount])
-> [UnprocessedAccount] -> Either String [UnprocessedAccount]
forall (f :: * -> *) a. Functor f => f (Maybe a) -> a -> f a
Core..!@ [UnprocessedAccount]
forall a. Monoid a => a
Prelude.mempty
)
)
instance Prelude.Hashable UpdateMemberDetectors
instance Prelude.NFData UpdateMemberDetectors
instance Core.ToHeaders UpdateMemberDetectors where
toHeaders :: UpdateMemberDetectors -> ResponseHeaders
toHeaders =
ResponseHeaders -> UpdateMemberDetectors -> 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.ToJSON UpdateMemberDetectors where
toJSON :: UpdateMemberDetectors -> Value
toJSON UpdateMemberDetectors' {Maybe DataSourceConfigurations
NonEmpty Text
Text
accountIds :: NonEmpty Text
detectorId :: Text
dataSources :: Maybe DataSourceConfigurations
$sel:accountIds:UpdateMemberDetectors' :: UpdateMemberDetectors -> NonEmpty Text
$sel:detectorId:UpdateMemberDetectors' :: UpdateMemberDetectors -> Text
$sel:dataSources:UpdateMemberDetectors' :: UpdateMemberDetectors -> Maybe DataSourceConfigurations
..} =
[Pair] -> Value
Core.object
( [Maybe Pair] -> [Pair]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
[ (Text
"dataSources" Text -> DataSourceConfigurations -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..=) (DataSourceConfigurations -> Pair)
-> Maybe DataSourceConfigurations -> Maybe Pair
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe DataSourceConfigurations
dataSources,
Pair -> Maybe Pair
forall a. a -> Maybe a
Prelude.Just (Text
"accountIds" Text -> NonEmpty Text -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..= NonEmpty Text
accountIds)
]
)
instance Core.ToPath UpdateMemberDetectors where
toPath :: UpdateMemberDetectors -> ByteString
toPath UpdateMemberDetectors' {Maybe DataSourceConfigurations
NonEmpty Text
Text
accountIds :: NonEmpty Text
detectorId :: Text
dataSources :: Maybe DataSourceConfigurations
$sel:accountIds:UpdateMemberDetectors' :: UpdateMemberDetectors -> NonEmpty Text
$sel:detectorId:UpdateMemberDetectors' :: UpdateMemberDetectors -> Text
$sel:dataSources:UpdateMemberDetectors' :: UpdateMemberDetectors -> Maybe DataSourceConfigurations
..} =
[ByteString] -> ByteString
forall a. Monoid a => [a] -> a
Prelude.mconcat
[ ByteString
"/detector/",
Text -> ByteString
forall a. ToByteString a => a -> ByteString
Core.toBS Text
detectorId,
ByteString
"/member/detector/update"
]
instance Core.ToQuery UpdateMemberDetectors where
toQuery :: UpdateMemberDetectors -> QueryString
toQuery = QueryString -> UpdateMemberDetectors -> QueryString
forall a b. a -> b -> a
Prelude.const QueryString
forall a. Monoid a => a
Prelude.mempty
data UpdateMemberDetectorsResponse = UpdateMemberDetectorsResponse'
{
UpdateMemberDetectorsResponse -> Int
httpStatus :: Prelude.Int,
UpdateMemberDetectorsResponse -> [UnprocessedAccount]
unprocessedAccounts :: [UnprocessedAccount]
}
deriving (UpdateMemberDetectorsResponse
-> UpdateMemberDetectorsResponse -> Bool
(UpdateMemberDetectorsResponse
-> UpdateMemberDetectorsResponse -> Bool)
-> (UpdateMemberDetectorsResponse
-> UpdateMemberDetectorsResponse -> Bool)
-> Eq UpdateMemberDetectorsResponse
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: UpdateMemberDetectorsResponse
-> UpdateMemberDetectorsResponse -> Bool
$c/= :: UpdateMemberDetectorsResponse
-> UpdateMemberDetectorsResponse -> Bool
== :: UpdateMemberDetectorsResponse
-> UpdateMemberDetectorsResponse -> Bool
$c== :: UpdateMemberDetectorsResponse
-> UpdateMemberDetectorsResponse -> Bool
Prelude.Eq, ReadPrec [UpdateMemberDetectorsResponse]
ReadPrec UpdateMemberDetectorsResponse
Int -> ReadS UpdateMemberDetectorsResponse
ReadS [UpdateMemberDetectorsResponse]
(Int -> ReadS UpdateMemberDetectorsResponse)
-> ReadS [UpdateMemberDetectorsResponse]
-> ReadPrec UpdateMemberDetectorsResponse
-> ReadPrec [UpdateMemberDetectorsResponse]
-> Read UpdateMemberDetectorsResponse
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [UpdateMemberDetectorsResponse]
$creadListPrec :: ReadPrec [UpdateMemberDetectorsResponse]
readPrec :: ReadPrec UpdateMemberDetectorsResponse
$creadPrec :: ReadPrec UpdateMemberDetectorsResponse
readList :: ReadS [UpdateMemberDetectorsResponse]
$creadList :: ReadS [UpdateMemberDetectorsResponse]
readsPrec :: Int -> ReadS UpdateMemberDetectorsResponse
$creadsPrec :: Int -> ReadS UpdateMemberDetectorsResponse
Prelude.Read, Int -> UpdateMemberDetectorsResponse -> ShowS
[UpdateMemberDetectorsResponse] -> ShowS
UpdateMemberDetectorsResponse -> String
(Int -> UpdateMemberDetectorsResponse -> ShowS)
-> (UpdateMemberDetectorsResponse -> String)
-> ([UpdateMemberDetectorsResponse] -> ShowS)
-> Show UpdateMemberDetectorsResponse
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [UpdateMemberDetectorsResponse] -> ShowS
$cshowList :: [UpdateMemberDetectorsResponse] -> ShowS
show :: UpdateMemberDetectorsResponse -> String
$cshow :: UpdateMemberDetectorsResponse -> String
showsPrec :: Int -> UpdateMemberDetectorsResponse -> ShowS
$cshowsPrec :: Int -> UpdateMemberDetectorsResponse -> ShowS
Prelude.Show, (forall x.
UpdateMemberDetectorsResponse
-> Rep UpdateMemberDetectorsResponse x)
-> (forall x.
Rep UpdateMemberDetectorsResponse x
-> UpdateMemberDetectorsResponse)
-> Generic UpdateMemberDetectorsResponse
forall x.
Rep UpdateMemberDetectorsResponse x
-> UpdateMemberDetectorsResponse
forall x.
UpdateMemberDetectorsResponse
-> Rep UpdateMemberDetectorsResponse x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep UpdateMemberDetectorsResponse x
-> UpdateMemberDetectorsResponse
$cfrom :: forall x.
UpdateMemberDetectorsResponse
-> Rep UpdateMemberDetectorsResponse x
Prelude.Generic)
newUpdateMemberDetectorsResponse ::
Prelude.Int ->
UpdateMemberDetectorsResponse
newUpdateMemberDetectorsResponse :: Int -> UpdateMemberDetectorsResponse
newUpdateMemberDetectorsResponse Int
pHttpStatus_ =
UpdateMemberDetectorsResponse' :: Int -> [UnprocessedAccount] -> UpdateMemberDetectorsResponse
UpdateMemberDetectorsResponse'
{ $sel:httpStatus:UpdateMemberDetectorsResponse' :: Int
httpStatus =
Int
pHttpStatus_,
$sel:unprocessedAccounts:UpdateMemberDetectorsResponse' :: [UnprocessedAccount]
unprocessedAccounts = [UnprocessedAccount]
forall a. Monoid a => a
Prelude.mempty
}
updateMemberDetectorsResponse_httpStatus :: Lens.Lens' UpdateMemberDetectorsResponse Prelude.Int
updateMemberDetectorsResponse_httpStatus :: (Int -> f Int)
-> UpdateMemberDetectorsResponse -> f UpdateMemberDetectorsResponse
updateMemberDetectorsResponse_httpStatus = (UpdateMemberDetectorsResponse -> Int)
-> (UpdateMemberDetectorsResponse
-> Int -> UpdateMemberDetectorsResponse)
-> Lens
UpdateMemberDetectorsResponse UpdateMemberDetectorsResponse Int Int
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\UpdateMemberDetectorsResponse' {Int
httpStatus :: Int
$sel:httpStatus:UpdateMemberDetectorsResponse' :: UpdateMemberDetectorsResponse -> Int
httpStatus} -> Int
httpStatus) (\s :: UpdateMemberDetectorsResponse
s@UpdateMemberDetectorsResponse' {} Int
a -> UpdateMemberDetectorsResponse
s {$sel:httpStatus:UpdateMemberDetectorsResponse' :: Int
httpStatus = Int
a} :: UpdateMemberDetectorsResponse)
updateMemberDetectorsResponse_unprocessedAccounts :: Lens.Lens' UpdateMemberDetectorsResponse [UnprocessedAccount]
updateMemberDetectorsResponse_unprocessedAccounts :: ([UnprocessedAccount] -> f [UnprocessedAccount])
-> UpdateMemberDetectorsResponse -> f UpdateMemberDetectorsResponse
updateMemberDetectorsResponse_unprocessedAccounts = (UpdateMemberDetectorsResponse -> [UnprocessedAccount])
-> (UpdateMemberDetectorsResponse
-> [UnprocessedAccount] -> UpdateMemberDetectorsResponse)
-> Lens
UpdateMemberDetectorsResponse
UpdateMemberDetectorsResponse
[UnprocessedAccount]
[UnprocessedAccount]
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\UpdateMemberDetectorsResponse' {[UnprocessedAccount]
unprocessedAccounts :: [UnprocessedAccount]
$sel:unprocessedAccounts:UpdateMemberDetectorsResponse' :: UpdateMemberDetectorsResponse -> [UnprocessedAccount]
unprocessedAccounts} -> [UnprocessedAccount]
unprocessedAccounts) (\s :: UpdateMemberDetectorsResponse
s@UpdateMemberDetectorsResponse' {} [UnprocessedAccount]
a -> UpdateMemberDetectorsResponse
s {$sel:unprocessedAccounts:UpdateMemberDetectorsResponse' :: [UnprocessedAccount]
unprocessedAccounts = [UnprocessedAccount]
a} :: UpdateMemberDetectorsResponse) (([UnprocessedAccount] -> f [UnprocessedAccount])
-> UpdateMemberDetectorsResponse
-> f UpdateMemberDetectorsResponse)
-> (([UnprocessedAccount] -> f [UnprocessedAccount])
-> [UnprocessedAccount] -> f [UnprocessedAccount])
-> ([UnprocessedAccount] -> f [UnprocessedAccount])
-> UpdateMemberDetectorsResponse
-> f UpdateMemberDetectorsResponse
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. ([UnprocessedAccount] -> f [UnprocessedAccount])
-> [UnprocessedAccount] -> f [UnprocessedAccount]
forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced
instance Prelude.NFData UpdateMemberDetectorsResponse