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