{-# 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.DescribeAlgorithm
-- 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)
--
-- Returns a description of the specified algorithm that is in your
-- account.
module Amazonka.SageMaker.DescribeAlgorithm
  ( -- * Creating a Request
    DescribeAlgorithm (..),
    newDescribeAlgorithm,

    -- * Request Lenses
    describeAlgorithm_algorithmName,

    -- * Destructuring the Response
    DescribeAlgorithmResponse (..),
    newDescribeAlgorithmResponse,

    -- * Response Lenses
    describeAlgorithmResponse_validationSpecification,
    describeAlgorithmResponse_inferenceSpecification,
    describeAlgorithmResponse_algorithmDescription,
    describeAlgorithmResponse_certifyForMarketplace,
    describeAlgorithmResponse_productId,
    describeAlgorithmResponse_httpStatus,
    describeAlgorithmResponse_algorithmName,
    describeAlgorithmResponse_algorithmArn,
    describeAlgorithmResponse_creationTime,
    describeAlgorithmResponse_trainingSpecification,
    describeAlgorithmResponse_algorithmStatus,
    describeAlgorithmResponse_algorithmStatusDetails,
  )
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:/ 'newDescribeAlgorithm' smart constructor.
data DescribeAlgorithm = DescribeAlgorithm'
  { -- | The name of the algorithm to describe.
    DescribeAlgorithm -> Text
algorithmName :: Prelude.Text
  }
  deriving (DescribeAlgorithm -> DescribeAlgorithm -> Bool
(DescribeAlgorithm -> DescribeAlgorithm -> Bool)
-> (DescribeAlgorithm -> DescribeAlgorithm -> Bool)
-> Eq DescribeAlgorithm
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: DescribeAlgorithm -> DescribeAlgorithm -> Bool
$c/= :: DescribeAlgorithm -> DescribeAlgorithm -> Bool
== :: DescribeAlgorithm -> DescribeAlgorithm -> Bool
$c== :: DescribeAlgorithm -> DescribeAlgorithm -> Bool
Prelude.Eq, ReadPrec [DescribeAlgorithm]
ReadPrec DescribeAlgorithm
Int -> ReadS DescribeAlgorithm
ReadS [DescribeAlgorithm]
(Int -> ReadS DescribeAlgorithm)
-> ReadS [DescribeAlgorithm]
-> ReadPrec DescribeAlgorithm
-> ReadPrec [DescribeAlgorithm]
-> Read DescribeAlgorithm
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [DescribeAlgorithm]
$creadListPrec :: ReadPrec [DescribeAlgorithm]
readPrec :: ReadPrec DescribeAlgorithm
$creadPrec :: ReadPrec DescribeAlgorithm
readList :: ReadS [DescribeAlgorithm]
$creadList :: ReadS [DescribeAlgorithm]
readsPrec :: Int -> ReadS DescribeAlgorithm
$creadsPrec :: Int -> ReadS DescribeAlgorithm
Prelude.Read, Int -> DescribeAlgorithm -> ShowS
[DescribeAlgorithm] -> ShowS
DescribeAlgorithm -> String
(Int -> DescribeAlgorithm -> ShowS)
-> (DescribeAlgorithm -> String)
-> ([DescribeAlgorithm] -> ShowS)
-> Show DescribeAlgorithm
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [DescribeAlgorithm] -> ShowS
$cshowList :: [DescribeAlgorithm] -> ShowS
show :: DescribeAlgorithm -> String
$cshow :: DescribeAlgorithm -> String
showsPrec :: Int -> DescribeAlgorithm -> ShowS
$cshowsPrec :: Int -> DescribeAlgorithm -> ShowS
Prelude.Show, (forall x. DescribeAlgorithm -> Rep DescribeAlgorithm x)
-> (forall x. Rep DescribeAlgorithm x -> DescribeAlgorithm)
-> Generic DescribeAlgorithm
forall x. Rep DescribeAlgorithm x -> DescribeAlgorithm
forall x. DescribeAlgorithm -> Rep DescribeAlgorithm x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep DescribeAlgorithm x -> DescribeAlgorithm
$cfrom :: forall x. DescribeAlgorithm -> Rep DescribeAlgorithm x
Prelude.Generic)

-- |
-- Create a value of 'DescribeAlgorithm' 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:
--
-- 'algorithmName', 'describeAlgorithm_algorithmName' - The name of the algorithm to describe.
newDescribeAlgorithm ::
  -- | 'algorithmName'
  Prelude.Text ->
  DescribeAlgorithm
newDescribeAlgorithm :: Text -> DescribeAlgorithm
newDescribeAlgorithm Text
pAlgorithmName_ =
  DescribeAlgorithm' :: Text -> DescribeAlgorithm
DescribeAlgorithm' {$sel:algorithmName:DescribeAlgorithm' :: Text
algorithmName = Text
pAlgorithmName_}

