{-# 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.SageMaker.DescribePipelineExecution
-- 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 the details of a pipeline execution.
module Amazonka.SageMaker.DescribePipelineExecution
  ( -- * Creating a Request
    DescribePipelineExecution (..),
    newDescribePipelineExecution,

    -- * Request Lenses
    describePipelineExecution_pipelineExecutionArn,

    -- * Destructuring the Response
    DescribePipelineExecutionResponse (..),
    newDescribePipelineExecutionResponse,

    -- * Response Lenses
    describePipelineExecutionResponse_creationTime,
    describePipelineExecutionResponse_pipelineExecutionStatus,
    describePipelineExecutionResponse_failureReason,
    describePipelineExecutionResponse_pipelineExecutionArn,
    describePipelineExecutionResponse_createdBy,
    describePipelineExecutionResponse_lastModifiedTime,
    describePipelineExecutionResponse_pipelineArn,
    describePipelineExecutionResponse_pipelineExecutionDisplayName,
    describePipelineExecutionResponse_lastModifiedBy,
    describePipelineExecutionResponse_pipelineExecutionDescription,
    describePipelineExecutionResponse_pipelineExperimentConfig,
    describePipelineExecutionResponse_httpStatus,
  )
where

import qualified Amazonka.Core as Core
import qualified Amazonka.Lens as Lens
import qualified Amazonka.Prelude as Prelude
import qualified Amazonka.Request as Request
import qualified Amazonka.Response as Response
import Amazonka.SageMaker.Types

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

-- |
-- Create a value of 'DescribePipelineExecution' 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:
--
-- 'pipelineExecutionArn', 'describePipelineExecution_pipelineExecutionArn' - The Amazon Resource Name (ARN) of the pipeline execution.
newDescribePipelineExecution ::
  -- | 'pipelineExecutionArn'
  Prelude.Text ->
  DescribePipelineExecution
newDescribePipelineExecution :: Text -> DescribePipelineExecution
newDescribePipelineExecution Text
pPipelineExecutionArn_ =
  DescribePipelineExecution' :: Text -> DescribePipelineExecution
DescribePipelineExecution'
    { $sel:pipelineExecutionArn:DescribePipelineExecution' :: Text
pipelineExecutionArn =
        Text
pPipelineExecutionArn_
    }

-- | The Amazon Resource Name (ARN) of the pipeline execution.
describePipelineExecution_pipelineExecutionArn :: Lens.Lens' DescribePipelineExecution Prelude.Text
describePipelineExecution_pipelineExecutionArn :: (Text -> f Text)
-> DescribePipelineExecution -> f DescribePipelineExecution
describePipelineExecution_pipelineExecutionArn = (DescribePipelineExecution -> Text)
-> (DescribePipelineExecution -> Text -> DescribePipelineExecution)
-> Lens
     DescribePipelineExecution DescribePipelineExecution Text Text
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribePipelineExecution' {Text
pipelineExecutionArn :: Text
$sel:pipelineExecutionArn:DescribePipelineExecution' :: DescribePipelineExecution -> Text
pipelineExecutionArn} -> Text
pipelineExecutionArn) (\s :: DescribePipelineExecution
s@DescribePipelineExecution' {} Text
a -> DescribePipelineExecution
s {$sel:pipelineExecutionArn:DescribePipelineExecution' :: Text
pipelineExecutionArn = Text
a} :: DescribePipelineExecution)

instance Core.AWSRequest DescribePipelineExecution where
  type
    AWSResponse DescribePipelineExecution =
      DescribePipelineExecutionResponse
  request :: DescribePipelineExecution -> Request DescribePipelineExecution
request = Service
-> DescribePipelineExecution -> Request DescribePipelineExecution
forall a. (ToRequest a, ToJSON a) => Service -> a -> Request a
Request.postJSON Service
defaultService
  response :: Logger
-> Service
-> Proxy DescribePipelineExecution
-> ClientResponse ClientBody
-> m (Either
        Error (ClientResponse (AWSResponse DescribePipelineExecution)))
response =
    (Int
 -> ResponseHeaders
 -> Object
 -> Either String (AWSResponse DescribePipelineExecution))
-> Logger
-> Service
-> Proxy DescribePipelineExecution
-> ClientResponse ClientBody
-> m (Either
        Error (ClientResponse (AWSResponse DescribePipelineExecution)))
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 PipelineExecutionStatus
-> Maybe Text
-> Maybe Text
-> Maybe UserContext
-> Maybe POSIX
-> Maybe Text
-> Maybe Text
-> Maybe UserContext
-> Maybe Text
-> Maybe PipelineExperimentConfig
-> Int
-> DescribePipelineExecutionResponse
DescribePipelineExecutionResponse'
            (Maybe POSIX
 -> Maybe PipelineExecutionStatus
 -> Maybe Text
 -> Maybe Text
 -> Maybe UserContext
 -> Maybe POSIX
 -> Maybe Text
 -> Maybe Text
 -> Maybe UserContext
 -> Maybe Text
 -> Maybe PipelineExperimentConfig
 -> Int
 -> DescribePipelineExecutionResponse)
