module Stratosphere.EC2.CapacityReservation (
        module Exports, CapacityReservation(..), mkCapacityReservation
    ) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import {-# SOURCE #-} Stratosphere.EC2.CapacityReservation.TagSpecificationProperty as Exports
import Stratosphere.ResourceProperties
import Stratosphere.Value
data CapacityReservation
  = -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-capacityreservation.html>
    CapacityReservation {CapacityReservation -> ()
haddock_workaround_ :: (),
                         -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-capacityreservation.html#cfn-ec2-capacityreservation-availabilityzone>
                         CapacityReservation -> Maybe (Value Text)
availabilityZone :: (Prelude.Maybe (Value Prelude.Text)),
                         -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-capacityreservation.html#cfn-ec2-capacityreservation-availabilityzoneid>
                         CapacityReservation -> Maybe (Value Text)
availabilityZoneId :: (Prelude.Maybe (Value Prelude.Text)),
                         -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-capacityreservation.html#cfn-ec2-capacityreservation-ebsoptimized>
                         CapacityReservation -> Maybe (Value Bool)
ebsOptimized :: (Prelude.Maybe (Value Prelude.Bool)),
                         -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-capacityreservation.html#cfn-ec2-capacityreservation-enddate>
                         CapacityReservation -> Maybe (Value Text)
endDate :: (Prelude.Maybe (Value Prelude.Text)),
                         -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-capacityreservation.html#cfn-ec2-capacityreservation-enddatetype>
                         CapacityReservation -> Maybe (Value Text)
endDateType :: (Prelude.Maybe (Value Prelude.Text)),
                         -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-capacityreservation.html#cfn-ec2-capacityreservation-ephemeralstorage>
                         CapacityReservation -> Maybe (Value Bool)
ephemeralStorage :: (Prelude.Maybe (Value Prelude.Bool)),
                         -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-capacityreservation.html#cfn-ec2-capacityreservation-instancecount>
                         CapacityReservation -> Value Integer
instanceCount :: (Value Prelude.Integer),
                         -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-capacityreservation.html#cfn-ec2-capacityreservation-instancematchcriteria>
                         CapacityReservation -> Maybe (Value Text)
instanceMatchCriteria :: (Prelude.Maybe (Value Prelude.Text)),
                         -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-capacityreservation.html#cfn-ec2-capacityreservation-instanceplatform>
                         CapacityReservation -> Value Text
instancePlatform :: (Value Prelude.Text),
                         -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-capacityreservation.html#cfn-ec2-capacityreservation-instancetype>
                         CapacityReservation -> Value Text
instanceType :: (Value Prelude.Text),
                         -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-capacityreservation.html#cfn-ec2-capacityreservation-outpostarn>
                         CapacityReservation -> Maybe (Value Text)
outPostArn :: (Prelude.Maybe (Value Prelude.Text)),
                         -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-capacityreservation.html#cfn-ec2-capacityreservation-placementgrouparn>
                         CapacityReservation -> Maybe (Value Text)
placementGroupArn :: (Prelude.Maybe (Value Prelude.Text)),
                         -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-capacityreservation.html#cfn-ec2-capacityreservation-tagspecifications>
                         CapacityReservation -> Maybe [TagSpecificationProperty]
tagSpecifications :: (Prelude.Maybe [TagSpecificationProperty]),
                         -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-capacityreservation.html#cfn-ec2-capacityreservation-tenancy>
                         CapacityReservation -> Maybe (Value Text)
tenancy :: (Prelude.Maybe (Value Prelude.Text)),
                         -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-capacityreservation.html#cfn-ec2-capacityreservation-unusedreservationbillingownerid>
                         CapacityReservation -> Maybe (Value Text)
unusedReservationBillingOwnerId :: (Prelude.Maybe (Value Prelude.Text))}
  deriving stock (CapacityReservation -> CapacityReservation -> Bool
(CapacityReservation -> CapacityReservation -> Bool)
-> (CapacityReservation -> CapacityReservation -> Bool)
-> Eq CapacityReservation
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: CapacityReservation -> CapacityReservation -> Bool
== :: CapacityReservation -> CapacityReservation -> Bool
$c/= :: CapacityReservation -> CapacityReservation -> Bool
/= :: CapacityReservation -> CapacityReservation -> Bool
Prelude.Eq, Int -> CapacityReservation -> ShowS
[CapacityReservation] -> ShowS
CapacityReservation -> String
(Int -> CapacityReservation -> ShowS)
-> (CapacityReservation -> String)
-> ([CapacityReservation] -> ShowS)
-> Show CapacityReservation
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> CapacityReservation -> ShowS
showsPrec :: Int -> CapacityReservation -> ShowS
$cshow :: CapacityReservation -> String
show :: CapacityReservation -> String
$cshowList :: [CapacityReservation] -> ShowS
showList :: [CapacityReservation] -> ShowS
Prelude.Show)
mkCapacityReservation ::
  Value Prelude.Integer
  -> Value Prelude.Text -> Value Prelude.Text -> CapacityReservation
mkCapacityReservation :: Value Integer -> Value Text -> Value Text -> CapacityReservation
mkCapacityReservation Value Integer
instanceCount Value Text
instancePlatform Value Text
instanceType
  = CapacityReservation
      {haddock_workaround_ :: ()
haddock_workaround_ = (), instanceCount :: Value Integer
instanceCount = Value Integer
instanceCount,
       instancePlatform :: Value Text
instancePlatform = Value Text
instancePlatform, instanceType :: Value Text
instanceType = Value Text
instanceType,
       availabilityZone :: Maybe (Value Text)
availabilityZone = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
       availabilityZoneId :: Maybe (Value Text)
availabilityZoneId = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
       ebsOptimized :: Maybe (Value Bool)
ebsOptimized = Maybe (Value Bool)
forall a. Maybe a
Prelude.Nothing, endDate :: Maybe (Value Text)
endDate = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
       endDateType :: Maybe (Value Text)
endDateType = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing, ephemeralStorage :: Maybe (Value Bool)
ephemeralStorage = Maybe (Value Bool)
forall a. Maybe a
Prelude.Nothing,
       instanceMatchCriteria :: Maybe (Value Text)
instanceMatchCriteria = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
       outPostArn :: Maybe (Value Text)
outPostArn = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing, placementGroupArn :: Maybe (Value Text)
placementGroupArn = Maybe (Value Text)
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,
       unusedReservationBillingOwnerId :: Maybe (Value Text)
unusedReservationBillingOwnerId = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing}
instance ToResourceProperties CapacityReservation where
  toResourceProperties :: CapacityReservation -> ResourceProperties
toResourceProperties CapacityReservation {Maybe [TagSpecificationProperty]
Maybe (Value Bool)
Maybe (Value Text)
()
Value Integer
Value Text
haddock_workaround_ :: CapacityReservation -> ()
availabilityZone :: CapacityReservation -> Maybe (Value Text)
availabilityZoneId :: CapacityReservation -> Maybe (Value Text)
ebsOptimized :: CapacityReservation -> Maybe (Value Bool)
endDate :: CapacityReservation -> Maybe (Value Text)
endDateType :: CapacityReservation -> Maybe (Value Text)
ephemeralStorage :: CapacityReservation -> Maybe (Value Bool)
instanceCount :: CapacityReservation -> Value Integer
instanceMatchCriteria :: CapacityReservation -> Maybe (Value Text)
instancePlatform :: CapacityReservation -> Value Text
instanceType :: CapacityReservation -> Value Text
outPostArn :: CapacityReservation -> Maybe (Value Text)
placementGroupArn :: CapacityReservation -> Maybe (Value Text)
tagSpecifications :: CapacityReservation -> Maybe [TagSpecificationProperty]
tenancy :: CapacityReservation -> Maybe (Value Text)
unusedReservationBillingOwnerId :: CapacityReservation -> Maybe (Value Text)
haddock_workaround_ :: ()
availabilityZone :: Maybe (Value Text)
availabilityZoneId :: Maybe (Value Text)
ebsOptimized :: Maybe (Value Bool)
endDate :: Maybe (Value Text)
endDateType :: Maybe (Value Text)
ephemeralStorage :: Maybe (Value Bool)
instanceCount :: Value Integer
instanceMatchCriteria :: Maybe (Value Text)
instancePlatform :: Value Text
instanceType :: Value Text
outPostArn :: Maybe (Value Text)
placementGroupArn :: Maybe (Value Text)
tagSpecifications :: Maybe [TagSpecificationProperty]
tenancy :: Maybe (Value Text)
unusedReservationBillingOwnerId :: Maybe (Value Text)
..}
    = ResourceProperties
        {awsType :: Text
awsType = Text
"AWS::EC2::CapacityReservation",
         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
"InstanceCount" 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..= Value Integer
instanceCount,
                            Key
"InstancePlatform" 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
instancePlatform,
                            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
"AvailabilityZone" (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)
availabilityZone,
                               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
"AvailabilityZoneId" (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)
availabilityZoneId,
                               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
"EbsOptimized" (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)
ebsOptimized,
                               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
"EndDateType" (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)
endDateType,
                               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
"EphemeralStorage" (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)
ephemeralStorage,
                               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 -> 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
"OutPostArn" (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)
outPostArn,
                               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
"PlacementGroupArn" (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)
placementGroupArn,
                               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 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
"UnusedReservationBillingOwnerId"
                                 (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)
unusedReservationBillingOwnerId]))}
instance JSON.ToJSON CapacityReservation where
  toJSON :: CapacityReservation -> Value
