{-# 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.VoiceId.ListFraudsterRegistrationJobs
(
ListFraudsterRegistrationJobs (..),
newListFraudsterRegistrationJobs,
listFraudsterRegistrationJobs_nextToken,
listFraudsterRegistrationJobs_jobStatus,
listFraudsterRegistrationJobs_maxResults,
listFraudsterRegistrationJobs_domainId,
ListFraudsterRegistrationJobsResponse (..),
newListFraudsterRegistrationJobsResponse,
listFraudsterRegistrationJobsResponse_nextToken,
listFraudsterRegistrationJobsResponse_jobSummaries,
listFraudsterRegistrationJobsResponse_httpStatus,
)
where
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
import Amazonka.VoiceId.Types
data ListFraudsterRegistrationJobs = ListFraudsterRegistrationJobs'
{
ListFraudsterRegistrationJobs -> Maybe Text
nextToken :: Prelude.Maybe Prelude.Text,
ListFraudsterRegistrationJobs
-> Maybe FraudsterRegistrationJobStatus
jobStatus :: Prelude.Maybe FraudsterRegistrationJobStatus,
ListFraudsterRegistrationJobs -> Maybe Natural
maxResults :: Prelude.Maybe Prelude.Natural,
ListFraudsterRegistrationJobs -> Text
domainId :: Prelude.Text
}
deriving (ListFraudsterRegistrationJobs
-> ListFraudsterRegistrationJobs -> Bool
(ListFraudsterRegistrationJobs
-> ListFraudsterRegistrationJobs -> Bool)
-> (ListFraudsterRegistrationJobs
-> ListFraudsterRegistrationJobs -> Bool)
-> Eq ListFraudsterRegistrationJobs
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: ListFraudsterRegistrationJobs
-> ListFraudsterRegistrationJobs -> Bool
$c/= :: ListFraudsterRegistrationJobs
-> ListFraudsterRegistrationJobs -> Bool
== :: ListFraudsterRegistrationJobs
-> ListFraudsterRegistrationJobs -> Bool
$c== :: ListFraudsterRegistrationJobs
-> ListFraudsterRegistrationJobs -> Bool
Prelude.Eq, ReadPrec [ListFraudsterRegistrationJobs]
ReadPrec ListFraudsterRegistrationJobs
Int -> ReadS ListFraudsterRegistrationJobs
ReadS [ListFraudsterRegistrationJobs]
(Int -> ReadS ListFraudsterRegistrationJobs)
-> ReadS [ListFraudsterRegistrationJobs]
-> ReadPrec ListFraudsterRegistrationJobs
-> ReadPrec [ListFraudsterRegistrationJobs]
-> Read ListFraudsterRegistrationJobs
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [ListFraudsterRegistrationJobs]
$creadListPrec :: ReadPrec [ListFraudsterRegistrationJobs]
readPrec :: ReadPrec ListFraudsterRegistrationJobs
$creadPrec :: ReadPrec ListFraudsterRegistrationJobs
readList :: ReadS [ListFraudsterRegistrationJobs]
$creadList :: ReadS [ListFraudsterRegistrationJobs]
readsPrec :: Int -> ReadS ListFraudsterRegistrationJobs
$creadsPrec :: Int -> ReadS ListFraudsterRegistrationJobs
Prelude.Read, Int -> ListFraudsterRegistrationJobs -> ShowS
[ListFraudsterRegistrationJobs] -> ShowS
ListFraudsterRegistrationJobs -> String
(Int -> ListFraudsterRegistrationJobs -> ShowS)
-> (ListFraudsterRegistrationJobs -> String)
-> ([ListFraudsterRegistrationJobs] -> ShowS)
-> Show ListFraudsterRegistrationJobs
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [ListFraudsterRegistrationJobs] -> ShowS
$cshowList :: [ListFraudsterRegistrationJobs] -> ShowS
show :: ListFraudsterRegistrationJobs -> String
$cshow :: ListFraudsterRegistrationJobs -> String
showsPrec :: Int -> ListFraudsterRegistrationJobs -> ShowS
$cshowsPrec :: Int -> ListFraudsterRegistrationJobs -> ShowS
Prelude.Show, (forall x.
ListFraudsterRegistrationJobs
-> Rep ListFraudsterRegistrationJobs x)
-> (forall x.
Rep ListFraudsterRegistrationJobs x
-> ListFraudsterRegistrationJobs)
-> Generic ListFraudsterRegistrationJobs
forall x.
Rep ListFraudsterRegistrationJobs x
-> ListFraudsterRegistrationJobs
forall x.
ListFraudsterRegistrationJobs
-> Rep ListFraudsterRegistrationJobs x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep ListFraudsterRegistrationJobs x
-> ListFraudsterRegistrationJobs
$cfrom :: forall x.
ListFraudsterRegistrationJobs
-> Rep ListFraudsterRegistrationJobs x
Prelude.Generic)
newListFraudsterRegistrationJobs ::
Prelude.Text ->
ListFraudsterRegistrationJobs
newListFraudsterRegistrationJobs :: Text -> ListFraudsterRegistrationJobs
newListFraudsterRegistrationJobs Text
pDomainId_ =
ListFraudsterRegistrationJobs' :: Maybe Text
-> Maybe FraudsterRegistrationJobStatus
-> Maybe Natural
-> Text
-> ListFraudsterRegistrationJobs
ListFraudsterRegistrationJobs'
{ $sel:nextToken:ListFraudsterRegistrationJobs' :: Maybe Text
nextToken =
Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:jobStatus:ListFraudsterRegistrationJobs' :: Maybe FraudsterRegistrationJobStatus
jobStatus = Maybe FraudsterRegistrationJobStatus
forall a. Maybe a
Prelude.Nothing,
$sel:maxResults:ListFraudsterRegistrationJobs' :: Maybe Natural
maxResults = Maybe Natural
forall a. Maybe a
Prelude.Nothing,
$sel:domainId:ListFraudsterRegistrationJobs' :: Text
domainId = Text
pDomainId_
}
listFraudsterRegistrationJobs_nextToken :: Lens.Lens' ListFraudsterRegistrationJobs (Prelude.Maybe Prelude.Text)
listFraudsterRegistrationJobs_nextToken :: (Maybe Text -> f (Maybe Text))
-> ListFraudsterRegistrationJobs -> f ListFraudsterRegistrationJobs
listFraudsterRegistrationJobs_nextToken = (ListFraudsterRegistrationJobs -> Maybe Text)
-> (ListFraudsterRegistrationJobs
-> Maybe Text -> ListFraudsterRegistrationJobs)
-> Lens
ListFraudsterRegistrationJobs
ListFraudsterRegistrationJobs
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListFraudsterRegistrationJobs' {Maybe Text
nextToken :: Maybe Text
$sel:nextToken:ListFraudsterRegistrationJobs' :: ListFraudsterRegistrationJobs -> Maybe Text
nextToken} -> Maybe Text
nextToken) (\s :: ListFraudsterRegistrationJobs
s@ListFraudsterRegistrationJobs' {} Maybe Text
a -> ListFraudsterRegistrationJobs
s {$sel:nextToken:ListFraudsterRegistrationJobs' :: Maybe Text
nextToken = Maybe Text
a} :: ListFraudsterRegistrationJobs)
listFraudsterRegistrationJobs_jobStatus :: Lens.Lens' ListFraudsterRegistrationJobs (Prelude.Maybe FraudsterRegistrationJobStatus)
listFraudsterRegistrationJobs_jobStatus :: (Maybe FraudsterRegistrationJobStatus
-> f (Maybe FraudsterRegistrationJobStatus))
-> ListFraudsterRegistrationJobs -> f ListFraudsterRegistrationJobs
listFraudsterRegistrationJobs_jobStatus = (ListFraudsterRegistrationJobs
-> Maybe FraudsterRegistrationJobStatus)
-> (ListFraudsterRegistrationJobs
-> Maybe FraudsterRegistrationJobStatus
-> ListFraudsterRegistrationJobs)
-> Lens
ListFraudsterRegistrationJobs
ListFraudsterRegistrationJobs
(Maybe FraudsterRegistrationJobStatus)
(Maybe FraudsterRegistrationJobStatus)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListFraudsterRegistrationJobs' {Maybe FraudsterRegistrationJobStatus
jobStatus :: Maybe FraudsterRegistrationJobStatus
$sel:jobStatus:ListFraudsterRegistrationJobs' :: ListFraudsterRegistrationJobs
-> Maybe FraudsterRegistrationJobStatus
jobStatus} -> Maybe FraudsterRegistrationJobStatus
jobStatus) (\s :: ListFraudsterRegistrationJobs
s@ListFraudsterRegistrationJobs' {} Maybe FraudsterRegistrationJobStatus
a -> ListFraudsterRegistrationJobs
s {$sel:jobStatus:ListFraudsterRegistrationJobs' :: Maybe FraudsterRegistrationJobStatus
jobStatus = Maybe FraudsterRegistrationJobStatus
a} :: ListFraudsterRegistrationJobs)
listFraudsterRegistrationJobs_maxResults :: Lens.Lens' ListFraudsterRegistrationJobs (Prelude.Maybe Prelude.Natural)
listFraudsterRegistrationJobs_maxResults :: (Maybe Natural -> f (Maybe Natural))
-> ListFraudsterRegistrationJobs -> f ListFraudsterRegistrationJobs
listFraudsterRegistrationJobs_maxResults = (ListFraudsterRegistrationJobs -> Maybe Natural)
-> (ListFraudsterRegistrationJobs
-> Maybe Natural -> ListFraudsterRegistrationJobs)
-> Lens
ListFraudsterRegistrationJobs
ListFraudsterRegistrationJobs
(Maybe Natural)
(Maybe Natural)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListFraudsterRegistrationJobs' {Maybe Natural
maxResults :: Maybe Natural
$sel:maxResults:ListFraudsterRegistrationJobs' :: ListFraudsterRegistrationJobs -> Maybe Natural
maxResults} -> Maybe Natural
maxResults) (\s :: ListFraudsterRegistrationJobs
s@ListFraudsterRegistrationJobs' {} Maybe Natural
a -> ListFraudsterRegistrationJobs
s {$sel:maxResults:ListFraudsterRegistrationJobs' :: Maybe Natural
maxResults = Maybe Natural
a} :: ListFraudsterRegistrationJobs)
listFraudsterRegistrationJobs_domainId :: Lens.Lens' ListFraudsterRegistrationJobs Prelude.Text
listFraudsterRegistrationJobs_domainId :: (Text -> f Text)
-> ListFraudsterRegistrationJobs -> f ListFraudsterRegistrationJobs
listFraudsterRegistrationJobs_domainId = (ListFraudsterRegistrationJobs -> Text)
-> (ListFraudsterRegistrationJobs
-> Text -> ListFraudsterRegistrationJobs)
-> Lens
ListFraudsterRegistrationJobs
ListFraudsterRegistrationJobs
Text
Text
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListFraudsterRegistrationJobs' {Text
domainId :: Text
$sel:domainId:ListFraudsterRegistrationJobs' :: ListFraudsterRegistrationJobs -> Text
domainId} -> Text
domainId) (\s :: ListFraudsterRegistrationJobs
s@ListFraudsterRegistrationJobs' {} Text
a -> ListFraudsterRegistrationJobs
s {$sel:domainId:ListFraudsterRegistrationJobs' :: Text
domainId = Text
a} :: ListFraudsterRegistrationJobs)
instance
Core.AWSRequest
ListFraudsterRegistrationJobs
where
type
AWSResponse ListFraudsterRegistrationJobs =
ListFraudsterRegistrationJobsResponse
request :: ListFraudsterRegistrationJobs
-> Request ListFraudsterRegistrationJobs
request = Service
-> ListFraudsterRegistrationJobs
-> Request ListFraudsterRegistrationJobs
forall a. (ToRequest a, ToJSON a) => Service -> a -> Request a
Request.postJSON Service
defaultService
response :: Logger
-> Service
-> Proxy ListFraudsterRegistrationJobs
-> ClientResponse ClientBody
-> m (Either
Error (ClientResponse (AWSResponse ListFraudsterRegistrationJobs)))
response =
(Int
-> ResponseHeaders
-> Object
-> Either String (AWSResponse ListFraudsterRegistrationJobs))
-> Logger
-> Service
-> Proxy ListFraudsterRegistrationJobs
-> ClientResponse ClientBody
-> m (Either
Error (ClientResponse (AWSResponse ListFraudsterRegistrationJobs)))
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 [FraudsterRegistrationJobSummary]
-> Int
-> ListFraudsterRegistrationJobsResponse
ListFraudsterRegistrationJobsResponse'
(Maybe Text
-> Maybe [FraudsterRegistrationJobSummary]
-> Int
-> ListFraudsterRegistrationJobsResponse)
-> Either String (Maybe Text)
-> Either
String
(Maybe [FraudsterRegistrationJobSummary]
-> Int -> ListFraudsterRegistrationJobsResponse)
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 [FraudsterRegistrationJobSummary]
-> Int -> ListFraudsterRegistrationJobsResponse)
-> Either String (Maybe [FraudsterRegistrationJobSummary])
-> Either String (Int -> ListFraudsterRegistrationJobsResponse)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object
-> Text
-> Either String (Maybe (Maybe [FraudsterRegistrationJobSummary]))
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"JobSummaries" Either String (Maybe (Maybe [FraudsterRegistrationJobSummary]))
-> Maybe [FraudsterRegistrationJobSummary]
-> Either String (Maybe [FraudsterRegistrationJobSummary])
forall (f :: * -> *) a. Functor f => f (Maybe a) -> a -> f a
Core..!@ Maybe [FraudsterRegistrationJobSummary]
forall a. Monoid a => a
Prelude.mempty)
Either String (Int -> ListFraudsterRegistrationJobsResponse)
-> Either String Int
-> Either String ListFraudsterRegistrationJobsResponse
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
ListFraudsterRegistrationJobs
instance Prelude.NFData ListFraudsterRegistrationJobs
instance Core.ToHeaders ListFraudsterRegistrationJobs where
toHeaders :: ListFraudsterRegistrationJobs -> ResponseHeaders
toHeaders =
ResponseHeaders -> ListFraudsterRegistrationJobs -> 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
"VoiceID.ListFraudsterRegistrationJobs" ::
Prelude.ByteString
),
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.ToJSON ListFraudsterRegistrationJobs where
toJSON :: ListFraudsterRegistrationJobs -> Value
toJSON ListFraudsterRegistrationJobs' {Maybe Natural
Maybe Text
Maybe FraudsterRegistrationJobStatus
Text
domainId :: Text
maxResults :: Maybe Natural
jobStatus :: Maybe FraudsterRegistrationJobStatus
nextToken :: Maybe Text
$sel:domainId:ListFraudsterRegistrationJobs' :: ListFraudsterRegistrationJobs -> Text
$sel:maxResults:ListFraudsterRegistrationJobs' :: ListFraudsterRegistrationJobs -> Maybe Natural
$sel:jobStatus:ListFraudsterRegistrationJobs' :: ListFraudsterRegistrationJobs
-> Maybe FraudsterRegistrationJobStatus
$sel:nextToken:ListFraudsterRegistrationJobs' :: ListFraudsterRegistrationJobs -> 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
"JobStatus" Text -> FraudsterRegistrationJobStatus -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..=) (FraudsterRegistrationJobStatus -> Pair)
-> Maybe FraudsterRegistrationJobStatus -> Maybe Pair
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe FraudsterRegistrationJobStatus
jobStatus,
(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,
Pair -> Maybe Pair
forall a. a -> Maybe a
Prelude.Just (Text
"DomainId" Text -> Text -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..= Text
domainId)
]
)
instance Core.ToPath ListFraudsterRegistrationJobs where
toPath :: ListFraudsterRegistrationJobs -> ByteString
toPath = ByteString -> ListFraudsterRegistrationJobs -> ByteString
forall a b. a -> b -> a
Prelude.const ByteString
"/"
instance Core.ToQuery ListFraudsterRegistrationJobs where
toQuery :: ListFraudsterRegistrationJobs -> QueryString
toQuery = QueryString -> ListFraudsterRegistrationJobs -> QueryString
forall a b. a -> b -> a
Prelude.const QueryString
forall a. Monoid a => a
Prelude.mempty
data ListFraudsterRegistrationJobsResponse = ListFraudsterRegistrationJobsResponse'
{
ListFraudsterRegistrationJobsResponse -> Maybe Text
nextToken :: Prelude.Maybe Prelude.Text,
ListFraudsterRegistrationJobsResponse
-> Maybe [FraudsterRegistrationJobSummary]
jobSummaries :: Prelude.Maybe [FraudsterRegistrationJobSummary],
ListFraudsterRegistrationJobsResponse -> Int
httpStatus :: Prelude.Int
}
deriving (ListFraudsterRegistrationJobsResponse
-> ListFraudsterRegistrationJobsResponse -> Bool
(ListFraudsterRegistrationJobsResponse
-> ListFraudsterRegistrationJobsResponse -> Bool)
-> (ListFraudsterRegistrationJobsResponse
-> ListFraudsterRegistrationJobsResponse -> Bool)
-> Eq ListFraudsterRegistrationJobsResponse
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: ListFraudsterRegistrationJobsResponse
-> ListFraudsterRegistrationJobsResponse -> Bool
$c/= :: ListFraudsterRegistrationJobsResponse
-> ListFraudsterRegistrationJobsResponse -> Bool
== :: ListFraudsterRegistrationJobsResponse
-> ListFraudsterRegistrationJobsResponse -> Bool
$c== :: ListFraudsterRegistrationJobsResponse
-> ListFraudsterRegistrationJobsResponse -> Bool
Prelude.Eq, Int -> ListFraudsterRegistrationJobsResponse -> ShowS
[ListFraudsterRegistrationJobsResponse] -> ShowS
ListFraudsterRegistrationJobsResponse -> String
(Int -> ListFraudsterRegistrationJobsResponse -> ShowS)
-> (ListFraudsterRegistrationJobsResponse -> String)
-> ([ListFraudsterRegistrationJobsResponse] -> ShowS)
-> Show ListFraudsterRegistrationJobsResponse
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [ListFraudsterRegistrationJobsResponse] -> ShowS
$cshowList :: [ListFraudsterRegistrationJobsResponse] -> ShowS
show :: ListFraudsterRegistrationJobsResponse -> String
$cshow :: ListFraudsterRegistrationJobsResponse -> String
showsPrec :: Int -> ListFraudsterRegistrationJobsResponse -> ShowS
$cshowsPrec :: Int -> ListFraudsterRegistrationJobsResponse -> ShowS
Prelude.Show, (forall x.
ListFraudsterRegistrationJobsResponse
-> Rep ListFraudsterRegistrationJobsResponse x)
-> (forall x.
Rep ListFraudsterRegistrationJobsResponse x
-> ListFraudsterRegistrationJobsResponse)
-> Generic ListFraudsterRegistrationJobsResponse
forall x.
Rep ListFraudsterRegistrationJobsResponse x
-> ListFraudsterRegistrationJobsResponse
forall x.
ListFraudsterRegistrationJobsResponse
-> Rep ListFraudsterRegistrationJobsResponse x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep ListFraudsterRegistrationJobsResponse x
-> ListFraudsterRegistrationJobsResponse
$cfrom :: forall x.
ListFraudsterRegistrationJobsResponse
-> Rep ListFraudsterRegistrationJobsResponse x
Prelude.Generic)
newListFraudsterRegistrationJobsResponse ::
Prelude.Int ->
ListFraudsterRegistrationJobsResponse
newListFraudsterRegistrationJobsResponse :: Int -> ListFraudsterRegistrationJobsResponse
newListFraudsterRegistrationJobsResponse Int
pHttpStatus_ =
ListFraudsterRegistrationJobsResponse' :: Maybe Text
-> Maybe [FraudsterRegistrationJobSummary]
-> Int
-> ListFraudsterRegistrationJobsResponse
ListFraudsterRegistrationJobsResponse'
{ $sel:nextToken:ListFraudsterRegistrationJobsResponse' :: Maybe Text
nextToken =
Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:jobSummaries:ListFraudsterRegistrationJobsResponse' :: Maybe [FraudsterRegistrationJobSummary]
jobSummaries = Maybe [FraudsterRegistrationJobSummary]
forall a. Maybe a
Prelude.Nothing,
$sel:httpStatus:ListFraudsterRegistrationJobsResponse' :: Int
httpStatus = Int
pHttpStatus_
}
listFraudsterRegistrationJobsResponse_nextToken :: Lens.Lens' ListFraudsterRegistrationJobsResponse (Prelude.Maybe Prelude.Text)
listFraudsterRegistrationJobsResponse_nextToken :: (Maybe Text -> f (Maybe Text))
-> ListFraudsterRegistrationJobsResponse
-> f ListFraudsterRegistrationJobsResponse
listFraudsterRegistrationJobsResponse_nextToken = (ListFraudsterRegistrationJobsResponse -> Maybe Text)
-> (ListFraudsterRegistrationJobsResponse
-> Maybe Text -> ListFraudsterRegistrationJobsResponse)
-> Lens
ListFraudsterRegistrationJobsResponse
ListFraudsterRegistrationJobsResponse
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListFraudsterRegistrationJobsResponse' {Maybe Text
nextToken :: Maybe Text
$sel:nextToken:ListFraudsterRegistrationJobsResponse' :: ListFraudsterRegistrationJobsResponse -> Maybe Text
nextToken} -> Maybe Text
nextToken) (\s :: ListFraudsterRegistrationJobsResponse
s@ListFraudsterRegistrationJobsResponse' {} Maybe Text
a -> ListFraudsterRegistrationJobsResponse
s {$sel:nextToken:ListFraudsterRegistrationJobsResponse' :: Maybe Text
nextToken = Maybe Text
a} :: ListFraudsterRegistrationJobsResponse)
listFraudsterRegistrationJobsResponse_jobSummaries :: Lens.Lens' ListFraudsterRegistrationJobsResponse (Prelude.Maybe [FraudsterRegistrationJobSummary])
listFraudsterRegistrationJobsResponse_jobSummaries :: (Maybe [FraudsterRegistrationJobSummary]
-> f (Maybe [FraudsterRegistrationJobSummary]))
-> ListFraudsterRegistrationJobsResponse
-> f ListFraudsterRegistrationJobsResponse
listFraudsterRegistrationJobsResponse_jobSummaries = (ListFraudsterRegistrationJobsResponse
-> Maybe [FraudsterRegistrationJobSummary])
-> (ListFraudsterRegistrationJobsResponse
-> Maybe [FraudsterRegistrationJobSummary]
-> ListFraudsterRegistrationJobsResponse)
-> Lens
ListFraudsterRegistrationJobsResponse
ListFraudsterRegistrationJobsResponse
(Maybe [FraudsterRegistrationJobSummary])
(Maybe [FraudsterRegistrationJobSummary])
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListFraudsterRegistrationJobsResponse' {Maybe [FraudsterRegistrationJobSummary]
jobSummaries :: Maybe [FraudsterRegistrationJobSummary]
$sel:jobSummaries:ListFraudsterRegistrationJobsResponse' :: ListFraudsterRegistrationJobsResponse
-> Maybe [FraudsterRegistrationJobSummary]
jobSummaries} -> Maybe [FraudsterRegistrationJobSummary]
jobSummaries) (\s :: ListFraudsterRegistrationJobsResponse
s@ListFraudsterRegistrationJobsResponse' {} Maybe [FraudsterRegistrationJobSummary]
a -> ListFraudsterRegistrationJobsResponse
s {$sel:jobSummaries:ListFraudsterRegistrationJobsResponse' :: Maybe [FraudsterRegistrationJobSummary]
jobSummaries = Maybe [FraudsterRegistrationJobSummary]
a} :: ListFraudsterRegistrationJobsResponse) ((Maybe [FraudsterRegistrationJobSummary]
-> f (Maybe [FraudsterRegistrationJobSummary]))
-> ListFraudsterRegistrationJobsResponse
-> f ListFraudsterRegistrationJobsResponse)
-> ((Maybe [FraudsterRegistrationJobSummary]
-> f (Maybe [FraudsterRegistrationJobSummary]))
-> Maybe [FraudsterRegistrationJobSummary]
-> f (Maybe [FraudsterRegistrationJobSummary]))
-> (Maybe [FraudsterRegistrationJobSummary]
-> f (Maybe [FraudsterRegistrationJobSummary]))
-> ListFraudsterRegistrationJobsResponse
-> f ListFraudsterRegistrationJobsResponse
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. AnIso
[FraudsterRegistrationJobSummary]
[FraudsterRegistrationJobSummary]
[FraudsterRegistrationJobSummary]
[FraudsterRegistrationJobSummary]
-> Iso
(Maybe [FraudsterRegistrationJobSummary])
(Maybe [FraudsterRegistrationJobSummary])
(Maybe [FraudsterRegistrationJobSummary])
(Maybe [FraudsterRegistrationJobSummary])
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
[FraudsterRegistrationJobSummary]
[FraudsterRegistrationJobSummary]
[FraudsterRegistrationJobSummary]
[FraudsterRegistrationJobSummary]
forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced
listFraudsterRegistrationJobsResponse_httpStatus :: Lens.Lens' ListFraudsterRegistrationJobsResponse Prelude.Int
listFraudsterRegistrationJobsResponse_httpStatus :: (Int -> f Int)
-> ListFraudsterRegistrationJobsResponse
-> f ListFraudsterRegistrationJobsResponse
listFraudsterRegistrationJobsResponse_httpStatus = (ListFraudsterRegistrationJobsResponse -> Int)
-> (ListFraudsterRegistrationJobsResponse
-> Int -> ListFraudsterRegistrationJobsResponse)
-> Lens
ListFraudsterRegistrationJobsResponse
ListFraudsterRegistrationJobsResponse
Int
Int
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListFraudsterRegistrationJobsResponse' {Int
httpStatus :: Int
$sel:httpStatus:ListFraudsterRegistrationJobsResponse' :: ListFraudsterRegistrationJobsResponse -> Int
httpStatus} -> Int
httpStatus) (\s :: ListFraudsterRegistrationJobsResponse
s@ListFraudsterRegistrationJobsResponse' {} Int
a -> ListFraudsterRegistrationJobsResponse
s {$sel:httpStatus:ListFraudsterRegistrationJobsResponse' :: Int
httpStatus = Int
a} :: ListFraudsterRegistrationJobsResponse)
instance
Prelude.NFData
ListFraudsterRegistrationJobsResponse