{-# 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.ModelCardExportArtifacts 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 ModelCardExportArtifacts = ModelCardExportArtifacts'
{
ModelCardExportArtifacts -> Text
s3ExportArtifacts :: Prelude.Text
}
deriving (ModelCardExportArtifacts -> ModelCardExportArtifacts -> Bool
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: ModelCardExportArtifacts -> ModelCardExportArtifacts -> Bool
$c/= :: ModelCardExportArtifacts -> ModelCardExportArtifacts -> Bool
== :: ModelCardExportArtifacts -> ModelCardExportArtifacts -> Bool
$c== :: ModelCardExportArtifacts -> ModelCardExportArtifacts -> Bool
Prelude.Eq, ReadPrec [ModelCardExportArtifacts]
ReadPrec ModelCardExportArtifacts
Int -> ReadS ModelCardExportArtifacts
ReadS [ModelCardExportArtifacts]
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [ModelCardExportArtifacts]
$creadListPrec :: ReadPrec [ModelCardExportArtifacts]
readPrec :: ReadPrec ModelCardExportArtifacts
$creadPrec :: ReadPrec ModelCardExportArtifacts
readList :: ReadS [ModelCardExportArtifacts]
$creadList :: ReadS [ModelCardExportArtifacts]
readsPrec :: Int -> ReadS ModelCardExportArtifacts
$creadsPrec :: Int -> ReadS ModelCardExportArtifacts
Prelude.Read, Int -> ModelCardExportArtifacts -> ShowS
[ModelCardExportArtifacts] -> ShowS
ModelCardExportArtifacts -> String
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [ModelCardExportArtifacts] -> ShowS
$cshowList :: [ModelCardExportArtifacts] -> ShowS
show :: ModelCardExportArtifacts -> String
$cshow :: ModelCardExportArtifacts -> String
showsPrec :: Int -> ModelCardExportArtifacts -> ShowS
$cshowsPrec :: Int -> ModelCardExportArtifacts -> ShowS
Prelude.Show, forall x.
Rep ModelCardExportArtifacts x -> ModelCardExportArtifacts
forall x.
ModelCardExportArtifacts -> Rep ModelCardExportArtifacts x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep ModelCardExportArtifacts x -> ModelCardExportArtifacts
$cfrom :: forall x.
ModelCardExportArtifacts -> Rep ModelCardExportArtifacts x
Prelude.Generic)
newModelCardExportArtifacts ::
Prelude.Text ->
ModelCardExportArtifacts
newModelCardExportArtifacts :: Text -> ModelCardExportArtifacts
newModelCardExportArtifacts Text
pS3ExportArtifacts_ =
ModelCardExportArtifacts'
{ $sel:s3ExportArtifacts:ModelCardExportArtifacts' :: Text
s3ExportArtifacts =
Text
pS3ExportArtifacts_
}
modelCardExportArtifacts_s3ExportArtifacts :: Lens.Lens' ModelCardExportArtifacts Prelude.Text
modelCardExportArtifacts_s3ExportArtifacts :: Lens' ModelCardExportArtifacts Text
modelCardExportArtifacts_s3ExportArtifacts = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ModelCardExportArtifacts' {Text
s3ExportArtifacts :: Text
$sel:s3ExportArtifacts:ModelCardExportArtifacts' :: ModelCardExportArtifacts -> Text
s3ExportArtifacts} -> Text
s3ExportArtifacts) (\s :: ModelCardExportArtifacts
s@ModelCardExportArtifacts' {} Text
a -> ModelCardExportArtifacts
s {$sel:s3ExportArtifacts:ModelCardExportArtifacts' :: Text
s3ExportArtifacts = Text
a} :: ModelCardExportArtifacts)
instance Data.FromJSON ModelCardExportArtifacts where
parseJSON :: Value -> Parser ModelCardExportArtifacts
parseJSON =
forall a. String -> (Object -> Parser a) -> Value -> Parser a
Data.withObject
String
"ModelCardExportArtifacts"
( \Object
x ->
Text -> ModelCardExportArtifacts
ModelCardExportArtifacts'
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> (Object
x forall a. FromJSON a => Object -> Key -> Parser a
Data..: Key
"S3ExportArtifacts")
)
instance Prelude.Hashable ModelCardExportArtifacts where
hashWithSalt :: Int -> ModelCardExportArtifacts -> Int
hashWithSalt Int
_salt ModelCardExportArtifacts' {Text
s3ExportArtifacts :: Text
$sel:s3ExportArtifacts:ModelCardExportArtifacts' :: ModelCardExportArtifacts -> Text
..} =
Int
_salt forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Text
s3ExportArtifacts
instance Prelude.NFData ModelCardExportArtifacts where
rnf :: ModelCardExportArtifacts -> ()
rnf ModelCardExportArtifacts' {Text
s3ExportArtifacts :: Text
$sel:s3ExportArtifacts:ModelCardExportArtifacts' :: ModelCardExportArtifacts -> Text
..} =
forall a. NFData a => a -> ()
Prelude.rnf Text
s3ExportArtifacts