{-# LANGUAGE DeriveGeneric #-}
{-# LANGUAGE DuplicateRecordFields #-}
{-# LANGUAGE NamedFieldPuns #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE RecordWildCards #-}
{-# LANGUAGE StrictData #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# OPTIONS_GHC -fno-warn-unused-imports #-}
{-# OPTIONS_GHC -fno-warn-unused-matches #-}

-- Derived from AWS service descriptions, licensed under Apache 2.0.

-- |
-- Module      : Amazonka.AutoScaling.Types.RefreshPreferences
-- Copyright   : (c) 2013-2021 Brendan Hay
-- License     : Mozilla Public License, v. 2.0.
-- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com>
-- Stability   : auto-generated
-- Portability : non-portable (GHC extensions)
module Amazonka.AutoScaling.Types.RefreshPreferences where

import qualified Amazonka.Core as Core
import qualified Amazonka.Lens as Lens
import qualified Amazonka.Prelude as Prelude

-- | Describes the preferences for an instance refresh.
--
-- /See:/ 'newRefreshPreferences' smart constructor.
data RefreshPreferences = RefreshPreferences'
  { -- | The amount of capacity in the Auto Scaling group that must remain
    -- healthy during an instance refresh to allow the operation to continue.
    -- The value is expressed as a percentage of the desired capacity of the
    -- Auto Scaling group (rounded up to the nearest integer). The default is
    -- @90@.
    --
    -- Setting the minimum healthy percentage to 100 percent limits the rate of
    -- replacement to one instance at a time. In contrast, setting it to 0
    -- percent has the effect of replacing all instances at the same time.
    RefreshPreferences -> Maybe Natural
minHealthyPercentage :: Prelude.Maybe Prelude.Natural,
    -- | A boolean value that indicates whether skip matching is enabled. If
    -- true, then Amazon EC2 Auto Scaling skips replacing instances that match
    -- the desired configuration. If no desired configuration is specified,
    -- then it skips replacing instances that have the same configuration that
    -- is already set on the group. The default is @false@.
    RefreshPreferences -> Maybe Bool
skipMatching :: Prelude.Maybe Prelude.Bool,
    -- | Threshold values for each checkpoint in ascending order. Each number
    -- must be unique. To replace all instances in the Auto Scaling group, the
    -- last number in the array must be @100@.
    --
    -- For usage examples, see
    -- <https://docs.aws.amazon.com/autoscaling/ec2/userguide/asg-adding-checkpoints-instance-refresh.html Adding checkpoints to an instance refresh>
    -- in the /Amazon EC2 Auto Scaling User Guide/.
    RefreshPreferences -> Maybe [Natural]
checkpointPercentages :: Prelude.Maybe [Prelude.Natural],
    -- | The amount of time, in seconds, to wait after a checkpoint before
    -- continuing. This property is optional, but if you specify a value for
    -- it, you must also specify a value for @CheckpointPercentages@. If you
    -- specify a value for @CheckpointPercentages@ and not for
    -- @CheckpointDelay@, the @CheckpointDelay@ defaults to @3600@ (1 hour).
    RefreshPreferences -> Maybe Natural
checkpointDelay :: Prelude.Maybe Prelude.Natural,
    -- | The number of seconds until a newly launched instance is configured and
    -- ready to use. During this time, Amazon EC2 Auto Scaling does not
    -- immediately move on to the next replacement. The default is to use the
    -- value for the health check grace period defined for the group.
    RefreshPreferences -> Maybe Natural
instanceWarmup :: Prelude.Maybe Prelude.Natural
  }
  deriving (RefreshPreferences -> RefreshPreferences -> Bool
(RefreshPreferences -> RefreshPreferences -> Bool)
-> (RefreshPreferences -> RefreshPreferences -> Bool)
-> Eq RefreshPreferences
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: RefreshPreferences -> RefreshPreferences -> Bool
$c/= :: RefreshPreferences -> RefreshPreferences -> Bool
== :: RefreshPreferences -> RefreshPreferences -> Bool
$c== :: RefreshPreferences -> RefreshPreferences -> Bool
Prelude.Eq, ReadPrec [RefreshPreferences]
ReadPrec RefreshPreferences
Int -> ReadS RefreshPreferences
ReadS [RefreshPreferences]
(Int -> ReadS RefreshPreferences)
-> ReadS [RefreshPreferences]
-> ReadPrec RefreshPreferences
-> ReadPrec [RefreshPreferences]
-> Read RefreshPreferences
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [RefreshPreferences]
$creadListPrec :: ReadPrec [RefreshPreferences]
readPrec :: ReadPrec RefreshPreferences
$creadPrec :: ReadPrec RefreshPreferences
readList :: ReadS [RefreshPreferences]
$creadList :: ReadS [RefreshPreferences]
readsPrec :: Int -> ReadS RefreshPreferences
$creadsPrec :: Int -> ReadS RefreshPreferences
Prelude.Read, Int -> RefreshPreferences -> ShowS
[RefreshPreferences] -> ShowS
RefreshPreferences -> String
(Int -> RefreshPreferences -> ShowS)
-> (RefreshPreferences -> String)
-> ([RefreshPreferences] -> ShowS)
-> Show RefreshPreferences
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [RefreshPreferences] -> ShowS
$cshowList :: [RefreshPreferences] -> ShowS
show :: RefreshPreferences -> String
$cshow :: RefreshPreferences -> String
showsPrec :: Int -> RefreshPreferences -> ShowS
$cshowsPrec :: Int -> RefreshPreferences -> ShowS
Prelude.Show, (forall x. RefreshPreferences -> Rep RefreshPreferences x)
-> (forall x. Rep RefreshPreferences x -> RefreshPreferences)
-> Generic RefreshPreferences
forall x. Rep RefreshPreferences x -> RefreshPreferences
forall x. RefreshPreferences -> Rep RefreshPreferences x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep RefreshPreferences x -> RefreshPreferences
$cfrom :: forall x. RefreshPreferences -> Rep RefreshPreferences x
Prelude.Generic)

-- |
-- Create a value of 'RefreshPreferences' with all optional fields omitted.
--
-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.
--
-- The following record fields are available, with the corresponding lenses provided
-- for backwards compatibility:
--
-- 'minHealthyPercentage', 'refreshPreferences_minHealthyPercentage' - The amount of capacity in the Auto Scaling group that must remain
-- healthy during an instance refresh to allow the operation to continue.
-- The value is expressed as a percentage of the desired capacity of the
-- Auto Scaling group (rounded up to the nearest integer). The default is
-- @90@.
--
-- Setting the minimum healthy percentage to 100 percent limits the rate of
-- replacement to one instance at a time. In contrast, setting it to 0
-- percent has the effect of replacing all instances at the same time.
--
-- 'skipMatching', 'refreshPreferences_skipMatching' - A boolean value that indicates whether skip matching is enabled. If
-- true, then Amazon EC2 Auto Scaling skips replacing instances that match
-- the desired configuration. If no desired configuration is specified,
-- then it skips replacing instances that have the same configuration that
-- is already set on the group. The default is @false@.
--
-- 'checkpointPercentages', 'refreshPreferences_checkpointPercentages' - Threshold values for each checkpoint in ascending order. Each number
-- must be unique. To replace all instances in the Auto Scaling group, the
-- last number in the array must be @100@.
--
-- For usage examples, see
-- <https://docs.aws.amazon.com/autoscaling/ec2/userguide/asg-adding-checkpoints-instance-refresh.html Adding checkpoints to an instance refresh>
-- in the /Amazon EC2 Auto Scaling User Guide/.
--
-- 'checkpointDelay', 'refreshPreferences_checkpointDelay' - The amount of time, in seconds, to wait after a checkpoint before
-- continuing. This property is optional, but if you specify a value for
-- it, you must also specify a value for @CheckpointPercentages@. If you
-- specify a value for @CheckpointPercentages@ and not for
-- @CheckpointDelay@, the @CheckpointDelay@ defaults to @3600@ (1 hour).
--
-- 'instanceWarmup', 'refreshPreferences_instanceWarmup' - The number of seconds until a newly launched instance is configured and
-- ready to use. During this time, Amazon EC2 Auto Scaling does not
-- immediately move on to the next replacement. The default is to use the
-- value for the health check grace period defined for the group.
newRefreshPreferences ::
  RefreshPreferences
newRefreshPreferences :: RefreshPreferences
newRefreshPreferences =
  RefreshPreferences' :: Maybe Natural
-> Maybe Bool
-> Maybe [Natural]
-> Maybe Natural
-> Maybe Natural
-> RefreshPreferences
RefreshPreferences'
    { $sel:minHealthyPercentage:RefreshPreferences' :: Maybe Natural
minHealthyPercentage =
        Maybe Natural
forall a. Maybe a
Prelude.Nothing,
      $sel:skipMatching:RefreshPreferences' :: Maybe Bool
skipMatching = Maybe Bool
forall a. Maybe a
Prelude.Nothing,
      $sel:checkpointPercentages:RefreshPreferences' :: Maybe [Natural]
checkpointPercentages = Maybe [Natural]
forall a. Maybe a
Prelude.Nothing,
      $sel:checkpointDelay:RefreshPreferences' :: Maybe Natural
checkpointDelay = Maybe Natural
forall a. Maybe a
Prelude.Nothing,
      $sel:instanceWarmup:RefreshPreferences' :: Maybe Natural
instanceWarmup = Maybe Natural
forall a. Maybe a
Prelude.Nothing
    }

-- | The amount of capacity in the Auto Scaling group that must remain
-- healthy during an instance refresh to allow the operation to continue.
-- The value is expressed as a percentage of the desired capacity of the
-- Auto Scaling group (rounded up to the nearest integer). The default is
-- @90@.
--
-- Setting the minimum healthy percentage to 100 percent limits the rate of
-- replacement to one instance at a time. In contrast, setting it to 0
-- percent has the effect of replacing all instances at the same time.
refreshPreferences_minHealthyPercentage :: Lens.Lens' RefreshPreferences (Prelude.Maybe Prelude.Natural)
refreshPreferences_minHealthyPercentage :: (Maybe Natural -> f (Maybe Natural))
-> RefreshPreferences -> f RefreshPreferences
refreshPreferences_minHealthyPercentage = (RefreshPreferences -> Maybe Natural)
-> (RefreshPreferences -> Maybe Natural -> RefreshPreferences)
-> Lens
     RefreshPreferences
     RefreshPreferences
     (Maybe Natural)
     (Maybe Natural)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\RefreshPreferences' {Maybe Natural
minHealthyPercentage :: Maybe Natural
$sel:minHealthyPercentage:RefreshPreferences' :: RefreshPreferences -> Maybe Natural
minHealthyPercentage} -> Maybe Natural
minHealthyPercentage) (\s :: RefreshPreferences
s@RefreshPreferences' {} Maybe Natural
a -> RefreshPreferences
s {$sel:minHealthyPercentage:RefreshPreferences' :: Maybe Natural
minHealthyPercentage = Maybe Natural
a} :: RefreshPreferences)

-- | A boolean value that indicates whether skip matching is enabled. If
-- true, then Amazon EC2 Auto Scaling skips replacing instances that match
-- the desired configuration. If no desired configuration is specified,
-- then it skips replacing instances that have the same configuration that
-- is already set on the group. The default is @false@.
refreshPreferences_skipMatching :: Lens.Lens' RefreshPreferences (Prelude.Maybe Prelude.Bool)
refreshPreferences_skipMatching :: (Maybe Bool -> f (Maybe Bool))
-> RefreshPreferences -> f RefreshPreferences
refreshPreferences_skipMatching = (RefreshPreferences -> Maybe Bool)
-> (RefreshPreferences -> Maybe Bool -> RefreshPreferences)
-> Lens
     RefreshPreferences RefreshPreferences (Maybe Bool) (Maybe Bool)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\RefreshPreferences' {Maybe Bool
skipMatching :: Maybe Bool
$sel:skipMatching:RefreshPreferences' :: RefreshPreferences -> Maybe Bool
skipMatching} -> Maybe Bool
skipMatching) (\s :: RefreshPreferences
s@RefreshPreferences' {} Maybe Bool
a -> RefreshPreferences
s {$sel:skipMatching:RefreshPreferences' :: Maybe Bool
skipMatching = Maybe Bool
a} :: RefreshPreferences)

-- | Threshold values for each checkpoint in ascending order. Each number
-- must be unique. To replace all instances in the Auto Scaling group, the
-- last number in the array must be @100@.
--
-- For usage examples, see
-- <https://docs.aws.amazon.com/autoscaling/ec2/userguide/asg-adding-checkpoints-instance-refresh.html Adding checkpoints to an instance refresh>
-- in the /Amazon EC2 Auto Scaling User Guide/.
refreshPreferences_checkpointPercentages :: Lens.Lens' RefreshPreferences (Prelude.Maybe [Prelude.Natural])
refreshPreferences_checkpointPercentages :: (Maybe [Natural] -> f (Maybe [Natural]))
-> RefreshPreferences -> f RefreshPreferences
refreshPreferences_checkpointPercentages = (RefreshPreferences -> Maybe [Natural])
-> (RefreshPreferences -> Maybe [Natural] -> RefreshPreferences)
-> Lens
     RefreshPreferences
     RefreshPreferences
     (Maybe [Natural])
     (Maybe [Natural])
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\RefreshPreferences' {Maybe [Natural]
checkpointPercentages :: Maybe [Natural]
$sel:checkpointPercentages:RefreshPreferences' :: RefreshPreferences -> Maybe [Natural]
checkpointPercentages} -> Maybe [Natural]
checkpointPercentages) (\s :: RefreshPreferences
s@RefreshPreferences' {} Maybe [Natural]
a -> RefreshPreferences
s {$sel:checkpointPercentages:RefreshPreferences' :: Maybe [Natural]
checkpointPercentages = Maybe [Natural]
a} :: RefreshPreferences) ((Maybe [Natural] -> f (Maybe [Natural]))
 -> RefreshPreferences -> f RefreshPreferences)
