module Stratosphere.AutoScalingPlans.ScalingPlan.ScalingInstructionProperty (
module Exports, ScalingInstructionProperty(..),
mkScalingInstructionProperty
) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import {-# SOURCE #-} Stratosphere.AutoScalingPlans.ScalingPlan.CustomizedLoadMetricSpecificationProperty as Exports
import {-# SOURCE #-} Stratosphere.AutoScalingPlans.ScalingPlan.PredefinedLoadMetricSpecificationProperty as Exports
import {-# SOURCE #-} Stratosphere.AutoScalingPlans.ScalingPlan.TargetTrackingConfigurationProperty as Exports
import Stratosphere.ResourceProperties
import Stratosphere.Value
data ScalingInstructionProperty
=
ScalingInstructionProperty {ScalingInstructionProperty -> ()
haddock_workaround_ :: (),
ScalingInstructionProperty
-> Maybe CustomizedLoadMetricSpecificationProperty
customizedLoadMetricSpecification :: (Prelude.Maybe CustomizedLoadMetricSpecificationProperty),
ScalingInstructionProperty -> Maybe (Value Bool)
disableDynamicScaling :: (Prelude.Maybe (Value Prelude.Bool)),
ScalingInstructionProperty -> Value Integer
maxCapacity :: (Value Prelude.Integer),
ScalingInstructionProperty -> Value Integer
minCapacity :: (Value Prelude.Integer),
ScalingInstructionProperty
-> Maybe PredefinedLoadMetricSpecificationProperty
predefinedLoadMetricSpecification :: (Prelude.Maybe PredefinedLoadMetricSpecificationProperty),
ScalingInstructionProperty -> Maybe (Value Text)
predictiveScalingMaxCapacityBehavior :: (Prelude.Maybe (Value Prelude.Text)),
ScalingInstructionProperty -> Maybe (Value Integer)
predictiveScalingMaxCapacityBuffer :: (Prelude.Maybe (Value Prelude.Integer)),
ScalingInstructionProperty -> Maybe (Value Text)
predictiveScalingMode :: (Prelude.Maybe (Value Prelude.Text)),
ScalingInstructionProperty -> Value Text
resourceId :: (Value Prelude.Text),
ScalingInstructionProperty -> Value Text
scalableDimension :: (Value Prelude.Text),
ScalingInstructionProperty -> Maybe (Value Text)
scalingPolicyUpdateBehavior :: (Prelude.Maybe (Value Prelude.Text)),
ScalingInstructionProperty -> Maybe (Value Integer)
scheduledActionBufferTime :: (Prelude.Maybe (Value Prelude.Integer)),
ScalingInstructionProperty -> Value Text
serviceNamespace :: (Value Prelude.Text),
ScalingInstructionProperty -> [TargetTrackingConfigurationProperty]
targetTrackingConfigurations :: [TargetTrackingConfigurationProperty]}
deriving stock (ScalingInstructionProperty -> ScalingInstructionProperty -> Bool
(ScalingInstructionProperty -> ScalingInstructionProperty -> Bool)
-> (ScalingInstructionProperty
-> ScalingInstructionProperty -> Bool)
-> Eq ScalingInstructionProperty
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: ScalingInstructionProperty -> ScalingInstructionProperty -> Bool
== :: ScalingInstructionProperty -> ScalingInstructionProperty -> Bool
$c/= :: ScalingInstructionProperty -> ScalingInstructionProperty -> Bool
/= :: ScalingInstructionProperty -> ScalingInstructionProperty -> Bool
Prelude.Eq, Int -> ScalingInstructionProperty -> ShowS
[ScalingInstructionProperty] -> ShowS
ScalingInstructionProperty -> String
(Int -> ScalingInstructionProperty -> ShowS)
-> (ScalingInstructionProperty -> String)
-> ([ScalingInstructionProperty] -> ShowS)
-> Show ScalingInstructionProperty
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> ScalingInstructionProperty -> ShowS
showsPrec :: Int -> ScalingInstructionProperty -> ShowS
$cshow :: ScalingInstructionProperty -> String
show :: ScalingInstructionProperty -> String
$cshowList :: [ScalingInstructionProperty] -> ShowS
showList :: [ScalingInstructionProperty] -> ShowS
Prelude.Show)
mkScalingInstructionProperty ::
Value Prelude.Integer
-> Value Prelude.Integer
-> Value Prelude.Text
-> Value Prelude.Text
-> Value Prelude.Text
-> [TargetTrackingConfigurationProperty]
-> ScalingInstructionProperty
mkScalingInstructionProperty :: Value Integer
-> Value Integer
-> Value Text
-> Value Text
-> Value Text
-> [TargetTrackingConfigurationProperty]
-> ScalingInstructionProperty
mkScalingInstructionProperty
Value Integer
maxCapacity
Value Integer
minCapacity
Value Text
resourceId
Value Text
scalableDimension
Value Text
serviceNamespace
[TargetTrackingConfigurationProperty]
targetTrackingConfigurations
= ScalingInstructionProperty
{haddock_workaround_ :: ()
haddock_workaround_ = (), maxCapacity :: Value Integer
maxCapacity = Value Integer
maxCapacity,
minCapacity :: Value Integer
minCapacity = Value Integer
minCapacity, resourceId :: Value Text
resourceId = Value Text
resourceId,
scalableDimension :: Value Text
scalableDimension = Value Text
scalableDimension,
serviceNamespace :: Value Text
serviceNamespace = Value Text
serviceNamespace,
targetTrackingConfigurations :: [TargetTrackingConfigurationProperty]
targetTrackingConfigurations = [TargetTrackingConfigurationProperty]
targetTrackingConfigurations,
customizedLoadMetricSpecification :: Maybe CustomizedLoadMetricSpecificationProperty
customizedLoadMetricSpecification = Maybe CustomizedLoadMetricSpecificationProperty
forall a. Maybe a
Prelude.Nothing,
disableDynamicScaling :: Maybe (Value Bool)
disableDynamicScaling = Maybe (Value Bool)
forall a. Maybe a
Prelude.Nothing,
predefinedLoadMetricSpecification :: Maybe PredefinedLoadMetricSpecificationProperty
predefinedLoadMetricSpecification = Maybe PredefinedLoadMetricSpecificationProperty
forall a. Maybe a
Prelude.Nothing,
predictiveScalingMaxCapacityBehavior :: Maybe (Value Text)
predictiveScalingMaxCapacityBehavior = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
predictiveScalingMaxCapacityBuffer :: Maybe (Value Integer)
predictiveScalingMaxCapacityBuffer = Maybe (Value Integer)
forall a. Maybe a
Prelude.Nothing,
predictiveScalingMode :: Maybe (Value Text)
predictiveScalingMode = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
scalingPolicyUpdateBehavior :: Maybe (Value Text)
scalingPolicyUpdateBehavior = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
scheduledActionBufferTime :: Maybe (Value Integer)
scheduledActionBufferTime = Maybe (Value Integer)
forall a. Maybe a
Prelude.Nothing}
instance ToResourceProperties ScalingInstructionProperty where
toResourceProperties :: ScalingInstructionProperty -> ResourceProperties
toResourceProperties ScalingInstructionProperty {[TargetTrackingConfigurationProperty]
Maybe (Value Bool)
Maybe (Value Integer)
Maybe (Value Text)
Maybe CustomizedLoadMetricSpecificationProperty
Maybe PredefinedLoadMetricSpecificationProperty
()
Value Integer
Value Text
haddock_workaround_ :: ScalingInstructionProperty -> ()
customizedLoadMetricSpecification :: ScalingInstructionProperty
-> Maybe CustomizedLoadMetricSpecificationProperty
disableDynamicScaling :: ScalingInstructionProperty -> Maybe (Value Bool)
maxCapacity :: ScalingInstructionProperty -> Value Integer
minCapacity :: ScalingInstructionProperty -> Value Integer
predefinedLoadMetricSpecification :: ScalingInstructionProperty
-> Maybe PredefinedLoadMetricSpecificationProperty
predictiveScalingMaxCapacityBehavior :: ScalingInstructionProperty -> Maybe (Value Text)
predictiveScalingMaxCapacityBuffer :: ScalingInstructionProperty -> Maybe (Value Integer)
predictiveScalingMode :: ScalingInstructionProperty -> Maybe (Value Text)
resourceId :: ScalingInstructionProperty -> Value Text
scalableDimension :: ScalingInstructionProperty -> Value Text
scalingPolicyUpdateBehavior :: ScalingInstructionProperty -> Maybe (Value Text)
scheduledActionBufferTime :: ScalingInstructionProperty -> Maybe (Value Integer)
serviceNamespace :: ScalingInstructionProperty -> Value Text
targetTrackingConfigurations :: ScalingInstructionProperty -> [TargetTrackingConfigurationProperty]
haddock_workaround_ :: ()
customizedLoadMetricSpecification :: Maybe CustomizedLoadMetricSpecificationProperty
disableDynamicScaling :: Maybe (Value Bool)
maxCapacity :: Value Integer
minCapacity :: Value Integer
predefinedLoadMetricSpecification :: Maybe PredefinedLoadMetricSpecificationProperty
predictiveScalingMaxCapacityBehavior :: Maybe (Value Text)
predictiveScalingMaxCapacityBuffer :: Maybe (Value Integer)
predictiveScalingMode :: Maybe (Value Text)
resourceId :: Value Text
scalableDimension :: Value Text
scalingPolicyUpdateBehavior :: Maybe (Value Text)
scheduledActionBufferTime :: Maybe (Value Integer)
serviceNamespace :: Value Text
targetTrackingConfigurations :: [TargetTrackingConfigurationProperty]
..}
= ResourceProperties
{awsType :: Text
awsType = Text
"AWS::AutoScalingPlans::ScalingPlan.ScalingInstruction",
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
"MaxCapacity" 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
maxCapacity,
Key
"MinCapacity" 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
minCapacity, Key
"ResourceId" 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
resourceId,
Key
"ScalableDimension" 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
scalableDimension,
Key
"ServiceNamespace" 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
serviceNamespace,
Key
"TargetTrackingConfigurations"
Key -> [TargetTrackingConfigurationProperty] -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= [TargetTrackingConfigurationProperty]
targetTrackingConfigurations]
([Maybe (Key, Value)] -> [(Key, Value)]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
[Key -> CustomizedLoadMetricSpecificationProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"CustomizedLoadMetricSpecification"
(CustomizedLoadMetricSpecificationProperty -> (Key, Value))
-> Maybe CustomizedLoadMetricSpecificationProperty
-> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe CustomizedLoadMetricSpecificationProperty
customizedLoadMetricSpecification,
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
"DisableDynamicScaling"
(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)
disableDynamicScaling,
Key -> PredefinedLoadMetricSpecificationProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"PredefinedLoadMetricSpecification"
(PredefinedLoadMetricSpecificationProperty -> (Key, Value))
-> Maybe PredefinedLoadMetricSpecificationProperty
-> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe PredefinedLoadMetricSpecificationProperty
predefinedLoadMetricSpecification,
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
"PredictiveScalingMaxCapacityBehavior"
(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)
predictiveScalingMaxCapacityBehavior,
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
"PredictiveScalingMaxCapacityBuffer"
(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)
predictiveScalingMaxCapacityBuffer,
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
"PredictiveScalingMode"
(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)
predictiveScalingMode,
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
"ScalingPolicyUpdateBehavior"
(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)
scalingPolicyUpdateBehavior,
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
"ScheduledActionBufferTime"
(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)
scheduledActionBufferTime]))}
instance JSON.ToJSON ScalingInstructionProperty where
toJSON :: ScalingInstructionProperty -> Value
toJSON ScalingInstructionProperty {[TargetTrackingConfigurationProperty]
Maybe (Value Bool)
Maybe (Value Integer)
Maybe (Value Text)
Maybe CustomizedLoadMetricSpecificationProperty
Maybe PredefinedLoadMetricSpecificationProperty
()
Value Integer
Value Text
haddock_workaround_ :: ScalingInstructionProperty -> ()
customizedLoadMetricSpecification :: ScalingInstructionProperty
-> Maybe CustomizedLoadMetricSpecificationProperty
disableDynamicScaling :: ScalingInstructionProperty -> Maybe (Value Bool)
maxCapacity :: ScalingInstructionProperty -> Value Integer
minCapacity :: ScalingInstructionProperty -> Value Integer
predefinedLoadMetricSpecification :: ScalingInstructionProperty
-> Maybe PredefinedLoadMetricSpecificationProperty
predictiveScalingMaxCapacityBehavior :: ScalingInstructionProperty -> Maybe (Value Text)
predictiveScalingMaxCapacityBuffer :: ScalingInstructionProperty -> Maybe (Value Integer)
predictiveScalingMode :: ScalingInstructionProperty -> Maybe (Value Text)
resourceId :: ScalingInstructionProperty -> Value Text
scalableDimension :: ScalingInstructionProperty -> Value Text
scalingPolicyUpdateBehavior :: ScalingInstructionProperty -> Maybe (Value Text)
scheduledActionBufferTime :: ScalingInstructionProperty -> Maybe (Value Integer)
serviceNamespace :: ScalingInstructionProperty -> Value Text
targetTrackingConfigurations :: ScalingInstructionProperty -> [TargetTrackingConfigurationProperty]
haddock_workaround_ :: ()
customizedLoadMetricSpecification :: Maybe CustomizedLoadMetricSpecificationProperty
disableDynamicScaling :: Maybe (Value Bool)
maxCapacity :: Value Integer
minCapacity :: Value Integer
predefinedLoadMetricSpecification :: Maybe PredefinedLoadMetricSpecificationProperty
predictiveScalingMaxCapacityBehavior :: Maybe (Value Text)
predictiveScalingMaxCapacityBuffer :: Maybe (Value Integer)
predictiveScalingMode :: Maybe (Value Text)
resourceId :: Value Text
scalableDimension :: Value Text
scalingPolicyUpdateBehavior :: Maybe (Value Text)
scheduledActionBufferTime :: Maybe (Value Integer)
serviceNamespace :: Value Text
targetTrackingConfigurations :: [TargetTrackingConfigurationProperty]
..}
= [(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
"MaxCapacity" 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
maxCapacity,
Key
"MinCapacity" 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
minCapacity, Key
"ResourceId" 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
resourceId,
Key
"ScalableDimension" 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
scalableDimension,
Key
"ServiceNamespace" 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
serviceNamespace,
Key
"TargetTrackingConfigurations"
Key -> [TargetTrackingConfigurationProperty] -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= [TargetTrackingConfigurationProperty]
targetTrackingConfigurations]
([Maybe (Key, Value)] -> [(Key, Value)]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
[Key -> CustomizedLoadMetricSpecificationProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"CustomizedLoadMetricSpecification"
(CustomizedLoadMetricSpecificationProperty -> (Key, Value))
-> Maybe CustomizedLoadMetricSpecificationProperty
-> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe CustomizedLoadMetricSpecificationProperty
customizedLoadMetricSpecification,
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
"DisableDynamicScaling"
(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)
disableDynamicScaling,
Key -> PredefinedLoadMetricSpecificationProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"PredefinedLoadMetricSpecification"
(PredefinedLoadMetricSpecificationProperty -> (Key, Value))
-> Maybe PredefinedLoadMetricSpecificationProperty
-> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe PredefinedLoadMetricSpecificationProperty
predefinedLoadMetricSpecification,
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
"PredictiveScalingMaxCapacityBehavior"
(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)
predictiveScalingMaxCapacityBehavior,
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
"PredictiveScalingMaxCapacityBuffer"
(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)
predictiveScalingMaxCapacityBuffer,
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
"PredictiveScalingMode"
(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)
predictiveScalingMode,
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
"ScalingPolicyUpdateBehavior"
(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)
scalingPolicyUpdateBehavior,
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
"ScheduledActionBufferTime"
(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)
scheduledActionBufferTime])))
instance Property "CustomizedLoadMetricSpecification" ScalingInstructionProperty where
type PropertyType "CustomizedLoadMetricSpecification" ScalingInstructionProperty = CustomizedLoadMetricSpecificationProperty
set :: PropertyType
"CustomizedLoadMetricSpecification" ScalingInstructionProperty
-> ScalingInstructionProperty -> ScalingInstructionProperty
set PropertyType
"CustomizedLoadMetricSpecification" ScalingInstructionProperty
newValue ScalingInstructionProperty {[TargetTrackingConfigurationProperty]
Maybe (Value Bool)
Maybe (Value Integer)
Maybe (Value Text)
Maybe CustomizedLoadMetricSpecificationProperty
Maybe PredefinedLoadMetricSpecificationProperty
()
Value Integer
Value Text
haddock_workaround_ :: ScalingInstructionProperty -> ()
customizedLoadMetricSpecification :: ScalingInstructionProperty
-> Maybe CustomizedLoadMetricSpecificationProperty
disableDynamicScaling :: ScalingInstructionProperty -> Maybe (Value Bool)
maxCapacity :: ScalingInstructionProperty -> Value Integer
minCapacity :: ScalingInstructionProperty -> Value Integer
predefinedLoadMetricSpecification :: ScalingInstructionProperty
-> Maybe PredefinedLoadMetricSpecificationProperty
predictiveScalingMaxCapacityBehavior :: ScalingInstructionProperty -> Maybe (Value Text)
predictiveScalingMaxCapacityBuffer :: ScalingInstructionProperty -> Maybe (Value Integer)
predictiveScalingMode :: ScalingInstructionProperty -> Maybe (Value Text)
resourceId :: ScalingInstructionProperty -> Value Text
scalableDimension :: ScalingInstructionProperty -> Value Text
scalingPolicyUpdateBehavior :: ScalingInstructionProperty -> Maybe (Value Text)
scheduledActionBufferTime :: ScalingInstructionProperty -> Maybe (Value Integer)
serviceNamespace :: ScalingInstructionProperty -> Value Text
targetTrackingConfigurations :: ScalingInstructionProperty -> [TargetTrackingConfigurationProperty]
haddock_workaround_ :: ()
customizedLoadMetricSpecification :: Maybe CustomizedLoadMetricSpecificationProperty
disableDynamicScaling :: Maybe (Value Bool)
maxCapacity :: Value Integer
minCapacity :: Value Integer
predefinedLoadMetricSpecification :: Maybe PredefinedLoadMetricSpecificationProperty
predictiveScalingMaxCapacityBehavior :: Maybe (Value Text)
predictiveScalingMaxCapacityBuffer :: Maybe (Value Integer)
predictiveScalingMode :: Maybe (Value Text)
resourceId :: Value Text
scalableDimension :: Value Text
scalingPolicyUpdateBehavior :: Maybe (Value Text)
scheduledActionBufferTime :: Maybe (Value Integer)
serviceNamespace :: Value Text
targetTrackingConfigurations :: [TargetTrackingConfigurationProperty]
..}
= ScalingInstructionProperty
{customizedLoadMetricSpecification :: Maybe CustomizedLoadMetricSpecificationProperty
customizedLoadMetricSpecification = CustomizedLoadMetricSpecificationProperty
-> Maybe CustomizedLoadMetricSpecificationProperty
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType
"CustomizedLoadMetricSpecification" ScalingInstructionProperty
CustomizedLoadMetricSpecificationProperty
newValue, [TargetTrackingConfigurationProperty]
Maybe (Value Bool)
Maybe (Value Integer)
Maybe (Value Text)
Maybe PredefinedLoadMetricSpecificationProperty
()
Value Integer
Value Text
haddock_workaround_ :: ()
disableDynamicScaling :: Maybe (Value Bool)
maxCapacity :: Value Integer
minCapacity :: Value Integer
predefinedLoadMetricSpecification :: Maybe PredefinedLoadMetricSpecificationProperty
predictiveScalingMaxCapacityBehavior :: Maybe (Value Text)
predictiveScalingMaxCapacityBuffer :: Maybe (Value Integer)
predictiveScalingMode :: Maybe (Value Text)
resourceId :: Value Text
scalableDimension :: Value Text
scalingPolicyUpdateBehavior :: Maybe (Value Text)
scheduledActionBufferTime :: Maybe (Value Integer)
serviceNamespace :: Value Text
targetTrackingConfigurations :: [TargetTrackingConfigurationProperty]
haddock_workaround_ :: ()
disableDynamicScaling :: Maybe (Value Bool)
maxCapacity :: Value Integer
minCapacity :: Value Integer
predefinedLoadMetricSpecification :: Maybe PredefinedLoadMetricSpecificationProperty
predictiveScalingMaxCapacityBehavior :: Maybe (Value Text)
predictiveScalingMaxCapacityBuffer :: Maybe (Value Integer)
predictiveScalingMode :: Maybe (Value Text)
resourceId :: Value Text
scalableDimension :: Value Text
scalingPolicyUpdateBehavior :: Maybe (Value Text)
scheduledActionBufferTime :: Maybe (Value Integer)
serviceNamespace :: Value Text
targetTrackingConfigurations :: [TargetTrackingConfigurationProperty]
..}
instance Property "DisableDynamicScaling" ScalingInstructionProperty where
type PropertyType "DisableDynamicScaling" ScalingInstructionProperty = Value Prelude.Bool
set :: PropertyType "DisableDynamicScaling" ScalingInstructionProperty
-> ScalingInstructionProperty -> ScalingInstructionProperty
set PropertyType "DisableDynamicScaling" ScalingInstructionProperty
newValue ScalingInstructionProperty {[TargetTrackingConfigurationProperty]
Maybe (Value Bool)
Maybe (Value Integer)
Maybe (Value Text)
Maybe CustomizedLoadMetricSpecificationProperty
Maybe PredefinedLoadMetricSpecificationProperty
()
Value Integer
Value Text
haddock_workaround_ :: ScalingInstructionProperty -> ()
customizedLoadMetricSpecification :: ScalingInstructionProperty
-> Maybe CustomizedLoadMetricSpecificationProperty
disableDynamicScaling :: ScalingInstructionProperty -> Maybe (Value Bool)
maxCapacity :: ScalingInstructionProperty -> Value Integer
minCapacity :: ScalingInstructionProperty -> Value Integer
predefinedLoadMetricSpecification :: ScalingInstructionProperty
-> Maybe PredefinedLoadMetricSpecificationProperty
predictiveScalingMaxCapacityBehavior :: ScalingInstructionProperty -> Maybe (Value Text)
predictiveScalingMaxCapacityBuffer :: ScalingInstructionProperty -> Maybe (Value Integer)
predictiveScalingMode :: ScalingInstructionProperty -> Maybe (Value Text)
resourceId :: ScalingInstructionProperty -> Value Text
scalableDimension :: ScalingInstructionProperty -> Value Text
scalingPolicyUpdateBehavior :: ScalingInstructionProperty -> Maybe (Value Text)
scheduledActionBufferTime :: ScalingInstructionProperty -> Maybe (Value Integer)
serviceNamespace :: ScalingInstructionProperty -> Value Text
targetTrackingConfigurations :: ScalingInstructionProperty -> [TargetTrackingConfigurationProperty]
haddock_workaround_ :: ()
customizedLoadMetricSpecification :: Maybe CustomizedLoadMetricSpecificationProperty
disableDynamicScaling :: Maybe (Value Bool)
maxCapacity :: Value Integer
minCapacity :: Value Integer
predefinedLoadMetricSpecification :: Maybe PredefinedLoadMetricSpecificationProperty
predictiveScalingMaxCapacityBehavior :: Maybe (Value Text)
predictiveScalingMaxCapacityBuffer :: Maybe (Value Integer)
predictiveScalingMode :: Maybe (Value Text)
resourceId :: Value Text
scalableDimension :: Value Text
scalingPolicyUpdateBehavior :: Maybe (Value Text)
scheduledActionBufferTime :: Maybe (Value Integer)
serviceNamespace :: Value Text
targetTrackingConfigurations :: [TargetTrackingConfigurationProperty]
..}
= ScalingInstructionProperty
{disableDynamicScaling :: Maybe (Value Bool)
disableDynamicScaling = Value Bool -> Maybe (Value Bool)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "DisableDynamicScaling" ScalingInstructionProperty
Value Bool
newValue, [TargetTrackingConfigurationProperty]
Maybe (Value Integer)
Maybe (Value Text)
Maybe CustomizedLoadMetricSpecificationProperty
Maybe PredefinedLoadMetricSpecificationProperty
()
Value Integer
Value Text
haddock_workaround_ :: ()
customizedLoadMetricSpecification :: Maybe CustomizedLoadMetricSpecificationProperty
maxCapacity :: Value Integer
minCapacity :: Value Integer
predefinedLoadMetricSpecification :: Maybe PredefinedLoadMetricSpecificationProperty
predictiveScalingMaxCapacityBehavior :: Maybe (Value Text)
predictiveScalingMaxCapacityBuffer :: Maybe (Value Integer)
predictiveScalingMode :: Maybe (Value Text)
resourceId :: Value Text
scalableDimension :: Value Text
scalingPolicyUpdateBehavior :: Maybe (Value Text)
scheduledActionBufferTime :: Maybe (Value Integer)
serviceNamespace :: Value Text
targetTrackingConfigurations :: [TargetTrackingConfigurationProperty]
haddock_workaround_ :: ()
customizedLoadMetricSpecification :: Maybe CustomizedLoadMetricSpecificationProperty
maxCapacity :: Value Integer
minCapacity :: Value Integer
predefinedLoadMetricSpecification :: Maybe PredefinedLoadMetricSpecificationProperty
predictiveScalingMaxCapacityBehavior :: Maybe (Value Text)
predictiveScalingMaxCapacityBuffer :: Maybe (Value Integer)
predictiveScalingMode :: Maybe (Value Text)
resourceId :: Value Text
scalableDimension :: Value Text
scalingPolicyUpdateBehavior :: Maybe (Value Text)
scheduledActionBufferTime :: Maybe (Value Integer)
serviceNamespace :: Value Text
targetTrackingConfigurations :: [TargetTrackingConfigurationProperty]
..}
instance Property "MaxCapacity" ScalingInstructionProperty where
type PropertyType "MaxCapacity" ScalingInstructionProperty = Value Prelude.Integer
set :: PropertyType "MaxCapacity" ScalingInstructionProperty
-> ScalingInstructionProperty -> ScalingInstructionProperty
set PropertyType "MaxCapacity" ScalingInstructionProperty
newValue ScalingInstructionProperty {[TargetTrackingConfigurationProperty]
Maybe (Value Bool)
Maybe (Value Integer)
Maybe (Value Text)
Maybe CustomizedLoadMetricSpecificationProperty
Maybe PredefinedLoadMetricSpecificationProperty
()
Value Integer
Value Text
haddock_workaround_ :: ScalingInstructionProperty -> ()
customizedLoadMetricSpecification :: ScalingInstructionProperty
-> Maybe CustomizedLoadMetricSpecificationProperty
disableDynamicScaling :: ScalingInstructionProperty -> Maybe (Value Bool)
maxCapacity :: ScalingInstructionProperty -> Value Integer
minCapacity :: ScalingInstructionProperty -> Value Integer
predefinedLoadMetricSpecification :: ScalingInstructionProperty
-> Maybe PredefinedLoadMetricSpecificationProperty
predictiveScalingMaxCapacityBehavior :: ScalingInstructionProperty -> Maybe (Value Text)
predictiveScalingMaxCapacityBuffer :: ScalingInstructionProperty -> Maybe (Value Integer)
predictiveScalingMode :: ScalingInstructionProperty -> Maybe (Value Text)
resourceId :: ScalingInstructionProperty -> Value Text
scalableDimension :: ScalingInstructionProperty -> Value Text
scalingPolicyUpdateBehavior :: ScalingInstructionProperty -> Maybe (Value Text)
scheduledActionBufferTime :: ScalingInstructionProperty -> Maybe (Value Integer)
serviceNamespace :: ScalingInstructionProperty -> Value Text
targetTrackingConfigurations :: ScalingInstructionProperty -> [TargetTrackingConfigurationProperty]
haddock_workaround_ :: ()
customizedLoadMetricSpecification :: Maybe CustomizedLoadMetricSpecificationProperty
disableDynamicScaling :: Maybe (Value Bool)
maxCapacity :: Value Integer
minCapacity :: Value Integer
predefinedLoadMetricSpecification :: Maybe PredefinedLoadMetricSpecificationProperty
predictiveScalingMaxCapacityBehavior :: Maybe (Value Text)
predictiveScalingMaxCapacityBuffer :: Maybe (Value Integer)
predictiveScalingMode :: Maybe (Value Text)
resourceId :: Value Text
scalableDimension :: Value Text
scalingPolicyUpdateBehavior :: Maybe (Value Text)
scheduledActionBufferTime :: Maybe (Value Integer)
serviceNamespace :: Value Text
targetTrackingConfigurations :: [TargetTrackingConfigurationProperty]
..}
= ScalingInstructionProperty {maxCapacity :: Value Integer
maxCapacity = PropertyType "MaxCapacity" ScalingInstructionProperty
Value Integer
newValue, [TargetTrackingConfigurationProperty]
Maybe (Value Bool)
Maybe (Value Integer)
Maybe (Value Text)
Maybe CustomizedLoadMetricSpecificationProperty
Maybe PredefinedLoadMetricSpecificationProperty
()
Value Integer
Value Text
haddock_workaround_ :: ()
customizedLoadMetricSpecification :: Maybe CustomizedLoadMetricSpecificationProperty
disableDynamicScaling :: Maybe (Value Bool)
minCapacity :: Value Integer
predefinedLoadMetricSpecification :: Maybe PredefinedLoadMetricSpecificationProperty
predictiveScalingMaxCapacityBehavior :: Maybe (Value Text)
predictiveScalingMaxCapacityBuffer :: Maybe (Value Integer)
predictiveScalingMode :: Maybe (Value Text)
resourceId :: Value Text
scalableDimension :: Value Text
scalingPolicyUpdateBehavior :: Maybe (Value Text)
scheduledActionBufferTime :: Maybe (Value Integer)
serviceNamespace :: Value Text
targetTrackingConfigurations :: [TargetTrackingConfigurationProperty]
haddock_workaround_ :: ()
customizedLoadMetricSpecification :: Maybe CustomizedLoadMetricSpecificationProperty
disableDynamicScaling :: Maybe (Value Bool)
minCapacity :: Value Integer
predefinedLoadMetricSpecification :: Maybe PredefinedLoadMetricSpecificationProperty
predictiveScalingMaxCapacityBehavior :: Maybe (Value Text)
predictiveScalingMaxCapacityBuffer :: Maybe (Value Integer)
predictiveScalingMode :: Maybe (Value Text)
resourceId :: Value Text
scalableDimension :: Value Text
scalingPolicyUpdateBehavior :: Maybe (Value Text)
scheduledActionBufferTime :: Maybe (Value Integer)
serviceNamespace :: Value Text
targetTrackingConfigurations :: [TargetTrackingConfigurationProperty]
..}
instance Property "MinCapacity" ScalingInstructionProperty where
type PropertyType "MinCapacity" ScalingInstructionProperty = Value Prelude.Integer
set :: PropertyType "MinCapacity" ScalingInstructionProperty
-> ScalingInstructionProperty -> ScalingInstructionProperty
set PropertyType "MinCapacity" ScalingInstructionProperty
newValue ScalingInstructionProperty {[TargetTrackingConfigurationProperty]
Maybe (Value Bool)
Maybe (Value Integer)
Maybe (Value Text)
Maybe CustomizedLoadMetricSpecificationProperty
Maybe PredefinedLoadMetricSpecificationProperty
()
Value Integer
Value Text
haddock_workaround_ :: ScalingInstructionProperty -> ()
customizedLoadMetricSpecification :: ScalingInstructionProperty
-> Maybe CustomizedLoadMetricSpecificationProperty
disableDynamicScaling :: ScalingInstructionProperty -> Maybe (Value Bool)
maxCapacity :: ScalingInstructionProperty -> Value Integer
minCapacity :: ScalingInstructionProperty -> Value Integer
predefinedLoadMetricSpecification :: ScalingInstructionProperty
-> Maybe PredefinedLoadMetricSpecificationProperty
predictiveScalingMaxCapacityBehavior :: ScalingInstructionProperty -> Maybe (Value Text)
predictiveScalingMaxCapacityBuffer :: ScalingInstructionProperty -> Maybe (Value Integer)
predictiveScalingMode :: ScalingInstructionProperty -> Maybe (Value Text)
resourceId :: ScalingInstructionProperty -> Value Text
scalableDimension :: ScalingInstructionProperty -> Value Text
scalingPolicyUpdateBehavior :: ScalingInstructionProperty -> Maybe (Value Text)
scheduledActionBufferTime :: ScalingInstructionProperty -> Maybe (Value Integer)
serviceNamespace :: ScalingInstructionProperty -> Value Text
targetTrackingConfigurations :: ScalingInstructionProperty -> [TargetTrackingConfigurationProperty]
haddock_workaround_ :: ()
customizedLoadMetricSpecification :: Maybe CustomizedLoadMetricSpecificationProperty
disableDynamicScaling :: Maybe (Value Bool)
maxCapacity :: Value Integer
minCapacity :: Value Integer
predefinedLoadMetricSpecification :: Maybe PredefinedLoadMetricSpecificationProperty
predictiveScalingMaxCapacityBehavior :: Maybe (Value Text)
predictiveScalingMaxCapacityBuffer :: Maybe (Value Integer)
predictiveScalingMode :: Maybe (Value Text)
resourceId :: Value Text
scalableDimension :: Value Text
scalingPolicyUpdateBehavior :: Maybe (Value Text)
scheduledActionBufferTime :: Maybe (Value Integer)
serviceNamespace :: Value Text
targetTrackingConfigurations :: [TargetTrackingConfigurationProperty]
..}
= ScalingInstructionProperty {minCapacity :: Value Integer
minCapacity = PropertyType "MinCapacity" ScalingInstructionProperty
Value Integer
newValue, [TargetTrackingConfigurationProperty]
Maybe (Value Bool)
Maybe (Value Integer)
Maybe (Value Text)
Maybe CustomizedLoadMetricSpecificationProperty
Maybe PredefinedLoadMetricSpecificationProperty
()
Value Integer
Value Text
haddock_workaround_ :: ()
customizedLoadMetricSpecification :: Maybe CustomizedLoadMetricSpecificationProperty
disableDynamicScaling :: Maybe (Value Bool)
maxCapacity :: Value Integer
predefinedLoadMetricSpecification :: Maybe PredefinedLoadMetricSpecificationProperty
predictiveScalingMaxCapacityBehavior :: Maybe (Value Text)
predictiveScalingMaxCapacityBuffer :: Maybe (Value Integer)
predictiveScalingMode :: Maybe (Value Text)
resourceId :: Value Text
scalableDimension :: Value Text
scalingPolicyUpdateBehavior :: Maybe (Value Text)
scheduledActionBufferTime :: Maybe (Value Integer)
serviceNamespace :: Value Text
targetTrackingConfigurations :: [TargetTrackingConfigurationProperty]
haddock_workaround_ :: ()
customizedLoadMetricSpecification :: Maybe CustomizedLoadMetricSpecificationProperty
disableDynamicScaling :: Maybe (Value Bool)
maxCapacity :: Value Integer
predefinedLoadMetricSpecification :: Maybe PredefinedLoadMetricSpecificationProperty
predictiveScalingMaxCapacityBehavior :: Maybe (Value Text)
predictiveScalingMaxCapacityBuffer :: Maybe (Value Integer)
predictiveScalingMode :: Maybe (Value Text)
resourceId :: Value Text
scalableDimension :: Value Text
scalingPolicyUpdateBehavior :: Maybe (Value Text)
scheduledActionBufferTime :: Maybe (Value Integer)
serviceNamespace :: Value Text
targetTrackingConfigurations :: [TargetTrackingConfigurationProperty]
..}
instance Property "PredefinedLoadMetricSpecification" ScalingInstructionProperty where
type PropertyType "PredefinedLoadMetricSpecification" ScalingInstructionProperty = PredefinedLoadMetricSpecificationProperty
set :: PropertyType
"PredefinedLoadMetricSpecification" ScalingInstructionProperty
-> ScalingInstructionProperty -> ScalingInstructionProperty
set PropertyType
"PredefinedLoadMetricSpecification" ScalingInstructionProperty
newValue ScalingInstructionProperty {[TargetTrackingConfigurationProperty]
Maybe (Value Bool)
Maybe (Value Integer)
Maybe (Value Text)
Maybe CustomizedLoadMetricSpecificationProperty
Maybe PredefinedLoadMetricSpecificationProperty
()
Value Integer
Value Text
haddock_workaround_ :: ScalingInstructionProperty -> ()
customizedLoadMetricSpecification :: ScalingInstructionProperty
-> Maybe CustomizedLoadMetricSpecificationProperty
disableDynamicScaling :: ScalingInstructionProperty -> Maybe (Value Bool)
maxCapacity :: ScalingInstructionProperty -> Value Integer
minCapacity :: ScalingInstructionProperty -> Value Integer
predefinedLoadMetricSpecification :: ScalingInstructionProperty
-> Maybe PredefinedLoadMetricSpecificationProperty
predictiveScalingMaxCapacityBehavior :: ScalingInstructionProperty -> Maybe (Value Text)
predictiveScalingMaxCapacityBuffer :: ScalingInstructionProperty -> Maybe (Value Integer)
predictiveScalingMode :: ScalingInstructionProperty -> Maybe (Value Text)
resourceId :: ScalingInstructionProperty -> Value Text
scalableDimension :: ScalingInstructionProperty -> Value Text
scalingPolicyUpdateBehavior :: ScalingInstructionProperty -> Maybe (Value Text)
scheduledActionBufferTime :: ScalingInstructionProperty -> Maybe (Value Integer)
serviceNamespace :: ScalingInstructionProperty -> Value Text
targetTrackingConfigurations :: ScalingInstructionProperty -> [TargetTrackingConfigurationProperty]
haddock_workaround_ :: ()
customizedLoadMetricSpecification :: Maybe CustomizedLoadMetricSpecificationProperty
disableDynamicScaling :: Maybe (Value Bool)
maxCapacity :: Value Integer
minCapacity :: Value Integer
predefinedLoadMetricSpecification :: Maybe PredefinedLoadMetricSpecificationProperty
predictiveScalingMaxCapacityBehavior :: Maybe (Value Text)
predictiveScalingMaxCapacityBuffer :: Maybe (Value Integer)
predictiveScalingMode :: Maybe (Value Text)
resourceId :: Value Text
scalableDimension :: Value Text
scalingPolicyUpdateBehavior :: Maybe (Value Text)
scheduledActionBufferTime :: Maybe (Value Integer)
serviceNamespace :: Value Text
targetTrackingConfigurations :: [TargetTrackingConfigurationProperty]
..}
= ScalingInstructionProperty
{predefinedLoadMetricSpecification :: Maybe PredefinedLoadMetricSpecificationProperty
predefinedLoadMetricSpecification = PredefinedLoadMetricSpecificationProperty
-> Maybe PredefinedLoadMetricSpecificationProperty
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType
"PredefinedLoadMetricSpecification" ScalingInstructionProperty
PredefinedLoadMetricSpecificationProperty
newValue, [TargetTrackingConfigurationProperty]
Maybe (Value Bool)
Maybe (Value Integer)
Maybe (Value Text)
Maybe CustomizedLoadMetricSpecificationProperty
()
Value Integer
Value Text
haddock_workaround_ :: ()
customizedLoadMetricSpecification :: Maybe CustomizedLoadMetricSpecificationProperty
disableDynamicScaling :: Maybe (Value Bool)
maxCapacity :: Value Integer
minCapacity :: Value Integer
predictiveScalingMaxCapacityBehavior :: Maybe (Value Text)
predictiveScalingMaxCapacityBuffer :: Maybe (Value Integer)
predictiveScalingMode :: Maybe (Value Text)
resourceId :: Value Text
scalableDimension :: Value Text
scalingPolicyUpdateBehavior :: Maybe (Value Text)
scheduledActionBufferTime :: Maybe (Value Integer)
serviceNamespace :: Value Text
targetTrackingConfigurations :: [TargetTrackingConfigurationProperty]
haddock_workaround_ :: ()
customizedLoadMetricSpecification :: Maybe CustomizedLoadMetricSpecificationProperty
disableDynamicScaling :: Maybe (Value Bool)
maxCapacity :: Value Integer
minCapacity :: Value Integer
predictiveScalingMaxCapacityBehavior :: Maybe (Value Text)
predictiveScalingMaxCapacityBuffer :: Maybe (Value Integer)
predictiveScalingMode :: Maybe (Value Text)
resourceId :: Value Text
scalableDimension :: Value Text
scalingPolicyUpdateBehavior :: Maybe (Value Text)
scheduledActionBufferTime :: Maybe (Value Integer)
serviceNamespace :: Value Text
targetTrackingConfigurations :: [TargetTrackingConfigurationProperty]
..}
instance Property "PredictiveScalingMaxCapacityBehavior" ScalingInstructionProperty where
type PropertyType "PredictiveScalingMaxCapacityBehavior" ScalingInstructionProperty = Value Prelude.Text
set :: PropertyType
"PredictiveScalingMaxCapacityBehavior" ScalingInstructionProperty
-> ScalingInstructionProperty -> ScalingInstructionProperty
set PropertyType
"PredictiveScalingMaxCapacityBehavior" ScalingInstructionProperty
newValue ScalingInstructionProperty {[TargetTrackingConfigurationProperty]
Maybe (Value Bool)
Maybe (Value Integer)
Maybe (Value Text)
Maybe CustomizedLoadMetricSpecificationProperty
Maybe PredefinedLoadMetricSpecificationProperty
()
Value Integer
Value Text
haddock_workaround_ :: ScalingInstructionProperty -> ()
customizedLoadMetricSpecification :: ScalingInstructionProperty
-> Maybe CustomizedLoadMetricSpecificationProperty
disableDynamicScaling :: ScalingInstructionProperty -> Maybe (Value Bool)
maxCapacity :: ScalingInstructionProperty -> Value Integer
minCapacity :: ScalingInstructionProperty -> Value Integer
predefinedLoadMetricSpecification :: ScalingInstructionProperty
-> Maybe PredefinedLoadMetricSpecificationProperty
predictiveScalingMaxCapacityBehavior :: ScalingInstructionProperty -> Maybe (Value Text)
predictiveScalingMaxCapacityBuffer :: ScalingInstructionProperty -> Maybe (Value Integer)
predictiveScalingMode :: ScalingInstructionProperty -> Maybe (Value Text)
resourceId :: ScalingInstructionProperty -> Value Text
scalableDimension :: ScalingInstructionProperty -> Value Text
scalingPolicyUpdateBehavior :: ScalingInstructionProperty -> Maybe (Value Text)
scheduledActionBufferTime :: ScalingInstructionProperty -> Maybe (Value Integer)
serviceNamespace :: ScalingInstructionProperty -> Value Text
targetTrackingConfigurations :: ScalingInstructionProperty -> [TargetTrackingConfigurationProperty]
haddock_workaround_ :: ()
customizedLoadMetricSpecification :: Maybe CustomizedLoadMetricSpecificationProperty
disableDynamicScaling :: Maybe (Value Bool)
maxCapacity :: Value Integer
minCapacity :: Value Integer
predefinedLoadMetricSpecification :: Maybe PredefinedLoadMetricSpecificationProperty
predictiveScalingMaxCapacityBehavior :: Maybe (Value Text)
predictiveScalingMaxCapacityBuffer :: Maybe (Value Integer)
predictiveScalingMode :: Maybe (Value Text)
resourceId :: Value Text
scalableDimension :: Value Text
scalingPolicyUpdateBehavior :: Maybe (Value Text)
scheduledActionBufferTime :: Maybe (Value Integer)
serviceNamespace :: Value Text
targetTrackingConfigurations :: [TargetTrackingConfigurationProperty]
..}
= ScalingInstructionProperty
{predictiveScalingMaxCapacityBehavior :: Maybe (Value Text)
predictiveScalingMaxCapacityBehavior = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType
"PredictiveScalingMaxCapacityBehavior" ScalingInstructionProperty
Value Text
newValue, [TargetTrackingConfigurationProperty]
Maybe (Value Bool)
Maybe (Value Integer)
Maybe (Value Text)
Maybe CustomizedLoadMetricSpecificationProperty
Maybe PredefinedLoadMetricSpecificationProperty
()
Value Integer
Value Text
haddock_workaround_ :: ()
customizedLoadMetricSpecification :: Maybe CustomizedLoadMetricSpecificationProperty
disableDynamicScaling :: Maybe (Value Bool)
maxCapacity :: Value Integer
minCapacity :: Value Integer
predefinedLoadMetricSpecification :: Maybe PredefinedLoadMetricSpecificationProperty
predictiveScalingMaxCapacityBuffer :: Maybe (Value Integer)
predictiveScalingMode :: Maybe (Value Text)
resourceId :: Value Text
scalableDimension :: Value Text
scalingPolicyUpdateBehavior :: Maybe (Value Text)
scheduledActionBufferTime :: Maybe (Value Integer)
serviceNamespace :: Value Text
targetTrackingConfigurations :: [TargetTrackingConfigurationProperty]
haddock_workaround_ :: ()
customizedLoadMetricSpecification :: Maybe CustomizedLoadMetricSpecificationProperty
disableDynamicScaling :: Maybe (Value Bool)
maxCapacity :: Value Integer
minCapacity :: Value Integer
predefinedLoadMetricSpecification :: Maybe PredefinedLoadMetricSpecificationProperty
predictiveScalingMaxCapacityBuffer :: Maybe (Value Integer)
predictiveScalingMode :: Maybe (Value Text)
resourceId :: Value Text
scalableDimension :: Value Text
scalingPolicyUpdateBehavior :: Maybe (Value Text)
scheduledActionBufferTime :: Maybe (Value Integer)
serviceNamespace :: Value Text
targetTrackingConfigurations :: [TargetTrackingConfigurationProperty]
..}
instance Property "PredictiveScalingMaxCapacityBuffer" ScalingInstructionProperty where
type PropertyType "PredictiveScalingMaxCapacityBuffer" ScalingInstructionProperty = Value Prelude.Integer
set :: PropertyType
"PredictiveScalingMaxCapacityBuffer" ScalingInstructionProperty
-> ScalingInstructionProperty -> ScalingInstructionProperty
set PropertyType
"PredictiveScalingMaxCapacityBuffer" ScalingInstructionProperty
newValue ScalingInstructionProperty {[TargetTrackingConfigurationProperty]
Maybe (Value Bool)
Maybe (Value Integer)
Maybe (Value Text)
Maybe CustomizedLoadMetricSpecificationProperty
Maybe PredefinedLoadMetricSpecificationProperty
()
Value Integer
Value Text
haddock_workaround_ :: ScalingInstructionProperty -> ()
customizedLoadMetricSpecification :: ScalingInstructionProperty
-> Maybe CustomizedLoadMetricSpecificationProperty
disableDynamicScaling :: ScalingInstructionProperty -> Maybe (Value Bool)
maxCapacity :: ScalingInstructionProperty -> Value Integer
minCapacity :: ScalingInstructionProperty -> Value Integer
predefinedLoadMetricSpecification :: ScalingInstructionProperty
-> Maybe PredefinedLoadMetricSpecificationProperty
predictiveScalingMaxCapacityBehavior :: ScalingInstructionProperty -> Maybe (Value Text)
predictiveScalingMaxCapacityBuffer :: ScalingInstructionProperty -> Maybe (Value Integer)
predictiveScalingMode :: ScalingInstructionProperty -> Maybe (Value Text)
resourceId :: ScalingInstructionProperty -> Value Text
scalableDimension :: ScalingInstructionProperty -> Value Text
scalingPolicyUpdateBehavior :: ScalingInstructionProperty -> Maybe (Value Text)
scheduledActionBufferTime :: ScalingInstructionProperty -> Maybe (Value Integer)
serviceNamespace :: ScalingInstructionProperty -> Value Text
targetTrackingConfigurations :: ScalingInstructionProperty -> [TargetTrackingConfigurationProperty]
haddock_workaround_ :: ()
customizedLoadMetricSpecification :: Maybe CustomizedLoadMetricSpecificationProperty
disableDynamicScaling :: Maybe (Value Bool)
maxCapacity :: Value Integer
minCapacity :: Value Integer
predefinedLoadMetricSpecification :: Maybe PredefinedLoadMetricSpecificationProperty
predictiveScalingMaxCapacityBehavior :: Maybe (Value Text)
predictiveScalingMaxCapacityBuffer :: Maybe (Value Integer)
predictiveScalingMode :: Maybe (Value Text)
resourceId :: Value Text
scalableDimension :: Value Text
scalingPolicyUpdateBehavior :: Maybe (Value Text)
scheduledActionBufferTime :: Maybe (Value Integer)
serviceNamespace :: Value Text
targetTrackingConfigurations :: [TargetTrackingConfigurationProperty]
..}
= ScalingInstructionProperty
{predictiveScalingMaxCapacityBuffer :: Maybe (Value Integer)
predictiveScalingMaxCapacityBuffer = Value Integer -> Maybe (Value Integer)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType
"PredictiveScalingMaxCapacityBuffer" ScalingInstructionProperty
Value Integer
newValue, [TargetTrackingConfigurationProperty]
Maybe (Value Bool)
Maybe (Value Integer)
Maybe (Value Text)
Maybe CustomizedLoadMetricSpecificationProperty
Maybe PredefinedLoadMetricSpecificationProperty
()
Value Integer
Value Text
haddock_workaround_ :: ()
customizedLoadMetricSpecification :: Maybe CustomizedLoadMetricSpecificationProperty
disableDynamicScaling :: Maybe (Value Bool)
maxCapacity :: Value Integer
minCapacity :: Value Integer
predefinedLoadMetricSpecification :: Maybe PredefinedLoadMetricSpecificationProperty
predictiveScalingMaxCapacityBehavior :: Maybe (Value Text)
predictiveScalingMode :: Maybe (Value Text)
resourceId :: Value Text
scalableDimension :: Value Text
scalingPolicyUpdateBehavior :: Maybe (Value Text)
scheduledActionBufferTime :: Maybe (Value Integer)
serviceNamespace :: Value Text
targetTrackingConfigurations :: [TargetTrackingConfigurationProperty]
haddock_workaround_ :: ()
customizedLoadMetricSpecification :: Maybe CustomizedLoadMetricSpecificationProperty
disableDynamicScaling :: Maybe (Value Bool)
maxCapacity :: Value Integer
minCapacity :: Value Integer
predefinedLoadMetricSpecification :: Maybe PredefinedLoadMetricSpecificationProperty
predictiveScalingMaxCapacityBehavior :: Maybe (Value Text)
predictiveScalingMode :: Maybe (Value Text)
resourceId :: Value Text
scalableDimension :: Value Text
scalingPolicyUpdateBehavior :: Maybe (Value Text)
scheduledActionBufferTime :: Maybe (Value Integer)
serviceNamespace :: Value Text
targetTrackingConfigurations :: [TargetTrackingConfigurationProperty]
..}
instance Property "PredictiveScalingMode" ScalingInstructionProperty where
type PropertyType "PredictiveScalingMode" ScalingInstructionProperty = Value Prelude.Text
set :: PropertyType "PredictiveScalingMode" ScalingInstructionProperty
-> ScalingInstructionProperty -> ScalingInstructionProperty
set PropertyType "PredictiveScalingMode" ScalingInstructionProperty
newValue ScalingInstructionProperty {[TargetTrackingConfigurationProperty]
Maybe (Value Bool)
Maybe (Value Integer)
Maybe (Value Text)
Maybe CustomizedLoadMetricSpecificationProperty
Maybe PredefinedLoadMetricSpecificationProperty
()
Value Integer
Value Text
haddock_workaround_ :: ScalingInstructionProperty -> ()
customizedLoadMetricSpecification :: ScalingInstructionProperty
-> Maybe CustomizedLoadMetricSpecificationProperty
disableDynamicScaling :: ScalingInstructionProperty -> Maybe (Value Bool)
maxCapacity :: ScalingInstructionProperty -> Value Integer
minCapacity :: ScalingInstructionProperty -> Value Integer
predefinedLoadMetricSpecification :: ScalingInstructionProperty
-> Maybe PredefinedLoadMetricSpecificationProperty
predictiveScalingMaxCapacityBehavior :: ScalingInstructionProperty -> Maybe (Value Text)
predictiveScalingMaxCapacityBuffer :: ScalingInstructionProperty -> Maybe (Value Integer)
predictiveScalingMode :: ScalingInstructionProperty -> Maybe (Value Text)
resourceId :: ScalingInstructionProperty -> Value Text
scalableDimension :: ScalingInstructionProperty -> Value Text
scalingPolicyUpdateBehavior :: ScalingInstructionProperty -> Maybe (Value Text)
scheduledActionBufferTime :: ScalingInstructionProperty -> Maybe (Value Integer)
serviceNamespace :: ScalingInstructionProperty -> Value Text
targetTrackingConfigurations :: ScalingInstructionProperty -> [TargetTrackingConfigurationProperty]
haddock_workaround_ :: ()
customizedLoadMetricSpecification :: Maybe CustomizedLoadMetricSpecificationProperty
disableDynamicScaling :: Maybe (Value Bool)
maxCapacity :: Value Integer
minCapacity :: Value Integer
predefinedLoadMetricSpecification :: Maybe PredefinedLoadMetricSpecificationProperty
predictiveScalingMaxCapacityBehavior :: Maybe (Value Text)
predictiveScalingMaxCapacityBuffer :: Maybe (Value Integer)
predictiveScalingMode :: Maybe (Value Text)
resourceId :: Value Text
scalableDimension :: Value Text
scalingPolicyUpdateBehavior :: Maybe (Value Text)
scheduledActionBufferTime :: Maybe (Value Integer)
serviceNamespace :: Value Text
targetTrackingConfigurations :: [TargetTrackingConfigurationProperty]
..}
= ScalingInstructionProperty
{predictiveScalingMode :: Maybe (Value Text)
predictiveScalingMode = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "PredictiveScalingMode" ScalingInstructionProperty
Value Text
newValue, [TargetTrackingConfigurationProperty]
Maybe (Value Bool)
Maybe (Value Integer)
Maybe (Value Text)
Maybe CustomizedLoadMetricSpecificationProperty
Maybe PredefinedLoadMetricSpecificationProperty
()
Value Integer
Value Text
haddock_workaround_ :: ()
customizedLoadMetricSpecification :: Maybe CustomizedLoadMetricSpecificationProperty
disableDynamicScaling :: Maybe (Value Bool)
maxCapacity :: Value Integer
minCapacity :: Value Integer
predefinedLoadMetricSpecification :: Maybe PredefinedLoadMetricSpecificationProperty
predictiveScalingMaxCapacityBehavior :: Maybe (Value Text)
predictiveScalingMaxCapacityBuffer :: Maybe (Value Integer)
resourceId :: Value Text
scalableDimension :: Value Text
scalingPolicyUpdateBehavior :: Maybe (Value Text)
scheduledActionBufferTime :: Maybe (Value Integer)
serviceNamespace :: Value Text
targetTrackingConfigurations :: [TargetTrackingConfigurationProperty]
haddock_workaround_ :: ()
customizedLoadMetricSpecification :: Maybe CustomizedLoadMetricSpecificationProperty
disableDynamicScaling :: Maybe (Value Bool)
maxCapacity :: Value Integer
minCapacity :: Value Integer
predefinedLoadMetricSpecification :: Maybe PredefinedLoadMetricSpecificationProperty
predictiveScalingMaxCapacityBehavior :: Maybe (Value Text)
predictiveScalingMaxCapacityBuffer :: Maybe (Value Integer)
resourceId :: Value Text
scalableDimension :: Value Text
scalingPolicyUpdateBehavior :: Maybe (Value Text)
scheduledActionBufferTime :: Maybe (Value Integer)
serviceNamespace :: Value Text
targetTrackingConfigurations :: [TargetTrackingConfigurationProperty]
..}
instance Property "ResourceId" ScalingInstructionProperty where
type PropertyType "ResourceId" ScalingInstructionProperty = Value Prelude.Text
set :: PropertyType "ResourceId" ScalingInstructionProperty
-> ScalingInstructionProperty -> ScalingInstructionProperty
set PropertyType "ResourceId" ScalingInstructionProperty
newValue ScalingInstructionProperty {[TargetTrackingConfigurationProperty]
Maybe (Value Bool)
Maybe (Value Integer)
Maybe (Value Text)
Maybe CustomizedLoadMetricSpecificationProperty
Maybe PredefinedLoadMetricSpecificationProperty
()
Value Integer
Value Text
haddock_workaround_ :: ScalingInstructionProperty -> ()
customizedLoadMetricSpecification :: ScalingInstructionProperty
-> Maybe CustomizedLoadMetricSpecificationProperty
disableDynamicScaling :: ScalingInstructionProperty -> Maybe (Value Bool)
maxCapacity :: ScalingInstructionProperty -> Value Integer
minCapacity :: ScalingInstructionProperty -> Value Integer
predefinedLoadMetricSpecification :: ScalingInstructionProperty
-> Maybe PredefinedLoadMetricSpecificationProperty
predictiveScalingMaxCapacityBehavior :: ScalingInstructionProperty -> Maybe (Value Text)
predictiveScalingMaxCapacityBuffer :: ScalingInstructionProperty -> Maybe (Value Integer)
predictiveScalingMode :: ScalingInstructionProperty -> Maybe (Value Text)
resourceId :: ScalingInstructionProperty -> Value Text
scalableDimension :: ScalingInstructionProperty -> Value Text
scalingPolicyUpdateBehavior :: ScalingInstructionProperty -> Maybe (Value Text)
scheduledActionBufferTime :: ScalingInstructionProperty -> Maybe (Value Integer)
serviceNamespace :: ScalingInstructionProperty -> Value Text
targetTrackingConfigurations :: ScalingInstructionProperty -> [TargetTrackingConfigurationProperty]
haddock_workaround_ :: ()
customizedLoadMetricSpecification :: Maybe CustomizedLoadMetricSpecificationProperty
disableDynamicScaling :: Maybe (Value Bool)
maxCapacity :: Value Integer
minCapacity :: Value Integer
predefinedLoadMetricSpecification :: Maybe PredefinedLoadMetricSpecificationProperty
predictiveScalingMaxCapacityBehavior :: Maybe (Value Text)
predictiveScalingMaxCapacityBuffer :: Maybe (Value Integer)
predictiveScalingMode :: Maybe (Value Text)
resourceId :: Value Text
scalableDimension :: Value Text
scalingPolicyUpdateBehavior :: Maybe (Value Text)
scheduledActionBufferTime :: Maybe (Value Integer)
serviceNamespace :: Value Text
targetTrackingConfigurations :: [TargetTrackingConfigurationProperty]
..}
= ScalingInstructionProperty {resourceId :: Value Text
resourceId = PropertyType "ResourceId" ScalingInstructionProperty
Value Text
newValue, [TargetTrackingConfigurationProperty]
Maybe (Value Bool)
Maybe (Value Integer)
Maybe (Value Text)
Maybe CustomizedLoadMetricSpecificationProperty
Maybe PredefinedLoadMetricSpecificationProperty
()
Value Integer
Value Text
haddock_workaround_ :: ()
customizedLoadMetricSpecification :: Maybe CustomizedLoadMetricSpecificationProperty
disableDynamicScaling :: Maybe (Value Bool)
maxCapacity :: Value Integer
minCapacity :: Value Integer
predefinedLoadMetricSpecification :: Maybe PredefinedLoadMetricSpecificationProperty
predictiveScalingMaxCapacityBehavior :: Maybe (Value Text)
predictiveScalingMaxCapacityBuffer :: Maybe (Value Integer)
predictiveScalingMode :: Maybe (Value Text)
scalableDimension :: Value Text
scalingPolicyUpdateBehavior :: Maybe (Value Text)
scheduledActionBufferTime :: Maybe (Value Integer)
serviceNamespace :: Value Text
targetTrackingConfigurations :: [TargetTrackingConfigurationProperty]
haddock_workaround_ :: ()
customizedLoadMetricSpecification :: Maybe CustomizedLoadMetricSpecificationProperty
disableDynamicScaling :: Maybe (Value Bool)
maxCapacity :: Value Integer
minCapacity :: Value Integer
predefinedLoadMetricSpecification :: Maybe PredefinedLoadMetricSpecificationProperty
predictiveScalingMaxCapacityBehavior :: Maybe (Value Text)
predictiveScalingMaxCapacityBuffer :: Maybe (Value Integer)
predictiveScalingMode :: Maybe (Value Text)
scalableDimension :: Value Text
scalingPolicyUpdateBehavior :: Maybe (Value Text)
scheduledActionBufferTime :: Maybe (Value Integer)
serviceNamespace :: Value Text
targetTrackingConfigurations :: [TargetTrackingConfigurationProperty]
..}
instance Property "ScalableDimension" ScalingInstructionProperty where
type PropertyType "ScalableDimension" ScalingInstructionProperty = Value Prelude.Text
set :: PropertyType "ScalableDimension" ScalingInstructionProperty
-> ScalingInstructionProperty -> ScalingInstructionProperty
set PropertyType "ScalableDimension" ScalingInstructionProperty
newValue ScalingInstructionProperty {[TargetTrackingConfigurationProperty]
Maybe (Value Bool)
Maybe (Value Integer)
Maybe (Value Text)
Maybe CustomizedLoadMetricSpecificationProperty
Maybe PredefinedLoadMetricSpecificationProperty
()
Value Integer
Value Text
haddock_workaround_ :: ScalingInstructionProperty -> ()
customizedLoadMetricSpecification :: ScalingInstructionProperty
-> Maybe CustomizedLoadMetricSpecificationProperty
disableDynamicScaling :: ScalingInstructionProperty -> Maybe (Value Bool)
maxCapacity :: ScalingInstructionProperty -> Value Integer
minCapacity :: ScalingInstructionProperty -> Value Integer
predefinedLoadMetricSpecification :: ScalingInstructionProperty
-> Maybe PredefinedLoadMetricSpecificationProperty
predictiveScalingMaxCapacityBehavior :: ScalingInstructionProperty -> Maybe (Value Text)
predictiveScalingMaxCapacityBuffer :: ScalingInstructionProperty -> Maybe (Value Integer)
predictiveScalingMode :: ScalingInstructionProperty -> Maybe (Value Text)
resourceId :: ScalingInstructionProperty -> Value Text
scalableDimension :: ScalingInstructionProperty -> Value Text
scalingPolicyUpdateBehavior :: ScalingInstructionProperty -> Maybe (Value Text)
scheduledActionBufferTime :: ScalingInstructionProperty -> Maybe (Value Integer)
serviceNamespace :: ScalingInstructionProperty -> Value Text
targetTrackingConfigurations :: ScalingInstructionProperty -> [TargetTrackingConfigurationProperty]
haddock_workaround_ :: ()
customizedLoadMetricSpecification :: Maybe CustomizedLoadMetricSpecificationProperty
disableDynamicScaling :: Maybe (Value Bool)
maxCapacity :: Value Integer
minCapacity :: Value Integer
predefinedLoadMetricSpecification :: Maybe PredefinedLoadMetricSpecificationProperty
predictiveScalingMaxCapacityBehavior :: Maybe (Value Text)
predictiveScalingMaxCapacityBuffer :: Maybe (Value Integer)
predictiveScalingMode :: Maybe (Value Text)
resourceId :: Value Text
scalableDimension :: Value Text
scalingPolicyUpdateBehavior :: Maybe (Value Text)
scheduledActionBufferTime :: Maybe (Value Integer)
serviceNamespace :: Value Text
targetTrackingConfigurations :: [TargetTrackingConfigurationProperty]
..}
= ScalingInstructionProperty {scalableDimension :: Value Text
scalableDimension = PropertyType "ScalableDimension" ScalingInstructionProperty
Value Text
newValue, [TargetTrackingConfigurationProperty]
Maybe (Value Bool)
Maybe (Value Integer)
Maybe (Value Text)
Maybe CustomizedLoadMetricSpecificationProperty
Maybe PredefinedLoadMetricSpecificationProperty
()
Value Integer
Value Text
haddock_workaround_ :: ()
customizedLoadMetricSpecification :: Maybe CustomizedLoadMetricSpecificationProperty
disableDynamicScaling :: Maybe (Value Bool)
maxCapacity :: Value Integer
minCapacity :: Value Integer
predefinedLoadMetricSpecification :: Maybe PredefinedLoadMetricSpecificationProperty
predictiveScalingMaxCapacityBehavior :: Maybe (Value Text)
predictiveScalingMaxCapacityBuffer :: Maybe (Value Integer)
predictiveScalingMode :: Maybe (Value Text)
resourceId :: Value Text
scalingPolicyUpdateBehavior :: Maybe (Value Text)
scheduledActionBufferTime :: Maybe (Value Integer)
serviceNamespace :: Value Text
targetTrackingConfigurations :: [TargetTrackingConfigurationProperty]
haddock_workaround_ :: ()
customizedLoadMetricSpecification :: Maybe CustomizedLoadMetricSpecificationProperty
disableDynamicScaling :: Maybe (Value Bool)
maxCapacity :: Value Integer
minCapacity :: Value Integer
predefinedLoadMetricSpecification :: Maybe PredefinedLoadMetricSpecificationProperty
predictiveScalingMaxCapacityBehavior :: Maybe (Value Text)
predictiveScalingMaxCapacityBuffer :: Maybe (Value Integer)
predictiveScalingMode :: Maybe (Value Text)
resourceId :: Value Text
scalingPolicyUpdateBehavior :: Maybe (Value Text)
scheduledActionBufferTime :: Maybe (Value Integer)
serviceNamespace :: Value Text
targetTrackingConfigurations :: [TargetTrackingConfigurationProperty]
..}
instance Property "ScalingPolicyUpdateBehavior" ScalingInstructionProperty where
type PropertyType "ScalingPolicyUpdateBehavior" ScalingInstructionProperty = Value Prelude.Text
set :: PropertyType
"ScalingPolicyUpdateBehavior" ScalingInstructionProperty
-> ScalingInstructionProperty -> ScalingInstructionProperty
set PropertyType
"ScalingPolicyUpdateBehavior" ScalingInstructionProperty
newValue ScalingInstructionProperty {[TargetTrackingConfigurationProperty]
Maybe (Value Bool)
Maybe (Value Integer)
Maybe (Value Text)
Maybe CustomizedLoadMetricSpecificationProperty
Maybe PredefinedLoadMetricSpecificationProperty
()
Value Integer
Value Text
haddock_workaround_ :: ScalingInstructionProperty -> ()
customizedLoadMetricSpecification :: ScalingInstructionProperty
-> Maybe CustomizedLoadMetricSpecificationProperty
disableDynamicScaling :: ScalingInstructionProperty -> Maybe (Value Bool)
maxCapacity :: ScalingInstructionProperty -> Value Integer
minCapacity :: ScalingInstructionProperty -> Value Integer
predefinedLoadMetricSpecification :: ScalingInstructionProperty
-> Maybe PredefinedLoadMetricSpecificationProperty
predictiveScalingMaxCapacityBehavior :: ScalingInstructionProperty -> Maybe (Value Text)
predictiveScalingMaxCapacityBuffer :: ScalingInstructionProperty -> Maybe (Value Integer)
predictiveScalingMode :: ScalingInstructionProperty -> Maybe (Value Text)
resourceId :: ScalingInstructionProperty -> Value Text
scalableDimension :: ScalingInstructionProperty -> Value Text
scalingPolicyUpdateBehavior :: ScalingInstructionProperty -> Maybe (Value Text)
scheduledActionBufferTime :: ScalingInstructionProperty -> Maybe (Value Integer)
serviceNamespace :: ScalingInstructionProperty -> Value Text
targetTrackingConfigurations :: ScalingInstructionProperty -> [TargetTrackingConfigurationProperty]
haddock_workaround_ :: ()
customizedLoadMetricSpecification :: Maybe CustomizedLoadMetricSpecificationProperty
disableDynamicScaling :: Maybe (Value Bool)
maxCapacity :: Value Integer
minCapacity :: Value Integer
predefinedLoadMetricSpecification :: Maybe PredefinedLoadMetricSpecificationProperty
predictiveScalingMaxCapacityBehavior :: Maybe (Value Text)
predictiveScalingMaxCapacityBuffer :: Maybe (Value Integer)
predictiveScalingMode :: Maybe (Value Text)
resourceId :: Value Text
scalableDimension :: Value Text
scalingPolicyUpdateBehavior :: Maybe (Value Text)
scheduledActionBufferTime :: Maybe (Value Integer)
serviceNamespace :: Value Text
targetTrackingConfigurations :: [TargetTrackingConfigurationProperty]
..}
= ScalingInstructionProperty
{scalingPolicyUpdateBehavior :: Maybe (Value Text)
scalingPolicyUpdateBehavior = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType
"ScalingPolicyUpdateBehavior" ScalingInstructionProperty
Value Text
newValue, [TargetTrackingConfigurationProperty]
Maybe (Value Bool)
Maybe (Value Integer)
Maybe (Value Text)
Maybe CustomizedLoadMetricSpecificationProperty
Maybe PredefinedLoadMetricSpecificationProperty
()
Value Integer
Value Text
haddock_workaround_ :: ()
customizedLoadMetricSpecification :: Maybe CustomizedLoadMetricSpecificationProperty
disableDynamicScaling :: Maybe (Value Bool)
maxCapacity :: Value Integer
minCapacity :: Value Integer
predefinedLoadMetricSpecification :: Maybe PredefinedLoadMetricSpecificationProperty
predictiveScalingMaxCapacityBehavior :: Maybe (Value Text)
predictiveScalingMaxCapacityBuffer :: Maybe (Value Integer)
predictiveScalingMode :: Maybe (Value Text)
resourceId :: Value Text
scalableDimension :: Value Text
scheduledActionBufferTime :: Maybe (Value Integer)
serviceNamespace :: Value Text
targetTrackingConfigurations :: [TargetTrackingConfigurationProperty]
haddock_workaround_ :: ()
customizedLoadMetricSpecification :: Maybe CustomizedLoadMetricSpecificationProperty
disableDynamicScaling :: Maybe (Value Bool)
maxCapacity :: Value Integer
minCapacity :: Value Integer
predefinedLoadMetricSpecification :: Maybe PredefinedLoadMetricSpecificationProperty
predictiveScalingMaxCapacityBehavior :: Maybe (Value Text)
predictiveScalingMaxCapacityBuffer :: Maybe (Value Integer)
predictiveScalingMode :: Maybe (Value Text)
resourceId :: Value Text
scalableDimension :: Value Text
scheduledActionBufferTime :: Maybe (Value Integer)
serviceNamespace :: Value Text
targetTrackingConfigurations :: [TargetTrackingConfigurationProperty]
..}
instance Property "ScheduledActionBufferTime" ScalingInstructionProperty where
type PropertyType "ScheduledActionBufferTime" ScalingInstructionProperty = Value Prelude.Integer
set :: PropertyType "ScheduledActionBufferTime" ScalingInstructionProperty
-> ScalingInstructionProperty -> ScalingInstructionProperty
set PropertyType "ScheduledActionBufferTime" ScalingInstructionProperty
newValue ScalingInstructionProperty {[TargetTrackingConfigurationProperty]
Maybe (Value Bool)
Maybe (Value Integer)
Maybe (Value Text)
Maybe CustomizedLoadMetricSpecificationProperty
Maybe PredefinedLoadMetricSpecificationProperty
()
Value Integer
Value Text
haddock_workaround_ :: ScalingInstructionProperty -> ()
customizedLoadMetricSpecification :: ScalingInstructionProperty
-> Maybe CustomizedLoadMetricSpecificationProperty
disableDynamicScaling :: ScalingInstructionProperty -> Maybe (Value Bool)
maxCapacity :: ScalingInstructionProperty -> Value Integer
minCapacity :: ScalingInstructionProperty -> Value Integer
predefinedLoadMetricSpecification :: ScalingInstructionProperty
-> Maybe PredefinedLoadMetricSpecificationProperty
predictiveScalingMaxCapacityBehavior :: ScalingInstructionProperty -> Maybe (Value Text)
predictiveScalingMaxCapacityBuffer :: ScalingInstructionProperty -> Maybe (Value Integer)
predictiveScalingMode :: ScalingInstructionProperty -> Maybe (Value Text)
resourceId :: ScalingInstructionProperty -> Value Text
scalableDimension :: ScalingInstructionProperty -> Value Text
scalingPolicyUpdateBehavior :: ScalingInstructionProperty -> Maybe (Value Text)
scheduledActionBufferTime :: ScalingInstructionProperty -> Maybe (Value Integer)
serviceNamespace :: ScalingInstructionProperty -> Value Text
targetTrackingConfigurations :: ScalingInstructionProperty -> [TargetTrackingConfigurationProperty]
haddock_workaround_ :: ()
customizedLoadMetricSpecification :: Maybe CustomizedLoadMetricSpecificationProperty
disableDynamicScaling :: Maybe (Value Bool)
maxCapacity :: Value Integer
minCapacity :: Value Integer
predefinedLoadMetricSpecification :: Maybe PredefinedLoadMetricSpecificationProperty
predictiveScalingMaxCapacityBehavior :: Maybe (Value Text)
predictiveScalingMaxCapacityBuffer :: Maybe (Value Integer)
predictiveScalingMode :: Maybe (Value Text)
resourceId :: Value Text
scalableDimension :: Value Text
scalingPolicyUpdateBehavior :: Maybe (Value Text)
scheduledActionBufferTime :: Maybe (Value Integer)
serviceNamespace :: Value Text
targetTrackingConfigurations :: [TargetTrackingConfigurationProperty]
..}
= ScalingInstructionProperty
{scheduledActionBufferTime :: Maybe (Value Integer)
scheduledActionBufferTime = Value Integer -> Maybe (Value Integer)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "ScheduledActionBufferTime" ScalingInstructionProperty
Value Integer
newValue, [TargetTrackingConfigurationProperty]
Maybe (Value Bool)
Maybe (Value Integer)
Maybe (Value Text)
Maybe CustomizedLoadMetricSpecificationProperty
Maybe PredefinedLoadMetricSpecificationProperty
()
Value Integer
Value Text
haddock_workaround_ :: ()
customizedLoadMetricSpecification :: Maybe CustomizedLoadMetricSpecificationProperty
disableDynamicScaling :: Maybe (Value Bool)
maxCapacity :: Value Integer
minCapacity :: Value Integer
predefinedLoadMetricSpecification :: Maybe PredefinedLoadMetricSpecificationProperty
predictiveScalingMaxCapacityBehavior :: Maybe (Value Text)
predictiveScalingMaxCapacityBuffer :: Maybe (Value Integer)
predictiveScalingMode :: Maybe (Value Text)
resourceId :: Value Text
scalableDimension :: Value Text
scalingPolicyUpdateBehavior :: Maybe (Value Text)
serviceNamespace :: Value Text
targetTrackingConfigurations :: [TargetTrackingConfigurationProperty]
haddock_workaround_ :: ()
customizedLoadMetricSpecification :: Maybe CustomizedLoadMetricSpecificationProperty
disableDynamicScaling :: Maybe (Value Bool)
maxCapacity :: Value Integer
minCapacity :: Value Integer
predefinedLoadMetricSpecification :: Maybe PredefinedLoadMetricSpecificationProperty
predictiveScalingMaxCapacityBehavior :: Maybe (Value Text)
predictiveScalingMaxCapacityBuffer :: Maybe (Value Integer)
predictiveScalingMode :: Maybe (Value Text)
resourceId :: Value Text
scalableDimension :: Value Text
scalingPolicyUpdateBehavior :: Maybe (Value Text)
serviceNamespace :: Value Text
targetTrackingConfigurations :: [TargetTrackingConfigurationProperty]
..}
instance Property "ServiceNamespace" ScalingInstructionProperty where
type PropertyType "ServiceNamespace" ScalingInstructionProperty = Value Prelude.Text
set :: PropertyType "ServiceNamespace" ScalingInstructionProperty
-> ScalingInstructionProperty -> ScalingInstructionProperty
set PropertyType "ServiceNamespace" ScalingInstructionProperty
newValue ScalingInstructionProperty {[TargetTrackingConfigurationProperty]
Maybe (Value Bool)
Maybe (Value Integer)
Maybe (Value Text)
Maybe CustomizedLoadMetricSpecificationProperty
Maybe PredefinedLoadMetricSpecificationProperty
()
Value Integer
Value Text
haddock_workaround_ :: ScalingInstructionProperty -> ()
customizedLoadMetricSpecification :: ScalingInstructionProperty
-> Maybe CustomizedLoadMetricSpecificationProperty
disableDynamicScaling :: ScalingInstructionProperty -> Maybe (Value Bool)
maxCapacity :: ScalingInstructionProperty -> Value Integer
minCapacity :: ScalingInstructionProperty -> Value Integer
predefinedLoadMetricSpecification :: ScalingInstructionProperty
-> Maybe PredefinedLoadMetricSpecificationProperty
predictiveScalingMaxCapacityBehavior :: ScalingInstructionProperty -> Maybe (Value Text)
predictiveScalingMaxCapacityBuffer :: ScalingInstructionProperty -> Maybe (Value Integer)
predictiveScalingMode :: ScalingInstructionProperty -> Maybe (Value Text)
resourceId :: ScalingInstructionProperty -> Value Text
scalableDimension :: ScalingInstructionProperty -> Value Text
scalingPolicyUpdateBehavior :: ScalingInstructionProperty -> Maybe (Value Text)
scheduledActionBufferTime :: ScalingInstructionProperty -> Maybe (Value Integer)
serviceNamespace :: ScalingInstructionProperty -> Value Text
targetTrackingConfigurations :: ScalingInstructionProperty -> [TargetTrackingConfigurationProperty]
haddock_workaround_ :: ()
customizedLoadMetricSpecification :: Maybe CustomizedLoadMetricSpecificationProperty
disableDynamicScaling :: Maybe (Value Bool)
maxCapacity :: Value Integer
minCapacity :: Value Integer
predefinedLoadMetricSpecification :: Maybe PredefinedLoadMetricSpecificationProperty
predictiveScalingMaxCapacityBehavior :: Maybe (Value Text)
predictiveScalingMaxCapacityBuffer :: Maybe (Value Integer)
predictiveScalingMode :: Maybe (Value Text)
resourceId :: Value Text
scalableDimension :: Value Text
scalingPolicyUpdateBehavior :: Maybe (Value Text)
scheduledActionBufferTime :: Maybe (Value Integer)
serviceNamespace :: Value Text
targetTrackingConfigurations :: [TargetTrackingConfigurationProperty]
..}
= ScalingInstructionProperty {serviceNamespace :: Value Text
serviceNamespace = PropertyType "ServiceNamespace" ScalingInstructionProperty
Value Text
newValue, [TargetTrackingConfigurationProperty]
Maybe (Value Bool)
Maybe (Value Integer)
Maybe (Value Text)
Maybe CustomizedLoadMetricSpecificationProperty
Maybe PredefinedLoadMetricSpecificationProperty
()
Value Integer
Value Text
haddock_workaround_ :: ()
customizedLoadMetricSpecification :: Maybe CustomizedLoadMetricSpecificationProperty
disableDynamicScaling :: Maybe (Value Bool)
maxCapacity :: Value Integer
minCapacity :: Value Integer
predefinedLoadMetricSpecification :: Maybe PredefinedLoadMetricSpecificationProperty
predictiveScalingMaxCapacityBehavior :: Maybe (Value Text)
predictiveScalingMaxCapacityBuffer :: Maybe (Value Integer)
predictiveScalingMode :: Maybe (Value Text)
resourceId :: Value Text
scalableDimension :: Value Text
scalingPolicyUpdateBehavior :: Maybe (Value Text)
scheduledActionBufferTime :: Maybe (Value Integer)
targetTrackingConfigurations :: [TargetTrackingConfigurationProperty]
haddock_workaround_ :: ()
customizedLoadMetricSpecification :: Maybe CustomizedLoadMetricSpecificationProperty
disableDynamicScaling :: Maybe (Value Bool)
maxCapacity :: Value Integer
minCapacity :: Value Integer
predefinedLoadMetricSpecification :: Maybe PredefinedLoadMetricSpecificationProperty
predictiveScalingMaxCapacityBehavior :: Maybe (Value Text)
predictiveScalingMaxCapacityBuffer :: Maybe (Value Integer)
predictiveScalingMode :: Maybe (Value Text)
resourceId :: Value Text
scalableDimension :: Value Text
scalingPolicyUpdateBehavior :: Maybe (Value Text)
scheduledActionBufferTime :: Maybe (Value Integer)
targetTrackingConfigurations :: [TargetTrackingConfigurationProperty]
..}
instance Property "TargetTrackingConfigurations" ScalingInstructionProperty where
type PropertyType "TargetTrackingConfigurations" ScalingInstructionProperty = [TargetTrackingConfigurationProperty]
set :: PropertyType
"TargetTrackingConfigurations" ScalingInstructionProperty
-> ScalingInstructionProperty -> ScalingInstructionProperty
set PropertyType
"TargetTrackingConfigurations" ScalingInstructionProperty
newValue ScalingInstructionProperty {[TargetTrackingConfigurationProperty]
Maybe (Value Bool)
Maybe (Value Integer)
Maybe (Value Text)
Maybe CustomizedLoadMetricSpecificationProperty
Maybe PredefinedLoadMetricSpecificationProperty
()
Value Integer
Value Text
haddock_workaround_ :: ScalingInstructionProperty -> ()
customizedLoadMetricSpecification :: ScalingInstructionProperty
-> Maybe CustomizedLoadMetricSpecificationProperty
disableDynamicScaling :: ScalingInstructionProperty -> Maybe (Value Bool)
maxCapacity :: ScalingInstructionProperty -> Value Integer
minCapacity :: ScalingInstructionProperty -> Value Integer
predefinedLoadMetricSpecification :: ScalingInstructionProperty
-> Maybe PredefinedLoadMetricSpecificationProperty
predictiveScalingMaxCapacityBehavior :: ScalingInstructionProperty -> Maybe (Value Text)
predictiveScalingMaxCapacityBuffer :: ScalingInstructionProperty -> Maybe (Value Integer)
predictiveScalingMode :: ScalingInstructionProperty -> Maybe (Value Text)
resourceId :: ScalingInstructionProperty -> Value Text
scalableDimension :: ScalingInstructionProperty -> Value Text
scalingPolicyUpdateBehavior :: ScalingInstructionProperty -> Maybe (Value Text)
scheduledActionBufferTime :: ScalingInstructionProperty -> Maybe (Value Integer)
serviceNamespace :: ScalingInstructionProperty -> Value Text
targetTrackingConfigurations :: ScalingInstructionProperty -> [TargetTrackingConfigurationProperty]
haddock_workaround_ :: ()
customizedLoadMetricSpecification :: Maybe CustomizedLoadMetricSpecificationProperty
disableDynamicScaling :: Maybe (Value Bool)
maxCapacity :: Value Integer
minCapacity :: Value Integer
predefinedLoadMetricSpecification :: Maybe PredefinedLoadMetricSpecificationProperty
predictiveScalingMaxCapacityBehavior :: Maybe (Value Text)
predictiveScalingMaxCapacityBuffer :: Maybe (Value Integer)
predictiveScalingMode :: Maybe (Value Text)
resourceId :: Value Text
scalableDimension :: Value Text
scalingPolicyUpdateBehavior :: Maybe (Value Text)
scheduledActionBufferTime :: Maybe (Value Integer)
serviceNamespace :: Value Text
targetTrackingConfigurations :: [TargetTrackingConfigurationProperty]
..}
= ScalingInstructionProperty
{targetTrackingConfigurations :: [TargetTrackingConfigurationProperty]
targetTrackingConfigurations = [TargetTrackingConfigurationProperty]
PropertyType
"TargetTrackingConfigurations" ScalingInstructionProperty
newValue, Maybe (Value Bool)
Maybe (Value Integer)
Maybe (Value Text)
Maybe CustomizedLoadMetricSpecificationProperty
Maybe PredefinedLoadMetricSpecificationProperty
()
Value Integer
Value Text
haddock_workaround_ :: ()
customizedLoadMetricSpecification :: Maybe CustomizedLoadMetricSpecificationProperty
disableDynamicScaling :: Maybe (Value Bool)
maxCapacity :: Value Integer
minCapacity :: Value Integer
predefinedLoadMetricSpecification :: Maybe PredefinedLoadMetricSpecificationProperty
predictiveScalingMaxCapacityBehavior :: Maybe (Value Text)
predictiveScalingMaxCapacityBuffer :: Maybe (Value Integer)
predictiveScalingMode :: Maybe (Value Text)
resourceId :: Value Text
scalableDimension :: Value Text
scalingPolicyUpdateBehavior :: Maybe (Value Text)
scheduledActionBufferTime :: Maybe (Value Integer)
serviceNamespace :: Value Text
haddock_workaround_ :: ()
customizedLoadMetricSpecification :: Maybe CustomizedLoadMetricSpecificationProperty
disableDynamicScaling :: Maybe (Value Bool)
maxCapacity :: Value Integer
minCapacity :: Value Integer
predefinedLoadMetricSpecification :: Maybe PredefinedLoadMetricSpecificationProperty
predictiveScalingMaxCapacityBehavior :: Maybe (Value Text)
predictiveScalingMaxCapacityBuffer :: Maybe (Value Integer)
predictiveScalingMode :: Maybe (Value Text)
resourceId :: Value Text
scalableDimension :: Value Text
scalingPolicyUpdateBehavior :: Maybe (Value Text)
scheduledActionBufferTime :: Maybe (Value Integer)
serviceNamespace :: Value Text
..}