{-# 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 #-}

-- Derived from AWS service descriptions, licensed under Apache 2.0.

-- |
-- Module      : Amazonka.StepFunctions.DescribeExecution
-- Copyright   : (c) 2013-2021 Brendan Hay
-- License     : Mozilla Public License, v. 2.0.
-- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com>
-- Stability   : auto-generated
-- Portability : non-portable (GHC extensions)
--
-- Describes an execution.
--
-- This operation is eventually consistent. The results are best effort and
-- may not reflect very recent updates and changes.
--
-- This API action is not supported by @EXPRESS@ state machines.
module Amazonka.StepFunctions.DescribeExecution
  ( -- * Creating a Request
    DescribeExecution (..),
    newDescribeExecution,

    -- * Request Lenses
    describeExecution_executionArn,

    -- * Destructuring the Response
    DescribeExecutionResponse (..),
    newDescribeExecutionResponse,

    -- * Response Lenses
    describeExecutionResponse_stopDate,
    describeExecutionResponse_inputDetails,
    describeExecutionResponse_input,
    describeExecutionResponse_name,
    describeExecutionResponse_output,
    describeExecutionResponse_outputDetails,
    describeExecutionResponse_traceHeader,
    describeExecutionResponse_httpStatus,
    describeExecutionResponse_executionArn,
    describeExecutionResponse_stateMachineArn,
    describeExecutionResponse_status,
    describeExecutionResponse_startDate,
  )
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.StepFunctions.Types

-- | /See:/ 'newDescribeExecution' smart constructor.
data DescribeExecution = DescribeExecution'
  { -- | The Amazon Resource Name (ARN) of the execution to describe.
    DescribeExecution -> Text
executionArn :: Prelude.Text
  }
  deriving (DescribeExecution -> DescribeExecution -> Bool
(DescribeExecution -> DescribeExecution -> Bool)
-> (DescribeExecution -> DescribeExecution -> Bool)
-> Eq DescribeExecution
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: DescribeExecution -> DescribeExecution -> Bool
$c/= :: DescribeExecution -> DescribeExecution -> Bool
== :: DescribeExecution -> DescribeExecution -> Bool
$c== :: DescribeExecution -> DescribeExecution -> Bool
Prelude.Eq, ReadPrec [DescribeExecution]
ReadPrec DescribeExecution
Int -> ReadS DescribeExecution
ReadS [DescribeExecution]
(Int -> ReadS DescribeExecution)
-> ReadS [DescribeExecution]
-> ReadPrec DescribeExecution
-> ReadPrec [DescribeExecution]
-> Read DescribeExecution
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [DescribeExecution]
$creadListPrec :: ReadPrec [DescribeExecution]
readPrec :: ReadPrec DescribeExecution
$creadPrec :: ReadPrec DescribeExecution
readList :: ReadS [DescribeExecution]
$creadList :: ReadS [DescribeExecution]
readsPrec :: Int -> ReadS DescribeExecution
$creadsPrec :: Int -> ReadS DescribeExecution
Prelude.Read, Int -> DescribeExecution -> ShowS
[DescribeExecution] -> ShowS
DescribeExecution -> String
(Int -> DescribeExecution -> ShowS)
-> (DescribeExecution -> String)
-> ([DescribeExecution] -> ShowS)
-> Show DescribeExecution
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [DescribeExecution] -> ShowS
$cshowList :: [DescribeExecution] -> ShowS
show :: DescribeExecution -> String
$cshow :: DescribeExecution -> String
showsPrec :: Int -> DescribeExecution -> ShowS
$cshowsPrec :: Int -> DescribeExecution -> ShowS
Prelude.Show, (forall x. DescribeExecution -> Rep DescribeExecution x)
-> (forall x. Rep DescribeExecution x -> DescribeExecution)
-> Generic DescribeExecution
forall x. Rep DescribeExecution x -> DescribeExecution
forall x. DescribeExecution -> Rep DescribeExecution x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep DescribeExecution x -> DescribeExecution
$cfrom :: forall x. DescribeExecution -> Rep DescribeExecution x
Prelude.Generic)

-- |
-- Create a value of 'DescribeExecution' with all optional fields omitted.
--
-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.
--
-- The following record fields are available, with the corresponding lenses provided
-- for backwards compatibility:
--
-- 'executionArn', 'describeExecution_executionArn' - The Amazon Resource Name (ARN) of the execution to describe.
newDescribeExecution ::
  -- | 'executionArn'
  Prelude.Text ->
  DescribeExecution
newDescribeExecution :: Text -> DescribeExecution
newDescribeExecution Text
pExecutionArn_ =
  DescribeExecution' :: Text -> DescribeExecution
DescribeExecution' {$sel:executionArn:DescribeExecution' :: Text
executionArn = Text
pExecutionArn_}

-- | The Amazon Resource Name (ARN) of the execution to describe.
describeExecution_executionArn :: Lens.Lens' DescribeExecution Prelude.Text
describeExecution_executionArn :: (Text -> f Text) -> DescribeExecution -> f DescribeExecution
describeExecution_executionArn = (DescribeExecution -> Text)
-> (DescribeExecution -> Text -> DescribeExecution)
-> Lens DescribeExecution DescribeExecution Text Text
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeExecution' {Text
executionArn :: Text
$sel:executionArn:DescribeExecution' :: DescribeExecution -> Text
executionArn} -> Text
executionArn) (\s :: DescribeExecution
s@DescribeExecution' {} Text
a -> DescribeExecution
s {$sel:executionArn:DescribeExecution' :: Text
executionArn = Text
a} :: DescribeExecution)

