{-# 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.Prelude as Prelude
newtype PropertyKey = PropertyKey'
{ PropertyKey -> Text
fromPropertyKey ::
Core.Text
}
deriving stock
( Int -> PropertyKey -> ShowS
[PropertyKey] -> ShowS
PropertyKey -> String
(Int -> PropertyKey -> ShowS)
-> (PropertyKey -> String)
-> ([PropertyKey] -> ShowS)
-> Show PropertyKey
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]
(Int -> ReadS PropertyKey)
-> ReadS [PropertyKey]
-> ReadPrec PropertyKey
-> ReadPrec [PropertyKey]
-> Read 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
(PropertyKey -> PropertyKey -> Bool)
-> (PropertyKey -> PropertyKey -> Bool) -> Eq PropertyKey
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
Eq PropertyKey
-> (PropertyKey -> PropertyKey -> Ordering)
-> (PropertyKey -> PropertyKey -> Bool)
-> (PropertyKey -> PropertyKey -> Bool)
-> (PropertyKey -> PropertyKey -> Bool)
-> (PropertyKey -> PropertyKey -> Bool)
-> (PropertyKey -> PropertyKey -> PropertyKey)
-> (PropertyKey -> PropertyKey -> PropertyKey)
-> Ord 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
$cp1Ord :: Eq PropertyKey
Prelude.Ord,
(forall x. PropertyKey -> Rep PropertyKey x)
-> (forall x. Rep PropertyKey x -> PropertyKey)
-> Generic PropertyKey
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
( Int -> PropertyKey -> Int
PropertyKey -> Int
(Int -> PropertyKey -> Int)
-> (PropertyKey -> Int) -> Hashable PropertyKey
forall 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 -> ()
(PropertyKey -> ()) -> NFData PropertyKey
forall a. (a -> ()) -> NFData a
rnf :: PropertyKey -> ()
$crnf :: PropertyKey -> ()
Prelude.NFData,
Text -> Either String PropertyKey
(Text -> Either String PropertyKey) -> FromText PropertyKey
forall a. (Text -> Either String a) -> FromText a
fromText :: Text -> Either String PropertyKey
$cfromText :: Text -> Either String PropertyKey
Core.FromText,
PropertyKey -> Text
(PropertyKey -> Text) -> ToText PropertyKey
forall a. (a -> Text) -> ToText a
toText :: PropertyKey -> Text
$ctoText :: PropertyKey -> Text
Core.ToText,
PropertyKey -> ByteString
(PropertyKey -> ByteString) -> ToByteString PropertyKey
forall a. (a -> ByteString) -> ToByteString a
toBS :: PropertyKey -> ByteString
$ctoBS :: PropertyKey -> ByteString
Core.ToByteString,
PropertyKey -> ByteStringBuilder
(PropertyKey -> ByteStringBuilder) -> ToLog PropertyKey
forall a. (a -> ByteStringBuilder) -> ToLog a
build :: PropertyKey -> ByteStringBuilder
$cbuild :: PropertyKey -> ByteStringBuilder
Core.ToLog,
HeaderName -> PropertyKey -> [Header]
(HeaderName -> PropertyKey -> [Header]) -> ToHeader PropertyKey
forall a. (HeaderName -> a -> [Header]) -> ToHeader a
toHeader :: HeaderName -> PropertyKey -> [Header]
$ctoHeader :: HeaderName -> PropertyKey -> [Header]
Core.ToHeader,
PropertyKey -> QueryString
(PropertyKey -> QueryString) -> ToQuery PropertyKey
forall a. (a -> QueryString) -> ToQuery a
toQuery :: PropertyKey -> QueryString
$ctoQuery :: PropertyKey -> QueryString
Core.ToQuery,
Value -> Parser [PropertyKey]
Value -> Parser PropertyKey
(Value -> Parser PropertyKey)
-> (Value -> Parser [PropertyKey]) -> FromJSON 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
Core.FromJSON,
FromJSONKeyFunction [PropertyKey]
FromJSONKeyFunction PropertyKey
FromJSONKeyFunction PropertyKey
-> FromJSONKeyFunction [PropertyKey] -> FromJSONKey PropertyKey
forall a.
FromJSONKeyFunction a -> FromJSONKeyFunction [a] -> FromJSONKey a
fromJSONKeyList :: FromJSONKeyFunction [PropertyKey]
$cfromJSONKeyList :: FromJSONKeyFunction [PropertyKey]
fromJSONKey :: FromJSONKeyFunction PropertyKey
$cfromJSONKey :: FromJSONKeyFunction PropertyKey
Core.FromJSONKey,
[PropertyKey] -> Encoding
[PropertyKey] -> Value
PropertyKey -> Encoding
PropertyKey -> Value
(PropertyKey -> Value)
-> (PropertyKey -> Encoding)
-> ([PropertyKey] -> Value)
-> ([PropertyKey] -> Encoding)
-> ToJSON PropertyKey
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
Core.ToJSON,
ToJSONKeyFunction [PropertyKey]
ToJSONKeyFunction PropertyKey
ToJSONKeyFunction PropertyKey
-> ToJSONKeyFunction [PropertyKey] -> ToJSONKey PropertyKey
forall a.
ToJSONKeyFunction a -> ToJSONKeyFunction [a] -> ToJSONKey a
toJSONKeyList :: ToJSONKeyFunction [PropertyKey]
$ctoJSONKeyList :: ToJSONKeyFunction [PropertyKey]
toJSONKey :: ToJSONKeyFunction PropertyKey
$ctoJSONKey :: ToJSONKeyFunction PropertyKey
Core.ToJSONKey,
[Node] -> Either String PropertyKey
([Node] -> Either String PropertyKey) -> FromXML PropertyKey
forall a. ([Node] -> Either String a) -> FromXML a
parseXML :: [Node] -> Either String PropertyKey
$cparseXML :: [Node] -> Either String PropertyKey
Core.FromXML,
PropertyKey -> XML
(PropertyKey -> XML) -> ToXML PropertyKey
forall a. (a -> XML) -> ToXML a
toXML :: PropertyKey -> XML
$ctoXML :: PropertyKey -> XML
Core.ToXML
)
pattern PropertyKey_LAUNCH_ROLE :: PropertyKey
pattern $bPropertyKey_LAUNCH_ROLE :: PropertyKey
$mPropertyKey_LAUNCH_ROLE :: forall r. PropertyKey -> (Void# -> r) -> (Void# -> r) -> r
PropertyKey_LAUNCH_ROLE = PropertyKey' "LAUNCH_ROLE"
pattern PropertyKey_OWNER :: PropertyKey
pattern $bPropertyKey_OWNER :: PropertyKey
$mPropertyKey_OWNER :: forall r. PropertyKey -> (Void# -> r) -> (Void# -> r) -> r
PropertyKey_OWNER = PropertyKey' "OWNER"
{-# COMPLETE
PropertyKey_LAUNCH_ROLE,
PropertyKey_OWNER,
PropertyKey'
#-}