toJSON CapacityReservation {Maybe [TagSpecificationProperty]
Maybe (Value Bool)
Maybe (Value Text)
()
Value Integer
Value Text
haddock_workaround_ :: CapacityReservation -> ()
availabilityZone :: CapacityReservation -> Maybe (Value Text)
availabilityZoneId :: CapacityReservation -> Maybe (Value Text)
ebsOptimized :: CapacityReservation -> Maybe (Value Bool)
endDate :: CapacityReservation -> Maybe (Value Text)
endDateType :: CapacityReservation -> Maybe (Value Text)
ephemeralStorage :: CapacityReservation -> Maybe (Value Bool)
instanceCount :: CapacityReservation -> Value Integer
instanceMatchCriteria :: CapacityReservation -> Maybe (Value Text)
instancePlatform :: CapacityReservation -> Value Text
instanceType :: CapacityReservation -> Value Text
outPostArn :: CapacityReservation -> Maybe (Value Text)
placementGroupArn :: CapacityReservation -> Maybe (Value Text)
tagSpecifications :: CapacityReservation -> Maybe [TagSpecificationProperty]
tenancy :: CapacityReservation -> Maybe (Value Text)
unusedReservationBillingOwnerId :: CapacityReservation -> Maybe (Value Text)
haddock_workaround_ :: ()
availabilityZone :: Maybe (Value Text)
availabilityZoneId :: Maybe (Value Text)
ebsOptimized :: Maybe (Value Bool)
endDate :: Maybe (Value Text)
endDateType :: Maybe (Value Text)
ephemeralStorage :: Maybe (Value Bool)
instanceCount :: Value Integer
instanceMatchCriteria :: Maybe (Value Text)
instancePlatform :: Value Text
instanceType :: Value Text
outPostArn :: Maybe (Value Text)
placementGroupArn :: Maybe (Value Text)
tagSpecifications :: Maybe [TagSpecificationProperty]
tenancy :: Maybe (Value Text)
unusedReservationBillingOwnerId :: Maybe (Value Text)
..}
    = [(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
"InstanceCount" 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..= Value Integer
instanceCount,
               Key
"InstancePlatform" 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
instancePlatform,
               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
"AvailabilityZone" (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)
availabilityZone,
                  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
"AvailabilityZoneId" (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)
availabilityZoneId,
                  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
"EbsOptimized" (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)
ebsOptimized,
                  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
"EndDateType" (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)
endDateType,
                  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
"EphemeralStorage" (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)
ephemeralStorage,
                  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 -> 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
"OutPostArn" (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)
outPostArn,
                  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
"PlacementGroupArn" (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)
placementGroupArn,
                  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 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
"UnusedReservationBillingOwnerId"
                    (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)
unusedReservationBillingOwnerId])))
instance Property "AvailabilityZone" CapacityReservation where
  type PropertyType "AvailabilityZone" CapacityReservation = Value Prelude.Text
  set :: PropertyType "AvailabilityZone" CapacityReservation
-> CapacityReservation -> CapacityReservation
set PropertyType "AvailabilityZone" CapacityReservation
newValue CapacityReservation {Maybe [TagSpecificationProperty]
Maybe (Value Bool)
Maybe (Value Text)
()
Value Integer
Value Text
haddock_workaround_ :: CapacityReservation -> ()
availabilityZone :: CapacityReservation -> Maybe (Value Text)
availabilityZoneId :: CapacityReservation -> Maybe (Value Text)
ebsOptimized :: CapacityReservation -> Maybe (Value Bool)
endDate :: CapacityReservation -> Maybe (Value Text)
endDateType :: CapacityReservation -> Maybe (Value Text)
ephemeralStorage :: CapacityReservation -> Maybe (Value Bool)
instanceCount :: CapacityReservation -> Value Integer
instanceMatchCriteria :: CapacityReservation -> Maybe (Value Text)
instancePlatform :: CapacityReservation -> Value Text
instanceType :: CapacityReservation -> Value Text
outPostArn :: CapacityReservation -> Maybe (Value Text)
placementGroupArn :: CapacityReservation -> Maybe (Value Text)
tagSpecifications :: CapacityReservation -> Maybe [TagSpecificationProperty]
tenancy :: CapacityReservation -> Maybe (Value Text)
unusedReservationBillingOwnerId :: CapacityReservation -> Maybe (Value Text)
haddock_workaround_ :: ()
availabilityZone :: Maybe (Value Text)
availabilityZoneId :: Maybe (Value Text)
ebsOptimized :: Maybe (Value Bool)
endDate :: Maybe (Value Text)
endDateType :: Maybe (Value Text)
ephemeralStorage :: Maybe (Value Bool)
instanceCount :: Value Integer
instanceMatchCriteria :: Maybe (Value Text)
instancePlatform :: Value Text
instanceType :: Value Text
outPostArn :: Maybe (Value Text)
placementGroupArn :: Maybe (Value Text)
tagSpecifications :: Maybe [TagSpecificationProperty]
tenancy :: Maybe (Value Text)
unusedReservationBillingOwnerId :: Maybe (Value Text)
..}
    = CapacityReservation
        {availabilityZone :: Maybe (Value Text)
availabilityZone = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "AvailabilityZone" CapacityReservation
Value Text
newValue, Maybe [TagSpecificationProperty]
Maybe (Value Bool)
Maybe (Value Text)
()
Value Integer
Value Text
haddock_workaround_ :: ()
availabilityZoneId :: Maybe (Value Text)
ebsOptimized :: Maybe (Value Bool)
endDate :: Maybe (Value Text)
endDateType :: Maybe (Value Text)
ephemeralStorage :: Maybe (Value Bool)
instanceCount :: Value Integer
instanceMatchCriteria :: Maybe (Value Text)
instancePlatform :: Value Text
instanceType :: Value Text
outPostArn :: Maybe (Value Text)
placementGroupArn :: Maybe (Value Text)
tagSpecifications :: Maybe [TagSpecificationProperty]
tenancy :: Maybe (Value Text)
unusedReservationBillingOwnerId :: Maybe (Value Text)
haddock_workaround_ :: ()
availabilityZoneId :: Maybe (Value Text)
ebsOptimized :: Maybe (Value Bool)
endDate :: Maybe (Value Text)
endDateType :: Maybe (Value Text)
ephemeralStorage :: Maybe (Value Bool)
instanceCount :: Value Integer
instanceMatchCriteria :: Maybe (Value Text)
instancePlatform :: Value Text
instanceType :: Value Text
outPostArn :: Maybe (Value Text)
placementGroupArn :: Maybe (Value Text)
tagSpecifications :: Maybe [TagSpecificationProperty]
tenancy :: Maybe (Value Text)
unusedReservationBillingOwnerId :: Maybe (Value Text)
..}
instance Property "AvailabilityZoneId" CapacityReservation where
  type PropertyType "AvailabilityZoneId" CapacityReservation = Value Prelude.Text
  set :: PropertyType "AvailabilityZoneId" CapacityReservation
