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