instance Core.AWSRequest DescribeExecution where
  type
    AWSResponse DescribeExecution =
      DescribeExecutionResponse
  request :: DescribeExecution -> Request DescribeExecution
request = Service -> DescribeExecution -> Request DescribeExecution
forall a. (ToRequest a, ToJSON a) => Service -> a -> Request a
Request.postJSON Service
defaultService
  response :: Logger
-> Service
-> Proxy DescribeExecution
-> ClientResponse ClientBody
-> m (Either
        Error (ClientResponse (AWSResponse DescribeExecution)))
response =
    (Int
 -> ResponseHeaders
 -> Object
 -> Either String (AWSResponse DescribeExecution))
-> Logger
-> Service
-> Proxy DescribeExecution
-> ClientResponse ClientBody
-> m (Either
        Error (ClientResponse (AWSResponse DescribeExecution)))
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 POSIX
-> Maybe CloudWatchEventsExecutionDataDetails
-> Maybe (Sensitive Text)
-> Maybe Text
-> Maybe (Sensitive Text)
-> Maybe CloudWatchEventsExecutionDataDetails
-> Maybe Text
-> Int
-> Text
-> Text
-> ExecutionStatus
-> POSIX
-> DescribeExecutionResponse
DescribeExecutionResponse'
            (Maybe POSIX
 -> Maybe CloudWatchEventsExecutionDataDetails
 -> Maybe (Sensitive Text)
 -> Maybe Text
 -> Maybe (Sensitive Text)
 -> Maybe CloudWatchEventsExecutionDataDetails
 -> Maybe Text
 -> Int
 -> Text
 -> Text
 -> ExecutionStatus
 -> POSIX
 -> DescribeExecutionResponse)
-> Either String (Maybe POSIX)
-> Either
     String
     (Maybe CloudWatchEventsExecutionDataDetails
      -> Maybe (Sensitive Text)
      -> Maybe Text
      -> Maybe (Sensitive Text)
      -> Maybe CloudWatchEventsExecutionDataDetails
      -> Maybe Text
      -> Int
      -> Text
      -> Text
      -> ExecutionStatus
      -> POSIX
      -> DescribeExecutionResponse)
forall (f :: * -> *) a b. Functor 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
"stopDate")
            Either
  String
  (Maybe CloudWatchEventsExecutionDataDetails
   -> Maybe (Sensitive Text)
   -> Maybe Text
   -> Maybe (Sensitive Text)
   -> Maybe CloudWatchEventsExecutionDataDetails
   -> Maybe Text
   -> Int
   -> Text
   -> Text
   -> ExecutionStatus
   -> POSIX
   -> DescribeExecutionResponse)
-> Either String (Maybe CloudWatchEventsExecutionDataDetails)
-> Either
     String
     (Maybe (Sensitive Text)
      -> Maybe Text
      -> Maybe (Sensitive Text)
      -> Maybe CloudWatchEventsExecutionDataDetails
      -> Maybe Text
      -> Int
      -> Text
      -> Text
      -> ExecutionStatus
      -> POSIX
      -> DescribeExecutionResponse)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object
-> Text
-> Either String (Maybe CloudWatchEventsExecutionDataDetails)
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"inputDetails")
            Either
  String
  (Maybe (Sensitive Text)
   -> Maybe Text
   -> Maybe (Sensitive Text)
   -> Maybe CloudWatchEventsExecutionDataDetails
   -> Maybe Text
   -> Int
   -> Text
   -> Text
   -> ExecutionStatus
   -> POSIX
   -> DescribeExecutionResponse)
-> Either String (Maybe (Sensitive Text))
-> Either
     String
     (Maybe Text
      -> Maybe (Sensitive Text)
      -> Maybe CloudWatchEventsExecutionDataDetails
      -> Maybe Text
      -> Int
      -> Text
      -> Text
      -> ExecutionStatus
      -> POSIX
      -> DescribeExecutionResponse)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Either String (Maybe (Sensitive Text))
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"input")
            Either
  String
  (Maybe Text
   -> Maybe (Sensitive Text)
   -> Maybe CloudWatchEventsExecutionDataDetails
   -> Maybe Text
   -> Int
   -> Text
   -> Text
   -> ExecutionStatus
   -> POSIX
   -> DescribeExecutionResponse)
-> Either String (Maybe Text)
-> Either
     String
     (Maybe (Sensitive Text)
      -> Maybe CloudWatchEventsExecutionDataDetails
      -> Maybe Text
      -> Int
      -> Text
      -> Text
      -> ExecutionStatus
      -> POSIX
      -> DescribeExecutionResponse)
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
"name")
            Either
  String
  (Maybe (Sensitive Text)
   -> Maybe CloudWatchEventsExecutionDataDetails
   -> Maybe Text
   -> Int
   -> Text
   -> Text
   -> ExecutionStatus
   -> POSIX
   -> DescribeExecutionResponse)
-> Either String (Maybe (Sensitive Text))
-> Either
     String
     (Maybe CloudWatchEventsExecutionDataDetails
      -> Maybe Text
      -> Int
      -> Text
      -> Text
      -> ExecutionStatus
      -> POSIX
      -> DescribeExecutionResponse)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Either String (Maybe (Sensitive Text))
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"output")
            Either
  String
  (Maybe CloudWatchEventsExecutionDataDetails
   -> Maybe Text
   -> Int
   -> Text
   -> Text
   -> ExecutionStatus
   -> POSIX
   -> DescribeExecutionResponse)