-> CapacityReservation -> CapacityReservation
set PropertyType "AvailabilityZoneId" CapacityReservation
newValue CapacityReservation {Maybe [TagSpecificationProperty]
Maybe (Value Bool)
Maybe (Value Text)
()
Value Integer
Value Text
haddock_workaround_ :: CapacityReservation -> ()
availabilityZone :: CapacityReservation -> Maybe (Value Text)
availabilityZoneId :: CapacityReservation -> Maybe (Value Text)
ebsOptimized :: CapacityReservation -> Maybe (Value Bool)
endDate :: CapacityReservation -> Maybe (Value Text)
endDateType :: CapacityReservation -> Maybe (Value Text)
ephemeralStorage :: CapacityReservation -> Maybe (Value Bool)
instanceCount :: CapacityReservation -> Value Integer
instanceMatchCriteria :: CapacityReservation -> Maybe (Value Text)
instancePlatform :: CapacityReservation -> Value Text
instanceType :: CapacityReservation -> Value Text
outPostArn :: CapacityReservation -> Maybe (Value Text)
placementGroupArn :: CapacityReservation -> Maybe (Value Text)
tagSpecifications :: CapacityReservation -> Maybe [TagSpecificationProperty]
tenancy :: CapacityReservation -> Maybe (Value Text)
unusedReservationBillingOwnerId :: CapacityReservation -> Maybe (Value Text)
haddock_workaround_ :: ()
availabilityZone :: Maybe (Value Text)
availabilityZoneId :: Maybe (Value Text)
ebsOptimized :: Maybe (Value Bool)
endDate :: Maybe (Value Text)
endDateType :: Maybe (Value Text)
ephemeralStorage :: Maybe (Value Bool)
instanceCount :: Value Integer
instanceMatchCriteria :: Maybe (Value Text)
instancePlatform :: Value Text
instanceType :: Value Text
outPostArn :: Maybe (Value Text)
placementGroupArn :: Maybe (Value Text)
tagSpecifications :: Maybe [TagSpecificationProperty]
tenancy :: Maybe (Value Text)
unusedReservationBillingOwnerId :: Maybe (Value Text)
..}
    = CapacityReservation
        {availabilityZoneId :: Maybe (Value Text)
availabilityZoneId = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "AvailabilityZoneId" CapacityReservation
Value Text
newValue, Maybe [TagSpecificationProperty]
Maybe (Value Bool)
Maybe (Value Text)
()
Value Integer
Value Text
haddock_workaround_ :: ()
availabilityZone :: Maybe (Value Text)
ebsOptimized :: Maybe (Value Bool)
endDate :: Maybe (Value Text)
endDateType :: Maybe (Value Text)
ephemeralStorage :: Maybe (Value Bool)
instanceCount :: Value Integer
instanceMatchCriteria :: Maybe (Value Text)
instancePlatform :: Value Text
instanceType :: Value Text
outPostArn :: Maybe (Value Text)
placementGroupArn :: Maybe (Value Text)
tagSpecifications :: Maybe [TagSpecificationProperty]
tenancy :: Maybe (Value Text)
unusedReservationBillingOwnerId :: Maybe (Value Text)
haddock_workaround_ :: ()
availabilityZone :: Maybe (Value Text)
ebsOptimized :: Maybe (Value Bool)
endDate :: Maybe (Value Text)
endDateType :: Maybe (Value Text)
ephemeralStorage :: Maybe (Value Bool)
instanceCount :: Value Integer
instanceMatchCriteria :: Maybe (Value Text)
instancePlatform :: Value Text
instanceType :: Value Text
outPostArn :: Maybe (Value Text)
placementGroupArn :: Maybe (Value Text)
tagSpecifications :: Maybe [TagSpecificationProperty]
tenancy :: Maybe (Value Text)
unusedReservationBillingOwnerId :: Maybe (Value Text)
..}
instance Property "EbsOptimized" CapacityReservation where
  type PropertyType "EbsOptimized" CapacityReservation = Value Prelude.Bool
  set :: PropertyType "EbsOptimized" CapacityReservation
-> CapacityReservation -> CapacityReservation
set PropertyType "EbsOptimized" CapacityReservation
newValue CapacityReservation {Maybe [TagSpecificationProperty]
Maybe (Value Bool)
Maybe (Value Text)
()
Value Integer
Value Text
haddock_workaround_ :: CapacityReservation -> ()
availabilityZone :: CapacityReservation -> Maybe (Value Text)
availabilityZoneId :: CapacityReservation -> Maybe (Value Text)
ebsOptimized :: CapacityReservation -> Maybe (Value Bool)
endDate :: CapacityReservation -> Maybe (Value Text)
endDateType :: CapacityReservation -> Maybe (Value Text)
ephemeralStorage :: CapacityReservation -> Maybe (Value Bool)
instanceCount :: CapacityReservation -> Value Integer
instanceMatchCriteria :: CapacityReservation -> Maybe (Value Text)
instancePlatform :: CapacityReservation -> Value Text
instanceType :: CapacityReservation -> Value Text
outPostArn :: CapacityReservation -> Maybe (Value Text)
placementGroupArn :: CapacityReservation -> Maybe (Value Text)
tagSpecifications :: CapacityReservation -> Maybe [TagSpecificationProperty]
tenancy :: CapacityReservation -> Maybe (Value Text)
unusedReservationBillingOwnerId :: CapacityReservation -> Maybe (Value Text)
haddock_workaround_ :: ()
availabilityZone :: Maybe (Value Text)
availabilityZoneId :: Maybe (Value Text)
ebsOptimized :: Maybe (Value Bool)
endDate :: Maybe (Value Text)
endDateType :: Maybe (Value Text)
ephemeralStorage :: Maybe (Value Bool)
instanceCount :: Value Integer
instanceMatchCriteria :: Maybe (Value Text)
instancePlatform :: Value Text
instanceType :: Value Text
outPostArn :: Maybe (Value Text)
placementGroupArn :: Maybe (Value Text)
tagSpecifications :: Maybe [TagSpecificationProperty]
tenancy :: Maybe (Value Text)
unusedReservationBillingOwnerId :: Maybe (Value Text)
..}
    = CapacityReservation {ebsOptimized :: Maybe (Value Bool)
ebsOptimized = Value Bool -> Maybe (Value Bool)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "EbsOptimized" CapacityReservation
Value Bool
newValue, Maybe [TagSpecificationProperty]
Maybe (Value Bool)
Maybe (Value Text)
()
Value Integer
Value Text
haddock_workaround_ :: ()
availabilityZone :: Maybe (Value Text)
availabilityZoneId :: Maybe (Value Text)
endDate :: Maybe (Value Text)
endDateType :: Maybe (Value Text)
ephemeralStorage :: Maybe (Value Bool)
instanceCount :: Value Integer
instanceMatchCriteria :: Maybe (Value Text)
instancePlatform :: Value Text
instanceType :: Value Text
outPostArn :: Maybe (Value Text)
placementGroupArn :: Maybe (Value Text)
tagSpecifications :: Maybe [TagSpecificationProperty]
tenancy :: Maybe (Value Text)
unusedReservationBillingOwnerId :: Maybe (Value Text)
haddock_workaround_ :: ()
availabilityZone :: Maybe (Value Text)
availabilityZoneId :: Maybe (Value Text)
endDate :: Maybe (Value Text)
endDateType :: Maybe (Value Text)
ephemeralStorage :: Maybe (Value Bool)
instanceCount :: Value Integer
instanceMatchCriteria :: Maybe (Value Text)
instancePlatform :: Value Text
instanceType :: Value Text
outPostArn :: Maybe (Value Text)
placementGroupArn :: Maybe (Value Text)
tagSpecifications :: Maybe [TagSpecificationProperty]
tenancy :: Maybe (Value Text)
unusedReservationBillingOwnerId :: Maybe (Value Text)
..}
instance Property "EndDate" CapacityReservation where
  type PropertyType "EndDate" CapacityReservation = Value Prelude.Text
  set :: PropertyType "EndDate" CapacityReservation
-> CapacityReservation -> CapacityReservation
set PropertyType "EndDate" CapacityReservation
newValue CapacityReservation {Maybe [TagSpecificationProperty]
Maybe (Value Bool)
Maybe (Value Text)
()
Value Integer
Value Text
haddock_workaround_ :: CapacityReservation -> ()
availabilityZone :: CapacityReservation -> Maybe (Value Text)
availabilityZoneId :: CapacityReservation -> Maybe (Value Text)
ebsOptimized :: CapacityReservation -> Maybe (Value Bool)
endDate :: CapacityReservation -> Maybe (Value Text)
endDateType :: CapacityReservation -> Maybe (Value Text)
ephemeralStorage :: CapacityReservation -> Maybe (Value Bool)
instanceCount :: CapacityReservation -> Value Integer
instanceMatchCriteria :: CapacityReservation -> Maybe (Value Text)
instancePlatform :: CapacityReservation -> Value Text
instanceType :: CapacityReservation -> Value Text
outPostArn :: CapacityReservation -> Maybe (Value Text)
placementGroupArn :: CapacityReservation -> Maybe (Value Text)
tagSpecifications :: CapacityReservation -> Maybe [TagSpecificationProperty]
tenancy :: CapacityReservation -> Maybe (Value Text)
unusedReservationBillingOwnerId :: CapacityReservation -> Maybe (Value Text)
haddock_workaround_ :: ()
availabilityZone :: Maybe (Value Text)
availabilityZoneId :: Maybe (Value Text)
ebsOptimized :: Maybe (Value Bool)
endDate :: Maybe (Value Text)
endDateType :: Maybe (Value Text)
ephemeralStorage :: Maybe (Value Bool)
instanceCount :: Value Integer
instanceMatchCriteria :: Maybe (Value Text)
instancePlatform :: Value Text
instanceType :: Value Text
outPostArn :: Maybe (Value Text)
placementGroupArn :: Maybe (Value Text)
tagSpecifications :: Maybe [TagSpecificationProperty]
tenancy :: Maybe (Value Text)
unusedReservationBillingOwnerId :: Maybe (Value Text)
..}
    = CapacityReservation {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" CapacityReservation
Value Text
newValue, Maybe [TagSpecificationProperty]
Maybe (Value Bool)
Maybe (Value Text)
()
Value Integer
Value Text
haddock_workaround_ :: ()
availabilityZone :: Maybe (Value Text)
availabilityZoneId :: Maybe (Value Text)
ebsOptimized :: Maybe (Value Bool)
endDateType :: Maybe (Value Text)
ephemeralStorage :: Maybe (Value Bool)
instanceCount :: Value Integer
instanceMatchCriteria :: Maybe (Value Text)
instancePlatform :: Value Text
instanceType :: Value Text
outPostArn :: Maybe (Value Text)
placementGroupArn :: Maybe (Value Text)
tagSpecifications :: Maybe [TagSpecificationProperty]
tenancy :: Maybe (Value Text)
unusedReservationBillingOwnerId :: Maybe (Value Text)
haddock_workaround_ :: ()
availabilityZone :: Maybe (Value Text)
availabilityZoneId :: Maybe (Value Text)
ebsOptimized :: Maybe (Value Bool)
endDateType :: Maybe (Value Text)
ephemeralStorage :: Maybe (Value Bool)
instanceCount :: Value Integer
instanceMatchCriteria :: Maybe (Value Text)
instancePlatform :: Value Text
instanceType :: Value Text
outPostArn :: Maybe (Value Text)
placementGroupArn :: Maybe (Value Text)
tagSpecifications :: Maybe [TagSpecificationProperty]
tenancy :: Maybe (Value Text)
unusedReservationBillingOwnerId :: Maybe (Value Text)
..}
instance Property "EndDateType" CapacityReservation where
  type PropertyType "EndDateType" CapacityReservation = Value Prelude.Text
  set :: PropertyType "EndDateType" CapacityReservation
