{-# LANGUAGE DeriveGeneric #-}
{-# LANGUAGE DuplicateRecordFields #-}
{-# LANGUAGE NamedFieldPuns #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE RecordWildCards #-}
{-# LANGUAGE StrictData #-}
{-# LANGUAGE TypeFamilies #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# OPTIONS_GHC -fno-warn-unused-binds #-}
{-# OPTIONS_GHC -fno-warn-unused-imports #-}
{-# OPTIONS_GHC -fno-warn-unused-matches #-}
module Amazonka.AutoScaling.UpdateAutoScalingGroup
(
UpdateAutoScalingGroup (..),
newUpdateAutoScalingGroup,
updateAutoScalingGroup_context,
updateAutoScalingGroup_terminationPolicies,
updateAutoScalingGroup_healthCheckGracePeriod,
updateAutoScalingGroup_serviceLinkedRoleARN,
updateAutoScalingGroup_newInstancesProtectedFromScaleIn,
updateAutoScalingGroup_vPCZoneIdentifier,
updateAutoScalingGroup_maxInstanceLifetime,
updateAutoScalingGroup_defaultCooldown,
updateAutoScalingGroup_maxSize,
updateAutoScalingGroup_availabilityZones,
updateAutoScalingGroup_desiredCapacity,
updateAutoScalingGroup_mixedInstancesPolicy,
updateAutoScalingGroup_minSize,
updateAutoScalingGroup_launchConfigurationName,
updateAutoScalingGroup_healthCheckType,
updateAutoScalingGroup_launchTemplate,
updateAutoScalingGroup_capacityRebalance,
updateAutoScalingGroup_placementGroup,
updateAutoScalingGroup_autoScalingGroupName,
UpdateAutoScalingGroupResponse (..),
newUpdateAutoScalingGroupResponse,
)
where
import Amazonka.AutoScaling.Types
import qualified Amazonka.Core as Core
import qualified Amazonka.Lens as Lens
import qualified Amazonka.Prelude as Prelude
import qualified Amazonka.Request as Request
import qualified Amazonka.Response as Response
data UpdateAutoScalingGroup = UpdateAutoScalingGroup'
{
UpdateAutoScalingGroup -> Maybe Text
context :: Prelude.Maybe Prelude.Text,
UpdateAutoScalingGroup -> Maybe [Text]
terminationPolicies :: Prelude.Maybe [Prelude.Text],
UpdateAutoScalingGroup -> Maybe Int
healthCheckGracePeriod :: Prelude.Maybe Prelude.Int,
UpdateAutoScalingGroup -> Maybe Text
serviceLinkedRoleARN :: Prelude.Maybe Prelude.Text,
UpdateAutoScalingGroup -> Maybe Bool
newInstancesProtectedFromScaleIn' :: Prelude.Maybe Prelude.Bool,
UpdateAutoScalingGroup -> Maybe Text
vPCZoneIdentifier :: Prelude.Maybe Prelude.Text,
UpdateAutoScalingGroup -> Maybe Int
maxInstanceLifetime :: Prelude.Maybe Prelude.Int,
UpdateAutoScalingGroup -> Maybe Int
defaultCooldown :: Prelude.Maybe Prelude.Int,
UpdateAutoScalingGroup -> Maybe Int
maxSize :: Prelude.Maybe Prelude.Int,
UpdateAutoScalingGroup -> Maybe [Text]
availabilityZones :: Prelude.Maybe [Prelude.Text],
UpdateAutoScalingGroup -> Maybe Int
desiredCapacity :: Prelude.Maybe Prelude.Int,
UpdateAutoScalingGroup -> Maybe MixedInstancesPolicy
mixedInstancesPolicy :: Prelude.Maybe MixedInstancesPolicy,
UpdateAutoScalingGroup -> Maybe Int
minSize :: Prelude.Maybe Prelude.Int,
UpdateAutoScalingGroup -> Maybe Text
launchConfigurationName :: Prelude.Maybe Prelude.Text,
UpdateAutoScalingGroup -> Maybe Text
healthCheckType :: Prelude.Maybe Prelude.Text,
UpdateAutoScalingGroup -> Maybe LaunchTemplateSpecification
launchTemplate :: Prelude.Maybe LaunchTemplateSpecification,
UpdateAutoScalingGroup -> Maybe Bool
capacityRebalance :: Prelude.Maybe Prelude.Bool,
UpdateAutoScalingGroup -> Maybe Text
placementGroup :: Prelude.Maybe Prelude.Text,
UpdateAutoScalingGroup -> Text
autoScalingGroupName :: Prelude.Text
}
deriving (UpdateAutoScalingGroup -> UpdateAutoScalingGroup -> Bool
(UpdateAutoScalingGroup -> UpdateAutoScalingGroup -> Bool)
-> (UpdateAutoScalingGroup -> UpdateAutoScalingGroup -> Bool)
-> Eq UpdateAutoScalingGroup
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: UpdateAutoScalingGroup -> UpdateAutoScalingGroup -> Bool
$c/= :: UpdateAutoScalingGroup -> UpdateAutoScalingGroup -> Bool
== :: UpdateAutoScalingGroup -> UpdateAutoScalingGroup -> Bool
$c== :: UpdateAutoScalingGroup -> UpdateAutoScalingGroup -> Bool
Prelude.Eq, ReadPrec [UpdateAutoScalingGroup]
ReadPrec UpdateAutoScalingGroup
Int -> ReadS UpdateAutoScalingGroup
ReadS [UpdateAutoScalingGroup]
(Int -> ReadS UpdateAutoScalingGroup)
-> ReadS [UpdateAutoScalingGroup]
-> ReadPrec UpdateAutoScalingGroup
-> ReadPrec [UpdateAutoScalingGroup]
-> Read UpdateAutoScalingGroup
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [UpdateAutoScalingGroup]
$creadListPrec :: ReadPrec [UpdateAutoScalingGroup]
readPrec :: ReadPrec UpdateAutoScalingGroup
$creadPrec :: ReadPrec UpdateAutoScalingGroup
readList :: ReadS [UpdateAutoScalingGroup]
$creadList :: ReadS [UpdateAutoScalingGroup]
readsPrec :: Int -> ReadS UpdateAutoScalingGroup
$creadsPrec :: Int -> ReadS UpdateAutoScalingGroup
Prelude.Read, Int -> UpdateAutoScalingGroup -> ShowS
[UpdateAutoScalingGroup] -> ShowS
UpdateAutoScalingGroup -> String
(Int -> UpdateAutoScalingGroup -> ShowS)
-> (UpdateAutoScalingGroup -> String)
-> ([UpdateAutoScalingGroup] -> ShowS)
-> Show UpdateAutoScalingGroup
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [UpdateAutoScalingGroup] -> ShowS
$cshowList :: [UpdateAutoScalingGroup] -> ShowS
show :: UpdateAutoScalingGroup -> String
$cshow :: UpdateAutoScalingGroup -> String
showsPrec :: Int -> UpdateAutoScalingGroup -> ShowS
$cshowsPrec :: Int -> UpdateAutoScalingGroup -> ShowS
Prelude.Show, (forall x. UpdateAutoScalingGroup -> Rep UpdateAutoScalingGroup x)
-> (forall x.
Rep UpdateAutoScalingGroup x -> UpdateAutoScalingGroup)
-> Generic UpdateAutoScalingGroup
forall x. Rep UpdateAutoScalingGroup x -> UpdateAutoScalingGroup
forall x. UpdateAutoScalingGroup -> Rep UpdateAutoScalingGroup x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep UpdateAutoScalingGroup x -> UpdateAutoScalingGroup
$cfrom :: forall x. UpdateAutoScalingGroup -> Rep UpdateAutoScalingGroup x
Prelude.Generic)
newUpdateAutoScalingGroup ::
Prelude.Text ->
UpdateAutoScalingGroup
newUpdateAutoScalingGroup :: Text -> UpdateAutoScalingGroup
newUpdateAutoScalingGroup Text
pAutoScalingGroupName_ =
UpdateAutoScalingGroup' :: Maybe Text
-> Maybe [Text]
-> Maybe Int
-> Maybe Text
-> Maybe Bool
-> Maybe Text
-> Maybe Int
-> Maybe Int
-> Maybe Int
-> Maybe [Text]
-> Maybe Int
-> Maybe MixedInstancesPolicy
-> Maybe Int
-> Maybe Text
-> Maybe Text
-> Maybe LaunchTemplateSpecification
-> Maybe Bool
-> Maybe Text
-> Text
-> UpdateAutoScalingGroup
UpdateAutoScalingGroup'
{ $sel:context:UpdateAutoScalingGroup' :: Maybe Text
context = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:terminationPolicies:UpdateAutoScalingGroup' :: Maybe [Text]
terminationPolicies = Maybe [Text]
forall a. Maybe a
Prelude.Nothing,
$sel:healthCheckGracePeriod:UpdateAutoScalingGroup' :: Maybe Int
healthCheckGracePeriod = Maybe Int
forall a. Maybe a
Prelude.Nothing,
$sel:serviceLinkedRoleARN:UpdateAutoScalingGroup' :: Maybe Text
serviceLinkedRoleARN = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:newInstancesProtectedFromScaleIn':UpdateAutoScalingGroup' :: Maybe Bool
newInstancesProtectedFromScaleIn' = Maybe Bool
forall a. Maybe a
Prelude.Nothing,
$sel:vPCZoneIdentifier:UpdateAutoScalingGroup' :: Maybe Text
vPCZoneIdentifier = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:maxInstanceLifetime:UpdateAutoScalingGroup' :: Maybe Int
maxInstanceLifetime = Maybe Int
forall a. Maybe a
Prelude.Nothing,
$sel:defaultCooldown:UpdateAutoScalingGroup' :: Maybe Int
defaultCooldown = Maybe Int
forall a. Maybe a
Prelude.Nothing,
$sel:maxSize:UpdateAutoScalingGroup' :: Maybe Int
maxSize = Maybe Int
forall a. Maybe a
Prelude.Nothing,
$sel:availabilityZones:UpdateAutoScalingGroup' :: Maybe [Text]
availabilityZones = Maybe [Text]
forall a. Maybe a
Prelude.Nothing,
$sel:desiredCapacity:UpdateAutoScalingGroup' :: Maybe Int
desiredCapacity = Maybe Int
forall a. Maybe a
Prelude.Nothing,
$sel:mixedInstancesPolicy:UpdateAutoScalingGroup' :: Maybe MixedInstancesPolicy
mixedInstancesPolicy = Maybe MixedInstancesPolicy
forall a. Maybe a
Prelude.Nothing,
$sel:minSize:UpdateAutoScalingGroup' :: Maybe Int
minSize = Maybe Int
forall a. Maybe a
Prelude.Nothing,
$sel:launchConfigurationName:UpdateAutoScalingGroup' :: Maybe Text
launchConfigurationName = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:healthCheckType:UpdateAutoScalingGroup' :: Maybe Text
healthCheckType = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:launchTemplate:UpdateAutoScalingGroup' :: Maybe LaunchTemplateSpecification
launchTemplate = Maybe LaunchTemplateSpecification
forall a. Maybe a
Prelude.Nothing,
$sel:capacityRebalance:UpdateAutoScalingGroup' :: Maybe Bool
capacityRebalance = Maybe Bool
forall a. Maybe a
Prelude.Nothing,
$sel:placementGroup:UpdateAutoScalingGroup' :: Maybe Text
placementGroup = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:autoScalingGroupName:UpdateAutoScalingGroup' :: Text
autoScalingGroupName = Text
pAutoScalingGroupName_
}
updateAutoScalingGroup_context :: Lens.Lens' UpdateAutoScalingGroup (Prelude.Maybe Prelude.Text)
updateAutoScalingGroup_context :: (Maybe Text -> f (Maybe Text))
-> UpdateAutoScalingGroup -> f UpdateAutoScalingGroup
updateAutoScalingGroup_context = (UpdateAutoScalingGroup -> Maybe Text)
-> (UpdateAutoScalingGroup -> Maybe Text -> UpdateAutoScalingGroup)
-> Lens
UpdateAutoScalingGroup
UpdateAutoScalingGroup
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\UpdateAutoScalingGroup' {Maybe Text
context :: Maybe Text
$sel:context:UpdateAutoScalingGroup' :: UpdateAutoScalingGroup -> Maybe Text
context} -> Maybe Text
context) (\s :: UpdateAutoScalingGroup
s@UpdateAutoScalingGroup' {} Maybe Text
a -> UpdateAutoScalingGroup
s {$sel:context:UpdateAutoScalingGroup' :: Maybe Text
context = Maybe Text
a} :: UpdateAutoScalingGroup)
updateAutoScalingGroup_terminationPolicies :: Lens.Lens' UpdateAutoScalingGroup (Prelude.Maybe [Prelude.Text])
updateAutoScalingGroup_terminationPolicies :: (Maybe [Text] -> f (Maybe [Text]))
-> UpdateAutoScalingGroup -> f UpdateAutoScalingGroup
updateAutoScalingGroup_terminationPolicies = (UpdateAutoScalingGroup -> Maybe [Text])
-> (UpdateAutoScalingGroup
-> Maybe [Text] -> UpdateAutoScalingGroup)
-> Lens
UpdateAutoScalingGroup
UpdateAutoScalingGroup
(Maybe [Text])
(Maybe [Text])
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\UpdateAutoScalingGroup' {Maybe [Text]
terminationPolicies :: Maybe [Text]
$sel:terminationPolicies:UpdateAutoScalingGroup' :: UpdateAutoScalingGroup -> Maybe [Text]
terminationPolicies} -> Maybe [Text]
terminationPolicies) (\s :: UpdateAutoScalingGroup
s@UpdateAutoScalingGroup' {} Maybe [Text]
a -> UpdateAutoScalingGroup
s {$sel:terminationPolicies:UpdateAutoScalingGroup' :: Maybe [Text]
terminationPolicies = Maybe [Text]
a} :: UpdateAutoScalingGroup) ((Maybe [Text] -> f (Maybe [Text]))
-> UpdateAutoScalingGroup -> f UpdateAutoScalingGroup)
-> ((Maybe [Text] -> f (Maybe [Text]))
-> Maybe [Text] -> f (Maybe [Text]))
-> (Maybe [Text] -> f (Maybe [Text]))
-> UpdateAutoScalingGroup
-> f UpdateAutoScalingGroup
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. AnIso [Text] [Text] [Text] [Text]
-> Iso (Maybe [Text]) (Maybe [Text]) (Maybe [Text]) (Maybe [Text])
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 [Text] [Text] [Text] [Text]
forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced
updateAutoScalingGroup_healthCheckGracePeriod :: Lens.Lens' UpdateAutoScalingGroup (Prelude.Maybe Prelude.Int)
updateAutoScalingGroup_healthCheckGracePeriod :: (Maybe Int -> f (Maybe Int))
-> UpdateAutoScalingGroup -> f UpdateAutoScalingGroup
updateAutoScalingGroup_healthCheckGracePeriod = (UpdateAutoScalingGroup -> Maybe Int)
-> (UpdateAutoScalingGroup -> Maybe Int -> UpdateAutoScalingGroup)
-> Lens
UpdateAutoScalingGroup
UpdateAutoScalingGroup
(Maybe Int)
(Maybe Int)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\UpdateAutoScalingGroup' {Maybe Int
healthCheckGracePeriod :: Maybe Int
$sel:healthCheckGracePeriod:UpdateAutoScalingGroup' :: UpdateAutoScalingGroup -> Maybe Int
healthCheckGracePeriod} -> Maybe Int
healthCheckGracePeriod) (\s :: UpdateAutoScalingGroup
s@UpdateAutoScalingGroup' {} Maybe Int
a -> UpdateAutoScalingGroup
s {$sel:healthCheckGracePeriod:UpdateAutoScalingGroup' :: Maybe Int
healthCheckGracePeriod = Maybe Int
a} :: UpdateAutoScalingGroup)
updateAutoScalingGroup_serviceLinkedRoleARN :: Lens.Lens' UpdateAutoScalingGroup (Prelude.Maybe Prelude.Text)
updateAutoScalingGroup_serviceLinkedRoleARN :: (Maybe Text -> f (Maybe Text))
-> UpdateAutoScalingGroup -> f UpdateAutoScalingGroup
updateAutoScalingGroup_serviceLinkedRoleARN = (UpdateAutoScalingGroup -> Maybe Text)
-> (UpdateAutoScalingGroup -> Maybe Text -> UpdateAutoScalingGroup)
-> Lens
UpdateAutoScalingGroup
UpdateAutoScalingGroup
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\UpdateAutoScalingGroup' {Maybe Text
serviceLinkedRoleARN :: Maybe Text
$sel:serviceLinkedRoleARN:UpdateAutoScalingGroup' :: UpdateAutoScalingGroup -> Maybe Text
serviceLinkedRoleARN} -> Maybe Text
serviceLinkedRoleARN) (\s :: UpdateAutoScalingGroup
s@UpdateAutoScalingGroup' {} Maybe Text
a -> UpdateAutoScalingGroup
s {$sel:serviceLinkedRoleARN:UpdateAutoScalingGroup' :: Maybe Text
serviceLinkedRoleARN = Maybe Text
a} :: UpdateAutoScalingGroup)
updateAutoScalingGroup_newInstancesProtectedFromScaleIn :: Lens.Lens' UpdateAutoScalingGroup (Prelude.Maybe Prelude.Bool)
updateAutoScalingGroup_newInstancesProtectedFromScaleIn :: (Maybe Bool -> f (Maybe Bool))
-> UpdateAutoScalingGroup -> f UpdateAutoScalingGroup
updateAutoScalingGroup_newInstancesProtectedFromScaleIn = (UpdateAutoScalingGroup -> Maybe Bool)
-> (UpdateAutoScalingGroup -> Maybe Bool -> UpdateAutoScalingGroup)
-> Lens
UpdateAutoScalingGroup
UpdateAutoScalingGroup
(Maybe Bool)
(Maybe Bool)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\UpdateAutoScalingGroup' {Maybe Bool
newInstancesProtectedFromScaleIn' :: Maybe Bool
$sel:newInstancesProtectedFromScaleIn':UpdateAutoScalingGroup' :: UpdateAutoScalingGroup -> Maybe Bool
newInstancesProtectedFromScaleIn'} -> Maybe Bool
newInstancesProtectedFromScaleIn') (\s :: UpdateAutoScalingGroup
s@UpdateAutoScalingGroup' {} Maybe Bool
a -> UpdateAutoScalingGroup
s {$sel:newInstancesProtectedFromScaleIn':UpdateAutoScalingGroup' :: Maybe Bool
newInstancesProtectedFromScaleIn' = Maybe Bool
a} :: UpdateAutoScalingGroup)
updateAutoScalingGroup_vPCZoneIdentifier :: Lens.Lens' UpdateAutoScalingGroup (Prelude.Maybe Prelude.Text)
updateAutoScalingGroup_vPCZoneIdentifier :: (Maybe Text -> f (Maybe Text))
-> UpdateAutoScalingGroup -> f UpdateAutoScalingGroup
updateAutoScalingGroup_vPCZoneIdentifier = (UpdateAutoScalingGroup -> Maybe Text)
-> (UpdateAutoScalingGroup -> Maybe Text -> UpdateAutoScalingGroup)
-> Lens
UpdateAutoScalingGroup
UpdateAutoScalingGroup
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\UpdateAutoScalingGroup' {Maybe Text
vPCZoneIdentifier :: Maybe Text
$sel:vPCZoneIdentifier:UpdateAutoScalingGroup' :: UpdateAutoScalingGroup -> Maybe Text
vPCZoneIdentifier} -> Maybe Text
vPCZoneIdentifier) (\s :: UpdateAutoScalingGroup
s@UpdateAutoScalingGroup' {} Maybe Text
a -> UpdateAutoScalingGroup
s {$sel:vPCZoneIdentifier:UpdateAutoScalingGroup' :: Maybe Text
vPCZoneIdentifier = Maybe Text
a} :: UpdateAutoScalingGroup)
updateAutoScalingGroup_maxInstanceLifetime :: Lens.Lens' UpdateAutoScalingGroup (Prelude.Maybe Prelude.Int)
updateAutoScalingGroup_maxInstanceLifetime :: (Maybe Int -> f (Maybe Int))
-> UpdateAutoScalingGroup -> f UpdateAutoScalingGroup
updateAutoScalingGroup_maxInstanceLifetime = (UpdateAutoScalingGroup -> Maybe Int)
-> (UpdateAutoScalingGroup -> Maybe Int -> UpdateAutoScalingGroup)
-> Lens
UpdateAutoScalingGroup
UpdateAutoScalingGroup
(Maybe Int)
(Maybe Int)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\UpdateAutoScalingGroup' {Maybe Int
maxInstanceLifetime :: Maybe Int
$sel:maxInstanceLifetime:UpdateAutoScalingGroup' :: UpdateAutoScalingGroup -> Maybe Int
maxInstanceLifetime} -> Maybe Int
maxInstanceLifetime) (\s :: UpdateAutoScalingGroup
s@UpdateAutoScalingGroup' {} Maybe Int
a -> UpdateAutoScalingGroup
s {$sel:maxInstanceLifetime:UpdateAutoScalingGroup' :: Maybe Int
maxInstanceLifetime = Maybe Int
a} :: UpdateAutoScalingGroup)
updateAutoScalingGroup_defaultCooldown :: Lens.Lens' UpdateAutoScalingGroup (Prelude.Maybe Prelude.Int)
updateAutoScalingGroup_defaultCooldown :: (Maybe Int -> f (Maybe Int))
-> UpdateAutoScalingGroup -> f UpdateAutoScalingGroup
updateAutoScalingGroup_defaultCooldown = (UpdateAutoScalingGroup -> Maybe Int)
-> (UpdateAutoScalingGroup -> Maybe Int -> UpdateAutoScalingGroup)
-> Lens
UpdateAutoScalingGroup
UpdateAutoScalingGroup
(Maybe Int)
(Maybe Int)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\UpdateAutoScalingGroup' {Maybe Int
defaultCooldown :: Maybe Int
$sel:defaultCooldown:UpdateAutoScalingGroup' :: UpdateAutoScalingGroup -> Maybe Int
defaultCooldown} -> Maybe Int
defaultCooldown) (\s :: UpdateAutoScalingGroup
s@UpdateAutoScalingGroup' {} Maybe Int
a -> UpdateAutoScalingGroup
s {$sel:defaultCooldown:UpdateAutoScalingGroup' :: Maybe Int
defaultCooldown = Maybe Int
a} :: UpdateAutoScalingGroup)
updateAutoScalingGroup_maxSize :: Lens.Lens' UpdateAutoScalingGroup (Prelude.Maybe Prelude.Int)
updateAutoScalingGroup_maxSize :: (Maybe Int -> f (Maybe Int))
-> UpdateAutoScalingGroup -> f UpdateAutoScalingGroup
updateAutoScalingGroup_maxSize = (UpdateAutoScalingGroup -> Maybe Int)
-> (UpdateAutoScalingGroup -> Maybe Int -> UpdateAutoScalingGroup)
-> Lens
UpdateAutoScalingGroup
UpdateAutoScalingGroup
(Maybe Int)
(Maybe Int)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\UpdateAutoScalingGroup' {Maybe Int
maxSize :: Maybe Int
$sel:maxSize:UpdateAutoScalingGroup' :: UpdateAutoScalingGroup -> Maybe Int
maxSize} -> Maybe Int
maxSize) (\s :: UpdateAutoScalingGroup
s@UpdateAutoScalingGroup' {} Maybe Int
a -> UpdateAutoScalingGroup
s {$sel:maxSize:UpdateAutoScalingGroup' :: Maybe Int
maxSize = Maybe Int
a} :: UpdateAutoScalingGroup)
updateAutoScalingGroup_availabilityZones :: Lens.Lens' UpdateAutoScalingGroup (Prelude.Maybe [Prelude.Text])
updateAutoScalingGroup_availabilityZones :: (Maybe [Text] -> f (Maybe [Text]))
-> UpdateAutoScalingGroup -> f UpdateAutoScalingGroup
updateAutoScalingGroup_availabilityZones = (UpdateAutoScalingGroup -> Maybe [Text])
-> (UpdateAutoScalingGroup
-> Maybe [Text] -> UpdateAutoScalingGroup)
-> Lens
UpdateAutoScalingGroup
UpdateAutoScalingGroup
(Maybe [Text])
(Maybe [Text])
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\UpdateAutoScalingGroup' {Maybe [Text]
availabilityZones :: Maybe [Text]
$sel:availabilityZones:UpdateAutoScalingGroup' :: UpdateAutoScalingGroup -> Maybe [Text]
availabilityZones} -> Maybe [Text]
availabilityZones) (\s :: UpdateAutoScalingGroup
s@UpdateAutoScalingGroup' {} Maybe [Text]
a -> UpdateAutoScalingGroup
s {$sel:availabilityZones:UpdateAutoScalingGroup' :: Maybe [Text]
availabilityZones = Maybe [Text]
a} :: UpdateAutoScalingGroup) ((Maybe [Text] -> f (Maybe [Text]))
-> UpdateAutoScalingGroup -> f UpdateAutoScalingGroup)
-> ((Maybe [Text] -> f (Maybe [Text]))
-> Maybe [Text] -> f (Maybe [Text]))
-> (Maybe [Text] -> f (Maybe [Text]))
-> UpdateAutoScalingGroup
-> f UpdateAutoScalingGroup
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. AnIso [Text] [Text] [Text] [Text]
-> Iso (Maybe [Text]) (Maybe [Text]) (Maybe [Text]) (Maybe [Text])
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 [Text] [Text] [Text] [Text]
forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced
updateAutoScalingGroup_desiredCapacity :: Lens.Lens' UpdateAutoScalingGroup (Prelude.Maybe Prelude.Int)
updateAutoScalingGroup_desiredCapacity :: (Maybe Int -> f (Maybe Int))
-> UpdateAutoScalingGroup -> f UpdateAutoScalingGroup
updateAutoScalingGroup_desiredCapacity = (UpdateAutoScalingGroup -> Maybe Int)
-> (UpdateAutoScalingGroup -> Maybe Int -> UpdateAutoScalingGroup)
-> Lens
UpdateAutoScalingGroup
UpdateAutoScalingGroup
(Maybe Int)
(Maybe Int)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\UpdateAutoScalingGroup' {Maybe Int
desiredCapacity :: Maybe Int
$sel:desiredCapacity:UpdateAutoScalingGroup' :: UpdateAutoScalingGroup -> Maybe Int
desiredCapacity} -> Maybe Int
desiredCapacity) (\s :: UpdateAutoScalingGroup
s@UpdateAutoScalingGroup' {} Maybe Int
a -> UpdateAutoScalingGroup
s {$sel:desiredCapacity:UpdateAutoScalingGroup' :: Maybe Int
desiredCapacity = Maybe Int
a} :: UpdateAutoScalingGroup)
updateAutoScalingGroup_mixedInstancesPolicy :: Lens.Lens' UpdateAutoScalingGroup (Prelude.Maybe MixedInstancesPolicy)
updateAutoScalingGroup_mixedInstancesPolicy :: (Maybe MixedInstancesPolicy -> f (Maybe MixedInstancesPolicy))
-> UpdateAutoScalingGroup -> f UpdateAutoScalingGroup
updateAutoScalingGroup_mixedInstancesPolicy = (UpdateAutoScalingGroup -> Maybe MixedInstancesPolicy)
-> (UpdateAutoScalingGroup
-> Maybe MixedInstancesPolicy -> UpdateAutoScalingGroup)
-> Lens
UpdateAutoScalingGroup
UpdateAutoScalingGroup
(Maybe MixedInstancesPolicy)
(Maybe MixedInstancesPolicy)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\UpdateAutoScalingGroup' {Maybe MixedInstancesPolicy
mixedInstancesPolicy :: Maybe MixedInstancesPolicy
$sel:mixedInstancesPolicy:UpdateAutoScalingGroup' :: UpdateAutoScalingGroup -> Maybe MixedInstancesPolicy
mixedInstancesPolicy} -> Maybe MixedInstancesPolicy
mixedInstancesPolicy) (\s :: UpdateAutoScalingGroup
s@UpdateAutoScalingGroup' {} Maybe MixedInstancesPolicy
a -> UpdateAutoScalingGroup
s {$sel:mixedInstancesPolicy:UpdateAutoScalingGroup' :: Maybe MixedInstancesPolicy
mixedInstancesPolicy = Maybe MixedInstancesPolicy
a} :: UpdateAutoScalingGroup)
updateAutoScalingGroup_minSize :: Lens.Lens' UpdateAutoScalingGroup (Prelude.Maybe Prelude.Int)
updateAutoScalingGroup_minSize :: (Maybe Int -> f (Maybe Int))
-> UpdateAutoScalingGroup -> f UpdateAutoScalingGroup
updateAutoScalingGroup_minSize = (UpdateAutoScalingGroup -> Maybe Int)
-> (UpdateAutoScalingGroup -> Maybe Int -> UpdateAutoScalingGroup)
-> Lens
UpdateAutoScalingGroup
UpdateAutoScalingGroup
(Maybe Int)
(Maybe Int)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\UpdateAutoScalingGroup' {Maybe Int
minSize :: Maybe Int
$sel:minSize:UpdateAutoScalingGroup' :: UpdateAutoScalingGroup -> Maybe Int
minSize} -> Maybe Int
minSize) (\s :: UpdateAutoScalingGroup
s@UpdateAutoScalingGroup' {} Maybe Int
a -> UpdateAutoScalingGroup
s {$sel:minSize:UpdateAutoScalingGroup' :: Maybe Int
minSize = Maybe Int
a} :: UpdateAutoScalingGroup)
updateAutoScalingGroup_launchConfigurationName :: Lens.Lens' UpdateAutoScalingGroup (Prelude.Maybe Prelude.Text)
updateAutoScalingGroup_launchConfigurationName :: (Maybe Text -> f (Maybe Text))
-> UpdateAutoScalingGroup -> f UpdateAutoScalingGroup
updateAutoScalingGroup_launchConfigurationName = (UpdateAutoScalingGroup -> Maybe Text)
-> (UpdateAutoScalingGroup -> Maybe Text -> UpdateAutoScalingGroup)
-> Lens
UpdateAutoScalingGroup
UpdateAutoScalingGroup
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\UpdateAutoScalingGroup' {Maybe Text
launchConfigurationName :: Maybe Text
$sel:launchConfigurationName:UpdateAutoScalingGroup' :: UpdateAutoScalingGroup -> Maybe Text
launchConfigurationName} -> Maybe Text
launchConfigurationName) (\s :: UpdateAutoScalingGroup
s@UpdateAutoScalingGroup' {} Maybe Text
a -> UpdateAutoScalingGroup
s {$sel:launchConfigurationName:UpdateAutoScalingGroup' :: Maybe Text
launchConfigurationName = Maybe Text
a} :: UpdateAutoScalingGroup)
updateAutoScalingGroup_healthCheckType :: Lens.Lens' UpdateAutoScalingGroup (Prelude.Maybe Prelude.Text)
updateAutoScalingGroup_healthCheckType :: (Maybe Text -> f (Maybe Text))
-> UpdateAutoScalingGroup -> f UpdateAutoScalingGroup
updateAutoScalingGroup_healthCheckType = (UpdateAutoScalingGroup -> Maybe Text)
-> (UpdateAutoScalingGroup -> Maybe Text -> UpdateAutoScalingGroup)
-> Lens
UpdateAutoScalingGroup
UpdateAutoScalingGroup
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\UpdateAutoScalingGroup' {Maybe Text
healthCheckType :: Maybe Text
$sel:healthCheckType:UpdateAutoScalingGroup' :: UpdateAutoScalingGroup -> Maybe Text
healthCheckType} -> Maybe Text
healthCheckType) (\s :: UpdateAutoScalingGroup
s@UpdateAutoScalingGroup' {} Maybe Text
a -> UpdateAutoScalingGroup
s {$sel:healthCheckType:UpdateAutoScalingGroup' :: Maybe Text
healthCheckType = Maybe Text
a} :: UpdateAutoScalingGroup)
updateAutoScalingGroup_launchTemplate :: Lens.Lens' UpdateAutoScalingGroup (Prelude.Maybe LaunchTemplateSpecification)
updateAutoScalingGroup_launchTemplate :: (Maybe LaunchTemplateSpecification
-> f (Maybe LaunchTemplateSpecification))
-> UpdateAutoScalingGroup -> f UpdateAutoScalingGroup
updateAutoScalingGroup_launchTemplate = (UpdateAutoScalingGroup -> Maybe LaunchTemplateSpecification)
-> (UpdateAutoScalingGroup
-> Maybe LaunchTemplateSpecification -> UpdateAutoScalingGroup)
-> Lens
UpdateAutoScalingGroup
UpdateAutoScalingGroup
(Maybe LaunchTemplateSpecification)
(Maybe LaunchTemplateSpecification)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\UpdateAutoScalingGroup' {Maybe LaunchTemplateSpecification
launchTemplate :: Maybe LaunchTemplateSpecification
$sel:launchTemplate:UpdateAutoScalingGroup' :: UpdateAutoScalingGroup -> Maybe LaunchTemplateSpecification
launchTemplate} -> Maybe LaunchTemplateSpecification
launchTemplate) (\s :: UpdateAutoScalingGroup
s@UpdateAutoScalingGroup' {} Maybe LaunchTemplateSpecification
a -> UpdateAutoScalingGroup
s {$sel:launchTemplate:UpdateAutoScalingGroup' :: Maybe LaunchTemplateSpecification
launchTemplate = Maybe LaunchTemplateSpecification
a} :: UpdateAutoScalingGroup)
updateAutoScalingGroup_capacityRebalance :: Lens.Lens' UpdateAutoScalingGroup (Prelude.Maybe Prelude.Bool)
updateAutoScalingGroup_capacityRebalance :: (Maybe Bool -> f (Maybe Bool))
-> UpdateAutoScalingGroup -> f UpdateAutoScalingGroup
updateAutoScalingGroup_capacityRebalance = (UpdateAutoScalingGroup -> Maybe Bool)
-> (UpdateAutoScalingGroup -> Maybe Bool -> UpdateAutoScalingGroup)
-> Lens
UpdateAutoScalingGroup
UpdateAutoScalingGroup
(Maybe Bool)
(Maybe Bool)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\UpdateAutoScalingGroup' {Maybe Bool
capacityRebalance :: Maybe Bool
$sel:capacityRebalance:UpdateAutoScalingGroup' :: UpdateAutoScalingGroup -> Maybe Bool
capacityRebalance} -> Maybe Bool
capacityRebalance) (\s :: UpdateAutoScalingGroup
s@UpdateAutoScalingGroup' {} Maybe Bool
a -> UpdateAutoScalingGroup
s {$sel:capacityRebalance:UpdateAutoScalingGroup' :: Maybe Bool
capacityRebalance = Maybe Bool
a} :: UpdateAutoScalingGroup)
updateAutoScalingGroup_placementGroup :: Lens.Lens' UpdateAutoScalingGroup (Prelude.Maybe Prelude.Text)
updateAutoScalingGroup_placementGroup :: (Maybe Text -> f (Maybe Text))
-> UpdateAutoScalingGroup -> f UpdateAutoScalingGroup
updateAutoScalingGroup_placementGroup = (UpdateAutoScalingGroup -> Maybe Text)
-> (UpdateAutoScalingGroup -> Maybe Text -> UpdateAutoScalingGroup)
-> Lens
UpdateAutoScalingGroup
UpdateAutoScalingGroup
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\UpdateAutoScalingGroup' {Maybe Text
placementGroup :: Maybe Text
$sel:placementGroup:UpdateAutoScalingGroup' :: UpdateAutoScalingGroup -> Maybe Text
placementGroup} -> Maybe Text
placementGroup) (\s :: UpdateAutoScalingGroup
s@UpdateAutoScalingGroup' {} Maybe Text
a -> UpdateAutoScalingGroup
s {$sel:placementGroup:UpdateAutoScalingGroup' :: Maybe Text
placementGroup = Maybe Text
a} :: UpdateAutoScalingGroup)
updateAutoScalingGroup_autoScalingGroupName :: Lens.Lens' UpdateAutoScalingGroup Prelude.Text
updateAutoScalingGroup_autoScalingGroupName :: (Text -> f Text)
-> UpdateAutoScalingGroup -> f UpdateAutoScalingGroup
updateAutoScalingGroup_autoScalingGroupName = (UpdateAutoScalingGroup -> Text)
-> (UpdateAutoScalingGroup -> Text -> UpdateAutoScalingGroup)
-> Lens UpdateAutoScalingGroup UpdateAutoScalingGroup Text Text
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\UpdateAutoScalingGroup' {Text
autoScalingGroupName :: Text
$sel:autoScalingGroupName:UpdateAutoScalingGroup' :: UpdateAutoScalingGroup -> Text
autoScalingGroupName} -> Text
autoScalingGroupName) (\s :: UpdateAutoScalingGroup
s@UpdateAutoScalingGroup' {} Text
a -> UpdateAutoScalingGroup
s {$sel:autoScalingGroupName:UpdateAutoScalingGroup' :: Text
autoScalingGroupName = Text
a} :: UpdateAutoScalingGroup)
instance Core.AWSRequest UpdateAutoScalingGroup where
type
AWSResponse UpdateAutoScalingGroup =
UpdateAutoScalingGroupResponse
request :: UpdateAutoScalingGroup -> Request UpdateAutoScalingGroup
request = Service -> UpdateAutoScalingGroup -> Request UpdateAutoScalingGroup
forall a. ToRequest a => Service -> a -> Request a
Request.postQuery Service
defaultService
response :: Logger
-> Service
-> Proxy UpdateAutoScalingGroup
-> ClientResponse ClientBody
-> m (Either
Error (ClientResponse (AWSResponse UpdateAutoScalingGroup)))
response =
AWSResponse UpdateAutoScalingGroup
-> Logger
-> Service
-> Proxy UpdateAutoScalingGroup
-> ClientResponse ClientBody
-> m (Either
Error (ClientResponse (AWSResponse UpdateAutoScalingGroup)))
forall (m :: * -> *) a.
MonadResource m =>
AWSResponse a
-> Logger
-> Service
-> Proxy a
-> ClientResponse ClientBody
-> m (Either Error (ClientResponse (AWSResponse a)))
Response.receiveNull
AWSResponse UpdateAutoScalingGroup
UpdateAutoScalingGroupResponse
UpdateAutoScalingGroupResponse'
instance Prelude.Hashable UpdateAutoScalingGroup
instance Prelude.NFData UpdateAutoScalingGroup
instance Core.ToHeaders UpdateAutoScalingGroup where
toHeaders :: UpdateAutoScalingGroup -> [Header]
toHeaders = [Header] -> UpdateAutoScalingGroup -> [Header]
forall a b. a -> b -> a
Prelude.const [Header]
forall a. Monoid a => a
Prelude.mempty
instance Core.ToPath UpdateAutoScalingGroup where
toPath :: UpdateAutoScalingGroup -> ByteString
toPath = ByteString -> UpdateAutoScalingGroup -> ByteString
forall a b. a -> b -> a
Prelude.const ByteString
"/"
instance Core.ToQuery UpdateAutoScalingGroup where
toQuery :: UpdateAutoScalingGroup -> QueryString
toQuery UpdateAutoScalingGroup' {Maybe Bool
Maybe Int
Maybe [Text]
Maybe Text
Maybe LaunchTemplateSpecification
Maybe MixedInstancesPolicy
Text
autoScalingGroupName :: Text
placementGroup :: Maybe Text
capacityRebalance :: Maybe Bool
launchTemplate :: Maybe LaunchTemplateSpecification
healthCheckType :: Maybe Text
launchConfigurationName :: Maybe Text
minSize :: Maybe Int
mixedInstancesPolicy :: Maybe MixedInstancesPolicy
desiredCapacity :: Maybe Int
availabilityZones :: Maybe [Text]
maxSize :: Maybe Int
defaultCooldown :: Maybe Int
maxInstanceLifetime :: Maybe Int
vPCZoneIdentifier :: Maybe Text
newInstancesProtectedFromScaleIn' :: Maybe Bool
serviceLinkedRoleARN :: Maybe Text
healthCheckGracePeriod :: Maybe Int
terminationPolicies :: Maybe [Text]
context :: Maybe Text
$sel:autoScalingGroupName:UpdateAutoScalingGroup' :: UpdateAutoScalingGroup -> Text
$sel:placementGroup:UpdateAutoScalingGroup' :: UpdateAutoScalingGroup -> Maybe Text
$sel:capacityRebalance:UpdateAutoScalingGroup' :: UpdateAutoScalingGroup -> Maybe Bool
$sel:launchTemplate:UpdateAutoScalingGroup' :: UpdateAutoScalingGroup -> Maybe LaunchTemplateSpecification
$sel:healthCheckType:UpdateAutoScalingGroup' :: UpdateAutoScalingGroup -> Maybe Text
$sel:launchConfigurationName:UpdateAutoScalingGroup' :: UpdateAutoScalingGroup -> Maybe Text
$sel:minSize:UpdateAutoScalingGroup' :: UpdateAutoScalingGroup -> Maybe Int
$sel:mixedInstancesPolicy:UpdateAutoScalingGroup' :: UpdateAutoScalingGroup -> Maybe MixedInstancesPolicy
$sel:desiredCapacity:UpdateAutoScalingGroup' :: UpdateAutoScalingGroup -> Maybe Int
$sel:availabilityZones:UpdateAutoScalingGroup' :: UpdateAutoScalingGroup -> Maybe [Text]
$sel:maxSize:UpdateAutoScalingGroup' :: UpdateAutoScalingGroup -> Maybe Int
$sel:defaultCooldown:UpdateAutoScalingGroup' :: UpdateAutoScalingGroup -> Maybe Int
$sel:maxInstanceLifetime:UpdateAutoScalingGroup' :: UpdateAutoScalingGroup -> Maybe Int
$sel:vPCZoneIdentifier:UpdateAutoScalingGroup' :: UpdateAutoScalingGroup -> Maybe Text
$sel:newInstancesProtectedFromScaleIn':UpdateAutoScalingGroup' :: UpdateAutoScalingGroup -> Maybe Bool
$sel:serviceLinkedRoleARN:UpdateAutoScalingGroup' :: UpdateAutoScalingGroup -> Maybe Text
$sel:healthCheckGracePeriod:UpdateAutoScalingGroup' :: UpdateAutoScalingGroup -> Maybe Int
$sel:terminationPolicies:UpdateAutoScalingGroup' :: UpdateAutoScalingGroup -> Maybe [Text]
$sel:context:UpdateAutoScalingGroup' :: UpdateAutoScalingGroup -> Maybe Text
..} =
[QueryString] -> QueryString
forall a. Monoid a => [a] -> a
Prelude.mconcat
[ ByteString
"Action"
ByteString -> ByteString -> QueryString
forall a. ToQuery a => ByteString -> a -> QueryString
Core.=: (ByteString
"UpdateAutoScalingGroup" :: Prelude.ByteString),
ByteString
"Version"
ByteString -> ByteString -> QueryString
forall a. ToQuery a => ByteString -> a -> QueryString
Core.=: (ByteString
"2011-01-01" :: Prelude.ByteString),
ByteString
"Context" ByteString -> Maybe Text -> QueryString
forall a. ToQuery a => ByteString -> a -> QueryString
Core.=: Maybe Text
context,
ByteString
"TerminationPolicies"
ByteString -> QueryString -> QueryString
forall a. ToQuery a => ByteString -> a -> QueryString
Core.=: Maybe QueryString -> QueryString
forall a. ToQuery a => a -> QueryString
Core.toQuery
( ByteString -> [Text] -> QueryString
forall a.
(IsList a, ToQuery (Item a)) =>
ByteString -> a -> QueryString
Core.toQueryList ByteString
"member"
([Text] -> QueryString) -> Maybe [Text] -> Maybe QueryString
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [Text]
terminationPolicies
),
ByteString
"HealthCheckGracePeriod"
ByteString -> Maybe Int -> QueryString
forall a. ToQuery a => ByteString -> a -> QueryString
Core.=: Maybe Int
healthCheckGracePeriod,
ByteString
"ServiceLinkedRoleARN" ByteString -> Maybe Text -> QueryString
forall a. ToQuery a => ByteString -> a -> QueryString
Core.=: Maybe Text
serviceLinkedRoleARN,
ByteString
"NewInstancesProtectedFromScaleIn"
ByteString -> Maybe Bool -> QueryString
forall a. ToQuery a => ByteString -> a -> QueryString
Core.=: Maybe Bool
newInstancesProtectedFromScaleIn',
ByteString
"VPCZoneIdentifier" ByteString -> Maybe Text -> QueryString
forall a. ToQuery a => ByteString -> a -> QueryString
Core.=: Maybe Text
vPCZoneIdentifier,
ByteString
"MaxInstanceLifetime" ByteString -> Maybe Int -> QueryString
forall a. ToQuery a => ByteString -> a -> QueryString
Core.=: Maybe Int
maxInstanceLifetime,
ByteString
"DefaultCooldown" ByteString -> Maybe Int -> QueryString
forall a. ToQuery a => ByteString -> a -> QueryString
Core.=: Maybe Int
defaultCooldown,
ByteString
"MaxSize" ByteString -> Maybe Int -> QueryString
forall a. ToQuery a => ByteString -> a -> QueryString
Core.=: Maybe Int
maxSize,
ByteString
"AvailabilityZones"
ByteString -> QueryString -> QueryString
forall a. ToQuery a => ByteString -> a -> QueryString
Core.=: Maybe QueryString -> QueryString
forall a. ToQuery a => a -> QueryString
Core.toQuery
( ByteString -> [Text] -> QueryString
forall a.
(IsList a, ToQuery (Item a)) =>
ByteString -> a -> QueryString
Core.toQueryList ByteString
"member"
([Text] -> QueryString) -> Maybe [Text] -> Maybe QueryString
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [Text]
availabilityZones
),
ByteString
"DesiredCapacity" ByteString -> Maybe Int -> QueryString
forall a. ToQuery a => ByteString -> a -> QueryString
Core.=: Maybe Int
desiredCapacity,
ByteString
"MixedInstancesPolicy" ByteString -> Maybe MixedInstancesPolicy -> QueryString
forall a. ToQuery a => ByteString -> a -> QueryString
Core.=: Maybe MixedInstancesPolicy
mixedInstancesPolicy,
ByteString
"MinSize" ByteString -> Maybe Int -> QueryString
forall a. ToQuery a => ByteString -> a -> QueryString
Core.=: Maybe Int
minSize,
ByteString
"LaunchConfigurationName"
ByteString -> Maybe Text -> QueryString
forall a. ToQuery a => ByteString -> a -> QueryString
Core.=: Maybe Text
launchConfigurationName,
ByteString
"HealthCheckType" ByteString -> Maybe Text -> QueryString
forall a. ToQuery a => ByteString -> a -> QueryString
Core.=: Maybe Text
healthCheckType,
ByteString
"LaunchTemplate" ByteString -> Maybe LaunchTemplateSpecification -> QueryString
forall a. ToQuery a => ByteString -> a -> QueryString
Core.=: Maybe LaunchTemplateSpecification
launchTemplate,
ByteString
"CapacityRebalance" ByteString -> Maybe Bool -> QueryString
forall a. ToQuery a => ByteString -> a -> QueryString
Core.=: Maybe Bool
capacityRebalance,
ByteString
"PlacementGroup" ByteString -> Maybe Text -> QueryString
forall a. ToQuery a => ByteString -> a -> QueryString
Core.=: Maybe Text
placementGroup,
ByteString
"AutoScalingGroupName" ByteString -> Text -> QueryString
forall a. ToQuery a => ByteString -> a -> QueryString
Core.=: Text
autoScalingGroupName
]
data UpdateAutoScalingGroupResponse = UpdateAutoScalingGroupResponse'
{
}
deriving (UpdateAutoScalingGroupResponse
-> UpdateAutoScalingGroupResponse -> Bool
(UpdateAutoScalingGroupResponse
-> UpdateAutoScalingGroupResponse -> Bool)
-> (UpdateAutoScalingGroupResponse
-> UpdateAutoScalingGroupResponse -> Bool)
-> Eq UpdateAutoScalingGroupResponse
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: UpdateAutoScalingGroupResponse
-> UpdateAutoScalingGroupResponse -> Bool
$c/= :: UpdateAutoScalingGroupResponse
-> UpdateAutoScalingGroupResponse -> Bool
== :: UpdateAutoScalingGroupResponse
-> UpdateAutoScalingGroupResponse -> Bool
$c== :: UpdateAutoScalingGroupResponse
-> UpdateAutoScalingGroupResponse -> Bool
Prelude.Eq, ReadPrec [UpdateAutoScalingGroupResponse]
ReadPrec UpdateAutoScalingGroupResponse
Int -> ReadS UpdateAutoScalingGroupResponse
ReadS [UpdateAutoScalingGroupResponse]
(Int -> ReadS UpdateAutoScalingGroupResponse)
-> ReadS [UpdateAutoScalingGroupResponse]
-> ReadPrec UpdateAutoScalingGroupResponse
-> ReadPrec [UpdateAutoScalingGroupResponse]
-> Read UpdateAutoScalingGroupResponse
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [UpdateAutoScalingGroupResponse]
$creadListPrec :: ReadPrec [UpdateAutoScalingGroupResponse]
readPrec :: ReadPrec UpdateAutoScalingGroupResponse
$creadPrec :: ReadPrec UpdateAutoScalingGroupResponse
readList :: ReadS [UpdateAutoScalingGroupResponse]
$creadList :: ReadS [UpdateAutoScalingGroupResponse]
readsPrec :: Int -> ReadS UpdateAutoScalingGroupResponse
$creadsPrec :: Int -> ReadS UpdateAutoScalingGroupResponse
Prelude.Read, Int -> UpdateAutoScalingGroupResponse -> ShowS
[UpdateAutoScalingGroupResponse] -> ShowS
UpdateAutoScalingGroupResponse -> String
(Int -> UpdateAutoScalingGroupResponse -> ShowS)
-> (UpdateAutoScalingGroupResponse -> String)
-> ([UpdateAutoScalingGroupResponse] -> ShowS)
-> Show UpdateAutoScalingGroupResponse
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [UpdateAutoScalingGroupResponse] -> ShowS
$cshowList :: [UpdateAutoScalingGroupResponse] -> ShowS
show :: UpdateAutoScalingGroupResponse -> String
$cshow :: UpdateAutoScalingGroupResponse -> String
showsPrec :: Int -> UpdateAutoScalingGroupResponse -> ShowS
$cshowsPrec :: Int -> UpdateAutoScalingGroupResponse -> ShowS
Prelude.Show, (forall x.
UpdateAutoScalingGroupResponse
-> Rep UpdateAutoScalingGroupResponse x)
-> (forall x.
Rep UpdateAutoScalingGroupResponse x
-> UpdateAutoScalingGroupResponse)
-> Generic UpdateAutoScalingGroupResponse
forall x.
Rep UpdateAutoScalingGroupResponse x
-> UpdateAutoScalingGroupResponse
forall x.
UpdateAutoScalingGroupResponse
-> Rep UpdateAutoScalingGroupResponse x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep UpdateAutoScalingGroupResponse x
-> UpdateAutoScalingGroupResponse
$cfrom :: forall x.
UpdateAutoScalingGroupResponse
-> Rep UpdateAutoScalingGroupResponse x
Prelude.Generic)
newUpdateAutoScalingGroupResponse ::
UpdateAutoScalingGroupResponse
newUpdateAutoScalingGroupResponse :: UpdateAutoScalingGroupResponse
newUpdateAutoScalingGroupResponse =
UpdateAutoScalingGroupResponse
UpdateAutoScalingGroupResponse'
instance
Prelude.NFData
UpdateAutoScalingGroupResponse