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