{-# 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.CreateAutoScalingGroup
(
CreateAutoScalingGroup (..),
newCreateAutoScalingGroup,
createAutoScalingGroup_availabilityZones,
createAutoScalingGroup_capacityRebalance,
createAutoScalingGroup_context,
createAutoScalingGroup_defaultCooldown,
createAutoScalingGroup_defaultInstanceWarmup,
createAutoScalingGroup_desiredCapacity,
createAutoScalingGroup_desiredCapacityType,
createAutoScalingGroup_healthCheckGracePeriod,
createAutoScalingGroup_healthCheckType,
createAutoScalingGroup_instanceId,
createAutoScalingGroup_launchConfigurationName,
createAutoScalingGroup_launchTemplate,
createAutoScalingGroup_lifecycleHookSpecificationList,
createAutoScalingGroup_loadBalancerNames,
createAutoScalingGroup_maxInstanceLifetime,
createAutoScalingGroup_mixedInstancesPolicy,
createAutoScalingGroup_newInstancesProtectedFromScaleIn,
createAutoScalingGroup_placementGroup,
createAutoScalingGroup_serviceLinkedRoleARN,
createAutoScalingGroup_tags,
createAutoScalingGroup_targetGroupARNs,
createAutoScalingGroup_terminationPolicies,
createAutoScalingGroup_trafficSources,
createAutoScalingGroup_vPCZoneIdentifier,
createAutoScalingGroup_autoScalingGroupName,
createAutoScalingGroup_minSize,
createAutoScalingGroup_maxSize,
CreateAutoScalingGroupResponse (..),
newCreateAutoScalingGroupResponse,
)
where
import Amazonka.AutoScaling.Types
import qualified Amazonka.Core as Core
import qualified Amazonka.Core.Lens.Internal as Lens
import qualified Amazonka.Data as Data
import qualified Amazonka.Prelude as Prelude
import qualified Amazonka.Request as Request
import qualified Amazonka.Response as Response
data CreateAutoScalingGroup = CreateAutoScalingGroup'
{
CreateAutoScalingGroup -> Maybe [Text]
availabilityZones :: Prelude.Maybe [Prelude.Text],
CreateAutoScalingGroup -> Maybe Bool
capacityRebalance :: Prelude.Maybe Prelude.Bool,
CreateAutoScalingGroup -> Maybe Text
context :: Prelude.Maybe Prelude.Text,
CreateAutoScalingGroup -> Maybe Int
defaultCooldown :: Prelude.Maybe Prelude.Int,
CreateAutoScalingGroup -> Maybe Int
defaultInstanceWarmup :: Prelude.Maybe Prelude.Int,
CreateAutoScalingGroup -> Maybe Int
desiredCapacity :: Prelude.Maybe Prelude.Int,
CreateAutoScalingGroup -> Maybe Text
desiredCapacityType :: Prelude.Maybe Prelude.Text,
CreateAutoScalingGroup -> Maybe Int
healthCheckGracePeriod :: Prelude.Maybe Prelude.Int,
CreateAutoScalingGroup -> Maybe Text
healthCheckType :: Prelude.Maybe Prelude.Text,
CreateAutoScalingGroup -> Maybe Text
instanceId :: Prelude.Maybe Prelude.Text,
CreateAutoScalingGroup -> Maybe Text
launchConfigurationName :: Prelude.Maybe Prelude.Text,
CreateAutoScalingGroup -> Maybe LaunchTemplateSpecification
launchTemplate :: Prelude.Maybe LaunchTemplateSpecification,
CreateAutoScalingGroup -> Maybe [LifecycleHookSpecification]
lifecycleHookSpecificationList :: Prelude.Maybe [LifecycleHookSpecification],
CreateAutoScalingGroup -> Maybe [Text]
loadBalancerNames :: Prelude.Maybe [Prelude.Text],
CreateAutoScalingGroup -> Maybe Int
maxInstanceLifetime :: Prelude.Maybe Prelude.Int,
CreateAutoScalingGroup -> Maybe MixedInstancesPolicy
mixedInstancesPolicy :: Prelude.Maybe MixedInstancesPolicy,
CreateAutoScalingGroup -> Maybe Bool
newInstancesProtectedFromScaleIn' :: Prelude.Maybe Prelude.Bool,
CreateAutoScalingGroup -> Maybe Text
placementGroup :: Prelude.Maybe Prelude.Text,
CreateAutoScalingGroup -> Maybe Text
serviceLinkedRoleARN :: Prelude.Maybe Prelude.Text,
CreateAutoScalingGroup -> Maybe [Tag]
tags :: Prelude.Maybe [Tag],
CreateAutoScalingGroup -> Maybe [Text]
targetGroupARNs :: Prelude.Maybe [Prelude.Text],
CreateAutoScalingGroup -> Maybe [Text]
terminationPolicies :: Prelude.Maybe [Prelude.Text],
CreateAutoScalingGroup -> Maybe [TrafficSourceIdentifier]
trafficSources :: Prelude.Maybe [TrafficSourceIdentifier],
CreateAutoScalingGroup -> Maybe Text
vPCZoneIdentifier :: Prelude.Maybe Prelude.Text,
CreateAutoScalingGroup -> Text
autoScalingGroupName :: Prelude.Text,
CreateAutoScalingGroup -> Int
minSize :: Prelude.Int,
CreateAutoScalingGroup -> Int
maxSize :: Prelude.Int
}
deriving (CreateAutoScalingGroup -> CreateAutoScalingGroup -> Bool
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: CreateAutoScalingGroup -> CreateAutoScalingGroup -> Bool
$c/= :: CreateAutoScalingGroup -> CreateAutoScalingGroup -> Bool
== :: CreateAutoScalingGroup -> CreateAutoScalingGroup -> Bool
$c== :: CreateAutoScalingGroup -> CreateAutoScalingGroup -> Bool
Prelude.Eq, ReadPrec [CreateAutoScalingGroup]
ReadPrec CreateAutoScalingGroup
Int -> ReadS CreateAutoScalingGroup
ReadS [CreateAutoScalingGroup]
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [CreateAutoScalingGroup]
$creadListPrec :: ReadPrec [CreateAutoScalingGroup]
readPrec :: ReadPrec CreateAutoScalingGroup
$creadPrec :: ReadPrec CreateAutoScalingGroup
readList :: ReadS [CreateAutoScalingGroup]
$creadList :: ReadS [CreateAutoScalingGroup]
readsPrec :: Int -> ReadS CreateAutoScalingGroup
$creadsPrec :: Int -> ReadS CreateAutoScalingGroup
Prelude.Read, Int -> CreateAutoScalingGroup -> ShowS
[CreateAutoScalingGroup] -> ShowS
CreateAutoScalingGroup -> String
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [CreateAutoScalingGroup] -> ShowS
$cshowList :: [CreateAutoScalingGroup] -> ShowS
show :: CreateAutoScalingGroup -> String
$cshow :: CreateAutoScalingGroup -> String
showsPrec :: Int -> CreateAutoScalingGroup -> ShowS
$cshowsPrec :: Int -> CreateAutoScalingGroup -> ShowS
Prelude.Show, forall x. Rep CreateAutoScalingGroup x -> CreateAutoScalingGroup
forall x. CreateAutoScalingGroup -> Rep CreateAutoScalingGroup x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep CreateAutoScalingGroup x -> CreateAutoScalingGroup
$cfrom :: forall x. CreateAutoScalingGroup -> Rep CreateAutoScalingGroup x
Prelude.Generic)
newCreateAutoScalingGroup ::
Prelude.Text ->
Prelude.Int ->
Prelude.Int ->
CreateAutoScalingGroup
newCreateAutoScalingGroup :: Text -> Int -> Int -> CreateAutoScalingGroup
newCreateAutoScalingGroup
Text
pAutoScalingGroupName_
Int
pMinSize_
Int
pMaxSize_ =
CreateAutoScalingGroup'
{ $sel:availabilityZones:CreateAutoScalingGroup' :: Maybe [Text]
availabilityZones =
forall a. Maybe a
Prelude.Nothing,
$sel:capacityRebalance:CreateAutoScalingGroup' :: Maybe Bool
capacityRebalance = forall a. Maybe a
Prelude.Nothing,
$sel:context:CreateAutoScalingGroup' :: Maybe Text
context = forall a. Maybe a
Prelude.Nothing,
$sel:defaultCooldown:CreateAutoScalingGroup' :: Maybe Int
defaultCooldown = forall a. Maybe a
Prelude.Nothing,
$sel:defaultInstanceWarmup:CreateAutoScalingGroup' :: Maybe Int
defaultInstanceWarmup = forall a. Maybe a
Prelude.Nothing,
$sel:desiredCapacity:CreateAutoScalingGroup' :: Maybe Int
desiredCapacity = forall a. Maybe a
Prelude.Nothing,
$sel:desiredCapacityType:CreateAutoScalingGroup' :: Maybe Text
desiredCapacityType = forall a. Maybe a
Prelude.Nothing,
$sel:healthCheckGracePeriod:CreateAutoScalingGroup' :: Maybe Int
healthCheckGracePeriod = forall a. Maybe a
Prelude.Nothing,
$sel:healthCheckType:CreateAutoScalingGroup' :: Maybe Text
healthCheckType = forall a. Maybe a
Prelude.Nothing,
$sel:instanceId:CreateAutoScalingGroup' :: Maybe Text
instanceId = forall a. Maybe a
Prelude.Nothing,
$sel:launchConfigurationName:CreateAutoScalingGroup' :: Maybe Text
launchConfigurationName = forall a. Maybe a
Prelude.Nothing,
$sel:launchTemplate:CreateAutoScalingGroup' :: Maybe LaunchTemplateSpecification
launchTemplate = forall a. Maybe a
Prelude.Nothing,
$sel:lifecycleHookSpecificationList:CreateAutoScalingGroup' :: Maybe [LifecycleHookSpecification]
lifecycleHookSpecificationList = forall a. Maybe a
Prelude.Nothing,
$sel:loadBalancerNames:CreateAutoScalingGroup' :: Maybe [Text]
loadBalancerNames = forall a. Maybe a
Prelude.Nothing,
$sel:maxInstanceLifetime:CreateAutoScalingGroup' :: Maybe Int
maxInstanceLifetime = forall a. Maybe a
Prelude.Nothing,
$sel:mixedInstancesPolicy:CreateAutoScalingGroup' :: Maybe MixedInstancesPolicy
mixedInstancesPolicy = forall a. Maybe a
Prelude.Nothing,
$sel:newInstancesProtectedFromScaleIn':CreateAutoScalingGroup' :: Maybe Bool
newInstancesProtectedFromScaleIn' = forall a. Maybe a
Prelude.Nothing,
$sel:placementGroup:CreateAutoScalingGroup' :: Maybe Text
placementGroup = forall a. Maybe a
Prelude.Nothing,
$sel:serviceLinkedRoleARN:CreateAutoScalingGroup' :: Maybe Text
serviceLinkedRoleARN = forall a. Maybe a
Prelude.Nothing,
$sel:tags:CreateAutoScalingGroup' :: Maybe [Tag]
tags = forall a. Maybe a
Prelude.Nothing,
$sel:targetGroupARNs:CreateAutoScalingGroup' :: Maybe [Text]
targetGroupARNs = forall a. Maybe a
Prelude.Nothing,
$sel:terminationPolicies:CreateAutoScalingGroup' :: Maybe [Text]
terminationPolicies = forall a. Maybe a
Prelude.Nothing,
$sel:trafficSources:CreateAutoScalingGroup' :: Maybe [TrafficSourceIdentifier]
trafficSources = forall a. Maybe a
Prelude.Nothing,
$sel:vPCZoneIdentifier:CreateAutoScalingGroup' :: Maybe Text
vPCZoneIdentifier = forall a. Maybe a
Prelude.Nothing,
$sel:autoScalingGroupName:CreateAutoScalingGroup' :: Text
autoScalingGroupName = Text
pAutoScalingGroupName_,
$sel:minSize:CreateAutoScalingGroup' :: Int
minSize = Int
pMinSize_,
$sel:maxSize:CreateAutoScalingGroup' :: Int
maxSize = Int
pMaxSize_
}
createAutoScalingGroup_availabilityZones :: Lens.Lens' CreateAutoScalingGroup (Prelude.Maybe [Prelude.Text])
createAutoScalingGroup_availabilityZones :: Lens' CreateAutoScalingGroup (Maybe [Text])
createAutoScalingGroup_availabilityZones = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\CreateAutoScalingGroup' {Maybe [Text]
availabilityZones :: Maybe [Text]
$sel:availabilityZones:CreateAutoScalingGroup' :: CreateAutoScalingGroup -> Maybe [Text]
availabilityZones} -> Maybe [Text]
availabilityZones) (\s :: CreateAutoScalingGroup
s@CreateAutoScalingGroup' {} Maybe [Text]
a -> CreateAutoScalingGroup
s {$sel:availabilityZones:CreateAutoScalingGroup' :: Maybe [Text]
availabilityZones = Maybe [Text]
a} :: CreateAutoScalingGroup) forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. 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 forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced
createAutoScalingGroup_capacityRebalance :: Lens.Lens' CreateAutoScalingGroup (Prelude.Maybe Prelude.Bool)
createAutoScalingGroup_capacityRebalance :: Lens' CreateAutoScalingGroup (Maybe Bool)
createAutoScalingGroup_capacityRebalance = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\CreateAutoScalingGroup' {Maybe Bool
capacityRebalance :: Maybe Bool
$sel:capacityRebalance:CreateAutoScalingGroup' :: CreateAutoScalingGroup -> Maybe Bool
capacityRebalance} -> Maybe Bool
capacityRebalance) (\s :: CreateAutoScalingGroup
s@CreateAutoScalingGroup' {} Maybe Bool
a -> CreateAutoScalingGroup
s {$sel:capacityRebalance:CreateAutoScalingGroup' :: Maybe Bool
capacityRebalance = Maybe Bool
a} :: CreateAutoScalingGroup)
createAutoScalingGroup_context :: Lens.Lens' CreateAutoScalingGroup (Prelude.Maybe Prelude.Text)
createAutoScalingGroup_context :: Lens' CreateAutoScalingGroup (Maybe Text)
createAutoScalingGroup_context = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\CreateAutoScalingGroup' {Maybe Text
context :: Maybe Text
$sel:context:CreateAutoScalingGroup' :: CreateAutoScalingGroup -> Maybe Text
context} -> Maybe Text
context) (\s :: CreateAutoScalingGroup
s@CreateAutoScalingGroup' {} Maybe Text
a -> CreateAutoScalingGroup
s {$sel:context:CreateAutoScalingGroup' :: Maybe Text
context = Maybe Text
a} :: CreateAutoScalingGroup)
createAutoScalingGroup_defaultCooldown :: Lens.Lens' CreateAutoScalingGroup (Prelude.Maybe Prelude.Int)
createAutoScalingGroup_defaultCooldown :: Lens' CreateAutoScalingGroup (Maybe Int)
createAutoScalingGroup_defaultCooldown = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\CreateAutoScalingGroup' {Maybe Int
defaultCooldown :: Maybe Int
$sel:defaultCooldown:CreateAutoScalingGroup' :: CreateAutoScalingGroup -> Maybe Int
defaultCooldown} -> Maybe Int
defaultCooldown) (\s :: CreateAutoScalingGroup
s@CreateAutoScalingGroup' {} Maybe Int
a -> CreateAutoScalingGroup
s {$sel:defaultCooldown:CreateAutoScalingGroup' :: Maybe Int
defaultCooldown = Maybe Int
a} :: CreateAutoScalingGroup)
createAutoScalingGroup_defaultInstanceWarmup :: Lens.Lens' CreateAutoScalingGroup (Prelude.Maybe Prelude.Int)
createAutoScalingGroup_defaultInstanceWarmup :: Lens' CreateAutoScalingGroup (Maybe Int)
createAutoScalingGroup_defaultInstanceWarmup = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\CreateAutoScalingGroup' {Maybe Int
defaultInstanceWarmup :: Maybe Int
$sel:defaultInstanceWarmup:CreateAutoScalingGroup' :: CreateAutoScalingGroup -> Maybe Int
defaultInstanceWarmup} -> Maybe Int
defaultInstanceWarmup) (\s :: CreateAutoScalingGroup
s@CreateAutoScalingGroup' {} Maybe Int
a -> CreateAutoScalingGroup
s {$sel:defaultInstanceWarmup:CreateAutoScalingGroup' :: Maybe Int
defaultInstanceWarmup = Maybe Int
a} :: CreateAutoScalingGroup)
createAutoScalingGroup_desiredCapacity :: Lens.Lens' CreateAutoScalingGroup (Prelude.Maybe Prelude.Int)
createAutoScalingGroup_desiredCapacity :: Lens' CreateAutoScalingGroup (Maybe Int)
createAutoScalingGroup_desiredCapacity = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\CreateAutoScalingGroup' {Maybe Int
desiredCapacity :: Maybe Int
$sel:desiredCapacity:CreateAutoScalingGroup' :: CreateAutoScalingGroup -> Maybe Int
desiredCapacity} -> Maybe Int
desiredCapacity) (\s :: CreateAutoScalingGroup
s@CreateAutoScalingGroup' {} Maybe Int
a -> CreateAutoScalingGroup
s {$sel:desiredCapacity:CreateAutoScalingGroup' :: Maybe Int
desiredCapacity = Maybe Int
a} :: CreateAutoScalingGroup)
createAutoScalingGroup_desiredCapacityType :: Lens.Lens' CreateAutoScalingGroup (Prelude.Maybe Prelude.Text)
createAutoScalingGroup_desiredCapacityType :: Lens' CreateAutoScalingGroup (Maybe Text)
createAutoScalingGroup_desiredCapacityType = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\CreateAutoScalingGroup' {Maybe Text
desiredCapacityType :: Maybe Text
$sel:desiredCapacityType:CreateAutoScalingGroup' :: CreateAutoScalingGroup -> Maybe Text
desiredCapacityType} -> Maybe Text
desiredCapacityType) (\s :: CreateAutoScalingGroup
s@CreateAutoScalingGroup' {} Maybe Text
a -> CreateAutoScalingGroup
s {$sel:desiredCapacityType:CreateAutoScalingGroup' :: Maybe Text
desiredCapacityType = Maybe Text
a} :: CreateAutoScalingGroup)
createAutoScalingGroup_healthCheckGracePeriod :: Lens.Lens' CreateAutoScalingGroup (Prelude.Maybe Prelude.Int)
createAutoScalingGroup_healthCheckGracePeriod :: Lens' CreateAutoScalingGroup (Maybe Int)
createAutoScalingGroup_healthCheckGracePeriod = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\CreateAutoScalingGroup' {Maybe Int
healthCheckGracePeriod :: Maybe Int
$sel:healthCheckGracePeriod:CreateAutoScalingGroup' :: CreateAutoScalingGroup -> Maybe Int
healthCheckGracePeriod} -> Maybe Int
healthCheckGracePeriod) (\s :: CreateAutoScalingGroup
s@CreateAutoScalingGroup' {} Maybe Int
a -> CreateAutoScalingGroup
s {$sel:healthCheckGracePeriod:CreateAutoScalingGroup' :: Maybe Int
healthCheckGracePeriod = Maybe Int
a} :: CreateAutoScalingGroup)
createAutoScalingGroup_healthCheckType :: Lens.Lens' CreateAutoScalingGroup (Prelude.Maybe Prelude.Text)
createAutoScalingGroup_healthCheckType :: Lens' CreateAutoScalingGroup (Maybe Text)
createAutoScalingGroup_healthCheckType = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\CreateAutoScalingGroup' {Maybe Text
healthCheckType :: Maybe Text
$sel:healthCheckType:CreateAutoScalingGroup' :: CreateAutoScalingGroup -> Maybe Text
healthCheckType} -> Maybe Text
healthCheckType) (\s :: CreateAutoScalingGroup
s@CreateAutoScalingGroup' {} Maybe Text
a -> CreateAutoScalingGroup
s {$sel:healthCheckType:CreateAutoScalingGroup' :: Maybe Text
healthCheckType = Maybe Text
a} :: CreateAutoScalingGroup)
createAutoScalingGroup_instanceId :: Lens.Lens' CreateAutoScalingGroup (Prelude.Maybe Prelude.Text)
createAutoScalingGroup_instanceId :: Lens' CreateAutoScalingGroup (Maybe Text)
createAutoScalingGroup_instanceId = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\CreateAutoScalingGroup' {Maybe Text
instanceId :: Maybe Text
$sel:instanceId:CreateAutoScalingGroup' :: CreateAutoScalingGroup -> Maybe Text
instanceId} -> Maybe Text
instanceId) (\s :: CreateAutoScalingGroup
s@CreateAutoScalingGroup' {} Maybe Text
a -> CreateAutoScalingGroup
s {$sel:instanceId:CreateAutoScalingGroup' :: Maybe Text
instanceId = Maybe Text
a} :: CreateAutoScalingGroup)
createAutoScalingGroup_launchConfigurationName :: Lens.Lens' CreateAutoScalingGroup (Prelude.Maybe Prelude.Text)
createAutoScalingGroup_launchConfigurationName :: Lens' CreateAutoScalingGroup (Maybe Text)
createAutoScalingGroup_launchConfigurationName = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\CreateAutoScalingGroup' {Maybe Text
launchConfigurationName :: Maybe Text
$sel:launchConfigurationName:CreateAutoScalingGroup' :: CreateAutoScalingGroup -> Maybe Text
launchConfigurationName} -> Maybe Text
launchConfigurationName) (\s :: CreateAutoScalingGroup
s@CreateAutoScalingGroup' {} Maybe Text
a -> CreateAutoScalingGroup
s {$sel:launchConfigurationName:CreateAutoScalingGroup' :: Maybe Text
launchConfigurationName = Maybe Text
a} :: CreateAutoScalingGroup)
createAutoScalingGroup_launchTemplate :: Lens.Lens' CreateAutoScalingGroup (Prelude.Maybe LaunchTemplateSpecification)
createAutoScalingGroup_launchTemplate :: Lens' CreateAutoScalingGroup (Maybe LaunchTemplateSpecification)
createAutoScalingGroup_launchTemplate = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\CreateAutoScalingGroup' {Maybe LaunchTemplateSpecification
launchTemplate :: Maybe LaunchTemplateSpecification
$sel:launchTemplate:CreateAutoScalingGroup' :: CreateAutoScalingGroup -> Maybe LaunchTemplateSpecification
launchTemplate} -> Maybe LaunchTemplateSpecification
launchTemplate) (\s :: CreateAutoScalingGroup
s@CreateAutoScalingGroup' {} Maybe LaunchTemplateSpecification
a -> CreateAutoScalingGroup
s {$sel:launchTemplate:CreateAutoScalingGroup' :: Maybe LaunchTemplateSpecification
launchTemplate = Maybe LaunchTemplateSpecification
a} :: CreateAutoScalingGroup)
createAutoScalingGroup_lifecycleHookSpecificationList :: Lens.Lens' CreateAutoScalingGroup (Prelude.Maybe [LifecycleHookSpecification])
createAutoScalingGroup_lifecycleHookSpecificationList :: Lens' CreateAutoScalingGroup (Maybe [LifecycleHookSpecification])
createAutoScalingGroup_lifecycleHookSpecificationList = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\CreateAutoScalingGroup' {Maybe [LifecycleHookSpecification]
lifecycleHookSpecificationList :: Maybe [LifecycleHookSpecification]
$sel:lifecycleHookSpecificationList:CreateAutoScalingGroup' :: CreateAutoScalingGroup -> Maybe [LifecycleHookSpecification]
lifecycleHookSpecificationList} -> Maybe [LifecycleHookSpecification]
lifecycleHookSpecificationList) (\s :: CreateAutoScalingGroup
s@CreateAutoScalingGroup' {} Maybe [LifecycleHookSpecification]
a -> CreateAutoScalingGroup
s {$sel:lifecycleHookSpecificationList:CreateAutoScalingGroup' :: Maybe [LifecycleHookSpecification]
lifecycleHookSpecificationList = Maybe [LifecycleHookSpecification]
a} :: CreateAutoScalingGroup) forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. 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 forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced
createAutoScalingGroup_loadBalancerNames :: Lens.Lens' CreateAutoScalingGroup (Prelude.Maybe [Prelude.Text])
createAutoScalingGroup_loadBalancerNames :: Lens' CreateAutoScalingGroup (Maybe [Text])
createAutoScalingGroup_loadBalancerNames = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\CreateAutoScalingGroup' {Maybe [Text]
loadBalancerNames :: Maybe [Text]
$sel:loadBalancerNames:CreateAutoScalingGroup' :: CreateAutoScalingGroup -> Maybe [Text]
loadBalancerNames} -> Maybe [Text]
loadBalancerNames) (\s :: CreateAutoScalingGroup
s@CreateAutoScalingGroup' {} Maybe [Text]
a -> CreateAutoScalingGroup
s {$sel:loadBalancerNames:CreateAutoScalingGroup' :: Maybe [Text]
loadBalancerNames = Maybe [Text]
a} :: CreateAutoScalingGroup) forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. 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 forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced
createAutoScalingGroup_maxInstanceLifetime :: Lens.Lens' CreateAutoScalingGroup (Prelude.Maybe Prelude.Int)
createAutoScalingGroup_maxInstanceLifetime :: Lens' CreateAutoScalingGroup (Maybe Int)
createAutoScalingGroup_maxInstanceLifetime = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\CreateAutoScalingGroup' {Maybe Int
maxInstanceLifetime :: Maybe Int
$sel:maxInstanceLifetime:CreateAutoScalingGroup' :: CreateAutoScalingGroup -> Maybe Int
maxInstanceLifetime} -> Maybe Int
maxInstanceLifetime) (\s :: CreateAutoScalingGroup
s@CreateAutoScalingGroup' {} Maybe Int
a -> CreateAutoScalingGroup
s {$sel:maxInstanceLifetime:CreateAutoScalingGroup' :: Maybe Int
maxInstanceLifetime = Maybe Int
a} :: CreateAutoScalingGroup)
createAutoScalingGroup_mixedInstancesPolicy :: Lens.Lens' CreateAutoScalingGroup (Prelude.Maybe MixedInstancesPolicy)
createAutoScalingGroup_mixedInstancesPolicy :: Lens' CreateAutoScalingGroup (Maybe MixedInstancesPolicy)
createAutoScalingGroup_mixedInstancesPolicy = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\CreateAutoScalingGroup' {Maybe MixedInstancesPolicy
mixedInstancesPolicy :: Maybe MixedInstancesPolicy
$sel:mixedInstancesPolicy:CreateAutoScalingGroup' :: CreateAutoScalingGroup -> Maybe MixedInstancesPolicy
mixedInstancesPolicy} -> Maybe MixedInstancesPolicy
mixedInstancesPolicy) (\s :: CreateAutoScalingGroup
s@CreateAutoScalingGroup' {} Maybe MixedInstancesPolicy
a -> CreateAutoScalingGroup
s {$sel:mixedInstancesPolicy:CreateAutoScalingGroup' :: Maybe MixedInstancesPolicy
mixedInstancesPolicy = Maybe MixedInstancesPolicy
a} :: CreateAutoScalingGroup)
createAutoScalingGroup_newInstancesProtectedFromScaleIn :: Lens.Lens' CreateAutoScalingGroup (Prelude.Maybe Prelude.Bool)
createAutoScalingGroup_newInstancesProtectedFromScaleIn :: Lens' CreateAutoScalingGroup (Maybe Bool)
createAutoScalingGroup_newInstancesProtectedFromScaleIn = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\CreateAutoScalingGroup' {Maybe Bool
newInstancesProtectedFromScaleIn' :: Maybe Bool
$sel:newInstancesProtectedFromScaleIn':CreateAutoScalingGroup' :: CreateAutoScalingGroup -> Maybe Bool
newInstancesProtectedFromScaleIn'} -> Maybe Bool
newInstancesProtectedFromScaleIn') (\s :: CreateAutoScalingGroup
s@CreateAutoScalingGroup' {} Maybe Bool
a -> CreateAutoScalingGroup
s {$sel:newInstancesProtectedFromScaleIn':CreateAutoScalingGroup' :: Maybe Bool
newInstancesProtectedFromScaleIn' = Maybe Bool
a} :: CreateAutoScalingGroup)
createAutoScalingGroup_placementGroup :: Lens.Lens' CreateAutoScalingGroup (Prelude.Maybe Prelude.Text)
createAutoScalingGroup_placementGroup :: Lens' CreateAutoScalingGroup (Maybe Text)
createAutoScalingGroup_placementGroup = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\CreateAutoScalingGroup' {Maybe Text
placementGroup :: Maybe Text
$sel:placementGroup:CreateAutoScalingGroup' :: CreateAutoScalingGroup -> Maybe Text
placementGroup} -> Maybe Text
placementGroup) (\s :: CreateAutoScalingGroup
s@CreateAutoScalingGroup' {} Maybe Text
a -> CreateAutoScalingGroup
s {$sel:placementGroup:CreateAutoScalingGroup' :: Maybe Text
placementGroup = Maybe Text
a} :: CreateAutoScalingGroup)
createAutoScalingGroup_serviceLinkedRoleARN :: Lens.Lens' CreateAutoScalingGroup (Prelude.Maybe Prelude.Text)
createAutoScalingGroup_serviceLinkedRoleARN :: Lens' CreateAutoScalingGroup (Maybe Text)
createAutoScalingGroup_serviceLinkedRoleARN = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\CreateAutoScalingGroup' {Maybe Text
serviceLinkedRoleARN :: Maybe Text
$sel:serviceLinkedRoleARN:CreateAutoScalingGroup' :: CreateAutoScalingGroup -> Maybe Text
serviceLinkedRoleARN} -> Maybe Text
serviceLinkedRoleARN) (\s :: CreateAutoScalingGroup
s@CreateAutoScalingGroup' {} Maybe Text
a -> CreateAutoScalingGroup
s {$sel:serviceLinkedRoleARN:CreateAutoScalingGroup' :: Maybe Text
serviceLinkedRoleARN = Maybe Text
a} :: CreateAutoScalingGroup)
createAutoScalingGroup_tags :: Lens.Lens' CreateAutoScalingGroup (Prelude.Maybe [Tag])
createAutoScalingGroup_tags :: Lens' CreateAutoScalingGroup (Maybe [Tag])
createAutoScalingGroup_tags = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\CreateAutoScalingGroup' {Maybe [Tag]
tags :: Maybe [Tag]
$sel:tags:CreateAutoScalingGroup' :: CreateAutoScalingGroup -> Maybe [Tag]
tags} -> Maybe [Tag]
tags) (\s :: CreateAutoScalingGroup
s@CreateAutoScalingGroup' {} Maybe [Tag]
a -> CreateAutoScalingGroup
s {$sel:tags:CreateAutoScalingGroup' :: Maybe [Tag]
tags = Maybe [Tag]
a} :: CreateAutoScalingGroup) forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. 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 forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced
createAutoScalingGroup_targetGroupARNs :: Lens.Lens' CreateAutoScalingGroup (Prelude.Maybe [Prelude.Text])
createAutoScalingGroup_targetGroupARNs :: Lens' CreateAutoScalingGroup (Maybe [Text])
createAutoScalingGroup_targetGroupARNs = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\CreateAutoScalingGroup' {Maybe [Text]
targetGroupARNs :: Maybe [Text]
$sel:targetGroupARNs:CreateAutoScalingGroup' :: CreateAutoScalingGroup -> Maybe [Text]
targetGroupARNs} -> Maybe [Text]
targetGroupARNs) (\s :: CreateAutoScalingGroup
s@CreateAutoScalingGroup' {} Maybe [Text]
a -> CreateAutoScalingGroup
s {$sel:targetGroupARNs:CreateAutoScalingGroup' :: Maybe [Text]
targetGroupARNs = Maybe [Text]
a} :: CreateAutoScalingGroup) forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. 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 forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced
createAutoScalingGroup_terminationPolicies :: Lens.Lens' CreateAutoScalingGroup (Prelude.Maybe [Prelude.Text])
createAutoScalingGroup_terminationPolicies :: Lens' CreateAutoScalingGroup (Maybe [Text])
createAutoScalingGroup_terminationPolicies = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\CreateAutoScalingGroup' {Maybe [Text]
terminationPolicies :: Maybe [Text]
$sel:terminationPolicies:CreateAutoScalingGroup' :: CreateAutoScalingGroup -> Maybe [Text]
terminationPolicies} -> Maybe [Text]
terminationPolicies) (\s :: CreateAutoScalingGroup
s@CreateAutoScalingGroup' {} Maybe [Text]
a -> CreateAutoScalingGroup
s {$sel:terminationPolicies:CreateAutoScalingGroup' :: Maybe [Text]
terminationPolicies = Maybe [Text]
a} :: CreateAutoScalingGroup) forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. 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 forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced
createAutoScalingGroup_trafficSources :: Lens.Lens' CreateAutoScalingGroup (Prelude.Maybe [TrafficSourceIdentifier])
createAutoScalingGroup_trafficSources :: Lens' CreateAutoScalingGroup (Maybe [TrafficSourceIdentifier])
createAutoScalingGroup_trafficSources = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\CreateAutoScalingGroup' {Maybe [TrafficSourceIdentifier]
trafficSources :: Maybe [TrafficSourceIdentifier]
$sel:trafficSources:CreateAutoScalingGroup' :: CreateAutoScalingGroup -> Maybe [TrafficSourceIdentifier]
trafficSources} -> Maybe [TrafficSourceIdentifier]
trafficSources) (\s :: CreateAutoScalingGroup
s@CreateAutoScalingGroup' {} Maybe [TrafficSourceIdentifier]
a -> CreateAutoScalingGroup
s {$sel:trafficSources:CreateAutoScalingGroup' :: Maybe [TrafficSourceIdentifier]
trafficSources = Maybe [TrafficSourceIdentifier]
a} :: CreateAutoScalingGroup) forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. 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 forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced
createAutoScalingGroup_vPCZoneIdentifier :: Lens.Lens' CreateAutoScalingGroup (Prelude.Maybe Prelude.Text)
createAutoScalingGroup_vPCZoneIdentifier :: Lens' CreateAutoScalingGroup (Maybe Text)
createAutoScalingGroup_vPCZoneIdentifier = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\CreateAutoScalingGroup' {Maybe Text
vPCZoneIdentifier :: Maybe Text
$sel:vPCZoneIdentifier:CreateAutoScalingGroup' :: CreateAutoScalingGroup -> Maybe Text
vPCZoneIdentifier} -> Maybe Text
vPCZoneIdentifier) (\s :: CreateAutoScalingGroup
s@CreateAutoScalingGroup' {} Maybe Text
a -> CreateAutoScalingGroup
s {$sel:vPCZoneIdentifier:CreateAutoScalingGroup' :: Maybe Text
vPCZoneIdentifier = Maybe Text
a} :: CreateAutoScalingGroup)
createAutoScalingGroup_autoScalingGroupName :: Lens.Lens' CreateAutoScalingGroup Prelude.Text
createAutoScalingGroup_autoScalingGroupName :: Lens' CreateAutoScalingGroup Text
createAutoScalingGroup_autoScalingGroupName = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\CreateAutoScalingGroup' {Text
autoScalingGroupName :: Text
$sel:autoScalingGroupName:CreateAutoScalingGroup' :: CreateAutoScalingGroup -> Text
autoScalingGroupName} -> Text
autoScalingGroupName) (\s :: CreateAutoScalingGroup
s@CreateAutoScalingGroup' {} Text
a -> CreateAutoScalingGroup
s {$sel:autoScalingGroupName:CreateAutoScalingGroup' :: Text
autoScalingGroupName = Text
a} :: CreateAutoScalingGroup)
createAutoScalingGroup_minSize :: Lens.Lens' CreateAutoScalingGroup Prelude.Int
createAutoScalingGroup_minSize :: Lens' CreateAutoScalingGroup Int
createAutoScalingGroup_minSize = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\CreateAutoScalingGroup' {Int
minSize :: Int
$sel:minSize:CreateAutoScalingGroup' :: CreateAutoScalingGroup -> Int
minSize} -> Int
minSize) (\s :: CreateAutoScalingGroup
s@CreateAutoScalingGroup' {} Int
a -> CreateAutoScalingGroup
s {$sel:minSize:CreateAutoScalingGroup' :: Int
minSize = Int
a} :: CreateAutoScalingGroup)
createAutoScalingGroup_maxSize :: Lens.Lens' CreateAutoScalingGroup Prelude.Int
createAutoScalingGroup_maxSize :: Lens' CreateAutoScalingGroup Int
createAutoScalingGroup_maxSize = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\CreateAutoScalingGroup' {Int
maxSize :: Int
$sel:maxSize:CreateAutoScalingGroup' :: CreateAutoScalingGroup -> Int
maxSize} -> Int
maxSize) (\s :: CreateAutoScalingGroup
s@CreateAutoScalingGroup' {} Int
a -> CreateAutoScalingGroup
s {$sel:maxSize:CreateAutoScalingGroup' :: Int
maxSize = Int
a} :: CreateAutoScalingGroup)
instance Core.AWSRequest CreateAutoScalingGroup where
type
AWSResponse CreateAutoScalingGroup =
CreateAutoScalingGroupResponse
request :: (Service -> Service)
-> CreateAutoScalingGroup -> Request CreateAutoScalingGroup
request Service -> Service
overrides =
forall a. ToRequest a => Service -> a -> Request a
Request.postQuery (Service -> Service
overrides Service
defaultService)
response :: forall (m :: * -> *).
MonadResource m =>
(ByteStringLazy -> IO ByteStringLazy)
-> Service
-> Proxy CreateAutoScalingGroup
-> ClientResponse ClientBody
-> m (Either
Error (ClientResponse (AWSResponse CreateAutoScalingGroup)))
response =
forall (m :: * -> *) a.
MonadResource m =>
AWSResponse a
-> (ByteStringLazy -> IO ByteStringLazy)
-> Service
-> Proxy a
-> ClientResponse ClientBody
-> m (Either Error (ClientResponse (AWSResponse a)))
Response.receiveNull
CreateAutoScalingGroupResponse
CreateAutoScalingGroupResponse'
instance Prelude.Hashable CreateAutoScalingGroup where
hashWithSalt :: Int -> CreateAutoScalingGroup -> Int
hashWithSalt Int
_salt CreateAutoScalingGroup' {Int
Maybe Bool
Maybe Int
Maybe [Text]
Maybe [LifecycleHookSpecification]
Maybe [Tag]
Maybe [TrafficSourceIdentifier]
Maybe Text
Maybe LaunchTemplateSpecification
Maybe MixedInstancesPolicy
Text
maxSize :: Int
minSize :: Int
autoScalingGroupName :: Text
vPCZoneIdentifier :: Maybe Text
trafficSources :: Maybe [TrafficSourceIdentifier]
terminationPolicies :: Maybe [Text]
targetGroupARNs :: Maybe [Text]
tags :: Maybe [Tag]
serviceLinkedRoleARN :: Maybe Text
placementGroup :: Maybe Text
newInstancesProtectedFromScaleIn' :: Maybe Bool
mixedInstancesPolicy :: Maybe MixedInstancesPolicy
maxInstanceLifetime :: Maybe Int
loadBalancerNames :: Maybe [Text]
lifecycleHookSpecificationList :: Maybe [LifecycleHookSpecification]
launchTemplate :: Maybe LaunchTemplateSpecification
launchConfigurationName :: Maybe Text
instanceId :: Maybe Text
healthCheckType :: Maybe Text
healthCheckGracePeriod :: Maybe Int
desiredCapacityType :: Maybe Text
desiredCapacity :: Maybe Int
defaultInstanceWarmup :: Maybe Int
defaultCooldown :: Maybe Int
context :: Maybe Text
capacityRebalance :: Maybe Bool
availabilityZones :: Maybe [Text]
$sel:maxSize:CreateAutoScalingGroup' :: CreateAutoScalingGroup -> Int
$sel:minSize:CreateAutoScalingGroup' :: CreateAutoScalingGroup -> Int
$sel:autoScalingGroupName:CreateAutoScalingGroup' :: CreateAutoScalingGroup -> Text
$sel:vPCZoneIdentifier:CreateAutoScalingGroup' :: CreateAutoScalingGroup -> Maybe Text
$sel:trafficSources:CreateAutoScalingGroup' :: CreateAutoScalingGroup -> Maybe [TrafficSourceIdentifier]
$sel:terminationPolicies:CreateAutoScalingGroup' :: CreateAutoScalingGroup -> Maybe [Text]
$sel:targetGroupARNs:CreateAutoScalingGroup' :: CreateAutoScalingGroup -> Maybe [Text]
$sel:tags:CreateAutoScalingGroup' :: CreateAutoScalingGroup -> Maybe [Tag]
$sel:serviceLinkedRoleARN:CreateAutoScalingGroup' :: CreateAutoScalingGroup -> Maybe Text
$sel:placementGroup:CreateAutoScalingGroup' :: CreateAutoScalingGroup -> Maybe Text
$sel:newInstancesProtectedFromScaleIn':CreateAutoScalingGroup' :: CreateAutoScalingGroup -> Maybe Bool
$sel:mixedInstancesPolicy:CreateAutoScalingGroup' :: CreateAutoScalingGroup -> Maybe MixedInstancesPolicy
$sel:maxInstanceLifetime:CreateAutoScalingGroup' :: CreateAutoScalingGroup -> Maybe Int
$sel:loadBalancerNames:CreateAutoScalingGroup' :: CreateAutoScalingGroup -> Maybe [Text]
$sel:lifecycleHookSpecificationList:CreateAutoScalingGroup' :: CreateAutoScalingGroup -> Maybe [LifecycleHookSpecification]
$sel:launchTemplate:CreateAutoScalingGroup' :: CreateAutoScalingGroup -> Maybe LaunchTemplateSpecification
$sel:launchConfigurationName:CreateAutoScalingGroup' :: CreateAutoScalingGroup -> Maybe Text
$sel:instanceId:CreateAutoScalingGroup' :: CreateAutoScalingGroup -> Maybe Text
$sel:healthCheckType:CreateAutoScalingGroup' :: CreateAutoScalingGroup -> Maybe Text
$sel:healthCheckGracePeriod:CreateAutoScalingGroup' :: CreateAutoScalingGroup -> Maybe Int
$sel:desiredCapacityType:CreateAutoScalingGroup' :: CreateAutoScalingGroup -> Maybe Text
$sel:desiredCapacity:CreateAutoScalingGroup' :: CreateAutoScalingGroup -> Maybe Int
$sel:defaultInstanceWarmup:CreateAutoScalingGroup' :: CreateAutoScalingGroup -> Maybe Int
$sel:defaultCooldown:CreateAutoScalingGroup' :: CreateAutoScalingGroup -> Maybe Int
$sel:context:CreateAutoScalingGroup' :: CreateAutoScalingGroup -> Maybe Text
$sel:capacityRebalance:CreateAutoScalingGroup' :: CreateAutoScalingGroup -> Maybe Bool
$sel:availabilityZones:CreateAutoScalingGroup' :: CreateAutoScalingGroup -> Maybe [Text]
..} =
Int
_salt
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe [Text]
availabilityZones
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Bool
capacityRebalance
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
context
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Int
defaultCooldown
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Int
defaultInstanceWarmup
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Int
desiredCapacity
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
desiredCapacityType
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Int
healthCheckGracePeriod
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
healthCheckType
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
instanceId
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
launchConfigurationName
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe LaunchTemplateSpecification
launchTemplate
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe [LifecycleHookSpecification]
lifecycleHookSpecificationList
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe [Text]
loadBalancerNames
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Int
maxInstanceLifetime
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe MixedInstancesPolicy
mixedInstancesPolicy
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Bool
newInstancesProtectedFromScaleIn'
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
placementGroup
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
serviceLinkedRoleARN
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe [Tag]
tags
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe [Text]
targetGroupARNs
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe [Text]
terminationPolicies
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe [TrafficSourceIdentifier]
trafficSources
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
vPCZoneIdentifier
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Text
autoScalingGroupName
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Int
minSize
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Int
maxSize
instance Prelude.NFData CreateAutoScalingGroup where
rnf :: CreateAutoScalingGroup -> ()
rnf CreateAutoScalingGroup' {Int
Maybe Bool
Maybe Int
Maybe [Text]
Maybe [LifecycleHookSpecification]
Maybe [Tag]
Maybe [TrafficSourceIdentifier]
Maybe Text
Maybe LaunchTemplateSpecification
Maybe MixedInstancesPolicy
Text
maxSize :: Int
minSize :: Int
autoScalingGroupName :: Text
vPCZoneIdentifier :: Maybe Text
trafficSources :: Maybe [TrafficSourceIdentifier]
terminationPolicies :: Maybe [Text]
targetGroupARNs :: Maybe [Text]
tags :: Maybe [Tag]
serviceLinkedRoleARN :: Maybe Text
placementGroup :: Maybe Text
newInstancesProtectedFromScaleIn' :: Maybe Bool
mixedInstancesPolicy :: Maybe MixedInstancesPolicy
maxInstanceLifetime :: Maybe Int
loadBalancerNames :: Maybe [Text]
lifecycleHookSpecificationList :: Maybe [LifecycleHookSpecification]
launchTemplate :: Maybe LaunchTemplateSpecification
launchConfigurationName :: Maybe Text
instanceId :: Maybe Text
healthCheckType :: Maybe Text
healthCheckGracePeriod :: Maybe Int
desiredCapacityType :: Maybe Text
desiredCapacity :: Maybe Int
defaultInstanceWarmup :: Maybe Int
defaultCooldown :: Maybe Int
context :: Maybe Text
capacityRebalance :: Maybe Bool
availabilityZones :: Maybe [Text]
$sel:maxSize:CreateAutoScalingGroup' :: CreateAutoScalingGroup -> Int
$sel:minSize:CreateAutoScalingGroup' :: CreateAutoScalingGroup -> Int
$sel:autoScalingGroupName:CreateAutoScalingGroup' :: CreateAutoScalingGroup -> Text
$sel:vPCZoneIdentifier:CreateAutoScalingGroup' :: CreateAutoScalingGroup -> Maybe Text
$sel:trafficSources:CreateAutoScalingGroup' :: CreateAutoScalingGroup -> Maybe [TrafficSourceIdentifier]
$sel:terminationPolicies:CreateAutoScalingGroup' :: CreateAutoScalingGroup -> Maybe [Text]
$sel:targetGroupARNs:CreateAutoScalingGroup' :: CreateAutoScalingGroup -> Maybe [Text]
$sel:tags:CreateAutoScalingGroup' :: CreateAutoScalingGroup -> Maybe [Tag]
$sel:serviceLinkedRoleARN:CreateAutoScalingGroup' :: CreateAutoScalingGroup -> Maybe Text
$sel:placementGroup:CreateAutoScalingGroup' :: CreateAutoScalingGroup -> Maybe Text
$sel:newInstancesProtectedFromScaleIn':CreateAutoScalingGroup' :: CreateAutoScalingGroup -> Maybe Bool
$sel:mixedInstancesPolicy:CreateAutoScalingGroup' :: CreateAutoScalingGroup -> Maybe MixedInstancesPolicy
$sel:maxInstanceLifetime:CreateAutoScalingGroup' :: CreateAutoScalingGroup -> Maybe Int
$sel:loadBalancerNames:CreateAutoScalingGroup' :: CreateAutoScalingGroup -> Maybe [Text]
$sel:lifecycleHookSpecificationList:CreateAutoScalingGroup' :: CreateAutoScalingGroup -> Maybe [LifecycleHookSpecification]
$sel:launchTemplate:CreateAutoScalingGroup' :: CreateAutoScalingGroup -> Maybe LaunchTemplateSpecification
$sel:launchConfigurationName:CreateAutoScalingGroup' :: CreateAutoScalingGroup -> Maybe Text
$sel:instanceId:CreateAutoScalingGroup' :: CreateAutoScalingGroup -> Maybe Text
$sel:healthCheckType:CreateAutoScalingGroup' :: CreateAutoScalingGroup -> Maybe Text
$sel:healthCheckGracePeriod:CreateAutoScalingGroup' :: CreateAutoScalingGroup -> Maybe Int
$sel:desiredCapacityType:CreateAutoScalingGroup' :: CreateAutoScalingGroup -> Maybe Text
$sel:desiredCapacity:CreateAutoScalingGroup' :: CreateAutoScalingGroup -> Maybe Int
$sel:defaultInstanceWarmup:CreateAutoScalingGroup' :: CreateAutoScalingGroup -> Maybe Int
$sel:defaultCooldown:CreateAutoScalingGroup' :: CreateAutoScalingGroup -> Maybe Int
$sel:context:CreateAutoScalingGroup' :: CreateAutoScalingGroup -> Maybe Text
$sel:capacityRebalance:CreateAutoScalingGroup' :: CreateAutoScalingGroup -> Maybe Bool
$sel:availabilityZones:CreateAutoScalingGroup' :: CreateAutoScalingGroup -> Maybe [Text]
..} =
forall a. NFData a => a -> ()
Prelude.rnf Maybe [Text]
availabilityZones
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Bool
capacityRebalance
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
context
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Int
defaultCooldown
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Int
defaultInstanceWarmup
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Int
desiredCapacity
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
desiredCapacityType
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Int
healthCheckGracePeriod
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
healthCheckType
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
instanceId
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
launchConfigurationName
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe LaunchTemplateSpecification
launchTemplate
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe [LifecycleHookSpecification]
lifecycleHookSpecificationList
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe [Text]
loadBalancerNames
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Int
maxInstanceLifetime
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe MixedInstancesPolicy
mixedInstancesPolicy
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf
Maybe Bool
newInstancesProtectedFromScaleIn'
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
placementGroup
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
serviceLinkedRoleARN
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe [Tag]
tags
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe [Text]
targetGroupARNs
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf
Maybe [Text]
terminationPolicies
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf
Maybe [TrafficSourceIdentifier]
trafficSources
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf
Maybe Text
vPCZoneIdentifier
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf
Text
autoScalingGroupName
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf
Int
minSize
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf
Int
maxSize
instance Data.ToHeaders CreateAutoScalingGroup where
toHeaders :: CreateAutoScalingGroup -> [Header]
toHeaders = forall a b. a -> b -> a
Prelude.const forall a. Monoid a => a
Prelude.mempty
instance Data.ToPath CreateAutoScalingGroup where
toPath :: CreateAutoScalingGroup -> ByteString
toPath = forall a b. a -> b -> a
Prelude.const ByteString
"/"
instance Data.ToQuery CreateAutoScalingGroup where
toQuery :: CreateAutoScalingGroup -> QueryString
toQuery CreateAutoScalingGroup' {Int
Maybe Bool
Maybe Int
Maybe [Text]
Maybe [LifecycleHookSpecification]
Maybe [Tag]
Maybe [TrafficSourceIdentifier]
Maybe Text
Maybe LaunchTemplateSpecification
Maybe MixedInstancesPolicy
Text
maxSize :: Int
minSize :: Int
autoScalingGroupName :: Text
vPCZoneIdentifier :: Maybe Text
trafficSources :: Maybe [TrafficSourceIdentifier]
terminationPolicies :: Maybe [Text]
targetGroupARNs :: Maybe [Text]
tags :: Maybe [Tag]
serviceLinkedRoleARN :: Maybe Text
placementGroup :: Maybe Text
newInstancesProtectedFromScaleIn' :: Maybe Bool
mixedInstancesPolicy :: Maybe MixedInstancesPolicy
maxInstanceLifetime :: Maybe Int
loadBalancerNames :: Maybe [Text]
lifecycleHookSpecificationList :: Maybe [LifecycleHookSpecification]
launchTemplate :: Maybe LaunchTemplateSpecification
launchConfigurationName :: Maybe Text
instanceId :: Maybe Text
healthCheckType :: Maybe Text
healthCheckGracePeriod :: Maybe Int
desiredCapacityType :: Maybe Text
desiredCapacity :: Maybe Int
defaultInstanceWarmup :: Maybe Int
defaultCooldown :: Maybe Int
context :: Maybe Text
capacityRebalance :: Maybe Bool
availabilityZones :: Maybe [Text]
$sel:maxSize:CreateAutoScalingGroup' :: CreateAutoScalingGroup -> Int
$sel:minSize:CreateAutoScalingGroup' :: CreateAutoScalingGroup -> Int
$sel:autoScalingGroupName:CreateAutoScalingGroup' :: CreateAutoScalingGroup -> Text
$sel:vPCZoneIdentifier:CreateAutoScalingGroup' :: CreateAutoScalingGroup -> Maybe Text
$sel:trafficSources:CreateAutoScalingGroup' :: CreateAutoScalingGroup -> Maybe [TrafficSourceIdentifier]
$sel:terminationPolicies:CreateAutoScalingGroup' :: CreateAutoScalingGroup -> Maybe [Text]
$sel:targetGroupARNs:CreateAutoScalingGroup' :: CreateAutoScalingGroup -> Maybe [Text]
$sel:tags:CreateAutoScalingGroup' :: CreateAutoScalingGroup -> Maybe [Tag]
$sel:serviceLinkedRoleARN:CreateAutoScalingGroup' :: CreateAutoScalingGroup -> Maybe Text
$sel:placementGroup:CreateAutoScalingGroup' :: CreateAutoScalingGroup -> Maybe Text
$sel:newInstancesProtectedFromScaleIn':CreateAutoScalingGroup' :: CreateAutoScalingGroup -> Maybe Bool
$sel:mixedInstancesPolicy:CreateAutoScalingGroup' :: CreateAutoScalingGroup -> Maybe MixedInstancesPolicy
$sel:maxInstanceLifetime:CreateAutoScalingGroup' :: CreateAutoScalingGroup -> Maybe Int
$sel:loadBalancerNames:CreateAutoScalingGroup' :: CreateAutoScalingGroup -> Maybe [Text]
$sel:lifecycleHookSpecificationList:CreateAutoScalingGroup' :: CreateAutoScalingGroup -> Maybe [LifecycleHookSpecification]
$sel:launchTemplate:CreateAutoScalingGroup' :: CreateAutoScalingGroup -> Maybe LaunchTemplateSpecification
$sel:launchConfigurationName:CreateAutoScalingGroup' :: CreateAutoScalingGroup -> Maybe Text
$sel:instanceId:CreateAutoScalingGroup' :: CreateAutoScalingGroup -> Maybe Text
$sel:healthCheckType:CreateAutoScalingGroup' :: CreateAutoScalingGroup -> Maybe Text
$sel:healthCheckGracePeriod:CreateAutoScalingGroup' :: CreateAutoScalingGroup -> Maybe Int
$sel:desiredCapacityType:CreateAutoScalingGroup' :: CreateAutoScalingGroup -> Maybe Text
$sel:desiredCapacity:CreateAutoScalingGroup' :: CreateAutoScalingGroup -> Maybe Int
$sel:defaultInstanceWarmup:CreateAutoScalingGroup' :: CreateAutoScalingGroup -> Maybe Int
$sel:defaultCooldown:CreateAutoScalingGroup' :: CreateAutoScalingGroup -> Maybe Int
$sel:context:CreateAutoScalingGroup' :: CreateAutoScalingGroup -> Maybe Text
$sel:capacityRebalance:CreateAutoScalingGroup' :: CreateAutoScalingGroup -> Maybe Bool
$sel:availabilityZones:CreateAutoScalingGroup' :: CreateAutoScalingGroup -> Maybe [Text]
..} =
forall a. Monoid a => [a] -> a
Prelude.mconcat
[ ByteString
"Action"
forall a. ToQuery a => ByteString -> a -> QueryString
Data.=: (ByteString
"CreateAutoScalingGroup" :: Prelude.ByteString),
ByteString
"Version"
forall a. ToQuery a => ByteString -> a -> QueryString
Data.=: (ByteString
"2011-01-01" :: Prelude.ByteString),
ByteString
"AvailabilityZones"
forall a. ToQuery a => ByteString -> a -> QueryString
Data.=: forall a. ToQuery a => a -> QueryString
Data.toQuery
( forall a.
(IsList a, ToQuery (Item a)) =>
ByteString -> a -> QueryString
Data.toQueryList ByteString
"member"
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [Text]
availabilityZones
),
ByteString
"CapacityRebalance" forall a. ToQuery a => ByteString -> a -> QueryString
Data.=: Maybe Bool
capacityRebalance,
ByteString
"Context" forall a. ToQuery a => ByteString -> a -> QueryString
Data.=: Maybe Text
context,
ByteString
"DefaultCooldown" forall a. ToQuery a => ByteString -> a -> QueryString
Data.=: Maybe Int
defaultCooldown,
ByteString
"DefaultInstanceWarmup"
forall a. ToQuery a => ByteString -> a -> QueryString
Data.=: Maybe Int
defaultInstanceWarmup,
ByteString
"DesiredCapacity" forall a. ToQuery a => ByteString -> a -> QueryString
Data.=: Maybe Int
desiredCapacity,
ByteString
"DesiredCapacityType" forall a. ToQuery a => ByteString -> a -> QueryString
Data.=: Maybe Text
desiredCapacityType,
ByteString
"HealthCheckGracePeriod"
forall a. ToQuery a => ByteString -> a -> QueryString
Data.=: Maybe Int
healthCheckGracePeriod,
ByteString
"HealthCheckType" forall a. ToQuery a => ByteString -> a -> QueryString
Data.=: Maybe Text
healthCheckType,
ByteString
"InstanceId" forall a. ToQuery a => ByteString -> a -> QueryString
Data.=: Maybe Text
instanceId,
ByteString
"LaunchConfigurationName"
forall a. ToQuery a => ByteString -> a -> QueryString
Data.=: Maybe Text
launchConfigurationName,
ByteString
"LaunchTemplate" forall a. ToQuery a => ByteString -> a -> QueryString
Data.=: Maybe LaunchTemplateSpecification
launchTemplate,
ByteString
"LifecycleHookSpecificationList"
forall a. ToQuery a => ByteString -> a -> QueryString
Data.=: forall a. ToQuery a => a -> QueryString
Data.toQuery
( forall a.
(IsList a, ToQuery (Item a)) =>
ByteString -> a -> QueryString
Data.toQueryList ByteString
"member"
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [LifecycleHookSpecification]
lifecycleHookSpecificationList
),
ByteString
"LoadBalancerNames"
forall a. ToQuery a => ByteString -> a -> QueryString
Data.=: forall a. ToQuery a => a -> QueryString
Data.toQuery
( forall a.
(IsList a, ToQuery (Item a)) =>
ByteString -> a -> QueryString
Data.toQueryList ByteString
"member"
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [Text]
loadBalancerNames
),
ByteString
"MaxInstanceLifetime" forall a. ToQuery a => ByteString -> a -> QueryString
Data.=: Maybe Int
maxInstanceLifetime,
ByteString
"MixedInstancesPolicy" forall a. ToQuery a => ByteString -> a -> QueryString
Data.=: Maybe MixedInstancesPolicy
mixedInstancesPolicy,
ByteString
"NewInstancesProtectedFromScaleIn"
forall a. ToQuery a => ByteString -> a -> QueryString
Data.=: Maybe Bool
newInstancesProtectedFromScaleIn',
ByteString
"PlacementGroup" forall a. ToQuery a => ByteString -> a -> QueryString
Data.=: Maybe Text
placementGroup,
ByteString
"ServiceLinkedRoleARN" forall a. ToQuery a => ByteString -> a -> QueryString
Data.=: Maybe Text
serviceLinkedRoleARN,
ByteString
"Tags"
forall a. ToQuery a => ByteString -> a -> QueryString
Data.=: forall a. ToQuery a => a -> QueryString
Data.toQuery
(forall a.
(IsList a, ToQuery (Item a)) =>
ByteString -> a -> QueryString
Data.toQueryList ByteString
"member" forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [Tag]
tags),
ByteString
"TargetGroupARNs"
forall a. ToQuery a => ByteString -> a -> QueryString
Data.=: forall a. ToQuery a => a -> QueryString
Data.toQuery
( forall a.
(IsList a, ToQuery (Item a)) =>
ByteString -> a -> QueryString
Data.toQueryList ByteString
"member"
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [Text]
targetGroupARNs
),
ByteString
"TerminationPolicies"
forall a. ToQuery a => ByteString -> a -> QueryString
Data.=: forall a. ToQuery a => a -> QueryString
Data.toQuery
( forall a.
(IsList a, ToQuery (Item a)) =>
ByteString -> a -> QueryString
Data.toQueryList ByteString
"member"
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [Text]
terminationPolicies
),
ByteString
"TrafficSources"
forall a. ToQuery a => ByteString -> a -> QueryString
Data.=: forall a. ToQuery a => a -> QueryString
Data.toQuery
( forall a.
(IsList a, ToQuery (Item a)) =>
ByteString -> a -> QueryString
Data.toQueryList ByteString
"member"
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [TrafficSourceIdentifier]
trafficSources
),
ByteString
"VPCZoneIdentifier" forall a. ToQuery a => ByteString -> a -> QueryString
Data.=: Maybe Text
vPCZoneIdentifier,
ByteString
"AutoScalingGroupName" forall a. ToQuery a => ByteString -> a -> QueryString
Data.=: Text
autoScalingGroupName,
ByteString
"MinSize" forall a. ToQuery a => ByteString -> a -> QueryString
Data.=: Int
minSize,
ByteString
"MaxSize" forall a. ToQuery a => ByteString -> a -> QueryString
Data.=: Int
maxSize
]
data CreateAutoScalingGroupResponse = CreateAutoScalingGroupResponse'
{
}
deriving (CreateAutoScalingGroupResponse
-> CreateAutoScalingGroupResponse -> Bool
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: CreateAutoScalingGroupResponse
-> CreateAutoScalingGroupResponse -> Bool
$c/= :: CreateAutoScalingGroupResponse
-> CreateAutoScalingGroupResponse -> Bool
== :: CreateAutoScalingGroupResponse
-> CreateAutoScalingGroupResponse -> Bool
$c== :: CreateAutoScalingGroupResponse
-> CreateAutoScalingGroupResponse -> Bool
Prelude.Eq, ReadPrec [CreateAutoScalingGroupResponse]
ReadPrec CreateAutoScalingGroupResponse
Int -> ReadS CreateAutoScalingGroupResponse
ReadS [CreateAutoScalingGroupResponse]
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [CreateAutoScalingGroupResponse]
$creadListPrec :: ReadPrec [CreateAutoScalingGroupResponse]
readPrec :: ReadPrec CreateAutoScalingGroupResponse
$creadPrec :: ReadPrec CreateAutoScalingGroupResponse
readList :: ReadS [CreateAutoScalingGroupResponse]
$creadList :: ReadS [CreateAutoScalingGroupResponse]
readsPrec :: Int -> ReadS CreateAutoScalingGroupResponse
$creadsPrec :: Int -> ReadS CreateAutoScalingGroupResponse
Prelude.Read, Int -> CreateAutoScalingGroupResponse -> ShowS
[CreateAutoScalingGroupResponse] -> ShowS
CreateAutoScalingGroupResponse -> String
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [CreateAutoScalingGroupResponse] -> ShowS
$cshowList :: [CreateAutoScalingGroupResponse] -> ShowS
show :: CreateAutoScalingGroupResponse -> String
$cshow :: CreateAutoScalingGroupResponse -> String
showsPrec :: Int -> CreateAutoScalingGroupResponse -> ShowS
$cshowsPrec :: Int -> CreateAutoScalingGroupResponse -> ShowS
Prelude.Show, forall x.
Rep CreateAutoScalingGroupResponse x
-> CreateAutoScalingGroupResponse
forall x.
CreateAutoScalingGroupResponse
-> Rep CreateAutoScalingGroupResponse x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep CreateAutoScalingGroupResponse x
-> CreateAutoScalingGroupResponse
$cfrom :: forall x.
CreateAutoScalingGroupResponse
-> Rep CreateAutoScalingGroupResponse x
Prelude.Generic)
newCreateAutoScalingGroupResponse ::
CreateAutoScalingGroupResponse
newCreateAutoScalingGroupResponse :: CreateAutoScalingGroupResponse
newCreateAutoScalingGroupResponse =
CreateAutoScalingGroupResponse
CreateAutoScalingGroupResponse'
instance
Prelude.NFData
CreateAutoScalingGroupResponse
where
rnf :: CreateAutoScalingGroupResponse -> ()
rnf CreateAutoScalingGroupResponse
_ = ()