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