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