{-# 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.GameServerGroupDeleteOption
( GameServerGroupDeleteOption
( ..,
GameServerGroupDeleteOption_FORCE_DELETE,
GameServerGroupDeleteOption_RETAIN,
GameServerGroupDeleteOption_SAFE_DELETE
),
)
where
import qualified Amazonka.Core as Core
import qualified Amazonka.Prelude as Prelude
newtype GameServerGroupDeleteOption = GameServerGroupDeleteOption'
{ GameServerGroupDeleteOption -> Text
fromGameServerGroupDeleteOption ::
Core.Text
}
deriving stock
( Int -> GameServerGroupDeleteOption -> ShowS
[GameServerGroupDeleteOption] -> ShowS
GameServerGroupDeleteOption -> String
(Int -> GameServerGroupDeleteOption -> ShowS)
-> (GameServerGroupDeleteOption -> String)
-> ([GameServerGroupDeleteOption] -> ShowS)
-> Show GameServerGroupDeleteOption
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [GameServerGroupDeleteOption] -> ShowS
$cshowList :: [GameServerGroupDeleteOption] -> ShowS
show :: GameServerGroupDeleteOption -> String
$cshow :: GameServerGroupDeleteOption -> String
showsPrec :: Int -> GameServerGroupDeleteOption -> ShowS
$cshowsPrec :: Int -> GameServerGroupDeleteOption -> ShowS
Prelude.Show,
ReadPrec [GameServerGroupDeleteOption]
ReadPrec GameServerGroupDeleteOption
Int -> ReadS GameServerGroupDeleteOption
ReadS [GameServerGroupDeleteOption]
(Int -> ReadS GameServerGroupDeleteOption)
-> ReadS [GameServerGroupDeleteOption]
-> ReadPrec GameServerGroupDeleteOption
-> ReadPrec [GameServerGroupDeleteOption]
-> Read GameServerGroupDeleteOption
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [GameServerGroupDeleteOption]
$creadListPrec :: ReadPrec [GameServerGroupDeleteOption]
readPrec :: ReadPrec GameServerGroupDeleteOption
$creadPrec :: ReadPrec GameServerGroupDeleteOption
readList :: ReadS [GameServerGroupDeleteOption]
$creadList :: ReadS [GameServerGroupDeleteOption]
readsPrec :: Int -> ReadS GameServerGroupDeleteOption
$creadsPrec :: Int -> ReadS GameServerGroupDeleteOption
Prelude.Read,
GameServerGroupDeleteOption -> GameServerGroupDeleteOption -> Bool
(GameServerGroupDeleteOption
-> GameServerGroupDeleteOption -> Bool)
-> (GameServerGroupDeleteOption
-> GameServerGroupDeleteOption -> Bool)
-> Eq GameServerGroupDeleteOption
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: GameServerGroupDeleteOption -> GameServerGroupDeleteOption -> Bool
$c/= :: GameServerGroupDeleteOption -> GameServerGroupDeleteOption -> Bool
== :: GameServerGroupDeleteOption -> GameServerGroupDeleteOption -> Bool
$c== :: GameServerGroupDeleteOption -> GameServerGroupDeleteOption -> Bool
Prelude.Eq,
Eq GameServerGroupDeleteOption
Eq GameServerGroupDeleteOption
-> (GameServerGroupDeleteOption
-> GameServerGroupDeleteOption -> Ordering)
-> (GameServerGroupDeleteOption
-> GameServerGroupDeleteOption -> Bool)
-> (GameServerGroupDeleteOption
-> GameServerGroupDeleteOption -> Bool)
-> (GameServerGroupDeleteOption
-> GameServerGroupDeleteOption -> Bool)
-> (GameServerGroupDeleteOption
-> GameServerGroupDeleteOption -> Bool)
-> (GameServerGroupDeleteOption
-> GameServerGroupDeleteOption -> GameServerGroupDeleteOption)
-> (GameServerGroupDeleteOption
-> GameServerGroupDeleteOption -> GameServerGroupDeleteOption)
-> Ord GameServerGroupDeleteOption
GameServerGroupDeleteOption -> GameServerGroupDeleteOption -> Bool
GameServerGroupDeleteOption
-> GameServerGroupDeleteOption -> Ordering
GameServerGroupDeleteOption
-> GameServerGroupDeleteOption -> GameServerGroupDeleteOption
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 :: GameServerGroupDeleteOption
-> GameServerGroupDeleteOption -> GameServerGroupDeleteOption
$cmin :: GameServerGroupDeleteOption
-> GameServerGroupDeleteOption -> GameServerGroupDeleteOption
max :: GameServerGroupDeleteOption
-> GameServerGroupDeleteOption -> GameServerGroupDeleteOption
$cmax :: GameServerGroupDeleteOption
-> GameServerGroupDeleteOption -> GameServerGroupDeleteOption
>= :: GameServerGroupDeleteOption -> GameServerGroupDeleteOption -> Bool
$c>= :: GameServerGroupDeleteOption -> GameServerGroupDeleteOption -> Bool
> :: GameServerGroupDeleteOption -> GameServerGroupDeleteOption -> Bool
$c> :: GameServerGroupDeleteOption -> GameServerGroupDeleteOption -> Bool
<= :: GameServerGroupDeleteOption -> GameServerGroupDeleteOption -> Bool
$c<= :: GameServerGroupDeleteOption -> GameServerGroupDeleteOption -> Bool
< :: GameServerGroupDeleteOption -> GameServerGroupDeleteOption -> Bool
$c< :: GameServerGroupDeleteOption -> GameServerGroupDeleteOption -> Bool
compare :: GameServerGroupDeleteOption
-> GameServerGroupDeleteOption -> Ordering
$ccompare :: GameServerGroupDeleteOption
-> GameServerGroupDeleteOption -> Ordering
$cp1Ord :: Eq GameServerGroupDeleteOption
Prelude.Ord,
(forall x.
GameServerGroupDeleteOption -> Rep GameServerGroupDeleteOption x)
-> (forall x.
Rep GameServerGroupDeleteOption x -> GameServerGroupDeleteOption)
-> Generic GameServerGroupDeleteOption
forall x.
Rep GameServerGroupDeleteOption x -> GameServerGroupDeleteOption
forall x.
GameServerGroupDeleteOption -> Rep GameServerGroupDeleteOption x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep GameServerGroupDeleteOption x -> GameServerGroupDeleteOption
$cfrom :: forall x.
GameServerGroupDeleteOption -> Rep GameServerGroupDeleteOption x
Prelude.Generic
)
deriving newtype
( Int -> GameServerGroupDeleteOption -> Int
GameServerGroupDeleteOption -> Int
(Int -> GameServerGroupDeleteOption -> Int)
-> (GameServerGroupDeleteOption -> Int)
-> Hashable GameServerGroupDeleteOption
forall a. (Int -> a -> Int) -> (a -> Int) -> Hashable a
hash :: GameServerGroupDeleteOption -> Int
$chash :: GameServerGroupDeleteOption -> Int
hashWithSalt :: Int -> GameServerGroupDeleteOption -> Int
$chashWithSalt :: Int -> GameServerGroupDeleteOption -> Int
Prelude.Hashable,
GameServerGroupDeleteOption -> ()
(GameServerGroupDeleteOption -> ())
-> NFData GameServerGroupDeleteOption
forall a. (a -> ()) -> NFData a
rnf :: GameServerGroupDeleteOption -> ()
$crnf :: GameServerGroupDeleteOption -> ()
Prelude.NFData,
Text -> Either String GameServerGroupDeleteOption
(Text -> Either String GameServerGroupDeleteOption)
-> FromText GameServerGroupDeleteOption
forall a. (Text -> Either String a) -> FromText a
fromText :: Text -> Either String GameServerGroupDeleteOption
$cfromText :: Text -> Either String GameServerGroupDeleteOption
Core.FromText,
GameServerGroupDeleteOption -> Text
(GameServerGroupDeleteOption -> Text)
-> ToText GameServerGroupDeleteOption
forall a. (a -> Text) -> ToText a
toText :: GameServerGroupDeleteOption -> Text
$ctoText :: GameServerGroupDeleteOption -> Text
Core.ToText,
GameServerGroupDeleteOption -> ByteString
(GameServerGroupDeleteOption -> ByteString)
-> ToByteString GameServerGroupDeleteOption
forall a. (a -> ByteString) -> ToByteString a
toBS :: GameServerGroupDeleteOption -> ByteString
$ctoBS :: GameServerGroupDeleteOption -> ByteString
Core.ToByteString,
GameServerGroupDeleteOption -> ByteStringBuilder
(GameServerGroupDeleteOption -> ByteStringBuilder)
-> ToLog GameServerGroupDeleteOption
forall a. (a -> ByteStringBuilder) -> ToLog a
build :: GameServerGroupDeleteOption -> ByteStringBuilder
$cbuild :: GameServerGroupDeleteOption -> ByteStringBuilder
Core.ToLog,
HeaderName -> GameServerGroupDeleteOption -> [Header]
(HeaderName -> GameServerGroupDeleteOption -> [Header])
-> ToHeader GameServerGroupDeleteOption
forall a. (HeaderName -> a -> [Header]) -> ToHeader a
toHeader :: HeaderName -> GameServerGroupDeleteOption -> [Header]
$ctoHeader :: HeaderName -> GameServerGroupDeleteOption -> [Header]
Core.ToHeader,
GameServerGroupDeleteOption -> QueryString
(GameServerGroupDeleteOption -> QueryString)
-> ToQuery GameServerGroupDeleteOption
forall a. (a -> QueryString) -> ToQuery a
toQuery :: GameServerGroupDeleteOption -> QueryString
$ctoQuery :: GameServerGroupDeleteOption -> QueryString
Core.ToQuery,
Value -> Parser [GameServerGroupDeleteOption]
Value -> Parser GameServerGroupDeleteOption
(Value -> Parser GameServerGroupDeleteOption)
-> (Value -> Parser [GameServerGroupDeleteOption])
-> FromJSON GameServerGroupDeleteOption
forall a.
(Value -> Parser a) -> (Value -> Parser [a]) -> FromJSON a
parseJSONList :: Value -> Parser [GameServerGroupDeleteOption]
$cparseJSONList :: Value -> Parser [GameServerGroupDeleteOption]
parseJSON :: Value -> Parser GameServerGroupDeleteOption
$cparseJSON :: Value -> Parser GameServerGroupDeleteOption
Core.FromJSON,
FromJSONKeyFunction [GameServerGroupDeleteOption]
FromJSONKeyFunction GameServerGroupDeleteOption
FromJSONKeyFunction GameServerGroupDeleteOption
-> FromJSONKeyFunction [GameServerGroupDeleteOption]
-> FromJSONKey GameServerGroupDeleteOption
forall a.
FromJSONKeyFunction a -> FromJSONKeyFunction [a] -> FromJSONKey a
fromJSONKeyList :: FromJSONKeyFunction [GameServerGroupDeleteOption]
$cfromJSONKeyList :: FromJSONKeyFunction [GameServerGroupDeleteOption]
fromJSONKey :: FromJSONKeyFunction GameServerGroupDeleteOption
$cfromJSONKey :: FromJSONKeyFunction GameServerGroupDeleteOption
Core.FromJSONKey,
[GameServerGroupDeleteOption] -> Encoding
[GameServerGroupDeleteOption] -> Value
GameServerGroupDeleteOption -> Encoding
GameServerGroupDeleteOption -> Value
(GameServerGroupDeleteOption -> Value)
-> (GameServerGroupDeleteOption -> Encoding)
-> ([GameServerGroupDeleteOption] -> Value)
-> ([GameServerGroupDeleteOption] -> Encoding)
-> ToJSON GameServerGroupDeleteOption
forall a.
(a -> Value)
-> (a -> Encoding)
-> ([a] -> Value)
-> ([a] -> Encoding)
-> ToJSON a
toEncodingList :: [GameServerGroupDeleteOption] -> Encoding
$ctoEncodingList :: [GameServerGroupDeleteOption] -> Encoding
toJSONList :: [GameServerGroupDeleteOption] -> Value
$ctoJSONList :: [GameServerGroupDeleteOption] -> Value
toEncoding :: GameServerGroupDeleteOption -> Encoding
$ctoEncoding :: GameServerGroupDeleteOption -> Encoding
toJSON :: GameServerGroupDeleteOption -> Value
$ctoJSON :: GameServerGroupDeleteOption -> Value
Core.ToJSON,
ToJSONKeyFunction [GameServerGroupDeleteOption]
ToJSONKeyFunction GameServerGroupDeleteOption
ToJSONKeyFunction GameServerGroupDeleteOption
-> ToJSONKeyFunction [GameServerGroupDeleteOption]
-> ToJSONKey GameServerGroupDeleteOption
forall a.
ToJSONKeyFunction a -> ToJSONKeyFunction [a] -> ToJSONKey a
toJSONKeyList :: ToJSONKeyFunction [GameServerGroupDeleteOption]
$ctoJSONKeyList :: ToJSONKeyFunction [GameServerGroupDeleteOption]
toJSONKey :: ToJSONKeyFunction GameServerGroupDeleteOption
$ctoJSONKey :: ToJSONKeyFunction GameServerGroupDeleteOption
Core.ToJSONKey,
[Node] -> Either String GameServerGroupDeleteOption
([Node] -> Either String GameServerGroupDeleteOption)
-> FromXML GameServerGroupDeleteOption
forall a. ([Node] -> Either String a) -> FromXML a
parseXML :: [Node] -> Either String GameServerGroupDeleteOption
$cparseXML :: [Node] -> Either String GameServerGroupDeleteOption
Core.FromXML,
GameServerGroupDeleteOption -> XML
(GameServerGroupDeleteOption -> XML)
-> ToXML GameServerGroupDeleteOption
forall a. (a -> XML) -> ToXML a
toXML :: GameServerGroupDeleteOption -> XML
$ctoXML :: GameServerGroupDeleteOption -> XML
Core.ToXML
)
pattern GameServerGroupDeleteOption_FORCE_DELETE :: GameServerGroupDeleteOption
pattern $bGameServerGroupDeleteOption_FORCE_DELETE :: GameServerGroupDeleteOption
$mGameServerGroupDeleteOption_FORCE_DELETE :: forall r.
GameServerGroupDeleteOption -> (Void# -> r) -> (Void# -> r) -> r
GameServerGroupDeleteOption_FORCE_DELETE = GameServerGroupDeleteOption' "FORCE_DELETE"
pattern GameServerGroupDeleteOption_RETAIN :: GameServerGroupDeleteOption
pattern $bGameServerGroupDeleteOption_RETAIN :: GameServerGroupDeleteOption
$mGameServerGroupDeleteOption_RETAIN :: forall r.
GameServerGroupDeleteOption -> (Void# -> r) -> (Void# -> r) -> r
GameServerGroupDeleteOption_RETAIN = GameServerGroupDeleteOption' "RETAIN"
pattern GameServerGroupDeleteOption_SAFE_DELETE :: GameServerGroupDeleteOption
pattern $bGameServerGroupDeleteOption_SAFE_DELETE :: GameServerGroupDeleteOption
$mGameServerGroupDeleteOption_SAFE_DELETE :: forall r.
GameServerGroupDeleteOption -> (Void# -> r) -> (Void# -> r) -> r
GameServerGroupDeleteOption_SAFE_DELETE = GameServerGroupDeleteOption' "SAFE_DELETE"
{-# COMPLETE
GameServerGroupDeleteOption_FORCE_DELETE,
GameServerGroupDeleteOption_RETAIN,
GameServerGroupDeleteOption_SAFE_DELETE,
GameServerGroupDeleteOption'
#-}