module Stratosphere.AutoScaling.ScalingPolicy.PredictiveScalingConfigurationProperty (
        module Exports, PredictiveScalingConfigurationProperty(..),
        mkPredictiveScalingConfigurationProperty
    ) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import {-# SOURCE #-} Stratosphere.AutoScaling.ScalingPolicy.PredictiveScalingMetricSpecificationProperty as Exports
import Stratosphere.ResourceProperties
import Stratosphere.Value
data PredictiveScalingConfigurationProperty
  = -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-scalingpolicy-predictivescalingconfiguration.html>
    PredictiveScalingConfigurationProperty {PredictiveScalingConfigurationProperty -> ()
haddock_workaround_ :: (),
                                            -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-scalingpolicy-predictivescalingconfiguration.html#cfn-autoscaling-scalingpolicy-predictivescalingconfiguration-maxcapacitybreachbehavior>
                                            PredictiveScalingConfigurationProperty -> Maybe (Value Text)
maxCapacityBreachBehavior :: (Prelude.Maybe (Value Prelude.Text)),
                                            -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-scalingpolicy-predictivescalingconfiguration.html#cfn-autoscaling-scalingpolicy-predictivescalingconfiguration-maxcapacitybuffer>
                                            PredictiveScalingConfigurationProperty -> Maybe (Value Integer)
maxCapacityBuffer :: (Prelude.Maybe (Value Prelude.Integer)),
                                            -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-scalingpolicy-predictivescalingconfiguration.html#cfn-autoscaling-scalingpolicy-predictivescalingconfiguration-metricspecifications>
                                            PredictiveScalingConfigurationProperty
-> [PredictiveScalingMetricSpecificationProperty]
metricSpecifications :: [PredictiveScalingMetricSpecificationProperty],
                                            -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-scalingpolicy-predictivescalingconfiguration.html#cfn-autoscaling-scalingpolicy-predictivescalingconfiguration-mode>
                                            PredictiveScalingConfigurationProperty -> Maybe (Value Text)
mode :: (Prelude.Maybe (Value Prelude.Text)),
                                            -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-scalingpolicy-predictivescalingconfiguration.html#cfn-autoscaling-scalingpolicy-predictivescalingconfiguration-schedulingbuffertime>
                                            PredictiveScalingConfigurationProperty -> Maybe (Value Integer)
schedulingBufferTime :: (Prelude.Maybe (Value Prelude.Integer))}
  deriving stock (PredictiveScalingConfigurationProperty
-> PredictiveScalingConfigurationProperty -> Bool
(PredictiveScalingConfigurationProperty
 -> PredictiveScalingConfigurationProperty -> Bool)
-> (PredictiveScalingConfigurationProperty
    -> PredictiveScalingConfigurationProperty -> Bool)
-> Eq PredictiveScalingConfigurationProperty
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: PredictiveScalingConfigurationProperty
-> PredictiveScalingConfigurationProperty -> Bool
== :: PredictiveScalingConfigurationProperty
-> PredictiveScalingConfigurationProperty -> Bool
$c/= :: PredictiveScalingConfigurationProperty
-> PredictiveScalingConfigurationProperty -> Bool
/= :: PredictiveScalingConfigurationProperty
-> PredictiveScalingConfigurationProperty -> Bool
Prelude.Eq, Int -> PredictiveScalingConfigurationProperty -> ShowS
[PredictiveScalingConfigurationProperty] -> ShowS
PredictiveScalingConfigurationProperty -> String
(Int -> PredictiveScalingConfigurationProperty -> ShowS)
-> (PredictiveScalingConfigurationProperty -> String)
-> ([PredictiveScalingConfigurationProperty] -> ShowS)
-> Show PredictiveScalingConfigurationProperty
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> PredictiveScalingConfigurationProperty -> ShowS
showsPrec :: Int -> PredictiveScalingConfigurationProperty -> ShowS
$cshow :: PredictiveScalingConfigurationProperty -> String
show :: PredictiveScalingConfigurationProperty -> String
$cshowList :: [PredictiveScalingConfigurationProperty] -> ShowS
showList :: [PredictiveScalingConfigurationProperty] -> ShowS
Prelude.Show)
mkPredictiveScalingConfigurationProperty ::
  [PredictiveScalingMetricSpecificationProperty]
  -> PredictiveScalingConfigurationProperty
mkPredictiveScalingConfigurationProperty :: [PredictiveScalingMetricSpecificationProperty]
-> PredictiveScalingConfigurationProperty
mkPredictiveScalingConfigurationProperty [PredictiveScalingMetricSpecificationProperty]
metricSpecifications
  = PredictiveScalingConfigurationProperty
      {haddock_workaround_ :: ()
haddock_workaround_ = (),
       metricSpecifications :: [PredictiveScalingMetricSpecificationProperty]
metricSpecifications = [PredictiveScalingMetricSpecificationProperty]
metricSpecifications,
       maxCapacityBreachBehavior :: Maybe (Value Text)
maxCapacityBreachBehavior = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
       maxCapacityBuffer :: Maybe (Value Integer)
maxCapacityBuffer = Maybe (Value Integer)
forall a. Maybe a
Prelude.Nothing, mode :: Maybe (Value Text)
mode = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
       schedulingBufferTime :: Maybe (Value Integer)
schedulingBufferTime = Maybe (Value Integer)
forall a. Maybe a
Prelude.Nothing}
instance ToResourceProperties PredictiveScalingConfigurationProperty where
  toResourceProperties :: PredictiveScalingConfigurationProperty -> ResourceProperties
toResourceProperties PredictiveScalingConfigurationProperty {[PredictiveScalingMetricSpecificationProperty]
Maybe (Value Integer)
Maybe (Value Text)
()
haddock_workaround_ :: PredictiveScalingConfigurationProperty -> ()
maxCapacityBreachBehavior :: PredictiveScalingConfigurationProperty -> Maybe (Value Text)
maxCapacityBuffer :: PredictiveScalingConfigurationProperty -> Maybe (Value Integer)
metricSpecifications :: PredictiveScalingConfigurationProperty
-> [PredictiveScalingMetricSpecificationProperty]
mode :: PredictiveScalingConfigurationProperty -> Maybe (Value Text)
schedulingBufferTime :: PredictiveScalingConfigurationProperty -> Maybe (Value Integer)
haddock_workaround_ :: ()
maxCapacityBreachBehavior :: Maybe (Value Text)
maxCapacityBuffer :: Maybe (Value Integer)
metricSpecifications :: [PredictiveScalingMetricSpecificationProperty]
mode :: Maybe (Value Text)
schedulingBufferTime :: Maybe (Value Integer)
..}
    = ResourceProperties
        {awsType :: Text
awsType = Text
"AWS::AutoScaling::ScalingPolicy.PredictiveScalingConfiguration",
         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
"MetricSpecifications" Key
-> [PredictiveScalingMetricSpecificationProperty] -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= [PredictiveScalingMetricSpecificationProperty]
metricSpecifications]
                           ([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
"MaxCapacityBreachBehavior"
                                 (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)
maxCapacityBreachBehavior,
                               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
"MaxCapacityBuffer" (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)
maxCapacityBuffer,
                               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
"Mode" (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)
mode,
                               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
"SchedulingBufferTime"
                                 (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)
schedulingBufferTime]))}
instance JSON.ToJSON PredictiveScalingConfigurationProperty where
  toJSON :: PredictiveScalingConfigurationProperty -> Value