-> Either String (Maybe POSIX)
-> Either
     String
     (Maybe PipelineExecutionStatus
      -> Maybe Text
      -> Maybe Text
      -> Maybe UserContext
      -> Maybe POSIX
      -> Maybe Text
      -> Maybe Text
      -> Maybe UserContext
      -> Maybe Text
      -> Maybe PipelineExperimentConfig
      -> Int
      -> DescribePipelineExecutionResponse)
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
"CreationTime")
            Either
  String
  (Maybe PipelineExecutionStatus
   -> Maybe Text
   -> Maybe Text
   -> Maybe UserContext
   -> Maybe POSIX
   -> Maybe Text
   -> Maybe Text
   -> Maybe UserContext
   -> Maybe Text
   -> Maybe PipelineExperimentConfig
   -> Int
   -> DescribePipelineExecutionResponse)
-> Either String (Maybe PipelineExecutionStatus)
-> Either
     String
     (Maybe Text
      -> Maybe Text
      -> Maybe UserContext
      -> Maybe POSIX
      -> Maybe Text
      -> Maybe Text
      -> Maybe UserContext
      -> Maybe Text
      -> Maybe PipelineExperimentConfig
      -> Int
      -> DescribePipelineExecutionResponse)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Either String (Maybe PipelineExecutionStatus)
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"PipelineExecutionStatus")
            Either
  String
  (Maybe Text
   -> Maybe Text
   -> Maybe UserContext
   -> Maybe POSIX
   -> Maybe Text
   -> Maybe Text
   -> Maybe UserContext
   -> Maybe Text
   -> Maybe PipelineExperimentConfig
   -> Int
   -> DescribePipelineExecutionResponse)
-> Either String (Maybe Text)
-> Either
     String
     (Maybe Text
      -> Maybe UserContext
      -> Maybe POSIX
      -> Maybe Text
      -> Maybe Text
      -> Maybe UserContext
      -> Maybe Text
      -> Maybe PipelineExperimentConfig
      -> Int
      -> DescribePipelineExecutionResponse)
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
"FailureReason")
            Either
  String
  (Maybe Text
   -> Maybe UserContext
   -> Maybe POSIX
   -> Maybe Text
   -> Maybe Text
   -> Maybe UserContext
   -> Maybe Text
   -> Maybe PipelineExperimentConfig
   -> Int
   -> DescribePipelineExecutionResponse)
-> Either String (Maybe Text)
-> Either
     String
     (Maybe UserContext
      -> Maybe POSIX
      -> Maybe Text
      -> Maybe Text
      -> Maybe UserContext
      -> Maybe Text
      -> Maybe PipelineExperimentConfig
      -> Int
      -> DescribePipelineExecutionResponse)
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
"PipelineExecutionArn")
            Either
  String
  (Maybe UserContext
   -> Maybe POSIX
   -> Maybe Text
   -> Maybe Text
   -> Maybe UserContext
   -> Maybe Text
   -> Maybe PipelineExperimentConfig
   -> Int
   -> DescribePipelineExecutionResponse)
-> Either String (Maybe UserContext)
-> Either
     String
     (Maybe POSIX
      -> Maybe Text
      -> Maybe Text
      -> Maybe UserContext
      -> Maybe Text
      -> Maybe PipelineExperimentConfig
      -> Int
      -> DescribePipelineExecutionResponse)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Either String (Maybe UserContext)
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"CreatedBy")
            Either
  String
  (Maybe POSIX
   -> Maybe Text
   -> Maybe Text
   -> Maybe UserContext
   -> Maybe Text
   -> Maybe PipelineExperimentConfig
   -> Int
   -> DescribePipelineExecutionResponse)
-> Either String (Maybe POSIX)
-> Either
     String
     (Maybe Text
      -> Maybe Text
      -> Maybe UserContext
      -> Maybe Text
      -> Maybe PipelineExperimentConfig
      -> Int
      -> DescribePipelineExecutionResponse)
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
"LastModifiedTime")
            Either
  String
  (Maybe Text
   -> Maybe Text
   -> Maybe UserContext
   -> Maybe Text
   -> Maybe PipelineExperimentConfig
   -> Int
   -> DescribePipelineExecutionResponse)
-> Either String (Maybe Text)
-> Either
     String
     (Maybe Text
      -> Maybe UserContext
      -> Maybe Text
      -> Maybe PipelineExperimentConfig
      -> Int
      -> DescribePipelineExecutionResponse)
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
"PipelineArn")
            Either
  String
  (Maybe Text
   -> Maybe UserContext
   -> Maybe Text
   -> Maybe PipelineExperimentConfig
   -> Int
   -> DescribePipelineExecutionResponse)