-> CapacityReservation -> CapacityReservation
set PropertyType "EndDateType" CapacityReservation
newValue CapacityReservation {Maybe [TagSpecificationProperty]
Maybe (Value Bool)
Maybe (Value Text)
()
Value Integer
Value Text
haddock_workaround_ :: CapacityReservation -> ()
availabilityZone :: CapacityReservation -> Maybe (Value Text)
availabilityZoneId :: CapacityReservation -> Maybe (Value Text)
ebsOptimized :: CapacityReservation -> Maybe (Value Bool)
endDate :: CapacityReservation -> Maybe (Value Text)
endDateType :: CapacityReservation -> Maybe (Value Text)
ephemeralStorage :: CapacityReservation -> Maybe (Value Bool)
instanceCount :: CapacityReservation -> Value Integer
instanceMatchCriteria :: CapacityReservation -> Maybe (Value Text)
instancePlatform :: CapacityReservation -> Value Text
instanceType :: CapacityReservation -> Value Text
outPostArn :: CapacityReservation -> Maybe (Value Text)
placementGroupArn :: CapacityReservation -> Maybe (Value Text)
tagSpecifications :: CapacityReservation -> Maybe [TagSpecificationProperty]
tenancy :: CapacityReservation -> Maybe (Value Text)
unusedReservationBillingOwnerId :: CapacityReservation -> Maybe (Value Text)
haddock_workaround_ :: ()
availabilityZone :: Maybe (Value Text)
availabilityZoneId :: Maybe (Value Text)
ebsOptimized :: Maybe (Value Bool)
endDate :: Maybe (Value Text)
endDateType :: Maybe (Value Text)
ephemeralStorage :: Maybe (Value Bool)
instanceCount :: Value Integer
instanceMatchCriteria :: Maybe (Value Text)
instancePlatform :: Value Text
instanceType :: Value Text
outPostArn :: Maybe (Value Text)
placementGroupArn :: Maybe (Value Text)
tagSpecifications :: Maybe [TagSpecificationProperty]
tenancy :: Maybe (Value Text)
unusedReservationBillingOwnerId :: Maybe (Value Text)
..}
    = CapacityReservation {endDateType :: Maybe (Value Text)
endDateType = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "EndDateType" CapacityReservation
Value Text
newValue, Maybe [TagSpecificationProperty]
Maybe (Value Bool)
Maybe (Value Text)
()
Value Integer
Value Text
haddock_workaround_ :: ()
availabilityZone :: Maybe (Value Text)
availabilityZoneId :: Maybe (Value Text)
ebsOptimized :: Maybe (Value Bool)
endDate :: Maybe (Value Text)
ephemeralStorage :: Maybe (Value Bool)
instanceCount :: Value Integer
instanceMatchCriteria :: Maybe (Value Text)
instancePlatform :: Value Text
instanceType :: Value Text
outPostArn :: Maybe (Value Text)
placementGroupArn :: Maybe (Value Text)
tagSpecifications :: Maybe [TagSpecificationProperty]
tenancy :: Maybe (Value Text)
unusedReservationBillingOwnerId :: Maybe (Value Text)
haddock_workaround_ :: ()
availabilityZone :: Maybe (Value Text)
availabilityZoneId :: Maybe (Value Text)
ebsOptimized :: Maybe (Value Bool)
endDate :: Maybe (Value Text)
ephemeralStorage :: Maybe (Value Bool)
instanceCount :: Value Integer
instanceMatchCriteria :: Maybe (Value Text)
instancePlatform :: Value Text
instanceType :: Value Text
outPostArn :: Maybe (Value Text)
placementGroupArn :: Maybe (Value Text)
tagSpecifications :: Maybe [TagSpecificationProperty]
tenancy :: Maybe (Value Text)
unusedReservationBillingOwnerId :: Maybe (Value Text)
..}
instance Property "EphemeralStorage" CapacityReservation where
  type PropertyType "EphemeralStorage" CapacityReservation = Value Prelude.Bool
  set :: PropertyType "EphemeralStorage" CapacityReservation
-> CapacityReservation -> CapacityReservation
set PropertyType "EphemeralStorage" CapacityReservation
newValue CapacityReservation {Maybe [TagSpecificationProperty]
Maybe (Value Bool)
Maybe (Value Text)
()
Value Integer
Value Text
haddock_workaround_ :: CapacityReservation -> ()
availabilityZone :: CapacityReservation -> Maybe (Value Text)
availabilityZoneId :: CapacityReservation -> Maybe (Value Text)
ebsOptimized :: CapacityReservation -> Maybe (Value Bool)
endDate :: CapacityReservation -> Maybe (Value Text)
endDateType :: CapacityReservation -> Maybe (Value Text)
ephemeralStorage :: CapacityReservation -> Maybe (Value Bool)
instanceCount :: CapacityReservation -> Value Integer
instanceMatchCriteria :: CapacityReservation -> Maybe (Value Text)
instancePlatform :: CapacityReservation -> Value Text
instanceType :: CapacityReservation -> Value Text
outPostArn :: CapacityReservation -> Maybe (Value Text)
placementGroupArn :: CapacityReservation -> Maybe (Value Text)
tagSpecifications :: CapacityReservation -> Maybe [TagSpecificationProperty]
tenancy :: CapacityReservation -> Maybe (Value Text)
unusedReservationBillingOwnerId :: CapacityReservation -> Maybe (Value Text)
haddock_workaround_ :: ()
availabilityZone :: Maybe (Value Text)
availabilityZoneId :: Maybe (Value Text)
ebsOptimized :: Maybe (Value Bool)
endDate :: Maybe (Value Text)
endDateType :: Maybe (Value Text)
ephemeralStorage :: Maybe (Value Bool)
instanceCount :: Value Integer
instanceMatchCriteria :: Maybe (Value Text)
instancePlatform :: Value Text
instanceType :: Value Text
outPostArn :: Maybe (Value Text)
placementGroupArn :: Maybe (Value Text)
tagSpecifications :: Maybe [TagSpecificationProperty]
tenancy :: Maybe (Value Text)
unusedReservationBillingOwnerId :: Maybe (Value Text)
..}
    = CapacityReservation
        {ephemeralStorage :: Maybe (Value Bool)
ephemeralStorage = Value Bool -> Maybe (Value Bool)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "EphemeralStorage" CapacityReservation
Value Bool
newValue, Maybe [TagSpecificationProperty]
Maybe (Value Bool)
Maybe (Value Text)
()
Value Integer
Value Text
haddock_workaround_ :: ()
availabilityZone :: Maybe (Value Text)
availabilityZoneId :: Maybe (Value Text)
ebsOptimized :: Maybe (Value Bool)
endDate :: Maybe (Value Text)
endDateType :: Maybe (Value Text)
instanceCount :: Value Integer
instanceMatchCriteria :: Maybe (Value Text)
instancePlatform :: Value Text
instanceType :: Value Text
outPostArn :: Maybe (Value Text)
placementGroupArn :: Maybe (Value Text)
tagSpecifications :: Maybe [TagSpecificationProperty]
tenancy :: Maybe (Value Text)
unusedReservationBillingOwnerId :: Maybe (Value Text)
haddock_workaround_ :: ()
availabilityZone :: Maybe (Value Text)
availabilityZoneId :: Maybe (Value Text)
ebsOptimized :: Maybe (Value Bool)
endDate :: Maybe (Value Text)
endDateType :: Maybe (Value Text)
instanceCount :: Value Integer
instanceMatchCriteria :: Maybe (Value Text)
instancePlatform :: Value Text
instanceType :: Value Text
outPostArn :: Maybe (Value Text)
placementGroupArn :: Maybe (Value Text)
tagSpecifications :: Maybe [TagSpecificationProperty]
tenancy :: Maybe (Value Text)
unusedReservationBillingOwnerId :: Maybe (Value Text)
..}
instance Property "InstanceCount" CapacityReservation where
  type PropertyType "InstanceCount" CapacityReservation = Value Prelude.Integer
  set :: PropertyType "InstanceCount" CapacityReservation