-> Either String (Maybe CloudWatchEventsExecutionDataDetails)
-> Either
     String
     (Maybe Text
      -> Int
      -> Text
      -> Text
      -> ExecutionStatus
      -> POSIX
      -> DescribeExecutionResponse)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object
-> Text
-> Either String (Maybe CloudWatchEventsExecutionDataDetails)
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"outputDetails")
            Either
  String
  (Maybe Text
   -> Int
   -> Text
   -> Text
   -> ExecutionStatus
   -> POSIX
   -> DescribeExecutionResponse)
-> Either String (Maybe Text)
-> Either
     String
     (Int
      -> Text
      -> Text
      -> ExecutionStatus
      -> POSIX
      -> DescribeExecutionResponse)
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
"traceHeader")
            Either
  String
  (Int
   -> Text
   -> Text
   -> ExecutionStatus
   -> POSIX
   -> DescribeExecutionResponse)
-> Either String Int
-> Either
     String
     (Text
      -> Text -> ExecutionStatus -> POSIX -> DescribeExecutionResponse)
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))
            Either
  String
  (Text
   -> Text -> ExecutionStatus -> POSIX -> DescribeExecutionResponse)
-> Either String Text
-> Either
     String
     (Text -> ExecutionStatus -> POSIX -> DescribeExecutionResponse)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Either String Text
forall a. FromJSON a => Object -> Text -> Either String a
Core..:> Text
"executionArn")
            Either
  String
  (Text -> ExecutionStatus -> POSIX -> DescribeExecutionResponse)
-> Either String Text
-> Either
     String (ExecutionStatus -> POSIX -> DescribeExecutionResponse)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Either String Text
forall a. FromJSON a => Object -> Text -> Either String a
Core..:> Text
"stateMachineArn")
            Either
  String (ExecutionStatus -> POSIX -> DescribeExecutionResponse)
-> Either String ExecutionStatus
-> Either String (POSIX -> DescribeExecutionResponse)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Either String ExecutionStatus
forall a. FromJSON a => Object -> Text -> Either String a
Core..:> Text
"status")
            Either String (POSIX -> DescribeExecutionResponse)
-> Either String POSIX -> Either String DescribeExecutionResponse
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Either String POSIX
forall a. FromJSON a => Object -> Text -> Either String a
Core..:> Text
"startDate")
      )

instance Prelude.Hashable DescribeExecution

instance Prelude.NFData DescribeExecution

instance Core.ToHeaders DescribeExecution where
  toHeaders :: DescribeExecution -> ResponseHeaders
toHeaders =
    ResponseHeaders -> DescribeExecution -> 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
"AWSStepFunctions.DescribeExecution" ::
                          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 DescribeExecution where
  toJSON :: DescribeExecution -> Value
toJSON DescribeExecution' {Text
executionArn :: Text
$sel:executionArn:DescribeExecution' :: DescribeExecution -> 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
"executionArn" Text -> Text -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..= Text
executionArn)]
      )

instance Core.ToPath DescribeExecution where
  toPath :: DescribeExecution -> ByteString
toPath = ByteString -> DescribeExecution -> ByteString
forall a b. a -> b -> a
Prelude.const ByteString
"/"

instance Core.ToQuery DescribeExecution where
  toQuery :: DescribeExecution -> QueryString
toQuery = QueryString -> DescribeExecution -> QueryString
forall a b. a -> b -> a
Prelude.const QueryString
forall a. Monoid a => a
Prelude.mempty