-> Either String (Maybe Text)
-> Either
     String
     (Maybe UserContext
      -> Maybe Text
      -> Maybe PipelineExperimentConfig
      -> Int
      -> DescribePipelineExecutionResponse)
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
"PipelineExecutionDisplayName")
            Either
  String
  (Maybe UserContext
   -> Maybe Text
   -> Maybe PipelineExperimentConfig
   -> Int
   -> DescribePipelineExecutionResponse)
-> Either String (Maybe UserContext)
-> Either
     String
     (Maybe Text
      -> Maybe PipelineExperimentConfig
      -> Int
      -> DescribePipelineExecutionResponse)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Either String (Maybe UserContext)
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"LastModifiedBy")
            Either
  String
  (Maybe Text
   -> Maybe PipelineExperimentConfig
   -> Int
   -> DescribePipelineExecutionResponse)
-> Either String (Maybe Text)
-> Either
     String
     (Maybe PipelineExperimentConfig
      -> Int -> DescribePipelineExecutionResponse)
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
"PipelineExecutionDescription")
            Either
  String
  (Maybe PipelineExperimentConfig
   -> Int -> DescribePipelineExecutionResponse)
-> Either String (Maybe PipelineExperimentConfig)
-> Either String (Int -> DescribePipelineExecutionResponse)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Either String (Maybe PipelineExperimentConfig)
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"PipelineExperimentConfig")
            Either String (Int -> DescribePipelineExecutionResponse)
-> Either String Int
-> Either String DescribePipelineExecutionResponse
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 DescribePipelineExecution

instance Prelude.NFData DescribePipelineExecution

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

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

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

-- | /See:/ 'newDescribePipelineExecutionResponse' smart constructor.
data DescribePipelineExecutionResponse = DescribePipelineExecutionResponse'
  { -- | The time when the pipeline execution was created.
    DescribePipelineExecutionResponse -> Maybe POSIX
creationTime :: Prelude.Maybe Core.POSIX,
    -- | The status of the pipeline execution.
    DescribePipelineExecutionResponse -> Maybe PipelineExecutionStatus
pipelineExecutionStatus :: Prelude.Maybe PipelineExecutionStatus,
    -- | If the execution failed, a message describing why.
    DescribePipelineExecutionResponse -> Maybe Text
failureReason :: Prelude.Maybe Prelude.Text,
    -- | The Amazon Resource Name (ARN) of the pipeline execution.
    DescribePipelineExecutionResponse -> Maybe Text
pipelineExecutionArn :: Prelude.Maybe Prelude.Text,
    DescribePipelineExecutionResponse -> Maybe UserContext
createdBy :: Prelude.Maybe UserContext,
    -- | The time when the pipeline execution was modified last.
    DescribePipelineExecutionResponse -> Maybe POSIX
lastModifiedTime :: Prelude.Maybe Core.POSIX,
    -- | The Amazon Resource Name (ARN) of the pipeline.
    DescribePipelineExecutionResponse -> Maybe Text
pipelineArn :: Prelude.Maybe Prelude.Text,
    -- | The display name of the pipeline execution.
    DescribePipelineExecutionResponse -> Maybe Text
pipelineExecutionDisplayName :: Prelude.Maybe Prelude.Text,
    DescribePipelineExecutionResponse -> Maybe UserContext
lastModifiedBy :: Prelude.Maybe UserContext,
    -- | The description of the pipeline execution.
    DescribePipelineExecutionResponse -> Maybe Text
pipelineExecutionDescription :: Prelude.Maybe Prelude.Text,
    DescribePipelineExecutionResponse -> Maybe PipelineExperimentConfig
pipelineExperimentConfig :: Prelude.Maybe PipelineExperimentConfig,
    -- | The response's http status code.
    DescribePipelineExecutionResponse -> Int
httpStatus :: Prelude.Int
  }
  deriving (DescribePipelineExecutionResponse
-> DescribePipelineExecutionResponse -> Bool
(DescribePipelineExecutionResponse
 -> DescribePipelineExecutionResponse -> Bool)
-> (DescribePipelineExecutionResponse
    -> DescribePipelineExecutionResponse -> Bool)
-> Eq DescribePipelineExecutionResponse
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: DescribePipelineExecutionResponse
-> DescribePipelineExecutionResponse -> Bool
$c/= :: DescribePipelineExecutionResponse
-> DescribePipelineExecutionResponse -> Bool
== :: DescribePipelineExecutionResponse
-> DescribePipelineExecutionResponse -> Bool
$c== :: DescribePipelineExecutionResponse
-> DescribePipelineExecutionResponse -> Bool
Prelude.Eq, ReadPrec [DescribePipelineExecutionResponse]
ReadPrec DescribePipelineExecutionResponse
Int -> ReadS DescribePipelineExecutionResponse
ReadS [DescribePipelineExecutionResponse]
(Int -> ReadS DescribePipelineExecutionResponse)
-> ReadS [DescribePipelineExecutionResponse]
-> ReadPrec DescribePipelineExecutionResponse
-> ReadPrec [DescribePipelineExecutionResponse]
-> Read DescribePipelineExecutionResponse
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [DescribePipelineExecutionResponse]
$creadListPrec :: ReadPrec [DescribePipelineExecutionResponse]
readPrec :: ReadPrec DescribePipelineExecutionResponse
$creadPrec :: ReadPrec DescribePipelineExecutionResponse
readList :: ReadS [DescribePipelineExecutionResponse]
$creadList :: ReadS [DescribePipelineExecutionResponse]
readsPrec :: Int -> ReadS DescribePipelineExecutionResponse
$creadsPrec :: Int -> ReadS DescribePipelineExecutionResponse
Prelude.Read, Int -> DescribePipelineExecutionResponse -> ShowS
[DescribePipelineExecutionResponse] -> ShowS
DescribePipelineExecutionResponse -> String
(Int -> DescribePipelineExecutionResponse -> ShowS)
-> (DescribePipelineExecutionResponse -> String)
-> ([DescribePipelineExecutionResponse] -> ShowS)
-> Show DescribePipelineExecutionResponse
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [DescribePipelineExecutionResponse] -> ShowS
$cshowList :: [DescribePipelineExecutionResponse] -> ShowS
show :: DescribePipelineExecutionResponse -> String
$cshow :: DescribePipelineExecutionResponse -> String
showsPrec :: Int -> DescribePipelineExecutionResponse -> ShowS
$cshowsPrec :: Int -> DescribePipelineExecutionResponse -> ShowS
Prelude.Show, (forall x.
 DescribePipelineExecutionResponse
 -> Rep DescribePipelineExecutionResponse x)
-> (forall x.
    Rep DescribePipelineExecutionResponse x
    -> DescribePipelineExecutionResponse)
-> Generic DescribePipelineExecutionResponse
forall x.
Rep DescribePipelineExecutionResponse x
-> DescribePipelineExecutionResponse
forall x.
DescribePipelineExecutionResponse
-> Rep DescribePipelineExecutionResponse x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep DescribePipelineExecutionResponse x
-> DescribePipelineExecutionResponse
$cfrom :: forall x.
DescribePipelineExecutionResponse
-> Rep DescribePipelineExecutionResponse x
Prelude.Generic)