-> ((Maybe [Natural] -> f (Maybe [Natural]))
    -> Maybe [Natural] -> f (Maybe [Natural]))
-> (Maybe [Natural] -> f (Maybe [Natural]))
-> RefreshPreferences
-> f RefreshPreferences
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. AnIso [Natural] [Natural] [Natural] [Natural]
-> Iso
     (Maybe [Natural])
     (Maybe [Natural])
     (Maybe [Natural])
     (Maybe [Natural])
forall (f :: * -> *) (g :: * -> *) s t a b.
(Functor f, Functor g) =>
AnIso s t a b -> Iso (f s) (g t) (f a) (g b)
Lens.mapping AnIso [Natural] [Natural] [Natural] [Natural]
forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced

-- | The amount of time, in seconds, to wait after a checkpoint before
-- continuing. This property is optional, but if you specify a value for
-- it, you must also specify a value for @CheckpointPercentages@. If you
-- specify a value for @CheckpointPercentages@ and not for
-- @CheckpointDelay@, the @CheckpointDelay@ defaults to @3600@ (1 hour).
refreshPreferences_checkpointDelay :: Lens.Lens' RefreshPreferences (Prelude.Maybe Prelude.Natural)
refreshPreferences_checkpointDelay :: (Maybe Natural -> f (Maybe Natural))
-> RefreshPreferences -> f RefreshPreferences
refreshPreferences_checkpointDelay = (RefreshPreferences -> Maybe Natural)
-> (RefreshPreferences -> Maybe Natural -> RefreshPreferences)
-> Lens
     RefreshPreferences
     RefreshPreferences
     (Maybe Natural)
     (Maybe Natural)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\RefreshPreferences' {Maybe Natural
