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