{-# 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.SnowDeviceManagement.ListTasks
(
ListTasks (..),
newListTasks,
listTasks_state,
listTasks_nextToken,
listTasks_maxResults,
ListTasksResponse (..),
newListTasksResponse,
listTasksResponse_tasks,
listTasksResponse_nextToken,
listTasksResponse_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.SnowDeviceManagement.Types
data ListTasks = ListTasks'
{
ListTasks -> Maybe TaskState
state :: Prelude.Maybe TaskState,
ListTasks -> Maybe Text
nextToken :: Prelude.Maybe Prelude.Text,
ListTasks -> Maybe Natural
maxResults :: Prelude.Maybe Prelude.Natural
}
deriving (ListTasks -> ListTasks -> Bool
(ListTasks -> ListTasks -> Bool)
-> (ListTasks -> ListTasks -> Bool) -> Eq ListTasks
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: ListTasks -> ListTasks -> Bool
$c/= :: ListTasks -> ListTasks -> Bool
== :: ListTasks -> ListTasks -> Bool
$c== :: ListTasks -> ListTasks -> Bool
Prelude.Eq, ReadPrec [ListTasks]
ReadPrec ListTasks
Int -> ReadS ListTasks
ReadS [ListTasks]
(Int -> ReadS ListTasks)
-> ReadS [ListTasks]
-> ReadPrec ListTasks
-> ReadPrec [ListTasks]
-> Read ListTasks
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [ListTasks]
$creadListPrec :: ReadPrec [ListTasks]
readPrec :: ReadPrec ListTasks
$creadPrec :: ReadPrec ListTasks
readList :: ReadS [ListTasks]
$creadList :: ReadS [ListTasks]
readsPrec :: Int -> ReadS ListTasks
$creadsPrec :: Int -> ReadS ListTasks
Prelude.Read, Int -> ListTasks -> ShowS
[ListTasks] -> ShowS
ListTasks -> String
(Int -> ListTasks -> ShowS)
-> (ListTasks -> String)
-> ([ListTasks] -> ShowS)
-> Show ListTasks
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [ListTasks] -> ShowS
$cshowList :: [ListTasks] -> ShowS
show :: ListTasks -> String
$cshow :: ListTasks -> String
showsPrec :: Int -> ListTasks -> ShowS
$cshowsPrec :: Int -> ListTasks -> ShowS
Prelude.Show, (forall x. ListTasks -> Rep ListTasks x)
-> (forall x. Rep ListTasks x -> ListTasks) -> Generic ListTasks
forall x. Rep ListTasks x -> ListTasks
forall x. ListTasks -> Rep ListTasks x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep ListTasks x -> ListTasks
$cfrom :: forall x. ListTasks -> Rep ListTasks x
Prelude.Generic)
newListTasks ::
ListTasks
newListTasks :: ListTasks
newListTasks =
ListTasks' :: Maybe TaskState -> Maybe Text -> Maybe Natural -> ListTasks
ListTasks'
{ $sel:state:ListTasks' :: Maybe TaskState
state = Maybe TaskState
forall a. Maybe a
Prelude.Nothing,
$sel:nextToken:ListTasks' :: Maybe Text
nextToken = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:maxResults:ListTasks' :: Maybe Natural
maxResults = Maybe Natural
forall a. Maybe a
Prelude.Nothing
}
listTasks_state :: Lens.Lens' ListTasks (Prelude.Maybe TaskState)
listTasks_state :: (Maybe TaskState -> f (Maybe TaskState))
-> ListTasks -> f ListTasks
listTasks_state = (ListTasks -> Maybe TaskState)
-> (ListTasks -> Maybe TaskState -> ListTasks)
-> Lens ListTasks ListTasks (Maybe TaskState) (Maybe TaskState)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListTasks' {Maybe TaskState
state :: Maybe TaskState
$sel:state:ListTasks' :: ListTasks -> Maybe TaskState
state} -> Maybe TaskState
state) (\s :: ListTasks
s@ListTasks' {} Maybe TaskState
a -> ListTasks
s {$sel:state:ListTasks' :: Maybe TaskState
state = Maybe TaskState
a} :: ListTasks)
listTasks_nextToken :: Lens.Lens' ListTasks (Prelude.Maybe Prelude.Text)
listTasks_nextToken :: (Maybe Text -> f (Maybe Text)) -> ListTasks -> f ListTasks
listTasks_nextToken = (ListTasks -> Maybe Text)
-> (ListTasks -> Maybe Text -> ListTasks)
-> Lens ListTasks ListTasks (Maybe Text) (Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListTasks' {Maybe Text
nextToken :: Maybe Text
$sel:nextToken:ListTasks' :: ListTasks -> Maybe Text
nextToken} -> Maybe Text
nextToken) (\s :: ListTasks
s@ListTasks' {} Maybe Text
a -> ListTasks
s {$sel:nextToken:ListTasks' :: Maybe Text
nextToken = Maybe Text
a} :: ListTasks)
listTasks_maxResults :: Lens.Lens' ListTasks (Prelude.Maybe Prelude.Natural)
listTasks_maxResults :: (Maybe Natural -> f (Maybe Natural)) -> ListTasks -> f ListTasks
listTasks_maxResults = (ListTasks -> Maybe Natural)
-> (ListTasks -> Maybe Natural -> ListTasks)
-> Lens ListTasks ListTasks (Maybe Natural) (Maybe Natural)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListTasks' {Maybe Natural
maxResults :: Maybe Natural
$sel:maxResults:ListTasks' :: ListTasks -> Maybe Natural
maxResults} -> Maybe Natural
maxResults) (\s :: ListTasks
s@ListTasks' {} Maybe Natural
a -> ListTasks
s {$sel:maxResults:ListTasks' :: Maybe Natural
maxResults = Maybe Natural
a} :: ListTasks)
instance Core.AWSPager ListTasks where
page :: ListTasks -> AWSResponse ListTasks -> Maybe ListTasks
page ListTasks
rq AWSResponse ListTasks
rs
| Maybe Text -> Bool
forall a. AWSTruncated a => a -> Bool
Core.stop
( AWSResponse ListTasks
ListTasksResponse
rs
ListTasksResponse
-> Getting (First Text) ListTasksResponse Text -> Maybe Text
forall s a. s -> Getting (First a) s a -> Maybe a
Lens.^? (Maybe Text -> Const (First Text) (Maybe Text))
-> ListTasksResponse -> Const (First Text) ListTasksResponse
Lens' ListTasksResponse (Maybe Text)
listTasksResponse_nextToken ((Maybe Text -> Const (First Text) (Maybe Text))
-> ListTasksResponse -> Const (First Text) ListTasksResponse)
-> ((Text -> Const (First Text) Text)
-> Maybe Text -> Const (First Text) (Maybe Text))
-> Getting (First Text) ListTasksResponse Text
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. (Text -> Const (First Text) Text)
-> Maybe Text -> Const (First Text) (Maybe Text)
forall a b. Prism (Maybe a) (Maybe b) a b
Lens._Just
) =
Maybe ListTasks
forall a. Maybe a
Prelude.Nothing
| Maybe [TaskSummary] -> Bool
forall a. AWSTruncated a => a -> Bool
Core.stop
( AWSResponse ListTasks
ListTasksResponse
rs
ListTasksResponse
-> Getting (First [TaskSummary]) ListTasksResponse [TaskSummary]
-> Maybe [TaskSummary]
forall s a. s -> Getting (First a) s a -> Maybe a
Lens.^? (Maybe [TaskSummary]
-> Const (First [TaskSummary]) (Maybe [TaskSummary]))
-> ListTasksResponse
-> Const (First [TaskSummary]) ListTasksResponse
Lens' ListTasksResponse (Maybe [TaskSummary])
listTasksResponse_tasks ((Maybe [TaskSummary]
-> Const (First [TaskSummary]) (Maybe [TaskSummary]))
-> ListTasksResponse
-> Const (First [TaskSummary]) ListTasksResponse)
-> (([TaskSummary] -> Const (First [TaskSummary]) [TaskSummary])
-> Maybe [TaskSummary]
-> Const (First [TaskSummary]) (Maybe [TaskSummary]))
-> Getting (First [TaskSummary]) ListTasksResponse [TaskSummary]
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. ([TaskSummary] -> Const (First [TaskSummary]) [TaskSummary])
-> Maybe [TaskSummary]
-> Const (First [TaskSummary]) (Maybe [TaskSummary])
forall a b. Prism (Maybe a) (Maybe b) a b
Lens._Just
) =
Maybe ListTasks
forall a. Maybe a
Prelude.Nothing
| Bool
Prelude.otherwise =
ListTasks -> Maybe ListTasks
forall a. a -> Maybe a
Prelude.Just (ListTasks -> Maybe ListTasks) -> ListTasks -> Maybe ListTasks
forall a b. (a -> b) -> a -> b
Prelude.$
ListTasks
rq
ListTasks -> (ListTasks -> ListTasks) -> ListTasks
forall a b. a -> (a -> b) -> b
Prelude.& (Maybe Text -> Identity (Maybe Text))
-> ListTasks -> Identity ListTasks
Lens ListTasks ListTasks (Maybe Text) (Maybe Text)
listTasks_nextToken
((Maybe Text -> Identity (Maybe Text))
-> ListTasks -> Identity ListTasks)
-> Maybe Text -> ListTasks -> ListTasks
forall s t a b. ASetter s t a b -> b -> s -> t
Lens..~ AWSResponse ListTasks
ListTasksResponse
rs
ListTasksResponse
-> Getting (First Text) ListTasksResponse Text -> Maybe Text
forall s a. s -> Getting (First a) s a -> Maybe a
Lens.^? (Maybe Text -> Const (First Text) (Maybe Text))
-> ListTasksResponse -> Const (First Text) ListTasksResponse
Lens' ListTasksResponse (Maybe Text)
listTasksResponse_nextToken ((Maybe Text -> Const (First Text) (Maybe Text))
-> ListTasksResponse -> Const (First Text) ListTasksResponse)
-> ((Text -> Const (First Text) Text)
-> Maybe Text -> Const (First Text) (Maybe Text))
-> Getting (First Text) ListTasksResponse Text
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. (Text -> Const (First Text) Text)
-> Maybe Text -> Const (First Text) (Maybe Text)
forall a b. Prism (Maybe a) (Maybe b) a b
Lens._Just
instance Core.AWSRequest ListTasks where
type AWSResponse ListTasks = ListTasksResponse
request :: ListTasks -> Request ListTasks
request = Service -> ListTasks -> Request ListTasks
forall a. ToRequest a => Service -> a -> Request a
Request.get Service
defaultService
response :: Logger
-> Service
-> Proxy ListTasks
-> ClientResponse ClientBody
-> m (Either Error (ClientResponse (AWSResponse ListTasks)))
response =
(Int
-> ResponseHeaders
-> Object
-> Either String (AWSResponse ListTasks))
-> Logger
-> Service
-> Proxy ListTasks
-> ClientResponse ClientBody
-> m (Either Error (ClientResponse (AWSResponse ListTasks)))
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 [TaskSummary] -> Maybe Text -> Int -> ListTasksResponse
ListTasksResponse'
(Maybe [TaskSummary] -> Maybe Text -> Int -> ListTasksResponse)
-> Either String (Maybe [TaskSummary])
-> Either String (Maybe Text -> Int -> ListTasksResponse)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> (Object
x Object -> Text -> Either String (Maybe (Maybe [TaskSummary]))
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"tasks" Either String (Maybe (Maybe [TaskSummary]))
-> Maybe [TaskSummary] -> Either String (Maybe [TaskSummary])
forall (f :: * -> *) a. Functor f => f (Maybe a) -> a -> f a
Core..!@ Maybe [TaskSummary]
forall a. Monoid a => a
Prelude.mempty)
Either String (Maybe Text -> Int -> ListTasksResponse)
-> Either String (Maybe Text)
-> Either String (Int -> ListTasksResponse)
forall (f :: * -> *) a b. Applicative f => 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 (Int -> ListTasksResponse)
-> Either String Int -> Either String ListTasksResponse
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 ListTasks
instance Prelude.NFData ListTasks
instance Core.ToHeaders ListTasks where
toHeaders :: ListTasks -> ResponseHeaders
toHeaders =
ResponseHeaders -> ListTasks -> 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.ToPath ListTasks where
toPath :: ListTasks -> ByteString
toPath = ByteString -> ListTasks -> ByteString
forall a b. a -> b -> a
Prelude.const ByteString
"/tasks"
instance Core.ToQuery ListTasks where
toQuery :: ListTasks -> QueryString
toQuery ListTasks' {Maybe Natural
Maybe Text
Maybe TaskState
maxResults :: Maybe Natural
nextToken :: Maybe Text
state :: Maybe TaskState
$sel:maxResults:ListTasks' :: ListTasks -> Maybe Natural
$sel:nextToken:ListTasks' :: ListTasks -> Maybe Text
$sel:state:ListTasks' :: ListTasks -> Maybe TaskState
..} =
[QueryString] -> QueryString
forall a. Monoid a => [a] -> a
Prelude.mconcat
[ ByteString
"state" ByteString -> Maybe TaskState -> QueryString
forall a. ToQuery a => ByteString -> a -> QueryString
Core.=: Maybe TaskState
state,
ByteString
"nextToken" ByteString -> Maybe Text -> QueryString
forall a. ToQuery a => ByteString -> a -> QueryString
Core.=: Maybe Text
nextToken,
ByteString
"maxResults" ByteString -> Maybe Natural -> QueryString
forall a. ToQuery a => ByteString -> a -> QueryString
Core.=: Maybe Natural
maxResults
]
data ListTasksResponse = ListTasksResponse'
{
ListTasksResponse -> Maybe [TaskSummary]
tasks :: Prelude.Maybe [TaskSummary],
ListTasksResponse -> Maybe Text
nextToken :: Prelude.Maybe Prelude.Text,
ListTasksResponse -> Int
httpStatus :: Prelude.Int
}
deriving (ListTasksResponse -> ListTasksResponse -> Bool
(ListTasksResponse -> ListTasksResponse -> Bool)
-> (ListTasksResponse -> ListTasksResponse -> Bool)
-> Eq ListTasksResponse
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: ListTasksResponse -> ListTasksResponse -> Bool
$c/= :: ListTasksResponse -> ListTasksResponse -> Bool
== :: ListTasksResponse -> ListTasksResponse -> Bool
$c== :: ListTasksResponse -> ListTasksResponse -> Bool
Prelude.Eq, ReadPrec [ListTasksResponse]
ReadPrec ListTasksResponse
Int -> ReadS ListTasksResponse
ReadS [ListTasksResponse]
(Int -> ReadS ListTasksResponse)
-> ReadS [ListTasksResponse]
-> ReadPrec ListTasksResponse
-> ReadPrec [ListTasksResponse]
-> Read ListTasksResponse
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [ListTasksResponse]
$creadListPrec :: ReadPrec [ListTasksResponse]
readPrec :: ReadPrec ListTasksResponse
$creadPrec :: ReadPrec ListTasksResponse
readList :: ReadS [ListTasksResponse]
$creadList :: ReadS [ListTasksResponse]
readsPrec :: Int -> ReadS ListTasksResponse
$creadsPrec :: Int -> ReadS ListTasksResponse
Prelude.Read, Int -> ListTasksResponse -> ShowS
[ListTasksResponse] -> ShowS
ListTasksResponse -> String
(Int -> ListTasksResponse -> ShowS)
-> (ListTasksResponse -> String)
-> ([ListTasksResponse] -> ShowS)
-> Show ListTasksResponse
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [ListTasksResponse] -> ShowS
$cshowList :: [ListTasksResponse] -> ShowS
show :: ListTasksResponse -> String
$cshow :: ListTasksResponse -> String
showsPrec :: Int -> ListTasksResponse -> ShowS
$cshowsPrec :: Int -> ListTasksResponse -> ShowS
Prelude.Show, (forall x. ListTasksResponse -> Rep ListTasksResponse x)
-> (forall x. Rep ListTasksResponse x -> ListTasksResponse)
-> Generic ListTasksResponse
forall x. Rep ListTasksResponse x -> ListTasksResponse
forall x. ListTasksResponse -> Rep ListTasksResponse x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep ListTasksResponse x -> ListTasksResponse
$cfrom :: forall x. ListTasksResponse -> Rep ListTasksResponse x
Prelude.Generic)
newListTasksResponse ::
Prelude.Int ->
ListTasksResponse
newListTasksResponse :: Int -> ListTasksResponse
newListTasksResponse Int
pHttpStatus_ =
ListTasksResponse' :: Maybe [TaskSummary] -> Maybe Text -> Int -> ListTasksResponse
ListTasksResponse'
{ $sel:tasks:ListTasksResponse' :: Maybe [TaskSummary]
tasks = Maybe [TaskSummary]
forall a. Maybe a
Prelude.Nothing,
$sel:nextToken:ListTasksResponse' :: Maybe Text
nextToken = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:httpStatus:ListTasksResponse' :: Int
httpStatus = Int
pHttpStatus_
}
listTasksResponse_tasks :: Lens.Lens' ListTasksResponse (Prelude.Maybe [TaskSummary])
listTasksResponse_tasks :: (Maybe [TaskSummary] -> f (Maybe [TaskSummary]))
-> ListTasksResponse -> f ListTasksResponse
listTasksResponse_tasks = (ListTasksResponse -> Maybe [TaskSummary])
-> (ListTasksResponse -> Maybe [TaskSummary] -> ListTasksResponse)
-> Lens' ListTasksResponse (Maybe [TaskSummary])
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListTasksResponse' {Maybe [TaskSummary]
tasks :: Maybe [TaskSummary]
$sel:tasks:ListTasksResponse' :: ListTasksResponse -> Maybe [TaskSummary]
tasks} -> Maybe [TaskSummary]
tasks) (\s :: ListTasksResponse
s@ListTasksResponse' {} Maybe [TaskSummary]
a -> ListTasksResponse
s {$sel:tasks:ListTasksResponse' :: Maybe [TaskSummary]
tasks = Maybe [TaskSummary]
a} :: ListTasksResponse) ((Maybe [TaskSummary] -> f (Maybe [TaskSummary]))
-> ListTasksResponse -> f ListTasksResponse)
-> ((Maybe [TaskSummary] -> f (Maybe [TaskSummary]))
-> Maybe [TaskSummary] -> f (Maybe [TaskSummary]))
-> (Maybe [TaskSummary] -> f (Maybe [TaskSummary]))
-> ListTasksResponse
-> f ListTasksResponse
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. AnIso [TaskSummary] [TaskSummary] [TaskSummary] [TaskSummary]
-> Iso
(Maybe [TaskSummary])
(Maybe [TaskSummary])
(Maybe [TaskSummary])
(Maybe [TaskSummary])
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 [TaskSummary] [TaskSummary] [TaskSummary] [TaskSummary]
forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced
listTasksResponse_nextToken :: Lens.Lens' ListTasksResponse (Prelude.Maybe Prelude.Text)
listTasksResponse_nextToken :: (Maybe Text -> f (Maybe Text))
-> ListTasksResponse -> f ListTasksResponse
listTasksResponse_nextToken = (ListTasksResponse -> Maybe Text)
-> (ListTasksResponse -> Maybe Text -> ListTasksResponse)
-> Lens' ListTasksResponse (Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListTasksResponse' {Maybe Text
nextToken :: Maybe Text
$sel:nextToken:ListTasksResponse' :: ListTasksResponse -> Maybe Text
nextToken} -> Maybe Text
nextToken) (\s :: ListTasksResponse
s@ListTasksResponse' {} Maybe Text
a -> ListTasksResponse
s {$sel:nextToken:ListTasksResponse' :: Maybe Text
nextToken = Maybe Text
a} :: ListTasksResponse)
listTasksResponse_httpStatus :: Lens.Lens' ListTasksResponse Prelude.Int
listTasksResponse_httpStatus :: (Int -> f Int) -> ListTasksResponse -> f ListTasksResponse
listTasksResponse_httpStatus = (ListTasksResponse -> Int)
-> (ListTasksResponse -> Int -> ListTasksResponse)
-> Lens ListTasksResponse ListTasksResponse Int Int
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListTasksResponse' {Int
httpStatus :: Int
$sel:httpStatus:ListTasksResponse' :: ListTasksResponse -> Int
httpStatus} -> Int
httpStatus) (\s :: ListTasksResponse
s@ListTasksResponse' {} Int
a -> ListTasksResponse
s {$sel:httpStatus:ListTasksResponse' :: Int
httpStatus = Int
a} :: ListTasksResponse)
instance Prelude.NFData ListTasksResponse