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