-> CapacityReservation -> CapacityReservation
set PropertyType "InstanceCount" CapacityReservation
newValue CapacityReservation {Maybe [TagSpecificationProperty]
Maybe (Value Bool)
Maybe (Value Text)
()
Value Integer
Value Text
haddock_workaround_ :: CapacityReservation -> ()
availabilityZone :: CapacityReservation -> Maybe (Value Text)
availabilityZoneId :: CapacityReservation -> Maybe (Value Text)
ebsOptimized :: CapacityReservation -> Maybe (Value Bool)
endDate :: CapacityReservation -> Maybe (Value Text)
endDateType :: CapacityReservation -> Maybe (Value Text)
ephemeralStorage :: CapacityReservation -> Maybe (Value Bool)
instanceCount :: CapacityReservation -> Value Integer
instanceMatchCriteria :: CapacityReservation -> Maybe (Value Text)
instancePlatform :: CapacityReservation -> Value Text
instanceType :: CapacityReservation -> Value Text
outPostArn :: CapacityReservation -> Maybe (Value Text)
placementGroupArn :: CapacityReservation -> Maybe (Value Text)
tagSpecifications :: CapacityReservation -> Maybe [TagSpecificationProperty]
tenancy :: CapacityReservation -> Maybe (Value Text)
unusedReservationBillingOwnerId :: CapacityReservation -> Maybe (Value Text)
haddock_workaround_ :: ()
availabilityZone :: Maybe (Value Text)
availabilityZoneId :: Maybe (Value Text)
ebsOptimized :: Maybe (Value Bool)
endDate :: Maybe (Value Text)
endDateType :: Maybe (Value Text)
ephemeralStorage :: Maybe (Value Bool)
instanceCount :: Value Integer
instanceMatchCriteria :: Maybe (Value Text)
instancePlatform :: Value Text
instanceType :: Value Text
outPostArn :: Maybe (Value Text)
placementGroupArn :: Maybe (Value Text)
tagSpecifications :: Maybe [TagSpecificationProperty]
tenancy :: Maybe (Value Text)
unusedReservationBillingOwnerId :: Maybe (Value Text)
..}
    = CapacityReservation {instanceCount :: Value Integer
instanceCount = PropertyType "InstanceCount" CapacityReservation
Value Integer
newValue, Maybe [TagSpecificationProperty]
Maybe (Value Bool)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ()
availabilityZone :: Maybe (Value Text)
availabilityZoneId :: Maybe (Value Text)
ebsOptimized :: Maybe (Value Bool)
endDate :: Maybe (Value Text)
endDateType :: Maybe (Value Text)
ephemeralStorage :: Maybe (Value Bool)
instanceMatchCriteria :: Maybe (Value Text)
instancePlatform :: Value Text
instanceType :: Value Text
outPostArn :: Maybe (Value Text)
placementGroupArn :: Maybe (Value Text)
tagSpecifications :: Maybe [TagSpecificationProperty]
tenancy :: Maybe (Value Text)
unusedReservationBillingOwnerId :: Maybe (Value Text)
haddock_workaround_ :: ()
availabilityZone :: Maybe (Value Text)
availabilityZoneId :: Maybe (Value Text)
ebsOptimized :: Maybe (Value Bool)
endDate :: Maybe (Value Text)
endDateType :: Maybe (Value Text)
ephemeralStorage :: Maybe (Value Bool)
instanceMatchCriteria :: Maybe (Value Text)
instancePlatform :: Value Text
instanceType :: Value Text
outPostArn :: Maybe (Value Text)
placementGroupArn :: Maybe (Value Text)
tagSpecifications :: Maybe [TagSpecificationProperty]
tenancy :: Maybe (Value Text)
unusedReservationBillingOwnerId :: Maybe (Value Text)
..}
instance Property "InstanceMatchCriteria" CapacityReservation where
  type PropertyType "InstanceMatchCriteria" CapacityReservation = Value Prelude.Text
  set :: PropertyType "InstanceMatchCriteria" CapacityReservation
-> CapacityReservation -> CapacityReservation
set PropertyType "InstanceMatchCriteria" CapacityReservation
newValue CapacityReservation {Maybe [TagSpecificationProperty]
Maybe (Value Bool)
Maybe (Value Text)
()
Value Integer
Value Text
haddock_workaround_ :: CapacityReservation -> ()
availabilityZone :: CapacityReservation -> Maybe (Value Text)
availabilityZoneId :: CapacityReservation -> Maybe (Value Text)
ebsOptimized :: CapacityReservation -> Maybe (Value Bool)
endDate :: CapacityReservation -> Maybe (Value Text)
endDateType :: CapacityReservation -> Maybe (Value Text)
ephemeralStorage :: CapacityReservation -> Maybe (Value Bool)
instanceCount :: CapacityReservation -> Value Integer
instanceMatchCriteria :: CapacityReservation -> Maybe (Value Text)
instancePlatform :: CapacityReservation -> Value Text
instanceType :: CapacityReservation -> Value Text
outPostArn :: CapacityReservation -> Maybe (Value Text)
placementGroupArn :: CapacityReservation -> Maybe (Value Text)
tagSpecifications :: CapacityReservation -> Maybe [TagSpecificationProperty]
tenancy :: CapacityReservation -> Maybe (Value Text)
unusedReservationBillingOwnerId :: CapacityReservation -> Maybe (Value Text)
haddock_workaround_ :: ()
availabilityZone :: Maybe (Value Text)
availabilityZoneId :: Maybe (Value Text)
ebsOptimized :: Maybe (Value Bool)
endDate :: Maybe (Value Text)
endDateType :: Maybe (Value Text)
ephemeralStorage :: Maybe (Value Bool)
instanceCount :: Value Integer
instanceMatchCriteria :: Maybe (Value Text)
instancePlatform :: Value Text
instanceType :: Value Text
outPostArn :: Maybe (Value Text)
placementGroupArn :: Maybe (Value Text)
tagSpecifications :: Maybe [TagSpecificationProperty]
tenancy :: Maybe (Value Text)
unusedReservationBillingOwnerId :: Maybe (Value Text)
..}
    = CapacityReservation
        {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" CapacityReservation
Value Text
newValue, Maybe [TagSpecificationProperty]
Maybe (Value Bool)
Maybe (Value Text)
()
Value Integer
Value Text
haddock_workaround_ :: ()
availabilityZone :: Maybe (Value Text)
availabilityZoneId :: Maybe (Value Text)
ebsOptimized :: Maybe (Value Bool)
endDate :: Maybe (Value Text)
endDateType :: Maybe (Value Text)
ephemeralStorage :: Maybe (Value Bool)
instanceCount :: Value Integer
instancePlatform :: Value Text
instanceType :: Value Text
outPostArn :: Maybe (Value Text)
placementGroupArn :: Maybe (Value Text)
tagSpecifications :: Maybe [TagSpecificationProperty]
tenancy :: Maybe (Value Text)
unusedReservationBillingOwnerId :: Maybe (Value Text)
haddock_workaround_ :: ()
availabilityZone :: Maybe (Value Text)
availabilityZoneId :: Maybe (Value Text)
ebsOptimized :: Maybe (Value Bool)
endDate :: Maybe (Value Text)
endDateType :: Maybe (Value Text)
ephemeralStorage :: Maybe (Value Bool)
instanceCount :: Value Integer
instancePlatform :: Value Text
instanceType :: Value Text
outPostArn :: Maybe (Value Text)
placementGroupArn :: Maybe (Value Text)
tagSpecifications :: Maybe [TagSpecificationProperty]
tenancy :: Maybe (Value Text)
unusedReservationBillingOwnerId :: Maybe (Value Text)
..}
instance Property "InstancePlatform" CapacityReservation where
  type PropertyType "InstancePlatform" CapacityReservation = Value Prelude.Text
  set :: PropertyType "InstancePlatform" CapacityReservation