checkpointDelay :: Maybe Natural
$sel:checkpointDelay:RefreshPreferences' :: RefreshPreferences -> Maybe Natural
checkpointDelay} -> Maybe Natural
checkpointDelay) (\s :: RefreshPreferences
s@RefreshPreferences' {} Maybe Natural
a -> RefreshPreferences
s {$sel:checkpointDelay:RefreshPreferences' :: Maybe Natural
checkpointDelay = Maybe Natural
a} :: RefreshPreferences)

-- | The number of seconds until a newly launched instance is configured and
-- ready to use. During this time, Amazon EC2 Auto Scaling does not
-- immediately move on to the next replacement. The default is to use the
-- value for the health check grace period defined for the group.
refreshPreferences_instanceWarmup :: Lens.Lens' RefreshPreferences (Prelude.Maybe Prelude.Natural)
refreshPreferences_instanceWarmup :: (Maybe Natural -> f (Maybe Natural))
-> RefreshPreferences -> f RefreshPreferences
refreshPreferences_instanceWarmup = (RefreshPreferences -> Maybe Natural)
-> (RefreshPreferences -> Maybe Natural -> RefreshPreferences)
-> Lens
     RefreshPreferences
     RefreshPreferences
     (Maybe Natural)
     (Maybe Natural)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\RefreshPreferences' {Maybe Natural
