{-# LANGUAGE DeriveGeneric #-}
{-# LANGUAGE DerivingStrategies #-}
{-# LANGUAGE GeneralizedNewtypeDeriving #-}
{-# LANGUAGE LambdaCase #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE PatternSynonyms #-}
{-# LANGUAGE StrictData #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# OPTIONS_GHC -fno-warn-unused-imports #-}

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

-- |
-- Module      : Amazonka.GameLift.Types.EventCode
-- Copyright   : (c) 2013-2021 Brendan Hay
-- License     : Mozilla Public License, v. 2.0.
-- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com>
-- Stability   : auto-generated
-- Portability : non-portable (GHC extensions)
module Amazonka.GameLift.Types.EventCode
  ( EventCode
      ( ..,
        EventCode_FLEET_ACTIVATION_FAILED,
        EventCode_FLEET_ACTIVATION_FAILED_NO_INSTANCES,
        EventCode_FLEET_BINARY_DOWNLOAD_FAILED,
        EventCode_FLEET_CREATED,
        EventCode_FLEET_CREATION_EXTRACTING_BUILD,
        EventCode_FLEET_CREATION_RUNNING_INSTALLER,
        EventCode_FLEET_CREATION_VALIDATING_RUNTIME_CONFIG,
        EventCode_FLEET_DELETED,
        EventCode_FLEET_INITIALIZATION_FAILED,
        EventCode_FLEET_NEW_GAME_SESSION_PROTECTION_POLICY_UPDATED,
        EventCode_FLEET_SCALING_EVENT,
        EventCode_FLEET_STATE_ACTIVATING,
        EventCode_FLEET_STATE_ACTIVE,
        EventCode_FLEET_STATE_BUILDING,
        EventCode_FLEET_STATE_DOWNLOADING,
        EventCode_FLEET_STATE_ERROR,
        EventCode_FLEET_STATE_VALIDATING,
        EventCode_FLEET_VALIDATION_EXECUTABLE_RUNTIME_FAILURE,
        EventCode_FLEET_VALIDATION_LAUNCH_PATH_NOT_FOUND,
        EventCode_FLEET_VALIDATION_TIMED_OUT,
        EventCode_FLEET_VPC_PEERING_DELETED,
        EventCode_FLEET_VPC_PEERING_FAILED,
        EventCode_FLEET_VPC_PEERING_SUCCEEDED,
        EventCode_GAME_SESSION_ACTIVATION_TIMEOUT,
        EventCode_GENERIC_EVENT,
        EventCode_INSTANCE_INTERRUPTED,
        EventCode_SERVER_PROCESS_CRASHED,
        EventCode_SERVER_PROCESS_FORCE_TERMINATED,
        EventCode_SERVER_PROCESS_INVALID_PATH,
        EventCode_SERVER_PROCESS_PROCESS_EXIT_TIMEOUT,
        EventCode_SERVER_PROCESS_PROCESS_READY_TIMEOUT,
        EventCode_SERVER_PROCESS_SDK_INITIALIZATION_TIMEOUT,
        EventCode_SERVER_PROCESS_TERMINATED_UNHEALTHY
      ),
  )
where

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

newtype EventCode = EventCode'
  { EventCode -> Text
fromEventCode ::
      Core.Text
  }
  deriving stock
    ( Int -> EventCode -> ShowS
[EventCode] -> ShowS
EventCode -> String
(Int -> EventCode -> ShowS)
-> (EventCode -> String)
-> ([EventCode] -> ShowS)
-> Show EventCode
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [EventCode] -> ShowS
$cshowList :: [EventCode] -> ShowS
show :: EventCode -> String
$cshow :: EventCode -> String
showsPrec :: Int -> EventCode -> ShowS
$cshowsPrec :: Int -> EventCode -> ShowS
Prelude.Show,
      ReadPrec [EventCode]
ReadPrec EventCode
Int -> ReadS EventCode
ReadS [EventCode]
(Int -> ReadS EventCode)
-> ReadS [EventCode]
-> ReadPrec EventCode
-> ReadPrec [EventCode]
-> Read EventCode
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [EventCode]
$creadListPrec :: ReadPrec [EventCode]
readPrec :: ReadPrec EventCode
$creadPrec :: ReadPrec EventCode
readList :: ReadS [EventCode]
$creadList :: ReadS [EventCode]
readsPrec :: Int -> ReadS EventCode
$creadsPrec :: Int -> ReadS EventCode
Prelude.Read,
      EventCode -> EventCode -> Bool
(EventCode -> EventCode -> Bool)
-> (EventCode -> EventCode -> Bool) -> Eq EventCode
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: EventCode -> EventCode -> Bool
$c/= :: EventCode -> EventCode -> Bool
== :: EventCode -> EventCode -> Bool
$c== :: EventCode -> EventCode -> Bool
Prelude.Eq,
      Eq EventCode
Eq EventCode
-> (EventCode -> EventCode -> Ordering)
-> (EventCode -> EventCode -> Bool)
-> (EventCode -> EventCode -> Bool)
-> (EventCode -> EventCode -> Bool)
-> (EventCode -> EventCode -> Bool)
-> (EventCode -> EventCode -> EventCode)
-> (EventCode -> EventCode -> EventCode)
-> Ord EventCode
EventCode -> EventCode -> Bool
EventCode -> EventCode -> Ordering
EventCode -> EventCode -> EventCode
forall a.
Eq a
-> (a -> a -> Ordering)
-> (a -> a -> Bool)
-> (a -> a -> Bool)
-> (a -> a -> Bool)
-> (a -> a -> Bool)
-> (a -> a -> a)
-> (a -> a -> a)
-> Ord a
min :: EventCode -> EventCode -> EventCode
$cmin :: EventCode -> EventCode -> EventCode
max :: EventCode -> EventCode -> EventCode
$cmax :: EventCode -> EventCode -> EventCode
>= :: EventCode -> EventCode -> Bool
$c>= :: EventCode -> EventCode -> Bool
> :: EventCode -> EventCode -> Bool
$c> :: EventCode -> EventCode -> Bool
<= :: EventCode -> EventCode -> Bool
$c<= :: EventCode -> EventCode -> Bool
< :: EventCode -> EventCode -> Bool
$c< :: EventCode -> EventCode -> Bool
compare :: EventCode -> EventCode -> Ordering
$ccompare :: EventCode -> EventCode -> Ordering
$cp1Ord :: Eq EventCode
Prelude.Ord,
      (forall x. EventCode -> Rep EventCode x)
-> (forall x. Rep EventCode x -> EventCode) -> Generic EventCode
forall x. Rep EventCode x -> EventCode
forall x. EventCode -> Rep EventCode x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep EventCode x -> EventCode
$cfrom :: forall x. EventCode -> Rep EventCode x
Prelude.Generic
    )
  deriving newtype
    ( Int -> EventCode -> Int
EventCode -> Int
(Int -> EventCode -> Int)
-> (EventCode -> Int) -> Hashable EventCode
forall a. (Int -> a -> Int) -> (a -> Int) -> Hashable a
hash :: EventCode -> Int
$chash :: EventCode -> Int
hashWithSalt :: Int -> EventCode -> Int
$chashWithSalt :: Int -> EventCode -> Int
Prelude.Hashable,
      EventCode -> ()
(EventCode -> ()) -> NFData EventCode
forall a. (a -> ()) -> NFData a
rnf :: EventCode -> ()
$crnf :: EventCode -> ()
Prelude.NFData,
      Text -> Either String EventCode
(Text -> Either String EventCode) -> FromText EventCode
forall a. (Text -> Either String a) -> FromText a
fromText :: Text -> Either String EventCode
$cfromText :: Text -> Either String EventCode
Core.FromText,
      EventCode -> Text
(EventCode -> Text) -> ToText EventCode
forall a. (a -> Text) -> ToText a
toText :: EventCode -> Text
$ctoText :: EventCode -> Text
Core.ToText,
      EventCode -> ByteString
(EventCode -> ByteString) -> ToByteString EventCode
forall a. (a -> ByteString) -> ToByteString a
toBS :: EventCode -> ByteString
$ctoBS :: EventCode -> ByteString
Core.ToByteString,
      EventCode -> ByteStringBuilder
(EventCode -> ByteStringBuilder) -> ToLog EventCode
forall a. (a -> ByteStringBuilder) -> ToLog a
build :: EventCode -> ByteStringBuilder
$cbuild :: EventCode -> ByteStringBuilder
Core.ToLog,
      HeaderName -> EventCode -> [Header]
(HeaderName -> EventCode -> [Header]) -> ToHeader EventCode
forall a. (HeaderName -> a -> [Header]) -> ToHeader a
toHeader :: HeaderName -> EventCode -> [Header]
$ctoHeader :: HeaderName -> EventCode -> [Header]
Core.ToHeader,
      EventCode -> QueryString
(EventCode -> QueryString) -> ToQuery EventCode
forall a. (a -> QueryString) -> ToQuery a
toQuery :: EventCode -> QueryString
$ctoQuery :: EventCode -> QueryString
Core.ToQuery,
      Value -> Parser [EventCode]
Value -> Parser EventCode
(Value -> Parser EventCode)
-> (Value -> Parser [EventCode]) -> FromJSON EventCode
forall a.
(Value -> Parser a) -> (Value -> Parser [a]) -> FromJSON a
parseJSONList :: Value -> Parser [EventCode]
$cparseJSONList :: Value -> Parser [EventCode]
parseJSON :: Value -> Parser EventCode
$cparseJSON :: Value -> Parser EventCode
Core.FromJSON,
      FromJSONKeyFunction [EventCode]
FromJSONKeyFunction EventCode
FromJSONKeyFunction EventCode
-> FromJSONKeyFunction [EventCode] -> FromJSONKey EventCode
forall a.
FromJSONKeyFunction a -> FromJSONKeyFunction [a] -> FromJSONKey a
fromJSONKeyList :: FromJSONKeyFunction [EventCode]
$cfromJSONKeyList :: FromJSONKeyFunction [EventCode]
fromJSONKey :: FromJSONKeyFunction EventCode
$cfromJSONKey :: FromJSONKeyFunction EventCode
Core.FromJSONKey,
      [EventCode] -> Encoding
[EventCode] -> Value
EventCode -> Encoding
EventCode -> Value
(EventCode -> Value)
-> (EventCode -> Encoding)
-> ([EventCode] -> Value)
-> ([EventCode] -> Encoding)
-> ToJSON EventCode
forall a.
(a -> Value)
-> (a -> Encoding)
-> ([a] -> Value)
-> ([a] -> Encoding)
-> ToJSON a
toEncodingList :: [EventCode] -> Encoding
$ctoEncodingList :: [EventCode] -> Encoding
toJSONList :: [EventCode] -> Value
$ctoJSONList :: [EventCode] -> Value
toEncoding :: EventCode -> Encoding
$ctoEncoding :: EventCode -> Encoding
toJSON :: EventCode -> Value
$ctoJSON :: EventCode -> Value
Core.ToJSON,
      ToJSONKeyFunction [EventCode]
ToJSONKeyFunction EventCode
ToJSONKeyFunction EventCode
-> ToJSONKeyFunction [EventCode] -> ToJSONKey EventCode
forall a.
ToJSONKeyFunction a -> ToJSONKeyFunction [a] -> ToJSONKey a
toJSONKeyList :: ToJSONKeyFunction [EventCode]
$ctoJSONKeyList :: ToJSONKeyFunction [EventCode]
toJSONKey :: ToJSONKeyFunction EventCode
$ctoJSONKey :: ToJSONKeyFunction EventCode
Core.ToJSONKey,
      [Node] -> Either String EventCode
([Node] -> Either String EventCode) -> FromXML EventCode
forall a. ([Node] -> Either String a) -> FromXML a
parseXML :: [Node] -> Either String EventCode
$cparseXML :: [Node] -> Either String EventCode
Core.FromXML,
      EventCode -> XML
(EventCode -> XML) -> ToXML EventCode
forall a. (a -> XML) -> ToXML a
toXML :: EventCode -> XML
$ctoXML :: EventCode -> XML
Core.ToXML
    )

pattern EventCode_FLEET_ACTIVATION_FAILED :: EventCode
pattern $bEventCode_FLEET_ACTIVATION_FAILED :: EventCode
$mEventCode_FLEET_ACTIVATION_FAILED :: forall r. EventCode -> (Void# -> r) -> (Void# -> r) -> r
EventCode_FLEET_ACTIVATION_FAILED = EventCode' "FLEET_ACTIVATION_FAILED"

pattern EventCode_FLEET_ACTIVATION_FAILED_NO_INSTANCES :: EventCode
pattern $bEventCode_FLEET_ACTIVATION_FAILED_NO_INSTANCES :: EventCode
$mEventCode_FLEET_ACTIVATION_FAILED_NO_INSTANCES :: forall r. EventCode -> (Void# -> r) -> (Void# -> r) -> r
EventCode_FLEET_ACTIVATION_FAILED_NO_INSTANCES = EventCode' "FLEET_ACTIVATION_FAILED_NO_INSTANCES"

pattern EventCode_FLEET_BINARY_DOWNLOAD_FAILED :: EventCode
pattern $bEventCode_FLEET_BINARY_DOWNLOAD_FAILED :: EventCode
$mEventCode_FLEET_BINARY_DOWNLOAD_FAILED :: forall r. EventCode -> (Void# -> r) -> (Void# -> r) -> r
EventCode_FLEET_BINARY_DOWNLOAD_FAILED = EventCode' "FLEET_BINARY_DOWNLOAD_FAILED"

pattern EventCode_FLEET_CREATED :: EventCode
pattern $bEventCode_FLEET_CREATED :: EventCode
$mEventCode_FLEET_CREATED :: forall r. EventCode -> (Void# -> r) -> (Void# -> r) -> r
EventCode_FLEET_CREATED = EventCode' "FLEET_CREATED"

pattern EventCode_FLEET_CREATION_EXTRACTING_BUILD :: EventCode
pattern $bEventCode_FLEET_CREATION_EXTRACTING_BUILD :: EventCode
$mEventCode_FLEET_CREATION_EXTRACTING_BUILD :: forall r. EventCode -> (Void# -> r) -> (Void# -> r) -> r
EventCode_FLEET_CREATION_EXTRACTING_BUILD = EventCode' "FLEET_CREATION_EXTRACTING_BUILD"

pattern EventCode_FLEET_CREATION_RUNNING_INSTALLER :: EventCode
pattern $bEventCode_FLEET_CREATION_RUNNING_INSTALLER :: EventCode
$mEventCode_FLEET_CREATION_RUNNING_INSTALLER :: forall r. EventCode -> (Void# -> r) -> (Void# -> r) -> r
EventCode_FLEET_CREATION_RUNNING_INSTALLER = EventCode' "FLEET_CREATION_RUNNING_INSTALLER"

pattern EventCode_FLEET_CREATION_VALIDATING_RUNTIME_CONFIG :: EventCode
pattern $bEventCode_FLEET_CREATION_VALIDATING_RUNTIME_CONFIG :: EventCode
$mEventCode_FLEET_CREATION_VALIDATING_RUNTIME_CONFIG :: forall r. EventCode -> (Void# -> r) -> (Void# -> r) -> r
EventCode_FLEET_CREATION_VALIDATING_RUNTIME_CONFIG = EventCode' "FLEET_CREATION_VALIDATING_RUNTIME_CONFIG"

pattern EventCode_FLEET_DELETED :: EventCode
pattern $bEventCode_FLEET_DELETED :: EventCode
$mEventCode_FLEET_DELETED :: forall r. EventCode -> (Void# -> r) -> (Void# -> r) -> r
EventCode_FLEET_DELETED = EventCode' "FLEET_DELETED"

pattern EventCode_FLEET_INITIALIZATION_FAILED :: EventCode
pattern $bEventCode_FLEET_INITIALIZATION_FAILED :: EventCode
$mEventCode_FLEET_INITIALIZATION_FAILED :: forall r. EventCode -> (Void# -> r) -> (Void# -> r) -> r
EventCode_FLEET_INITIALIZATION_FAILED = EventCode' "FLEET_INITIALIZATION_FAILED"

pattern EventCode_FLEET_NEW_GAME_SESSION_PROTECTION_POLICY_UPDATED :: EventCode
pattern $bEventCode_FLEET_NEW_GAME_SESSION_PROTECTION_POLICY_UPDATED :: EventCode
$mEventCode_FLEET_NEW_GAME_SESSION_PROTECTION_POLICY_UPDATED :: forall r. EventCode -> (Void# -> r) -> (Void# -> r) -> r
EventCode_FLEET_NEW_GAME_SESSION_PROTECTION_POLICY_UPDATED = EventCode' "FLEET_NEW_GAME_SESSION_PROTECTION_POLICY_UPDATED"

pattern EventCode_FLEET_SCALING_EVENT :: EventCode
pattern $bEventCode_FLEET_SCALING_EVENT :: EventCode
$mEventCode_FLEET_SCALING_EVENT :: forall r. EventCode -> (Void# -> r) -> (Void# -> r) -> r
EventCode_FLEET_SCALING_EVENT = EventCode' "FLEET_SCALING_EVENT"

pattern EventCode_FLEET_STATE_ACTIVATING :: EventCode
pattern $bEventCode_FLEET_STATE_ACTIVATING :: EventCode
$mEventCode_FLEET_STATE_ACTIVATING :: forall r. EventCode -> (Void# -> r) -> (Void# -> r) -> r
EventCode_FLEET_STATE_ACTIVATING = EventCode' "FLEET_STATE_ACTIVATING"

pattern EventCode_FLEET_STATE_ACTIVE :: EventCode
pattern $bEventCode_FLEET_STATE_ACTIVE :: EventCode
$mEventCode_FLEET_STATE_ACTIVE :: forall r. EventCode -> (Void# -> r) -> (Void# -> r) -> r
EventCode_FLEET_STATE_ACTIVE = EventCode' "FLEET_STATE_ACTIVE"

pattern EventCode_FLEET_STATE_BUILDING :: EventCode
pattern $bEventCode_FLEET_STATE_BUILDING :: EventCode
$mEventCode_FLEET_STATE_BUILDING :: forall r. EventCode -> (Void# -> r) -> (Void# -> r) -> r
EventCode_FLEET_STATE_BUILDING = EventCode' "FLEET_STATE_BUILDING"

pattern EventCode_FLEET_STATE_DOWNLOADING :: EventCode
pattern $bEventCode_FLEET_STATE_DOWNLOADING :: EventCode
$mEventCode_FLEET_STATE_DOWNLOADING :: forall r. EventCode -> (Void# -> r) -> (Void# -> r) -> r
EventCode_FLEET_STATE_DOWNLOADING = EventCode' "FLEET_STATE_DOWNLOADING"

pattern EventCode_FLEET_STATE_ERROR :: EventCode
pattern $bEventCode_FLEET_STATE_ERROR :: EventCode
$mEventCode_FLEET_STATE_ERROR :: forall r. EventCode -> (Void# -> r) -> (Void# -> r) -> r
EventCode_FLEET_STATE_ERROR = EventCode' "FLEET_STATE_ERROR"

pattern EventCode_FLEET_STATE_VALIDATING :: EventCode
pattern $bEventCode_FLEET_STATE_VALIDATING :: EventCode
$mEventCode_FLEET_STATE_VALIDATING :: forall r. EventCode -> (Void# -> r) -> (Void# -> r) -> r
EventCode_FLEET_STATE_VALIDATING = EventCode' "FLEET_STATE_VALIDATING"

pattern EventCode_FLEET_VALIDATION_EXECUTABLE_RUNTIME_FAILURE :: EventCode
pattern $bEventCode_FLEET_VALIDATION_EXECUTABLE_RUNTIME_FAILURE :: EventCode
$mEventCode_FLEET_VALIDATION_EXECUTABLE_RUNTIME_FAILURE :: forall r. EventCode -> (Void# -> r) -> (Void# -> r) -> r
EventCode_FLEET_VALIDATION_EXECUTABLE_RUNTIME_FAILURE = EventCode' "FLEET_VALIDATION_EXECUTABLE_RUNTIME_FAILURE"

pattern EventCode_FLEET_VALIDATION_LAUNCH_PATH_NOT_FOUND :: EventCode
pattern $bEventCode_FLEET_VALIDATION_LAUNCH_PATH_NOT_FOUND :: EventCode
$mEventCode_FLEET_VALIDATION_LAUNCH_PATH_NOT_FOUND :: forall r. EventCode -> (Void# -> r) -> (Void# -> r) -> r
EventCode_FLEET_VALIDATION_LAUNCH_PATH_NOT_FOUND = EventCode' "FLEET_VALIDATION_LAUNCH_PATH_NOT_FOUND"

pattern EventCode_FLEET_VALIDATION_TIMED_OUT :: EventCode
pattern $bEventCode_FLEET_VALIDATION_TIMED_OUT :: EventCode
$mEventCode_FLEET_VALIDATION_TIMED_OUT :: forall r. EventCode -> (Void# -> r) -> (Void# -> r) -> r
EventCode_FLEET_VALIDATION_TIMED_OUT = EventCode' "FLEET_VALIDATION_TIMED_OUT"

pattern EventCode_FLEET_VPC_PEERING_DELETED :: EventCode
pattern $bEventCode_FLEET_VPC_PEERING_DELETED :: EventCode
$mEventCode_FLEET_VPC_PEERING_DELETED :: forall r. EventCode -> (Void# -> r) -> (Void# -> r) -> r
EventCode_FLEET_VPC_PEERING_DELETED = EventCode' "FLEET_VPC_PEERING_DELETED"

pattern EventCode_FLEET_VPC_PEERING_FAILED :: EventCode
pattern $bEventCode_FLEET_VPC_PEERING_FAILED :: EventCode
$mEventCode_FLEET_VPC_PEERING_FAILED :: forall r. EventCode -> (Void# -> r) -> (Void# -> r) -> r
EventCode_FLEET_VPC_PEERING_FAILED = EventCode' "FLEET_VPC_PEERING_FAILED"

pattern EventCode_FLEET_VPC_PEERING_SUCCEEDED :: EventCode
pattern $bEventCode_FLEET_VPC_PEERING_SUCCEEDED :: EventCode
$mEventCode_FLEET_VPC_PEERING_SUCCEEDED :: forall r. EventCode -> (Void# -> r) -> (Void# -> r) -> r
EventCode_FLEET_VPC_PEERING_SUCCEEDED = EventCode' "FLEET_VPC_PEERING_SUCCEEDED"

pattern EventCode_GAME_SESSION_ACTIVATION_TIMEOUT :: EventCode
pattern $bEventCode_GAME_SESSION_ACTIVATION_TIMEOUT :: EventCode
$mEventCode_GAME_SESSION_ACTIVATION_TIMEOUT :: forall r. EventCode -> (Void# -> r) -> (Void# -> r) -> r
EventCode_GAME_SESSION_ACTIVATION_TIMEOUT = EventCode' "GAME_SESSION_ACTIVATION_TIMEOUT"

pattern EventCode_GENERIC_EVENT :: EventCode
pattern $bEventCode_GENERIC_EVENT :: EventCode
$mEventCode_GENERIC_EVENT :: forall r. EventCode -> (Void# -> r) -> (Void# -> r) -> r
EventCode_GENERIC_EVENT = EventCode' "GENERIC_EVENT"

pattern EventCode_INSTANCE_INTERRUPTED :: EventCode
pattern $bEventCode_INSTANCE_INTERRUPTED :: EventCode
$mEventCode_INSTANCE_INTERRUPTED :: forall r. EventCode -> (Void# -> r) -> (Void# -> r) -> r
EventCode_INSTANCE_INTERRUPTED = EventCode' "INSTANCE_INTERRUPTED"

pattern EventCode_SERVER_PROCESS_CRASHED :: EventCode
pattern $bEventCode_SERVER_PROCESS_CRASHED :: EventCode
$mEventCode_SERVER_PROCESS_CRASHED :: forall r. EventCode -> (Void# -> r) -> (Void# -> r) -> r
EventCode_SERVER_PROCESS_CRASHED = EventCode' "SERVER_PROCESS_CRASHED"

pattern EventCode_SERVER_PROCESS_FORCE_TERMINATED :: EventCode
pattern $bEventCode_SERVER_PROCESS_FORCE_TERMINATED :: EventCode
$mEventCode_SERVER_PROCESS_FORCE_TERMINATED :: forall r. EventCode -> (Void# -> r) -> (Void# -> r) -> r
EventCode_SERVER_PROCESS_FORCE_TERMINATED = EventCode' "SERVER_PROCESS_FORCE_TERMINATED"

pattern EventCode_SERVER_PROCESS_INVALID_PATH :: EventCode
pattern $bEventCode_SERVER_PROCESS_INVALID_PATH :: EventCode
$mEventCode_SERVER_PROCESS_INVALID_PATH :: forall r. EventCode -> (Void# -> r) -> (Void# -> r) -> r
EventCode_SERVER_PROCESS_INVALID_PATH = EventCode' "SERVER_PROCESS_INVALID_PATH"

pattern EventCode_SERVER_PROCESS_PROCESS_EXIT_TIMEOUT :: EventCode
pattern $bEventCode_SERVER_PROCESS_PROCESS_EXIT_TIMEOUT :: EventCode
$mEventCode_SERVER_PROCESS_PROCESS_EXIT_TIMEOUT :: forall r. EventCode -> (Void# -> r) -> (Void# -> r) -> r
EventCode_SERVER_PROCESS_PROCESS_EXIT_TIMEOUT = EventCode' "SERVER_PROCESS_PROCESS_EXIT_TIMEOUT"

pattern EventCode_SERVER_PROCESS_PROCESS_READY_TIMEOUT :: EventCode
pattern $bEventCode_SERVER_PROCESS_PROCESS_READY_TIMEOUT :: EventCode
$mEventCode_SERVER_PROCESS_PROCESS_READY_TIMEOUT :: forall r. EventCode -> (Void# -> r) -> (Void# -> r) -> r
EventCode_SERVER_PROCESS_PROCESS_READY_TIMEOUT = EventCode' "SERVER_PROCESS_PROCESS_READY_TIMEOUT"

pattern EventCode_SERVER_PROCESS_SDK_INITIALIZATION_TIMEOUT :: EventCode
pattern $bEventCode_SERVER_PROCESS_SDK_INITIALIZATION_TIMEOUT :: EventCode
$mEventCode_SERVER_PROCESS_SDK_INITIALIZATION_TIMEOUT :: forall r. EventCode -> (Void# -> r) -> (Void# -> r) -> r
EventCode_SERVER_PROCESS_SDK_INITIALIZATION_TIMEOUT = EventCode' "SERVER_PROCESS_SDK_INITIALIZATION_TIMEOUT"

pattern EventCode_SERVER_PROCESS_TERMINATED_UNHEALTHY :: EventCode
pattern $bEventCode_SERVER_PROCESS_TERMINATED_UNHEALTHY :: EventCode
$mEventCode_SERVER_PROCESS_TERMINATED_UNHEALTHY :: forall r. EventCode -> (Void# -> r) -> (Void# -> r) -> r
EventCode_SERVER_PROCESS_TERMINATED_UNHEALTHY = EventCode' "SERVER_PROCESS_TERMINATED_UNHEALTHY"

{-# COMPLETE
  EventCode_FLEET_ACTIVATION_FAILED,
  EventCode_FLEET_ACTIVATION_FAILED_NO_INSTANCES,
  EventCode_FLEET_BINARY_DOWNLOAD_FAILED,
  EventCode_FLEET_CREATED,
  EventCode_FLEET_CREATION_EXTRACTING_BUILD,
  EventCode_FLEET_CREATION_RUNNING_INSTALLER,
  EventCode_FLEET_CREATION_VALIDATING_RUNTIME_CONFIG,
  EventCode_FLEET_DELETED,
  EventCode_FLEET_INITIALIZATION_FAILED,
  EventCode_FLEET_NEW_GAME_SESSION_PROTECTION_POLICY_UPDATED,
  EventCode_FLEET_SCALING_EVENT,
  EventCode_FLEET_STATE_ACTIVATING,
  EventCode_FLEET_STATE_ACTIVE,
  EventCode_FLEET_STATE_BUILDING,
  EventCode_FLEET_STATE_DOWNLOADING,
  EventCode_FLEET_STATE_ERROR,
  EventCode_FLEET_STATE_VALIDATING,
  EventCode_FLEET_VALIDATION_EXECUTABLE_RUNTIME_FAILURE,
  EventCode_FLEET_VALIDATION_LAUNCH_PATH_NOT_FOUND,
  EventCode_FLEET_VALIDATION_TIMED_OUT,
  EventCode_FLEET_VPC_PEERING_DELETED,
  EventCode_FLEET_VPC_PEERING_FAILED,
  EventCode_FLEET_VPC_PEERING_SUCCEEDED,
  EventCode_GAME_SESSION_ACTIVATION_TIMEOUT,
  EventCode_GENERIC_EVENT,
  EventCode_INSTANCE_INTERRUPTED,
  EventCode_SERVER_PROCESS_CRASHED,
  EventCode_SERVER_PROCESS_FORCE_TERMINATED,
  EventCode_SERVER_PROCESS_INVALID_PATH,
  EventCode_SERVER_PROCESS_PROCESS_EXIT_TIMEOUT,
  EventCode_SERVER_PROCESS_PROCESS_READY_TIMEOUT,
  EventCode_SERVER_PROCESS_SDK_INITIALIZATION_TIMEOUT,
  EventCode_SERVER_PROCESS_TERMINATED_UNHEALTHY,
  EventCode'
  #-}