-- | The name of the algorithm to describe.
describeAlgorithm_algorithmName :: Lens.Lens' DescribeAlgorithm Prelude.Text
describeAlgorithm_algorithmName :: (Text -> f Text) -> DescribeAlgorithm -> f DescribeAlgorithm
describeAlgorithm_algorithmName = (DescribeAlgorithm -> Text)
-> (DescribeAlgorithm -> Text -> DescribeAlgorithm)
-> Lens DescribeAlgorithm DescribeAlgorithm Text Text
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeAlgorithm' {Text
algorithmName :: Text
$sel:algorithmName:DescribeAlgorithm' :: DescribeAlgorithm -> Text
algorithmName} -> Text
algorithmName) (\s :: DescribeAlgorithm
s@DescribeAlgorithm' {} Text
a -> DescribeAlgorithm
s {$sel:algorithmName:DescribeAlgorithm' :: Text
algorithmName = Text
a} :: DescribeAlgorithm)

instance Core.AWSRequest DescribeAlgorithm where
  type
    AWSResponse DescribeAlgorithm =
      DescribeAlgorithmResponse
  request :: DescribeAlgorithm -> Request DescribeAlgorithm
request = Service -> DescribeAlgorithm -> Request DescribeAlgorithm
forall a. (ToRequest a, ToJSON a) => Service -> a -> Request a
Request.postJSON Service
defaultService
  response :: Logger
-> Service
-> Proxy DescribeAlgorithm
-> ClientResponse ClientBody
-> m (Either
        Error (ClientResponse (AWSResponse DescribeAlgorithm)))
response =
    (Int
 -> ResponseHeaders
 -> Object
 -> Either String (AWSResponse DescribeAlgorithm))
-> Logger
-> Service
-> Proxy DescribeAlgorithm
-> ClientResponse ClientBody
-> m (Either
        Error (ClientResponse (AWSResponse DescribeAlgorithm)))
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 AlgorithmValidationSpecification
-> Maybe InferenceSpecification
-> Maybe Text
-> Maybe Bool
-> Maybe Text
-> Int
-> Text
-> Text
-> POSIX
-> TrainingSpecification
-> AlgorithmStatus
-> AlgorithmStatusDetails
-> DescribeAlgorithmResponse
DescribeAlgorithmResponse'
            (Maybe AlgorithmValidationSpecification
 -> Maybe InferenceSpecification
 -> Maybe Text
 -> Maybe Bool
 -> Maybe Text
 -> Int
 -> Text
 -> Text
 -> POSIX
 -> TrainingSpecification
 -> AlgorithmStatus
 -> AlgorithmStatusDetails
 -> DescribeAlgorithmResponse)
-> Either String (Maybe AlgorithmValidationSpecification)
-> Either
     String
     (Maybe InferenceSpecification
      -> Maybe Text
      -> Maybe Bool
      -> Maybe Text
      -> Int
      -> Text
      -> Text
      -> POSIX
      -> TrainingSpecification
      -> AlgorithmStatus
      -> AlgorithmStatusDetails
      -> DescribeAlgorithmResponse)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> (Object
x Object
-> Text -> Either String (Maybe AlgorithmValidationSpecification)
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"ValidationSpecification")
            Either
  String
  (Maybe InferenceSpecification
   -> Maybe Text
   -> Maybe Bool
   -> Maybe Text
   -> Int
   -> Text
   -> Text
   -> POSIX
   -> TrainingSpecification
   -> AlgorithmStatus
   -> AlgorithmStatusDetails
   -> DescribeAlgorithmResponse)
-> Either String (Maybe InferenceSpecification)
-> Either
     String
     (Maybe Text
      -> Maybe Bool
      -> Maybe Text
      -> Int
      -> Text
      -> Text
      -> POSIX
      -> TrainingSpecification
      -> AlgorithmStatus
      -> AlgorithmStatusDetails
      -> DescribeAlgorithmResponse)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Either String (Maybe InferenceSpecification)
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"InferenceSpecification")
            Either
  String
  (Maybe Text
   -> Maybe Bool
   -> Maybe Text
   -> Int
   -> Text
   -> Text
   -> POSIX
   -> TrainingSpecification
   -> AlgorithmStatus
   -> AlgorithmStatusDetails
   -> DescribeAlgorithmResponse)
-> Either String (Maybe Text)
-> Either
     String
     (Maybe Bool
      -> Maybe Text
      -> Int
      -> Text
      -> Text
      -> POSIX
      -> TrainingSpecification
      -> AlgorithmStatus
      -> AlgorithmStatusDetails
      -> DescribeAlgorithmResponse)
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
"AlgorithmDescription")
            Either
  String
  (Maybe Bool
   -> Maybe Text
   -> Int
   -> Text
   -> Text
   -> POSIX
   -> TrainingSpecification
   -> AlgorithmStatus
   -> AlgorithmStatusDetails
   -> DescribeAlgorithmResponse)