-- | /See:/ 'newDescribeExecutionResponse' smart constructor.
data DescribeExecutionResponse = DescribeExecutionResponse'
  { -- | If the execution has already ended, the date the execution stopped.
    DescribeExecutionResponse -> Maybe POSIX
stopDate :: Prelude.Maybe Core.POSIX,
    DescribeExecutionResponse
-> Maybe CloudWatchEventsExecutionDataDetails
inputDetails :: Prelude.Maybe CloudWatchEventsExecutionDataDetails,
    -- | The string that contains the JSON input data of the execution. Length
    -- constraints apply to the payload size, and are expressed as bytes in
    -- UTF-8 encoding.
    DescribeExecutionResponse -> Maybe (Sensitive Text)
input :: Prelude.Maybe (Core.Sensitive Prelude.Text),
    -- | The name of the execution.
    --
    -- A name must /not/ contain:
    --
    -- -   white space
    --
    -- -   brackets @\< > { } [ ]@
    --
    -- -   wildcard characters @? *@
    --
    -- -   special characters @\" # % \\ ^ | ~ \` $ & , ; : \/@
    --
    -- -   control characters (@U+0000-001F@, @U+007F-009F@)
    --
    -- To enable logging with CloudWatch Logs, the name should only contain
    -- 0-9, A-Z, a-z, - and _.
    DescribeExecutionResponse -> Maybe Text
name :: Prelude.Maybe Prelude.Text,
    -- | The JSON output data of the execution. Length constraints apply to the
    -- payload size, and are expressed as bytes in UTF-8 encoding.
    --
    -- This field is set only if the execution succeeds. If the execution
    -- fails, this field is null.
    DescribeExecutionResponse -> Maybe (Sensitive Text)
output :: Prelude.Maybe (Core.Sensitive Prelude.Text),
    DescribeExecutionResponse
-> Maybe CloudWatchEventsExecutionDataDetails
outputDetails :: Prelude.Maybe CloudWatchEventsExecutionDataDetails,
    -- | The AWS X-Ray trace header that was passed to the execution.
    DescribeExecutionResponse -> Maybe Text
traceHeader :: Prelude.Maybe Prelude.Text,
    -- | The response's http status code.
    DescribeExecutionResponse -> Int
httpStatus :: Prelude.Int,
    -- | The Amazon Resource Name (ARN) that identifies the execution.
    DescribeExecutionResponse -> Text
executionArn :: Prelude.Text,
    -- | The Amazon Resource Name (ARN) of the executed stated machine.
    DescribeExecutionResponse -> Text
stateMachineArn :: Prelude.Text,
    -- | The current status of the execution.
    DescribeExecutionResponse -> ExecutionStatus
status :: ExecutionStatus,
    -- | The date the execution is started.
    DescribeExecutionResponse -> POSIX
startDate :: Core.POSIX
  }
  deriving (DescribeExecutionResponse -> DescribeExecutionResponse -> Bool
(DescribeExecutionResponse -> DescribeExecutionResponse -> Bool)
-> (DescribeExecutionResponse -> DescribeExecutionResponse -> Bool)
-> Eq DescribeExecutionResponse
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: DescribeExecutionResponse -> DescribeExecutionResponse -> Bool
$c/= :: DescribeExecutionResponse -> DescribeExecutionResponse -> Bool
== :: DescribeExecutionResponse -> DescribeExecutionResponse -> Bool
$c== :: DescribeExecutionResponse -> DescribeExecutionResponse -> Bool
Prelude.Eq, Int -> DescribeExecutionResponse -> ShowS
[DescribeExecutionResponse] -> ShowS
DescribeExecutionResponse -> String
(Int -> DescribeExecutionResponse -> ShowS)
-> (DescribeExecutionResponse -> String)
-> ([DescribeExecutionResponse] -> ShowS)
-> Show DescribeExecutionResponse
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [DescribeExecutionResponse] -> ShowS
$cshowList :: [DescribeExecutionResponse] -> ShowS
show :: DescribeExecutionResponse -> String
$cshow :: DescribeExecutionResponse -> String
showsPrec :: Int -> DescribeExecutionResponse -> ShowS
$cshowsPrec :: Int -> DescribeExecutionResponse -> ShowS
Prelude.Show, (forall x.
 DescribeExecutionResponse -> Rep DescribeExecutionResponse x)
-> (forall x.
    Rep DescribeExecutionResponse x -> DescribeExecutionResponse)
-> Generic DescribeExecutionResponse
forall x.
Rep DescribeExecutionResponse x -> DescribeExecutionResponse
forall x.
DescribeExecutionResponse -> Rep DescribeExecutionResponse x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep DescribeExecutionResponse x -> DescribeExecutionResponse
$cfrom :: forall x.
DescribeExecutionResponse -> Rep DescribeExecutionResponse x
Prelude.Generic)

-- |
-- Create a value of 'DescribeExecutionResponse' with all optional fields omitted.
--
-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.
--
-- The following record fields are available, with the corresponding lenses provided
-- for backwards compatibility:
--
-- 'stopDate', 'describeExecutionResponse_stopDate' - If the execution has already ended, the date the execution stopped.
--
-- 'inputDetails', 'describeExecutionResponse_inputDetails' - Undocumented member.
--
-- 'input', 'describeExecutionResponse_input' - The string that contains the JSON input data of the execution. Length
-- constraints apply to the payload size, and are expressed as bytes in
-- UTF-8 encoding.
--
-- 'name', 'describeExecutionResponse_name' - The name of the execution.
--
-- A name must /not/ contain:
--
-- -   white space
--
-- -   brackets @\< > { } [ ]@
--
-- -   wildcard characters @? *@
--
-- -   special characters @\" # % \\ ^ | ~ \` $ & , ; : \/@
--
-- -   control characters (@U+0000-001F@, @U+007F-009F@)
--
-- To enable logging with CloudWatch Logs, the name should only contain
-- 0-9, A-Z, a-z, - and _.
--
-- 'output', 'describeExecutionResponse_output' - The JSON output data of the execution. Length constraints apply to the
-- payload size, and are expressed as bytes in UTF-8 encoding.
--
-- This field is set only if the execution succeeds. If the execution
-- fails, this field is null.
--
-- 'outputDetails', 'describeExecutionResponse_outputDetails' - Undocumented member.
--
-- 'traceHeader', 'describeExecutionResponse_traceHeader' - The AWS X-Ray trace header that was passed to the execution.
--
-- 'httpStatus', 'describeExecutionResponse_httpStatus' - The response's http status code.
--
-- 'executionArn', 'describeExecutionResponse_executionArn' - The Amazon Resource Name (ARN) that identifies the execution.
--
-- 'stateMachineArn', 'describeExecutionResponse_stateMachineArn' - The Amazon Resource Name (ARN) of the executed stated machine.
--
-- 'status', 'describeExecutionResponse_status' - The current status of the execution.
--
-- 'startDate', 'describeExecutionResponse_startDate' - The date the execution is started.
newDescribeExecutionResponse ::
  -- | 'httpStatus'
  Prelude.Int ->
  -- | 'executionArn'
  Prelude.Text ->
  -- | 'stateMachineArn'
  Prelude.Text ->
  -- | 'status'
  ExecutionStatus ->
  -- | 'startDate'
  Prelude.UTCTime ->
  DescribeExecutionResponse
