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