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