newDescribeExecutionResponse :: Int
-> Text
-> Text
-> ExecutionStatus
-> UTCTime
-> DescribeExecutionResponse
newDescribeExecutionResponse
  Int
pHttpStatus_
  Text
pExecutionArn_
  Text
pStateMachineArn_
  ExecutionStatus
pStatus_
  UTCTime
pStartDate_ =
    DescribeExecutionResponse' :: Maybe POSIX
-> Maybe CloudWatchEventsExecutionDataDetails
-> Maybe (Sensitive Text)
-> Maybe Text
-> Maybe (Sensitive Text)
-> Maybe CloudWatchEventsExecutionDataDetails
-> Maybe Text
-> Int
-> Text
-> Text
-> ExecutionStatus
-> POSIX
-> DescribeExecutionResponse
DescribeExecutionResponse'
      { $sel:stopDate:DescribeExecutionResponse' :: Maybe POSIX
stopDate =
          Maybe POSIX
forall a. Maybe a
Prelude.Nothing,
        $sel:inputDetails:DescribeExecutionResponse' :: Maybe CloudWatchEventsExecutionDataDetails
inputDetails = Maybe CloudWatchEventsExecutionDataDetails
forall a. Maybe a
Prelude.Nothing,
        $sel:input:DescribeExecutionResponse' :: Maybe (Sensitive Text)
input = Maybe (Sensitive Text)
forall a. Maybe a
Prelude.Nothing,
        $sel:name:DescribeExecutionResponse' :: Maybe Text
name = Maybe Text
forall a. Maybe a
Prelude.Nothing,
        $sel:output:DescribeExecutionResponse' :: Maybe (Sensitive Text)
output = Maybe (Sensitive Text)
forall a. Maybe a
Prelude.Nothing,
        $sel:outputDetails:DescribeExecutionResponse' :: Maybe CloudWatchEventsExecutionDataDetails
outputDetails = Maybe CloudWatchEventsExecutionDataDetails
forall a. Maybe a
Prelude.Nothing,
        $sel:traceHeader:DescribeExecutionResponse' :: Maybe Text
traceHeader = Maybe Text
forall a. Maybe a
Prelude.Nothing,
        $sel:httpStatus:DescribeExecutionResponse' :: Int
httpStatus = Int
pHttpStatus_,
        $sel:executionArn:DescribeExecutionResponse' :: Text
executionArn = Text
pExecutionArn_,
        $sel:stateMachineArn:DescribeExecutionResponse' :: Text
stateMachineArn = Text
pStateMachineArn_,
        $sel:status:DescribeExecutionResponse' :: ExecutionStatus
status = ExecutionStatus
pStatus_,
        $sel:startDate:DescribeExecutionResponse' :: POSIX
startDate = Tagged UTCTime (Identity UTCTime) -> Tagged POSIX (Identity POSIX)
forall (a :: Format). Iso' (Time a) UTCTime
Core._Time (Tagged UTCTime (Identity UTCTime)
 -> Tagged POSIX (Identity POSIX))
-> UTCTime -> POSIX
forall t b. AReview t b -> b -> t
Lens.# UTCTime
pStartDate_
      }

-- | If the execution has already ended, the date the execution stopped.
describeExecutionResponse_stopDate :: Lens.Lens' DescribeExecutionResponse (Prelude.Maybe Prelude.UTCTime)
describeExecutionResponse_stopDate :: (Maybe UTCTime -> f (Maybe UTCTime))
-> DescribeExecutionResponse -> f DescribeExecutionResponse
describeExecutionResponse_stopDate = (DescribeExecutionResponse -> Maybe POSIX)
-> (DescribeExecutionResponse
    -> Maybe POSIX -> DescribeExecutionResponse)
-> Lens
     DescribeExecutionResponse
     DescribeExecutionResponse
     (Maybe POSIX)
     (Maybe POSIX)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeExecutionResponse' {Maybe POSIX
stopDate :: Maybe POSIX
$sel:stopDate:DescribeExecutionResponse' :: DescribeExecutionResponse -> Maybe POSIX
stopDate} -> Maybe POSIX
stopDate) (\s :: DescribeExecutionResponse
s@DescribeExecutionResponse' {} Maybe POSIX
a -> DescribeExecutionResponse
s {$sel:stopDate:DescribeExecutionResponse' :: Maybe POSIX
stopDate = Maybe POSIX
a} :: DescribeExecutionResponse) ((Maybe POSIX -> f (Maybe POSIX))
 -> DescribeExecutionResponse -> f DescribeExecutionResponse)
-> ((Maybe UTCTime -> f (Maybe UTCTime))
    -> Maybe POSIX -> f (Maybe POSIX))
-> (Maybe UTCTime -> f (Maybe UTCTime))
-> DescribeExecutionResponse
-> f DescribeExecutionResponse
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

-- | Undocumented member.
describeExecutionResponse_inputDetails :: Lens.Lens' DescribeExecutionResponse (Prelude.Maybe CloudWatchEventsExecutionDataDetails)
describeExecutionResponse_inputDetails :: (Maybe CloudWatchEventsExecutionDataDetails
 -> f (Maybe CloudWatchEventsExecutionDataDetails))