-> Either String (Maybe Bool)
-> Either
     String
     (Maybe Text
      -> Int
      -> Text
      -> Text
      -> POSIX
      -> TrainingSpecification
      -> AlgorithmStatus
      -> AlgorithmStatusDetails
      -> DescribeAlgorithmResponse)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Either String (Maybe Bool)
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"CertifyForMarketplace")
            Either
  String
  (Maybe Text
   -> Int
   -> Text
   -> Text
   -> POSIX
   -> TrainingSpecification
   -> AlgorithmStatus
   -> AlgorithmStatusDetails
   -> DescribeAlgorithmResponse)
-> Either String (Maybe Text)
-> Either
     String
     (Int
      -> Text
      -> Text
      -> POSIX
      -> TrainingSpecification
      -> AlgorithmStatus
      -> AlgorithmStatusDetails
      -> DescribeAlgorithmResponse)
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
"ProductId")
            Either
  String
  (Int
   -> Text
   -> Text
   -> POSIX
   -> TrainingSpecification
   -> AlgorithmStatus
   -> AlgorithmStatusDetails
   -> DescribeAlgorithmResponse)
-> Either String Int
-> Either
     String
     (Text
      -> Text
      -> POSIX
      -> TrainingSpecification
      -> AlgorithmStatus
      -> AlgorithmStatusDetails
      -> DescribeAlgorithmResponse)
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
   -> POSIX
   -> TrainingSpecification
   -> AlgorithmStatus
   -> AlgorithmStatusDetails
   -> DescribeAlgorithmResponse)
-> Either String Text
-> Either
     String
     (Text
      -> POSIX
      -> TrainingSpecification
      -> AlgorithmStatus
      -> AlgorithmStatusDetails
      -> DescribeAlgorithmResponse)
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
"AlgorithmName")
            Either
  String
  (Text
   -> POSIX
   -> TrainingSpecification
   -> AlgorithmStatus
   -> AlgorithmStatusDetails
   -> DescribeAlgorithmResponse)
-> Either String Text
-> Either
     String
     (POSIX
      -> TrainingSpecification
      -> AlgorithmStatus
      -> AlgorithmStatusDetails
      -> DescribeAlgorithmResponse)
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
"AlgorithmArn")
            Either
  String
  (POSIX
   -> TrainingSpecification
   -> AlgorithmStatus
   -> AlgorithmStatusDetails
   -> DescribeAlgorithmResponse)
-> Either String POSIX
-> Either
     String
     (TrainingSpecification
      -> AlgorithmStatus
      -> AlgorithmStatusDetails
      -> DescribeAlgorithmResponse)
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
"CreationTime")
            Either
  String
  (TrainingSpecification
   -> AlgorithmStatus
   -> AlgorithmStatusDetails
   -> DescribeAlgorithmResponse)
-> Either String TrainingSpecification
-> Either
     String
     (AlgorithmStatus
      -> AlgorithmStatusDetails -> DescribeAlgorithmResponse)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Either String TrainingSpecification
forall a. FromJSON a => Object -> Text -> Either String a
Core..:> Text
"TrainingSpecification")
            Either
  String
  (AlgorithmStatus
   -> AlgorithmStatusDetails -> DescribeAlgorithmResponse)
-> Either String AlgorithmStatus
-> Either
     String (AlgorithmStatusDetails -> DescribeAlgorithmResponse)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Either String AlgorithmStatus
forall a. FromJSON a => Object -> Text -> Either String a
Core..:> Text
"AlgorithmStatus")
            Either String (AlgorithmStatusDetails -> DescribeAlgorithmResponse)
-> Either String AlgorithmStatusDetails
-> Either String DescribeAlgorithmResponse
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Either String AlgorithmStatusDetails
forall a. FromJSON a => Object -> Text -> Either String a
Core..:> Text
"AlgorithmStatusDetails")
      )

instance Prelude.Hashable DescribeAlgorithm

instance Prelude.NFData DescribeAlgorithm

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

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

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