toJSON PredictiveScalingConfigurationProperty {[PredictiveScalingMetricSpecificationProperty]
Maybe (Value Integer)
Maybe (Value Text)
()
haddock_workaround_ :: PredictiveScalingConfigurationProperty -> ()
maxCapacityBreachBehavior :: PredictiveScalingConfigurationProperty -> Maybe (Value Text)
maxCapacityBuffer :: PredictiveScalingConfigurationProperty -> Maybe (Value Integer)
metricSpecifications :: PredictiveScalingConfigurationProperty
-> [PredictiveScalingMetricSpecificationProperty]
mode :: PredictiveScalingConfigurationProperty -> Maybe (Value Text)
schedulingBufferTime :: PredictiveScalingConfigurationProperty -> Maybe (Value Integer)
haddock_workaround_ :: ()
maxCapacityBreachBehavior :: Maybe (Value Text)
maxCapacityBuffer :: Maybe (Value Integer)
metricSpecifications :: [PredictiveScalingMetricSpecificationProperty]
mode :: Maybe (Value Text)
schedulingBufferTime :: Maybe (Value Integer)
..}
    = [(Key, Value)] -> Value
JSON.object
        ([Item [(Key, Value)]] -> [(Key, Value)]
forall l. IsList l => [Item l] -> l
Prelude.fromList
           ([(Key, Value)] -> [(Key, Value)] -> [(Key, Value)]
forall a. Semigroup a => a -> a -> a
(Prelude.<>)
              [Key
"MetricSpecifications" Key
-> [PredictiveScalingMetricSpecificationProperty] -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= [PredictiveScalingMetricSpecificationProperty]
metricSpecifications]
              ([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
"MaxCapacityBreachBehavior"
                    (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)
maxCapacityBreachBehavior,
                  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
"MaxCapacityBuffer" (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)
maxCapacityBuffer,
                  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
"Mode" (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)
mode,
                  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
"SchedulingBufferTime"
                    (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)
schedulingBufferTime])))
instance Property "MaxCapacityBreachBehavior" PredictiveScalingConfigurationProperty where
  type PropertyType "MaxCapacityBreachBehavior" PredictiveScalingConfigurationProperty = Value Prelude.Text
  set :: PropertyType
  "MaxCapacityBreachBehavior" PredictiveScalingConfigurationProperty
