{-# 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.ComprehendMedical.ListICD10CMInferenceJobs
(
ListICD10CMInferenceJobs (..),
newListICD10CMInferenceJobs,
listICD10CMInferenceJobs_nextToken,
listICD10CMInferenceJobs_filter,
listICD10CMInferenceJobs_maxResults,
ListICD10CMInferenceJobsResponse (..),
newListICD10CMInferenceJobsResponse,
listICD10CMInferenceJobsResponse_nextToken,
listICD10CMInferenceJobsResponse_comprehendMedicalAsyncJobPropertiesList,
listICD10CMInferenceJobsResponse_httpStatus,
)
where
import Amazonka.ComprehendMedical.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 ListICD10CMInferenceJobs = ListICD10CMInferenceJobs'
{
ListICD10CMInferenceJobs -> Maybe Text
nextToken :: Prelude.Maybe Prelude.Text,
ListICD10CMInferenceJobs -> Maybe ComprehendMedicalAsyncJobFilter
filter' :: Prelude.Maybe ComprehendMedicalAsyncJobFilter,
ListICD10CMInferenceJobs -> Maybe Natural
maxResults :: Prelude.Maybe Prelude.Natural
}
deriving (ListICD10CMInferenceJobs -> ListICD10CMInferenceJobs -> Bool
(ListICD10CMInferenceJobs -> ListICD10CMInferenceJobs -> Bool)
-> (ListICD10CMInferenceJobs -> ListICD10CMInferenceJobs -> Bool)
-> Eq ListICD10CMInferenceJobs
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: ListICD10CMInferenceJobs -> ListICD10CMInferenceJobs -> Bool
$c/= :: ListICD10CMInferenceJobs -> ListICD10CMInferenceJobs -> Bool
== :: ListICD10CMInferenceJobs -> ListICD10CMInferenceJobs -> Bool
$c== :: ListICD10CMInferenceJobs -> ListICD10CMInferenceJobs -> Bool
Prelude.Eq, ReadPrec [ListICD10CMInferenceJobs]
ReadPrec ListICD10CMInferenceJobs
Int -> ReadS ListICD10CMInferenceJobs
ReadS [ListICD10CMInferenceJobs]
(Int -> ReadS ListICD10CMInferenceJobs)
-> ReadS [ListICD10CMInferenceJobs]
-> ReadPrec ListICD10CMInferenceJobs
-> ReadPrec [ListICD10CMInferenceJobs]
-> Read ListICD10CMInferenceJobs
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [ListICD10CMInferenceJobs]
$creadListPrec :: ReadPrec [ListICD10CMInferenceJobs]
readPrec :: ReadPrec ListICD10CMInferenceJobs
$creadPrec :: ReadPrec ListICD10CMInferenceJobs
readList :: ReadS [ListICD10CMInferenceJobs]
$creadList :: ReadS [ListICD10CMInferenceJobs]
readsPrec :: Int -> ReadS ListICD10CMInferenceJobs
$creadsPrec :: Int -> ReadS ListICD10CMInferenceJobs
Prelude.Read, Int -> ListICD10CMInferenceJobs -> ShowS
[ListICD10CMInferenceJobs] -> ShowS
ListICD10CMInferenceJobs -> String
(Int -> ListICD10CMInferenceJobs -> ShowS)
-> (ListICD10CMInferenceJobs -> String)
-> ([ListICD10CMInferenceJobs] -> ShowS)
-> Show ListICD10CMInferenceJobs
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [ListICD10CMInferenceJobs] -> ShowS
$cshowList :: [ListICD10CMInferenceJobs] -> ShowS
show :: ListICD10CMInferenceJobs -> String
$cshow :: ListICD10CMInferenceJobs -> String
showsPrec :: Int -> ListICD10CMInferenceJobs -> ShowS
$cshowsPrec :: Int -> ListICD10CMInferenceJobs -> ShowS
Prelude.Show, (forall x.
ListICD10CMInferenceJobs -> Rep ListICD10CMInferenceJobs x)
-> (forall x.
Rep ListICD10CMInferenceJobs x -> ListICD10CMInferenceJobs)
-> Generic ListICD10CMInferenceJobs
forall x.
Rep ListICD10CMInferenceJobs x -> ListICD10CMInferenceJobs
forall x.
ListICD10CMInferenceJobs -> Rep ListICD10CMInferenceJobs x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep ListICD10CMInferenceJobs x -> ListICD10CMInferenceJobs
$cfrom :: forall x.
ListICD10CMInferenceJobs -> Rep ListICD10CMInferenceJobs x
Prelude.Generic)
newListICD10CMInferenceJobs ::
ListICD10CMInferenceJobs
newListICD10CMInferenceJobs :: ListICD10CMInferenceJobs
newListICD10CMInferenceJobs =
ListICD10CMInferenceJobs' :: Maybe Text
-> Maybe ComprehendMedicalAsyncJobFilter
-> Maybe Natural
-> ListICD10CMInferenceJobs
ListICD10CMInferenceJobs'
{ $sel:nextToken:ListICD10CMInferenceJobs' :: Maybe Text
nextToken =
Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:filter':ListICD10CMInferenceJobs' :: Maybe ComprehendMedicalAsyncJobFilter
filter' = Maybe ComprehendMedicalAsyncJobFilter
forall a. Maybe a
Prelude.Nothing,
$sel:maxResults:ListICD10CMInferenceJobs' :: Maybe Natural
maxResults = Maybe Natural
forall a. Maybe a
Prelude.Nothing
}
listICD10CMInferenceJobs_nextToken :: Lens.Lens' ListICD10CMInferenceJobs (Prelude.Maybe Prelude.Text)
listICD10CMInferenceJobs_nextToken :: (Maybe Text -> f (Maybe Text))
-> ListICD10CMInferenceJobs -> f ListICD10CMInferenceJobs
listICD10CMInferenceJobs_nextToken = (ListICD10CMInferenceJobs -> Maybe Text)
-> (ListICD10CMInferenceJobs
-> Maybe Text -> ListICD10CMInferenceJobs)
-> Lens
ListICD10CMInferenceJobs
ListICD10CMInferenceJobs
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListICD10CMInferenceJobs' {Maybe Text
nextToken :: Maybe Text
$sel:nextToken:ListICD10CMInferenceJobs' :: ListICD10CMInferenceJobs -> Maybe Text
nextToken} -> Maybe Text
nextToken) (\s :: ListICD10CMInferenceJobs
s@ListICD10CMInferenceJobs' {} Maybe Text
a -> ListICD10CMInferenceJobs
s {$sel:nextToken:ListICD10CMInferenceJobs' :: Maybe Text
nextToken = Maybe Text
a} :: ListICD10CMInferenceJobs)
listICD10CMInferenceJobs_filter :: Lens.Lens' ListICD10CMInferenceJobs (Prelude.Maybe ComprehendMedicalAsyncJobFilter)
listICD10CMInferenceJobs_filter :: (Maybe ComprehendMedicalAsyncJobFilter
-> f (Maybe ComprehendMedicalAsyncJobFilter))
-> ListICD10CMInferenceJobs -> f ListICD10CMInferenceJobs
listICD10CMInferenceJobs_filter = (ListICD10CMInferenceJobs -> Maybe ComprehendMedicalAsyncJobFilter)
-> (ListICD10CMInferenceJobs
-> Maybe ComprehendMedicalAsyncJobFilter
-> ListICD10CMInferenceJobs)
-> Lens
ListICD10CMInferenceJobs
ListICD10CMInferenceJobs
(Maybe ComprehendMedicalAsyncJobFilter)
(Maybe ComprehendMedicalAsyncJobFilter)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListICD10CMInferenceJobs' {Maybe ComprehendMedicalAsyncJobFilter
filter' :: Maybe ComprehendMedicalAsyncJobFilter
$sel:filter':ListICD10CMInferenceJobs' :: ListICD10CMInferenceJobs -> Maybe ComprehendMedicalAsyncJobFilter
filter'} -> Maybe ComprehendMedicalAsyncJobFilter
filter') (\s :: ListICD10CMInferenceJobs
s@ListICD10CMInferenceJobs' {} Maybe ComprehendMedicalAsyncJobFilter
a -> ListICD10CMInferenceJobs
s {$sel:filter':ListICD10CMInferenceJobs' :: Maybe ComprehendMedicalAsyncJobFilter
filter' = Maybe ComprehendMedicalAsyncJobFilter
a} :: ListICD10CMInferenceJobs)
listICD10CMInferenceJobs_maxResults :: Lens.Lens' ListICD10CMInferenceJobs (Prelude.Maybe Prelude.Natural)
listICD10CMInferenceJobs_maxResults :: (Maybe Natural -> f (Maybe Natural))
-> ListICD10CMInferenceJobs -> f ListICD10CMInferenceJobs
listICD10CMInferenceJobs_maxResults = (ListICD10CMInferenceJobs -> Maybe Natural)
-> (ListICD10CMInferenceJobs
-> Maybe Natural -> ListICD10CMInferenceJobs)
-> Lens
ListICD10CMInferenceJobs
ListICD10CMInferenceJobs
(Maybe Natural)
(Maybe Natural)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListICD10CMInferenceJobs' {Maybe Natural
maxResults :: Maybe Natural
$sel:maxResults:ListICD10CMInferenceJobs' :: ListICD10CMInferenceJobs -> Maybe Natural
maxResults} -> Maybe Natural
maxResults) (\s :: ListICD10CMInferenceJobs
s@ListICD10CMInferenceJobs' {} Maybe Natural
a -> ListICD10CMInferenceJobs
s {$sel:maxResults:ListICD10CMInferenceJobs' :: Maybe Natural
maxResults = Maybe Natural
a} :: ListICD10CMInferenceJobs)
instance Core.AWSRequest ListICD10CMInferenceJobs where
type
AWSResponse ListICD10CMInferenceJobs =
ListICD10CMInferenceJobsResponse
request :: ListICD10CMInferenceJobs -> Request ListICD10CMInferenceJobs
request = Service
-> ListICD10CMInferenceJobs -> Request ListICD10CMInferenceJobs
forall a. (ToRequest a, ToJSON a) => Service -> a -> Request a
Request.postJSON Service
defaultService
response :: Logger
-> Service
-> Proxy ListICD10CMInferenceJobs
-> ClientResponse ClientBody
-> m (Either
Error (ClientResponse (AWSResponse ListICD10CMInferenceJobs)))
response =
(Int
-> ResponseHeaders
-> Object
-> Either String (AWSResponse ListICD10CMInferenceJobs))
-> Logger
-> Service
-> Proxy ListICD10CMInferenceJobs
-> ClientResponse ClientBody
-> m (Either
Error (ClientResponse (AWSResponse ListICD10CMInferenceJobs)))
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 [ComprehendMedicalAsyncJobProperties]
-> Int
-> ListICD10CMInferenceJobsResponse
ListICD10CMInferenceJobsResponse'
(Maybe Text
-> Maybe [ComprehendMedicalAsyncJobProperties]
-> Int
-> ListICD10CMInferenceJobsResponse)
-> Either String (Maybe Text)
-> Either
String
(Maybe [ComprehendMedicalAsyncJobProperties]
-> Int -> ListICD10CMInferenceJobsResponse)
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 [ComprehendMedicalAsyncJobProperties]
-> Int -> ListICD10CMInferenceJobsResponse)
-> Either String (Maybe [ComprehendMedicalAsyncJobProperties])
-> Either String (Int -> ListICD10CMInferenceJobsResponse)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> ( Object
x Object
-> Text
-> Either
String (Maybe (Maybe [ComprehendMedicalAsyncJobProperties]))
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"ComprehendMedicalAsyncJobPropertiesList"
Either String (Maybe (Maybe [ComprehendMedicalAsyncJobProperties]))
-> Maybe [ComprehendMedicalAsyncJobProperties]
-> Either String (Maybe [ComprehendMedicalAsyncJobProperties])
forall (f :: * -> *) a. Functor f => f (Maybe a) -> a -> f a
Core..!@ Maybe [ComprehendMedicalAsyncJobProperties]
forall a. Monoid a => a
Prelude.mempty
)
Either String (Int -> ListICD10CMInferenceJobsResponse)
-> Either String Int
-> Either String ListICD10CMInferenceJobsResponse
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 ListICD10CMInferenceJobs
instance Prelude.NFData ListICD10CMInferenceJobs
instance Core.ToHeaders ListICD10CMInferenceJobs where
toHeaders :: ListICD10CMInferenceJobs -> ResponseHeaders
toHeaders =
ResponseHeaders -> ListICD10CMInferenceJobs -> 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
"ComprehendMedical_20181030.ListICD10CMInferenceJobs" ::
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 ListICD10CMInferenceJobs where
toJSON :: ListICD10CMInferenceJobs -> Value
toJSON ListICD10CMInferenceJobs' {Maybe Natural
Maybe Text
Maybe ComprehendMedicalAsyncJobFilter
maxResults :: Maybe Natural
filter' :: Maybe ComprehendMedicalAsyncJobFilter
nextToken :: Maybe Text
$sel:maxResults:ListICD10CMInferenceJobs' :: ListICD10CMInferenceJobs -> Maybe Natural
$sel:filter':ListICD10CMInferenceJobs' :: ListICD10CMInferenceJobs -> Maybe ComprehendMedicalAsyncJobFilter
$sel:nextToken:ListICD10CMInferenceJobs' :: ListICD10CMInferenceJobs -> 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
"Filter" Text -> ComprehendMedicalAsyncJobFilter -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..=) (ComprehendMedicalAsyncJobFilter -> Pair)
-> Maybe ComprehendMedicalAsyncJobFilter -> Maybe Pair
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe ComprehendMedicalAsyncJobFilter
filter',
(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 ListICD10CMInferenceJobs where
toPath :: ListICD10CMInferenceJobs -> ByteString
toPath = ByteString -> ListICD10CMInferenceJobs -> ByteString
forall a b. a -> b -> a
Prelude.const ByteString
"/"
instance Core.ToQuery ListICD10CMInferenceJobs where
toQuery :: ListICD10CMInferenceJobs -> QueryString
toQuery = QueryString -> ListICD10CMInferenceJobs -> QueryString
forall a b. a -> b -> a
Prelude.const QueryString
forall a. Monoid a => a
Prelude.mempty
data ListICD10CMInferenceJobsResponse = ListICD10CMInferenceJobsResponse'
{
ListICD10CMInferenceJobsResponse -> Maybe Text
nextToken :: Prelude.Maybe Prelude.Text,
ListICD10CMInferenceJobsResponse
-> Maybe [ComprehendMedicalAsyncJobProperties]
comprehendMedicalAsyncJobPropertiesList :: Prelude.Maybe [ComprehendMedicalAsyncJobProperties],
ListICD10CMInferenceJobsResponse -> Int
httpStatus :: Prelude.Int
}
deriving (ListICD10CMInferenceJobsResponse
-> ListICD10CMInferenceJobsResponse -> Bool
(ListICD10CMInferenceJobsResponse
-> ListICD10CMInferenceJobsResponse -> Bool)
-> (ListICD10CMInferenceJobsResponse
-> ListICD10CMInferenceJobsResponse -> Bool)
-> Eq ListICD10CMInferenceJobsResponse
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: ListICD10CMInferenceJobsResponse
-> ListICD10CMInferenceJobsResponse -> Bool
$c/= :: ListICD10CMInferenceJobsResponse
-> ListICD10CMInferenceJobsResponse -> Bool
== :: ListICD10CMInferenceJobsResponse
-> ListICD10CMInferenceJobsResponse -> Bool
$c== :: ListICD10CMInferenceJobsResponse
-> ListICD10CMInferenceJobsResponse -> Bool
Prelude.Eq, ReadPrec [ListICD10CMInferenceJobsResponse]
ReadPrec ListICD10CMInferenceJobsResponse
Int -> ReadS ListICD10CMInferenceJobsResponse
ReadS [ListICD10CMInferenceJobsResponse]
(Int -> ReadS ListICD10CMInferenceJobsResponse)
-> ReadS [ListICD10CMInferenceJobsResponse]
-> ReadPrec ListICD10CMInferenceJobsResponse
-> ReadPrec [ListICD10CMInferenceJobsResponse]
-> Read ListICD10CMInferenceJobsResponse
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [ListICD10CMInferenceJobsResponse]
$creadListPrec :: ReadPrec [ListICD10CMInferenceJobsResponse]
readPrec :: ReadPrec ListICD10CMInferenceJobsResponse
$creadPrec :: ReadPrec ListICD10CMInferenceJobsResponse
readList :: ReadS [ListICD10CMInferenceJobsResponse]
$creadList :: ReadS [ListICD10CMInferenceJobsResponse]
readsPrec :: Int -> ReadS ListICD10CMInferenceJobsResponse
$creadsPrec :: Int -> ReadS ListICD10CMInferenceJobsResponse
Prelude.Read, Int -> ListICD10CMInferenceJobsResponse -> ShowS
[ListICD10CMInferenceJobsResponse] -> ShowS
ListICD10CMInferenceJobsResponse -> String
(Int -> ListICD10CMInferenceJobsResponse -> ShowS)
-> (ListICD10CMInferenceJobsResponse -> String)
-> ([ListICD10CMInferenceJobsResponse] -> ShowS)
-> Show ListICD10CMInferenceJobsResponse
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [ListICD10CMInferenceJobsResponse] -> ShowS
$cshowList :: [ListICD10CMInferenceJobsResponse] -> ShowS
show :: ListICD10CMInferenceJobsResponse -> String
$cshow :: ListICD10CMInferenceJobsResponse -> String
showsPrec :: Int -> ListICD10CMInferenceJobsResponse -> ShowS
$cshowsPrec :: Int -> ListICD10CMInferenceJobsResponse -> ShowS
Prelude.Show, (forall x.
ListICD10CMInferenceJobsResponse
-> Rep ListICD10CMInferenceJobsResponse x)
-> (forall x.
Rep ListICD10CMInferenceJobsResponse x
-> ListICD10CMInferenceJobsResponse)
-> Generic ListICD10CMInferenceJobsResponse
forall x.
Rep ListICD10CMInferenceJobsResponse x
-> ListICD10CMInferenceJobsResponse
forall x.
ListICD10CMInferenceJobsResponse
-> Rep ListICD10CMInferenceJobsResponse x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep ListICD10CMInferenceJobsResponse x
-> ListICD10CMInferenceJobsResponse
$cfrom :: forall x.
ListICD10CMInferenceJobsResponse
-> Rep ListICD10CMInferenceJobsResponse x
Prelude.Generic)
newListICD10CMInferenceJobsResponse ::
Prelude.Int ->
ListICD10CMInferenceJobsResponse
newListICD10CMInferenceJobsResponse :: Int -> ListICD10CMInferenceJobsResponse
newListICD10CMInferenceJobsResponse Int
pHttpStatus_ =
ListICD10CMInferenceJobsResponse' :: Maybe Text
-> Maybe [ComprehendMedicalAsyncJobProperties]
-> Int
-> ListICD10CMInferenceJobsResponse
ListICD10CMInferenceJobsResponse'
{ $sel:nextToken:ListICD10CMInferenceJobsResponse' :: Maybe Text
nextToken =
Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:comprehendMedicalAsyncJobPropertiesList:ListICD10CMInferenceJobsResponse' :: Maybe [ComprehendMedicalAsyncJobProperties]
comprehendMedicalAsyncJobPropertiesList =
Maybe [ComprehendMedicalAsyncJobProperties]
forall a. Maybe a
Prelude.Nothing,
$sel:httpStatus:ListICD10CMInferenceJobsResponse' :: Int
httpStatus = Int
pHttpStatus_
}
listICD10CMInferenceJobsResponse_nextToken :: Lens.Lens' ListICD10CMInferenceJobsResponse (Prelude.Maybe Prelude.Text)
listICD10CMInferenceJobsResponse_nextToken :: (Maybe Text -> f (Maybe Text))
-> ListICD10CMInferenceJobsResponse
-> f ListICD10CMInferenceJobsResponse
listICD10CMInferenceJobsResponse_nextToken = (ListICD10CMInferenceJobsResponse -> Maybe Text)
-> (ListICD10CMInferenceJobsResponse
-> Maybe Text -> ListICD10CMInferenceJobsResponse)
-> Lens
ListICD10CMInferenceJobsResponse
ListICD10CMInferenceJobsResponse
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListICD10CMInferenceJobsResponse' {Maybe Text
nextToken :: Maybe Text
$sel:nextToken:ListICD10CMInferenceJobsResponse' :: ListICD10CMInferenceJobsResponse -> Maybe Text
nextToken} -> Maybe Text
nextToken) (\s :: ListICD10CMInferenceJobsResponse
s@ListICD10CMInferenceJobsResponse' {} Maybe Text
a -> ListICD10CMInferenceJobsResponse
s {$sel:nextToken:ListICD10CMInferenceJobsResponse' :: Maybe Text
nextToken = Maybe Text
a} :: ListICD10CMInferenceJobsResponse)
listICD10CMInferenceJobsResponse_comprehendMedicalAsyncJobPropertiesList :: Lens.Lens' ListICD10CMInferenceJobsResponse (Prelude.Maybe [ComprehendMedicalAsyncJobProperties])
listICD10CMInferenceJobsResponse_comprehendMedicalAsyncJobPropertiesList :: (Maybe [ComprehendMedicalAsyncJobProperties]
-> f (Maybe [ComprehendMedicalAsyncJobProperties]))
-> ListICD10CMInferenceJobsResponse
-> f ListICD10CMInferenceJobsResponse
listICD10CMInferenceJobsResponse_comprehendMedicalAsyncJobPropertiesList = (ListICD10CMInferenceJobsResponse
-> Maybe [ComprehendMedicalAsyncJobProperties])
-> (ListICD10CMInferenceJobsResponse
-> Maybe [ComprehendMedicalAsyncJobProperties]
-> ListICD10CMInferenceJobsResponse)
-> Lens
ListICD10CMInferenceJobsResponse
ListICD10CMInferenceJobsResponse
(Maybe [ComprehendMedicalAsyncJobProperties])
(Maybe [ComprehendMedicalAsyncJobProperties])
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListICD10CMInferenceJobsResponse' {Maybe [ComprehendMedicalAsyncJobProperties]
comprehendMedicalAsyncJobPropertiesList :: Maybe [ComprehendMedicalAsyncJobProperties]
$sel:comprehendMedicalAsyncJobPropertiesList:ListICD10CMInferenceJobsResponse' :: ListICD10CMInferenceJobsResponse
-> Maybe [ComprehendMedicalAsyncJobProperties]
comprehendMedicalAsyncJobPropertiesList} -> Maybe [ComprehendMedicalAsyncJobProperties]
comprehendMedicalAsyncJobPropertiesList) (\s :: ListICD10CMInferenceJobsResponse
s@ListICD10CMInferenceJobsResponse' {} Maybe [ComprehendMedicalAsyncJobProperties]
a -> ListICD10CMInferenceJobsResponse
s {$sel:comprehendMedicalAsyncJobPropertiesList:ListICD10CMInferenceJobsResponse' :: Maybe [ComprehendMedicalAsyncJobProperties]
comprehendMedicalAsyncJobPropertiesList = Maybe [ComprehendMedicalAsyncJobProperties]
a} :: ListICD10CMInferenceJobsResponse) ((Maybe [ComprehendMedicalAsyncJobProperties]
-> f (Maybe [ComprehendMedicalAsyncJobProperties]))
-> ListICD10CMInferenceJobsResponse
-> f ListICD10CMInferenceJobsResponse)
-> ((Maybe [ComprehendMedicalAsyncJobProperties]
-> f (Maybe [ComprehendMedicalAsyncJobProperties]))
-> Maybe [ComprehendMedicalAsyncJobProperties]
-> f (Maybe [ComprehendMedicalAsyncJobProperties]))
-> (Maybe [ComprehendMedicalAsyncJobProperties]
-> f (Maybe [ComprehendMedicalAsyncJobProperties]))
-> ListICD10CMInferenceJobsResponse
-> f ListICD10CMInferenceJobsResponse
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. AnIso
[ComprehendMedicalAsyncJobProperties]
[ComprehendMedicalAsyncJobProperties]
[ComprehendMedicalAsyncJobProperties]
[ComprehendMedicalAsyncJobProperties]
-> Iso
(Maybe [ComprehendMedicalAsyncJobProperties])
(Maybe [ComprehendMedicalAsyncJobProperties])
(Maybe [ComprehendMedicalAsyncJobProperties])
(Maybe [ComprehendMedicalAsyncJobProperties])
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
[ComprehendMedicalAsyncJobProperties]
[ComprehendMedicalAsyncJobProperties]
[ComprehendMedicalAsyncJobProperties]
[ComprehendMedicalAsyncJobProperties]
forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced
listICD10CMInferenceJobsResponse_httpStatus :: Lens.Lens' ListICD10CMInferenceJobsResponse Prelude.Int
listICD10CMInferenceJobsResponse_httpStatus :: (Int -> f Int)
-> ListICD10CMInferenceJobsResponse
-> f ListICD10CMInferenceJobsResponse
listICD10CMInferenceJobsResponse_httpStatus = (ListICD10CMInferenceJobsResponse -> Int)
-> (ListICD10CMInferenceJobsResponse
-> Int -> ListICD10CMInferenceJobsResponse)
-> Lens
ListICD10CMInferenceJobsResponse
ListICD10CMInferenceJobsResponse
Int
Int
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListICD10CMInferenceJobsResponse' {Int
httpStatus :: Int
$sel:httpStatus:ListICD10CMInferenceJobsResponse' :: ListICD10CMInferenceJobsResponse -> Int
httpStatus} -> Int
httpStatus) (\s :: ListICD10CMInferenceJobsResponse
s@ListICD10CMInferenceJobsResponse' {} Int
a -> ListICD10CMInferenceJobsResponse
s {$sel:httpStatus:ListICD10CMInferenceJobsResponse' :: Int
httpStatus = Int
a} :: ListICD10CMInferenceJobsResponse)
instance
Prelude.NFData
ListICD10CMInferenceJobsResponse