-- | /See:/ 'newDescribeAlgorithmResponse' smart constructor.
data DescribeAlgorithmResponse = DescribeAlgorithmResponse'
  { -- | Details about configurations for one or more training jobs that Amazon
    -- SageMaker runs to test the algorithm.
    DescribeAlgorithmResponse -> Maybe AlgorithmValidationSpecification
validationSpecification :: Prelude.Maybe AlgorithmValidationSpecification,
    -- | Details about inference jobs that the algorithm runs.
    DescribeAlgorithmResponse -> Maybe InferenceSpecification
inferenceSpecification :: Prelude.Maybe InferenceSpecification,
    -- | A brief summary about the algorithm.
    DescribeAlgorithmResponse -> Maybe Text
algorithmDescription :: Prelude.Maybe Prelude.Text,
    -- | Whether the algorithm is certified to be listed in Amazon Web Services
    -- Marketplace.
    DescribeAlgorithmResponse -> Maybe Bool
certifyForMarketplace :: Prelude.Maybe Prelude.Bool,
    -- | The product identifier of the algorithm.
    DescribeAlgorithmResponse -> Maybe Text
productId :: Prelude.Maybe Prelude.Text,
    -- | The response's http status code.
    DescribeAlgorithmResponse -> Int
httpStatus :: Prelude.Int,
    -- | The name of the algorithm being described.
    DescribeAlgorithmResponse -> Text
algorithmName :: Prelude.Text,
    -- | The Amazon Resource Name (ARN) of the algorithm.
    DescribeAlgorithmResponse -> Text
algorithmArn :: Prelude.Text,
    -- | A timestamp specifying when the algorithm was created.
    DescribeAlgorithmResponse -> POSIX
creationTime :: Core.POSIX,
    -- | Details about training jobs run by this algorithm.
    DescribeAlgorithmResponse -> TrainingSpecification
trainingSpecification :: TrainingSpecification,
    -- | The current status of the algorithm.
    DescribeAlgorithmResponse -> AlgorithmStatus
algorithmStatus :: AlgorithmStatus,
    -- | Details about the current status of the algorithm.
    DescribeAlgorithmResponse -> AlgorithmStatusDetails
algorithmStatusDetails :: AlgorithmStatusDetails
  }
  deriving (DescribeAlgorithmResponse -> DescribeAlgorithmResponse -> Bool
(DescribeAlgorithmResponse -> DescribeAlgorithmResponse -> Bool)
-> (DescribeAlgorithmResponse -> DescribeAlgorithmResponse -> Bool)
-> Eq DescribeAlgorithmResponse
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: DescribeAlgorithmResponse -> DescribeAlgorithmResponse -> Bool
$c/= :: DescribeAlgorithmResponse -> DescribeAlgorithmResponse -> Bool
== :: DescribeAlgorithmResponse -> DescribeAlgorithmResponse -> Bool
$c== :: DescribeAlgorithmResponse -> DescribeAlgorithmResponse -> Bool
Prelude.Eq, ReadPrec [DescribeAlgorithmResponse]
ReadPrec DescribeAlgorithmResponse
Int -> ReadS DescribeAlgorithmResponse
ReadS [DescribeAlgorithmResponse]
(Int -> ReadS DescribeAlgorithmResponse)
-> ReadS [DescribeAlgorithmResponse]
-> ReadPrec DescribeAlgorithmResponse
-> ReadPrec [DescribeAlgorithmResponse]
-> Read DescribeAlgorithmResponse
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [DescribeAlgorithmResponse]
$creadListPrec :: ReadPrec [DescribeAlgorithmResponse]
readPrec :: ReadPrec DescribeAlgorithmResponse
$creadPrec :: ReadPrec DescribeAlgorithmResponse
readList :: ReadS [DescribeAlgorithmResponse]
$creadList :: ReadS [DescribeAlgorithmResponse]
readsPrec :: Int -> ReadS DescribeAlgorithmResponse
$creadsPrec :: Int -> ReadS DescribeAlgorithmResponse
Prelude.Read, Int -> DescribeAlgorithmResponse -> ShowS
[DescribeAlgorithmResponse] -> ShowS
DescribeAlgorithmResponse -> String
(Int -> DescribeAlgorithmResponse -> ShowS)
-> (DescribeAlgorithmResponse -> String)
-> ([DescribeAlgorithmResponse] -> ShowS)
-> Show DescribeAlgorithmResponse
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [DescribeAlgorithmResponse] -> ShowS
$cshowList :: [DescribeAlgorithmResponse] -> ShowS
show :: DescribeAlgorithmResponse -> String
$cshow :: DescribeAlgorithmResponse -> String
showsPrec :: Int -> DescribeAlgorithmResponse -> ShowS
$cshowsPrec :: Int -> DescribeAlgorithmResponse -> ShowS
Prelude.Show, (forall x.
 DescribeAlgorithmResponse -> Rep DescribeAlgorithmResponse x)
-> (forall x.
    Rep DescribeAlgorithmResponse x -> DescribeAlgorithmResponse)
-> Generic DescribeAlgorithmResponse
forall x.
Rep DescribeAlgorithmResponse x -> DescribeAlgorithmResponse
forall x.
DescribeAlgorithmResponse -> Rep DescribeAlgorithmResponse x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep DescribeAlgorithmResponse x -> DescribeAlgorithmResponse
$cfrom :: forall x.
DescribeAlgorithmResponse -> Rep DescribeAlgorithmResponse x
Prelude.Generic)

