module Stratosphere.SageMaker.ModelBiasJobDefinition.MonitoringGroundTruthS3InputProperty (
MonitoringGroundTruthS3InputProperty(..),
mkMonitoringGroundTruthS3InputProperty
) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import Stratosphere.ResourceProperties
import Stratosphere.Value
data MonitoringGroundTruthS3InputProperty
=
MonitoringGroundTruthS3InputProperty {MonitoringGroundTruthS3InputProperty -> ()
haddock_workaround_ :: (),
MonitoringGroundTruthS3InputProperty -> Value Text
s3Uri :: (Value Prelude.Text)}
deriving stock (MonitoringGroundTruthS3InputProperty
-> MonitoringGroundTruthS3InputProperty -> Bool
(MonitoringGroundTruthS3InputProperty
-> MonitoringGroundTruthS3InputProperty -> Bool)
-> (MonitoringGroundTruthS3InputProperty
-> MonitoringGroundTruthS3InputProperty -> Bool)
-> Eq MonitoringGroundTruthS3InputProperty
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: MonitoringGroundTruthS3InputProperty
-> MonitoringGroundTruthS3InputProperty -> Bool
== :: MonitoringGroundTruthS3InputProperty
-> MonitoringGroundTruthS3InputProperty -> Bool
$c/= :: MonitoringGroundTruthS3InputProperty
-> MonitoringGroundTruthS3InputProperty -> Bool
/= :: MonitoringGroundTruthS3InputProperty
-> MonitoringGroundTruthS3InputProperty -> Bool
Prelude.Eq, Int -> MonitoringGroundTruthS3InputProperty -> ShowS
[MonitoringGroundTruthS3InputProperty] -> ShowS
MonitoringGroundTruthS3InputProperty -> String
(Int -> MonitoringGroundTruthS3InputProperty -> ShowS)
-> (MonitoringGroundTruthS3InputProperty -> String)
-> ([MonitoringGroundTruthS3InputProperty] -> ShowS)
-> Show MonitoringGroundTruthS3InputProperty
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> MonitoringGroundTruthS3InputProperty -> ShowS
showsPrec :: Int -> MonitoringGroundTruthS3InputProperty -> ShowS
$cshow :: MonitoringGroundTruthS3InputProperty -> String
show :: MonitoringGroundTruthS3InputProperty -> String
$cshowList :: [MonitoringGroundTruthS3InputProperty] -> ShowS
showList :: [MonitoringGroundTruthS3InputProperty] -> ShowS
Prelude.Show)
mkMonitoringGroundTruthS3InputProperty ::
Value Prelude.Text -> MonitoringGroundTruthS3InputProperty
mkMonitoringGroundTruthS3InputProperty :: Value Text -> MonitoringGroundTruthS3InputProperty
mkMonitoringGroundTruthS3InputProperty Value Text
s3Uri
= MonitoringGroundTruthS3InputProperty
{haddock_workaround_ :: ()
haddock_workaround_ = (), s3Uri :: Value Text
s3Uri = Value Text
s3Uri}
instance ToResourceProperties MonitoringGroundTruthS3InputProperty where
toResourceProperties :: MonitoringGroundTruthS3InputProperty -> ResourceProperties
toResourceProperties MonitoringGroundTruthS3InputProperty {()
Value Text
haddock_workaround_ :: MonitoringGroundTruthS3InputProperty -> ()
s3Uri :: MonitoringGroundTruthS3InputProperty -> Value Text
haddock_workaround_ :: ()
s3Uri :: Value Text
..}
= ResourceProperties
{awsType :: Text
awsType = Text
"AWS::SageMaker::ModelBiasJobDefinition.MonitoringGroundTruthS3Input",
supportsTags :: Bool
supportsTags = Bool
Prelude.False, properties :: Object
properties = [Key
"S3Uri" Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= Value Text
s3Uri]}
instance JSON.ToJSON MonitoringGroundTruthS3InputProperty where
toJSON :: MonitoringGroundTruthS3InputProperty -> Value
toJSON MonitoringGroundTruthS3InputProperty {()
Value Text
haddock_workaround_ :: MonitoringGroundTruthS3InputProperty -> ()
s3Uri :: MonitoringGroundTruthS3InputProperty -> Value Text
haddock_workaround_ :: ()
s3Uri :: Value Text
..}
= [(Key, Value)] -> Value
JSON.object [Key
"S3Uri" Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= Value Text
s3Uri]
instance Property "S3Uri" MonitoringGroundTruthS3InputProperty where
type PropertyType "S3Uri" MonitoringGroundTruthS3InputProperty = Value Prelude.Text
set :: PropertyType "S3Uri" MonitoringGroundTruthS3InputProperty
-> MonitoringGroundTruthS3InputProperty
-> MonitoringGroundTruthS3InputProperty
set PropertyType "S3Uri" MonitoringGroundTruthS3InputProperty
newValue MonitoringGroundTruthS3InputProperty {()
Value Text
haddock_workaround_ :: MonitoringGroundTruthS3InputProperty -> ()
s3Uri :: MonitoringGroundTruthS3InputProperty -> Value Text
haddock_workaround_ :: ()
s3Uri :: Value Text
..}
= MonitoringGroundTruthS3InputProperty {s3Uri :: Value Text
s3Uri = PropertyType "S3Uri" MonitoringGroundTruthS3InputProperty
Value Text
newValue, ()
haddock_workaround_ :: ()
haddock_workaround_ :: ()
..}