module Stratosphere.SageMaker.MonitoringSchedule.MonitoringAppSpecificationProperty (
MonitoringAppSpecificationProperty(..),
mkMonitoringAppSpecificationProperty
) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import Stratosphere.ResourceProperties
import Stratosphere.Value
data MonitoringAppSpecificationProperty
=
MonitoringAppSpecificationProperty {MonitoringAppSpecificationProperty -> ()
haddock_workaround_ :: (),
MonitoringAppSpecificationProperty -> Maybe (ValueList Text)
containerArguments :: (Prelude.Maybe (ValueList Prelude.Text)),
MonitoringAppSpecificationProperty -> Maybe (ValueList Text)
containerEntrypoint :: (Prelude.Maybe (ValueList Prelude.Text)),
MonitoringAppSpecificationProperty -> Value Text
imageUri :: (Value Prelude.Text),
MonitoringAppSpecificationProperty -> Maybe (Value Text)
postAnalyticsProcessorSourceUri :: (Prelude.Maybe (Value Prelude.Text)),
MonitoringAppSpecificationProperty -> Maybe (Value Text)
recordPreprocessorSourceUri :: (Prelude.Maybe (Value Prelude.Text))}
deriving stock (MonitoringAppSpecificationProperty
-> MonitoringAppSpecificationProperty -> Bool
(MonitoringAppSpecificationProperty
-> MonitoringAppSpecificationProperty -> Bool)
-> (MonitoringAppSpecificationProperty
-> MonitoringAppSpecificationProperty -> Bool)
-> Eq MonitoringAppSpecificationProperty
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: MonitoringAppSpecificationProperty
-> MonitoringAppSpecificationProperty -> Bool
== :: MonitoringAppSpecificationProperty
-> MonitoringAppSpecificationProperty -> Bool
$c/= :: MonitoringAppSpecificationProperty
-> MonitoringAppSpecificationProperty -> Bool
/= :: MonitoringAppSpecificationProperty
-> MonitoringAppSpecificationProperty -> Bool
Prelude.Eq, Int -> MonitoringAppSpecificationProperty -> ShowS
[MonitoringAppSpecificationProperty] -> ShowS
MonitoringAppSpecificationProperty -> String
(Int -> MonitoringAppSpecificationProperty -> ShowS)
-> (MonitoringAppSpecificationProperty -> String)
-> ([MonitoringAppSpecificationProperty] -> ShowS)
-> Show MonitoringAppSpecificationProperty
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> MonitoringAppSpecificationProperty -> ShowS
showsPrec :: Int -> MonitoringAppSpecificationProperty -> ShowS
$cshow :: MonitoringAppSpecificationProperty -> String
show :: MonitoringAppSpecificationProperty -> String
$cshowList :: [MonitoringAppSpecificationProperty] -> ShowS
showList :: [MonitoringAppSpecificationProperty] -> ShowS
Prelude.Show)
mkMonitoringAppSpecificationProperty ::
Value Prelude.Text -> MonitoringAppSpecificationProperty
mkMonitoringAppSpecificationProperty :: Value Text -> MonitoringAppSpecificationProperty
mkMonitoringAppSpecificationProperty Value Text
imageUri
= MonitoringAppSpecificationProperty
{haddock_workaround_ :: ()
haddock_workaround_ = (), imageUri :: Value Text
imageUri = Value Text
imageUri,
containerArguments :: Maybe (ValueList Text)
containerArguments = Maybe (ValueList Text)
forall a. Maybe a
Prelude.Nothing,
containerEntrypoint :: Maybe (ValueList Text)
containerEntrypoint = Maybe (ValueList Text)
forall a. Maybe a
Prelude.Nothing,
postAnalyticsProcessorSourceUri :: Maybe (Value Text)
postAnalyticsProcessorSourceUri = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
recordPreprocessorSourceUri :: Maybe (Value Text)
recordPreprocessorSourceUri = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing}
instance ToResourceProperties MonitoringAppSpecificationProperty where
toResourceProperties :: MonitoringAppSpecificationProperty -> ResourceProperties
toResourceProperties MonitoringAppSpecificationProperty {Maybe (ValueList Text)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: MonitoringAppSpecificationProperty -> ()
containerArguments :: MonitoringAppSpecificationProperty -> Maybe (ValueList Text)
containerEntrypoint :: MonitoringAppSpecificationProperty -> Maybe (ValueList Text)
imageUri :: MonitoringAppSpecificationProperty -> Value Text
postAnalyticsProcessorSourceUri :: MonitoringAppSpecificationProperty -> Maybe (Value Text)
recordPreprocessorSourceUri :: MonitoringAppSpecificationProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
containerArguments :: Maybe (ValueList Text)
containerEntrypoint :: Maybe (ValueList Text)
imageUri :: Value Text
postAnalyticsProcessorSourceUri :: Maybe (Value Text)
recordPreprocessorSourceUri :: Maybe (Value Text)
..}
= ResourceProperties
{awsType :: Text
awsType = Text
"AWS::SageMaker::MonitoringSchedule.MonitoringAppSpecification",
supportsTags :: Bool
supportsTags = Bool
Prelude.False,
properties :: Object
properties = [Item Object] -> Object
forall l. IsList l => [Item l] -> l
Prelude.fromList
([(Key, Value)] -> [(Key, Value)] -> [(Key, Value)]
forall a. Semigroup a => a -> a -> a
(Prelude.<>)
[Key
"ImageUri" 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
imageUri]
([Maybe (Key, Value)] -> [(Key, Value)]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
[Key -> ValueList Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"ContainerArguments" (ValueList Text -> (Key, Value))
-> Maybe (ValueList Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (ValueList Text)
containerArguments,
Key -> ValueList Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"ContainerEntrypoint" (ValueList Text -> (Key, Value))
-> Maybe (ValueList Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (ValueList Text)
containerEntrypoint,
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..=) Key
"PostAnalyticsProcessorSourceUri"
(Value Text -> (Key, Value))
-> Maybe (Value Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Text)
postAnalyticsProcessorSourceUri,
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..=) Key
"RecordPreprocessorSourceUri"
(Value Text -> (Key, Value))
-> Maybe (Value Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Text)
recordPreprocessorSourceUri]))}
instance JSON.ToJSON MonitoringAppSpecificationProperty where
toJSON :: MonitoringAppSpecificationProperty -> Value
toJSON MonitoringAppSpecificationProperty {Maybe (ValueList Text)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: MonitoringAppSpecificationProperty -> ()
containerArguments :: MonitoringAppSpecificationProperty -> Maybe (ValueList Text)
containerEntrypoint :: MonitoringAppSpecificationProperty -> Maybe (ValueList Text)
imageUri :: MonitoringAppSpecificationProperty -> Value Text
postAnalyticsProcessorSourceUri :: MonitoringAppSpecificationProperty -> Maybe (Value Text)
recordPreprocessorSourceUri :: MonitoringAppSpecificationProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
containerArguments :: Maybe (ValueList Text)
containerEntrypoint :: Maybe (ValueList Text)
imageUri :: Value Text
postAnalyticsProcessorSourceUri :: Maybe (Value Text)
recordPreprocessorSourceUri :: Maybe (Value Text)
..}
= [(Key, Value)] -> Value
JSON.object
([Item [(Key, Value)]] -> [(Key, Value)]
forall l. IsList l => [Item l] -> l
Prelude.fromList
([(Key, Value)] -> [(Key, Value)] -> [(Key, Value)]
forall a. Semigroup a => a -> a -> a
(Prelude.<>)
[Key
"ImageUri" 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
imageUri]
([Maybe (Key, Value)] -> [(Key, Value)]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
[Key -> ValueList Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"ContainerArguments" (ValueList Text -> (Key, Value))
-> Maybe (ValueList Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (ValueList Text)
containerArguments,
Key -> ValueList Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"ContainerEntrypoint" (ValueList Text -> (Key, Value))
-> Maybe (ValueList Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (ValueList Text)
containerEntrypoint,
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..=) Key
"PostAnalyticsProcessorSourceUri"
(Value Text -> (Key, Value))
-> Maybe (Value Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Text)
postAnalyticsProcessorSourceUri,
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..=) Key
"RecordPreprocessorSourceUri"
(Value Text -> (Key, Value))
-> Maybe (Value Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Text)
recordPreprocessorSourceUri])))
instance Property "ContainerArguments" MonitoringAppSpecificationProperty where
type PropertyType "ContainerArguments" MonitoringAppSpecificationProperty = ValueList Prelude.Text
set :: PropertyType
"ContainerArguments" MonitoringAppSpecificationProperty
-> MonitoringAppSpecificationProperty
-> MonitoringAppSpecificationProperty
set PropertyType
"ContainerArguments" MonitoringAppSpecificationProperty
newValue MonitoringAppSpecificationProperty {Maybe (ValueList Text)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: MonitoringAppSpecificationProperty -> ()
containerArguments :: MonitoringAppSpecificationProperty -> Maybe (ValueList Text)
containerEntrypoint :: MonitoringAppSpecificationProperty -> Maybe (ValueList Text)
imageUri :: MonitoringAppSpecificationProperty -> Value Text
postAnalyticsProcessorSourceUri :: MonitoringAppSpecificationProperty -> Maybe (Value Text)
recordPreprocessorSourceUri :: MonitoringAppSpecificationProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
containerArguments :: Maybe (ValueList Text)
containerEntrypoint :: Maybe (ValueList Text)
imageUri :: Value Text
postAnalyticsProcessorSourceUri :: Maybe (Value Text)
recordPreprocessorSourceUri :: Maybe (Value Text)
..}
= MonitoringAppSpecificationProperty
{containerArguments :: Maybe (ValueList Text)
containerArguments = ValueList Text -> Maybe (ValueList Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType
"ContainerArguments" MonitoringAppSpecificationProperty
ValueList Text
newValue, Maybe (ValueList Text)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ()
containerEntrypoint :: Maybe (ValueList Text)
imageUri :: Value Text
postAnalyticsProcessorSourceUri :: Maybe (Value Text)
recordPreprocessorSourceUri :: Maybe (Value Text)
haddock_workaround_ :: ()
containerEntrypoint :: Maybe (ValueList Text)
imageUri :: Value Text
postAnalyticsProcessorSourceUri :: Maybe (Value Text)
recordPreprocessorSourceUri :: Maybe (Value Text)
..}
instance Property "ContainerEntrypoint" MonitoringAppSpecificationProperty where
type PropertyType "ContainerEntrypoint" MonitoringAppSpecificationProperty = ValueList Prelude.Text
set :: PropertyType
"ContainerEntrypoint" MonitoringAppSpecificationProperty
-> MonitoringAppSpecificationProperty
-> MonitoringAppSpecificationProperty
set PropertyType
"ContainerEntrypoint" MonitoringAppSpecificationProperty
newValue MonitoringAppSpecificationProperty {Maybe (ValueList Text)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: MonitoringAppSpecificationProperty -> ()
containerArguments :: MonitoringAppSpecificationProperty -> Maybe (ValueList Text)
containerEntrypoint :: MonitoringAppSpecificationProperty -> Maybe (ValueList Text)
imageUri :: MonitoringAppSpecificationProperty -> Value Text
postAnalyticsProcessorSourceUri :: MonitoringAppSpecificationProperty -> Maybe (Value Text)
recordPreprocessorSourceUri :: MonitoringAppSpecificationProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
containerArguments :: Maybe (ValueList Text)
containerEntrypoint :: Maybe (ValueList Text)
imageUri :: Value Text
postAnalyticsProcessorSourceUri :: Maybe (Value Text)
recordPreprocessorSourceUri :: Maybe (Value Text)
..}
= MonitoringAppSpecificationProperty
{containerEntrypoint :: Maybe (ValueList Text)
containerEntrypoint = ValueList Text -> Maybe (ValueList Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType
"ContainerEntrypoint" MonitoringAppSpecificationProperty
ValueList Text
newValue, Maybe (ValueList Text)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ()
containerArguments :: Maybe (ValueList Text)
imageUri :: Value Text
postAnalyticsProcessorSourceUri :: Maybe (Value Text)
recordPreprocessorSourceUri :: Maybe (Value Text)
haddock_workaround_ :: ()
containerArguments :: Maybe (ValueList Text)
imageUri :: Value Text
postAnalyticsProcessorSourceUri :: Maybe (Value Text)
recordPreprocessorSourceUri :: Maybe (Value Text)
..}
instance Property "ImageUri" MonitoringAppSpecificationProperty where
type PropertyType "ImageUri" MonitoringAppSpecificationProperty = Value Prelude.Text
set :: PropertyType "ImageUri" MonitoringAppSpecificationProperty
-> MonitoringAppSpecificationProperty
-> MonitoringAppSpecificationProperty
set PropertyType "ImageUri" MonitoringAppSpecificationProperty
newValue MonitoringAppSpecificationProperty {Maybe (ValueList Text)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: MonitoringAppSpecificationProperty -> ()
containerArguments :: MonitoringAppSpecificationProperty -> Maybe (ValueList Text)
containerEntrypoint :: MonitoringAppSpecificationProperty -> Maybe (ValueList Text)
imageUri :: MonitoringAppSpecificationProperty -> Value Text
postAnalyticsProcessorSourceUri :: MonitoringAppSpecificationProperty -> Maybe (Value Text)
recordPreprocessorSourceUri :: MonitoringAppSpecificationProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
containerArguments :: Maybe (ValueList Text)
containerEntrypoint :: Maybe (ValueList Text)
imageUri :: Value Text
postAnalyticsProcessorSourceUri :: Maybe (Value Text)
recordPreprocessorSourceUri :: Maybe (Value Text)
..}
= MonitoringAppSpecificationProperty {imageUri :: Value Text
imageUri = PropertyType "ImageUri" MonitoringAppSpecificationProperty
Value Text
newValue, Maybe (ValueList Text)
Maybe (Value Text)
()
haddock_workaround_ :: ()
containerArguments :: Maybe (ValueList Text)
containerEntrypoint :: Maybe (ValueList Text)
postAnalyticsProcessorSourceUri :: Maybe (Value Text)
recordPreprocessorSourceUri :: Maybe (Value Text)
haddock_workaround_ :: ()
containerArguments :: Maybe (ValueList Text)
containerEntrypoint :: Maybe (ValueList Text)
postAnalyticsProcessorSourceUri :: Maybe (Value Text)
recordPreprocessorSourceUri :: Maybe (Value Text)
..}
instance Property "PostAnalyticsProcessorSourceUri" MonitoringAppSpecificationProperty where
type PropertyType "PostAnalyticsProcessorSourceUri" MonitoringAppSpecificationProperty = Value Prelude.Text
set :: PropertyType
"PostAnalyticsProcessorSourceUri"
MonitoringAppSpecificationProperty
-> MonitoringAppSpecificationProperty
-> MonitoringAppSpecificationProperty
set PropertyType
"PostAnalyticsProcessorSourceUri"
MonitoringAppSpecificationProperty
newValue MonitoringAppSpecificationProperty {Maybe (ValueList Text)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: MonitoringAppSpecificationProperty -> ()
containerArguments :: MonitoringAppSpecificationProperty -> Maybe (ValueList Text)
containerEntrypoint :: MonitoringAppSpecificationProperty -> Maybe (ValueList Text)
imageUri :: MonitoringAppSpecificationProperty -> Value Text
postAnalyticsProcessorSourceUri :: MonitoringAppSpecificationProperty -> Maybe (Value Text)
recordPreprocessorSourceUri :: MonitoringAppSpecificationProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
containerArguments :: Maybe (ValueList Text)
containerEntrypoint :: Maybe (ValueList Text)
imageUri :: Value Text
postAnalyticsProcessorSourceUri :: Maybe (Value Text)
recordPreprocessorSourceUri :: Maybe (Value Text)
..}
= MonitoringAppSpecificationProperty
{postAnalyticsProcessorSourceUri :: Maybe (Value Text)
postAnalyticsProcessorSourceUri = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType
"PostAnalyticsProcessorSourceUri"
MonitoringAppSpecificationProperty
Value Text
newValue, Maybe (ValueList Text)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ()
containerArguments :: Maybe (ValueList Text)
containerEntrypoint :: Maybe (ValueList Text)
imageUri :: Value Text
recordPreprocessorSourceUri :: Maybe (Value Text)
haddock_workaround_ :: ()
containerArguments :: Maybe (ValueList Text)
containerEntrypoint :: Maybe (ValueList Text)
imageUri :: Value Text
recordPreprocessorSourceUri :: Maybe (Value Text)
..}
instance Property "RecordPreprocessorSourceUri" MonitoringAppSpecificationProperty where
type PropertyType "RecordPreprocessorSourceUri" MonitoringAppSpecificationProperty = Value Prelude.Text
set :: PropertyType
"RecordPreprocessorSourceUri" MonitoringAppSpecificationProperty
-> MonitoringAppSpecificationProperty
-> MonitoringAppSpecificationProperty
set PropertyType
"RecordPreprocessorSourceUri" MonitoringAppSpecificationProperty
newValue MonitoringAppSpecificationProperty {Maybe (ValueList Text)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: MonitoringAppSpecificationProperty -> ()
containerArguments :: MonitoringAppSpecificationProperty -> Maybe (ValueList Text)
containerEntrypoint :: MonitoringAppSpecificationProperty -> Maybe (ValueList Text)
imageUri :: MonitoringAppSpecificationProperty -> Value Text
postAnalyticsProcessorSourceUri :: MonitoringAppSpecificationProperty -> Maybe (Value Text)
recordPreprocessorSourceUri :: MonitoringAppSpecificationProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
containerArguments :: Maybe (ValueList Text)
containerEntrypoint :: Maybe (ValueList Text)
imageUri :: Value Text
postAnalyticsProcessorSourceUri :: Maybe (Value Text)
recordPreprocessorSourceUri :: Maybe (Value Text)
..}
= MonitoringAppSpecificationProperty
{recordPreprocessorSourceUri :: Maybe (Value Text)
recordPreprocessorSourceUri = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType
"RecordPreprocessorSourceUri" MonitoringAppSpecificationProperty
Value Text
newValue, Maybe (ValueList Text)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ()
containerArguments :: Maybe (ValueList Text)
containerEntrypoint :: Maybe (ValueList Text)
imageUri :: Value Text
postAnalyticsProcessorSourceUri :: Maybe (Value Text)
haddock_workaround_ :: ()
containerArguments :: Maybe (ValueList Text)
containerEntrypoint :: Maybe (ValueList Text)
imageUri :: Value Text
postAnalyticsProcessorSourceUri :: Maybe (Value Text)
..}