-- |
-- Create a value of 'DescribePipelineExecutionResponse' 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:
--
-- 'creationTime', 'describePipelineExecutionResponse_creationTime' - The time when the pipeline execution was created.
--
-- 'pipelineExecutionStatus', 'describePipelineExecutionResponse_pipelineExecutionStatus' - The status of the pipeline execution.
--
-- 'failureReason', 'describePipelineExecutionResponse_failureReason' - If the execution failed, a message describing why.
--
-- 'pipelineExecutionArn', 'describePipelineExecutionResponse_pipelineExecutionArn' - The Amazon Resource Name (ARN) of the pipeline execution.
--
-- 'createdBy', 'describePipelineExecutionResponse_createdBy' - Undocumented member.
--
-- 'lastModifiedTime', 'describePipelineExecutionResponse_lastModifiedTime' - The time when the pipeline execution was modified last.
--
-- 'pipelineArn', 'describePipelineExecutionResponse_pipelineArn' - The Amazon Resource Name (ARN) of the pipeline.
--
-- 'pipelineExecutionDisplayName', 'describePipelineExecutionResponse_pipelineExecutionDisplayName' - The display name of the pipeline execution.
--
-- 'lastModifiedBy', 'describePipelineExecutionResponse_lastModifiedBy' - Undocumented member.
--
-- 'pipelineExecutionDescription', 'describePipelineExecutionResponse_pipelineExecutionDescription' - The description of the pipeline execution.
--
-- 'pipelineExperimentConfig', 'describePipelineExecutionResponse_pipelineExperimentConfig' - Undocumented member.
--
-- 'httpStatus', 'describePipelineExecutionResponse_httpStatus' - The response's http status code.
newDescribePipelineExecutionResponse ::
  -- | 'httpStatus'
  Prelude.Int ->
  DescribePipelineExecutionResponse
newDescribePipelineExecutionResponse :: Int -> DescribePipelineExecutionResponse
newDescribePipelineExecutionResponse Int
pHttpStatus_ =
  DescribePipelineExecutionResponse' :: Maybe POSIX
