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