module Stratosphere.EMR.InstanceFleetConfig.InstanceTypeConfigProperty (
module Exports, InstanceTypeConfigProperty(..),
mkInstanceTypeConfigProperty
) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import {-# SOURCE #-} Stratosphere.EMR.InstanceFleetConfig.ConfigurationProperty as Exports
import {-# SOURCE #-} Stratosphere.EMR.InstanceFleetConfig.EbsConfigurationProperty as Exports
import Stratosphere.ResourceProperties
import Stratosphere.Value
data InstanceTypeConfigProperty
=
InstanceTypeConfigProperty {InstanceTypeConfigProperty -> ()
haddock_workaround_ :: (),
InstanceTypeConfigProperty -> Maybe (Value Text)
bidPrice :: (Prelude.Maybe (Value Prelude.Text)),
InstanceTypeConfigProperty -> Maybe (Value Double)
bidPriceAsPercentageOfOnDemandPrice :: (Prelude.Maybe (Value Prelude.Double)),
InstanceTypeConfigProperty -> Maybe [ConfigurationProperty]
configurations :: (Prelude.Maybe [ConfigurationProperty]),
InstanceTypeConfigProperty -> Maybe (Value Text)
customAmiId :: (Prelude.Maybe (Value Prelude.Text)),
InstanceTypeConfigProperty -> Maybe EbsConfigurationProperty
ebsConfiguration :: (Prelude.Maybe EbsConfigurationProperty),
InstanceTypeConfigProperty -> Value Text
instanceType :: (Value Prelude.Text),
InstanceTypeConfigProperty -> Maybe (Value Double)
priority :: (Prelude.Maybe (Value Prelude.Double)),
InstanceTypeConfigProperty -> Maybe (Value Integer)
weightedCapacity :: (Prelude.Maybe (Value Prelude.Integer))}
deriving stock (InstanceTypeConfigProperty -> InstanceTypeConfigProperty -> Bool
(InstanceTypeConfigProperty -> InstanceTypeConfigProperty -> Bool)
-> (InstanceTypeConfigProperty
-> InstanceTypeConfigProperty -> Bool)
-> Eq InstanceTypeConfigProperty
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: InstanceTypeConfigProperty -> InstanceTypeConfigProperty -> Bool
== :: InstanceTypeConfigProperty -> InstanceTypeConfigProperty -> Bool
$c/= :: InstanceTypeConfigProperty -> InstanceTypeConfigProperty -> Bool
/= :: InstanceTypeConfigProperty -> InstanceTypeConfigProperty -> Bool
Prelude.Eq, Int -> InstanceTypeConfigProperty -> ShowS
[InstanceTypeConfigProperty] -> ShowS
InstanceTypeConfigProperty -> String
(Int -> InstanceTypeConfigProperty -> ShowS)
-> (InstanceTypeConfigProperty -> String)
-> ([InstanceTypeConfigProperty] -> ShowS)
-> Show InstanceTypeConfigProperty
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> InstanceTypeConfigProperty -> ShowS
showsPrec :: Int -> InstanceTypeConfigProperty -> ShowS
$cshow :: InstanceTypeConfigProperty -> String
show :: InstanceTypeConfigProperty -> String
$cshowList :: [InstanceTypeConfigProperty] -> ShowS
showList :: [InstanceTypeConfigProperty] -> ShowS
Prelude.Show)
mkInstanceTypeConfigProperty ::
Value Prelude.Text -> InstanceTypeConfigProperty
mkInstanceTypeConfigProperty :: Value Text -> InstanceTypeConfigProperty
mkInstanceTypeConfigProperty Value Text
instanceType
= InstanceTypeConfigProperty
{haddock_workaround_ :: ()
haddock_workaround_ = (), instanceType :: Value Text
instanceType = Value Text
instanceType,
bidPrice :: Maybe (Value Text)
bidPrice = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
bidPriceAsPercentageOfOnDemandPrice :: Maybe (Value Double)
bidPriceAsPercentageOfOnDemandPrice = Maybe (Value Double)
forall a. Maybe a
Prelude.Nothing,
configurations :: Maybe [ConfigurationProperty]
configurations = Maybe [ConfigurationProperty]
forall a. Maybe a
Prelude.Nothing, customAmiId :: Maybe (Value Text)
customAmiId = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
ebsConfiguration :: Maybe EbsConfigurationProperty
ebsConfiguration = Maybe EbsConfigurationProperty
forall a. Maybe a
Prelude.Nothing, priority :: Maybe (Value Double)
priority = Maybe (Value Double)
forall a. Maybe a
Prelude.Nothing,
weightedCapacity :: Maybe (Value Integer)
weightedCapacity = Maybe (Value Integer)
forall a. Maybe a
Prelude.Nothing}
instance ToResourceProperties InstanceTypeConfigProperty where
toResourceProperties :: InstanceTypeConfigProperty -> ResourceProperties
toResourceProperties InstanceTypeConfigProperty {Maybe [ConfigurationProperty]
Maybe (Value Double)
Maybe (Value Integer)
Maybe (Value Text)
Maybe EbsConfigurationProperty
()
Value Text
haddock_workaround_ :: InstanceTypeConfigProperty -> ()
bidPrice :: InstanceTypeConfigProperty -> Maybe (Value Text)
bidPriceAsPercentageOfOnDemandPrice :: InstanceTypeConfigProperty -> Maybe (Value Double)
configurations :: InstanceTypeConfigProperty -> Maybe [ConfigurationProperty]
customAmiId :: InstanceTypeConfigProperty -> Maybe (Value Text)
ebsConfiguration :: InstanceTypeConfigProperty -> Maybe EbsConfigurationProperty
instanceType :: InstanceTypeConfigProperty -> Value Text
priority :: InstanceTypeConfigProperty -> Maybe (Value Double)
weightedCapacity :: InstanceTypeConfigProperty -> Maybe (Value Integer)
haddock_workaround_ :: ()
bidPrice :: Maybe (Value Text)
bidPriceAsPercentageOfOnDemandPrice :: Maybe (Value Double)
configurations :: Maybe [ConfigurationProperty]
customAmiId :: Maybe (Value Text)
ebsConfiguration :: Maybe EbsConfigurationProperty
instanceType :: Value Text
priority :: Maybe (Value Double)
weightedCapacity :: Maybe (Value Integer)
..}
= ResourceProperties
{awsType :: Text
awsType = Text
"AWS::EMR::InstanceFleetConfig.InstanceTypeConfig",
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
"InstanceType" 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
instanceType]
([Maybe (Key, Value)] -> [(Key, Value)]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
[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
"BidPrice" (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)
bidPrice,
Key -> Value Double -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"BidPriceAsPercentageOfOnDemandPrice"
(Value Double -> (Key, Value))
-> Maybe (Value Double) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Double)
bidPriceAsPercentageOfOnDemandPrice,
Key -> [ConfigurationProperty] -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Configurations" ([ConfigurationProperty] -> (Key, Value))
-> Maybe [ConfigurationProperty] -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [ConfigurationProperty]
configurations,
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
"CustomAmiId" (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)
customAmiId,
Key -> EbsConfigurationProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"EbsConfiguration" (EbsConfigurationProperty -> (Key, Value))
-> Maybe EbsConfigurationProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe EbsConfigurationProperty
ebsConfiguration,
Key -> Value Double -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Priority" (Value Double -> (Key, Value))
-> Maybe (Value Double) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Double)
priority,
Key -> Value Integer -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"WeightedCapacity" (Value Integer -> (Key, Value))
-> Maybe (Value Integer) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Integer)
weightedCapacity]))}
instance JSON.ToJSON InstanceTypeConfigProperty where
toJSON :: InstanceTypeConfigProperty -> Value
toJSON InstanceTypeConfigProperty {Maybe [ConfigurationProperty]
Maybe (Value Double)
Maybe (Value Integer)
Maybe (Value Text)
Maybe EbsConfigurationProperty
()
Value Text
haddock_workaround_ :: InstanceTypeConfigProperty -> ()
bidPrice :: InstanceTypeConfigProperty -> Maybe (Value Text)
bidPriceAsPercentageOfOnDemandPrice :: InstanceTypeConfigProperty -> Maybe (Value Double)
configurations :: InstanceTypeConfigProperty -> Maybe [ConfigurationProperty]
customAmiId :: InstanceTypeConfigProperty -> Maybe (Value Text)
ebsConfiguration :: InstanceTypeConfigProperty -> Maybe EbsConfigurationProperty
instanceType :: InstanceTypeConfigProperty -> Value Text
priority :: InstanceTypeConfigProperty -> Maybe (Value Double)
weightedCapacity :: InstanceTypeConfigProperty -> Maybe (Value Integer)
haddock_workaround_ :: ()
bidPrice :: Maybe (Value Text)
bidPriceAsPercentageOfOnDemandPrice :: Maybe (Value Double)
configurations :: Maybe [ConfigurationProperty]
customAmiId :: Maybe (Value Text)
ebsConfiguration :: Maybe EbsConfigurationProperty
instanceType :: Value Text
priority :: Maybe (Value Double)
weightedCapacity :: Maybe (Value Integer)
..}
= [(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
"InstanceType" 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
instanceType]
([Maybe (Key, Value)] -> [(Key, Value)]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
[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
"BidPrice" (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)
bidPrice,
Key -> Value Double -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"BidPriceAsPercentageOfOnDemandPrice"
(Value Double -> (Key, Value))
-> Maybe (Value Double) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Double)
bidPriceAsPercentageOfOnDemandPrice,
Key -> [ConfigurationProperty] -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Configurations" ([ConfigurationProperty] -> (Key, Value))
-> Maybe [ConfigurationProperty] -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [ConfigurationProperty]
configurations,
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
"CustomAmiId" (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)
customAmiId,
Key -> EbsConfigurationProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"EbsConfiguration" (EbsConfigurationProperty -> (Key, Value))
-> Maybe EbsConfigurationProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe EbsConfigurationProperty
ebsConfiguration,
Key -> Value Double -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Priority" (Value Double -> (Key, Value))
-> Maybe (Value Double) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Double)
priority,
Key -> Value Integer -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"WeightedCapacity" (Value Integer -> (Key, Value))
-> Maybe (Value Integer) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Integer)
weightedCapacity])))
instance Property "BidPrice" InstanceTypeConfigProperty where
type PropertyType "BidPrice" InstanceTypeConfigProperty = Value Prelude.Text
set :: PropertyType "BidPrice" InstanceTypeConfigProperty
-> InstanceTypeConfigProperty -> InstanceTypeConfigProperty
set PropertyType "BidPrice" InstanceTypeConfigProperty
newValue InstanceTypeConfigProperty {Maybe [ConfigurationProperty]
Maybe (Value Double)
Maybe (Value Integer)
Maybe (Value Text)
Maybe EbsConfigurationProperty
()
Value Text
haddock_workaround_ :: InstanceTypeConfigProperty -> ()
bidPrice :: InstanceTypeConfigProperty -> Maybe (Value Text)
bidPriceAsPercentageOfOnDemandPrice :: InstanceTypeConfigProperty -> Maybe (Value Double)
configurations :: InstanceTypeConfigProperty -> Maybe [ConfigurationProperty]
customAmiId :: InstanceTypeConfigProperty -> Maybe (Value Text)
ebsConfiguration :: InstanceTypeConfigProperty -> Maybe EbsConfigurationProperty
instanceType :: InstanceTypeConfigProperty -> Value Text
priority :: InstanceTypeConfigProperty -> Maybe (Value Double)
weightedCapacity :: InstanceTypeConfigProperty -> Maybe (Value Integer)
haddock_workaround_ :: ()
bidPrice :: Maybe (Value Text)
bidPriceAsPercentageOfOnDemandPrice :: Maybe (Value Double)
configurations :: Maybe [ConfigurationProperty]
customAmiId :: Maybe (Value Text)
ebsConfiguration :: Maybe EbsConfigurationProperty
instanceType :: Value Text
priority :: Maybe (Value Double)
weightedCapacity :: Maybe (Value Integer)
..}
= InstanceTypeConfigProperty {bidPrice :: Maybe (Value Text)
bidPrice = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "BidPrice" InstanceTypeConfigProperty
Value Text
newValue, Maybe [ConfigurationProperty]
Maybe (Value Double)
Maybe (Value Integer)
Maybe (Value Text)
Maybe EbsConfigurationProperty
()
Value Text
haddock_workaround_ :: ()
bidPriceAsPercentageOfOnDemandPrice :: Maybe (Value Double)
configurations :: Maybe [ConfigurationProperty]
customAmiId :: Maybe (Value Text)
ebsConfiguration :: Maybe EbsConfigurationProperty
instanceType :: Value Text
priority :: Maybe (Value Double)
weightedCapacity :: Maybe (Value Integer)
haddock_workaround_ :: ()
bidPriceAsPercentageOfOnDemandPrice :: Maybe (Value Double)
configurations :: Maybe [ConfigurationProperty]
customAmiId :: Maybe (Value Text)
ebsConfiguration :: Maybe EbsConfigurationProperty
instanceType :: Value Text
priority :: Maybe (Value Double)
weightedCapacity :: Maybe (Value Integer)
..}
instance Property "BidPriceAsPercentageOfOnDemandPrice" InstanceTypeConfigProperty where
type PropertyType "BidPriceAsPercentageOfOnDemandPrice" InstanceTypeConfigProperty = Value Prelude.Double
set :: PropertyType
"BidPriceAsPercentageOfOnDemandPrice" InstanceTypeConfigProperty
-> InstanceTypeConfigProperty -> InstanceTypeConfigProperty
set PropertyType
"BidPriceAsPercentageOfOnDemandPrice" InstanceTypeConfigProperty
newValue InstanceTypeConfigProperty {Maybe [ConfigurationProperty]
Maybe (Value Double)
Maybe (Value Integer)
Maybe (Value Text)
Maybe EbsConfigurationProperty
()
Value Text
haddock_workaround_ :: InstanceTypeConfigProperty -> ()
bidPrice :: InstanceTypeConfigProperty -> Maybe (Value Text)
bidPriceAsPercentageOfOnDemandPrice :: InstanceTypeConfigProperty -> Maybe (Value Double)
configurations :: InstanceTypeConfigProperty -> Maybe [ConfigurationProperty]
customAmiId :: InstanceTypeConfigProperty -> Maybe (Value Text)
ebsConfiguration :: InstanceTypeConfigProperty -> Maybe EbsConfigurationProperty
instanceType :: InstanceTypeConfigProperty -> Value Text
priority :: InstanceTypeConfigProperty -> Maybe (Value Double)
weightedCapacity :: InstanceTypeConfigProperty -> Maybe (Value Integer)
haddock_workaround_ :: ()
bidPrice :: Maybe (Value Text)
bidPriceAsPercentageOfOnDemandPrice :: Maybe (Value Double)
configurations :: Maybe [ConfigurationProperty]
customAmiId :: Maybe (Value Text)
ebsConfiguration :: Maybe EbsConfigurationProperty
instanceType :: Value Text
priority :: Maybe (Value Double)
weightedCapacity :: Maybe (Value Integer)
..}
= InstanceTypeConfigProperty
{bidPriceAsPercentageOfOnDemandPrice :: Maybe (Value Double)
bidPriceAsPercentageOfOnDemandPrice = Value Double -> Maybe (Value Double)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType
"BidPriceAsPercentageOfOnDemandPrice" InstanceTypeConfigProperty
Value Double
newValue, Maybe [ConfigurationProperty]
Maybe (Value Double)
Maybe (Value Integer)
Maybe (Value Text)
Maybe EbsConfigurationProperty
()
Value Text
haddock_workaround_ :: ()
bidPrice :: Maybe (Value Text)
configurations :: Maybe [ConfigurationProperty]
customAmiId :: Maybe (Value Text)
ebsConfiguration :: Maybe EbsConfigurationProperty
instanceType :: Value Text
priority :: Maybe (Value Double)
weightedCapacity :: Maybe (Value Integer)
haddock_workaround_ :: ()
bidPrice :: Maybe (Value Text)
configurations :: Maybe [ConfigurationProperty]
customAmiId :: Maybe (Value Text)
ebsConfiguration :: Maybe EbsConfigurationProperty
instanceType :: Value Text
priority :: Maybe (Value Double)
weightedCapacity :: Maybe (Value Integer)
..}
instance Property "Configurations" InstanceTypeConfigProperty where
type PropertyType "Configurations" InstanceTypeConfigProperty = [ConfigurationProperty]
set :: PropertyType "Configurations" InstanceTypeConfigProperty
-> InstanceTypeConfigProperty -> InstanceTypeConfigProperty
set PropertyType "Configurations" InstanceTypeConfigProperty
newValue InstanceTypeConfigProperty {Maybe [ConfigurationProperty]
Maybe (Value Double)
Maybe (Value Integer)
Maybe (Value Text)
Maybe EbsConfigurationProperty
()
Value Text
haddock_workaround_ :: InstanceTypeConfigProperty -> ()
bidPrice :: InstanceTypeConfigProperty -> Maybe (Value Text)
bidPriceAsPercentageOfOnDemandPrice :: InstanceTypeConfigProperty -> Maybe (Value Double)
configurations :: InstanceTypeConfigProperty -> Maybe [ConfigurationProperty]
customAmiId :: InstanceTypeConfigProperty -> Maybe (Value Text)
ebsConfiguration :: InstanceTypeConfigProperty -> Maybe EbsConfigurationProperty
instanceType :: InstanceTypeConfigProperty -> Value Text
priority :: InstanceTypeConfigProperty -> Maybe (Value Double)
weightedCapacity :: InstanceTypeConfigProperty -> Maybe (Value Integer)
haddock_workaround_ :: ()
bidPrice :: Maybe (Value Text)
bidPriceAsPercentageOfOnDemandPrice :: Maybe (Value Double)
configurations :: Maybe [ConfigurationProperty]
customAmiId :: Maybe (Value Text)
ebsConfiguration :: Maybe EbsConfigurationProperty
instanceType :: Value Text
priority :: Maybe (Value Double)
weightedCapacity :: Maybe (Value Integer)
..}
= InstanceTypeConfigProperty
{configurations :: Maybe [ConfigurationProperty]
configurations = [ConfigurationProperty] -> Maybe [ConfigurationProperty]
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure [ConfigurationProperty]
PropertyType "Configurations" InstanceTypeConfigProperty
newValue, Maybe (Value Double)
Maybe (Value Integer)
Maybe (Value Text)
Maybe EbsConfigurationProperty
()
Value Text
haddock_workaround_ :: ()
bidPrice :: Maybe (Value Text)
bidPriceAsPercentageOfOnDemandPrice :: Maybe (Value Double)
customAmiId :: Maybe (Value Text)
ebsConfiguration :: Maybe EbsConfigurationProperty
instanceType :: Value Text
priority :: Maybe (Value Double)
weightedCapacity :: Maybe (Value Integer)
haddock_workaround_ :: ()
bidPrice :: Maybe (Value Text)
bidPriceAsPercentageOfOnDemandPrice :: Maybe (Value Double)
customAmiId :: Maybe (Value Text)
ebsConfiguration :: Maybe EbsConfigurationProperty
instanceType :: Value Text
priority :: Maybe (Value Double)
weightedCapacity :: Maybe (Value Integer)
..}
instance Property "CustomAmiId" InstanceTypeConfigProperty where
type PropertyType "CustomAmiId" InstanceTypeConfigProperty = Value Prelude.Text
set :: PropertyType "CustomAmiId" InstanceTypeConfigProperty
-> InstanceTypeConfigProperty -> InstanceTypeConfigProperty
set PropertyType "CustomAmiId" InstanceTypeConfigProperty
newValue InstanceTypeConfigProperty {Maybe [ConfigurationProperty]
Maybe (Value Double)
Maybe (Value Integer)
Maybe (Value Text)
Maybe EbsConfigurationProperty
()
Value Text
haddock_workaround_ :: InstanceTypeConfigProperty -> ()
bidPrice :: InstanceTypeConfigProperty -> Maybe (Value Text)
bidPriceAsPercentageOfOnDemandPrice :: InstanceTypeConfigProperty -> Maybe (Value Double)
configurations :: InstanceTypeConfigProperty -> Maybe [ConfigurationProperty]
customAmiId :: InstanceTypeConfigProperty -> Maybe (Value Text)
ebsConfiguration :: InstanceTypeConfigProperty -> Maybe EbsConfigurationProperty
instanceType :: InstanceTypeConfigProperty -> Value Text
priority :: InstanceTypeConfigProperty -> Maybe (Value Double)
weightedCapacity :: InstanceTypeConfigProperty -> Maybe (Value Integer)
haddock_workaround_ :: ()
bidPrice :: Maybe (Value Text)
bidPriceAsPercentageOfOnDemandPrice :: Maybe (Value Double)
configurations :: Maybe [ConfigurationProperty]
customAmiId :: Maybe (Value Text)
ebsConfiguration :: Maybe EbsConfigurationProperty
instanceType :: Value Text
priority :: Maybe (Value Double)
weightedCapacity :: Maybe (Value Integer)
..}
= InstanceTypeConfigProperty
{customAmiId :: Maybe (Value Text)
customAmiId = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "CustomAmiId" InstanceTypeConfigProperty
Value Text
newValue, Maybe [ConfigurationProperty]
Maybe (Value Double)
Maybe (Value Integer)
Maybe (Value Text)
Maybe EbsConfigurationProperty
()
Value Text
haddock_workaround_ :: ()
bidPrice :: Maybe (Value Text)
bidPriceAsPercentageOfOnDemandPrice :: Maybe (Value Double)
configurations :: Maybe [ConfigurationProperty]
ebsConfiguration :: Maybe EbsConfigurationProperty
instanceType :: Value Text
priority :: Maybe (Value Double)
weightedCapacity :: Maybe (Value Integer)
haddock_workaround_ :: ()
bidPrice :: Maybe (Value Text)
bidPriceAsPercentageOfOnDemandPrice :: Maybe (Value Double)
configurations :: Maybe [ConfigurationProperty]
ebsConfiguration :: Maybe EbsConfigurationProperty
instanceType :: Value Text
priority :: Maybe (Value Double)
weightedCapacity :: Maybe (Value Integer)
..}
instance Property "EbsConfiguration" InstanceTypeConfigProperty where
type PropertyType "EbsConfiguration" InstanceTypeConfigProperty = EbsConfigurationProperty
set :: PropertyType "EbsConfiguration" InstanceTypeConfigProperty
-> InstanceTypeConfigProperty -> InstanceTypeConfigProperty
set PropertyType "EbsConfiguration" InstanceTypeConfigProperty
newValue InstanceTypeConfigProperty {Maybe [ConfigurationProperty]
Maybe (Value Double)
Maybe (Value Integer)
Maybe (Value Text)
Maybe EbsConfigurationProperty
()
Value Text
haddock_workaround_ :: InstanceTypeConfigProperty -> ()
bidPrice :: InstanceTypeConfigProperty -> Maybe (Value Text)
bidPriceAsPercentageOfOnDemandPrice :: InstanceTypeConfigProperty -> Maybe (Value Double)
configurations :: InstanceTypeConfigProperty -> Maybe [ConfigurationProperty]
customAmiId :: InstanceTypeConfigProperty -> Maybe (Value Text)
ebsConfiguration :: InstanceTypeConfigProperty -> Maybe EbsConfigurationProperty
instanceType :: InstanceTypeConfigProperty -> Value Text
priority :: InstanceTypeConfigProperty -> Maybe (Value Double)
weightedCapacity :: InstanceTypeConfigProperty -> Maybe (Value Integer)
haddock_workaround_ :: ()
bidPrice :: Maybe (Value Text)
bidPriceAsPercentageOfOnDemandPrice :: Maybe (Value Double)
configurations :: Maybe [ConfigurationProperty]
customAmiId :: Maybe (Value Text)
ebsConfiguration :: Maybe EbsConfigurationProperty
instanceType :: Value Text
priority :: Maybe (Value Double)
weightedCapacity :: Maybe (Value Integer)
..}
= InstanceTypeConfigProperty
{ebsConfiguration :: Maybe EbsConfigurationProperty
ebsConfiguration = EbsConfigurationProperty -> Maybe EbsConfigurationProperty
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "EbsConfiguration" InstanceTypeConfigProperty
EbsConfigurationProperty
newValue, Maybe [ConfigurationProperty]
Maybe (Value Double)
Maybe (Value Integer)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ()
bidPrice :: Maybe (Value Text)
bidPriceAsPercentageOfOnDemandPrice :: Maybe (Value Double)
configurations :: Maybe [ConfigurationProperty]
customAmiId :: Maybe (Value Text)
instanceType :: Value Text
priority :: Maybe (Value Double)
weightedCapacity :: Maybe (Value Integer)
haddock_workaround_ :: ()
bidPrice :: Maybe (Value Text)
bidPriceAsPercentageOfOnDemandPrice :: Maybe (Value Double)
configurations :: Maybe [ConfigurationProperty]
customAmiId :: Maybe (Value Text)
instanceType :: Value Text
priority :: Maybe (Value Double)
weightedCapacity :: Maybe (Value Integer)
..}
instance Property "InstanceType" InstanceTypeConfigProperty where
type PropertyType "InstanceType" InstanceTypeConfigProperty = Value Prelude.Text
set :: PropertyType "InstanceType" InstanceTypeConfigProperty
-> InstanceTypeConfigProperty -> InstanceTypeConfigProperty
set PropertyType "InstanceType" InstanceTypeConfigProperty
newValue InstanceTypeConfigProperty {Maybe [ConfigurationProperty]
Maybe (Value Double)
Maybe (Value Integer)
Maybe (Value Text)
Maybe EbsConfigurationProperty
()
Value Text
haddock_workaround_ :: InstanceTypeConfigProperty -> ()
bidPrice :: InstanceTypeConfigProperty -> Maybe (Value Text)
bidPriceAsPercentageOfOnDemandPrice :: InstanceTypeConfigProperty -> Maybe (Value Double)
configurations :: InstanceTypeConfigProperty -> Maybe [ConfigurationProperty]
customAmiId :: InstanceTypeConfigProperty -> Maybe (Value Text)
ebsConfiguration :: InstanceTypeConfigProperty -> Maybe EbsConfigurationProperty
instanceType :: InstanceTypeConfigProperty -> Value Text
priority :: InstanceTypeConfigProperty -> Maybe (Value Double)
weightedCapacity :: InstanceTypeConfigProperty -> Maybe (Value Integer)
haddock_workaround_ :: ()
bidPrice :: Maybe (Value Text)
bidPriceAsPercentageOfOnDemandPrice :: Maybe (Value Double)
configurations :: Maybe [ConfigurationProperty]
customAmiId :: Maybe (Value Text)
ebsConfiguration :: Maybe EbsConfigurationProperty
instanceType :: Value Text
priority :: Maybe (Value Double)
weightedCapacity :: Maybe (Value Integer)
..}
= InstanceTypeConfigProperty {instanceType :: Value Text
instanceType = PropertyType "InstanceType" InstanceTypeConfigProperty
Value Text
newValue, Maybe [ConfigurationProperty]
Maybe (Value Double)
Maybe (Value Integer)
Maybe (Value Text)
Maybe EbsConfigurationProperty
()
haddock_workaround_ :: ()
bidPrice :: Maybe (Value Text)
bidPriceAsPercentageOfOnDemandPrice :: Maybe (Value Double)
configurations :: Maybe [ConfigurationProperty]
customAmiId :: Maybe (Value Text)
ebsConfiguration :: Maybe EbsConfigurationProperty
priority :: Maybe (Value Double)
weightedCapacity :: Maybe (Value Integer)
haddock_workaround_ :: ()
bidPrice :: Maybe (Value Text)
bidPriceAsPercentageOfOnDemandPrice :: Maybe (Value Double)
configurations :: Maybe [ConfigurationProperty]
customAmiId :: Maybe (Value Text)
ebsConfiguration :: Maybe EbsConfigurationProperty
priority :: Maybe (Value Double)
weightedCapacity :: Maybe (Value Integer)
..}
instance Property "Priority" InstanceTypeConfigProperty where
type PropertyType "Priority" InstanceTypeConfigProperty = Value Prelude.Double
set :: PropertyType "Priority" InstanceTypeConfigProperty
-> InstanceTypeConfigProperty -> InstanceTypeConfigProperty
set PropertyType "Priority" InstanceTypeConfigProperty
newValue InstanceTypeConfigProperty {Maybe [ConfigurationProperty]
Maybe (Value Double)
Maybe (Value Integer)
Maybe (Value Text)
Maybe EbsConfigurationProperty
()
Value Text
haddock_workaround_ :: InstanceTypeConfigProperty -> ()
bidPrice :: InstanceTypeConfigProperty -> Maybe (Value Text)
bidPriceAsPercentageOfOnDemandPrice :: InstanceTypeConfigProperty -> Maybe (Value Double)
configurations :: InstanceTypeConfigProperty -> Maybe [ConfigurationProperty]
customAmiId :: InstanceTypeConfigProperty -> Maybe (Value Text)
ebsConfiguration :: InstanceTypeConfigProperty -> Maybe EbsConfigurationProperty
instanceType :: InstanceTypeConfigProperty -> Value Text
priority :: InstanceTypeConfigProperty -> Maybe (Value Double)
weightedCapacity :: InstanceTypeConfigProperty -> Maybe (Value Integer)
haddock_workaround_ :: ()
bidPrice :: Maybe (Value Text)
bidPriceAsPercentageOfOnDemandPrice :: Maybe (Value Double)
configurations :: Maybe [ConfigurationProperty]
customAmiId :: Maybe (Value Text)
ebsConfiguration :: Maybe EbsConfigurationProperty
instanceType :: Value Text
priority :: Maybe (Value Double)
weightedCapacity :: Maybe (Value Integer)
..}
= InstanceTypeConfigProperty {priority :: Maybe (Value Double)
priority = Value Double -> Maybe (Value Double)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "Priority" InstanceTypeConfigProperty
Value Double
newValue, Maybe [ConfigurationProperty]
Maybe (Value Double)
Maybe (Value Integer)
Maybe (Value Text)
Maybe EbsConfigurationProperty
()
Value Text
haddock_workaround_ :: ()
bidPrice :: Maybe (Value Text)
bidPriceAsPercentageOfOnDemandPrice :: Maybe (Value Double)
configurations :: Maybe [ConfigurationProperty]
customAmiId :: Maybe (Value Text)
ebsConfiguration :: Maybe EbsConfigurationProperty
instanceType :: Value Text
weightedCapacity :: Maybe (Value Integer)
haddock_workaround_ :: ()
bidPrice :: Maybe (Value Text)
bidPriceAsPercentageOfOnDemandPrice :: Maybe (Value Double)
configurations :: Maybe [ConfigurationProperty]
customAmiId :: Maybe (Value Text)
ebsConfiguration :: Maybe EbsConfigurationProperty
instanceType :: Value Text
weightedCapacity :: Maybe (Value Integer)
..}
instance Property "WeightedCapacity" InstanceTypeConfigProperty where
type PropertyType "WeightedCapacity" InstanceTypeConfigProperty = Value Prelude.Integer
set :: PropertyType "WeightedCapacity" InstanceTypeConfigProperty
-> InstanceTypeConfigProperty -> InstanceTypeConfigProperty
set PropertyType "WeightedCapacity" InstanceTypeConfigProperty
newValue InstanceTypeConfigProperty {Maybe [ConfigurationProperty]
Maybe (Value Double)
Maybe (Value Integer)
Maybe (Value Text)
Maybe EbsConfigurationProperty
()
Value Text
haddock_workaround_ :: InstanceTypeConfigProperty -> ()
bidPrice :: InstanceTypeConfigProperty -> Maybe (Value Text)
bidPriceAsPercentageOfOnDemandPrice :: InstanceTypeConfigProperty -> Maybe (Value Double)
configurations :: InstanceTypeConfigProperty -> Maybe [ConfigurationProperty]
customAmiId :: InstanceTypeConfigProperty -> Maybe (Value Text)
ebsConfiguration :: InstanceTypeConfigProperty -> Maybe EbsConfigurationProperty
instanceType :: InstanceTypeConfigProperty -> Value Text
priority :: InstanceTypeConfigProperty -> Maybe (Value Double)
weightedCapacity :: InstanceTypeConfigProperty -> Maybe (Value Integer)
haddock_workaround_ :: ()
bidPrice :: Maybe (Value Text)
bidPriceAsPercentageOfOnDemandPrice :: Maybe (Value Double)
configurations :: Maybe [ConfigurationProperty]
customAmiId :: Maybe (Value Text)
ebsConfiguration :: Maybe EbsConfigurationProperty
instanceType :: Value Text
priority :: Maybe (Value Double)
weightedCapacity :: Maybe (Value Integer)
..}
= InstanceTypeConfigProperty
{weightedCapacity :: Maybe (Value Integer)
weightedCapacity = Value Integer -> Maybe (Value Integer)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "WeightedCapacity" InstanceTypeConfigProperty
Value Integer
newValue, Maybe [ConfigurationProperty]
Maybe (Value Double)
Maybe (Value Text)
Maybe EbsConfigurationProperty
()
Value Text
haddock_workaround_ :: ()
bidPrice :: Maybe (Value Text)
bidPriceAsPercentageOfOnDemandPrice :: Maybe (Value Double)
configurations :: Maybe [ConfigurationProperty]
customAmiId :: Maybe (Value Text)
ebsConfiguration :: Maybe EbsConfigurationProperty
instanceType :: Value Text
priority :: Maybe (Value Double)
haddock_workaround_ :: ()
bidPrice :: Maybe (Value Text)
bidPriceAsPercentageOfOnDemandPrice :: Maybe (Value Double)
configurations :: Maybe [ConfigurationProperty]
customAmiId :: Maybe (Value Text)
ebsConfiguration :: Maybe EbsConfigurationProperty
instanceType :: Value Text
priority :: Maybe (Value Double)
..}