-> Maybe PipelineExecutionStatus
-> Maybe Text
-> Maybe Text
-> Maybe UserContext
-> Maybe POSIX
-> Maybe Text
-> Maybe Text
-> Maybe UserContext
-> Maybe Text
-> Maybe PipelineExperimentConfig
-> Int
-> DescribePipelineExecutionResponse
DescribePipelineExecutionResponse'
    { $sel:creationTime:DescribePipelineExecutionResponse' :: Maybe POSIX
creationTime =
        Maybe POSIX
forall a. Maybe a
Prelude.Nothing,
      $sel:pipelineExecutionStatus:DescribePipelineExecutionResponse' :: Maybe PipelineExecutionStatus
pipelineExecutionStatus =
        Maybe PipelineExecutionStatus
forall a. Maybe a
Prelude.Nothing,
      $sel:failureReason:DescribePipelineExecutionResponse' :: Maybe Text
failureReason = Maybe Text
forall a. Maybe a
Prelude.Nothing,
      $sel:pipelineExecutionArn:DescribePipelineExecutionResponse' :: Maybe Text
pipelineExecutionArn = Maybe Text
forall a. Maybe a
Prelude.Nothing,
      $sel:createdBy:DescribePipelineExecutionResponse' :: Maybe UserContext
createdBy = Maybe UserContext
forall a. Maybe a
Prelude.Nothing,
      $sel:lastModifiedTime:DescribePipelineExecutionResponse' :: Maybe POSIX
lastModifiedTime = Maybe POSIX
forall a. Maybe a
Prelude.Nothing,
      $sel:pipelineArn:DescribePipelineExecutionResponse' :: Maybe Text
pipelineArn = Maybe Text
forall a. Maybe a
Prelude.Nothing,
      $sel:pipelineExecutionDisplayName:DescribePipelineExecutionResponse' :: Maybe Text
pipelineExecutionDisplayName =
        Maybe Text
forall a. Maybe a
Prelude.Nothing,
      $sel:lastModifiedBy:DescribePipelineExecutionResponse' :: Maybe UserContext
lastModifiedBy = Maybe UserContext
forall a. Maybe a
Prelude.Nothing,
      $sel:pipelineExecutionDescription:DescribePipelineExecutionResponse' :: Maybe Text
pipelineExecutionDescription =
        Maybe Text
forall a. Maybe a
Prelude.Nothing,
      $sel:pipelineExperimentConfig:DescribePipelineExecutionResponse' :: Maybe PipelineExperimentConfig
pipelineExperimentConfig =
        Maybe PipelineExperimentConfig
forall a. Maybe a
Prelude.Nothing,
      $sel:httpStatus:DescribePipelineExecutionResponse' :: Int
httpStatus = Int
pHttpStatus_
    }

-- | The time when the pipeline execution was created.
describePipelineExecutionResponse_creationTime :: Lens.Lens' DescribePipelineExecutionResponse (Prelude.Maybe Prelude.UTCTime)
describePipelineExecutionResponse_creationTime :: (Maybe UTCTime -> f (Maybe UTCTime))
-> DescribePipelineExecutionResponse
-> f DescribePipelineExecutionResponse
describePipelineExecutionResponse_creationTime = (DescribePipelineExecutionResponse -> Maybe POSIX)
-> (DescribePipelineExecutionResponse
    -> Maybe POSIX -> DescribePipelineExecutionResponse)
-> Lens
     DescribePipelineExecutionResponse
     DescribePipelineExecutionResponse
     (Maybe POSIX)
     (Maybe POSIX)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribePipelineExecutionResponse' {Maybe POSIX
creationTime :: Maybe POSIX
$sel:creationTime:DescribePipelineExecutionResponse' :: DescribePipelineExecutionResponse -> Maybe POSIX
creationTime} -> Maybe POSIX
creationTime) (\s :: DescribePipelineExecutionResponse
s@DescribePipelineExecutionResponse' {} Maybe POSIX
a -> DescribePipelineExecutionResponse
s {$sel:creationTime:DescribePipelineExecutionResponse' :: Maybe POSIX
creationTime = Maybe POSIX
a} :: DescribePipelineExecutionResponse) ((Maybe POSIX -> f (Maybe POSIX))
 -> DescribePipelineExecutionResponse
 -> f DescribePipelineExecutionResponse)
-> ((Maybe UTCTime -> f (Maybe UTCTime))
    -> Maybe POSIX -> f (Maybe POSIX))
-> (Maybe UTCTime -> f (Maybe UTCTime))
-> DescribePipelineExecutionResponse
-> f DescribePipelineExecutionResponse
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

-- | The status of the pipeline execution.
describePipelineExecutionResponse_pipelineExecutionStatus :: Lens.Lens' DescribePipelineExecutionResponse (Prelude.Maybe PipelineExecutionStatus)
describePipelineExecutionResponse_pipelineExecutionStatus :: (Maybe PipelineExecutionStatus
 -> f (Maybe PipelineExecutionStatus))
-> DescribePipelineExecutionResponse
-> f DescribePipelineExecutionResponse
describePipelineExecutionResponse_pipelineExecutionStatus = (DescribePipelineExecutionResponse
 -> Maybe PipelineExecutionStatus)
-> (DescribePipelineExecutionResponse
    -> Maybe PipelineExecutionStatus
    -> DescribePipelineExecutionResponse)
