{-# LANGUAGE DeriveGeneric #-}
{-# LANGUAGE DuplicateRecordFields #-}
{-# LANGUAGE NamedFieldPuns #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE RecordWildCards #-}
{-# LANGUAGE StrictData #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# OPTIONS_GHC -fno-warn-unused-imports #-}
{-# OPTIONS_GHC -fno-warn-unused-matches #-}
module Amazonka.GameLift.Types.GameServerGroup where
import qualified Amazonka.Core as Core
import qualified Amazonka.Core.Lens.Internal as Lens
import qualified Amazonka.Data as Data
import Amazonka.GameLift.Types.BalancingStrategy
import Amazonka.GameLift.Types.GameServerGroupAction
import Amazonka.GameLift.Types.GameServerGroupStatus
import Amazonka.GameLift.Types.GameServerProtectionPolicy
import Amazonka.GameLift.Types.InstanceDefinition
import qualified Amazonka.Prelude as Prelude
data GameServerGroup = GameServerGroup'
{
GameServerGroup -> Maybe Text
autoScalingGroupArn :: Prelude.Maybe Prelude.Text,
GameServerGroup -> Maybe BalancingStrategy
balancingStrategy :: Prelude.Maybe BalancingStrategy,
GameServerGroup -> Maybe POSIX
creationTime :: Prelude.Maybe Data.POSIX,
GameServerGroup -> Maybe Text
gameServerGroupArn :: Prelude.Maybe Prelude.Text,
GameServerGroup -> Maybe Text
gameServerGroupName :: Prelude.Maybe Prelude.Text,
GameServerGroup -> Maybe GameServerProtectionPolicy
gameServerProtectionPolicy :: Prelude.Maybe GameServerProtectionPolicy,
GameServerGroup -> Maybe (NonEmpty InstanceDefinition)
instanceDefinitions :: Prelude.Maybe (Prelude.NonEmpty InstanceDefinition),
GameServerGroup -> Maybe POSIX
lastUpdatedTime :: Prelude.Maybe Data.POSIX,
GameServerGroup -> Maybe Text
roleArn :: Prelude.Maybe Prelude.Text,
GameServerGroup -> Maybe GameServerGroupStatus
status :: Prelude.Maybe GameServerGroupStatus,
GameServerGroup -> Maybe Text
statusReason :: Prelude.Maybe Prelude.Text,
GameServerGroup -> Maybe (NonEmpty GameServerGroupAction)
suspendedActions :: Prelude.Maybe (Prelude.NonEmpty GameServerGroupAction)
}
deriving (GameServerGroup -> GameServerGroup -> Bool
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: GameServerGroup -> GameServerGroup -> Bool
$c/= :: GameServerGroup -> GameServerGroup -> Bool
== :: GameServerGroup -> GameServerGroup -> Bool
$c== :: GameServerGroup -> GameServerGroup -> Bool
Prelude.Eq, ReadPrec [GameServerGroup]
ReadPrec GameServerGroup
Int -> ReadS GameServerGroup
ReadS [GameServerGroup]
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [GameServerGroup]
$creadListPrec :: ReadPrec [GameServerGroup]
readPrec :: ReadPrec GameServerGroup
$creadPrec :: ReadPrec GameServerGroup
readList :: ReadS [GameServerGroup]
$creadList :: ReadS [GameServerGroup]
readsPrec :: Int -> ReadS GameServerGroup
$creadsPrec :: Int -> ReadS GameServerGroup
Prelude.Read, Int -> GameServerGroup -> ShowS
[GameServerGroup] -> ShowS
GameServerGroup -> String
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [GameServerGroup] -> ShowS
$cshowList :: [GameServerGroup] -> ShowS
show :: GameServerGroup -> String
$cshow :: GameServerGroup -> String
showsPrec :: Int -> GameServerGroup -> ShowS
$cshowsPrec :: Int -> GameServerGroup -> ShowS
Prelude.Show, forall x. Rep GameServerGroup x -> GameServerGroup
forall x. GameServerGroup -> Rep GameServerGroup x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep GameServerGroup x -> GameServerGroup
$cfrom :: forall x. GameServerGroup -> Rep GameServerGroup x
Prelude.Generic)
newGameServerGroup ::
GameServerGroup
newGameServerGroup :: GameServerGroup
newGameServerGroup =
GameServerGroup'
{ $sel:autoScalingGroupArn:GameServerGroup' :: Maybe Text
autoScalingGroupArn =
forall a. Maybe a
Prelude.Nothing,
$sel:balancingStrategy:GameServerGroup' :: Maybe BalancingStrategy
balancingStrategy = forall a. Maybe a
Prelude.Nothing,
$sel:creationTime:GameServerGroup' :: Maybe POSIX
creationTime = forall a. Maybe a
Prelude.Nothing,
$sel:gameServerGroupArn:GameServerGroup' :: Maybe Text
gameServerGroupArn = forall a. Maybe a
Prelude.Nothing,
$sel:gameServerGroupName:GameServerGroup' :: Maybe Text
gameServerGroupName = forall a. Maybe a
Prelude.Nothing,
$sel:gameServerProtectionPolicy:GameServerGroup' :: Maybe GameServerProtectionPolicy
gameServerProtectionPolicy = forall a. Maybe a
Prelude.Nothing,
$sel:instanceDefinitions:GameServerGroup' :: Maybe (NonEmpty InstanceDefinition)
instanceDefinitions = forall a. Maybe a
Prelude.Nothing,
$sel:lastUpdatedTime:GameServerGroup' :: Maybe POSIX
lastUpdatedTime = forall a. Maybe a
Prelude.Nothing,
$sel:roleArn:GameServerGroup' :: Maybe Text
roleArn = forall a. Maybe a
Prelude.Nothing,
$sel:status:GameServerGroup' :: Maybe GameServerGroupStatus
status = forall a. Maybe a
Prelude.Nothing,
$sel:statusReason:GameServerGroup' :: Maybe Text
statusReason = forall a. Maybe a
Prelude.Nothing,
$sel:suspendedActions:GameServerGroup' :: Maybe (NonEmpty GameServerGroupAction)
suspendedActions = forall a. Maybe a
Prelude.Nothing
}
gameServerGroup_autoScalingGroupArn :: Lens.Lens' GameServerGroup (Prelude.Maybe Prelude.Text)
gameServerGroup_autoScalingGroupArn :: Lens' GameServerGroup (Maybe Text)
gameServerGroup_autoScalingGroupArn = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\GameServerGroup' {Maybe Text
autoScalingGroupArn :: Maybe Text
$sel:autoScalingGroupArn:GameServerGroup' :: GameServerGroup -> Maybe Text
autoScalingGroupArn} -> Maybe Text
autoScalingGroupArn) (\s :: GameServerGroup
s@GameServerGroup' {} Maybe Text
a -> GameServerGroup
s {$sel:autoScalingGroupArn:GameServerGroup' :: Maybe Text
autoScalingGroupArn = Maybe Text
a} :: GameServerGroup)
gameServerGroup_balancingStrategy :: Lens.Lens' GameServerGroup (Prelude.Maybe BalancingStrategy)
gameServerGroup_balancingStrategy :: Lens' GameServerGroup (Maybe BalancingStrategy)
gameServerGroup_balancingStrategy = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\GameServerGroup' {Maybe BalancingStrategy
balancingStrategy :: Maybe BalancingStrategy
$sel:balancingStrategy:GameServerGroup' :: GameServerGroup -> Maybe BalancingStrategy
balancingStrategy} -> Maybe BalancingStrategy
balancingStrategy) (\s :: GameServerGroup
s@GameServerGroup' {} Maybe BalancingStrategy
a -> GameServerGroup
s {$sel:balancingStrategy:GameServerGroup' :: Maybe BalancingStrategy
balancingStrategy = Maybe BalancingStrategy
a} :: GameServerGroup)
gameServerGroup_creationTime :: Lens.Lens' GameServerGroup (Prelude.Maybe Prelude.UTCTime)
gameServerGroup_creationTime :: Lens' GameServerGroup (Maybe UTCTime)
gameServerGroup_creationTime = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\GameServerGroup' {Maybe POSIX
creationTime :: Maybe POSIX
$sel:creationTime:GameServerGroup' :: GameServerGroup -> Maybe POSIX
creationTime} -> Maybe POSIX
creationTime) (\s :: GameServerGroup
s@GameServerGroup' {} Maybe POSIX
a -> GameServerGroup
s {$sel:creationTime:GameServerGroup' :: Maybe POSIX
creationTime = Maybe POSIX
a} :: GameServerGroup) 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 (a :: Format). Iso' (Time a) UTCTime
Data._Time
gameServerGroup_gameServerGroupArn :: Lens.Lens' GameServerGroup (Prelude.Maybe Prelude.Text)
gameServerGroup_gameServerGroupArn :: Lens' GameServerGroup (Maybe Text)
gameServerGroup_gameServerGroupArn = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\GameServerGroup' {Maybe Text
gameServerGroupArn :: Maybe Text
$sel:gameServerGroupArn:GameServerGroup' :: GameServerGroup -> Maybe Text
gameServerGroupArn} -> Maybe Text
gameServerGroupArn) (\s :: GameServerGroup
s@GameServerGroup' {} Maybe Text
a -> GameServerGroup
s {$sel:gameServerGroupArn:GameServerGroup' :: Maybe Text
gameServerGroupArn = Maybe Text
a} :: GameServerGroup)
gameServerGroup_gameServerGroupName :: Lens.Lens' GameServerGroup (Prelude.Maybe Prelude.Text)
gameServerGroup_gameServerGroupName :: Lens' GameServerGroup (Maybe Text)
gameServerGroup_gameServerGroupName = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\GameServerGroup' {Maybe Text
gameServerGroupName :: Maybe Text
$sel:gameServerGroupName:GameServerGroup' :: GameServerGroup -> Maybe Text
gameServerGroupName} -> Maybe Text
gameServerGroupName) (\s :: GameServerGroup
s@GameServerGroup' {} Maybe Text
a -> GameServerGroup
s {$sel:gameServerGroupName:GameServerGroup' :: Maybe Text
gameServerGroupName = Maybe Text
a} :: GameServerGroup)
gameServerGroup_gameServerProtectionPolicy :: Lens.Lens' GameServerGroup (Prelude.Maybe GameServerProtectionPolicy)
gameServerGroup_gameServerProtectionPolicy :: Lens' GameServerGroup (Maybe GameServerProtectionPolicy)
gameServerGroup_gameServerProtectionPolicy = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\GameServerGroup' {Maybe GameServerProtectionPolicy
gameServerProtectionPolicy :: Maybe GameServerProtectionPolicy
$sel:gameServerProtectionPolicy:GameServerGroup' :: GameServerGroup -> Maybe GameServerProtectionPolicy
gameServerProtectionPolicy} -> Maybe GameServerProtectionPolicy
gameServerProtectionPolicy) (\s :: GameServerGroup
s@GameServerGroup' {} Maybe GameServerProtectionPolicy
a -> GameServerGroup
s {$sel:gameServerProtectionPolicy:GameServerGroup' :: Maybe GameServerProtectionPolicy
gameServerProtectionPolicy = Maybe GameServerProtectionPolicy
a} :: GameServerGroup)
gameServerGroup_instanceDefinitions :: Lens.Lens' GameServerGroup (Prelude.Maybe (Prelude.NonEmpty InstanceDefinition))
gameServerGroup_instanceDefinitions :: Lens' GameServerGroup (Maybe (NonEmpty InstanceDefinition))
gameServerGroup_instanceDefinitions = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\GameServerGroup' {Maybe (NonEmpty InstanceDefinition)
instanceDefinitions :: Maybe (NonEmpty InstanceDefinition)
$sel:instanceDefinitions:GameServerGroup' :: GameServerGroup -> Maybe (NonEmpty InstanceDefinition)
instanceDefinitions} -> Maybe (NonEmpty InstanceDefinition)
instanceDefinitions) (\s :: GameServerGroup
s@GameServerGroup' {} Maybe (NonEmpty InstanceDefinition)
a -> GameServerGroup
s {$sel:instanceDefinitions:GameServerGroup' :: Maybe (NonEmpty InstanceDefinition)
instanceDefinitions = Maybe (NonEmpty InstanceDefinition)
a} :: GameServerGroup) 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
gameServerGroup_lastUpdatedTime :: Lens.Lens' GameServerGroup (Prelude.Maybe Prelude.UTCTime)
gameServerGroup_lastUpdatedTime :: Lens' GameServerGroup (Maybe UTCTime)
gameServerGroup_lastUpdatedTime = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\GameServerGroup' {Maybe POSIX
lastUpdatedTime :: Maybe POSIX
$sel:lastUpdatedTime:GameServerGroup' :: GameServerGroup -> Maybe POSIX
lastUpdatedTime} -> Maybe POSIX
lastUpdatedTime) (\s :: GameServerGroup
s@GameServerGroup' {} Maybe POSIX
a -> GameServerGroup
s {$sel:lastUpdatedTime:GameServerGroup' :: Maybe POSIX
lastUpdatedTime = Maybe POSIX
a} :: GameServerGroup) 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 (a :: Format). Iso' (Time a) UTCTime
Data._Time
gameServerGroup_roleArn :: Lens.Lens' GameServerGroup (Prelude.Maybe Prelude.Text)
gameServerGroup_roleArn :: Lens' GameServerGroup (Maybe Text)
gameServerGroup_roleArn = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\GameServerGroup' {Maybe Text
roleArn :: Maybe Text
$sel:roleArn:GameServerGroup' :: GameServerGroup -> Maybe Text
roleArn} -> Maybe Text
roleArn) (\s :: GameServerGroup
s@GameServerGroup' {} Maybe Text
a -> GameServerGroup
s {$sel:roleArn:GameServerGroup' :: Maybe Text
roleArn = Maybe Text
a} :: GameServerGroup)
gameServerGroup_status :: Lens.Lens' GameServerGroup (Prelude.Maybe GameServerGroupStatus)
gameServerGroup_status :: Lens' GameServerGroup (Maybe GameServerGroupStatus)
gameServerGroup_status = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\GameServerGroup' {Maybe GameServerGroupStatus
status :: Maybe GameServerGroupStatus
$sel:status:GameServerGroup' :: GameServerGroup -> Maybe GameServerGroupStatus
status} -> Maybe GameServerGroupStatus
status) (\s :: GameServerGroup
s@GameServerGroup' {} Maybe GameServerGroupStatus
a -> GameServerGroup
s {$sel:status:GameServerGroup' :: Maybe GameServerGroupStatus
status = Maybe GameServerGroupStatus
a} :: GameServerGroup)
gameServerGroup_statusReason :: Lens.Lens' GameServerGroup (Prelude.Maybe Prelude.Text)
gameServerGroup_statusReason :: Lens' GameServerGroup (Maybe Text)
gameServerGroup_statusReason = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\GameServerGroup' {Maybe Text
statusReason :: Maybe Text
$sel:statusReason:GameServerGroup' :: GameServerGroup -> Maybe Text
statusReason} -> Maybe Text
statusReason) (\s :: GameServerGroup
s@GameServerGroup' {} Maybe Text
a -> GameServerGroup
s {$sel:statusReason:GameServerGroup' :: Maybe Text
statusReason = Maybe Text
a} :: GameServerGroup)
gameServerGroup_suspendedActions :: Lens.Lens' GameServerGroup (Prelude.Maybe (Prelude.NonEmpty GameServerGroupAction))
gameServerGroup_suspendedActions :: Lens' GameServerGroup (Maybe (NonEmpty GameServerGroupAction))
gameServerGroup_suspendedActions = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\GameServerGroup' {Maybe (NonEmpty GameServerGroupAction)
suspendedActions :: Maybe (NonEmpty GameServerGroupAction)
$sel:suspendedActions:GameServerGroup' :: GameServerGroup -> Maybe (NonEmpty GameServerGroupAction)
suspendedActions} -> Maybe (NonEmpty GameServerGroupAction)
suspendedActions) (\s :: GameServerGroup
s@GameServerGroup' {} Maybe (NonEmpty GameServerGroupAction)
a -> GameServerGroup
s {$sel:suspendedActions:GameServerGroup' :: Maybe (NonEmpty GameServerGroupAction)
suspendedActions = Maybe (NonEmpty GameServerGroupAction)
a} :: GameServerGroup) 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
instance Data.FromJSON GameServerGroup where
parseJSON :: Value -> Parser GameServerGroup
parseJSON =
forall a. String -> (Object -> Parser a) -> Value -> Parser a
Data.withObject
String
"GameServerGroup"
( \Object
x ->
Maybe Text
-> Maybe BalancingStrategy
-> Maybe POSIX
-> Maybe Text
-> Maybe Text
-> Maybe GameServerProtectionPolicy
-> Maybe (NonEmpty InstanceDefinition)
-> Maybe POSIX
-> Maybe Text
-> Maybe GameServerGroupStatus
-> Maybe Text
-> Maybe (NonEmpty GameServerGroupAction)
-> GameServerGroup
GameServerGroup'
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"AutoScalingGroupArn")
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"BalancingStrategy")
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"CreationTime")
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"GameServerGroupArn")
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"GameServerGroupName")
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"GameServerProtectionPolicy")
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"InstanceDefinitions")
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"LastUpdatedTime")
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"RoleArn")
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"Status")
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"StatusReason")
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"SuspendedActions")
)
instance Prelude.Hashable GameServerGroup where
hashWithSalt :: Int -> GameServerGroup -> Int
hashWithSalt Int
_salt GameServerGroup' {Maybe (NonEmpty GameServerGroupAction)
Maybe (NonEmpty InstanceDefinition)
Maybe Text
Maybe POSIX
Maybe BalancingStrategy
Maybe GameServerGroupStatus
Maybe GameServerProtectionPolicy
suspendedActions :: Maybe (NonEmpty GameServerGroupAction)
statusReason :: Maybe Text
status :: Maybe GameServerGroupStatus
roleArn :: Maybe Text
lastUpdatedTime :: Maybe POSIX
instanceDefinitions :: Maybe (NonEmpty InstanceDefinition)
gameServerProtectionPolicy :: Maybe GameServerProtectionPolicy
gameServerGroupName :: Maybe Text
gameServerGroupArn :: Maybe Text
creationTime :: Maybe POSIX
balancingStrategy :: Maybe BalancingStrategy
autoScalingGroupArn :: Maybe Text
$sel:suspendedActions:GameServerGroup' :: GameServerGroup -> Maybe (NonEmpty GameServerGroupAction)
$sel:statusReason:GameServerGroup' :: GameServerGroup -> Maybe Text
$sel:status:GameServerGroup' :: GameServerGroup -> Maybe GameServerGroupStatus
$sel:roleArn:GameServerGroup' :: GameServerGroup -> Maybe Text
$sel:lastUpdatedTime:GameServerGroup' :: GameServerGroup -> Maybe POSIX
$sel:instanceDefinitions:GameServerGroup' :: GameServerGroup -> Maybe (NonEmpty InstanceDefinition)
$sel:gameServerProtectionPolicy:GameServerGroup' :: GameServerGroup -> Maybe GameServerProtectionPolicy
$sel:gameServerGroupName:GameServerGroup' :: GameServerGroup -> Maybe Text
$sel:gameServerGroupArn:GameServerGroup' :: GameServerGroup -> Maybe Text
$sel:creationTime:GameServerGroup' :: GameServerGroup -> Maybe POSIX
$sel:balancingStrategy:GameServerGroup' :: GameServerGroup -> Maybe BalancingStrategy
$sel:autoScalingGroupArn:GameServerGroup' :: GameServerGroup -> Maybe Text
..} =
Int
_salt
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
autoScalingGroupArn
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe BalancingStrategy
balancingStrategy
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe POSIX
creationTime
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
gameServerGroupArn
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
gameServerGroupName
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe GameServerProtectionPolicy
gameServerProtectionPolicy
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe (NonEmpty InstanceDefinition)
instanceDefinitions
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe POSIX
lastUpdatedTime
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
roleArn
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe GameServerGroupStatus
status
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
statusReason
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe (NonEmpty GameServerGroupAction)
suspendedActions
instance Prelude.NFData GameServerGroup where
rnf :: GameServerGroup -> ()
rnf GameServerGroup' {Maybe (NonEmpty GameServerGroupAction)
Maybe (NonEmpty InstanceDefinition)
Maybe Text
Maybe POSIX
Maybe BalancingStrategy
Maybe GameServerGroupStatus
Maybe GameServerProtectionPolicy
suspendedActions :: Maybe (NonEmpty GameServerGroupAction)
statusReason :: Maybe Text
status :: Maybe GameServerGroupStatus
roleArn :: Maybe Text
lastUpdatedTime :: Maybe POSIX
instanceDefinitions :: Maybe (NonEmpty InstanceDefinition)
gameServerProtectionPolicy :: Maybe GameServerProtectionPolicy
gameServerGroupName :: Maybe Text
gameServerGroupArn :: Maybe Text
creationTime :: Maybe POSIX
balancingStrategy :: Maybe BalancingStrategy
autoScalingGroupArn :: Maybe Text
$sel:suspendedActions:GameServerGroup' :: GameServerGroup -> Maybe (NonEmpty GameServerGroupAction)
$sel:statusReason:GameServerGroup' :: GameServerGroup -> Maybe Text
$sel:status:GameServerGroup' :: GameServerGroup -> Maybe GameServerGroupStatus
$sel:roleArn:GameServerGroup' :: GameServerGroup -> Maybe Text
$sel:lastUpdatedTime:GameServerGroup' :: GameServerGroup -> Maybe POSIX
$sel:instanceDefinitions:GameServerGroup' :: GameServerGroup -> Maybe (NonEmpty InstanceDefinition)
$sel:gameServerProtectionPolicy:GameServerGroup' :: GameServerGroup -> Maybe GameServerProtectionPolicy
$sel:gameServerGroupName:GameServerGroup' :: GameServerGroup -> Maybe Text
$sel:gameServerGroupArn:GameServerGroup' :: GameServerGroup -> Maybe Text
$sel:creationTime:GameServerGroup' :: GameServerGroup -> Maybe POSIX
$sel:balancingStrategy:GameServerGroup' :: GameServerGroup -> Maybe BalancingStrategy
$sel:autoScalingGroupArn:GameServerGroup' :: GameServerGroup -> Maybe Text
..} =
forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
autoScalingGroupArn
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe BalancingStrategy
balancingStrategy
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe POSIX
creationTime
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
gameServerGroupArn
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
gameServerGroupName
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe GameServerProtectionPolicy
gameServerProtectionPolicy
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe (NonEmpty InstanceDefinition)
instanceDefinitions
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe POSIX
lastUpdatedTime
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
roleArn
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe GameServerGroupStatus
status
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
statusReason
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe (NonEmpty GameServerGroupAction)
suspendedActions