-> PredictiveScalingConfigurationProperty
-> PredictiveScalingConfigurationProperty
set PropertyType
  "MaxCapacityBreachBehavior" PredictiveScalingConfigurationProperty
newValue PredictiveScalingConfigurationProperty {[PredictiveScalingMetricSpecificationProperty]
Maybe (Value Integer)
Maybe (Value Text)
()
haddock_workaround_ :: PredictiveScalingConfigurationProperty -> ()
maxCapacityBreachBehavior :: PredictiveScalingConfigurationProperty -> Maybe (Value Text)
maxCapacityBuffer :: PredictiveScalingConfigurationProperty -> Maybe (Value Integer)
metricSpecifications :: PredictiveScalingConfigurationProperty
-> [PredictiveScalingMetricSpecificationProperty]
mode :: PredictiveScalingConfigurationProperty -> Maybe (Value Text)
schedulingBufferTime :: PredictiveScalingConfigurationProperty -> Maybe (Value Integer)
haddock_workaround_ :: ()
maxCapacityBreachBehavior :: Maybe (Value Text)
maxCapacityBuffer :: Maybe (Value Integer)
metricSpecifications :: [PredictiveScalingMetricSpecificationProperty]
mode :: Maybe (Value Text)
schedulingBufferTime :: Maybe (Value Integer)
..}
    = PredictiveScalingConfigurationProperty
        {maxCapacityBreachBehavior :: Maybe (Value Text)
maxCapacityBreachBehavior = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType
  "MaxCapacityBreachBehavior" PredictiveScalingConfigurationProperty
Value Text
newValue, [PredictiveScalingMetricSpecificationProperty]
Maybe (Value Integer)
Maybe (Value Text)
()
haddock_workaround_ :: ()
maxCapacityBuffer :: Maybe (Value Integer)
metricSpecifications :: [PredictiveScalingMetricSpecificationProperty]
mode :: Maybe (Value Text)
schedulingBufferTime :: Maybe (Value Integer)
haddock_workaround_ :: ()
maxCapacityBuffer :: Maybe (Value Integer)
metricSpecifications :: [PredictiveScalingMetricSpecificationProperty]
mode :: Maybe (Value Text)
schedulingBufferTime :: Maybe (Value Integer)
..}
instance Property "MaxCapacityBuffer" PredictiveScalingConfigurationProperty where
  type PropertyType "MaxCapacityBuffer" PredictiveScalingConfigurationProperty = Value Prelude.Integer
  set :: PropertyType
  "MaxCapacityBuffer" PredictiveScalingConfigurationProperty
-> PredictiveScalingConfigurationProperty
-> PredictiveScalingConfigurationProperty
set PropertyType
  "MaxCapacityBuffer" PredictiveScalingConfigurationProperty