-> DescribeExecutionResponse -> f DescribeExecutionResponse
describeExecutionResponse_inputDetails = (DescribeExecutionResponse
 -> Maybe CloudWatchEventsExecutionDataDetails)
-> (DescribeExecutionResponse
    -> Maybe CloudWatchEventsExecutionDataDetails
    -> DescribeExecutionResponse)
-> Lens
     DescribeExecutionResponse
     DescribeExecutionResponse
     (Maybe CloudWatchEventsExecutionDataDetails)
     (Maybe CloudWatchEventsExecutionDataDetails)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeExecutionResponse' {Maybe CloudWatchEventsExecutionDataDetails
inputDetails :: Maybe CloudWatchEventsExecutionDataDetails
$sel:inputDetails:DescribeExecutionResponse' :: DescribeExecutionResponse
-> Maybe CloudWatchEventsExecutionDataDetails
inputDetails} -> Maybe CloudWatchEventsExecutionDataDetails
inputDetails) (\s :: DescribeExecutionResponse
s@DescribeExecutionResponse' {} Maybe CloudWatchEventsExecutionDataDetails
a -> DescribeExecutionResponse
s {$sel:inputDetails:DescribeExecutionResponse' :: Maybe CloudWatchEventsExecutionDataDetails
inputDetails = Maybe CloudWatchEventsExecutionDataDetails
a} :: DescribeExecutionResponse)

-- | The string that contains the JSON input data of the execution. Length
-- constraints apply to the payload size, and are expressed as bytes in
-- UTF-8 encoding.
describeExecutionResponse_input :: Lens.Lens' DescribeExecutionResponse (Prelude.Maybe Prelude.Text)
describeExecutionResponse_input :: (Maybe Text -> f (Maybe Text))
-> DescribeExecutionResponse -> f DescribeExecutionResponse
describeExecutionResponse_input = (DescribeExecutionResponse -> Maybe (Sensitive Text))
-> (DescribeExecutionResponse
    -> Maybe (Sensitive Text) -> DescribeExecutionResponse)
-> Lens
     DescribeExecutionResponse
     DescribeExecutionResponse
     (Maybe (Sensitive Text))
     (Maybe (Sensitive Text))
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeExecutionResponse' {Maybe (Sensitive Text)
input :: Maybe (Sensitive Text)
$sel:input:DescribeExecutionResponse' :: DescribeExecutionResponse -> Maybe (Sensitive Text)
input} -> Maybe (Sensitive Text)
input) (\s :: DescribeExecutionResponse
s@DescribeExecutionResponse' {} Maybe (Sensitive Text)
a -> DescribeExecutionResponse
s {$sel:input:DescribeExecutionResponse' :: Maybe (Sensitive Text)
input = Maybe (Sensitive Text)
a} :: DescribeExecutionResponse) ((Maybe (Sensitive Text) -> f (Maybe (Sensitive Text)))
 -> DescribeExecutionResponse -> f DescribeExecutionResponse)
-> ((Maybe Text -> f (Maybe Text))
    -> Maybe (Sensitive Text) -> f (Maybe (Sensitive Text)))
-> (Maybe Text -> f (Maybe Text))
-> DescribeExecutionResponse
-> f DescribeExecutionResponse
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. AnIso (Sensitive Text) (Sensitive Text) Text Text
-> Iso
     (Maybe (Sensitive Text))
     (Maybe (Sensitive Text))
     (Maybe Text)
     (Maybe Text)
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 (Sensitive Text) (Sensitive Text) Text Text
forall a. Iso' (Sensitive a) a
Core._Sensitive

-- | The name of the execution.
--
-- A name must /not/ contain:
--
-- -   white space
--
-- -   brackets @\< > { } [ ]@
--
-- -   wildcard characters @? *@
--
-- -   special characters @\" # % \\ ^ | ~ \` $ & , ; : \/@
--
-- -   control characters (@U+0000-001F@, @U+007F-009F@)
--
-- To enable logging with CloudWatch Logs, the name should only contain
-- 0-9, A-Z, a-z, - and _.
describeExecutionResponse_name :: Lens.Lens' DescribeExecutionResponse (Prelude.Maybe Prelude.Text)
describeExecutionResponse_name :: (Maybe Text -> f (Maybe Text))
-> DescribeExecutionResponse -> f DescribeExecutionResponse
describeExecutionResponse_name = (DescribeExecutionResponse -> Maybe Text)
-> (DescribeExecutionResponse
    -> Maybe Text -> DescribeExecutionResponse)
-> Lens
     DescribeExecutionResponse
     DescribeExecutionResponse
     (Maybe Text)
     (Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeExecutionResponse' {Maybe Text
name :: Maybe Text
$sel:name:DescribeExecutionResponse' :: DescribeExecutionResponse -> Maybe Text
name} -> Maybe Text
name) (\s :: DescribeExecutionResponse
s@DescribeExecutionResponse' {} Maybe Text
a -> DescribeExecutionResponse
s {$sel:name:DescribeExecutionResponse' :: Maybe Text
name = Maybe Text
a} :: DescribeExecutionResponse)

