{-# 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.Core.Lens.Internal as Lens
import qualified Amazonka.Data as Data
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
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]
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
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. 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'
{ $sel:candidateDefinitionNotebookLocation:AutoMLJobArtifacts' :: Maybe Text
candidateDefinitionNotebookLocation =
forall a. Maybe a
Prelude.Nothing,
$sel:dataExplorationNotebookLocation:AutoMLJobArtifacts' :: Maybe Text
dataExplorationNotebookLocation = forall a. Maybe a
Prelude.Nothing
}
autoMLJobArtifacts_candidateDefinitionNotebookLocation :: Lens.Lens' AutoMLJobArtifacts (Prelude.Maybe Prelude.Text)
autoMLJobArtifacts_candidateDefinitionNotebookLocation :: Lens' AutoMLJobArtifacts (Maybe Text)
autoMLJobArtifacts_candidateDefinitionNotebookLocation = 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 :: Lens' AutoMLJobArtifacts (Maybe Text)
autoMLJobArtifacts_dataExplorationNotebookLocation = 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 Data.FromJSON AutoMLJobArtifacts where
parseJSON :: Value -> Parser AutoMLJobArtifacts
parseJSON =
forall a. String -> (Object -> Parser a) -> Value -> Parser a
Data.withObject
String
"AutoMLJobArtifacts"
( \Object
x ->
Maybe Text -> Maybe Text -> AutoMLJobArtifacts
AutoMLJobArtifacts'
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"CandidateDefinitionNotebookLocation")
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"DataExplorationNotebookLocation")
)
instance Prelude.Hashable AutoMLJobArtifacts where
hashWithSalt :: Int -> AutoMLJobArtifacts -> Int
hashWithSalt Int
_salt AutoMLJobArtifacts' {Maybe Text
dataExplorationNotebookLocation :: Maybe Text
candidateDefinitionNotebookLocation :: Maybe Text
$sel:dataExplorationNotebookLocation:AutoMLJobArtifacts' :: AutoMLJobArtifacts -> Maybe Text
$sel:candidateDefinitionNotebookLocation:AutoMLJobArtifacts' :: AutoMLJobArtifacts -> Maybe Text
..} =
Int
_salt
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
candidateDefinitionNotebookLocation
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
dataExplorationNotebookLocation
instance Prelude.NFData AutoMLJobArtifacts where
rnf :: AutoMLJobArtifacts -> ()
rnf AutoMLJobArtifacts' {Maybe Text
dataExplorationNotebookLocation :: Maybe Text
candidateDefinitionNotebookLocation :: Maybe Text
$sel:dataExplorationNotebookLocation:AutoMLJobArtifacts' :: AutoMLJobArtifacts -> Maybe Text
$sel:candidateDefinitionNotebookLocation:AutoMLJobArtifacts' :: AutoMLJobArtifacts -> Maybe Text
..} =
forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
candidateDefinitionNotebookLocation
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
dataExplorationNotebookLocation