-> Lens
     DescribePipelineExecutionResponse
     DescribePipelineExecutionResponse
     (Maybe PipelineExecutionStatus)
     (Maybe PipelineExecutionStatus)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribePipelineExecutionResponse' {Maybe PipelineExecutionStatus
pipelineExecutionStatus :: Maybe PipelineExecutionStatus
$sel:pipelineExecutionStatus:DescribePipelineExecutionResponse' :: DescribePipelineExecutionResponse -> Maybe PipelineExecutionStatus
pipelineExecutionStatus} -> Maybe PipelineExecutionStatus
pipelineExecutionStatus) (\s :: DescribePipelineExecutionResponse
s@DescribePipelineExecutionResponse' {} Maybe PipelineExecutionStatus
a -> DescribePipelineExecutionResponse
s {$sel:pipelineExecutionStatus:DescribePipelineExecutionResponse' :: Maybe PipelineExecutionStatus
pipelineExecutionStatus = Maybe PipelineExecutionStatus
a} :: DescribePipelineExecutionResponse)

-- | If the execution failed, a message describing why.
describePipelineExecutionResponse_failureReason :: Lens.Lens' DescribePipelineExecutionResponse (Prelude.Maybe Prelude.Text)
describePipelineExecutionResponse_failureReason :: (Maybe Text -> f (Maybe Text))
-> DescribePipelineExecutionResponse
-> f DescribePipelineExecutionResponse
describePipelineExecutionResponse_failureReason = (DescribePipelineExecutionResponse -> Maybe Text)
-> (DescribePipelineExecutionResponse
    -> Maybe Text -> DescribePipelineExecutionResponse)
-> Lens
     DescribePipelineExecutionResponse
     DescribePipelineExecutionResponse
     (Maybe Text)
     (Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribePipelineExecutionResponse' {Maybe Text
failureReason :: Maybe Text
$sel:failureReason:DescribePipelineExecutionResponse' :: DescribePipelineExecutionResponse -> Maybe Text
failureReason} -> Maybe Text
failureReason) (\s :: DescribePipelineExecutionResponse
s@DescribePipelineExecutionResponse' {} Maybe Text
a -> DescribePipelineExecutionResponse
s {$sel:failureReason:DescribePipelineExecutionResponse' :: Maybe Text
failureReason = Maybe Text
a} :: DescribePipelineExecutionResponse)

-- | The Amazon Resource Name (ARN) of the pipeline execution.
describePipelineExecutionResponse_pipelineExecutionArn :: Lens.Lens' DescribePipelineExecutionResponse (Prelude.Maybe Prelude.Text)
describePipelineExecutionResponse_pipelineExecutionArn :: (Maybe Text -> f (Maybe Text))
-> DescribePipelineExecutionResponse
-> f DescribePipelineExecutionResponse
describePipelineExecutionResponse_pipelineExecutionArn = (DescribePipelineExecutionResponse -> Maybe Text)
-> (DescribePipelineExecutionResponse
    -> Maybe Text -> DescribePipelineExecutionResponse)
-> Lens
     DescribePipelineExecutionResponse
     DescribePipelineExecutionResponse
     (Maybe Text)
     (Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribePipelineExecutionResponse' {Maybe Text
pipelineExecutionArn :: Maybe Text
$sel:pipelineExecutionArn:DescribePipelineExecutionResponse' :: DescribePipelineExecutionResponse -> Maybe Text
pipelineExecutionArn} -> Maybe Text
pipelineExecutionArn) (\s :: DescribePipelineExecutionResponse
s@DescribePipelineExecutionResponse' {} Maybe Text
a -> DescribePipelineExecutionResponse
s {$sel:pipelineExecutionArn:DescribePipelineExecutionResponse' :: Maybe Text
pipelineExecutionArn = Maybe Text
a} :: DescribePipelineExecutionResponse)

-- | Undocumented member.
describePipelineExecutionResponse_createdBy :: Lens.Lens' DescribePipelineExecutionResponse (Prelude.Maybe UserContext)
describePipelineExecutionResponse_createdBy :: (Maybe UserContext -> f (Maybe UserContext))
-> DescribePipelineExecutionResponse
-> f DescribePipelineExecutionResponse
describePipelineExecutionResponse_createdBy = (DescribePipelineExecutionResponse -> Maybe UserContext)
-> (DescribePipelineExecutionResponse
    -> Maybe UserContext -> DescribePipelineExecutionResponse)
-> Lens
     DescribePipelineExecutionResponse
     DescribePipelineExecutionResponse
     (Maybe UserContext)
     (Maybe UserContext)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribePipelineExecutionResponse' {Maybe UserContext
createdBy :: Maybe UserContext
$sel:createdBy:DescribePipelineExecutionResponse' :: DescribePipelineExecutionResponse -> Maybe UserContext
createdBy} -> Maybe UserContext
createdBy) (\s :: DescribePipelineExecutionResponse
s@DescribePipelineExecutionResponse' {} Maybe UserContext
a -> DescribePipelineExecutionResponse
s {$sel:createdBy:DescribePipelineExecutionResponse' :: Maybe UserContext
createdBy = Maybe UserContext
a} :: DescribePipelineExecutionResponse)

