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