module Stratosphere.SageMaker.ProcessingJob.ProcessingOutputsObjectProperty (
module Exports, ProcessingOutputsObjectProperty(..),
mkProcessingOutputsObjectProperty
) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import {-# SOURCE #-} Stratosphere.SageMaker.ProcessingJob.FeatureStoreOutputProperty as Exports
import {-# SOURCE #-} Stratosphere.SageMaker.ProcessingJob.S3OutputProperty as Exports
import Stratosphere.ResourceProperties
import Stratosphere.Value
data ProcessingOutputsObjectProperty
=
ProcessingOutputsObjectProperty {ProcessingOutputsObjectProperty -> ()
haddock_workaround_ :: (),
ProcessingOutputsObjectProperty -> Maybe (Value Bool)
appManaged :: (Prelude.Maybe (Value Prelude.Bool)),
ProcessingOutputsObjectProperty -> Maybe FeatureStoreOutputProperty
featureStoreOutput :: (Prelude.Maybe FeatureStoreOutputProperty),
ProcessingOutputsObjectProperty -> Value Text
outputName :: (Value Prelude.Text),
ProcessingOutputsObjectProperty -> Maybe S3OutputProperty
s3Output :: (Prelude.Maybe S3OutputProperty)}
deriving stock (ProcessingOutputsObjectProperty
-> ProcessingOutputsObjectProperty -> Bool
(ProcessingOutputsObjectProperty
-> ProcessingOutputsObjectProperty -> Bool)
-> (ProcessingOutputsObjectProperty
-> ProcessingOutputsObjectProperty -> Bool)
-> Eq ProcessingOutputsObjectProperty
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: ProcessingOutputsObjectProperty
-> ProcessingOutputsObjectProperty -> Bool
== :: ProcessingOutputsObjectProperty
-> ProcessingOutputsObjectProperty -> Bool
$c/= :: ProcessingOutputsObjectProperty
-> ProcessingOutputsObjectProperty -> Bool
/= :: ProcessingOutputsObjectProperty
-> ProcessingOutputsObjectProperty -> Bool
Prelude.Eq, Int -> ProcessingOutputsObjectProperty -> ShowS
[ProcessingOutputsObjectProperty] -> ShowS
ProcessingOutputsObjectProperty -> String
(Int -> ProcessingOutputsObjectProperty -> ShowS)
-> (ProcessingOutputsObjectProperty -> String)
-> ([ProcessingOutputsObjectProperty] -> ShowS)
-> Show ProcessingOutputsObjectProperty
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> ProcessingOutputsObjectProperty -> ShowS
showsPrec :: Int -> ProcessingOutputsObjectProperty -> ShowS
$cshow :: ProcessingOutputsObjectProperty -> String
show :: ProcessingOutputsObjectProperty -> String
$cshowList :: [ProcessingOutputsObjectProperty] -> ShowS
showList :: [ProcessingOutputsObjectProperty] -> ShowS
Prelude.Show)
mkProcessingOutputsObjectProperty ::
Value Prelude.Text -> ProcessingOutputsObjectProperty
mkProcessingOutputsObjectProperty :: Value Text -> ProcessingOutputsObjectProperty
mkProcessingOutputsObjectProperty Value Text
outputName
= ProcessingOutputsObjectProperty
{haddock_workaround_ :: ()
haddock_workaround_ = (), outputName :: Value Text
outputName = Value Text
outputName,
appManaged :: Maybe (Value Bool)
appManaged = Maybe (Value Bool)
forall a. Maybe a
Prelude.Nothing, featureStoreOutput :: Maybe FeatureStoreOutputProperty
featureStoreOutput = Maybe FeatureStoreOutputProperty
forall a. Maybe a
Prelude.Nothing,
s3Output :: Maybe S3OutputProperty
s3Output = Maybe S3OutputProperty
forall a. Maybe a
Prelude.Nothing}
instance ToResourceProperties ProcessingOutputsObjectProperty where
toResourceProperties :: ProcessingOutputsObjectProperty -> ResourceProperties
toResourceProperties ProcessingOutputsObjectProperty {Maybe (Value Bool)
Maybe FeatureStoreOutputProperty
Maybe S3OutputProperty
()
Value Text
haddock_workaround_ :: ProcessingOutputsObjectProperty -> ()
appManaged :: ProcessingOutputsObjectProperty -> Maybe (Value Bool)
featureStoreOutput :: ProcessingOutputsObjectProperty -> Maybe FeatureStoreOutputProperty
outputName :: ProcessingOutputsObjectProperty -> Value Text
s3Output :: ProcessingOutputsObjectProperty -> Maybe S3OutputProperty
haddock_workaround_ :: ()
appManaged :: Maybe (Value Bool)
featureStoreOutput :: Maybe FeatureStoreOutputProperty
outputName :: Value Text
s3Output :: Maybe S3OutputProperty
..}
= ResourceProperties
{awsType :: Text
awsType = Text
"AWS::SageMaker::ProcessingJob.ProcessingOutputsObject",
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
"OutputName" 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
outputName]
([Maybe (Key, Value)] -> [(Key, Value)]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
[Key -> Value Bool -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"AppManaged" (Value Bool -> (Key, Value))
-> Maybe (Value Bool) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Bool)
appManaged,
Key -> FeatureStoreOutputProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"FeatureStoreOutput" (FeatureStoreOutputProperty -> (Key, Value))
-> Maybe FeatureStoreOutputProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe FeatureStoreOutputProperty
featureStoreOutput,
Key -> S3OutputProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"S3Output" (S3OutputProperty -> (Key, Value))
-> Maybe S3OutputProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe S3OutputProperty
s3Output]))}
instance JSON.ToJSON ProcessingOutputsObjectProperty where
toJSON :: ProcessingOutputsObjectProperty -> Value
toJSON ProcessingOutputsObjectProperty {Maybe (Value Bool)
Maybe FeatureStoreOutputProperty
Maybe S3OutputProperty
()
Value Text
haddock_workaround_ :: ProcessingOutputsObjectProperty -> ()
appManaged :: ProcessingOutputsObjectProperty -> Maybe (Value Bool)
featureStoreOutput :: ProcessingOutputsObjectProperty -> Maybe FeatureStoreOutputProperty
outputName :: ProcessingOutputsObjectProperty -> Value Text
s3Output :: ProcessingOutputsObjectProperty -> Maybe S3OutputProperty
haddock_workaround_ :: ()
appManaged :: Maybe (Value Bool)
featureStoreOutput :: Maybe FeatureStoreOutputProperty
outputName :: Value Text
s3Output :: Maybe S3OutputProperty
..}
= [(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
"OutputName" 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
outputName]
([Maybe (Key, Value)] -> [(Key, Value)]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
[Key -> Value Bool -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"AppManaged" (Value Bool -> (Key, Value))
-> Maybe (Value Bool) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Bool)
appManaged,
Key -> FeatureStoreOutputProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"FeatureStoreOutput" (FeatureStoreOutputProperty -> (Key, Value))
-> Maybe FeatureStoreOutputProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe FeatureStoreOutputProperty
featureStoreOutput,
Key -> S3OutputProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"S3Output" (S3OutputProperty -> (Key, Value))
-> Maybe S3OutputProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe S3OutputProperty
s3Output])))
instance Property "AppManaged" ProcessingOutputsObjectProperty where
type PropertyType "AppManaged" ProcessingOutputsObjectProperty = Value Prelude.Bool
set :: PropertyType "AppManaged" ProcessingOutputsObjectProperty
-> ProcessingOutputsObjectProperty
-> ProcessingOutputsObjectProperty
set PropertyType "AppManaged" ProcessingOutputsObjectProperty
newValue ProcessingOutputsObjectProperty {Maybe (Value Bool)
Maybe FeatureStoreOutputProperty
Maybe S3OutputProperty
()
Value Text
haddock_workaround_ :: ProcessingOutputsObjectProperty -> ()
appManaged :: ProcessingOutputsObjectProperty -> Maybe (Value Bool)
featureStoreOutput :: ProcessingOutputsObjectProperty -> Maybe FeatureStoreOutputProperty
outputName :: ProcessingOutputsObjectProperty -> Value Text
s3Output :: ProcessingOutputsObjectProperty -> Maybe S3OutputProperty
haddock_workaround_ :: ()
appManaged :: Maybe (Value Bool)
featureStoreOutput :: Maybe FeatureStoreOutputProperty
outputName :: Value Text
s3Output :: Maybe S3OutputProperty
..}
= ProcessingOutputsObjectProperty
{appManaged :: Maybe (Value Bool)
appManaged = Value Bool -> Maybe (Value Bool)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "AppManaged" ProcessingOutputsObjectProperty
Value Bool
newValue, Maybe FeatureStoreOutputProperty
Maybe S3OutputProperty
()
Value Text
haddock_workaround_ :: ()
featureStoreOutput :: Maybe FeatureStoreOutputProperty
outputName :: Value Text
s3Output :: Maybe S3OutputProperty
haddock_workaround_ :: ()
featureStoreOutput :: Maybe FeatureStoreOutputProperty
outputName :: Value Text
s3Output :: Maybe S3OutputProperty
..}
instance Property "FeatureStoreOutput" ProcessingOutputsObjectProperty where
type PropertyType "FeatureStoreOutput" ProcessingOutputsObjectProperty = FeatureStoreOutputProperty
set :: PropertyType "FeatureStoreOutput" ProcessingOutputsObjectProperty
-> ProcessingOutputsObjectProperty
-> ProcessingOutputsObjectProperty
set PropertyType "FeatureStoreOutput" ProcessingOutputsObjectProperty
newValue ProcessingOutputsObjectProperty {Maybe (Value Bool)
Maybe FeatureStoreOutputProperty
Maybe S3OutputProperty
()
Value Text
haddock_workaround_ :: ProcessingOutputsObjectProperty -> ()
appManaged :: ProcessingOutputsObjectProperty -> Maybe (Value Bool)
featureStoreOutput :: ProcessingOutputsObjectProperty -> Maybe FeatureStoreOutputProperty
outputName :: ProcessingOutputsObjectProperty -> Value Text
s3Output :: ProcessingOutputsObjectProperty -> Maybe S3OutputProperty
haddock_workaround_ :: ()
appManaged :: Maybe (Value Bool)
featureStoreOutput :: Maybe FeatureStoreOutputProperty
outputName :: Value Text
s3Output :: Maybe S3OutputProperty
..}
= ProcessingOutputsObjectProperty
{featureStoreOutput :: Maybe FeatureStoreOutputProperty
featureStoreOutput = FeatureStoreOutputProperty -> Maybe FeatureStoreOutputProperty
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "FeatureStoreOutput" ProcessingOutputsObjectProperty
FeatureStoreOutputProperty
newValue, Maybe (Value Bool)
Maybe S3OutputProperty
()
Value Text
haddock_workaround_ :: ()
appManaged :: Maybe (Value Bool)
outputName :: Value Text
s3Output :: Maybe S3OutputProperty
haddock_workaround_ :: ()
appManaged :: Maybe (Value Bool)
outputName :: Value Text
s3Output :: Maybe S3OutputProperty
..}
instance Property "OutputName" ProcessingOutputsObjectProperty where
type PropertyType "OutputName" ProcessingOutputsObjectProperty = Value Prelude.Text
set :: PropertyType "OutputName" ProcessingOutputsObjectProperty
-> ProcessingOutputsObjectProperty
-> ProcessingOutputsObjectProperty
set PropertyType "OutputName" ProcessingOutputsObjectProperty
newValue ProcessingOutputsObjectProperty {Maybe (Value Bool)
Maybe FeatureStoreOutputProperty
Maybe S3OutputProperty
()
Value Text
haddock_workaround_ :: ProcessingOutputsObjectProperty -> ()
appManaged :: ProcessingOutputsObjectProperty -> Maybe (Value Bool)
featureStoreOutput :: ProcessingOutputsObjectProperty -> Maybe FeatureStoreOutputProperty
outputName :: ProcessingOutputsObjectProperty -> Value Text
s3Output :: ProcessingOutputsObjectProperty -> Maybe S3OutputProperty
haddock_workaround_ :: ()
appManaged :: Maybe (Value Bool)
featureStoreOutput :: Maybe FeatureStoreOutputProperty
outputName :: Value Text
s3Output :: Maybe S3OutputProperty
..}
= ProcessingOutputsObjectProperty {outputName :: Value Text
outputName = PropertyType "OutputName" ProcessingOutputsObjectProperty
Value Text
newValue, Maybe (Value Bool)
Maybe FeatureStoreOutputProperty
Maybe S3OutputProperty
()
haddock_workaround_ :: ()
appManaged :: Maybe (Value Bool)
featureStoreOutput :: Maybe FeatureStoreOutputProperty
s3Output :: Maybe S3OutputProperty
haddock_workaround_ :: ()
appManaged :: Maybe (Value Bool)
featureStoreOutput :: Maybe FeatureStoreOutputProperty
s3Output :: Maybe S3OutputProperty
..}
instance Property "S3Output" ProcessingOutputsObjectProperty where
type PropertyType "S3Output" ProcessingOutputsObjectProperty = S3OutputProperty
set :: PropertyType "S3Output" ProcessingOutputsObjectProperty
-> ProcessingOutputsObjectProperty
-> ProcessingOutputsObjectProperty
set PropertyType "S3Output" ProcessingOutputsObjectProperty
newValue ProcessingOutputsObjectProperty {Maybe (Value Bool)
Maybe FeatureStoreOutputProperty
Maybe S3OutputProperty
()
Value Text
haddock_workaround_ :: ProcessingOutputsObjectProperty -> ()
appManaged :: ProcessingOutputsObjectProperty -> Maybe (Value Bool)
featureStoreOutput :: ProcessingOutputsObjectProperty -> Maybe FeatureStoreOutputProperty
outputName :: ProcessingOutputsObjectProperty -> Value Text
s3Output :: ProcessingOutputsObjectProperty -> Maybe S3OutputProperty
haddock_workaround_ :: ()
appManaged :: Maybe (Value Bool)
featureStoreOutput :: Maybe FeatureStoreOutputProperty
outputName :: Value Text
s3Output :: Maybe S3OutputProperty
..}
= ProcessingOutputsObjectProperty
{s3Output :: Maybe S3OutputProperty
s3Output = S3OutputProperty -> Maybe S3OutputProperty
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "S3Output" ProcessingOutputsObjectProperty
S3OutputProperty
newValue, Maybe (Value Bool)
Maybe FeatureStoreOutputProperty
()
Value Text
haddock_workaround_ :: ()
appManaged :: Maybe (Value Bool)
featureStoreOutput :: Maybe FeatureStoreOutputProperty
outputName :: Value Text
haddock_workaround_ :: ()
appManaged :: Maybe (Value Bool)
featureStoreOutput :: Maybe FeatureStoreOutputProperty
outputName :: Value Text
..}