-- | The JSON output data of the execution. Length constraints apply to the
-- payload size, and are expressed as bytes in UTF-8 encoding.
--
-- This field is set only if the execution succeeds. If the execution
-- fails, this field is null.
describeExecutionResponse_output :: Lens.Lens' DescribeExecutionResponse (Prelude.Maybe Prelude.Text)
describeExecutionResponse_output :: (Maybe Text -> f (Maybe Text))
-> DescribeExecutionResponse -> f DescribeExecutionResponse
describeExecutionResponse_output = (DescribeExecutionResponse -> Maybe (Sensitive Text))
-> (DescribeExecutionResponse
    -> Maybe (Sensitive Text) -> DescribeExecutionResponse)
-> Lens
     DescribeExecutionResponse
     DescribeExecutionResponse
     (Maybe (Sensitive Text))
     (Maybe (Sensitive Text))
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeExecutionResponse' {Maybe (Sensitive Text)
output :: Maybe (Sensitive Text)
$sel:output:DescribeExecutionResponse' :: DescribeExecutionResponse -> Maybe (Sensitive Text)
output} -> Maybe (Sensitive Text)
output) (\s :: DescribeExecutionResponse
s@DescribeExecutionResponse' {} Maybe (Sensitive Text)
a -> DescribeExecutionResponse
s {$sel:output:DescribeExecutionResponse' :: Maybe (Sensitive Text)
output = Maybe (Sensitive Text)
a} :: DescribeExecutionResponse) ((Maybe (Sensitive Text) -> f (Maybe (Sensitive Text)))
 -> DescribeExecutionResponse -> f DescribeExecutionResponse)
-> ((Maybe Text -> f (Maybe Text))
    -> Maybe (Sensitive Text) -> f (Maybe (Sensitive Text)))
-> (Maybe Text -> f (Maybe Text))
-> DescribeExecutionResponse
-> f DescribeExecutionResponse
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. AnIso (Sensitive Text) (Sensitive Text) Text Text
-> Iso
     (Maybe (Sensitive Text))
     (Maybe (Sensitive Text))
     (Maybe Text)
     (Maybe Text)
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 (Sensitive Text) (Sensitive Text) Text Text
forall a. Iso' (Sensitive a) a
Core._Sensitive

-- | Undocumented member.
describeExecutionResponse_outputDetails :: Lens.Lens' DescribeExecutionResponse (Prelude.Maybe CloudWatchEventsExecutionDataDetails)
describeExecutionResponse_outputDetails :: (Maybe CloudWatchEventsExecutionDataDetails
 -> f (Maybe CloudWatchEventsExecutionDataDetails))
-> DescribeExecutionResponse -> f DescribeExecutionResponse
describeExecutionResponse_outputDetails = (DescribeExecutionResponse
 -> Maybe CloudWatchEventsExecutionDataDetails)
-> (DescribeExecutionResponse
    -> Maybe CloudWatchEventsExecutionDataDetails
    -> DescribeExecutionResponse)
-> Lens
     DescribeExecutionResponse
     DescribeExecutionResponse
     (Maybe CloudWatchEventsExecutionDataDetails)
     (Maybe CloudWatchEventsExecutionDataDetails)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeExecutionResponse' {Maybe CloudWatchEventsExecutionDataDetails
outputDetails :: Maybe CloudWatchEventsExecutionDataDetails
$sel:outputDetails:DescribeExecutionResponse' :: DescribeExecutionResponse
-> Maybe CloudWatchEventsExecutionDataDetails
outputDetails} -> Maybe CloudWatchEventsExecutionDataDetails
outputDetails) (\s :: DescribeExecutionResponse
s@DescribeExecutionResponse' {} Maybe CloudWatchEventsExecutionDataDetails
a -> DescribeExecutionResponse
s {$sel:outputDetails:DescribeExecutionResponse' :: Maybe CloudWatchEventsExecutionDataDetails
outputDetails = Maybe CloudWatchEventsExecutionDataDetails
a} :: DescribeExecutionResponse)

-- | The AWS X-Ray trace header that was passed to the execution.
describeExecutionResponse_traceHeader :: Lens.Lens' DescribeExecutionResponse (Prelude.Maybe Prelude.Text)
describeExecutionResponse_traceHeader :: (Maybe Text -> f (Maybe Text))
-> DescribeExecutionResponse -> f DescribeExecutionResponse
describeExecutionResponse_traceHeader = (DescribeExecutionResponse -> Maybe Text)
-> (DescribeExecutionResponse
    -> Maybe Text -> DescribeExecutionResponse)
-> Lens
     DescribeExecutionResponse
     DescribeExecutionResponse
     (Maybe Text)
     (Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeExecutionResponse' {Maybe Text
traceHeader :: Maybe Text
$sel:traceHeader:DescribeExecutionResponse' :: DescribeExecutionResponse -> Maybe Text
traceHeader} -> Maybe Text
traceHeader) (\s :: DescribeExecutionResponse
s@DescribeExecutionResponse' {} Maybe Text
a -> DescribeExecutionResponse
s {$sel:traceHeader:DescribeExecutionResponse' :: Maybe Text
traceHeader = Maybe Text
a} :: DescribeExecutionResponse)