newValue PredictiveScalingConfigurationProperty {[PredictiveScalingMetricSpecificationProperty]
Maybe (Value Integer)
Maybe (Value Text)
()
haddock_workaround_ :: PredictiveScalingConfigurationProperty -> ()
maxCapacityBreachBehavior :: PredictiveScalingConfigurationProperty -> Maybe (Value Text)
maxCapacityBuffer :: PredictiveScalingConfigurationProperty -> Maybe (Value Integer)
metricSpecifications :: PredictiveScalingConfigurationProperty
-> [PredictiveScalingMetricSpecificationProperty]
mode :: PredictiveScalingConfigurationProperty -> Maybe (Value Text)
schedulingBufferTime :: PredictiveScalingConfigurationProperty -> Maybe (Value Integer)
haddock_workaround_ :: ()
maxCapacityBreachBehavior :: Maybe (Value Text)
maxCapacityBuffer :: Maybe (Value Integer)
metricSpecifications :: [PredictiveScalingMetricSpecificationProperty]
mode :: Maybe (Value Text)
schedulingBufferTime :: Maybe (Value Integer)
..}
    = PredictiveScalingConfigurationProperty
        {maxCapacityBuffer :: Maybe (Value Integer)
maxCapacityBuffer = Value Integer -> Maybe (Value Integer)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType
  "MaxCapacityBuffer" PredictiveScalingConfigurationProperty
Value Integer
newValue, [PredictiveScalingMetricSpecificationProperty]
Maybe (Value Integer)
Maybe (Value Text)
()
haddock_workaround_ :: ()
maxCapacityBreachBehavior :: Maybe (Value Text)
metricSpecifications :: [PredictiveScalingMetricSpecificationProperty]
mode :: Maybe (Value Text)
schedulingBufferTime :: Maybe (Value Integer)
haddock_workaround_ :: ()
maxCapacityBreachBehavior :: Maybe (Value Text)
metricSpecifications :: [PredictiveScalingMetricSpecificationProperty]
mode :: Maybe (Value Text)
schedulingBufferTime :: Maybe (Value Integer)
..}
instance Property "MetricSpecifications" PredictiveScalingConfigurationProperty where
  type PropertyType "MetricSpecifications" PredictiveScalingConfigurationProperty = [PredictiveScalingMetricSpecificationProperty]
  set :: PropertyType
  "MetricSpecifications" PredictiveScalingConfigurationProperty
-> PredictiveScalingConfigurationProperty
-> PredictiveScalingConfigurationProperty
set PropertyType
  "MetricSpecifications" PredictiveScalingConfigurationProperty
newValue PredictiveScalingConfigurationProperty {[PredictiveScalingMetricSpecificationProperty]
Maybe (Value Integer)
Maybe (Value Text)
()
haddock_workaround_ :: PredictiveScalingConfigurationProperty -> ()
maxCapacityBreachBehavior :: PredictiveScalingConfigurationProperty -> Maybe (Value Text)
maxCapacityBuffer :: PredictiveScalingConfigurationProperty -> Maybe (Value Integer)
metricSpecifications :: PredictiveScalingConfigurationProperty
-> [PredictiveScalingMetricSpecificationProperty]
mode :: PredictiveScalingConfigurationProperty -> Maybe (Value Text)
schedulingBufferTime :: PredictiveScalingConfigurationProperty -> Maybe (Value Integer)
haddock_workaround_ :: ()
maxCapacityBreachBehavior :: Maybe (Value Text)
maxCapacityBuffer :: Maybe (Value Integer)
metricSpecifications :: [PredictiveScalingMetricSpecificationProperty]
mode :: Maybe (Value Text)
schedulingBufferTime :: Maybe (Value Integer)
..}
    = PredictiveScalingConfigurationProperty
        {metricSpecifications :: [PredictiveScalingMetricSpecificationProperty]
metricSpecifications = [PredictiveScalingMetricSpecificationProperty]
PropertyType
  "MetricSpecifications" PredictiveScalingConfigurationProperty
newValue, Maybe (Value Integer)
Maybe (Value Text)
()
haddock_workaround_ :: ()
maxCapacityBreachBehavior :: Maybe (Value Text)
maxCapacityBuffer :: Maybe (Value Integer)
mode :: Maybe (Value Text)
schedulingBufferTime :: Maybe (Value Integer)
haddock_workaround_ :: ()
maxCapacityBreachBehavior :: Maybe (Value Text)
maxCapacityBuffer :: Maybe (Value Integer)
mode :: Maybe (Value Text)
schedulingBufferTime :: Maybe (Value Integer)
..}
instance Property "Mode" PredictiveScalingConfigurationProperty where
  type PropertyType "Mode" PredictiveScalingConfigurationProperty = Value Prelude.Text
  set :: PropertyType "Mode" PredictiveScalingConfigurationProperty