instanceWarmup :: Maybe Natural
$sel:instanceWarmup:RefreshPreferences' :: RefreshPreferences -> Maybe Natural
instanceWarmup} -> Maybe Natural
instanceWarmup) (\s :: RefreshPreferences
s@RefreshPreferences' {} Maybe Natural
a -> RefreshPreferences
s {$sel:instanceWarmup:RefreshPreferences' :: Maybe Natural
instanceWarmup = Maybe Natural
a} :: RefreshPreferences)

instance Core.FromXML RefreshPreferences where
  parseXML :: [Node] -> Either String RefreshPreferences
parseXML [Node]
x =
    Maybe Natural
-> Maybe Bool
-> Maybe [Natural]
-> Maybe Natural
-> Maybe Natural
-> RefreshPreferences
RefreshPreferences'
      (Maybe Natural
 -> Maybe Bool
 -> Maybe [Natural]
 -> Maybe Natural
 -> Maybe Natural
 -> RefreshPreferences)
-> Either String (Maybe Natural)
-> Either
     String
     (Maybe Bool
      -> Maybe [Natural]
      -> Maybe Natural
      -> Maybe Natural
      -> RefreshPreferences)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> ([Node]
x [Node] -> Text -> Either String (Maybe Natural)
forall a. FromXML a => [Node] -> Text -> Either String (Maybe a)
Core..@? Text
"MinHealthyPercentage")
      Either
  String
  (Maybe Bool
   -> Maybe [Natural]
   -> Maybe Natural
   -> Maybe Natural
   -> RefreshPreferences)