-- | The time when the pipeline execution was modified last.
describePipelineExecutionResponse_lastModifiedTime :: Lens.Lens' DescribePipelineExecutionResponse (Prelude.Maybe Prelude.UTCTime)
describePipelineExecutionResponse_lastModifiedTime :: (Maybe UTCTime -> f (Maybe UTCTime))
-> DescribePipelineExecutionResponse
-> f DescribePipelineExecutionResponse
describePipelineExecutionResponse_lastModifiedTime = (DescribePipelineExecutionResponse -> Maybe POSIX)
-> (DescribePipelineExecutionResponse
    -> Maybe POSIX -> DescribePipelineExecutionResponse)
-> Lens
     DescribePipelineExecutionResponse
     DescribePipelineExecutionResponse
     (Maybe POSIX)
     (Maybe POSIX)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribePipelineExecutionResponse' {Maybe POSIX
lastModifiedTime :: Maybe POSIX
$sel:lastModifiedTime:DescribePipelineExecutionResponse' :: DescribePipelineExecutionResponse -> Maybe POSIX
lastModifiedTime} -> Maybe POSIX
lastModifiedTime) (\s :: DescribePipelineExecutionResponse
s@DescribePipelineExecutionResponse' {} Maybe POSIX
a -> DescribePipelineExecutionResponse
s {$sel:lastModifiedTime:DescribePipelineExecutionResponse' :: Maybe POSIX
lastModifiedTime = Maybe POSIX
a} :: DescribePipelineExecutionResponse) ((Maybe POSIX -> f (Maybe POSIX))
 -> DescribePipelineExecutionResponse
 -> f DescribePipelineExecutionResponse)
-> ((Maybe UTCTime -> f (Maybe UTCTime))
    -> Maybe POSIX -> f (Maybe POSIX))
-> (Maybe UTCTime -> f (Maybe UTCTime))
-> DescribePipelineExecutionResponse
-> f DescribePipelineExecutionResponse
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

-- | The Amazon Resource Name (ARN) of the pipeline.
describePipelineExecutionResponse_pipelineArn :: Lens.Lens' DescribePipelineExecutionResponse (Prelude.Maybe Prelude.Text)
describePipelineExecutionResponse_pipelineArn :: (Maybe Text -> f (Maybe Text))
-> DescribePipelineExecutionResponse
-> f DescribePipelineExecutionResponse
describePipelineExecutionResponse_pipelineArn = (DescribePipelineExecutionResponse -> Maybe Text)
-> (DescribePipelineExecutionResponse
    -> Maybe Text -> DescribePipelineExecutionResponse)
-> Lens
     DescribePipelineExecutionResponse
     DescribePipelineExecutionResponse
     (Maybe Text)
     (Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribePipelineExecutionResponse' {Maybe Text
pipelineArn :: Maybe Text
$sel:pipelineArn:DescribePipelineExecutionResponse' :: DescribePipelineExecutionResponse -> Maybe Text
pipelineArn} -> Maybe Text
pipelineArn) (\s :: DescribePipelineExecutionResponse
s@DescribePipelineExecutionResponse' {} Maybe Text
a -> DescribePipelineExecutionResponse
s {$sel:pipelineArn:DescribePipelineExecutionResponse' :: Maybe Text
pipelineArn = Maybe Text
a} :: DescribePipelineExecutionResponse)

-- | The display name of the pipeline execution.
describePipelineExecutionResponse_pipelineExecutionDisplayName :: Lens.Lens' DescribePipelineExecutionResponse (Prelude.Maybe Prelude.Text)
describePipelineExecutionResponse_pipelineExecutionDisplayName :: (Maybe Text -> f (Maybe Text))
-> DescribePipelineExecutionResponse
-> f DescribePipelineExecutionResponse
describePipelineExecutionResponse_pipelineExecutionDisplayName = (DescribePipelineExecutionResponse -> Maybe Text)
-> (DescribePipelineExecutionResponse
    -> Maybe Text -> DescribePipelineExecutionResponse)
-> Lens
     DescribePipelineExecutionResponse
     DescribePipelineExecutionResponse
     (Maybe Text)
     (Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribePipelineExecutionResponse' {Maybe Text
pipelineExecutionDisplayName :: Maybe Text
$sel:pipelineExecutionDisplayName:DescribePipelineExecutionResponse' :: DescribePipelineExecutionResponse -> Maybe Text
pipelineExecutionDisplayName} -> Maybe Text
pipelineExecutionDisplayName) (\s :: DescribePipelineExecutionResponse
s@DescribePipelineExecutionResponse' {} Maybe Text
a -> DescribePipelineExecutionResponse
s {$sel:pipelineExecutionDisplayName:DescribePipelineExecutionResponse' :: Maybe Text
pipelineExecutionDisplayName = Maybe Text
a} :: DescribePipelineExecutionResponse)

