{-# 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.EKS.Types.AMITypes
-- Copyright   : (c) 2013-2023 Brendan Hay
-- License     : Mozilla Public License, v. 2.0.
-- Maintainer  : Brendan Hay
-- Stability   : auto-generated
-- Portability : non-portable (GHC extensions)
module Amazonka.EKS.Types.AMITypes
  ( AMITypes
      ( ..,
        AMITypes_AL2_ARM_64,
        AMITypes_AL2_x86_64,
        AMITypes_AL2_x86_64_GPU,
        AMITypes_BOTTLEROCKET_ARM_64,
        AMITypes_BOTTLEROCKET_ARM_64_NVIDIA,
        AMITypes_BOTTLEROCKET_x86_64,
        AMITypes_BOTTLEROCKET_x86_64_NVIDIA,
        AMITypes_CUSTOM,
        AMITypes_WINDOWS_CORE_2019_x86_64,
        AMITypes_WINDOWS_CORE_2022_x86_64,
        AMITypes_WINDOWS_FULL_2019_x86_64,
        AMITypes_WINDOWS_FULL_2022_x86_64
      ),
  )
where

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

newtype AMITypes = AMITypes'
  { AMITypes -> Text
fromAMITypes ::
      Data.Text
  }
  deriving stock
    ( Int -> AMITypes -> ShowS
[AMITypes] -> ShowS
AMITypes -> String
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]
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
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
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
Prelude.Ord,
      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
    ( Eq AMITypes
Int -> AMITypes -> Int
AMITypes -> Int
forall a. Eq 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 -> ()
forall a. (a -> ()) -> NFData a
rnf :: AMITypes -> ()
$crnf :: AMITypes -> ()
Prelude.NFData,
      Text -> Either String AMITypes
forall a. (Text -> Either String a) -> FromText a
fromText :: Text -> Either String AMITypes
$cfromText :: Text -> Either String AMITypes
Data.FromText,
      AMITypes -> Text
forall a. (a -> Text) -> ToText a
toText :: AMITypes -> Text
$ctoText :: AMITypes -> Text
Data.ToText,
      AMITypes -> ByteString
forall a. (a -> ByteString) -> ToByteString a
toBS :: AMITypes -> ByteString
$ctoBS :: AMITypes -> ByteString
Data.ToByteString,
      AMITypes -> ByteStringBuilder
forall a. (a -> ByteStringBuilder) -> ToLog a
build :: AMITypes -> ByteStringBuilder
$cbuild :: AMITypes -> ByteStringBuilder
Data.ToLog,
      HeaderName -> AMITypes -> [Header]
forall a. (HeaderName -> a -> [Header]) -> ToHeader a
toHeader :: HeaderName -> AMITypes -> [Header]
$ctoHeader :: HeaderName -> AMITypes -> [Header]
Data.ToHeader,
      AMITypes -> QueryString
forall a. (a -> QueryString) -> ToQuery a
toQuery :: AMITypes -> QueryString
$ctoQuery :: AMITypes -> QueryString
Data.ToQuery,
      Value -> Parser [AMITypes]
Value -> Parser 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
Data.FromJSON,
      FromJSONKeyFunction [AMITypes]
FromJSONKeyFunction AMITypes
forall a.
FromJSONKeyFunction a -> FromJSONKeyFunction [a] -> FromJSONKey a
fromJSONKeyList :: FromJSONKeyFunction [AMITypes]
$cfromJSONKeyList :: FromJSONKeyFunction [AMITypes]
fromJSONKey :: FromJSONKeyFunction AMITypes
$cfromJSONKey :: FromJSONKeyFunction AMITypes
Data.FromJSONKey,
      [AMITypes] -> Encoding
[AMITypes] -> Value
AMITypes -> Encoding
AMITypes -> Value
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
Data.ToJSON,
      ToJSONKeyFunction [AMITypes]
ToJSONKeyFunction AMITypes
forall a.
ToJSONKeyFunction a -> ToJSONKeyFunction [a] -> ToJSONKey a
toJSONKeyList :: ToJSONKeyFunction [AMITypes]
$ctoJSONKeyList :: ToJSONKeyFunction [AMITypes]
toJSONKey :: ToJSONKeyFunction AMITypes
$ctoJSONKey :: ToJSONKeyFunction AMITypes
Data.ToJSONKey,
      [Node] -> Either String AMITypes
forall a. ([Node] -> Either String a) -> FromXML a
parseXML :: [Node] -> Either String AMITypes
$cparseXML :: [Node] -> Either String AMITypes
Data.FromXML,
      AMITypes -> XML
forall a. (a -> XML) -> ToXML a
toXML :: AMITypes -> XML
$ctoXML :: AMITypes -> XML
Data.ToXML
    )

pattern AMITypes_AL2_ARM_64 :: AMITypes
pattern $bAMITypes_AL2_ARM_64 :: AMITypes
$mAMITypes_AL2_ARM_64 :: forall {r}. AMITypes -> ((# #) -> r) -> ((# #) -> 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 -> ((# #) -> r) -> ((# #) -> 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 -> ((# #) -> r) -> ((# #) -> r) -> r
AMITypes_AL2_x86_64_GPU = AMITypes' "AL2_x86_64_GPU"

pattern AMITypes_BOTTLEROCKET_ARM_64 :: AMITypes
pattern $bAMITypes_BOTTLEROCKET_ARM_64 :: AMITypes
$mAMITypes_BOTTLEROCKET_ARM_64 :: forall {r}. AMITypes -> ((# #) -> r) -> ((# #) -> r) -> r
AMITypes_BOTTLEROCKET_ARM_64 = AMITypes' "BOTTLEROCKET_ARM_64"

pattern AMITypes_BOTTLEROCKET_ARM_64_NVIDIA :: AMITypes
pattern $bAMITypes_BOTTLEROCKET_ARM_64_NVIDIA :: AMITypes
$mAMITypes_BOTTLEROCKET_ARM_64_NVIDIA :: forall {r}. AMITypes -> ((# #) -> r) -> ((# #) -> r) -> r
AMITypes_BOTTLEROCKET_ARM_64_NVIDIA = AMITypes' "BOTTLEROCKET_ARM_64_NVIDIA"

pattern AMITypes_BOTTLEROCKET_x86_64 :: AMITypes
pattern $bAMITypes_BOTTLEROCKET_x86_64 :: AMITypes
$mAMITypes_BOTTLEROCKET_x86_64 :: forall {r}. AMITypes -> ((# #) -> r) -> ((# #) -> r) -> r
AMITypes_BOTTLEROCKET_x86_64 = AMITypes' "BOTTLEROCKET_x86_64"

pattern AMITypes_BOTTLEROCKET_x86_64_NVIDIA :: AMITypes
pattern $bAMITypes_BOTTLEROCKET_x86_64_NVIDIA :: AMITypes
$mAMITypes_BOTTLEROCKET_x86_64_NVIDIA :: forall {r}. AMITypes -> ((# #) -> r) -> ((# #) -> r) -> r
AMITypes_BOTTLEROCKET_x86_64_NVIDIA = AMITypes' "BOTTLEROCKET_x86_64_NVIDIA"

pattern AMITypes_CUSTOM :: AMITypes
pattern $bAMITypes_CUSTOM :: AMITypes
$mAMITypes_CUSTOM :: forall {r}. AMITypes -> ((# #) -> r) -> ((# #) -> r) -> r
AMITypes_CUSTOM = AMITypes' "CUSTOM"

pattern AMITypes_WINDOWS_CORE_2019_x86_64 :: AMITypes
pattern $bAMITypes_WINDOWS_CORE_2019_x86_64 :: AMITypes
$mAMITypes_WINDOWS_CORE_2019_x86_64 :: forall {r}. AMITypes -> ((# #) -> r) -> ((# #) -> r) -> r
AMITypes_WINDOWS_CORE_2019_x86_64 = AMITypes' "WINDOWS_CORE_2019_x86_64"

pattern AMITypes_WINDOWS_CORE_2022_x86_64 :: AMITypes
pattern $bAMITypes_WINDOWS_CORE_2022_x86_64 :: AMITypes
$mAMITypes_WINDOWS_CORE_2022_x86_64 :: forall {r}. AMITypes -> ((# #) -> r) -> ((# #) -> r) -> r
AMITypes_WINDOWS_CORE_2022_x86_64 = AMITypes' "WINDOWS_CORE_2022_x86_64"

pattern AMITypes_WINDOWS_FULL_2019_x86_64 :: AMITypes
pattern $bAMITypes_WINDOWS_FULL_2019_x86_64 :: AMITypes
$mAMITypes_WINDOWS_FULL_2019_x86_64 :: forall {r}. AMITypes -> ((# #) -> r) -> ((# #) -> r) -> r
AMITypes_WINDOWS_FULL_2019_x86_64 = AMITypes' "WINDOWS_FULL_2019_x86_64"

pattern AMITypes_WINDOWS_FULL_2022_x86_64 :: AMITypes
pattern $bAMITypes_WINDOWS_FULL_2022_x86_64 :: AMITypes
$mAMITypes_WINDOWS_FULL_2022_x86_64 :: forall {r}. AMITypes -> ((# #) -> r) -> ((# #) -> r) -> r
AMITypes_WINDOWS_FULL_2022_x86_64 = AMITypes' "WINDOWS_FULL_2022_x86_64"

{-# COMPLETE
  AMITypes_AL2_ARM_64,
  AMITypes_AL2_x86_64,
  AMITypes_AL2_x86_64_GPU,
  AMITypes_BOTTLEROCKET_ARM_64,
  AMITypes_BOTTLEROCKET_ARM_64_NVIDIA,
  AMITypes_BOTTLEROCKET_x86_64,
  AMITypes_BOTTLEROCKET_x86_64_NVIDIA,
  AMITypes_CUSTOM,
  AMITypes_WINDOWS_CORE_2019_x86_64,
  AMITypes_WINDOWS_CORE_2022_x86_64,
  AMITypes_WINDOWS_FULL_2019_x86_64,
  AMITypes_WINDOWS_FULL_2022_x86_64,
  AMITypes'
  #-}