-> Either String (Maybe Bool)
-> Either
     String
     (Maybe [Natural]
      -> Maybe Natural -> Maybe Natural -> RefreshPreferences)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> ([Node]
x [Node] -> Text -> Either String (Maybe Bool)
forall a. FromXML a => [Node] -> Text -> Either String (Maybe a)
Core..@? Text
"SkipMatching")
      Either
  String
  (Maybe [Natural]
   -> Maybe Natural -> Maybe Natural -> RefreshPreferences)
-> Either String (Maybe [Natural])
-> Either
     String (Maybe Natural -> Maybe Natural -> RefreshPreferences)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> ( [Node]
x [Node] -> Text -> Either String (Maybe [Node])
forall a. FromXML a => [Node] -> Text -> Either String (Maybe a)
Core..@? Text
"CheckpointPercentages"
                      Either String (Maybe [Node]) -> [Node] -> Either String [Node]
forall (f :: * -> *) a. Functor f => f (Maybe a) -> a -> f a
Core..!@ [Node]
forall a. Monoid a => a
Prelude.mempty
                      Either String [Node]
-> ([Node] -> Either String (Maybe [Natural]))
-> Either String (Maybe [Natural])
forall (m :: * -> *) a b. Monad m => m a -> (a -> m b) -> m b
Prelude.>>= ([Node] -> Either String [Natural])
-> [Node] -> Either String (Maybe [Natural])
forall (f :: * -> *) a b.
Applicative f =>
([a] -> f b) -> [a] -> f (Maybe b)
Core.may (Text -> [Node] -> Either String [Natural]
forall a. FromXML a => Text -> [Node] -> Either String [a]
Core.parseXMLList Text
"member")
                  )
      Either
  String (Maybe Natural -> Maybe Natural -> RefreshPreferences)
