{-# LANGUAGE DeriveGeneric #-}
{-# LANGUAGE DuplicateRecordFields #-}
{-# LANGUAGE NamedFieldPuns #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE RecordWildCards #-}
{-# LANGUAGE StrictData #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# OPTIONS_GHC -fno-warn-unused-imports #-}
{-# OPTIONS_GHC -fno-warn-unused-matches #-}
module Amazonka.SageMaker.Types.AutoMLJobArtifacts where
import qualified Amazonka.Core as Core
import qualified Amazonka.Lens as Lens
import qualified Amazonka.Prelude as Prelude
data AutoMLJobArtifacts = AutoMLJobArtifacts'
{
AutoMLJobArtifacts -> Maybe Text
candidateDefinitionNotebookLocation :: Prelude.Maybe Prelude.Text,
AutoMLJobArtifacts -> Maybe Text
dataExplorationNotebookLocation :: Prelude.Maybe Prelude.Text
}
deriving (AutoMLJobArtifacts -> AutoMLJobArtifacts -> Bool
(AutoMLJobArtifacts -> AutoMLJobArtifacts -> Bool)
-> (AutoMLJobArtifacts -> AutoMLJobArtifacts -> Bool)
-> Eq AutoMLJobArtifacts
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: AutoMLJobArtifacts -> AutoMLJobArtifacts -> Bool
$c/= :: AutoMLJobArtifacts -> AutoMLJobArtifacts -> Bool
== :: AutoMLJobArtifacts -> AutoMLJobArtifacts -> Bool
$c== :: AutoMLJobArtifacts -> AutoMLJobArtifacts -> Bool
Prelude.Eq, ReadPrec [AutoMLJobArtifacts]
ReadPrec AutoMLJobArtifacts
Int -> ReadS AutoMLJobArtifacts
ReadS [AutoMLJobArtifacts]
(Int -> ReadS AutoMLJobArtifacts)
-> ReadS [AutoMLJobArtifacts]
-> ReadPrec AutoMLJobArtifacts
-> ReadPrec [AutoMLJobArtifacts]
-> Read AutoMLJobArtifacts
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [AutoMLJobArtifacts]
$creadListPrec :: ReadPrec [AutoMLJobArtifacts]
readPrec :: ReadPrec AutoMLJobArtifacts
$creadPrec :: ReadPrec AutoMLJobArtifacts
readList :: ReadS [AutoMLJobArtifacts]
$creadList :: ReadS [AutoMLJobArtifacts]
readsPrec :: Int -> ReadS AutoMLJobArtifacts
$creadsPrec :: Int -> ReadS AutoMLJobArtifacts
Prelude.Read, Int -> AutoMLJobArtifacts -> ShowS
[AutoMLJobArtifacts] -> ShowS
AutoMLJobArtifacts -> String
(Int -> AutoMLJobArtifacts -> ShowS)
-> (AutoMLJobArtifacts -> String)
-> ([AutoMLJobArtifacts] -> ShowS)
-> Show AutoMLJobArtifacts
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [AutoMLJobArtifacts] -> ShowS
$cshowList :: [AutoMLJobArtifacts] -> ShowS
show :: AutoMLJobArtifacts -> String
$cshow :: AutoMLJobArtifacts -> String
showsPrec :: Int -> AutoMLJobArtifacts -> ShowS
$cshowsPrec :: Int -> AutoMLJobArtifacts -> ShowS
Prelude.Show, (forall x. AutoMLJobArtifacts -> Rep AutoMLJobArtifacts x)
-> (forall x. Rep AutoMLJobArtifacts x -> AutoMLJobArtifacts)
-> Generic AutoMLJobArtifacts
forall x. Rep AutoMLJobArtifacts x -> AutoMLJobArtifacts
forall x. AutoMLJobArtifacts -> Rep AutoMLJobArtifacts x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep AutoMLJobArtifacts x -> AutoMLJobArtifacts
$cfrom :: forall x. AutoMLJobArtifacts -> Rep AutoMLJobArtifacts x
Prelude.Generic)
newAutoMLJobArtifacts ::
AutoMLJobArtifacts
newAutoMLJobArtifacts :: AutoMLJobArtifacts
newAutoMLJobArtifacts =
AutoMLJobArtifacts' :: Maybe Text -> Maybe Text -> AutoMLJobArtifacts
AutoMLJobArtifacts'
{ $sel:candidateDefinitionNotebookLocation:AutoMLJobArtifacts' :: Maybe Text
candidateDefinitionNotebookLocation =
Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:dataExplorationNotebookLocation:AutoMLJobArtifacts' :: Maybe Text
dataExplorationNotebookLocation = Maybe Text
forall a. Maybe a
Prelude.Nothing
}
autoMLJobArtifacts_candidateDefinitionNotebookLocation :: Lens.Lens' AutoMLJobArtifacts (Prelude.Maybe Prelude.Text)
autoMLJobArtifacts_candidateDefinitionNotebookLocation :: (Maybe Text -> f (Maybe Text))
-> AutoMLJobArtifacts -> f AutoMLJobArtifacts
autoMLJobArtifacts_candidateDefinitionNotebookLocation = (AutoMLJobArtifacts -> Maybe Text)
-> (AutoMLJobArtifacts -> Maybe Text -> AutoMLJobArtifacts)
-> Lens
AutoMLJobArtifacts AutoMLJobArtifacts (Maybe Text) (Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\AutoMLJobArtifacts' {Maybe Text
candidateDefinitionNotebookLocation :: Maybe Text
$sel:candidateDefinitionNotebookLocation:AutoMLJobArtifacts' :: AutoMLJobArtifacts -> Maybe Text
candidateDefinitionNotebookLocation} -> Maybe Text
candidateDefinitionNotebookLocation) (\s :: AutoMLJobArtifacts
s@AutoMLJobArtifacts' {} Maybe Text
a -> AutoMLJobArtifacts
s {$sel:candidateDefinitionNotebookLocation:AutoMLJobArtifacts' :: Maybe Text
candidateDefinitionNotebookLocation = Maybe Text
a} :: AutoMLJobArtifacts)
autoMLJobArtifacts_dataExplorationNotebookLocation :: Lens.Lens' AutoMLJobArtifacts (Prelude.Maybe Prelude.Text)
autoMLJobArtifacts_dataExplorationNotebookLocation :: (Maybe Text -> f (Maybe Text))
-> AutoMLJobArtifacts -> f AutoMLJobArtifacts
autoMLJobArtifacts_dataExplorationNotebookLocation = (AutoMLJobArtifacts -> Maybe Text)
-> (AutoMLJobArtifacts -> Maybe Text -> AutoMLJobArtifacts)
-> Lens
AutoMLJobArtifacts AutoMLJobArtifacts (Maybe Text) (Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\AutoMLJobArtifacts' {Maybe Text
dataExplorationNotebookLocation :: Maybe Text
$sel:dataExplorationNotebookLocation:AutoMLJobArtifacts' :: AutoMLJobArtifacts -> Maybe Text
dataExplorationNotebookLocation} -> Maybe Text
dataExplorationNotebookLocation) (\s :: AutoMLJobArtifacts
s@AutoMLJobArtifacts' {} Maybe Text
a -> AutoMLJobArtifacts
s {$sel:dataExplorationNotebookLocation:AutoMLJobArtifacts' :: Maybe Text
dataExplorationNotebookLocation = Maybe Text
a} :: AutoMLJobArtifacts)
instance Core.FromJSON AutoMLJobArtifacts where
parseJSON :: Value -> Parser AutoMLJobArtifacts
parseJSON =
String
-> (Object -> Parser AutoMLJobArtifacts)
-> Value
-> Parser AutoMLJobArtifacts
forall a. String -> (Object -> Parser a) -> Value -> Parser a
Core.withObject
String
"AutoMLJobArtifacts"
( \Object
x ->
Maybe Text -> Maybe Text -> AutoMLJobArtifacts
AutoMLJobArtifacts'
(Maybe Text -> Maybe Text -> AutoMLJobArtifacts)
-> Parser (Maybe Text) -> Parser (Maybe Text -> AutoMLJobArtifacts)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> (Object
x Object -> Text -> Parser (Maybe Text)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"CandidateDefinitionNotebookLocation")
Parser (Maybe Text -> AutoMLJobArtifacts)
-> Parser (Maybe Text) -> Parser AutoMLJobArtifacts
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe Text)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"DataExplorationNotebookLocation")
)
instance Prelude.Hashable AutoMLJobArtifacts
instance Prelude.NFData AutoMLJobArtifacts