-> CapacityReservation -> CapacityReservation
set PropertyType "InstancePlatform" CapacityReservation
newValue CapacityReservation {Maybe [TagSpecificationProperty]
Maybe (Value Bool)
Maybe (Value Text)
()
Value Integer
Value Text
haddock_workaround_ :: CapacityReservation -> ()
availabilityZone :: CapacityReservation -> Maybe (Value Text)
availabilityZoneId :: CapacityReservation -> Maybe (Value Text)
ebsOptimized :: CapacityReservation -> Maybe (Value Bool)
endDate :: CapacityReservation -> Maybe (Value Text)
endDateType :: CapacityReservation -> Maybe (Value Text)
ephemeralStorage :: CapacityReservation -> Maybe (Value Bool)
instanceCount :: CapacityReservation -> Value Integer
instanceMatchCriteria :: CapacityReservation -> Maybe (Value Text)
instancePlatform :: CapacityReservation -> Value Text
instanceType :: CapacityReservation -> Value Text
outPostArn :: CapacityReservation -> Maybe (Value Text)
placementGroupArn :: CapacityReservation -> Maybe (Value Text)
tagSpecifications :: CapacityReservation -> Maybe [TagSpecificationProperty]
tenancy :: CapacityReservation -> Maybe (Value Text)
unusedReservationBillingOwnerId :: CapacityReservation -> Maybe (Value Text)
haddock_workaround_ :: ()
availabilityZone :: Maybe (Value Text)
availabilityZoneId :: Maybe (Value Text)
ebsOptimized :: Maybe (Value Bool)
endDate :: Maybe (Value Text)
endDateType :: Maybe (Value Text)
ephemeralStorage :: Maybe (Value Bool)
instanceCount :: Value Integer
instanceMatchCriteria :: Maybe (Value Text)
instancePlatform :: Value Text
instanceType :: Value Text
outPostArn :: Maybe (Value Text)
placementGroupArn :: Maybe (Value Text)
tagSpecifications :: Maybe [TagSpecificationProperty]
tenancy :: Maybe (Value Text)
unusedReservationBillingOwnerId :: Maybe (Value Text)
..}
    = CapacityReservation {instancePlatform :: Value Text
instancePlatform = PropertyType "InstancePlatform" CapacityReservation
Value Text
newValue, Maybe [TagSpecificationProperty]
Maybe (Value Bool)
Maybe (Value Text)
()
Value Integer
Value Text
haddock_workaround_ :: ()
availabilityZone :: Maybe (Value Text)
availabilityZoneId :: Maybe (Value Text)
ebsOptimized :: Maybe (Value Bool)
endDate :: Maybe (Value Text)
endDateType :: Maybe (Value Text)
ephemeralStorage :: Maybe (Value Bool)
instanceCount :: Value Integer
instanceMatchCriteria :: Maybe (Value Text)
instanceType :: Value Text
outPostArn :: Maybe (Value Text)
placementGroupArn :: Maybe (Value Text)
tagSpecifications :: Maybe [TagSpecificationProperty]
tenancy :: Maybe (Value Text)
unusedReservationBillingOwnerId :: Maybe (Value Text)
haddock_workaround_ :: ()
availabilityZone :: Maybe (Value Text)
availabilityZoneId :: Maybe (Value Text)
ebsOptimized :: Maybe (Value Bool)
endDate :: Maybe (Value Text)
endDateType :: Maybe (Value Text)
ephemeralStorage :: Maybe (Value Bool)
instanceCount :: Value Integer
instanceMatchCriteria :: Maybe (Value Text)
instanceType :: Value Text
outPostArn :: Maybe (Value Text)
placementGroupArn :: Maybe (Value Text)
tagSpecifications :: Maybe [TagSpecificationProperty]
tenancy :: Maybe (Value Text)
unusedReservationBillingOwnerId :: Maybe (Value Text)
..}
instance Property "InstanceType" CapacityReservation where
  type PropertyType "InstanceType" CapacityReservation = Value Prelude.Text
  set :: PropertyType "InstanceType" CapacityReservation
-> CapacityReservation -> CapacityReservation
set PropertyType "InstanceType" CapacityReservation
newValue CapacityReservation {Maybe [TagSpecificationProperty]
Maybe (Value Bool)
Maybe (Value Text)
()
Value Integer
Value Text
haddock_workaround_ :: CapacityReservation -> ()
availabilityZone :: CapacityReservation -> Maybe (Value Text)
availabilityZoneId :: CapacityReservation -> Maybe (Value Text)
ebsOptimized :: CapacityReservation -> Maybe (Value Bool)
endDate :: CapacityReservation -> Maybe (Value Text)
endDateType :: CapacityReservation -> Maybe (Value Text)
ephemeralStorage :: CapacityReservation -> Maybe (Value Bool)
instanceCount :: CapacityReservation -> Value Integer
instanceMatchCriteria :: CapacityReservation -> Maybe (Value Text)
instancePlatform :: CapacityReservation -> Value Text
instanceType :: CapacityReservation -> Value Text
outPostArn :: CapacityReservation -> Maybe (Value Text)
placementGroupArn :: CapacityReservation -> Maybe (Value Text)
tagSpecifications :: CapacityReservation -> Maybe [TagSpecificationProperty]
tenancy :: CapacityReservation -> Maybe (Value Text)
unusedReservationBillingOwnerId :: CapacityReservation -> Maybe (Value Text)
haddock_workaround_ :: ()
availabilityZone :: Maybe (Value Text)
availabilityZoneId :: Maybe (Value Text)
ebsOptimized :: Maybe (Value Bool)
endDate :: Maybe (Value Text)
endDateType :: Maybe (Value Text)
ephemeralStorage :: Maybe (Value Bool)
instanceCount :: Value Integer
instanceMatchCriteria :: Maybe (Value Text)
instancePlatform :: Value Text
instanceType :: Value Text
outPostArn :: Maybe (Value Text)
placementGroupArn :: Maybe (Value Text)
tagSpecifications :: Maybe [TagSpecificationProperty]
tenancy :: Maybe (Value Text)
unusedReservationBillingOwnerId :: Maybe (Value Text)
..}
    = CapacityReservation {instanceType :: Value Text
instanceType = PropertyType "InstanceType" CapacityReservation
Value Text
newValue, Maybe [TagSpecificationProperty]
Maybe (Value Bool)
Maybe (Value Text)
()
Value Integer
Value Text
haddock_workaround_ :: ()
availabilityZone :: Maybe (Value Text)
availabilityZoneId :: Maybe (Value Text)
ebsOptimized :: Maybe (Value Bool)
endDate :: Maybe (Value Text)
endDateType :: Maybe (Value Text)
ephemeralStorage :: Maybe (Value Bool)
instanceCount :: Value Integer
instanceMatchCriteria :: Maybe (Value Text)
instancePlatform :: Value Text
outPostArn :: Maybe (Value Text)
placementGroupArn :: Maybe (Value Text)
tagSpecifications :: Maybe [TagSpecificationProperty]
tenancy :: Maybe (Value Text)
unusedReservationBillingOwnerId :: Maybe (Value Text)
haddock_workaround_ :: ()
availabilityZone :: Maybe (Value Text)
availabilityZoneId :: Maybe (Value Text)
ebsOptimized :: Maybe (Value Bool)
endDate :: Maybe (Value Text)
endDateType :: Maybe (Value Text)
ephemeralStorage :: Maybe (Value Bool)
instanceCount :: Value Integer
instanceMatchCriteria :: Maybe (Value Text)
instancePlatform :: Value Text
outPostArn :: Maybe (Value Text)
placementGroupArn :: Maybe (Value Text)
tagSpecifications :: Maybe [TagSpecificationProperty]
tenancy :: Maybe (Value Text)
unusedReservationBillingOwnerId :: Maybe (Value Text)
..}
instance Property "OutPostArn" CapacityReservation where
  type PropertyType "OutPostArn" CapacityReservation = Value Prelude.Text
  set :: PropertyType "OutPostArn" CapacityReservation
