module Stratosphere.SageMaker.NotebookInstance.InstanceMetadataServiceConfigurationProperty (
InstanceMetadataServiceConfigurationProperty(..),
mkInstanceMetadataServiceConfigurationProperty
) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import Stratosphere.ResourceProperties
import Stratosphere.Value
data InstanceMetadataServiceConfigurationProperty
=
InstanceMetadataServiceConfigurationProperty {InstanceMetadataServiceConfigurationProperty -> ()
haddock_workaround_ :: (),
InstanceMetadataServiceConfigurationProperty -> Value Text
minimumInstanceMetadataServiceVersion :: (Value Prelude.Text)}
deriving stock (InstanceMetadataServiceConfigurationProperty
-> InstanceMetadataServiceConfigurationProperty -> Bool
(InstanceMetadataServiceConfigurationProperty
-> InstanceMetadataServiceConfigurationProperty -> Bool)
-> (InstanceMetadataServiceConfigurationProperty
-> InstanceMetadataServiceConfigurationProperty -> Bool)
-> Eq InstanceMetadataServiceConfigurationProperty
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: InstanceMetadataServiceConfigurationProperty
-> InstanceMetadataServiceConfigurationProperty -> Bool
== :: InstanceMetadataServiceConfigurationProperty
-> InstanceMetadataServiceConfigurationProperty -> Bool
$c/= :: InstanceMetadataServiceConfigurationProperty
-> InstanceMetadataServiceConfigurationProperty -> Bool
/= :: InstanceMetadataServiceConfigurationProperty
-> InstanceMetadataServiceConfigurationProperty -> Bool
Prelude.Eq, Int -> InstanceMetadataServiceConfigurationProperty -> ShowS
[InstanceMetadataServiceConfigurationProperty] -> ShowS
InstanceMetadataServiceConfigurationProperty -> String
(Int -> InstanceMetadataServiceConfigurationProperty -> ShowS)
-> (InstanceMetadataServiceConfigurationProperty -> String)
-> ([InstanceMetadataServiceConfigurationProperty] -> ShowS)
-> Show InstanceMetadataServiceConfigurationProperty
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> InstanceMetadataServiceConfigurationProperty -> ShowS
showsPrec :: Int -> InstanceMetadataServiceConfigurationProperty -> ShowS
$cshow :: InstanceMetadataServiceConfigurationProperty -> String
show :: InstanceMetadataServiceConfigurationProperty -> String
$cshowList :: [InstanceMetadataServiceConfigurationProperty] -> ShowS
showList :: [InstanceMetadataServiceConfigurationProperty] -> ShowS
Prelude.Show)
mkInstanceMetadataServiceConfigurationProperty ::
Value Prelude.Text -> InstanceMetadataServiceConfigurationProperty
mkInstanceMetadataServiceConfigurationProperty :: Value Text -> InstanceMetadataServiceConfigurationProperty
mkInstanceMetadataServiceConfigurationProperty
Value Text
minimumInstanceMetadataServiceVersion
= InstanceMetadataServiceConfigurationProperty
{haddock_workaround_ :: ()
haddock_workaround_ = (),
minimumInstanceMetadataServiceVersion :: Value Text
minimumInstanceMetadataServiceVersion = Value Text
minimumInstanceMetadataServiceVersion}
instance ToResourceProperties InstanceMetadataServiceConfigurationProperty where
toResourceProperties :: InstanceMetadataServiceConfigurationProperty -> ResourceProperties
toResourceProperties
InstanceMetadataServiceConfigurationProperty {()
Value Text
haddock_workaround_ :: InstanceMetadataServiceConfigurationProperty -> ()
minimumInstanceMetadataServiceVersion :: InstanceMetadataServiceConfigurationProperty -> Value Text
haddock_workaround_ :: ()
minimumInstanceMetadataServiceVersion :: Value Text
..}
= ResourceProperties
{awsType :: Text
awsType = Text
"AWS::SageMaker::NotebookInstance.InstanceMetadataServiceConfiguration",
supportsTags :: Bool
supportsTags = Bool
Prelude.False,
properties :: Object
properties = [Key
"MinimumInstanceMetadataServiceVersion"
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
minimumInstanceMetadataServiceVersion]}
instance JSON.ToJSON InstanceMetadataServiceConfigurationProperty where
toJSON :: InstanceMetadataServiceConfigurationProperty -> Value
toJSON InstanceMetadataServiceConfigurationProperty {()
Value Text
haddock_workaround_ :: InstanceMetadataServiceConfigurationProperty -> ()
minimumInstanceMetadataServiceVersion :: InstanceMetadataServiceConfigurationProperty -> Value Text
haddock_workaround_ :: ()
minimumInstanceMetadataServiceVersion :: Value Text
..}
= [(Key, Value)] -> Value
JSON.object
[Key
"MinimumInstanceMetadataServiceVersion"
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
minimumInstanceMetadataServiceVersion]
instance Property "MinimumInstanceMetadataServiceVersion" InstanceMetadataServiceConfigurationProperty where
type PropertyType "MinimumInstanceMetadataServiceVersion" InstanceMetadataServiceConfigurationProperty = Value Prelude.Text
set :: PropertyType
"MinimumInstanceMetadataServiceVersion"
InstanceMetadataServiceConfigurationProperty
-> InstanceMetadataServiceConfigurationProperty
-> InstanceMetadataServiceConfigurationProperty
set PropertyType
"MinimumInstanceMetadataServiceVersion"
InstanceMetadataServiceConfigurationProperty
newValue InstanceMetadataServiceConfigurationProperty {()
Value Text
haddock_workaround_ :: InstanceMetadataServiceConfigurationProperty -> ()
minimumInstanceMetadataServiceVersion :: InstanceMetadataServiceConfigurationProperty -> Value Text
haddock_workaround_ :: ()
minimumInstanceMetadataServiceVersion :: Value Text
..}
= InstanceMetadataServiceConfigurationProperty
{minimumInstanceMetadataServiceVersion :: Value Text
minimumInstanceMetadataServiceVersion = PropertyType
"MinimumInstanceMetadataServiceVersion"
InstanceMetadataServiceConfigurationProperty
Value Text
newValue, ()
haddock_workaround_ :: ()
haddock_workaround_ :: ()
..}