-- | Undocumented member.
describePipelineExecutionResponse_lastModifiedBy :: Lens.Lens' DescribePipelineExecutionResponse (Prelude.Maybe UserContext)
describePipelineExecutionResponse_lastModifiedBy :: (Maybe UserContext -> f (Maybe UserContext))
-> DescribePipelineExecutionResponse
-> f DescribePipelineExecutionResponse
describePipelineExecutionResponse_lastModifiedBy = (DescribePipelineExecutionResponse -> Maybe UserContext)
-> (DescribePipelineExecutionResponse
    -> Maybe UserContext -> DescribePipelineExecutionResponse)
-> Lens
     DescribePipelineExecutionResponse
     DescribePipelineExecutionResponse
     (Maybe UserContext)
     (Maybe UserContext)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribePipelineExecutionResponse' {Maybe UserContext
lastModifiedBy :: Maybe UserContext
$sel:lastModifiedBy:DescribePipelineExecutionResponse' :: DescribePipelineExecutionResponse -> Maybe UserContext
lastModifiedBy} -> Maybe UserContext
lastModifiedBy) (\s :: DescribePipelineExecutionResponse
s@DescribePipelineExecutionResponse' {} Maybe UserContext
a -> DescribePipelineExecutionResponse
s {$sel:lastModifiedBy:DescribePipelineExecutionResponse' :: Maybe UserContext
lastModifiedBy = Maybe UserContext
a} :: DescribePipelineExecutionResponse)

-- | The description of the pipeline execution.
describePipelineExecutionResponse_pipelineExecutionDescription :: Lens.Lens' DescribePipelineExecutionResponse (Prelude.Maybe Prelude.Text)
describePipelineExecutionResponse_pipelineExecutionDescription :: (Maybe Text -> f (Maybe Text))
-> DescribePipelineExecutionResponse
-> f DescribePipelineExecutionResponse
describePipelineExecutionResponse_pipelineExecutionDescription = (DescribePipelineExecutionResponse -> Maybe Text)
-> (DescribePipelineExecutionResponse
    -> Maybe Text -> DescribePipelineExecutionResponse)
-> Lens
     DescribePipelineExecutionResponse
     DescribePipelineExecutionResponse
     (Maybe Text)
     (Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribePipelineExecutionResponse' {Maybe Text
pipelineExecutionDescription :: Maybe Text
$sel:pipelineExecutionDescription:DescribePipelineExecutionResponse' :: DescribePipelineExecutionResponse -> Maybe Text
pipelineExecutionDescription} -> Maybe Text
pipelineExecutionDescription) (\s :: DescribePipelineExecutionResponse
s@DescribePipelineExecutionResponse' {} Maybe Text
a -> DescribePipelineExecutionResponse
s {$sel:pipelineExecutionDescription:DescribePipelineExecutionResponse' :: Maybe Text
pipelineExecutionDescription = Maybe Text
a} :: DescribePipelineExecutionResponse)

-- | Undocumented member.
describePipelineExecutionResponse_pipelineExperimentConfig :: Lens.Lens' DescribePipelineExecutionResponse (Prelude.Maybe PipelineExperimentConfig)
describePipelineExecutionResponse_pipelineExperimentConfig :: (Maybe PipelineExperimentConfig
 -> f (Maybe PipelineExperimentConfig))
-> DescribePipelineExecutionResponse
-> f DescribePipelineExecutionResponse
describePipelineExecutionResponse_pipelineExperimentConfig = (DescribePipelineExecutionResponse
 -> Maybe PipelineExperimentConfig)
-> (DescribePipelineExecutionResponse
    -> Maybe PipelineExperimentConfig
    -> DescribePipelineExecutionResponse)
-> Lens
     DescribePipelineExecutionResponse
     DescribePipelineExecutionResponse
     (Maybe PipelineExperimentConfig)
     (Maybe PipelineExperimentConfig)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribePipelineExecutionResponse' {Maybe PipelineExperimentConfig
pipelineExperimentConfig :: Maybe PipelineExperimentConfig
$sel:pipelineExperimentConfig:DescribePipelineExecutionResponse' :: DescribePipelineExecutionResponse -> Maybe PipelineExperimentConfig
pipelineExperimentConfig} -> Maybe PipelineExperimentConfig
pipelineExperimentConfig) (\s :: DescribePipelineExecutionResponse
s@DescribePipelineExecutionResponse' {} Maybe PipelineExperimentConfig
a -> DescribePipelineExecutionResponse
s {$sel:pipelineExperimentConfig:DescribePipelineExecutionResponse' :: Maybe PipelineExperimentConfig
pipelineExperimentConfig = Maybe PipelineExperimentConfig
a} :: DescribePipelineExecutionResponse)

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

instance
  Prelude.NFData
    DescribePipelineExecutionResponse