{-# 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.ECS.DescribeTasks
(
DescribeTasks (..),
newDescribeTasks,
describeTasks_include,
describeTasks_cluster,
describeTasks_tasks,
DescribeTasksResponse (..),
newDescribeTasksResponse,
describeTasksResponse_failures,
describeTasksResponse_tasks,
describeTasksResponse_httpStatus,
)
where
import qualified Amazonka.Core as Core
import Amazonka.ECS.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 DescribeTasks = DescribeTasks'
{
DescribeTasks -> Maybe [TaskField]
include :: Prelude.Maybe [TaskField],
DescribeTasks -> Maybe Text
cluster :: Prelude.Maybe Prelude.Text,
DescribeTasks -> [Text]
tasks :: [Prelude.Text]
}
deriving (DescribeTasks -> DescribeTasks -> Bool
(DescribeTasks -> DescribeTasks -> Bool)
-> (DescribeTasks -> DescribeTasks -> Bool) -> Eq DescribeTasks
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: DescribeTasks -> DescribeTasks -> Bool
$c/= :: DescribeTasks -> DescribeTasks -> Bool
== :: DescribeTasks -> DescribeTasks -> Bool
$c== :: DescribeTasks -> DescribeTasks -> Bool
Prelude.Eq, ReadPrec [DescribeTasks]
ReadPrec DescribeTasks
Int -> ReadS DescribeTasks
ReadS [DescribeTasks]
(Int -> ReadS DescribeTasks)
-> ReadS [DescribeTasks]
-> ReadPrec DescribeTasks
-> ReadPrec [DescribeTasks]
-> Read DescribeTasks
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [DescribeTasks]
$creadListPrec :: ReadPrec [DescribeTasks]
readPrec :: ReadPrec DescribeTasks
$creadPrec :: ReadPrec DescribeTasks
readList :: ReadS [DescribeTasks]
$creadList :: ReadS [DescribeTasks]
readsPrec :: Int -> ReadS DescribeTasks
$creadsPrec :: Int -> ReadS DescribeTasks
Prelude.Read, Int -> DescribeTasks -> ShowS
[DescribeTasks] -> ShowS
DescribeTasks -> String
(Int -> DescribeTasks -> ShowS)
-> (DescribeTasks -> String)
-> ([DescribeTasks] -> ShowS)
-> Show DescribeTasks
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [DescribeTasks] -> ShowS
$cshowList :: [DescribeTasks] -> ShowS
show :: DescribeTasks -> String
$cshow :: DescribeTasks -> String
showsPrec :: Int -> DescribeTasks -> ShowS
$cshowsPrec :: Int -> DescribeTasks -> ShowS
Prelude.Show, (forall x. DescribeTasks -> Rep DescribeTasks x)
-> (forall x. Rep DescribeTasks x -> DescribeTasks)
-> Generic DescribeTasks
forall x. Rep DescribeTasks x -> DescribeTasks
forall x. DescribeTasks -> Rep DescribeTasks x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep DescribeTasks x -> DescribeTasks
$cfrom :: forall x. DescribeTasks -> Rep DescribeTasks x
Prelude.Generic)
newDescribeTasks ::
DescribeTasks
newDescribeTasks :: DescribeTasks
newDescribeTasks =
DescribeTasks' :: Maybe [TaskField] -> Maybe Text -> [Text] -> DescribeTasks
DescribeTasks'
{ $sel:include:DescribeTasks' :: Maybe [TaskField]
include = Maybe [TaskField]
forall a. Maybe a
Prelude.Nothing,
$sel:cluster:DescribeTasks' :: Maybe Text
cluster = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:tasks:DescribeTasks' :: [Text]
tasks = [Text]
forall a. Monoid a => a
Prelude.mempty
}
describeTasks_include :: Lens.Lens' DescribeTasks (Prelude.Maybe [TaskField])
describeTasks_include :: (Maybe [TaskField] -> f (Maybe [TaskField]))
-> DescribeTasks -> f DescribeTasks
describeTasks_include = (DescribeTasks -> Maybe [TaskField])
-> (DescribeTasks -> Maybe [TaskField] -> DescribeTasks)
-> Lens
DescribeTasks DescribeTasks (Maybe [TaskField]) (Maybe [TaskField])
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeTasks' {Maybe [TaskField]
include :: Maybe [TaskField]
$sel:include:DescribeTasks' :: DescribeTasks -> Maybe [TaskField]
include} -> Maybe [TaskField]
include) (\s :: DescribeTasks
s@DescribeTasks' {} Maybe [TaskField]
a -> DescribeTasks
s {$sel:include:DescribeTasks' :: Maybe [TaskField]
include = Maybe [TaskField]
a} :: DescribeTasks) ((Maybe [TaskField] -> f (Maybe [TaskField]))
-> DescribeTasks -> f DescribeTasks)
-> ((Maybe [TaskField] -> f (Maybe [TaskField]))
-> Maybe [TaskField] -> f (Maybe [TaskField]))
-> (Maybe [TaskField] -> f (Maybe [TaskField]))
-> DescribeTasks
-> f DescribeTasks
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. AnIso [TaskField] [TaskField] [TaskField] [TaskField]
-> Iso
(Maybe [TaskField])
(Maybe [TaskField])
(Maybe [TaskField])
(Maybe [TaskField])
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 [TaskField] [TaskField] [TaskField] [TaskField]
forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced
describeTasks_cluster :: Lens.Lens' DescribeTasks (Prelude.Maybe Prelude.Text)
describeTasks_cluster :: (Maybe Text -> f (Maybe Text)) -> DescribeTasks -> f DescribeTasks
describeTasks_cluster = (DescribeTasks -> Maybe Text)
-> (DescribeTasks -> Maybe Text -> DescribeTasks)
-> Lens DescribeTasks DescribeTasks (Maybe Text) (Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeTasks' {Maybe Text
cluster :: Maybe Text
$sel:cluster:DescribeTasks' :: DescribeTasks -> Maybe Text
cluster} -> Maybe Text
cluster) (\s :: DescribeTasks
s@DescribeTasks' {} Maybe Text
a -> DescribeTasks
s {$sel:cluster:DescribeTasks' :: Maybe Text
cluster = Maybe Text
a} :: DescribeTasks)
describeTasks_tasks :: Lens.Lens' DescribeTasks [Prelude.Text]
describeTasks_tasks :: ([Text] -> f [Text]) -> DescribeTasks -> f DescribeTasks
describeTasks_tasks = (DescribeTasks -> [Text])
-> (DescribeTasks -> [Text] -> DescribeTasks)
-> Lens DescribeTasks DescribeTasks [Text] [Text]
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeTasks' {[Text]
tasks :: [Text]
$sel:tasks:DescribeTasks' :: DescribeTasks -> [Text]
tasks} -> [Text]
tasks) (\s :: DescribeTasks
s@DescribeTasks' {} [Text]
a -> DescribeTasks
s {$sel:tasks:DescribeTasks' :: [Text]
tasks = [Text]
a} :: DescribeTasks) (([Text] -> f [Text]) -> DescribeTasks -> f DescribeTasks)
-> (([Text] -> f [Text]) -> [Text] -> f [Text])
-> ([Text] -> f [Text])
-> DescribeTasks
-> f DescribeTasks
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. ([Text] -> f [Text]) -> [Text] -> f [Text]
forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced
instance Core.AWSRequest DescribeTasks where
type
AWSResponse DescribeTasks =
DescribeTasksResponse
request :: DescribeTasks -> Request DescribeTasks
request = Service -> DescribeTasks -> Request DescribeTasks
forall a. (ToRequest a, ToJSON a) => Service -> a -> Request a
Request.postJSON Service
defaultService
response :: Logger
-> Service
-> Proxy DescribeTasks
-> ClientResponse ClientBody
-> m (Either Error (ClientResponse (AWSResponse DescribeTasks)))
response =
(Int
-> ResponseHeaders
-> Object
-> Either String (AWSResponse DescribeTasks))
-> Logger
-> Service
-> Proxy DescribeTasks
-> ClientResponse ClientBody
-> m (Either Error (ClientResponse (AWSResponse DescribeTasks)))
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 [Failure] -> Maybe [Task] -> Int -> DescribeTasksResponse
DescribeTasksResponse'
(Maybe [Failure] -> Maybe [Task] -> Int -> DescribeTasksResponse)
-> Either String (Maybe [Failure])
-> Either String (Maybe [Task] -> Int -> DescribeTasksResponse)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> (Object
x Object -> Text -> Either String (Maybe (Maybe [Failure]))
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"failures" Either String (Maybe (Maybe [Failure]))
-> Maybe [Failure] -> Either String (Maybe [Failure])
forall (f :: * -> *) a. Functor f => f (Maybe a) -> a -> f a
Core..!@ Maybe [Failure]
forall a. Monoid a => a
Prelude.mempty)
Either String (Maybe [Task] -> Int -> DescribeTasksResponse)
-> Either String (Maybe [Task])
-> Either String (Int -> DescribeTasksResponse)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Either String (Maybe (Maybe [Task]))
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"tasks" Either String (Maybe (Maybe [Task]))
-> Maybe [Task] -> Either String (Maybe [Task])
forall (f :: * -> *) a. Functor f => f (Maybe a) -> a -> f a
Core..!@ Maybe [Task]
forall a. Monoid a => a
Prelude.mempty)
Either String (Int -> DescribeTasksResponse)
-> Either String Int -> Either String DescribeTasksResponse
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 DescribeTasks
instance Prelude.NFData DescribeTasks
instance Core.ToHeaders DescribeTasks where
toHeaders :: DescribeTasks -> ResponseHeaders
toHeaders =
ResponseHeaders -> DescribeTasks -> 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
"AmazonEC2ContainerServiceV20141113.DescribeTasks" ::
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 DescribeTasks where
toJSON :: DescribeTasks -> Value
toJSON DescribeTasks' {[Text]
Maybe [TaskField]
Maybe Text
tasks :: [Text]
cluster :: Maybe Text
include :: Maybe [TaskField]
$sel:tasks:DescribeTasks' :: DescribeTasks -> [Text]
$sel:cluster:DescribeTasks' :: DescribeTasks -> Maybe Text
$sel:include:DescribeTasks' :: DescribeTasks -> Maybe [TaskField]
..} =
[Pair] -> Value
Core.object
( [Maybe Pair] -> [Pair]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
[ (Text
"include" Text -> [TaskField] -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..=) ([TaskField] -> Pair) -> Maybe [TaskField] -> Maybe Pair
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [TaskField]
include,
(Text
"cluster" 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
cluster,
Pair -> Maybe Pair
forall a. a -> Maybe a
Prelude.Just (Text
"tasks" Text -> [Text] -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..= [Text]
tasks)
]
)
instance Core.ToPath DescribeTasks where
toPath :: DescribeTasks -> ByteString
toPath = ByteString -> DescribeTasks -> ByteString
forall a b. a -> b -> a
Prelude.const ByteString
"/"
instance Core.ToQuery DescribeTasks where
toQuery :: DescribeTasks -> QueryString
toQuery = QueryString -> DescribeTasks -> QueryString
forall a b. a -> b -> a
Prelude.const QueryString
forall a. Monoid a => a
Prelude.mempty
data DescribeTasksResponse = DescribeTasksResponse'
{
DescribeTasksResponse -> Maybe [Failure]
failures :: Prelude.Maybe [Failure],
DescribeTasksResponse -> Maybe [Task]
tasks :: Prelude.Maybe [Task],
DescribeTasksResponse -> Int
httpStatus :: Prelude.Int
}
deriving (DescribeTasksResponse -> DescribeTasksResponse -> Bool
(DescribeTasksResponse -> DescribeTasksResponse -> Bool)
-> (DescribeTasksResponse -> DescribeTasksResponse -> Bool)
-> Eq DescribeTasksResponse
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: DescribeTasksResponse -> DescribeTasksResponse -> Bool
$c/= :: DescribeTasksResponse -> DescribeTasksResponse -> Bool
== :: DescribeTasksResponse -> DescribeTasksResponse -> Bool
$c== :: DescribeTasksResponse -> DescribeTasksResponse -> Bool
Prelude.Eq, ReadPrec [DescribeTasksResponse]
ReadPrec DescribeTasksResponse
Int -> ReadS DescribeTasksResponse
ReadS [DescribeTasksResponse]
(Int -> ReadS DescribeTasksResponse)
-> ReadS [DescribeTasksResponse]
-> ReadPrec DescribeTasksResponse
-> ReadPrec [DescribeTasksResponse]
-> Read DescribeTasksResponse
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [DescribeTasksResponse]
$creadListPrec :: ReadPrec [DescribeTasksResponse]
readPrec :: ReadPrec DescribeTasksResponse
$creadPrec :: ReadPrec DescribeTasksResponse
readList :: ReadS [DescribeTasksResponse]
$creadList :: ReadS [DescribeTasksResponse]
readsPrec :: Int -> ReadS DescribeTasksResponse
$creadsPrec :: Int -> ReadS DescribeTasksResponse
Prelude.Read, Int -> DescribeTasksResponse -> ShowS
[DescribeTasksResponse] -> ShowS
DescribeTasksResponse -> String
(Int -> DescribeTasksResponse -> ShowS)
-> (DescribeTasksResponse -> String)
-> ([DescribeTasksResponse] -> ShowS)
-> Show DescribeTasksResponse
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [DescribeTasksResponse] -> ShowS
$cshowList :: [DescribeTasksResponse] -> ShowS
show :: DescribeTasksResponse -> String
$cshow :: DescribeTasksResponse -> String
showsPrec :: Int -> DescribeTasksResponse -> ShowS
$cshowsPrec :: Int -> DescribeTasksResponse -> ShowS
Prelude.Show, (forall x. DescribeTasksResponse -> Rep DescribeTasksResponse x)
-> (forall x. Rep DescribeTasksResponse x -> DescribeTasksResponse)
-> Generic DescribeTasksResponse
forall x. Rep DescribeTasksResponse x -> DescribeTasksResponse
forall x. DescribeTasksResponse -> Rep DescribeTasksResponse x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep DescribeTasksResponse x -> DescribeTasksResponse
$cfrom :: forall x. DescribeTasksResponse -> Rep DescribeTasksResponse x
Prelude.Generic)
newDescribeTasksResponse ::
Prelude.Int ->
DescribeTasksResponse
newDescribeTasksResponse :: Int -> DescribeTasksResponse
newDescribeTasksResponse Int
pHttpStatus_ =
DescribeTasksResponse' :: Maybe [Failure] -> Maybe [Task] -> Int -> DescribeTasksResponse
DescribeTasksResponse'
{ $sel:failures:DescribeTasksResponse' :: Maybe [Failure]
failures = Maybe [Failure]
forall a. Maybe a
Prelude.Nothing,
$sel:tasks:DescribeTasksResponse' :: Maybe [Task]
tasks = Maybe [Task]
forall a. Maybe a
Prelude.Nothing,
$sel:httpStatus:DescribeTasksResponse' :: Int
httpStatus = Int
pHttpStatus_
}
describeTasksResponse_failures :: Lens.Lens' DescribeTasksResponse (Prelude.Maybe [Failure])
describeTasksResponse_failures :: (Maybe [Failure] -> f (Maybe [Failure]))
-> DescribeTasksResponse -> f DescribeTasksResponse
describeTasksResponse_failures = (DescribeTasksResponse -> Maybe [Failure])
-> (DescribeTasksResponse
-> Maybe [Failure] -> DescribeTasksResponse)
-> Lens
DescribeTasksResponse
DescribeTasksResponse
(Maybe [Failure])
(Maybe [Failure])
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeTasksResponse' {Maybe [Failure]
failures :: Maybe [Failure]
$sel:failures:DescribeTasksResponse' :: DescribeTasksResponse -> Maybe [Failure]
failures} -> Maybe [Failure]
failures) (\s :: DescribeTasksResponse
s@DescribeTasksResponse' {} Maybe [Failure]
a -> DescribeTasksResponse
s {$sel:failures:DescribeTasksResponse' :: Maybe [Failure]
failures = Maybe [Failure]
a} :: DescribeTasksResponse) ((Maybe [Failure] -> f (Maybe [Failure]))
-> DescribeTasksResponse -> f DescribeTasksResponse)
-> ((Maybe [Failure] -> f (Maybe [Failure]))
-> Maybe [Failure] -> f (Maybe [Failure]))
-> (Maybe [Failure] -> f (Maybe [Failure]))
-> DescribeTasksResponse
-> f DescribeTasksResponse
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. AnIso [Failure] [Failure] [Failure] [Failure]
-> Iso
(Maybe [Failure])
(Maybe [Failure])
(Maybe [Failure])
(Maybe [Failure])
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 [Failure] [Failure] [Failure] [Failure]
forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced
describeTasksResponse_tasks :: Lens.Lens' DescribeTasksResponse (Prelude.Maybe [Task])
describeTasksResponse_tasks :: (Maybe [Task] -> f (Maybe [Task]))
-> DescribeTasksResponse -> f DescribeTasksResponse
describeTasksResponse_tasks = (DescribeTasksResponse -> Maybe [Task])
-> (DescribeTasksResponse -> Maybe [Task] -> DescribeTasksResponse)
-> Lens
DescribeTasksResponse
DescribeTasksResponse
(Maybe [Task])
(Maybe [Task])
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeTasksResponse' {Maybe [Task]
tasks :: Maybe [Task]
$sel:tasks:DescribeTasksResponse' :: DescribeTasksResponse -> Maybe [Task]
tasks} -> Maybe [Task]
tasks) (\s :: DescribeTasksResponse
s@DescribeTasksResponse' {} Maybe [Task]
a -> DescribeTasksResponse
s {$sel:tasks:DescribeTasksResponse' :: Maybe [Task]
tasks = Maybe [Task]
a} :: DescribeTasksResponse) ((Maybe [Task] -> f (Maybe [Task]))
-> DescribeTasksResponse -> f DescribeTasksResponse)
-> ((Maybe [Task] -> f (Maybe [Task]))
-> Maybe [Task] -> f (Maybe [Task]))
-> (Maybe [Task] -> f (Maybe [Task]))
-> DescribeTasksResponse
-> f DescribeTasksResponse
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. AnIso [Task] [Task] [Task] [Task]
-> Iso (Maybe [Task]) (Maybe [Task]) (Maybe [Task]) (Maybe [Task])
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 [Task] [Task] [Task] [Task]
forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced
describeTasksResponse_httpStatus :: Lens.Lens' DescribeTasksResponse Prelude.Int
describeTasksResponse_httpStatus :: (Int -> f Int) -> DescribeTasksResponse -> f DescribeTasksResponse
describeTasksResponse_httpStatus = (DescribeTasksResponse -> Int)
-> (DescribeTasksResponse -> Int -> DescribeTasksResponse)
-> Lens DescribeTasksResponse DescribeTasksResponse Int Int
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeTasksResponse' {Int
httpStatus :: Int
$sel:httpStatus:DescribeTasksResponse' :: DescribeTasksResponse -> Int
httpStatus} -> Int
httpStatus) (\s :: DescribeTasksResponse
s@DescribeTasksResponse' {} Int
a -> DescribeTasksResponse
s {$sel:httpStatus:DescribeTasksResponse' :: Int
httpStatus = Int
a} :: DescribeTasksResponse)
instance Prelude.NFData DescribeTasksResponse