{-# 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.DataSync.DescribeTaskExecution
(
DescribeTaskExecution (..),
newDescribeTaskExecution,
describeTaskExecution_taskExecutionArn,
DescribeTaskExecutionResponse (..),
newDescribeTaskExecutionResponse,
describeTaskExecutionResponse_status,
describeTaskExecutionResponse_taskExecutionArn,
describeTaskExecutionResponse_startTime,
describeTaskExecutionResponse_filesTransferred,
describeTaskExecutionResponse_bytesWritten,
describeTaskExecutionResponse_bytesTransferred,
describeTaskExecutionResponse_result,
describeTaskExecutionResponse_includes,
describeTaskExecutionResponse_estimatedFilesToTransfer,
describeTaskExecutionResponse_excludes,
describeTaskExecutionResponse_options,
describeTaskExecutionResponse_estimatedBytesToTransfer,
describeTaskExecutionResponse_httpStatus,
)
where
import qualified Amazonka.Core as Core
import Amazonka.DataSync.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 DescribeTaskExecution = DescribeTaskExecution'
{
DescribeTaskExecution -> Text
taskExecutionArn :: Prelude.Text
}
deriving (DescribeTaskExecution -> DescribeTaskExecution -> Bool
(DescribeTaskExecution -> DescribeTaskExecution -> Bool)
-> (DescribeTaskExecution -> DescribeTaskExecution -> Bool)
-> Eq DescribeTaskExecution
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: DescribeTaskExecution -> DescribeTaskExecution -> Bool
$c/= :: DescribeTaskExecution -> DescribeTaskExecution -> Bool
== :: DescribeTaskExecution -> DescribeTaskExecution -> Bool
$c== :: DescribeTaskExecution -> DescribeTaskExecution -> Bool
Prelude.Eq, ReadPrec [DescribeTaskExecution]
ReadPrec DescribeTaskExecution
Int -> ReadS DescribeTaskExecution
ReadS [DescribeTaskExecution]
(Int -> ReadS DescribeTaskExecution)
-> ReadS [DescribeTaskExecution]
-> ReadPrec DescribeTaskExecution
-> ReadPrec [DescribeTaskExecution]
-> Read DescribeTaskExecution
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [DescribeTaskExecution]
$creadListPrec :: ReadPrec [DescribeTaskExecution]
readPrec :: ReadPrec DescribeTaskExecution
$creadPrec :: ReadPrec DescribeTaskExecution
readList :: ReadS [DescribeTaskExecution]
$creadList :: ReadS [DescribeTaskExecution]
readsPrec :: Int -> ReadS DescribeTaskExecution
$creadsPrec :: Int -> ReadS DescribeTaskExecution
Prelude.Read, Int -> DescribeTaskExecution -> ShowS
[DescribeTaskExecution] -> ShowS
DescribeTaskExecution -> String
(Int -> DescribeTaskExecution -> ShowS)
-> (DescribeTaskExecution -> String)
-> ([DescribeTaskExecution] -> ShowS)
-> Show DescribeTaskExecution
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [DescribeTaskExecution] -> ShowS
$cshowList :: [DescribeTaskExecution] -> ShowS
show :: DescribeTaskExecution -> String
$cshow :: DescribeTaskExecution -> String
showsPrec :: Int -> DescribeTaskExecution -> ShowS
$cshowsPrec :: Int -> DescribeTaskExecution -> ShowS
Prelude.Show, (forall x. DescribeTaskExecution -> Rep DescribeTaskExecution x)
-> (forall x. Rep DescribeTaskExecution x -> DescribeTaskExecution)
-> Generic DescribeTaskExecution
forall x. Rep DescribeTaskExecution x -> DescribeTaskExecution
forall x. DescribeTaskExecution -> Rep DescribeTaskExecution x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep DescribeTaskExecution x -> DescribeTaskExecution
$cfrom :: forall x. DescribeTaskExecution -> Rep DescribeTaskExecution x
Prelude.Generic)
newDescribeTaskExecution ::
Prelude.Text ->
DescribeTaskExecution
newDescribeTaskExecution :: Text -> DescribeTaskExecution
newDescribeTaskExecution Text
pTaskExecutionArn_ =
DescribeTaskExecution' :: Text -> DescribeTaskExecution
DescribeTaskExecution'
{ $sel:taskExecutionArn:DescribeTaskExecution' :: Text
taskExecutionArn =
Text
pTaskExecutionArn_
}
describeTaskExecution_taskExecutionArn :: Lens.Lens' DescribeTaskExecution Prelude.Text
describeTaskExecution_taskExecutionArn :: (Text -> f Text)
-> DescribeTaskExecution -> f DescribeTaskExecution
describeTaskExecution_taskExecutionArn = (DescribeTaskExecution -> Text)
-> (DescribeTaskExecution -> Text -> DescribeTaskExecution)
-> Lens DescribeTaskExecution DescribeTaskExecution Text Text
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeTaskExecution' {Text
taskExecutionArn :: Text
$sel:taskExecutionArn:DescribeTaskExecution' :: DescribeTaskExecution -> Text
taskExecutionArn} -> Text
taskExecutionArn) (\s :: DescribeTaskExecution
s@DescribeTaskExecution' {} Text
a -> DescribeTaskExecution
s {$sel:taskExecutionArn:DescribeTaskExecution' :: Text
taskExecutionArn = Text
a} :: DescribeTaskExecution)
instance Core.AWSRequest DescribeTaskExecution where
type
AWSResponse DescribeTaskExecution =
DescribeTaskExecutionResponse
request :: DescribeTaskExecution -> Request DescribeTaskExecution
request = Service -> DescribeTaskExecution -> Request DescribeTaskExecution
forall a. (ToRequest a, ToJSON a) => Service -> a -> Request a
Request.postJSON Service
defaultService
response :: Logger
-> Service
-> Proxy DescribeTaskExecution
-> ClientResponse ClientBody
-> m (Either
Error (ClientResponse (AWSResponse DescribeTaskExecution)))
response =
(Int
-> ResponseHeaders
-> Object
-> Either String (AWSResponse DescribeTaskExecution))
-> Logger
-> Service
-> Proxy DescribeTaskExecution
-> ClientResponse ClientBody
-> m (Either
Error (ClientResponse (AWSResponse DescribeTaskExecution)))
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 TaskExecutionStatus
-> Maybe Text
-> Maybe POSIX
-> Maybe Integer
-> Maybe Integer
-> Maybe Integer
-> Maybe TaskExecutionResultDetail
-> Maybe [FilterRule]
-> Maybe Integer
-> Maybe [FilterRule]
-> Maybe Options
-> Maybe Integer
-> Int
-> DescribeTaskExecutionResponse
DescribeTaskExecutionResponse'
(Maybe TaskExecutionStatus
-> Maybe Text
-> Maybe POSIX
-> Maybe Integer
-> Maybe Integer
-> Maybe Integer
-> Maybe TaskExecutionResultDetail
-> Maybe [FilterRule]
-> Maybe Integer
-> Maybe [FilterRule]
-> Maybe Options
-> Maybe Integer
-> Int
-> DescribeTaskExecutionResponse)
-> Either String (Maybe TaskExecutionStatus)
-> Either
String
(Maybe Text
-> Maybe POSIX
-> Maybe Integer
-> Maybe Integer
-> Maybe Integer
-> Maybe TaskExecutionResultDetail
-> Maybe [FilterRule]
-> Maybe Integer
-> Maybe [FilterRule]
-> Maybe Options
-> Maybe Integer
-> Int
-> DescribeTaskExecutionResponse)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> (Object
x Object -> Text -> Either String (Maybe TaskExecutionStatus)
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"Status")
Either
String
(Maybe Text
-> Maybe POSIX
-> Maybe Integer
-> Maybe Integer
-> Maybe Integer
-> Maybe TaskExecutionResultDetail
-> Maybe [FilterRule]
-> Maybe Integer
-> Maybe [FilterRule]
-> Maybe Options
-> Maybe Integer
-> Int
-> DescribeTaskExecutionResponse)
-> Either String (Maybe Text)
-> Either
String
(Maybe POSIX
-> Maybe Integer
-> Maybe Integer
-> Maybe Integer
-> Maybe TaskExecutionResultDetail
-> Maybe [FilterRule]
-> Maybe Integer
-> Maybe [FilterRule]
-> Maybe Options
-> Maybe Integer
-> Int
-> DescribeTaskExecutionResponse)
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
"TaskExecutionArn")
Either
String
(Maybe POSIX
-> Maybe Integer
-> Maybe Integer
-> Maybe Integer
-> Maybe TaskExecutionResultDetail
-> Maybe [FilterRule]
-> Maybe Integer
-> Maybe [FilterRule]
-> Maybe Options
-> Maybe Integer
-> Int
-> DescribeTaskExecutionResponse)
-> Either String (Maybe POSIX)
-> Either
String
(Maybe Integer
-> Maybe Integer
-> Maybe Integer
-> Maybe TaskExecutionResultDetail
-> Maybe [FilterRule]
-> Maybe Integer
-> Maybe [FilterRule]
-> Maybe Options
-> Maybe Integer
-> Int
-> DescribeTaskExecutionResponse)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Either String (Maybe POSIX)
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"StartTime")
Either
String
(Maybe Integer
-> Maybe Integer
-> Maybe Integer
-> Maybe TaskExecutionResultDetail
-> Maybe [FilterRule]
-> Maybe Integer
-> Maybe [FilterRule]
-> Maybe Options
-> Maybe Integer
-> Int
-> DescribeTaskExecutionResponse)
-> Either String (Maybe Integer)
-> Either
String
(Maybe Integer
-> Maybe Integer
-> Maybe TaskExecutionResultDetail
-> Maybe [FilterRule]
-> Maybe Integer
-> Maybe [FilterRule]
-> Maybe Options
-> Maybe Integer
-> Int
-> DescribeTaskExecutionResponse)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Either String (Maybe Integer)
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"FilesTransferred")
Either
String
(Maybe Integer
-> Maybe Integer
-> Maybe TaskExecutionResultDetail
-> Maybe [FilterRule]
-> Maybe Integer
-> Maybe [FilterRule]
-> Maybe Options
-> Maybe Integer
-> Int
-> DescribeTaskExecutionResponse)
-> Either String (Maybe Integer)
-> Either
String
(Maybe Integer
-> Maybe TaskExecutionResultDetail
-> Maybe [FilterRule]
-> Maybe Integer
-> Maybe [FilterRule]
-> Maybe Options
-> Maybe Integer
-> Int
-> DescribeTaskExecutionResponse)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Either String (Maybe Integer)
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"BytesWritten")
Either
String
(Maybe Integer
-> Maybe TaskExecutionResultDetail
-> Maybe [FilterRule]
-> Maybe Integer
-> Maybe [FilterRule]
-> Maybe Options
-> Maybe Integer
-> Int
-> DescribeTaskExecutionResponse)
-> Either String (Maybe Integer)
-> Either
String
(Maybe TaskExecutionResultDetail
-> Maybe [FilterRule]
-> Maybe Integer
-> Maybe [FilterRule]
-> Maybe Options
-> Maybe Integer
-> Int
-> DescribeTaskExecutionResponse)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Either String (Maybe Integer)
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"BytesTransferred")
Either
String
(Maybe TaskExecutionResultDetail
-> Maybe [FilterRule]
-> Maybe Integer
-> Maybe [FilterRule]
-> Maybe Options
-> Maybe Integer
-> Int
-> DescribeTaskExecutionResponse)
-> Either String (Maybe TaskExecutionResultDetail)
-> Either
String
(Maybe [FilterRule]
-> Maybe Integer
-> Maybe [FilterRule]
-> Maybe Options
-> Maybe Integer
-> Int
-> DescribeTaskExecutionResponse)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Either String (Maybe TaskExecutionResultDetail)
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"Result")
Either
String
(Maybe [FilterRule]
-> Maybe Integer
-> Maybe [FilterRule]
-> Maybe Options
-> Maybe Integer
-> Int
-> DescribeTaskExecutionResponse)
-> Either String (Maybe [FilterRule])
-> Either
String
(Maybe Integer
-> Maybe [FilterRule]
-> Maybe Options
-> Maybe Integer
-> Int
-> DescribeTaskExecutionResponse)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Either String (Maybe (Maybe [FilterRule]))
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"Includes" Either String (Maybe (Maybe [FilterRule]))
-> Maybe [FilterRule] -> Either String (Maybe [FilterRule])
forall (f :: * -> *) a. Functor f => f (Maybe a) -> a -> f a
Core..!@ Maybe [FilterRule]
forall a. Monoid a => a
Prelude.mempty)
Either
String
(Maybe Integer
-> Maybe [FilterRule]
-> Maybe Options
-> Maybe Integer
-> Int
-> DescribeTaskExecutionResponse)
-> Either String (Maybe Integer)
-> Either
String
(Maybe [FilterRule]
-> Maybe Options
-> Maybe Integer
-> Int
-> DescribeTaskExecutionResponse)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Either String (Maybe Integer)
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"EstimatedFilesToTransfer")
Either
String
(Maybe [FilterRule]
-> Maybe Options
-> Maybe Integer
-> Int
-> DescribeTaskExecutionResponse)
-> Either String (Maybe [FilterRule])
-> Either
String
(Maybe Options
-> Maybe Integer -> Int -> DescribeTaskExecutionResponse)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Either String (Maybe (Maybe [FilterRule]))
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"Excludes" Either String (Maybe (Maybe [FilterRule]))
-> Maybe [FilterRule] -> Either String (Maybe [FilterRule])
forall (f :: * -> *) a. Functor f => f (Maybe a) -> a -> f a
Core..!@ Maybe [FilterRule]
forall a. Monoid a => a
Prelude.mempty)
Either
String
(Maybe Options
-> Maybe Integer -> Int -> DescribeTaskExecutionResponse)
-> Either String (Maybe Options)
-> Either
String (Maybe Integer -> Int -> DescribeTaskExecutionResponse)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Either String (Maybe Options)
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"Options")
Either
String (Maybe Integer -> Int -> DescribeTaskExecutionResponse)
-> Either String (Maybe Integer)
-> Either String (Int -> DescribeTaskExecutionResponse)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Either String (Maybe Integer)
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"EstimatedBytesToTransfer")
Either String (Int -> DescribeTaskExecutionResponse)
-> Either String Int -> Either String DescribeTaskExecutionResponse
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 DescribeTaskExecution
instance Prelude.NFData DescribeTaskExecution
instance Core.ToHeaders DescribeTaskExecution where
toHeaders :: DescribeTaskExecution -> ResponseHeaders
toHeaders =
ResponseHeaders -> DescribeTaskExecution -> 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
"FmrsService.DescribeTaskExecution" ::
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 DescribeTaskExecution where
toJSON :: DescribeTaskExecution -> Value
toJSON DescribeTaskExecution' {Text
taskExecutionArn :: Text
$sel:taskExecutionArn:DescribeTaskExecution' :: DescribeTaskExecution -> Text
..} =
[Pair] -> Value
Core.object
( [Maybe Pair] -> [Pair]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
[ Pair -> Maybe Pair
forall a. a -> Maybe a
Prelude.Just
(Text
"TaskExecutionArn" Text -> Text -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..= Text
taskExecutionArn)
]
)
instance Core.ToPath DescribeTaskExecution where
toPath :: DescribeTaskExecution -> ByteString
toPath = ByteString -> DescribeTaskExecution -> ByteString
forall a b. a -> b -> a
Prelude.const ByteString
"/"
instance Core.ToQuery DescribeTaskExecution where
toQuery :: DescribeTaskExecution -> QueryString
toQuery = QueryString -> DescribeTaskExecution -> QueryString
forall a b. a -> b -> a
Prelude.const QueryString
forall a. Monoid a => a
Prelude.mempty
data DescribeTaskExecutionResponse = DescribeTaskExecutionResponse'
{
DescribeTaskExecutionResponse -> Maybe TaskExecutionStatus
status :: Prelude.Maybe TaskExecutionStatus,
DescribeTaskExecutionResponse -> Maybe Text
taskExecutionArn :: Prelude.Maybe Prelude.Text,
DescribeTaskExecutionResponse -> Maybe POSIX
startTime :: Prelude.Maybe Core.POSIX,
DescribeTaskExecutionResponse -> Maybe Integer
filesTransferred :: Prelude.Maybe Prelude.Integer,
DescribeTaskExecutionResponse -> Maybe Integer
bytesWritten :: Prelude.Maybe Prelude.Integer,
DescribeTaskExecutionResponse -> Maybe Integer
bytesTransferred :: Prelude.Maybe Prelude.Integer,
DescribeTaskExecutionResponse -> Maybe TaskExecutionResultDetail
result :: Prelude.Maybe TaskExecutionResultDetail,
DescribeTaskExecutionResponse -> Maybe [FilterRule]
includes :: Prelude.Maybe [FilterRule],
DescribeTaskExecutionResponse -> Maybe Integer
estimatedFilesToTransfer :: Prelude.Maybe Prelude.Integer,
DescribeTaskExecutionResponse -> Maybe [FilterRule]
excludes :: Prelude.Maybe [FilterRule],
DescribeTaskExecutionResponse -> Maybe Options
options :: Prelude.Maybe Options,
DescribeTaskExecutionResponse -> Maybe Integer
estimatedBytesToTransfer :: Prelude.Maybe Prelude.Integer,
DescribeTaskExecutionResponse -> Int
httpStatus :: Prelude.Int
}
deriving (DescribeTaskExecutionResponse
-> DescribeTaskExecutionResponse -> Bool
(DescribeTaskExecutionResponse
-> DescribeTaskExecutionResponse -> Bool)
-> (DescribeTaskExecutionResponse
-> DescribeTaskExecutionResponse -> Bool)
-> Eq DescribeTaskExecutionResponse
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: DescribeTaskExecutionResponse
-> DescribeTaskExecutionResponse -> Bool
$c/= :: DescribeTaskExecutionResponse
-> DescribeTaskExecutionResponse -> Bool
== :: DescribeTaskExecutionResponse
-> DescribeTaskExecutionResponse -> Bool
$c== :: DescribeTaskExecutionResponse
-> DescribeTaskExecutionResponse -> Bool
Prelude.Eq, ReadPrec [DescribeTaskExecutionResponse]
ReadPrec DescribeTaskExecutionResponse
Int -> ReadS DescribeTaskExecutionResponse
ReadS [DescribeTaskExecutionResponse]
(Int -> ReadS DescribeTaskExecutionResponse)
-> ReadS [DescribeTaskExecutionResponse]
-> ReadPrec DescribeTaskExecutionResponse
-> ReadPrec [DescribeTaskExecutionResponse]
-> Read DescribeTaskExecutionResponse
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [DescribeTaskExecutionResponse]
$creadListPrec :: ReadPrec [DescribeTaskExecutionResponse]
readPrec :: ReadPrec DescribeTaskExecutionResponse
$creadPrec :: ReadPrec DescribeTaskExecutionResponse
readList :: ReadS [DescribeTaskExecutionResponse]
$creadList :: ReadS [DescribeTaskExecutionResponse]
readsPrec :: Int -> ReadS DescribeTaskExecutionResponse
$creadsPrec :: Int -> ReadS DescribeTaskExecutionResponse
Prelude.Read, Int -> DescribeTaskExecutionResponse -> ShowS
[DescribeTaskExecutionResponse] -> ShowS
DescribeTaskExecutionResponse -> String
(Int -> DescribeTaskExecutionResponse -> ShowS)
-> (DescribeTaskExecutionResponse -> String)
-> ([DescribeTaskExecutionResponse] -> ShowS)
-> Show DescribeTaskExecutionResponse
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [DescribeTaskExecutionResponse] -> ShowS
$cshowList :: [DescribeTaskExecutionResponse] -> ShowS
show :: DescribeTaskExecutionResponse -> String
$cshow :: DescribeTaskExecutionResponse -> String
showsPrec :: Int -> DescribeTaskExecutionResponse -> ShowS
$cshowsPrec :: Int -> DescribeTaskExecutionResponse -> ShowS
Prelude.Show, (forall x.
DescribeTaskExecutionResponse
-> Rep DescribeTaskExecutionResponse x)
-> (forall x.
Rep DescribeTaskExecutionResponse x
-> DescribeTaskExecutionResponse)
-> Generic DescribeTaskExecutionResponse
forall x.
Rep DescribeTaskExecutionResponse x
-> DescribeTaskExecutionResponse
forall x.
DescribeTaskExecutionResponse
-> Rep DescribeTaskExecutionResponse x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep DescribeTaskExecutionResponse x
-> DescribeTaskExecutionResponse
$cfrom :: forall x.
DescribeTaskExecutionResponse
-> Rep DescribeTaskExecutionResponse x
Prelude.Generic)
newDescribeTaskExecutionResponse ::
Prelude.Int ->
DescribeTaskExecutionResponse
newDescribeTaskExecutionResponse :: Int -> DescribeTaskExecutionResponse
newDescribeTaskExecutionResponse Int
pHttpStatus_ =
DescribeTaskExecutionResponse' :: Maybe TaskExecutionStatus
-> Maybe Text
-> Maybe POSIX
-> Maybe Integer
-> Maybe Integer
-> Maybe Integer
-> Maybe TaskExecutionResultDetail
-> Maybe [FilterRule]
-> Maybe Integer
-> Maybe [FilterRule]
-> Maybe Options
-> Maybe Integer
-> Int
-> DescribeTaskExecutionResponse
DescribeTaskExecutionResponse'
{ $sel:status:DescribeTaskExecutionResponse' :: Maybe TaskExecutionStatus
status =
Maybe TaskExecutionStatus
forall a. Maybe a
Prelude.Nothing,
$sel:taskExecutionArn:DescribeTaskExecutionResponse' :: Maybe Text
taskExecutionArn = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:startTime:DescribeTaskExecutionResponse' :: Maybe POSIX
startTime = Maybe POSIX
forall a. Maybe a
Prelude.Nothing,
$sel:filesTransferred:DescribeTaskExecutionResponse' :: Maybe Integer
filesTransferred = Maybe Integer
forall a. Maybe a
Prelude.Nothing,
$sel:bytesWritten:DescribeTaskExecutionResponse' :: Maybe Integer
bytesWritten = Maybe Integer
forall a. Maybe a
Prelude.Nothing,
$sel:bytesTransferred:DescribeTaskExecutionResponse' :: Maybe Integer
bytesTransferred = Maybe Integer
forall a. Maybe a
Prelude.Nothing,
$sel:result:DescribeTaskExecutionResponse' :: Maybe TaskExecutionResultDetail
result = Maybe TaskExecutionResultDetail
forall a. Maybe a
Prelude.Nothing,
$sel:includes:DescribeTaskExecutionResponse' :: Maybe [FilterRule]
includes = Maybe [FilterRule]
forall a. Maybe a
Prelude.Nothing,
$sel:estimatedFilesToTransfer:DescribeTaskExecutionResponse' :: Maybe Integer
estimatedFilesToTransfer = Maybe Integer
forall a. Maybe a
Prelude.Nothing,
$sel:excludes:DescribeTaskExecutionResponse' :: Maybe [FilterRule]
excludes = Maybe [FilterRule]
forall a. Maybe a
Prelude.Nothing,
$sel:options:DescribeTaskExecutionResponse' :: Maybe Options
options = Maybe Options
forall a. Maybe a
Prelude.Nothing,
$sel:estimatedBytesToTransfer:DescribeTaskExecutionResponse' :: Maybe Integer
estimatedBytesToTransfer = Maybe Integer
forall a. Maybe a
Prelude.Nothing,
$sel:httpStatus:DescribeTaskExecutionResponse' :: Int
httpStatus = Int
pHttpStatus_
}
describeTaskExecutionResponse_status :: Lens.Lens' DescribeTaskExecutionResponse (Prelude.Maybe TaskExecutionStatus)
describeTaskExecutionResponse_status :: (Maybe TaskExecutionStatus -> f (Maybe TaskExecutionStatus))
-> DescribeTaskExecutionResponse -> f DescribeTaskExecutionResponse
describeTaskExecutionResponse_status = (DescribeTaskExecutionResponse -> Maybe TaskExecutionStatus)
-> (DescribeTaskExecutionResponse
-> Maybe TaskExecutionStatus -> DescribeTaskExecutionResponse)
-> Lens
DescribeTaskExecutionResponse
DescribeTaskExecutionResponse
(Maybe TaskExecutionStatus)
(Maybe TaskExecutionStatus)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeTaskExecutionResponse' {Maybe TaskExecutionStatus
status :: Maybe TaskExecutionStatus
$sel:status:DescribeTaskExecutionResponse' :: DescribeTaskExecutionResponse -> Maybe TaskExecutionStatus
status} -> Maybe TaskExecutionStatus
status) (\s :: DescribeTaskExecutionResponse
s@DescribeTaskExecutionResponse' {} Maybe TaskExecutionStatus
a -> DescribeTaskExecutionResponse
s {$sel:status:DescribeTaskExecutionResponse' :: Maybe TaskExecutionStatus
status = Maybe TaskExecutionStatus
a} :: DescribeTaskExecutionResponse)
describeTaskExecutionResponse_taskExecutionArn :: Lens.Lens' DescribeTaskExecutionResponse (Prelude.Maybe Prelude.Text)
describeTaskExecutionResponse_taskExecutionArn :: (Maybe Text -> f (Maybe Text))
-> DescribeTaskExecutionResponse -> f DescribeTaskExecutionResponse
describeTaskExecutionResponse_taskExecutionArn = (DescribeTaskExecutionResponse -> Maybe Text)
-> (DescribeTaskExecutionResponse
-> Maybe Text -> DescribeTaskExecutionResponse)
-> Lens
DescribeTaskExecutionResponse
DescribeTaskExecutionResponse
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeTaskExecutionResponse' {Maybe Text
taskExecutionArn :: Maybe Text
$sel:taskExecutionArn:DescribeTaskExecutionResponse' :: DescribeTaskExecutionResponse -> Maybe Text
taskExecutionArn} -> Maybe Text
taskExecutionArn) (\s :: DescribeTaskExecutionResponse
s@DescribeTaskExecutionResponse' {} Maybe Text
a -> DescribeTaskExecutionResponse
s {$sel:taskExecutionArn:DescribeTaskExecutionResponse' :: Maybe Text
taskExecutionArn = Maybe Text
a} :: DescribeTaskExecutionResponse)
describeTaskExecutionResponse_startTime :: Lens.Lens' DescribeTaskExecutionResponse (Prelude.Maybe Prelude.UTCTime)
describeTaskExecutionResponse_startTime :: (Maybe UTCTime -> f (Maybe UTCTime))
-> DescribeTaskExecutionResponse -> f DescribeTaskExecutionResponse
describeTaskExecutionResponse_startTime = (DescribeTaskExecutionResponse -> Maybe POSIX)
-> (DescribeTaskExecutionResponse
-> Maybe POSIX -> DescribeTaskExecutionResponse)
-> Lens
DescribeTaskExecutionResponse
DescribeTaskExecutionResponse
(Maybe POSIX)
(Maybe POSIX)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeTaskExecutionResponse' {Maybe POSIX
startTime :: Maybe POSIX
$sel:startTime:DescribeTaskExecutionResponse' :: DescribeTaskExecutionResponse -> Maybe POSIX
startTime} -> Maybe POSIX
startTime) (\s :: DescribeTaskExecutionResponse
s@DescribeTaskExecutionResponse' {} Maybe POSIX
a -> DescribeTaskExecutionResponse
s {$sel:startTime:DescribeTaskExecutionResponse' :: Maybe POSIX
startTime = Maybe POSIX
a} :: DescribeTaskExecutionResponse) ((Maybe POSIX -> f (Maybe POSIX))
-> DescribeTaskExecutionResponse
-> f DescribeTaskExecutionResponse)
-> ((Maybe UTCTime -> f (Maybe UTCTime))
-> Maybe POSIX -> f (Maybe POSIX))
-> (Maybe UTCTime -> f (Maybe UTCTime))
-> DescribeTaskExecutionResponse
-> f DescribeTaskExecutionResponse
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. AnIso POSIX POSIX UTCTime UTCTime
-> Iso (Maybe POSIX) (Maybe POSIX) (Maybe UTCTime) (Maybe UTCTime)
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 POSIX POSIX UTCTime UTCTime
forall (a :: Format). Iso' (Time a) UTCTime
Core._Time
describeTaskExecutionResponse_filesTransferred :: Lens.Lens' DescribeTaskExecutionResponse (Prelude.Maybe Prelude.Integer)
describeTaskExecutionResponse_filesTransferred :: (Maybe Integer -> f (Maybe Integer))
-> DescribeTaskExecutionResponse -> f DescribeTaskExecutionResponse
describeTaskExecutionResponse_filesTransferred = (DescribeTaskExecutionResponse -> Maybe Integer)
-> (DescribeTaskExecutionResponse
-> Maybe Integer -> DescribeTaskExecutionResponse)
-> Lens
DescribeTaskExecutionResponse
DescribeTaskExecutionResponse
(Maybe Integer)
(Maybe Integer)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeTaskExecutionResponse' {Maybe Integer
filesTransferred :: Maybe Integer
$sel:filesTransferred:DescribeTaskExecutionResponse' :: DescribeTaskExecutionResponse -> Maybe Integer
filesTransferred} -> Maybe Integer
filesTransferred) (\s :: DescribeTaskExecutionResponse
s@DescribeTaskExecutionResponse' {} Maybe Integer
a -> DescribeTaskExecutionResponse
s {$sel:filesTransferred:DescribeTaskExecutionResponse' :: Maybe Integer
filesTransferred = Maybe Integer
a} :: DescribeTaskExecutionResponse)
describeTaskExecutionResponse_bytesWritten :: Lens.Lens' DescribeTaskExecutionResponse (Prelude.Maybe Prelude.Integer)
describeTaskExecutionResponse_bytesWritten :: (Maybe Integer -> f (Maybe Integer))
-> DescribeTaskExecutionResponse -> f DescribeTaskExecutionResponse
describeTaskExecutionResponse_bytesWritten = (DescribeTaskExecutionResponse -> Maybe Integer)
-> (DescribeTaskExecutionResponse
-> Maybe Integer -> DescribeTaskExecutionResponse)
-> Lens
DescribeTaskExecutionResponse
DescribeTaskExecutionResponse
(Maybe Integer)
(Maybe Integer)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeTaskExecutionResponse' {Maybe Integer
bytesWritten :: Maybe Integer
$sel:bytesWritten:DescribeTaskExecutionResponse' :: DescribeTaskExecutionResponse -> Maybe Integer
bytesWritten} -> Maybe Integer
bytesWritten) (\s :: DescribeTaskExecutionResponse
s@DescribeTaskExecutionResponse' {} Maybe Integer
a -> DescribeTaskExecutionResponse
s {$sel:bytesWritten:DescribeTaskExecutionResponse' :: Maybe Integer
bytesWritten = Maybe Integer
a} :: DescribeTaskExecutionResponse)
describeTaskExecutionResponse_bytesTransferred :: Lens.Lens' DescribeTaskExecutionResponse (Prelude.Maybe Prelude.Integer)
describeTaskExecutionResponse_bytesTransferred :: (Maybe Integer -> f (Maybe Integer))
-> DescribeTaskExecutionResponse -> f DescribeTaskExecutionResponse
describeTaskExecutionResponse_bytesTransferred = (DescribeTaskExecutionResponse -> Maybe Integer)
-> (DescribeTaskExecutionResponse
-> Maybe Integer -> DescribeTaskExecutionResponse)
-> Lens
DescribeTaskExecutionResponse
DescribeTaskExecutionResponse
(Maybe Integer)
(Maybe Integer)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeTaskExecutionResponse' {Maybe Integer
bytesTransferred :: Maybe Integer
$sel:bytesTransferred:DescribeTaskExecutionResponse' :: DescribeTaskExecutionResponse -> Maybe Integer
bytesTransferred} -> Maybe Integer
bytesTransferred) (\s :: DescribeTaskExecutionResponse
s@DescribeTaskExecutionResponse' {} Maybe Integer
a -> DescribeTaskExecutionResponse
s {$sel:bytesTransferred:DescribeTaskExecutionResponse' :: Maybe Integer
bytesTransferred = Maybe Integer
a} :: DescribeTaskExecutionResponse)
describeTaskExecutionResponse_result :: Lens.Lens' DescribeTaskExecutionResponse (Prelude.Maybe TaskExecutionResultDetail)
describeTaskExecutionResponse_result :: (Maybe TaskExecutionResultDetail
-> f (Maybe TaskExecutionResultDetail))
-> DescribeTaskExecutionResponse -> f DescribeTaskExecutionResponse
describeTaskExecutionResponse_result = (DescribeTaskExecutionResponse -> Maybe TaskExecutionResultDetail)
-> (DescribeTaskExecutionResponse
-> Maybe TaskExecutionResultDetail
-> DescribeTaskExecutionResponse)
-> Lens
DescribeTaskExecutionResponse
DescribeTaskExecutionResponse
(Maybe TaskExecutionResultDetail)
(Maybe TaskExecutionResultDetail)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeTaskExecutionResponse' {Maybe TaskExecutionResultDetail
result :: Maybe TaskExecutionResultDetail
$sel:result:DescribeTaskExecutionResponse' :: DescribeTaskExecutionResponse -> Maybe TaskExecutionResultDetail
result} -> Maybe TaskExecutionResultDetail
result) (\s :: DescribeTaskExecutionResponse
s@DescribeTaskExecutionResponse' {} Maybe TaskExecutionResultDetail
a -> DescribeTaskExecutionResponse
s {$sel:result:DescribeTaskExecutionResponse' :: Maybe TaskExecutionResultDetail
result = Maybe TaskExecutionResultDetail
a} :: DescribeTaskExecutionResponse)
describeTaskExecutionResponse_includes :: Lens.Lens' DescribeTaskExecutionResponse (Prelude.Maybe [FilterRule])
describeTaskExecutionResponse_includes :: (Maybe [FilterRule] -> f (Maybe [FilterRule]))
-> DescribeTaskExecutionResponse -> f DescribeTaskExecutionResponse
describeTaskExecutionResponse_includes = (DescribeTaskExecutionResponse -> Maybe [FilterRule])
-> (DescribeTaskExecutionResponse
-> Maybe [FilterRule] -> DescribeTaskExecutionResponse)
-> Lens
DescribeTaskExecutionResponse
DescribeTaskExecutionResponse
(Maybe [FilterRule])
(Maybe [FilterRule])
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeTaskExecutionResponse' {Maybe [FilterRule]
includes :: Maybe [FilterRule]
$sel:includes:DescribeTaskExecutionResponse' :: DescribeTaskExecutionResponse -> Maybe [FilterRule]
includes} -> Maybe [FilterRule]
includes) (\s :: DescribeTaskExecutionResponse
s@DescribeTaskExecutionResponse' {} Maybe [FilterRule]
a -> DescribeTaskExecutionResponse
s {$sel:includes:DescribeTaskExecutionResponse' :: Maybe [FilterRule]
includes = Maybe [FilterRule]
a} :: DescribeTaskExecutionResponse) ((Maybe [FilterRule] -> f (Maybe [FilterRule]))
-> DescribeTaskExecutionResponse
-> f DescribeTaskExecutionResponse)
-> ((Maybe [FilterRule] -> f (Maybe [FilterRule]))
-> Maybe [FilterRule] -> f (Maybe [FilterRule]))
-> (Maybe [FilterRule] -> f (Maybe [FilterRule]))
-> DescribeTaskExecutionResponse
-> f DescribeTaskExecutionResponse
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. AnIso [FilterRule] [FilterRule] [FilterRule] [FilterRule]
-> Iso
(Maybe [FilterRule])
(Maybe [FilterRule])
(Maybe [FilterRule])
(Maybe [FilterRule])
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 [FilterRule] [FilterRule] [FilterRule] [FilterRule]
forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced
describeTaskExecutionResponse_estimatedFilesToTransfer :: Lens.Lens' DescribeTaskExecutionResponse (Prelude.Maybe Prelude.Integer)
describeTaskExecutionResponse_estimatedFilesToTransfer :: (Maybe Integer -> f (Maybe Integer))
-> DescribeTaskExecutionResponse -> f DescribeTaskExecutionResponse
describeTaskExecutionResponse_estimatedFilesToTransfer = (DescribeTaskExecutionResponse -> Maybe Integer)
-> (DescribeTaskExecutionResponse
-> Maybe Integer -> DescribeTaskExecutionResponse)
-> Lens
DescribeTaskExecutionResponse
DescribeTaskExecutionResponse
(Maybe Integer)
(Maybe Integer)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeTaskExecutionResponse' {Maybe Integer
estimatedFilesToTransfer :: Maybe Integer
$sel:estimatedFilesToTransfer:DescribeTaskExecutionResponse' :: DescribeTaskExecutionResponse -> Maybe Integer
estimatedFilesToTransfer} -> Maybe Integer
estimatedFilesToTransfer) (\s :: DescribeTaskExecutionResponse
s@DescribeTaskExecutionResponse' {} Maybe Integer
a -> DescribeTaskExecutionResponse
s {$sel:estimatedFilesToTransfer:DescribeTaskExecutionResponse' :: Maybe Integer
estimatedFilesToTransfer = Maybe Integer
a} :: DescribeTaskExecutionResponse)
describeTaskExecutionResponse_excludes :: Lens.Lens' DescribeTaskExecutionResponse (Prelude.Maybe [FilterRule])
describeTaskExecutionResponse_excludes :: (Maybe [FilterRule] -> f (Maybe [FilterRule]))
-> DescribeTaskExecutionResponse -> f DescribeTaskExecutionResponse
describeTaskExecutionResponse_excludes = (DescribeTaskExecutionResponse -> Maybe [FilterRule])
-> (DescribeTaskExecutionResponse
-> Maybe [FilterRule] -> DescribeTaskExecutionResponse)
-> Lens
DescribeTaskExecutionResponse
DescribeTaskExecutionResponse
(Maybe [FilterRule])
(Maybe [FilterRule])
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeTaskExecutionResponse' {Maybe [FilterRule]
excludes :: Maybe [FilterRule]
$sel:excludes:DescribeTaskExecutionResponse' :: DescribeTaskExecutionResponse -> Maybe [FilterRule]
excludes} -> Maybe [FilterRule]
excludes) (\s :: DescribeTaskExecutionResponse
s@DescribeTaskExecutionResponse' {} Maybe [FilterRule]
a -> DescribeTaskExecutionResponse
s {$sel:excludes:DescribeTaskExecutionResponse' :: Maybe [FilterRule]
excludes = Maybe [FilterRule]
a} :: DescribeTaskExecutionResponse) ((Maybe [FilterRule] -> f (Maybe [FilterRule]))
-> DescribeTaskExecutionResponse
-> f DescribeTaskExecutionResponse)
-> ((Maybe [FilterRule] -> f (Maybe [FilterRule]))
-> Maybe [FilterRule] -> f (Maybe [FilterRule]))
-> (Maybe [FilterRule] -> f (Maybe [FilterRule]))
-> DescribeTaskExecutionResponse
-> f DescribeTaskExecutionResponse
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. AnIso [FilterRule] [FilterRule] [FilterRule] [FilterRule]
-> Iso
(Maybe [FilterRule])
(Maybe [FilterRule])
(Maybe [FilterRule])
(Maybe [FilterRule])
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 [FilterRule] [FilterRule] [FilterRule] [FilterRule]
forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced
describeTaskExecutionResponse_options :: Lens.Lens' DescribeTaskExecutionResponse (Prelude.Maybe Options)
describeTaskExecutionResponse_options :: (Maybe Options -> f (Maybe Options))
-> DescribeTaskExecutionResponse -> f DescribeTaskExecutionResponse
describeTaskExecutionResponse_options = (DescribeTaskExecutionResponse -> Maybe Options)
-> (DescribeTaskExecutionResponse
-> Maybe Options -> DescribeTaskExecutionResponse)
-> Lens
DescribeTaskExecutionResponse
DescribeTaskExecutionResponse
(Maybe Options)
(Maybe Options)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeTaskExecutionResponse' {Maybe Options
options :: Maybe Options
$sel:options:DescribeTaskExecutionResponse' :: DescribeTaskExecutionResponse -> Maybe Options
options} -> Maybe Options
options) (\s :: DescribeTaskExecutionResponse
s@DescribeTaskExecutionResponse' {} Maybe Options
a -> DescribeTaskExecutionResponse
s {$sel:options:DescribeTaskExecutionResponse' :: Maybe Options
options = Maybe Options
a} :: DescribeTaskExecutionResponse)
describeTaskExecutionResponse_estimatedBytesToTransfer :: Lens.Lens' DescribeTaskExecutionResponse (Prelude.Maybe Prelude.Integer)
describeTaskExecutionResponse_estimatedBytesToTransfer :: (Maybe Integer -> f (Maybe Integer))
-> DescribeTaskExecutionResponse -> f DescribeTaskExecutionResponse
describeTaskExecutionResponse_estimatedBytesToTransfer = (DescribeTaskExecutionResponse -> Maybe Integer)
-> (DescribeTaskExecutionResponse
-> Maybe Integer -> DescribeTaskExecutionResponse)
-> Lens
DescribeTaskExecutionResponse
DescribeTaskExecutionResponse
(Maybe Integer)
(Maybe Integer)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeTaskExecutionResponse' {Maybe Integer
estimatedBytesToTransfer :: Maybe Integer
$sel:estimatedBytesToTransfer:DescribeTaskExecutionResponse' :: DescribeTaskExecutionResponse -> Maybe Integer
estimatedBytesToTransfer} -> Maybe Integer
estimatedBytesToTransfer) (\s :: DescribeTaskExecutionResponse
s@DescribeTaskExecutionResponse' {} Maybe Integer
a -> DescribeTaskExecutionResponse
s {$sel:estimatedBytesToTransfer:DescribeTaskExecutionResponse' :: Maybe Integer
estimatedBytesToTransfer = Maybe Integer
a} :: DescribeTaskExecutionResponse)
describeTaskExecutionResponse_httpStatus :: Lens.Lens' DescribeTaskExecutionResponse Prelude.Int
describeTaskExecutionResponse_httpStatus :: (Int -> f Int)
-> DescribeTaskExecutionResponse -> f DescribeTaskExecutionResponse
describeTaskExecutionResponse_httpStatus = (DescribeTaskExecutionResponse -> Int)
-> (DescribeTaskExecutionResponse
-> Int -> DescribeTaskExecutionResponse)
-> Lens
DescribeTaskExecutionResponse DescribeTaskExecutionResponse Int Int
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeTaskExecutionResponse' {Int
httpStatus :: Int
$sel:httpStatus:DescribeTaskExecutionResponse' :: DescribeTaskExecutionResponse -> Int
httpStatus} -> Int
httpStatus) (\s :: DescribeTaskExecutionResponse
s@DescribeTaskExecutionResponse' {} Int
a -> DescribeTaskExecutionResponse
s {$sel:httpStatus:DescribeTaskExecutionResponse' :: Int
httpStatus = Int
a} :: DescribeTaskExecutionResponse)
instance Prelude.NFData DescribeTaskExecutionResponse