-> CapacityReservation -> CapacityReservation
set PropertyType "OutPostArn" CapacityReservation
newValue CapacityReservation {Maybe [TagSpecificationProperty]
Maybe (Value Bool)
Maybe (Value Text)
()
Value Integer
Value Text
haddock_workaround_ :: CapacityReservation -> ()
availabilityZone :: CapacityReservation -> Maybe (Value Text)
availabilityZoneId :: CapacityReservation -> Maybe (Value Text)
ebsOptimized :: CapacityReservation -> Maybe (Value Bool)
endDate :: CapacityReservation -> Maybe (Value Text)
endDateType :: CapacityReservation -> Maybe (Value Text)
ephemeralStorage :: CapacityReservation -> Maybe (Value Bool)
instanceCount :: CapacityReservation -> Value Integer
instanceMatchCriteria :: CapacityReservation -> Maybe (Value Text)
instancePlatform :: CapacityReservation -> Value Text
instanceType :: CapacityReservation -> Value Text
outPostArn :: CapacityReservation -> Maybe (Value Text)
placementGroupArn :: CapacityReservation -> Maybe (Value Text)
tagSpecifications :: CapacityReservation -> Maybe [TagSpecificationProperty]
tenancy :: CapacityReservation -> Maybe (Value Text)
unusedReservationBillingOwnerId :: CapacityReservation -> Maybe (Value Text)
haddock_workaround_ :: ()
availabilityZone :: Maybe (Value Text)
availabilityZoneId :: Maybe (Value Text)
ebsOptimized :: Maybe (Value Bool)
endDate :: Maybe (Value Text)
endDateType :: Maybe (Value Text)
ephemeralStorage :: Maybe (Value Bool)
instanceCount :: Value Integer
instanceMatchCriteria :: Maybe (Value Text)
instancePlatform :: Value Text
instanceType :: Value Text
outPostArn :: Maybe (Value Text)
placementGroupArn :: Maybe (Value Text)
tagSpecifications :: Maybe [TagSpecificationProperty]
tenancy :: Maybe (Value Text)
unusedReservationBillingOwnerId :: Maybe (Value Text)
..}
    = CapacityReservation {outPostArn :: Maybe (Value Text)
outPostArn = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "OutPostArn" CapacityReservation
Value Text
newValue, Maybe [TagSpecificationProperty]
Maybe (Value Bool)
Maybe (Value Text)
()
Value Integer
Value Text
haddock_workaround_ :: ()
availabilityZone :: Maybe (Value Text)
availabilityZoneId :: Maybe (Value Text)
ebsOptimized :: Maybe (Value Bool)
endDate :: Maybe (Value Text)
endDateType :: Maybe (Value Text)
ephemeralStorage :: Maybe (Value Bool)
instanceCount :: Value Integer
instanceMatchCriteria :: Maybe (Value Text)
instancePlatform :: Value Text
instanceType :: Value Text
placementGroupArn :: Maybe (Value Text)
tagSpecifications :: Maybe [TagSpecificationProperty]
tenancy :: Maybe (Value Text)
unusedReservationBillingOwnerId :: Maybe (Value Text)
haddock_workaround_ :: ()
availabilityZone :: Maybe (Value Text)
availabilityZoneId :: Maybe (Value Text)
ebsOptimized :: Maybe (Value Bool)
endDate :: Maybe (Value Text)
endDateType :: Maybe (Value Text)
ephemeralStorage :: Maybe (Value Bool)
instanceCount :: Value Integer
instanceMatchCriteria :: Maybe (Value Text)
instancePlatform :: Value Text
instanceType :: Value Text
placementGroupArn :: Maybe (Value Text)
tagSpecifications :: Maybe [TagSpecificationProperty]
tenancy :: Maybe (Value Text)
unusedReservationBillingOwnerId :: Maybe (Value Text)
..}
instance Property "PlacementGroupArn" CapacityReservation where
  type PropertyType "PlacementGroupArn" CapacityReservation = Value Prelude.Text
  set :: PropertyType "PlacementGroupArn" CapacityReservation
-> CapacityReservation -> CapacityReservation
set PropertyType "PlacementGroupArn" CapacityReservation
newValue CapacityReservation {Maybe [TagSpecificationProperty]
Maybe (Value Bool)
Maybe (Value Text)
()
Value Integer
Value Text
haddock_workaround_ :: CapacityReservation -> ()
availabilityZone :: CapacityReservation -> Maybe (Value Text)
availabilityZoneId :: CapacityReservation -> Maybe (Value Text)
ebsOptimized :: CapacityReservation -> Maybe (Value Bool)
endDate :: CapacityReservation -> Maybe (Value Text)
endDateType :: CapacityReservation -> Maybe (Value Text)
ephemeralStorage :: CapacityReservation -> Maybe (Value Bool)
instanceCount :: CapacityReservation -> Value Integer
instanceMatchCriteria :: CapacityReservation -> Maybe (Value Text)
instancePlatform :: CapacityReservation -> Value Text
instanceType :: CapacityReservation -> Value Text
outPostArn :: CapacityReservation -> Maybe (Value Text)
placementGroupArn :: CapacityReservation -> Maybe (Value Text)
tagSpecifications :: CapacityReservation -> Maybe [TagSpecificationProperty]
tenancy :: CapacityReservation -> Maybe (Value Text)
unusedReservationBillingOwnerId :: CapacityReservation -> Maybe (Value Text)
haddock_workaround_ :: ()
availabilityZone :: Maybe (Value Text)
availabilityZoneId :: Maybe (Value Text)
ebsOptimized :: Maybe (Value Bool)
endDate :: Maybe (Value Text)
endDateType :: Maybe (Value Text)
ephemeralStorage :: Maybe (Value Bool)
instanceCount :: Value Integer
instanceMatchCriteria :: Maybe (Value Text)
instancePlatform :: Value Text
instanceType :: Value Text
outPostArn :: Maybe (Value Text)
placementGroupArn :: Maybe (Value Text)
tagSpecifications :: Maybe [TagSpecificationProperty]
tenancy :: Maybe (Value Text)
unusedReservationBillingOwnerId :: Maybe (Value Text)
..}
    = CapacityReservation
        {placementGroupArn :: Maybe (Value Text)
placementGroupArn = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "PlacementGroupArn" CapacityReservation
Value Text
newValue, Maybe [TagSpecificationProperty]
Maybe (Value Bool)
Maybe (Value Text)
()
Value Integer
Value Text
haddock_workaround_ :: ()
availabilityZone :: Maybe (Value Text)
availabilityZoneId :: Maybe (Value Text)
ebsOptimized :: Maybe (Value Bool)
endDate :: Maybe (Value Text)
endDateType :: Maybe (Value Text)
ephemeralStorage :: Maybe (Value Bool)
instanceCount :: Value Integer
instanceMatchCriteria :: Maybe (Value Text)
instancePlatform :: Value Text
instanceType :: Value Text
outPostArn :: Maybe (Value Text)
tagSpecifications :: Maybe [TagSpecificationProperty]
tenancy :: Maybe (Value Text)
unusedReservationBillingOwnerId :: Maybe (Value Text)
haddock_workaround_ :: ()
availabilityZone :: Maybe (Value Text)
availabilityZoneId :: Maybe (Value Text)
ebsOptimized :: Maybe (Value Bool)
endDate :: Maybe (Value Text)
endDateType :: Maybe (Value Text)
ephemeralStorage :: Maybe (Value Bool)
instanceCount :: Value Integer
instanceMatchCriteria :: Maybe (Value Text)
instancePlatform :: Value Text
instanceType :: Value Text
outPostArn :: Maybe (Value Text)
tagSpecifications :: Maybe [TagSpecificationProperty]
tenancy :: Maybe (Value Text)
unusedReservationBillingOwnerId :: Maybe (Value Text)
..}
instance Property "TagSpecifications" CapacityReservation where
  type PropertyType "TagSpecifications" CapacityReservation = [TagSpecificationProperty]
  set :: PropertyType "TagSpecifications" CapacityReservation
-> CapacityReservation -> CapacityReservation
set PropertyType "TagSpecifications" CapacityReservation
newValue CapacityReservation {Maybe [TagSpecificationProperty]
Maybe (Value Bool)
Maybe (Value Text)
()
Value Integer
Value Text
haddock_workaround_ :: CapacityReservation -> ()
availabilityZone :: CapacityReservation -> Maybe (Value Text)
availabilityZoneId :: CapacityReservation -> Maybe (Value Text)
ebsOptimized :: CapacityReservation -> Maybe (Value Bool)
endDate :: CapacityReservation -> Maybe (Value Text)
endDateType :: CapacityReservation -> Maybe (Value Text)
ephemeralStorage :: CapacityReservation -> Maybe (Value Bool)
instanceCount :: CapacityReservation -> Value Integer
instanceMatchCriteria :: CapacityReservation -> Maybe (Value Text)
instancePlatform :: CapacityReservation -> Value Text
instanceType :: CapacityReservation -> Value Text
outPostArn :: CapacityReservation -> Maybe (Value Text)
placementGroupArn :: CapacityReservation -> Maybe (Value Text)
tagSpecifications :: CapacityReservation -> Maybe [TagSpecificationProperty]
tenancy :: CapacityReservation -> Maybe (Value Text)
unusedReservationBillingOwnerId :: CapacityReservation -> Maybe (Value Text)
haddock_workaround_ :: ()
availabilityZone :: Maybe (Value Text)
availabilityZoneId :: Maybe (Value Text)
ebsOptimized :: Maybe (Value Bool)
endDate :: Maybe (Value Text)
endDateType :: Maybe (Value Text)
ephemeralStorage :: Maybe (Value Bool)
instanceCount :: Value Integer
instanceMatchCriteria :: Maybe (Value Text)
instancePlatform :: Value Text
instanceType :: Value Text
outPostArn :: Maybe (Value Text)
placementGroupArn :: Maybe (Value Text)
tagSpecifications :: Maybe [TagSpecificationProperty]
tenancy :: Maybe (Value Text)
unusedReservationBillingOwnerId :: Maybe (Value Text)
..}
    = CapacityReservation
        {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" CapacityReservation
newValue, Maybe (Value Bool)
Maybe (Value Text)
()
Value Integer
Value Text
haddock_workaround_ :: ()
availabilityZone :: Maybe (Value Text)
availabilityZoneId :: Maybe (Value Text)
ebsOptimized :: Maybe (Value Bool)
endDate :: Maybe (Value Text)
endDateType :: Maybe (Value Text)
ephemeralStorage :: Maybe (Value Bool)
instanceCount :: Value Integer
instanceMatchCriteria :: Maybe (Value Text)
instancePlatform :: Value Text
instanceType :: Value Text
outPostArn :: Maybe (Value Text)
placementGroupArn :: Maybe (Value Text)
tenancy :: Maybe (Value Text)
unusedReservationBillingOwnerId :: Maybe (Value Text)
haddock_workaround_ :: ()
availabilityZone :: Maybe (Value Text)
availabilityZoneId :: Maybe (Value Text)
ebsOptimized :: Maybe (Value Bool)
endDate :: Maybe (Value Text)
endDateType :: Maybe (Value Text)
ephemeralStorage :: Maybe (Value Bool)
instanceCount :: Value Integer
instanceMatchCriteria :: Maybe (Value Text)
instancePlatform :: Value Text
instanceType :: Value Text
outPostArn :: Maybe (Value Text)
placementGroupArn :: Maybe (Value Text)
tenancy :: Maybe (Value Text)
unusedReservationBillingOwnerId :: Maybe (Value Text)
..}
instance Property "Tenancy" CapacityReservation where
  type PropertyType "Tenancy" CapacityReservation = Value Prelude.Text
  set :: PropertyType "Tenancy" CapacityReservation
