{-# 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.EC2.Types.UnlimitedSupportedInstanceFamily
-- 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.EC2.Types.UnlimitedSupportedInstanceFamily
  ( UnlimitedSupportedInstanceFamily
      ( ..,
        UnlimitedSupportedInstanceFamily_T2,
        UnlimitedSupportedInstanceFamily_T3,
        UnlimitedSupportedInstanceFamily_T3a,
        UnlimitedSupportedInstanceFamily_T4g
      ),
  )
where

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

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

pattern UnlimitedSupportedInstanceFamily_T2 :: UnlimitedSupportedInstanceFamily
pattern $bUnlimitedSupportedInstanceFamily_T2 :: UnlimitedSupportedInstanceFamily
$mUnlimitedSupportedInstanceFamily_T2 :: forall {r}.
UnlimitedSupportedInstanceFamily
-> ((# #) -> r) -> ((# #) -> r) -> r
UnlimitedSupportedInstanceFamily_T2 = UnlimitedSupportedInstanceFamily' "t2"

pattern UnlimitedSupportedInstanceFamily_T3 :: UnlimitedSupportedInstanceFamily
pattern $bUnlimitedSupportedInstanceFamily_T3 :: UnlimitedSupportedInstanceFamily
$mUnlimitedSupportedInstanceFamily_T3 :: forall {r}.
UnlimitedSupportedInstanceFamily
-> ((# #) -> r) -> ((# #) -> r) -> r
UnlimitedSupportedInstanceFamily_T3 = UnlimitedSupportedInstanceFamily' "t3"

pattern UnlimitedSupportedInstanceFamily_T3a :: UnlimitedSupportedInstanceFamily
pattern $bUnlimitedSupportedInstanceFamily_T3a :: UnlimitedSupportedInstanceFamily
$mUnlimitedSupportedInstanceFamily_T3a :: forall {r}.
UnlimitedSupportedInstanceFamily
-> ((# #) -> r) -> ((# #) -> r) -> r
UnlimitedSupportedInstanceFamily_T3a = UnlimitedSupportedInstanceFamily' "t3a"

pattern UnlimitedSupportedInstanceFamily_T4g :: UnlimitedSupportedInstanceFamily
pattern $bUnlimitedSupportedInstanceFamily_T4g :: UnlimitedSupportedInstanceFamily
$mUnlimitedSupportedInstanceFamily_T4g :: forall {r}.
UnlimitedSupportedInstanceFamily
-> ((# #) -> r) -> ((# #) -> r) -> r
UnlimitedSupportedInstanceFamily_T4g = UnlimitedSupportedInstanceFamily' "t4g"

{-# COMPLETE
  UnlimitedSupportedInstanceFamily_T2,
  UnlimitedSupportedInstanceFamily_T3,
  UnlimitedSupportedInstanceFamily_T3a,
  UnlimitedSupportedInstanceFamily_T4g,
  UnlimitedSupportedInstanceFamily'
  #-}