-- |
-- Create a value of 'DescribeAlgorithmResponse' 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:
--
-- 'validationSpecification', 'describeAlgorithmResponse_validationSpecification' - Details about configurations for one or more training jobs that Amazon
-- SageMaker runs to test the algorithm.
--
-- 'inferenceSpecification', 'describeAlgorithmResponse_inferenceSpecification' - Details about inference jobs that the algorithm runs.
--
-- 'algorithmDescription', 'describeAlgorithmResponse_algorithmDescription' - A brief summary about the algorithm.
--
-- 'certifyForMarketplace', 'describeAlgorithmResponse_certifyForMarketplace' - Whether the algorithm is certified to be listed in Amazon Web Services
-- Marketplace.
--
-- 'productId', 'describeAlgorithmResponse_productId' - The product identifier of the algorithm.
--
-- 'httpStatus', 'describeAlgorithmResponse_httpStatus' - The response's http status code.
--
-- 'algorithmName', 'describeAlgorithmResponse_algorithmName' - The name of the algorithm being described.
--
-- 'algorithmArn', 'describeAlgorithmResponse_algorithmArn' - The Amazon Resource Name (ARN) of the algorithm.
--
-- 'creationTime', 'describeAlgorithmResponse_creationTime' - A timestamp specifying when the algorithm was created.
--
-- 'trainingSpecification', 'describeAlgorithmResponse_trainingSpecification' - Details about training jobs run by this algorithm.
--
-- 'algorithmStatus', 'describeAlgorithmResponse_algorithmStatus' - The current status of the algorithm.
--
-- 'algorithmStatusDetails', 'describeAlgorithmResponse_algorithmStatusDetails' - Details about the current status of the algorithm.
newDescribeAlgorithmResponse ::
  -- | 'httpStatus'
  Prelude.Int ->
  -- | 'algorithmName'
  Prelude.Text ->
  -- | 'algorithmArn'
  Prelude.Text ->
  -- | 'creationTime'
  Prelude.UTCTime ->
  -- | 'trainingSpecification'
  TrainingSpecification ->
  -- | 'algorithmStatus'
  AlgorithmStatus ->
  -- | 'algorithmStatusDetails'
  AlgorithmStatusDetails ->
  DescribeAlgorithmResponse
newDescribeAlgorithmResponse :: Int
-> Text
-> Text
-> UTCTime
-> TrainingSpecification
-> AlgorithmStatus
-> AlgorithmStatusDetails
-> DescribeAlgorithmResponse
newDescribeAlgorithmResponse
  Int
pHttpStatus_
  Text
pAlgorithmName_
  Text
pAlgorithmArn_
  UTCTime
pCreationTime_
  TrainingSpecification
pTrainingSpecification_
  AlgorithmStatus
pAlgorithmStatus_
  AlgorithmStatusDetails
pAlgorithmStatusDetails_ =
    DescribeAlgorithmResponse' :: Maybe AlgorithmValidationSpecification
-> Maybe InferenceSpecification
-> Maybe Text
-> Maybe Bool
-> Maybe Text
-> Int
-> Text
-> Text
-> POSIX
-> TrainingSpecification
-> AlgorithmStatus
-> AlgorithmStatusDetails
-> DescribeAlgorithmResponse
DescribeAlgorithmResponse'
      { $sel:validationSpecification:DescribeAlgorithmResponse' :: Maybe AlgorithmValidationSpecification
validationSpecification =
          Maybe AlgorithmValidationSpecification
forall a. Maybe a
Prelude.Nothing,
        $sel:inferenceSpecification:DescribeAlgorithmResponse' :: Maybe InferenceSpecification
inferenceSpecification = Maybe InferenceSpecification
forall a. Maybe a
Prelude.Nothing,
        $sel:algorithmDescription:DescribeAlgorithmResponse' :: Maybe Text
algorithmDescription = Maybe Text
forall a. Maybe a
Prelude.Nothing,
        $sel:certifyForMarketplace:DescribeAlgorithmResponse' :: Maybe Bool
certifyForMarketplace = Maybe Bool
forall a. Maybe a
Prelude.Nothing,
        $sel:productId:DescribeAlgorithmResponse' :: Maybe Text
productId = Maybe Text
forall a. Maybe a
Prelude.Nothing,
        $sel:httpStatus:DescribeAlgorithmResponse' :: Int
httpStatus = Int
pHttpStatus_,
        $sel:algorithmName:DescribeAlgorithmResponse' :: Text
algorithmName = Text
pAlgorithmName_,
        $sel:algorithmArn:DescribeAlgorithmResponse' :: Text
algorithmArn = Text
pAlgorithmArn_,
        $sel:creationTime:DescribeAlgorithmResponse' :: POSIX
creationTime = 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
pCreationTime_,
        $sel:trainingSpecification:DescribeAlgorithmResponse' :: TrainingSpecification
trainingSpecification = TrainingSpecification
pTrainingSpecification_,
        $sel:algorithmStatus:DescribeAlgorithmResponse' :: AlgorithmStatus
algorithmStatus = AlgorithmStatus
pAlgorithmStatus_,
        $sel:algorithmStatusDetails:DescribeAlgorithmResponse' :: AlgorithmStatusDetails
algorithmStatusDetails =
          AlgorithmStatusDetails
pAlgorithmStatusDetails_
      }

-- | Details about configurations for one or more training jobs that Amazon
-- SageMaker runs to test the algorithm.
describeAlgorithmResponse_validationSpecification :: Lens.Lens' DescribeAlgorithmResponse (Prelude.Maybe AlgorithmValidationSpecification)
describeAlgorithmResponse_validationSpecification :: (Maybe AlgorithmValidationSpecification
 -> f (Maybe AlgorithmValidationSpecification))