-> PredictiveScalingConfigurationProperty
-> PredictiveScalingConfigurationProperty
set PropertyType "Mode" PredictiveScalingConfigurationProperty
newValue PredictiveScalingConfigurationProperty {[PredictiveScalingMetricSpecificationProperty]
Maybe (Value Integer)
Maybe (Value Text)
()
haddock_workaround_ :: PredictiveScalingConfigurationProperty -> ()
maxCapacityBreachBehavior :: PredictiveScalingConfigurationProperty -> Maybe (Value Text)
maxCapacityBuffer :: PredictiveScalingConfigurationProperty -> Maybe (Value Integer)
metricSpecifications :: PredictiveScalingConfigurationProperty
-> [PredictiveScalingMetricSpecificationProperty]
mode :: PredictiveScalingConfigurationProperty -> Maybe (Value Text)
schedulingBufferTime :: PredictiveScalingConfigurationProperty -> Maybe (Value Integer)
haddock_workaround_ :: ()
maxCapacityBreachBehavior :: Maybe (Value Text)
maxCapacityBuffer :: Maybe (Value Integer)
metricSpecifications :: [PredictiveScalingMetricSpecificationProperty]
mode :: Maybe (Value Text)
schedulingBufferTime :: Maybe (Value Integer)
..}
    = PredictiveScalingConfigurationProperty
        {mode :: Maybe (Value Text)
mode = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "Mode" PredictiveScalingConfigurationProperty
Value Text
newValue, [PredictiveScalingMetricSpecificationProperty]
Maybe (Value Integer)
Maybe (Value Text)
()
haddock_workaround_ :: ()
maxCapacityBreachBehavior :: Maybe (Value Text)
maxCapacityBuffer :: Maybe (Value Integer)
metricSpecifications :: [PredictiveScalingMetricSpecificationProperty]
schedulingBufferTime :: Maybe (Value Integer)
haddock_workaround_ :: ()
maxCapacityBreachBehavior :: Maybe (Value Text)
maxCapacityBuffer :: Maybe (Value Integer)
metricSpecifications :: [PredictiveScalingMetricSpecificationProperty]
schedulingBufferTime :: Maybe (Value Integer)
..}
instance Property "SchedulingBufferTime" PredictiveScalingConfigurationProperty where
  type PropertyType "SchedulingBufferTime" PredictiveScalingConfigurationProperty = Value Prelude.Integer
  set :: PropertyType
  "SchedulingBufferTime" PredictiveScalingConfigurationProperty
-> PredictiveScalingConfigurationProperty
-> PredictiveScalingConfigurationProperty
set PropertyType
  "SchedulingBufferTime" PredictiveScalingConfigurationProperty
newValue PredictiveScalingConfigurationProperty {[PredictiveScalingMetricSpecificationProperty]
Maybe (Value Integer)
Maybe (Value Text)
()
haddock_workaround_ :: PredictiveScalingConfigurationProperty -> ()
maxCapacityBreachBehavior :: PredictiveScalingConfigurationProperty -> Maybe (Value Text)
maxCapacityBuffer :: PredictiveScalingConfigurationProperty -> Maybe (Value Integer)
metricSpecifications :: PredictiveScalingConfigurationProperty
-> [PredictiveScalingMetricSpecificationProperty]
mode :: PredictiveScalingConfigurationProperty -> Maybe (Value Text)
schedulingBufferTime :: PredictiveScalingConfigurationProperty -> Maybe (Value Integer)
haddock_workaround_ :: ()
maxCapacityBreachBehavior :: Maybe (Value Text)
maxCapacityBuffer :: Maybe (Value Integer)
metricSpecifications :: [PredictiveScalingMetricSpecificationProperty]
mode :: Maybe (Value Text)
schedulingBufferTime :: Maybe (Value Integer)
..}
    = PredictiveScalingConfigurationProperty
        {schedulingBufferTime :: Maybe (Value Integer)
schedulingBufferTime = Value Integer -> Maybe (Value Integer)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType
  "SchedulingBufferTime" PredictiveScalingConfigurationProperty
Value Integer
newValue, [PredictiveScalingMetricSpecificationProperty]
Maybe (Value Integer)
Maybe (Value Text)
()
haddock_workaround_ :: ()
maxCapacityBreachBehavior :: Maybe (Value Text)
maxCapacityBuffer :: Maybe (Value Integer)
metricSpecifications :: [PredictiveScalingMetricSpecificationProperty]
mode :: Maybe (Value Text)
haddock_workaround_ :: ()
maxCapacityBreachBehavior :: Maybe (Value Text)
maxCapacityBuffer :: Maybe (Value Integer)
metricSpecifications :: [PredictiveScalingMetricSpecificationProperty]
mode :: Maybe (Value Text)
..}