-> Either String (Maybe Natural)
-> Either String (Maybe Natural -> RefreshPreferences)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> ([Node]
x [Node] -> Text -> Either String (Maybe Natural)
forall a. FromXML a => [Node] -> Text -> Either String (Maybe a)
Core..@? Text
"CheckpointDelay")
      Either String (Maybe Natural -> RefreshPreferences)
-> Either String (Maybe Natural)
-> Either String RefreshPreferences
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> ([Node]
x [Node] -> Text -> Either String (Maybe Natural)
forall a. FromXML a => [Node] -> Text -> Either String (Maybe a)
Core..@? Text
"InstanceWarmup")

instance Prelude.Hashable RefreshPreferences

instance Prelude.NFData RefreshPreferences

instance Core.ToQuery RefreshPreferences where
  toQuery :: RefreshPreferences -> QueryString
toQuery RefreshPreferences' {Maybe Bool
Maybe Natural
Maybe [Natural]
instanceWarmup :: Maybe Natural
checkpointDelay :: Maybe Natural
checkpointPercentages :: Maybe [Natural]
skipMatching :: Maybe Bool
minHealthyPercentage :: Maybe Natural
$sel:instanceWarmup:RefreshPreferences' :: RefreshPreferences -> Maybe Natural
$sel:checkpointDelay:RefreshPreferences' :: RefreshPreferences -> Maybe Natural
$sel:checkpointPercentages:RefreshPreferences' :: RefreshPreferences -> Maybe [Natural]
$sel:skipMatching:RefreshPreferences' :: RefreshPreferences -> Maybe Bool
$sel:minHealthyPercentage:RefreshPreferences' :: RefreshPreferences -> Maybe Natural
..} =
    [QueryString] -> QueryString
forall a. Monoid a => [a] -> a
Prelude.mconcat
      [ ByteString
"MinHealthyPercentage" ByteString -> Maybe Natural -> QueryString
forall a. ToQuery a => ByteString -> a -> QueryString
Core.=: Maybe Natural
minHealthyPercentage,
        ByteString
"SkipMatching" ByteString -> Maybe Bool -> QueryString
forall a. ToQuery a => ByteString -> a -> QueryString
Core.=: Maybe Bool
skipMatching,
        ByteString
"CheckpointPercentages"
          ByteString -> QueryString -> QueryString
forall a. ToQuery a => ByteString -> a -> QueryString
Core.=: Maybe QueryString -> QueryString
forall a. ToQuery a => a -> QueryString
Core.toQuery
            ( ByteString -> [Natural] -> QueryString
forall a.
(IsList a, ToQuery (Item a)) =>
ByteString -> a -> QueryString
Core.toQueryList ByteString
"member"
                ([Natural] -> QueryString) -> Maybe [Natural] -> Maybe QueryString
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [Natural]
checkpointPercentages
            ),
        ByteString
"CheckpointDelay" ByteString -> Maybe Natural -> QueryString
forall a. ToQuery a => ByteString -> a -> QueryString
Core.=: Maybe Natural
checkpointDelay,
        ByteString
"InstanceWarmup" ByteString -> Maybe Natural -> QueryString
forall a. ToQuery a => ByteString -> a -> QueryString
Core.=: Maybe Natural
instanceWarmup
      ]