-> DescribeAlgorithmResponse -> f DescribeAlgorithmResponse
describeAlgorithmResponse_validationSpecification = (DescribeAlgorithmResponse
 -> Maybe AlgorithmValidationSpecification)
-> (DescribeAlgorithmResponse
    -> Maybe AlgorithmValidationSpecification
    -> DescribeAlgorithmResponse)
-> Lens
     DescribeAlgorithmResponse
     DescribeAlgorithmResponse
     (Maybe AlgorithmValidationSpecification)
     (Maybe AlgorithmValidationSpecification)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeAlgorithmResponse' {Maybe AlgorithmValidationSpecification
validationSpecification :: Maybe AlgorithmValidationSpecification
$sel:validationSpecification:DescribeAlgorithmResponse' :: DescribeAlgorithmResponse -> Maybe AlgorithmValidationSpecification
validationSpecification} -> Maybe AlgorithmValidationSpecification
validationSpecification) (\s :: DescribeAlgorithmResponse
s@DescribeAlgorithmResponse' {} Maybe AlgorithmValidationSpecification
a -> DescribeAlgorithmResponse
s {$sel:validationSpecification:DescribeAlgorithmResponse' :: Maybe AlgorithmValidationSpecification
validationSpecification = Maybe AlgorithmValidationSpecification
a} :: DescribeAlgorithmResponse)

-- | Details about inference jobs that the algorithm runs.
describeAlgorithmResponse_inferenceSpecification :: Lens.Lens' DescribeAlgorithmResponse (Prelude.Maybe InferenceSpecification)
describeAlgorithmResponse_inferenceSpecification :: (Maybe InferenceSpecification -> f (Maybe InferenceSpecification))
-> DescribeAlgorithmResponse -> f DescribeAlgorithmResponse
describeAlgorithmResponse_inferenceSpecification = (DescribeAlgorithmResponse -> Maybe InferenceSpecification)
-> (DescribeAlgorithmResponse
    -> Maybe InferenceSpecification -> DescribeAlgorithmResponse)
-> Lens
     DescribeAlgorithmResponse
     DescribeAlgorithmResponse
     (Maybe InferenceSpecification)
     (Maybe InferenceSpecification)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeAlgorithmResponse' {Maybe InferenceSpecification
inferenceSpecification :: Maybe InferenceSpecification
$sel:inferenceSpecification:DescribeAlgorithmResponse' :: DescribeAlgorithmResponse -> Maybe InferenceSpecification
inferenceSpecification} -> Maybe InferenceSpecification
inferenceSpecification) (\s :: DescribeAlgorithmResponse
s@DescribeAlgorithmResponse' {} Maybe InferenceSpecification
a -> DescribeAlgorithmResponse
s {$sel:inferenceSpecification:DescribeAlgorithmResponse' :: Maybe InferenceSpecification
inferenceSpecification = Maybe InferenceSpecification
a} :: DescribeAlgorithmResponse)

-- | A brief summary about the algorithm.
describeAlgorithmResponse_algorithmDescription :: Lens.Lens' DescribeAlgorithmResponse (Prelude.Maybe Prelude.Text)
describeAlgorithmResponse_algorithmDescription :: (Maybe Text -> f (Maybe Text))
-> DescribeAlgorithmResponse -> f DescribeAlgorithmResponse
describeAlgorithmResponse_algorithmDescription = (DescribeAlgorithmResponse -> Maybe Text)
-> (DescribeAlgorithmResponse
    -> Maybe Text -> DescribeAlgorithmResponse)
-> Lens
     DescribeAlgorithmResponse
     DescribeAlgorithmResponse
     (Maybe Text)
     (Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeAlgorithmResponse' {Maybe Text
algorithmDescription :: Maybe Text
$sel:algorithmDescription:DescribeAlgorithmResponse' :: DescribeAlgorithmResponse -> Maybe Text
algorithmDescription} -> Maybe Text
algorithmDescription) (\s :: DescribeAlgorithmResponse
s@DescribeAlgorithmResponse' {} Maybe Text
a -> DescribeAlgorithmResponse
s {$sel:algorithmDescription:DescribeAlgorithmResponse' :: Maybe Text
algorithmDescription = Maybe Text
a} :: DescribeAlgorithmResponse)

-- | Whether the algorithm is certified to be listed in Amazon Web Services
-- Marketplace.
describeAlgorithmResponse_certifyForMarketplace :: Lens.Lens' DescribeAlgorithmResponse (Prelude.Maybe Prelude.Bool)
describeAlgorithmResponse_certifyForMarketplace :: (Maybe Bool -> f (Maybe Bool))
-> DescribeAlgorithmResponse -> f DescribeAlgorithmResponse
describeAlgorithmResponse_certifyForMarketplace = (DescribeAlgorithmResponse -> Maybe Bool)
-> (DescribeAlgorithmResponse
    -> Maybe Bool -> DescribeAlgorithmResponse)
-> Lens
     DescribeAlgorithmResponse
     DescribeAlgorithmResponse
     (Maybe Bool)
     (Maybe Bool)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeAlgorithmResponse' {Maybe Bool
