{-# LANGUAGE DeriveGeneric #-}
{-# LANGUAGE DerivingStrategies #-}
{-# LANGUAGE GeneralizedNewtypeDeriving #-}
{-# LANGUAGE LambdaCase #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE PatternSynonyms #-}
{-# LANGUAGE StrictData #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# OPTIONS_GHC -fno-warn-unused-imports #-}
module Amazonka.GameLift.Types.LocationUpdateStatus
( LocationUpdateStatus
( ..,
LocationUpdateStatus_PENDING_UPDATE
),
)
where
import qualified Amazonka.Core as Core
import qualified Amazonka.Data as Data
import qualified Amazonka.Prelude as Prelude
newtype LocationUpdateStatus = LocationUpdateStatus'
{ LocationUpdateStatus -> Text
fromLocationUpdateStatus ::
Data.Text
}
deriving stock
( Int -> LocationUpdateStatus -> ShowS
[LocationUpdateStatus] -> ShowS
LocationUpdateStatus -> String
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [LocationUpdateStatus] -> ShowS
$cshowList :: [LocationUpdateStatus] -> ShowS
show :: LocationUpdateStatus -> String
$cshow :: LocationUpdateStatus -> String
showsPrec :: Int -> LocationUpdateStatus -> ShowS
$cshowsPrec :: Int -> LocationUpdateStatus -> ShowS
Prelude.Show,
ReadPrec [LocationUpdateStatus]
ReadPrec LocationUpdateStatus
Int -> ReadS LocationUpdateStatus
ReadS [LocationUpdateStatus]
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [LocationUpdateStatus]
$creadListPrec :: ReadPrec [LocationUpdateStatus]
readPrec :: ReadPrec LocationUpdateStatus
$creadPrec :: ReadPrec LocationUpdateStatus
readList :: ReadS [LocationUpdateStatus]
$creadList :: ReadS [LocationUpdateStatus]
readsPrec :: Int -> ReadS LocationUpdateStatus
$creadsPrec :: Int -> ReadS LocationUpdateStatus
Prelude.Read,
LocationUpdateStatus -> LocationUpdateStatus -> Bool
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: LocationUpdateStatus -> LocationUpdateStatus -> Bool
$c/= :: LocationUpdateStatus -> LocationUpdateStatus -> Bool
== :: LocationUpdateStatus -> LocationUpdateStatus -> Bool
$c== :: LocationUpdateStatus -> LocationUpdateStatus -> Bool
Prelude.Eq,
Eq LocationUpdateStatus
LocationUpdateStatus -> LocationUpdateStatus -> Bool
LocationUpdateStatus -> LocationUpdateStatus -> Ordering
LocationUpdateStatus
-> LocationUpdateStatus -> LocationUpdateStatus
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 :: LocationUpdateStatus
-> LocationUpdateStatus -> LocationUpdateStatus
$cmin :: LocationUpdateStatus
-> LocationUpdateStatus -> LocationUpdateStatus
max :: LocationUpdateStatus
-> LocationUpdateStatus -> LocationUpdateStatus
$cmax :: LocationUpdateStatus
-> LocationUpdateStatus -> LocationUpdateStatus
>= :: LocationUpdateStatus -> LocationUpdateStatus -> Bool
$c>= :: LocationUpdateStatus -> LocationUpdateStatus -> Bool
> :: LocationUpdateStatus -> LocationUpdateStatus -> Bool
$c> :: LocationUpdateStatus -> LocationUpdateStatus -> Bool
<= :: LocationUpdateStatus -> LocationUpdateStatus -> Bool
$c<= :: LocationUpdateStatus -> LocationUpdateStatus -> Bool
< :: LocationUpdateStatus -> LocationUpdateStatus -> Bool
$c< :: LocationUpdateStatus -> LocationUpdateStatus -> Bool
compare :: LocationUpdateStatus -> LocationUpdateStatus -> Ordering
$ccompare :: LocationUpdateStatus -> LocationUpdateStatus -> Ordering
Prelude.Ord,
forall x. Rep LocationUpdateStatus x -> LocationUpdateStatus
forall x. LocationUpdateStatus -> Rep LocationUpdateStatus x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep LocationUpdateStatus x -> LocationUpdateStatus
$cfrom :: forall x. LocationUpdateStatus -> Rep LocationUpdateStatus x
Prelude.Generic
)
deriving newtype
( Eq LocationUpdateStatus
Int -> LocationUpdateStatus -> Int
LocationUpdateStatus -> Int
forall a. Eq a -> (Int -> a -> Int) -> (a -> Int) -> Hashable a
hash :: LocationUpdateStatus -> Int
$chash :: LocationUpdateStatus -> Int
hashWithSalt :: Int -> LocationUpdateStatus -> Int
$chashWithSalt :: Int -> LocationUpdateStatus -> Int
Prelude.Hashable,
LocationUpdateStatus -> ()
forall a. (a -> ()) -> NFData a
rnf :: LocationUpdateStatus -> ()
$crnf :: LocationUpdateStatus -> ()
Prelude.NFData,
Text -> Either String LocationUpdateStatus
forall a. (Text -> Either String a) -> FromText a
fromText :: Text -> Either String LocationUpdateStatus
$cfromText :: Text -> Either String LocationUpdateStatus
Data.FromText,
LocationUpdateStatus -> Text
forall a. (a -> Text) -> ToText a
toText :: LocationUpdateStatus -> Text
$ctoText :: LocationUpdateStatus -> Text
Data.ToText,
LocationUpdateStatus -> ByteString
forall a. (a -> ByteString) -> ToByteString a
toBS :: LocationUpdateStatus -> ByteString
$ctoBS :: LocationUpdateStatus -> ByteString
Data.ToByteString,
LocationUpdateStatus -> ByteStringBuilder
forall a. (a -> ByteStringBuilder) -> ToLog a
build :: LocationUpdateStatus -> ByteStringBuilder
$cbuild :: LocationUpdateStatus -> ByteStringBuilder
Data.ToLog,
HeaderName -> LocationUpdateStatus -> [Header]
forall a. (HeaderName -> a -> [Header]) -> ToHeader a
toHeader :: HeaderName -> LocationUpdateStatus -> [Header]
$ctoHeader :: HeaderName -> LocationUpdateStatus -> [Header]
Data.ToHeader,
LocationUpdateStatus -> QueryString
forall a. (a -> QueryString) -> ToQuery a
toQuery :: LocationUpdateStatus -> QueryString
$ctoQuery :: LocationUpdateStatus -> QueryString
Data.ToQuery,
Value -> Parser [LocationUpdateStatus]
Value -> Parser LocationUpdateStatus
forall a.
(Value -> Parser a) -> (Value -> Parser [a]) -> FromJSON a
parseJSONList :: Value -> Parser [LocationUpdateStatus]
$cparseJSONList :: Value -> Parser [LocationUpdateStatus]
parseJSON :: Value -> Parser LocationUpdateStatus
$cparseJSON :: Value -> Parser LocationUpdateStatus
Data.FromJSON,
FromJSONKeyFunction [LocationUpdateStatus]
FromJSONKeyFunction LocationUpdateStatus
forall a.
FromJSONKeyFunction a -> FromJSONKeyFunction [a] -> FromJSONKey a
fromJSONKeyList :: FromJSONKeyFunction [LocationUpdateStatus]
$cfromJSONKeyList :: FromJSONKeyFunction [LocationUpdateStatus]
fromJSONKey :: FromJSONKeyFunction LocationUpdateStatus
$cfromJSONKey :: FromJSONKeyFunction LocationUpdateStatus
Data.FromJSONKey,
[LocationUpdateStatus] -> Encoding
[LocationUpdateStatus] -> Value
LocationUpdateStatus -> Encoding
LocationUpdateStatus -> Value
forall a.
(a -> Value)
-> (a -> Encoding)
-> ([a] -> Value)
-> ([a] -> Encoding)
-> ToJSON a
toEncodingList :: [LocationUpdateStatus] -> Encoding
$ctoEncodingList :: [LocationUpdateStatus] -> Encoding
toJSONList :: [LocationUpdateStatus] -> Value
$ctoJSONList :: [LocationUpdateStatus] -> Value
toEncoding :: LocationUpdateStatus -> Encoding
$ctoEncoding :: LocationUpdateStatus -> Encoding
toJSON :: LocationUpdateStatus -> Value
$ctoJSON :: LocationUpdateStatus -> Value
Data.ToJSON,
ToJSONKeyFunction [LocationUpdateStatus]
ToJSONKeyFunction LocationUpdateStatus
forall a.
ToJSONKeyFunction a -> ToJSONKeyFunction [a] -> ToJSONKey a
toJSONKeyList :: ToJSONKeyFunction [LocationUpdateStatus]
$ctoJSONKeyList :: ToJSONKeyFunction [LocationUpdateStatus]
toJSONKey :: ToJSONKeyFunction LocationUpdateStatus
$ctoJSONKey :: ToJSONKeyFunction LocationUpdateStatus
Data.ToJSONKey,
[Node] -> Either String LocationUpdateStatus
forall a. ([Node] -> Either String a) -> FromXML a
parseXML :: [Node] -> Either String LocationUpdateStatus
$cparseXML :: [Node] -> Either String LocationUpdateStatus
Data.FromXML,
LocationUpdateStatus -> XML
forall a. (a -> XML) -> ToXML a
toXML :: LocationUpdateStatus -> XML
$ctoXML :: LocationUpdateStatus -> XML
Data.ToXML
)
pattern LocationUpdateStatus_PENDING_UPDATE :: LocationUpdateStatus
pattern $bLocationUpdateStatus_PENDING_UPDATE :: LocationUpdateStatus
$mLocationUpdateStatus_PENDING_UPDATE :: forall {r}.
LocationUpdateStatus -> ((# #) -> r) -> ((# #) -> r) -> r
LocationUpdateStatus_PENDING_UPDATE = LocationUpdateStatus' "PENDING_UPDATE"
{-# COMPLETE
LocationUpdateStatus_PENDING_UPDATE,
LocationUpdateStatus'
#-}