-- | The response's http status code.
describeExecutionResponse_httpStatus :: Lens.Lens' DescribeExecutionResponse Prelude.Int
describeExecutionResponse_httpStatus :: (Int -> f Int)
-> DescribeExecutionResponse -> f DescribeExecutionResponse
describeExecutionResponse_httpStatus = (DescribeExecutionResponse -> Int)
-> (DescribeExecutionResponse -> Int -> DescribeExecutionResponse)
-> Lens DescribeExecutionResponse DescribeExecutionResponse Int Int
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeExecutionResponse' {Int
httpStatus :: Int
$sel:httpStatus:DescribeExecutionResponse' :: DescribeExecutionResponse -> Int
httpStatus} -> Int
httpStatus) (\s :: DescribeExecutionResponse
s@DescribeExecutionResponse' {} Int
a -> DescribeExecutionResponse
s {$sel:httpStatus:DescribeExecutionResponse' :: Int
httpStatus = Int
a} :: DescribeExecutionResponse)

-- | The Amazon Resource Name (ARN) that identifies the execution.
describeExecutionResponse_executionArn :: Lens.Lens' DescribeExecutionResponse Prelude.Text
describeExecutionResponse_executionArn :: (Text -> f Text)
-> DescribeExecutionResponse -> f DescribeExecutionResponse
describeExecutionResponse_executionArn = (DescribeExecutionResponse -> Text)
-> (DescribeExecutionResponse -> Text -> DescribeExecutionResponse)
-> Lens
     DescribeExecutionResponse DescribeExecutionResponse Text Text
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeExecutionResponse' {Text
executionArn :: Text
$sel:executionArn:DescribeExecutionResponse' :: DescribeExecutionResponse -> Text
executionArn} -> Text
executionArn) (\s :: DescribeExecutionResponse
s@DescribeExecutionResponse' {} Text
a -> DescribeExecutionResponse
s {$sel:executionArn:DescribeExecutionResponse' :: Text
executionArn = Text
a} :: DescribeExecutionResponse)

-- | The Amazon Resource Name (ARN) of the executed stated machine.
describeExecutionResponse_stateMachineArn :: Lens.Lens' DescribeExecutionResponse Prelude.Text
describeExecutionResponse_stateMachineArn :: (Text -> f Text)
-> DescribeExecutionResponse -> f DescribeExecutionResponse
describeExecutionResponse_stateMachineArn = (DescribeExecutionResponse -> Text)
-> (DescribeExecutionResponse -> Text -> DescribeExecutionResponse)
-> Lens
     DescribeExecutionResponse DescribeExecutionResponse Text Text
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeExecutionResponse' {Text
stateMachineArn :: Text
$sel:stateMachineArn:DescribeExecutionResponse' :: DescribeExecutionResponse -> Text
stateMachineArn} -> Text
stateMachineArn) (\s :: DescribeExecutionResponse
s@DescribeExecutionResponse' {} Text
a -> DescribeExecutionResponse
s {$sel:stateMachineArn:DescribeExecutionResponse' :: Text
stateMachineArn = Text
a} :: DescribeExecutionResponse)

-- | The current status of the execution.
describeExecutionResponse_status :: Lens.Lens' DescribeExecutionResponse ExecutionStatus
describeExecutionResponse_status :: (ExecutionStatus -> f ExecutionStatus)
-> DescribeExecutionResponse -> f DescribeExecutionResponse
describeExecutionResponse_status = (DescribeExecutionResponse -> ExecutionStatus)
-> (DescribeExecutionResponse
    -> ExecutionStatus -> DescribeExecutionResponse)
-> Lens
     DescribeExecutionResponse
     DescribeExecutionResponse
     ExecutionStatus
     ExecutionStatus
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeExecutionResponse' {ExecutionStatus
status :: ExecutionStatus
$sel:status:DescribeExecutionResponse' :: DescribeExecutionResponse -> ExecutionStatus
status} -> ExecutionStatus
status) (\s :: DescribeExecutionResponse
s@DescribeExecutionResponse' {} ExecutionStatus
a -> DescribeExecutionResponse
s {$sel:status:DescribeExecutionResponse' :: ExecutionStatus
status = ExecutionStatus
a} :: DescribeExecutionResponse)

-- | The date the execution is started.
describeExecutionResponse_startDate :: Lens.Lens' DescribeExecutionResponse Prelude.UTCTime
describeExecutionResponse_startDate :: (UTCTime -> f UTCTime)
-> DescribeExecutionResponse -> f DescribeExecutionResponse
describeExecutionResponse_startDate = (DescribeExecutionResponse -> POSIX)
-> (DescribeExecutionResponse
    -> POSIX -> DescribeExecutionResponse)
-> Lens
     DescribeExecutionResponse DescribeExecutionResponse POSIX POSIX
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeExecutionResponse' {POSIX
startDate :: POSIX
$sel:startDate:DescribeExecutionResponse' :: DescribeExecutionResponse -> POSIX
startDate} -> POSIX
startDate) (\s :: DescribeExecutionResponse
s@DescribeExecutionResponse' {} POSIX
a -> DescribeExecutionResponse
s {$sel:startDate:DescribeExecutionResponse' :: POSIX
startDate = POSIX
a} :: DescribeExecutionResponse) ((POSIX -> f POSIX)
 -> DescribeExecutionResponse -> f DescribeExecutionResponse)
-> ((UTCTime -> f UTCTime) -> POSIX -> f POSIX)
-> (UTCTime -> f UTCTime)
-> DescribeExecutionResponse
-> f DescribeExecutionResponse
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. (UTCTime -> f UTCTime) -> POSIX -> f POSIX
forall (a :: Format). Iso' (Time a) UTCTime
Core._Time

instance Prelude.NFData DescribeExecutionResponse