certifyForMarketplace :: Maybe Bool
$sel:certifyForMarketplace:DescribeAlgorithmResponse' :: DescribeAlgorithmResponse -> Maybe Bool
certifyForMarketplace} -> Maybe Bool
certifyForMarketplace) (\s :: DescribeAlgorithmResponse
s@DescribeAlgorithmResponse' {} Maybe Bool
a -> DescribeAlgorithmResponse
s {$sel:certifyForMarketplace:DescribeAlgorithmResponse' :: Maybe Bool
certifyForMarketplace = Maybe Bool
a} :: DescribeAlgorithmResponse)

-- | The product identifier of the algorithm.
describeAlgorithmResponse_productId :: Lens.Lens' DescribeAlgorithmResponse (Prelude.Maybe Prelude.Text)
describeAlgorithmResponse_productId :: (Maybe Text -> f (Maybe Text))
-> DescribeAlgorithmResponse -> f DescribeAlgorithmResponse
describeAlgorithmResponse_productId = (DescribeAlgorithmResponse -> Maybe Text)
-> (DescribeAlgorithmResponse
    -> Maybe Text -> DescribeAlgorithmResponse)
-> Lens
     DescribeAlgorithmResponse
     DescribeAlgorithmResponse
     (Maybe Text)
     (Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeAlgorithmResponse' {Maybe Text
productId :: Maybe Text
$sel:productId:DescribeAlgorithmResponse' :: DescribeAlgorithmResponse -> Maybe Text
productId} -> Maybe Text
productId) (\s :: DescribeAlgorithmResponse
s@DescribeAlgorithmResponse' {} Maybe Text
a -> DescribeAlgorithmResponse
s {$sel:productId:DescribeAlgorithmResponse' :: Maybe Text
productId = Maybe Text
a} :: DescribeAlgorithmResponse)

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

-- | The name of the algorithm being described.
describeAlgorithmResponse_algorithmName :: Lens.Lens' DescribeAlgorithmResponse Prelude.Text
describeAlgorithmResponse_algorithmName :: (Text -> f Text)
-> DescribeAlgorithmResponse -> f DescribeAlgorithmResponse
describeAlgorithmResponse_algorithmName = (DescribeAlgorithmResponse -> Text)
-> (DescribeAlgorithmResponse -> Text -> DescribeAlgorithmResponse)
-> Lens
     DescribeAlgorithmResponse DescribeAlgorithmResponse Text Text
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeAlgorithmResponse' {Text
algorithmName :: Text
$sel:algorithmName:DescribeAlgorithmResponse' :: DescribeAlgorithmResponse -> Text
algorithmName} -> Text
algorithmName) (\s :: DescribeAlgorithmResponse
s@DescribeAlgorithmResponse' {} Text
a -> DescribeAlgorithmResponse
s {$sel:algorithmName:DescribeAlgorithmResponse' :: Text
algorithmName = Text
a} :: DescribeAlgorithmResponse)

-- | The Amazon Resource Name (ARN) of the algorithm.
describeAlgorithmResponse_algorithmArn :: Lens.Lens' DescribeAlgorithmResponse Prelude.Text
describeAlgorithmResponse_algorithmArn :: (Text -> f Text)
-> DescribeAlgorithmResponse -> f DescribeAlgorithmResponse
describeAlgorithmResponse_algorithmArn = (DescribeAlgorithmResponse -> Text)
-> (DescribeAlgorithmResponse -> Text -> DescribeAlgorithmResponse)
-> Lens
     DescribeAlgorithmResponse DescribeAlgorithmResponse Text Text
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeAlgorithmResponse' {Text
algorithmArn :: Text
$sel:algorithmArn:DescribeAlgorithmResponse' :: DescribeAlgorithmResponse -> Text
algorithmArn} -> Text
algorithmArn) (\s :: DescribeAlgorithmResponse
s@DescribeAlgorithmResponse' {} Text
a -> DescribeAlgorithmResponse
s {$sel:algorithmArn:DescribeAlgorithmResponse' :: Text
algorithmArn = Text
a} :: DescribeAlgorithmResponse)

-- | A timestamp specifying when the algorithm was created.
describeAlgorithmResponse_creationTime :: Lens.Lens' DescribeAlgorithmResponse Prelude.UTCTime
describeAlgorithmResponse_creationTime :: (UTCTime -> f UTCTime)
-> DescribeAlgorithmResponse -> f DescribeAlgorithmResponse
describeAlgorithmResponse_creationTime = (DescribeAlgorithmResponse -> POSIX)
-> (DescribeAlgorithmResponse
    -> POSIX -> DescribeAlgorithmResponse)
