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