{-# 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.Comprehend.ListEntityRecognizerSummaries
(
ListEntityRecognizerSummaries (..),
newListEntityRecognizerSummaries,
listEntityRecognizerSummaries_nextToken,
listEntityRecognizerSummaries_maxResults,
ListEntityRecognizerSummariesResponse (..),
newListEntityRecognizerSummariesResponse,
listEntityRecognizerSummariesResponse_nextToken,
listEntityRecognizerSummariesResponse_entityRecognizerSummariesList,
listEntityRecognizerSummariesResponse_httpStatus,
)
where
import Amazonka.Comprehend.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 ListEntityRecognizerSummaries = ListEntityRecognizerSummaries'
{
ListEntityRecognizerSummaries -> Maybe Text
nextToken :: Prelude.Maybe Prelude.Text,
ListEntityRecognizerSummaries -> Maybe Natural
maxResults :: Prelude.Maybe Prelude.Natural
}
deriving (ListEntityRecognizerSummaries
-> ListEntityRecognizerSummaries -> Bool
(ListEntityRecognizerSummaries
-> ListEntityRecognizerSummaries -> Bool)
-> (ListEntityRecognizerSummaries
-> ListEntityRecognizerSummaries -> Bool)
-> Eq ListEntityRecognizerSummaries
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: ListEntityRecognizerSummaries
-> ListEntityRecognizerSummaries -> Bool
$c/= :: ListEntityRecognizerSummaries
-> ListEntityRecognizerSummaries -> Bool
== :: ListEntityRecognizerSummaries
-> ListEntityRecognizerSummaries -> Bool
$c== :: ListEntityRecognizerSummaries
-> ListEntityRecognizerSummaries -> Bool
Prelude.Eq, ReadPrec [ListEntityRecognizerSummaries]
ReadPrec ListEntityRecognizerSummaries
Int -> ReadS ListEntityRecognizerSummaries
ReadS [ListEntityRecognizerSummaries]
(Int -> ReadS ListEntityRecognizerSummaries)
-> ReadS [ListEntityRecognizerSummaries]
-> ReadPrec ListEntityRecognizerSummaries
-> ReadPrec [ListEntityRecognizerSummaries]
-> Read ListEntityRecognizerSummaries
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [ListEntityRecognizerSummaries]
$creadListPrec :: ReadPrec [ListEntityRecognizerSummaries]
readPrec :: ReadPrec ListEntityRecognizerSummaries
$creadPrec :: ReadPrec ListEntityRecognizerSummaries
readList :: ReadS [ListEntityRecognizerSummaries]
$creadList :: ReadS [ListEntityRecognizerSummaries]
readsPrec :: Int -> ReadS ListEntityRecognizerSummaries
$creadsPrec :: Int -> ReadS ListEntityRecognizerSummaries
Prelude.Read, Int -> ListEntityRecognizerSummaries -> ShowS
[ListEntityRecognizerSummaries] -> ShowS
ListEntityRecognizerSummaries -> String
(Int -> ListEntityRecognizerSummaries -> ShowS)
-> (ListEntityRecognizerSummaries -> String)
-> ([ListEntityRecognizerSummaries] -> ShowS)
-> Show ListEntityRecognizerSummaries
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [ListEntityRecognizerSummaries] -> ShowS
$cshowList :: [ListEntityRecognizerSummaries] -> ShowS
show :: ListEntityRecognizerSummaries -> String
$cshow :: ListEntityRecognizerSummaries -> String
showsPrec :: Int -> ListEntityRecognizerSummaries -> ShowS
$cshowsPrec :: Int -> ListEntityRecognizerSummaries -> ShowS
Prelude.Show, (forall x.
ListEntityRecognizerSummaries
-> Rep ListEntityRecognizerSummaries x)
-> (forall x.
Rep ListEntityRecognizerSummaries x
-> ListEntityRecognizerSummaries)
-> Generic ListEntityRecognizerSummaries
forall x.
Rep ListEntityRecognizerSummaries x
-> ListEntityRecognizerSummaries
forall x.
ListEntityRecognizerSummaries
-> Rep ListEntityRecognizerSummaries x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep ListEntityRecognizerSummaries x
-> ListEntityRecognizerSummaries
$cfrom :: forall x.
ListEntityRecognizerSummaries
-> Rep ListEntityRecognizerSummaries x
Prelude.Generic)
newListEntityRecognizerSummaries ::
ListEntityRecognizerSummaries
newListEntityRecognizerSummaries :: ListEntityRecognizerSummaries
newListEntityRecognizerSummaries =
ListEntityRecognizerSummaries' :: Maybe Text -> Maybe Natural -> ListEntityRecognizerSummaries
ListEntityRecognizerSummaries'
{ $sel:nextToken:ListEntityRecognizerSummaries' :: Maybe Text
nextToken =
Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:maxResults:ListEntityRecognizerSummaries' :: Maybe Natural
maxResults = Maybe Natural
forall a. Maybe a
Prelude.Nothing
}
listEntityRecognizerSummaries_nextToken :: Lens.Lens' ListEntityRecognizerSummaries (Prelude.Maybe Prelude.Text)
listEntityRecognizerSummaries_nextToken :: (Maybe Text -> f (Maybe Text))
-> ListEntityRecognizerSummaries -> f ListEntityRecognizerSummaries
listEntityRecognizerSummaries_nextToken = (ListEntityRecognizerSummaries -> Maybe Text)
-> (ListEntityRecognizerSummaries
-> Maybe Text -> ListEntityRecognizerSummaries)
-> Lens
ListEntityRecognizerSummaries
ListEntityRecognizerSummaries
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListEntityRecognizerSummaries' {Maybe Text
nextToken :: Maybe Text
$sel:nextToken:ListEntityRecognizerSummaries' :: ListEntityRecognizerSummaries -> Maybe Text
nextToken} -> Maybe Text
nextToken) (\s :: ListEntityRecognizerSummaries
s@ListEntityRecognizerSummaries' {} Maybe Text
a -> ListEntityRecognizerSummaries
s {$sel:nextToken:ListEntityRecognizerSummaries' :: Maybe Text
nextToken = Maybe Text
a} :: ListEntityRecognizerSummaries)
listEntityRecognizerSummaries_maxResults :: Lens.Lens' ListEntityRecognizerSummaries (Prelude.Maybe Prelude.Natural)
listEntityRecognizerSummaries_maxResults :: (Maybe Natural -> f (Maybe Natural))
-> ListEntityRecognizerSummaries -> f ListEntityRecognizerSummaries
listEntityRecognizerSummaries_maxResults = (ListEntityRecognizerSummaries -> Maybe Natural)
-> (ListEntityRecognizerSummaries
-> Maybe Natural -> ListEntityRecognizerSummaries)
-> Lens
ListEntityRecognizerSummaries
ListEntityRecognizerSummaries
(Maybe Natural)
(Maybe Natural)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListEntityRecognizerSummaries' {Maybe Natural
maxResults :: Maybe Natural
$sel:maxResults:ListEntityRecognizerSummaries' :: ListEntityRecognizerSummaries -> Maybe Natural
maxResults} -> Maybe Natural
maxResults) (\s :: ListEntityRecognizerSummaries
s@ListEntityRecognizerSummaries' {} Maybe Natural
a -> ListEntityRecognizerSummaries
s {$sel:maxResults:ListEntityRecognizerSummaries' :: Maybe Natural
maxResults = Maybe Natural
a} :: ListEntityRecognizerSummaries)
instance
Core.AWSRequest
ListEntityRecognizerSummaries
where
type
AWSResponse ListEntityRecognizerSummaries =
ListEntityRecognizerSummariesResponse
request :: ListEntityRecognizerSummaries
-> Request ListEntityRecognizerSummaries
request = Service
-> ListEntityRecognizerSummaries
-> Request ListEntityRecognizerSummaries
forall a. (ToRequest a, ToJSON a) => Service -> a -> Request a
Request.postJSON Service
defaultService
response :: Logger
-> Service
-> Proxy ListEntityRecognizerSummaries
-> ClientResponse ClientBody
-> m (Either
Error (ClientResponse (AWSResponse ListEntityRecognizerSummaries)))
response =
(Int
-> ResponseHeaders
-> Object
-> Either String (AWSResponse ListEntityRecognizerSummaries))
-> Logger
-> Service
-> Proxy ListEntityRecognizerSummaries
-> ClientResponse ClientBody
-> m (Either
Error (ClientResponse (AWSResponse ListEntityRecognizerSummaries)))
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 [EntityRecognizerSummary]
-> Int
-> ListEntityRecognizerSummariesResponse
ListEntityRecognizerSummariesResponse'
(Maybe Text
-> Maybe [EntityRecognizerSummary]
-> Int
-> ListEntityRecognizerSummariesResponse)
-> Either String (Maybe Text)
-> Either
String
(Maybe [EntityRecognizerSummary]
-> Int -> ListEntityRecognizerSummariesResponse)
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
"NextToken")
Either
String
(Maybe [EntityRecognizerSummary]
-> Int -> ListEntityRecognizerSummariesResponse)
-> Either String (Maybe [EntityRecognizerSummary])
-> Either String (Int -> ListEntityRecognizerSummariesResponse)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> ( Object
x Object
-> Text -> Either String (Maybe (Maybe [EntityRecognizerSummary]))
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"EntityRecognizerSummariesList"
Either String (Maybe (Maybe [EntityRecognizerSummary]))
-> Maybe [EntityRecognizerSummary]
-> Either String (Maybe [EntityRecognizerSummary])
forall (f :: * -> *) a. Functor f => f (Maybe a) -> a -> f a
Core..!@ Maybe [EntityRecognizerSummary]
forall a. Monoid a => a
Prelude.mempty
)
Either String (Int -> ListEntityRecognizerSummariesResponse)
-> Either String Int
-> Either String ListEntityRecognizerSummariesResponse
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
ListEntityRecognizerSummaries
instance Prelude.NFData ListEntityRecognizerSummaries
instance Core.ToHeaders ListEntityRecognizerSummaries where
toHeaders :: ListEntityRecognizerSummaries -> ResponseHeaders
toHeaders =
ResponseHeaders -> ListEntityRecognizerSummaries -> ResponseHeaders
forall a b. a -> b -> a
Prelude.const
( [ResponseHeaders] -> ResponseHeaders
forall a. Monoid a => [a] -> a
Prelude.mconcat
[ HeaderName
"X-Amz-Target"
HeaderName -> ByteString -> ResponseHeaders
forall a. ToHeader a => HeaderName -> a -> ResponseHeaders
Core.=# ( ByteString
"Comprehend_20171127.ListEntityRecognizerSummaries" ::
Prelude.ByteString
),
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 ListEntityRecognizerSummaries where
toJSON :: ListEntityRecognizerSummaries -> Value
toJSON ListEntityRecognizerSummaries' {Maybe Natural
Maybe Text
maxResults :: Maybe Natural
nextToken :: Maybe Text
$sel:maxResults:ListEntityRecognizerSummaries' :: ListEntityRecognizerSummaries -> Maybe Natural
$sel:nextToken:ListEntityRecognizerSummaries' :: ListEntityRecognizerSummaries -> Maybe Text
..} =
[Pair] -> Value
Core.object
( [Maybe Pair] -> [Pair]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
[ (Text
"NextToken" Text -> Text -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..=) (Text -> Pair) -> Maybe Text -> Maybe Pair
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe Text
nextToken,
(Text
"MaxResults" Text -> Natural -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..=) (Natural -> Pair) -> Maybe Natural -> Maybe Pair
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe Natural
maxResults
]
)
instance Core.ToPath ListEntityRecognizerSummaries where
toPath :: ListEntityRecognizerSummaries -> ByteString
toPath = ByteString -> ListEntityRecognizerSummaries -> ByteString
forall a b. a -> b -> a
Prelude.const ByteString
"/"
instance Core.ToQuery ListEntityRecognizerSummaries where
toQuery :: ListEntityRecognizerSummaries -> QueryString
toQuery = QueryString -> ListEntityRecognizerSummaries -> QueryString
forall a b. a -> b -> a
Prelude.const QueryString
forall a. Monoid a => a
Prelude.mempty
data ListEntityRecognizerSummariesResponse = ListEntityRecognizerSummariesResponse'
{
ListEntityRecognizerSummariesResponse -> Maybe Text
nextToken :: Prelude.Maybe Prelude.Text,
ListEntityRecognizerSummariesResponse
-> Maybe [EntityRecognizerSummary]
entityRecognizerSummariesList :: Prelude.Maybe [EntityRecognizerSummary],
ListEntityRecognizerSummariesResponse -> Int
httpStatus :: Prelude.Int
}
deriving (ListEntityRecognizerSummariesResponse
-> ListEntityRecognizerSummariesResponse -> Bool
(ListEntityRecognizerSummariesResponse
-> ListEntityRecognizerSummariesResponse -> Bool)
-> (ListEntityRecognizerSummariesResponse
-> ListEntityRecognizerSummariesResponse -> Bool)
-> Eq ListEntityRecognizerSummariesResponse
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: ListEntityRecognizerSummariesResponse
-> ListEntityRecognizerSummariesResponse -> Bool
$c/= :: ListEntityRecognizerSummariesResponse
-> ListEntityRecognizerSummariesResponse -> Bool
== :: ListEntityRecognizerSummariesResponse
-> ListEntityRecognizerSummariesResponse -> Bool
$c== :: ListEntityRecognizerSummariesResponse
-> ListEntityRecognizerSummariesResponse -> Bool
Prelude.Eq, ReadPrec [ListEntityRecognizerSummariesResponse]
ReadPrec ListEntityRecognizerSummariesResponse
Int -> ReadS ListEntityRecognizerSummariesResponse
ReadS [ListEntityRecognizerSummariesResponse]
(Int -> ReadS ListEntityRecognizerSummariesResponse)
-> ReadS [ListEntityRecognizerSummariesResponse]
-> ReadPrec ListEntityRecognizerSummariesResponse
-> ReadPrec [ListEntityRecognizerSummariesResponse]
-> Read ListEntityRecognizerSummariesResponse
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [ListEntityRecognizerSummariesResponse]
$creadListPrec :: ReadPrec [ListEntityRecognizerSummariesResponse]
readPrec :: ReadPrec ListEntityRecognizerSummariesResponse
$creadPrec :: ReadPrec ListEntityRecognizerSummariesResponse
readList :: ReadS [ListEntityRecognizerSummariesResponse]
$creadList :: ReadS [ListEntityRecognizerSummariesResponse]
readsPrec :: Int -> ReadS ListEntityRecognizerSummariesResponse
$creadsPrec :: Int -> ReadS ListEntityRecognizerSummariesResponse
Prelude.Read, Int -> ListEntityRecognizerSummariesResponse -> ShowS
[ListEntityRecognizerSummariesResponse] -> ShowS
ListEntityRecognizerSummariesResponse -> String
(Int -> ListEntityRecognizerSummariesResponse -> ShowS)
-> (ListEntityRecognizerSummariesResponse -> String)
-> ([ListEntityRecognizerSummariesResponse] -> ShowS)
-> Show ListEntityRecognizerSummariesResponse
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [ListEntityRecognizerSummariesResponse] -> ShowS
$cshowList :: [ListEntityRecognizerSummariesResponse] -> ShowS
show :: ListEntityRecognizerSummariesResponse -> String
$cshow :: ListEntityRecognizerSummariesResponse -> String
showsPrec :: Int -> ListEntityRecognizerSummariesResponse -> ShowS
$cshowsPrec :: Int -> ListEntityRecognizerSummariesResponse -> ShowS
Prelude.Show, (forall x.
ListEntityRecognizerSummariesResponse
-> Rep ListEntityRecognizerSummariesResponse x)
-> (forall x.
Rep ListEntityRecognizerSummariesResponse x
-> ListEntityRecognizerSummariesResponse)
-> Generic ListEntityRecognizerSummariesResponse
forall x.
Rep ListEntityRecognizerSummariesResponse x
-> ListEntityRecognizerSummariesResponse
forall x.
ListEntityRecognizerSummariesResponse
-> Rep ListEntityRecognizerSummariesResponse x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep ListEntityRecognizerSummariesResponse x
-> ListEntityRecognizerSummariesResponse
$cfrom :: forall x.
ListEntityRecognizerSummariesResponse
-> Rep ListEntityRecognizerSummariesResponse x
Prelude.Generic)
newListEntityRecognizerSummariesResponse ::
Prelude.Int ->
ListEntityRecognizerSummariesResponse
newListEntityRecognizerSummariesResponse :: Int -> ListEntityRecognizerSummariesResponse
newListEntityRecognizerSummariesResponse Int
pHttpStatus_ =
ListEntityRecognizerSummariesResponse' :: Maybe Text
-> Maybe [EntityRecognizerSummary]
-> Int
-> ListEntityRecognizerSummariesResponse
ListEntityRecognizerSummariesResponse'
{ $sel:nextToken:ListEntityRecognizerSummariesResponse' :: Maybe Text
nextToken =
Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:entityRecognizerSummariesList:ListEntityRecognizerSummariesResponse' :: Maybe [EntityRecognizerSummary]
entityRecognizerSummariesList =
Maybe [EntityRecognizerSummary]
forall a. Maybe a
Prelude.Nothing,
$sel:httpStatus:ListEntityRecognizerSummariesResponse' :: Int
httpStatus = Int
pHttpStatus_
}
listEntityRecognizerSummariesResponse_nextToken :: Lens.Lens' ListEntityRecognizerSummariesResponse (Prelude.Maybe Prelude.Text)
listEntityRecognizerSummariesResponse_nextToken :: (Maybe Text -> f (Maybe Text))
-> ListEntityRecognizerSummariesResponse
-> f ListEntityRecognizerSummariesResponse
listEntityRecognizerSummariesResponse_nextToken = (ListEntityRecognizerSummariesResponse -> Maybe Text)
-> (ListEntityRecognizerSummariesResponse
-> Maybe Text -> ListEntityRecognizerSummariesResponse)
-> Lens
ListEntityRecognizerSummariesResponse
ListEntityRecognizerSummariesResponse
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListEntityRecognizerSummariesResponse' {Maybe Text
nextToken :: Maybe Text
$sel:nextToken:ListEntityRecognizerSummariesResponse' :: ListEntityRecognizerSummariesResponse -> Maybe Text
nextToken} -> Maybe Text
nextToken) (\s :: ListEntityRecognizerSummariesResponse
s@ListEntityRecognizerSummariesResponse' {} Maybe Text
a -> ListEntityRecognizerSummariesResponse
s {$sel:nextToken:ListEntityRecognizerSummariesResponse' :: Maybe Text
nextToken = Maybe Text
a} :: ListEntityRecognizerSummariesResponse)
listEntityRecognizerSummariesResponse_entityRecognizerSummariesList :: Lens.Lens' ListEntityRecognizerSummariesResponse (Prelude.Maybe [EntityRecognizerSummary])
listEntityRecognizerSummariesResponse_entityRecognizerSummariesList :: (Maybe [EntityRecognizerSummary]
-> f (Maybe [EntityRecognizerSummary]))
-> ListEntityRecognizerSummariesResponse
-> f ListEntityRecognizerSummariesResponse
listEntityRecognizerSummariesResponse_entityRecognizerSummariesList = (ListEntityRecognizerSummariesResponse
-> Maybe [EntityRecognizerSummary])
-> (ListEntityRecognizerSummariesResponse
-> Maybe [EntityRecognizerSummary]
-> ListEntityRecognizerSummariesResponse)
-> Lens
ListEntityRecognizerSummariesResponse
ListEntityRecognizerSummariesResponse
(Maybe [EntityRecognizerSummary])
(Maybe [EntityRecognizerSummary])
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListEntityRecognizerSummariesResponse' {Maybe [EntityRecognizerSummary]
entityRecognizerSummariesList :: Maybe [EntityRecognizerSummary]
$sel:entityRecognizerSummariesList:ListEntityRecognizerSummariesResponse' :: ListEntityRecognizerSummariesResponse
-> Maybe [EntityRecognizerSummary]
entityRecognizerSummariesList} -> Maybe [EntityRecognizerSummary]
entityRecognizerSummariesList) (\s :: ListEntityRecognizerSummariesResponse
s@ListEntityRecognizerSummariesResponse' {} Maybe [EntityRecognizerSummary]
a -> ListEntityRecognizerSummariesResponse
s {$sel:entityRecognizerSummariesList:ListEntityRecognizerSummariesResponse' :: Maybe [EntityRecognizerSummary]
entityRecognizerSummariesList = Maybe [EntityRecognizerSummary]
a} :: ListEntityRecognizerSummariesResponse) ((Maybe [EntityRecognizerSummary]
-> f (Maybe [EntityRecognizerSummary]))
-> ListEntityRecognizerSummariesResponse
-> f ListEntityRecognizerSummariesResponse)
-> ((Maybe [EntityRecognizerSummary]
-> f (Maybe [EntityRecognizerSummary]))
-> Maybe [EntityRecognizerSummary]
-> f (Maybe [EntityRecognizerSummary]))
-> (Maybe [EntityRecognizerSummary]
-> f (Maybe [EntityRecognizerSummary]))
-> ListEntityRecognizerSummariesResponse
-> f ListEntityRecognizerSummariesResponse
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. AnIso
[EntityRecognizerSummary]
[EntityRecognizerSummary]
[EntityRecognizerSummary]
[EntityRecognizerSummary]
-> Iso
(Maybe [EntityRecognizerSummary])
(Maybe [EntityRecognizerSummary])
(Maybe [EntityRecognizerSummary])
(Maybe [EntityRecognizerSummary])
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
[EntityRecognizerSummary]
[EntityRecognizerSummary]
[EntityRecognizerSummary]
[EntityRecognizerSummary]
forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced
listEntityRecognizerSummariesResponse_httpStatus :: Lens.Lens' ListEntityRecognizerSummariesResponse Prelude.Int
listEntityRecognizerSummariesResponse_httpStatus :: (Int -> f Int)
-> ListEntityRecognizerSummariesResponse
-> f ListEntityRecognizerSummariesResponse
listEntityRecognizerSummariesResponse_httpStatus = (ListEntityRecognizerSummariesResponse -> Int)
-> (ListEntityRecognizerSummariesResponse
-> Int -> ListEntityRecognizerSummariesResponse)
-> Lens
ListEntityRecognizerSummariesResponse
ListEntityRecognizerSummariesResponse
Int
Int
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListEntityRecognizerSummariesResponse' {Int
httpStatus :: Int
$sel:httpStatus:ListEntityRecognizerSummariesResponse' :: ListEntityRecognizerSummariesResponse -> Int
httpStatus} -> Int
httpStatus) (\s :: ListEntityRecognizerSummariesResponse
s@ListEntityRecognizerSummariesResponse' {} Int
a -> ListEntityRecognizerSummariesResponse
s {$sel:httpStatus:ListEntityRecognizerSummariesResponse' :: Int
httpStatus = Int
a} :: ListEntityRecognizerSummariesResponse)
instance
Prelude.NFData
ListEntityRecognizerSummariesResponse