-> Lens
     DescribeAlgorithmResponse DescribeAlgorithmResponse POSIX POSIX
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeAlgorithmResponse' {POSIX
creationTime :: POSIX
$sel:creationTime:DescribeAlgorithmResponse' :: DescribeAlgorithmResponse -> POSIX
creationTime} -> POSIX
creationTime) (\s :: DescribeAlgorithmResponse
s@DescribeAlgorithmResponse' {} POSIX
a -> DescribeAlgorithmResponse
s {$sel:creationTime:DescribeAlgorithmResponse' :: POSIX
creationTime = POSIX
a} :: DescribeAlgorithmResponse) ((POSIX -> f POSIX)
 -> DescribeAlgorithmResponse -> f DescribeAlgorithmResponse)
-> ((UTCTime -> f UTCTime) -> POSIX -> f POSIX)
-> (UTCTime -> f UTCTime)
-> DescribeAlgorithmResponse
-> f DescribeAlgorithmResponse
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

-- | Details about training jobs run by this algorithm.
describeAlgorithmResponse_trainingSpecification :: Lens.Lens' DescribeAlgorithmResponse TrainingSpecification
describeAlgorithmResponse_trainingSpecification :: (TrainingSpecification -> f TrainingSpecification)
-> DescribeAlgorithmResponse -> f DescribeAlgorithmResponse
describeAlgorithmResponse_trainingSpecification = (DescribeAlgorithmResponse -> TrainingSpecification)
-> (DescribeAlgorithmResponse
    -> TrainingSpecification -> DescribeAlgorithmResponse)
-> Lens
     DescribeAlgorithmResponse
     DescribeAlgorithmResponse
     TrainingSpecification
     TrainingSpecification
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeAlgorithmResponse' {TrainingSpecification
trainingSpecification :: TrainingSpecification
$sel:trainingSpecification:DescribeAlgorithmResponse' :: DescribeAlgorithmResponse -> TrainingSpecification
trainingSpecification} -> TrainingSpecification
trainingSpecification) (\s :: DescribeAlgorithmResponse
s@DescribeAlgorithmResponse' {} TrainingSpecification
a -> DescribeAlgorithmResponse
s {$sel:trainingSpecification:DescribeAlgorithmResponse' :: TrainingSpecification
trainingSpecification = TrainingSpecification
a} :: DescribeAlgorithmResponse)

-- | The current status of the algorithm.
describeAlgorithmResponse_algorithmStatus :: Lens.Lens' DescribeAlgorithmResponse AlgorithmStatus
describeAlgorithmResponse_algorithmStatus :: (AlgorithmStatus -> f AlgorithmStatus)
-> DescribeAlgorithmResponse -> f DescribeAlgorithmResponse
describeAlgorithmResponse_algorithmStatus = (DescribeAlgorithmResponse -> AlgorithmStatus)
-> (DescribeAlgorithmResponse
    -> AlgorithmStatus -> DescribeAlgorithmResponse)
-> Lens
     DescribeAlgorithmResponse
     DescribeAlgorithmResponse
     AlgorithmStatus
     AlgorithmStatus
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeAlgorithmResponse' {AlgorithmStatus
algorithmStatus :: AlgorithmStatus
$sel:algorithmStatus:DescribeAlgorithmResponse' :: DescribeAlgorithmResponse -> AlgorithmStatus
algorithmStatus} -> AlgorithmStatus
algorithmStatus) (\s :: DescribeAlgorithmResponse
s@DescribeAlgorithmResponse' {} AlgorithmStatus
a -> DescribeAlgorithmResponse
s {$sel:algorithmStatus:DescribeAlgorithmResponse' :: AlgorithmStatus
algorithmStatus = AlgorithmStatus
a} :: DescribeAlgorithmResponse)

-- | Details about the current status of the algorithm.
describeAlgorithmResponse_algorithmStatusDetails :: Lens.Lens' DescribeAlgorithmResponse AlgorithmStatusDetails
describeAlgorithmResponse_algorithmStatusDetails :: (AlgorithmStatusDetails -> f AlgorithmStatusDetails)
-> DescribeAlgorithmResponse -> f DescribeAlgorithmResponse
describeAlgorithmResponse_algorithmStatusDetails = (DescribeAlgorithmResponse -> AlgorithmStatusDetails)
-> (DescribeAlgorithmResponse
    -> AlgorithmStatusDetails -> DescribeAlgorithmResponse)
-> Lens
     DescribeAlgorithmResponse
     DescribeAlgorithmResponse
     AlgorithmStatusDetails
     AlgorithmStatusDetails
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeAlgorithmResponse' {AlgorithmStatusDetails
algorithmStatusDetails :: AlgorithmStatusDetails
$sel:algorithmStatusDetails:DescribeAlgorithmResponse' :: DescribeAlgorithmResponse -> AlgorithmStatusDetails
algorithmStatusDetails} -> AlgorithmStatusDetails
algorithmStatusDetails) (\s :: DescribeAlgorithmResponse
s@DescribeAlgorithmResponse' {} AlgorithmStatusDetails
a -> DescribeAlgorithmResponse
s {$sel:algorithmStatusDetails:DescribeAlgorithmResponse' :: AlgorithmStatusDetails
algorithmStatusDetails = AlgorithmStatusDetails
a} :: DescribeAlgorithmResponse)

instance Prelude.NFData DescribeAlgorithmResponse