-> CapacityReservation -> CapacityReservation
set PropertyType "Tenancy" CapacityReservation
newValue CapacityReservation {Maybe [TagSpecificationProperty]
Maybe (Value Bool)
Maybe (Value Text)
()
Value Integer
Value Text
haddock_workaround_ :: CapacityReservation -> ()
availabilityZone :: CapacityReservation -> Maybe (Value Text)
availabilityZoneId :: CapacityReservation -> Maybe (Value Text)
ebsOptimized :: CapacityReservation -> Maybe (Value Bool)
endDate :: CapacityReservation -> Maybe (Value Text)
endDateType :: CapacityReservation -> Maybe (Value Text)
ephemeralStorage :: CapacityReservation -> Maybe (Value Bool)
instanceCount :: CapacityReservation -> Value Integer
instanceMatchCriteria :: CapacityReservation -> Maybe (Value Text)
instancePlatform :: CapacityReservation -> Value Text
instanceType :: CapacityReservation -> Value Text
outPostArn :: CapacityReservation -> Maybe (Value Text)
placementGroupArn :: CapacityReservation -> Maybe (Value Text)
tagSpecifications :: CapacityReservation -> Maybe [TagSpecificationProperty]
tenancy :: CapacityReservation -> Maybe (Value Text)
unusedReservationBillingOwnerId :: CapacityReservation -> Maybe (Value Text)
haddock_workaround_ :: ()
availabilityZone :: Maybe (Value Text)
availabilityZoneId :: Maybe (Value Text)
ebsOptimized :: Maybe (Value Bool)
endDate :: Maybe (Value Text)
endDateType :: Maybe (Value Text)
ephemeralStorage :: Maybe (Value Bool)
instanceCount :: Value Integer
instanceMatchCriteria :: Maybe (Value Text)
instancePlatform :: Value Text
instanceType :: Value Text
outPostArn :: Maybe (Value Text)
placementGroupArn :: Maybe (Value Text)
tagSpecifications :: Maybe [TagSpecificationProperty]
tenancy :: Maybe (Value Text)
unusedReservationBillingOwnerId :: Maybe (Value Text)
..}
    = CapacityReservation {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" CapacityReservation
Value Text
newValue, Maybe [TagSpecificationProperty]
Maybe (Value Bool)
Maybe (Value Text)
()
Value Integer
Value Text
haddock_workaround_ :: ()
availabilityZone :: Maybe (Value Text)
availabilityZoneId :: Maybe (Value Text)
ebsOptimized :: Maybe (Value Bool)
endDate :: Maybe (Value Text)
endDateType :: Maybe (Value Text)
ephemeralStorage :: Maybe (Value Bool)
instanceCount :: Value Integer
instanceMatchCriteria :: Maybe (Value Text)
instancePlatform :: Value Text
instanceType :: Value Text
outPostArn :: Maybe (Value Text)
placementGroupArn :: Maybe (Value Text)
tagSpecifications :: Maybe [TagSpecificationProperty]
unusedReservationBillingOwnerId :: Maybe (Value Text)
haddock_workaround_ :: ()
availabilityZone :: Maybe (Value Text)
availabilityZoneId :: Maybe (Value Text)
ebsOptimized :: Maybe (Value Bool)
endDate :: Maybe (Value Text)
endDateType :: Maybe (Value Text)
ephemeralStorage :: Maybe (Value Bool)
instanceCount :: Value Integer
instanceMatchCriteria :: Maybe (Value Text)
instancePlatform :: Value Text
instanceType :: Value Text
outPostArn :: Maybe (Value Text)
placementGroupArn :: Maybe (Value Text)
tagSpecifications :: Maybe [TagSpecificationProperty]
unusedReservationBillingOwnerId :: Maybe (Value Text)
..}
instance Property "UnusedReservationBillingOwnerId" CapacityReservation where
  type PropertyType "UnusedReservationBillingOwnerId" CapacityReservation = Value Prelude.Text
  set :: PropertyType "UnusedReservationBillingOwnerId" CapacityReservation
-> CapacityReservation -> CapacityReservation
set PropertyType "UnusedReservationBillingOwnerId" CapacityReservation
newValue CapacityReservation {Maybe [TagSpecificationProperty]
Maybe (Value Bool)
Maybe (Value Text)
()
Value Integer
Value Text
haddock_workaround_ :: CapacityReservation -> ()
availabilityZone :: CapacityReservation -> Maybe (Value Text)
availabilityZoneId :: CapacityReservation -> Maybe (Value Text)
ebsOptimized :: CapacityReservation -> Maybe (Value Bool)
endDate :: CapacityReservation -> Maybe (Value Text)
endDateType :: CapacityReservation -> Maybe (Value Text)
ephemeralStorage :: CapacityReservation -> Maybe (Value Bool)
instanceCount :: CapacityReservation -> Value Integer
instanceMatchCriteria :: CapacityReservation -> Maybe (Value Text)
instancePlatform :: CapacityReservation -> Value Text
instanceType :: CapacityReservation -> Value Text
outPostArn :: CapacityReservation -> Maybe (Value Text)
placementGroupArn :: CapacityReservation -> Maybe (Value Text)
tagSpecifications :: CapacityReservation -> Maybe [TagSpecificationProperty]
tenancy :: CapacityReservation -> Maybe (Value Text)
unusedReservationBillingOwnerId :: CapacityReservation -> Maybe (Value Text)
haddock_workaround_ :: ()
availabilityZone :: Maybe (Value Text)
availabilityZoneId :: Maybe (Value Text)
ebsOptimized :: Maybe (Value Bool)
endDate :: Maybe (Value Text)
endDateType :: Maybe (Value Text)
ephemeralStorage :: Maybe (Value Bool)
instanceCount :: Value Integer
instanceMatchCriteria :: Maybe (Value Text)
instancePlatform :: Value Text
instanceType :: Value Text
outPostArn :: Maybe (Value Text)
placementGroupArn :: Maybe (Value Text)
tagSpecifications :: Maybe [TagSpecificationProperty]
tenancy :: Maybe (Value Text)
unusedReservationBillingOwnerId :: Maybe (Value Text)
..}
    = CapacityReservation
        {unusedReservationBillingOwnerId :: Maybe (Value Text)
unusedReservationBillingOwnerId = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "UnusedReservationBillingOwnerId" CapacityReservation
Value Text
newValue, Maybe [TagSpecificationProperty]
Maybe (Value Bool)
Maybe (Value Text)
()
Value Integer
Value Text
haddock_workaround_ :: ()
availabilityZone :: Maybe (Value Text)
availabilityZoneId :: Maybe (Value Text)
ebsOptimized :: Maybe (Value Bool)
endDate :: Maybe (Value Text)
endDateType :: Maybe (Value Text)
ephemeralStorage :: Maybe (Value Bool)
instanceCount :: Value Integer
instanceMatchCriteria :: Maybe (Value Text)
instancePlatform :: Value Text
instanceType :: Value Text
outPostArn :: Maybe (Value Text)
placementGroupArn :: Maybe (Value Text)
tagSpecifications :: Maybe [TagSpecificationProperty]
tenancy :: Maybe (Value Text)
haddock_workaround_ :: ()
availabilityZone :: Maybe (Value Text)
availabilityZoneId :: Maybe (Value Text)
ebsOptimized :: Maybe (Value Bool)
endDate :: Maybe (Value Text)
endDateType :: Maybe (Value Text)
ephemeralStorage :: Maybe (Value Bool)
instanceCount :: Value Integer
instanceMatchCriteria :: Maybe (Value Text)
instancePlatform :: Value Text
instanceType :: Value Text
outPostArn :: Maybe (Value Text)
placementGroupArn :: Maybe (Value Text)
tagSpecifications :: Maybe [TagSpecificationProperty]
tenancy :: Maybe (Value Text)
..}