module Stratosphere.EC2.CapacityReservationFleet (
module Exports, CapacityReservationFleet(..),
mkCapacityReservationFleet
) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import {-# SOURCE #-} Stratosphere.EC2.CapacityReservationFleet.InstanceTypeSpecificationProperty as Exports
import {-# SOURCE #-} Stratosphere.EC2.CapacityReservationFleet.TagSpecificationProperty as Exports
import Stratosphere.ResourceProperties
import Stratosphere.Value
data CapacityReservationFleet
=
CapacityReservationFleet {CapacityReservationFleet -> ()
haddock_workaround_ :: (),
CapacityReservationFleet -> Maybe (Value Text)
allocationStrategy :: (Prelude.Maybe (Value Prelude.Text)),
CapacityReservationFleet -> Maybe (Value Text)
endDate :: (Prelude.Maybe (Value Prelude.Text)),
CapacityReservationFleet -> Maybe (Value Text)
instanceMatchCriteria :: (Prelude.Maybe (Value Prelude.Text)),
CapacityReservationFleet
-> Maybe [InstanceTypeSpecificationProperty]
instanceTypeSpecifications :: (Prelude.Maybe [InstanceTypeSpecificationProperty]),
CapacityReservationFleet -> Maybe (Value Bool)
noRemoveEndDate :: (Prelude.Maybe (Value Prelude.Bool)),
CapacityReservationFleet -> Maybe (Value Bool)
removeEndDate :: (Prelude.Maybe (Value Prelude.Bool)),
CapacityReservationFleet -> Maybe [TagSpecificationProperty]
tagSpecifications :: (Prelude.Maybe [TagSpecificationProperty]),
CapacityReservationFleet -> Maybe (Value Text)
tenancy :: (Prelude.Maybe (Value Prelude.Text)),
CapacityReservationFleet -> Maybe (Value Integer)
totalTargetCapacity :: (Prelude.Maybe (Value Prelude.Integer))}
deriving stock (CapacityReservationFleet -> CapacityReservationFleet -> Bool
(CapacityReservationFleet -> CapacityReservationFleet -> Bool)
-> (CapacityReservationFleet -> CapacityReservationFleet -> Bool)
-> Eq CapacityReservationFleet
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: CapacityReservationFleet -> CapacityReservationFleet -> Bool
== :: CapacityReservationFleet -> CapacityReservationFleet -> Bool
$c/= :: CapacityReservationFleet -> CapacityReservationFleet -> Bool
/= :: CapacityReservationFleet -> CapacityReservationFleet -> Bool
Prelude.Eq, Int -> CapacityReservationFleet -> ShowS
[CapacityReservationFleet] -> ShowS
CapacityReservationFleet -> String
(Int -> CapacityReservationFleet -> ShowS)
-> (CapacityReservationFleet -> String)
-> ([CapacityReservationFleet] -> ShowS)
-> Show CapacityReservationFleet
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> CapacityReservationFleet -> ShowS
showsPrec :: Int -> CapacityReservationFleet -> ShowS
$cshow :: CapacityReservationFleet -> String
show :: CapacityReservationFleet -> String
$cshowList :: [CapacityReservationFleet] -> ShowS
showList :: [CapacityReservationFleet] -> ShowS
Prelude.Show)
mkCapacityReservationFleet :: CapacityReservationFleet
mkCapacityReservationFleet :: CapacityReservationFleet
mkCapacityReservationFleet
= CapacityReservationFleet
{haddock_workaround_ :: ()
haddock_workaround_ = (), allocationStrategy :: Maybe (Value Text)
allocationStrategy = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
endDate :: Maybe (Value Text)
endDate = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing, instanceMatchCriteria :: Maybe (Value Text)
instanceMatchCriteria = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
instanceTypeSpecifications :: Maybe [InstanceTypeSpecificationProperty]
instanceTypeSpecifications = Maybe [InstanceTypeSpecificationProperty]
forall a. Maybe a
Prelude.Nothing,
noRemoveEndDate :: Maybe (Value Bool)
noRemoveEndDate = Maybe (Value Bool)
forall a. Maybe a
Prelude.Nothing, removeEndDate :: Maybe (Value Bool)
removeEndDate = Maybe (Value Bool)
forall a. Maybe a
Prelude.Nothing,
tagSpecifications :: Maybe [TagSpecificationProperty]
tagSpecifications = Maybe [TagSpecificationProperty]
forall a. Maybe a
Prelude.Nothing, tenancy :: Maybe (Value Text)
tenancy = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
totalTargetCapacity :: Maybe (Value Integer)
totalTargetCapacity = Maybe (Value Integer)
forall a. Maybe a
Prelude.Nothing}
instance ToResourceProperties CapacityReservationFleet where
toResourceProperties :: CapacityReservationFleet -> ResourceProperties
toResourceProperties CapacityReservationFleet {Maybe [InstanceTypeSpecificationProperty]
Maybe [TagSpecificationProperty]
Maybe (Value Bool)
Maybe (Value Integer)
Maybe (Value Text)
()
haddock_workaround_ :: CapacityReservationFleet -> ()
allocationStrategy :: CapacityReservationFleet -> Maybe (Value Text)
endDate :: CapacityReservationFleet -> Maybe (Value Text)
instanceMatchCriteria :: CapacityReservationFleet -> Maybe (Value Text)
instanceTypeSpecifications :: CapacityReservationFleet
-> Maybe [InstanceTypeSpecificationProperty]
noRemoveEndDate :: CapacityReservationFleet -> Maybe (Value Bool)
removeEndDate :: CapacityReservationFleet -> Maybe (Value Bool)
tagSpecifications :: CapacityReservationFleet -> Maybe [TagSpecificationProperty]
tenancy :: CapacityReservationFleet -> Maybe (Value Text)
totalTargetCapacity :: CapacityReservationFleet -> Maybe (Value Integer)
haddock_workaround_ :: ()
allocationStrategy :: Maybe (Value Text)
endDate :: Maybe (Value Text)
instanceMatchCriteria :: Maybe (Value Text)
instanceTypeSpecifications :: Maybe [InstanceTypeSpecificationProperty]
noRemoveEndDate :: Maybe (Value Bool)
removeEndDate :: Maybe (Value Bool)
tagSpecifications :: Maybe [TagSpecificationProperty]
tenancy :: Maybe (Value Text)
totalTargetCapacity :: Maybe (Value Integer)
..}
= ResourceProperties
{awsType :: Text
awsType = Text
"AWS::EC2::CapacityReservationFleet",
supportsTags :: Bool
supportsTags = Bool
Prelude.False,
properties :: Object
properties = [Item Object] -> Object
forall l. IsList l => [Item l] -> l
Prelude.fromList
([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
"AllocationStrategy" (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)
allocationStrategy,
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
"EndDate" (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)
endDate,
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
"InstanceMatchCriteria"
(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)
instanceMatchCriteria,
Key -> [InstanceTypeSpecificationProperty] -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"InstanceTypeSpecifications"
([InstanceTypeSpecificationProperty] -> (Key, Value))
-> Maybe [InstanceTypeSpecificationProperty] -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [InstanceTypeSpecificationProperty]
instanceTypeSpecifications,
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
"NoRemoveEndDate" (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)
noRemoveEndDate,
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
"RemoveEndDate" (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)
removeEndDate,
Key -> [TagSpecificationProperty] -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"TagSpecifications" ([TagSpecificationProperty] -> (Key, Value))
-> Maybe [TagSpecificationProperty] -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [TagSpecificationProperty]
tagSpecifications,
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
"Tenancy" (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)
tenancy,
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
"TotalTargetCapacity" (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)
totalTargetCapacity])}
instance JSON.ToJSON CapacityReservationFleet where
toJSON :: CapacityReservationFleet -> Value
toJSON CapacityReservationFleet {Maybe [InstanceTypeSpecificationProperty]
Maybe [TagSpecificationProperty]
Maybe (Value Bool)
Maybe (Value Integer)
Maybe (Value Text)
()
haddock_workaround_ :: CapacityReservationFleet -> ()
allocationStrategy :: CapacityReservationFleet -> Maybe (Value Text)
endDate :: CapacityReservationFleet -> Maybe (Value Text)
instanceMatchCriteria :: CapacityReservationFleet -> Maybe (Value Text)
instanceTypeSpecifications :: CapacityReservationFleet
-> Maybe [InstanceTypeSpecificationProperty]
noRemoveEndDate :: CapacityReservationFleet -> Maybe (Value Bool)
removeEndDate :: CapacityReservationFleet -> Maybe (Value Bool)
tagSpecifications :: CapacityReservationFleet -> Maybe [TagSpecificationProperty]
tenancy :: CapacityReservationFleet -> Maybe (Value Text)
totalTargetCapacity :: CapacityReservationFleet -> Maybe (Value Integer)
haddock_workaround_ :: ()
allocationStrategy :: Maybe (Value Text)
endDate :: Maybe (Value Text)
instanceMatchCriteria :: Maybe (Value Text)
instanceTypeSpecifications :: Maybe [InstanceTypeSpecificationProperty]
noRemoveEndDate :: Maybe (Value Bool)
removeEndDate :: Maybe (Value Bool)
tagSpecifications :: Maybe [TagSpecificationProperty]
tenancy :: Maybe (Value Text)
totalTargetCapacity :: Maybe (Value Integer)
..}
= [(Key, Value)] -> Value
JSON.object
([Item [(Key, Value)]] -> [(Key, Value)]
forall l. IsList l => [Item l] -> l
Prelude.fromList
([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
"AllocationStrategy" (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)
allocationStrategy,
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
"EndDate" (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)
endDate,
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
"InstanceMatchCriteria"
(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)
instanceMatchCriteria,
Key -> [InstanceTypeSpecificationProperty] -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"InstanceTypeSpecifications"
([InstanceTypeSpecificationProperty] -> (Key, Value))
-> Maybe [InstanceTypeSpecificationProperty] -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [InstanceTypeSpecificationProperty]
instanceTypeSpecifications,
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
"NoRemoveEndDate" (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)
noRemoveEndDate,
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
"RemoveEndDate" (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)
removeEndDate,
Key -> [TagSpecificationProperty] -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"TagSpecifications" ([TagSpecificationProperty] -> (Key, Value))
-> Maybe [TagSpecificationProperty] -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [TagSpecificationProperty]
tagSpecifications,
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
"Tenancy" (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)
tenancy,
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
"TotalTargetCapacity" (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)
totalTargetCapacity]))
instance Property "AllocationStrategy" CapacityReservationFleet where
type PropertyType "AllocationStrategy" CapacityReservationFleet = Value Prelude.Text
set :: PropertyType "AllocationStrategy" CapacityReservationFleet
-> CapacityReservationFleet -> CapacityReservationFleet
set PropertyType "AllocationStrategy" CapacityReservationFleet
newValue CapacityReservationFleet {Maybe [InstanceTypeSpecificationProperty]
Maybe [TagSpecificationProperty]
Maybe (Value Bool)
Maybe (Value Integer)
Maybe (Value Text)
()
haddock_workaround_ :: CapacityReservationFleet -> ()
allocationStrategy :: CapacityReservationFleet -> Maybe (Value Text)
endDate :: CapacityReservationFleet -> Maybe (Value Text)
instanceMatchCriteria :: CapacityReservationFleet -> Maybe (Value Text)
instanceTypeSpecifications :: CapacityReservationFleet
-> Maybe [InstanceTypeSpecificationProperty]
noRemoveEndDate :: CapacityReservationFleet -> Maybe (Value Bool)
removeEndDate :: CapacityReservationFleet -> Maybe (Value Bool)
tagSpecifications :: CapacityReservationFleet -> Maybe [TagSpecificationProperty]
tenancy :: CapacityReservationFleet -> Maybe (Value Text)
totalTargetCapacity :: CapacityReservationFleet -> Maybe (Value Integer)
haddock_workaround_ :: ()
allocationStrategy :: Maybe (Value Text)
endDate :: Maybe (Value Text)
instanceMatchCriteria :: Maybe (Value Text)
instanceTypeSpecifications :: Maybe [InstanceTypeSpecificationProperty]
noRemoveEndDate :: Maybe (Value Bool)
removeEndDate :: Maybe (Value Bool)
tagSpecifications :: Maybe [TagSpecificationProperty]
tenancy :: Maybe (Value Text)
totalTargetCapacity :: Maybe (Value Integer)
..}
= CapacityReservationFleet
{allocationStrategy :: Maybe (Value Text)
allocationStrategy = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "AllocationStrategy" CapacityReservationFleet
Value Text
newValue, Maybe [InstanceTypeSpecificationProperty]
Maybe [TagSpecificationProperty]
Maybe (Value Bool)
Maybe (Value Integer)
Maybe (Value Text)
()
haddock_workaround_ :: ()
endDate :: Maybe (Value Text)
instanceMatchCriteria :: Maybe (Value Text)
instanceTypeSpecifications :: Maybe [InstanceTypeSpecificationProperty]
noRemoveEndDate :: Maybe (Value Bool)
removeEndDate :: Maybe (Value Bool)
tagSpecifications :: Maybe [TagSpecificationProperty]
tenancy :: Maybe (Value Text)
totalTargetCapacity :: Maybe (Value Integer)
haddock_workaround_ :: ()
endDate :: Maybe (Value Text)
instanceMatchCriteria :: Maybe (Value Text)
instanceTypeSpecifications :: Maybe [InstanceTypeSpecificationProperty]
noRemoveEndDate :: Maybe (Value Bool)
removeEndDate :: Maybe (Value Bool)
tagSpecifications :: Maybe [TagSpecificationProperty]
tenancy :: Maybe (Value Text)
totalTargetCapacity :: Maybe (Value Integer)
..}
instance Property "EndDate" CapacityReservationFleet where
type PropertyType "EndDate" CapacityReservationFleet = Value Prelude.Text
set :: PropertyType "EndDate" CapacityReservationFleet
-> CapacityReservationFleet -> CapacityReservationFleet
set PropertyType "EndDate" CapacityReservationFleet
newValue CapacityReservationFleet {Maybe [InstanceTypeSpecificationProperty]
Maybe [TagSpecificationProperty]
Maybe (Value Bool)
Maybe (Value Integer)
Maybe (Value Text)
()
haddock_workaround_ :: CapacityReservationFleet -> ()
allocationStrategy :: CapacityReservationFleet -> Maybe (Value Text)
endDate :: CapacityReservationFleet -> Maybe (Value Text)
instanceMatchCriteria :: CapacityReservationFleet -> Maybe (Value Text)
instanceTypeSpecifications :: CapacityReservationFleet
-> Maybe [InstanceTypeSpecificationProperty]
noRemoveEndDate :: CapacityReservationFleet -> Maybe (Value Bool)
removeEndDate :: CapacityReservationFleet -> Maybe (Value Bool)
tagSpecifications :: CapacityReservationFleet -> Maybe [TagSpecificationProperty]
tenancy :: CapacityReservationFleet -> Maybe (Value Text)
totalTargetCapacity :: CapacityReservationFleet -> Maybe (Value Integer)
haddock_workaround_ :: ()
allocationStrategy :: Maybe (Value Text)
endDate :: Maybe (Value Text)
instanceMatchCriteria :: Maybe (Value Text)
instanceTypeSpecifications :: Maybe [InstanceTypeSpecificationProperty]
noRemoveEndDate :: Maybe (Value Bool)
removeEndDate :: Maybe (Value Bool)
tagSpecifications :: Maybe [TagSpecificationProperty]
tenancy :: Maybe (Value Text)
totalTargetCapacity :: Maybe (Value Integer)
..}
= CapacityReservationFleet {endDate :: Maybe (Value Text)
endDate = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "EndDate" CapacityReservationFleet
Value Text
newValue, Maybe [InstanceTypeSpecificationProperty]
Maybe [TagSpecificationProperty]
Maybe (Value Bool)
Maybe (Value Integer)
Maybe (Value Text)
()
haddock_workaround_ :: ()
allocationStrategy :: Maybe (Value Text)
instanceMatchCriteria :: Maybe (Value Text)
instanceTypeSpecifications :: Maybe [InstanceTypeSpecificationProperty]
noRemoveEndDate :: Maybe (Value Bool)
removeEndDate :: Maybe (Value Bool)
tagSpecifications :: Maybe [TagSpecificationProperty]
tenancy :: Maybe (Value Text)
totalTargetCapacity :: Maybe (Value Integer)
haddock_workaround_ :: ()
allocationStrategy :: Maybe (Value Text)
instanceMatchCriteria :: Maybe (Value Text)
instanceTypeSpecifications :: Maybe [InstanceTypeSpecificationProperty]
noRemoveEndDate :: Maybe (Value Bool)
removeEndDate :: Maybe (Value Bool)
tagSpecifications :: Maybe [TagSpecificationProperty]
tenancy :: Maybe (Value Text)
totalTargetCapacity :: Maybe (Value Integer)
..}
instance Property "InstanceMatchCriteria" CapacityReservationFleet where
type PropertyType "InstanceMatchCriteria" CapacityReservationFleet = Value Prelude.Text
set :: PropertyType "InstanceMatchCriteria" CapacityReservationFleet
-> CapacityReservationFleet -> CapacityReservationFleet
set PropertyType "InstanceMatchCriteria" CapacityReservationFleet
newValue CapacityReservationFleet {Maybe [InstanceTypeSpecificationProperty]
Maybe [TagSpecificationProperty]
Maybe (Value Bool)
Maybe (Value Integer)
Maybe (Value Text)
()
haddock_workaround_ :: CapacityReservationFleet -> ()
allocationStrategy :: CapacityReservationFleet -> Maybe (Value Text)
endDate :: CapacityReservationFleet -> Maybe (Value Text)
instanceMatchCriteria :: CapacityReservationFleet -> Maybe (Value Text)
instanceTypeSpecifications :: CapacityReservationFleet
-> Maybe [InstanceTypeSpecificationProperty]
noRemoveEndDate :: CapacityReservationFleet -> Maybe (Value Bool)
removeEndDate :: CapacityReservationFleet -> Maybe (Value Bool)
tagSpecifications :: CapacityReservationFleet -> Maybe [TagSpecificationProperty]
tenancy :: CapacityReservationFleet -> Maybe (Value Text)
totalTargetCapacity :: CapacityReservationFleet -> Maybe (Value Integer)
haddock_workaround_ :: ()
allocationStrategy :: Maybe (Value Text)
endDate :: Maybe (Value Text)
instanceMatchCriteria :: Maybe (Value Text)
instanceTypeSpecifications :: Maybe [InstanceTypeSpecificationProperty]
noRemoveEndDate :: Maybe (Value Bool)
removeEndDate :: Maybe (Value Bool)
tagSpecifications :: Maybe [TagSpecificationProperty]
tenancy :: Maybe (Value Text)
totalTargetCapacity :: Maybe (Value Integer)
..}
= CapacityReservationFleet
{instanceMatchCriteria :: Maybe (Value Text)
instanceMatchCriteria = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "InstanceMatchCriteria" CapacityReservationFleet
Value Text
newValue, Maybe [InstanceTypeSpecificationProperty]
Maybe [TagSpecificationProperty]
Maybe (Value Bool)
Maybe (Value Integer)
Maybe (Value Text)
()
haddock_workaround_ :: ()
allocationStrategy :: Maybe (Value Text)
endDate :: Maybe (Value Text)
instanceTypeSpecifications :: Maybe [InstanceTypeSpecificationProperty]
noRemoveEndDate :: Maybe (Value Bool)
removeEndDate :: Maybe (Value Bool)
tagSpecifications :: Maybe [TagSpecificationProperty]
tenancy :: Maybe (Value Text)
totalTargetCapacity :: Maybe (Value Integer)
haddock_workaround_ :: ()
allocationStrategy :: Maybe (Value Text)
endDate :: Maybe (Value Text)
instanceTypeSpecifications :: Maybe [InstanceTypeSpecificationProperty]
noRemoveEndDate :: Maybe (Value Bool)
removeEndDate :: Maybe (Value Bool)
tagSpecifications :: Maybe [TagSpecificationProperty]
tenancy :: Maybe (Value Text)
totalTargetCapacity :: Maybe (Value Integer)
..}
instance Property "InstanceTypeSpecifications" CapacityReservationFleet where
type PropertyType "InstanceTypeSpecifications" CapacityReservationFleet = [InstanceTypeSpecificationProperty]
set :: PropertyType "InstanceTypeSpecifications" CapacityReservationFleet
-> CapacityReservationFleet -> CapacityReservationFleet
set PropertyType "InstanceTypeSpecifications" CapacityReservationFleet
newValue CapacityReservationFleet {Maybe [InstanceTypeSpecificationProperty]
Maybe [TagSpecificationProperty]
Maybe (Value Bool)
Maybe (Value Integer)
Maybe (Value Text)
()
haddock_workaround_ :: CapacityReservationFleet -> ()
allocationStrategy :: CapacityReservationFleet -> Maybe (Value Text)
endDate :: CapacityReservationFleet -> Maybe (Value Text)
instanceMatchCriteria :: CapacityReservationFleet -> Maybe (Value Text)
instanceTypeSpecifications :: CapacityReservationFleet
-> Maybe [InstanceTypeSpecificationProperty]
noRemoveEndDate :: CapacityReservationFleet -> Maybe (Value Bool)
removeEndDate :: CapacityReservationFleet -> Maybe (Value Bool)
tagSpecifications :: CapacityReservationFleet -> Maybe [TagSpecificationProperty]
tenancy :: CapacityReservationFleet -> Maybe (Value Text)
totalTargetCapacity :: CapacityReservationFleet -> Maybe (Value Integer)
haddock_workaround_ :: ()
allocationStrategy :: Maybe (Value Text)
endDate :: Maybe (Value Text)
instanceMatchCriteria :: Maybe (Value Text)
instanceTypeSpecifications :: Maybe [InstanceTypeSpecificationProperty]
noRemoveEndDate :: Maybe (Value Bool)
removeEndDate :: Maybe (Value Bool)
tagSpecifications :: Maybe [TagSpecificationProperty]
tenancy :: Maybe (Value Text)
totalTargetCapacity :: Maybe (Value Integer)
..}
= CapacityReservationFleet
{instanceTypeSpecifications :: Maybe [InstanceTypeSpecificationProperty]
instanceTypeSpecifications = [InstanceTypeSpecificationProperty]
-> Maybe [InstanceTypeSpecificationProperty]
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure [InstanceTypeSpecificationProperty]
PropertyType "InstanceTypeSpecifications" CapacityReservationFleet
newValue, Maybe [TagSpecificationProperty]
Maybe (Value Bool)
Maybe (Value Integer)
Maybe (Value Text)
()
haddock_workaround_ :: ()
allocationStrategy :: Maybe (Value Text)
endDate :: Maybe (Value Text)
instanceMatchCriteria :: Maybe (Value Text)
noRemoveEndDate :: Maybe (Value Bool)
removeEndDate :: Maybe (Value Bool)
tagSpecifications :: Maybe [TagSpecificationProperty]
tenancy :: Maybe (Value Text)
totalTargetCapacity :: Maybe (Value Integer)
haddock_workaround_ :: ()
allocationStrategy :: Maybe (Value Text)
endDate :: Maybe (Value Text)
instanceMatchCriteria :: Maybe (Value Text)
noRemoveEndDate :: Maybe (Value Bool)
removeEndDate :: Maybe (Value Bool)
tagSpecifications :: Maybe [TagSpecificationProperty]
tenancy :: Maybe (Value Text)
totalTargetCapacity :: Maybe (Value Integer)
..}
instance Property "NoRemoveEndDate" CapacityReservationFleet where
type PropertyType "NoRemoveEndDate" CapacityReservationFleet = Value Prelude.Bool
set :: PropertyType "NoRemoveEndDate" CapacityReservationFleet
-> CapacityReservationFleet -> CapacityReservationFleet
set PropertyType "NoRemoveEndDate" CapacityReservationFleet
newValue CapacityReservationFleet {Maybe [InstanceTypeSpecificationProperty]
Maybe [TagSpecificationProperty]
Maybe (Value Bool)
Maybe (Value Integer)
Maybe (Value Text)
()
haddock_workaround_ :: CapacityReservationFleet -> ()
allocationStrategy :: CapacityReservationFleet -> Maybe (Value Text)
endDate :: CapacityReservationFleet -> Maybe (Value Text)
instanceMatchCriteria :: CapacityReservationFleet -> Maybe (Value Text)
instanceTypeSpecifications :: CapacityReservationFleet
-> Maybe [InstanceTypeSpecificationProperty]
noRemoveEndDate :: CapacityReservationFleet -> Maybe (Value Bool)
removeEndDate :: CapacityReservationFleet -> Maybe (Value Bool)
tagSpecifications :: CapacityReservationFleet -> Maybe [TagSpecificationProperty]
tenancy :: CapacityReservationFleet -> Maybe (Value Text)
totalTargetCapacity :: CapacityReservationFleet -> Maybe (Value Integer)
haddock_workaround_ :: ()
allocationStrategy :: Maybe (Value Text)
endDate :: Maybe (Value Text)
instanceMatchCriteria :: Maybe (Value Text)
instanceTypeSpecifications :: Maybe [InstanceTypeSpecificationProperty]
noRemoveEndDate :: Maybe (Value Bool)
removeEndDate :: Maybe (Value Bool)
tagSpecifications :: Maybe [TagSpecificationProperty]
tenancy :: Maybe (Value Text)
totalTargetCapacity :: Maybe (Value Integer)
..}
= CapacityReservationFleet
{noRemoveEndDate :: Maybe (Value Bool)
noRemoveEndDate = Value Bool -> Maybe (Value Bool)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "NoRemoveEndDate" CapacityReservationFleet
Value Bool
newValue, Maybe [InstanceTypeSpecificationProperty]
Maybe [TagSpecificationProperty]
Maybe (Value Bool)
Maybe (Value Integer)
Maybe (Value Text)
()
haddock_workaround_ :: ()
allocationStrategy :: Maybe (Value Text)
endDate :: Maybe (Value Text)
instanceMatchCriteria :: Maybe (Value Text)
instanceTypeSpecifications :: Maybe [InstanceTypeSpecificationProperty]
removeEndDate :: Maybe (Value Bool)
tagSpecifications :: Maybe [TagSpecificationProperty]
tenancy :: Maybe (Value Text)
totalTargetCapacity :: Maybe (Value Integer)
haddock_workaround_ :: ()
allocationStrategy :: Maybe (Value Text)
endDate :: Maybe (Value Text)
instanceMatchCriteria :: Maybe (Value Text)
instanceTypeSpecifications :: Maybe [InstanceTypeSpecificationProperty]
removeEndDate :: Maybe (Value Bool)
tagSpecifications :: Maybe [TagSpecificationProperty]
tenancy :: Maybe (Value Text)
totalTargetCapacity :: Maybe (Value Integer)
..}
instance Property "RemoveEndDate" CapacityReservationFleet where
type PropertyType "RemoveEndDate" CapacityReservationFleet = Value Prelude.Bool
set :: PropertyType "RemoveEndDate" CapacityReservationFleet
-> CapacityReservationFleet -> CapacityReservationFleet
set PropertyType "RemoveEndDate" CapacityReservationFleet
newValue CapacityReservationFleet {Maybe [InstanceTypeSpecificationProperty]
Maybe [TagSpecificationProperty]
Maybe (Value Bool)
Maybe (Value Integer)
Maybe (Value Text)
()
haddock_workaround_ :: CapacityReservationFleet -> ()
allocationStrategy :: CapacityReservationFleet -> Maybe (Value Text)
endDate :: CapacityReservationFleet -> Maybe (Value Text)
instanceMatchCriteria :: CapacityReservationFleet -> Maybe (Value Text)
instanceTypeSpecifications :: CapacityReservationFleet
-> Maybe [InstanceTypeSpecificationProperty]
noRemoveEndDate :: CapacityReservationFleet -> Maybe (Value Bool)
removeEndDate :: CapacityReservationFleet -> Maybe (Value Bool)
tagSpecifications :: CapacityReservationFleet -> Maybe [TagSpecificationProperty]
tenancy :: CapacityReservationFleet -> Maybe (Value Text)
totalTargetCapacity :: CapacityReservationFleet -> Maybe (Value Integer)
haddock_workaround_ :: ()
allocationStrategy :: Maybe (Value Text)
endDate :: Maybe (Value Text)
instanceMatchCriteria :: Maybe (Value Text)
instanceTypeSpecifications :: Maybe [InstanceTypeSpecificationProperty]
noRemoveEndDate :: Maybe (Value Bool)
removeEndDate :: Maybe (Value Bool)
tagSpecifications :: Maybe [TagSpecificationProperty]
tenancy :: Maybe (Value Text)
totalTargetCapacity :: Maybe (Value Integer)
..}
= CapacityReservationFleet
{removeEndDate :: Maybe (Value Bool)
removeEndDate = Value Bool -> Maybe (Value Bool)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "RemoveEndDate" CapacityReservationFleet
Value Bool
newValue, Maybe [InstanceTypeSpecificationProperty]
Maybe [TagSpecificationProperty]
Maybe (Value Bool)
Maybe (Value Integer)
Maybe (Value Text)
()
haddock_workaround_ :: ()
allocationStrategy :: Maybe (Value Text)
endDate :: Maybe (Value Text)
instanceMatchCriteria :: Maybe (Value Text)
instanceTypeSpecifications :: Maybe [InstanceTypeSpecificationProperty]
noRemoveEndDate :: Maybe (Value Bool)
tagSpecifications :: Maybe [TagSpecificationProperty]
tenancy :: Maybe (Value Text)
totalTargetCapacity :: Maybe (Value Integer)
haddock_workaround_ :: ()
allocationStrategy :: Maybe (Value Text)
endDate :: Maybe (Value Text)
instanceMatchCriteria :: Maybe (Value Text)
instanceTypeSpecifications :: Maybe [InstanceTypeSpecificationProperty]
noRemoveEndDate :: Maybe (Value Bool)
tagSpecifications :: Maybe [TagSpecificationProperty]
tenancy :: Maybe (Value Text)
totalTargetCapacity :: Maybe (Value Integer)
..}
instance Property "TagSpecifications" CapacityReservationFleet where
type PropertyType "TagSpecifications" CapacityReservationFleet = [TagSpecificationProperty]
set :: PropertyType "TagSpecifications" CapacityReservationFleet
-> CapacityReservationFleet -> CapacityReservationFleet
set PropertyType "TagSpecifications" CapacityReservationFleet
newValue CapacityReservationFleet {Maybe [InstanceTypeSpecificationProperty]
Maybe [TagSpecificationProperty]
Maybe (Value Bool)
Maybe (Value Integer)
Maybe (Value Text)
()
haddock_workaround_ :: CapacityReservationFleet -> ()
allocationStrategy :: CapacityReservationFleet -> Maybe (Value Text)
endDate :: CapacityReservationFleet -> Maybe (Value Text)
instanceMatchCriteria :: CapacityReservationFleet -> Maybe (Value Text)
instanceTypeSpecifications :: CapacityReservationFleet
-> Maybe [InstanceTypeSpecificationProperty]
noRemoveEndDate :: CapacityReservationFleet -> Maybe (Value Bool)
removeEndDate :: CapacityReservationFleet -> Maybe (Value Bool)
tagSpecifications :: CapacityReservationFleet -> Maybe [TagSpecificationProperty]
tenancy :: CapacityReservationFleet -> Maybe (Value Text)
totalTargetCapacity :: CapacityReservationFleet -> Maybe (Value Integer)
haddock_workaround_ :: ()
allocationStrategy :: Maybe (Value Text)
endDate :: Maybe (Value Text)
instanceMatchCriteria :: Maybe (Value Text)
instanceTypeSpecifications :: Maybe [InstanceTypeSpecificationProperty]
noRemoveEndDate :: Maybe (Value Bool)
removeEndDate :: Maybe (Value Bool)
tagSpecifications :: Maybe [TagSpecificationProperty]
tenancy :: Maybe (Value Text)
totalTargetCapacity :: Maybe (Value Integer)
..}
= CapacityReservationFleet
{tagSpecifications :: Maybe [TagSpecificationProperty]
tagSpecifications = [TagSpecificationProperty] -> Maybe [TagSpecificationProperty]
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure [TagSpecificationProperty]
PropertyType "TagSpecifications" CapacityReservationFleet
newValue, Maybe [InstanceTypeSpecificationProperty]
Maybe (Value Bool)
Maybe (Value Integer)
Maybe (Value Text)
()
haddock_workaround_ :: ()
allocationStrategy :: Maybe (Value Text)
endDate :: Maybe (Value Text)
instanceMatchCriteria :: Maybe (Value Text)
instanceTypeSpecifications :: Maybe [InstanceTypeSpecificationProperty]
noRemoveEndDate :: Maybe (Value Bool)
removeEndDate :: Maybe (Value Bool)
tenancy :: Maybe (Value Text)
totalTargetCapacity :: Maybe (Value Integer)
haddock_workaround_ :: ()
allocationStrategy :: Maybe (Value Text)
endDate :: Maybe (Value Text)
instanceMatchCriteria :: Maybe (Value Text)
instanceTypeSpecifications :: Maybe [InstanceTypeSpecificationProperty]
noRemoveEndDate :: Maybe (Value Bool)
removeEndDate :: Maybe (Value Bool)
tenancy :: Maybe (Value Text)
totalTargetCapacity :: Maybe (Value Integer)
..}
instance Property "Tenancy" CapacityReservationFleet where
type PropertyType "Tenancy" CapacityReservationFleet = Value Prelude.Text
set :: PropertyType "Tenancy" CapacityReservationFleet
-> CapacityReservationFleet -> CapacityReservationFleet
set PropertyType "Tenancy" CapacityReservationFleet
newValue CapacityReservationFleet {Maybe [InstanceTypeSpecificationProperty]
Maybe [TagSpecificationProperty]
Maybe (Value Bool)
Maybe (Value Integer)
Maybe (Value Text)
()
haddock_workaround_ :: CapacityReservationFleet -> ()
allocationStrategy :: CapacityReservationFleet -> Maybe (Value Text)
endDate :: CapacityReservationFleet -> Maybe (Value Text)
instanceMatchCriteria :: CapacityReservationFleet -> Maybe (Value Text)
instanceTypeSpecifications :: CapacityReservationFleet
-> Maybe [InstanceTypeSpecificationProperty]
noRemoveEndDate :: CapacityReservationFleet -> Maybe (Value Bool)
removeEndDate :: CapacityReservationFleet -> Maybe (Value Bool)
tagSpecifications :: CapacityReservationFleet -> Maybe [TagSpecificationProperty]
tenancy :: CapacityReservationFleet -> Maybe (Value Text)
totalTargetCapacity :: CapacityReservationFleet -> Maybe (Value Integer)
haddock_workaround_ :: ()
allocationStrategy :: Maybe (Value Text)
endDate :: Maybe (Value Text)
instanceMatchCriteria :: Maybe (Value Text)
instanceTypeSpecifications :: Maybe [InstanceTypeSpecificationProperty]
noRemoveEndDate :: Maybe (Value Bool)
removeEndDate :: Maybe (Value Bool)
tagSpecifications :: Maybe [TagSpecificationProperty]
tenancy :: Maybe (Value Text)
totalTargetCapacity :: Maybe (Value Integer)
..}
= CapacityReservationFleet {tenancy :: Maybe (Value Text)
tenancy = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "Tenancy" CapacityReservationFleet
Value Text
newValue, Maybe [InstanceTypeSpecificationProperty]
Maybe [TagSpecificationProperty]
Maybe (Value Bool)
Maybe (Value Integer)
Maybe (Value Text)
()
haddock_workaround_ :: ()
allocationStrategy :: Maybe (Value Text)
endDate :: Maybe (Value Text)
instanceMatchCriteria :: Maybe (Value Text)
instanceTypeSpecifications :: Maybe [InstanceTypeSpecificationProperty]
noRemoveEndDate :: Maybe (Value Bool)
removeEndDate :: Maybe (Value Bool)
tagSpecifications :: Maybe [TagSpecificationProperty]
totalTargetCapacity :: Maybe (Value Integer)
haddock_workaround_ :: ()
allocationStrategy :: Maybe (Value Text)
endDate :: Maybe (Value Text)
instanceMatchCriteria :: Maybe (Value Text)
instanceTypeSpecifications :: Maybe [InstanceTypeSpecificationProperty]
noRemoveEndDate :: Maybe (Value Bool)
removeEndDate :: Maybe (Value Bool)
tagSpecifications :: Maybe [TagSpecificationProperty]
totalTargetCapacity :: Maybe (Value Integer)
..}
instance Property "TotalTargetCapacity" CapacityReservationFleet where
type PropertyType "TotalTargetCapacity" CapacityReservationFleet = Value Prelude.Integer
set :: PropertyType "TotalTargetCapacity" CapacityReservationFleet
-> CapacityReservationFleet -> CapacityReservationFleet
set PropertyType "TotalTargetCapacity" CapacityReservationFleet
newValue CapacityReservationFleet {Maybe [InstanceTypeSpecificationProperty]
Maybe [TagSpecificationProperty]
Maybe (Value Bool)
Maybe (Value Integer)
Maybe (Value Text)
()
haddock_workaround_ :: CapacityReservationFleet -> ()
allocationStrategy :: CapacityReservationFleet -> Maybe (Value Text)
endDate :: CapacityReservationFleet -> Maybe (Value Text)
instanceMatchCriteria :: CapacityReservationFleet -> Maybe (Value Text)
instanceTypeSpecifications :: CapacityReservationFleet
-> Maybe [InstanceTypeSpecificationProperty]
noRemoveEndDate :: CapacityReservationFleet -> Maybe (Value Bool)
removeEndDate :: CapacityReservationFleet -> Maybe (Value Bool)
tagSpecifications :: CapacityReservationFleet -> Maybe [TagSpecificationProperty]
tenancy :: CapacityReservationFleet -> Maybe (Value Text)
totalTargetCapacity :: CapacityReservationFleet -> Maybe (Value Integer)
haddock_workaround_ :: ()
allocationStrategy :: Maybe (Value Text)
endDate :: Maybe (Value Text)
instanceMatchCriteria :: Maybe (Value Text)
instanceTypeSpecifications :: Maybe [InstanceTypeSpecificationProperty]
noRemoveEndDate :: Maybe (Value Bool)
removeEndDate :: Maybe (Value Bool)
tagSpecifications :: Maybe [TagSpecificationProperty]
tenancy :: Maybe (Value Text)
totalTargetCapacity :: Maybe (Value Integer)
..}
= CapacityReservationFleet
{totalTargetCapacity :: Maybe (Value Integer)
totalTargetCapacity = Value Integer -> Maybe (Value Integer)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "TotalTargetCapacity" CapacityReservationFleet
Value Integer
newValue, Maybe [InstanceTypeSpecificationProperty]
Maybe [TagSpecificationProperty]
Maybe (Value Bool)
Maybe (Value Text)
()
haddock_workaround_ :: ()
allocationStrategy :: Maybe (Value Text)
endDate :: Maybe (Value Text)
instanceMatchCriteria :: Maybe (Value Text)
instanceTypeSpecifications :: Maybe [InstanceTypeSpecificationProperty]
noRemoveEndDate :: Maybe (Value Bool)
removeEndDate :: Maybe (Value Bool)
tagSpecifications :: Maybe [TagSpecificationProperty]
tenancy :: Maybe (Value Text)
haddock_workaround_ :: ()
allocationStrategy :: Maybe (Value Text)
endDate :: Maybe (Value Text)
instanceMatchCriteria :: Maybe (Value Text)
instanceTypeSpecifications :: Maybe [InstanceTypeSpecificationProperty]
noRemoveEndDate :: Maybe (Value Bool)
removeEndDate :: Maybe (Value Bool)
tagSpecifications :: Maybe [TagSpecificationProperty]
tenancy :: Maybe (Value Text)
..}