{-# 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.FirewallRuleGroupAssociationStatus
( FirewallRuleGroupAssociationStatus
( ..,
FirewallRuleGroupAssociationStatus_COMPLETE,
FirewallRuleGroupAssociationStatus_DELETING,
FirewallRuleGroupAssociationStatus_UPDATING
),
)
where
import qualified Amazonka.Core as Core
import qualified Amazonka.Prelude as Prelude
newtype FirewallRuleGroupAssociationStatus = FirewallRuleGroupAssociationStatus'
{ FirewallRuleGroupAssociationStatus -> Text
fromFirewallRuleGroupAssociationStatus ::
Core.Text
}
deriving stock
( Int -> FirewallRuleGroupAssociationStatus -> ShowS
[FirewallRuleGroupAssociationStatus] -> ShowS
FirewallRuleGroupAssociationStatus -> String
(Int -> FirewallRuleGroupAssociationStatus -> ShowS)
-> (FirewallRuleGroupAssociationStatus -> String)
-> ([FirewallRuleGroupAssociationStatus] -> ShowS)
-> Show FirewallRuleGroupAssociationStatus
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [FirewallRuleGroupAssociationStatus] -> ShowS
$cshowList :: [FirewallRuleGroupAssociationStatus] -> ShowS
show :: FirewallRuleGroupAssociationStatus -> String
$cshow :: FirewallRuleGroupAssociationStatus -> String
showsPrec :: Int -> FirewallRuleGroupAssociationStatus -> ShowS
$cshowsPrec :: Int -> FirewallRuleGroupAssociationStatus -> ShowS
Prelude.Show,
ReadPrec [FirewallRuleGroupAssociationStatus]
ReadPrec FirewallRuleGroupAssociationStatus
Int -> ReadS FirewallRuleGroupAssociationStatus
ReadS [FirewallRuleGroupAssociationStatus]
(Int -> ReadS FirewallRuleGroupAssociationStatus)
-> ReadS [FirewallRuleGroupAssociationStatus]
-> ReadPrec FirewallRuleGroupAssociationStatus
-> ReadPrec [FirewallRuleGroupAssociationStatus]
-> Read FirewallRuleGroupAssociationStatus
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [FirewallRuleGroupAssociationStatus]
$creadListPrec :: ReadPrec [FirewallRuleGroupAssociationStatus]
readPrec :: ReadPrec FirewallRuleGroupAssociationStatus
$creadPrec :: ReadPrec FirewallRuleGroupAssociationStatus
readList :: ReadS [FirewallRuleGroupAssociationStatus]
$creadList :: ReadS [FirewallRuleGroupAssociationStatus]
readsPrec :: Int -> ReadS FirewallRuleGroupAssociationStatus
$creadsPrec :: Int -> ReadS FirewallRuleGroupAssociationStatus
Prelude.Read,
FirewallRuleGroupAssociationStatus
-> FirewallRuleGroupAssociationStatus -> Bool
(FirewallRuleGroupAssociationStatus
-> FirewallRuleGroupAssociationStatus -> Bool)
-> (FirewallRuleGroupAssociationStatus
-> FirewallRuleGroupAssociationStatus -> Bool)
-> Eq FirewallRuleGroupAssociationStatus
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: FirewallRuleGroupAssociationStatus
-> FirewallRuleGroupAssociationStatus -> Bool
$c/= :: FirewallRuleGroupAssociationStatus
-> FirewallRuleGroupAssociationStatus -> Bool
== :: FirewallRuleGroupAssociationStatus
-> FirewallRuleGroupAssociationStatus -> Bool
$c== :: FirewallRuleGroupAssociationStatus
-> FirewallRuleGroupAssociationStatus -> Bool
Prelude.Eq,
Eq FirewallRuleGroupAssociationStatus
Eq FirewallRuleGroupAssociationStatus
-> (FirewallRuleGroupAssociationStatus
-> FirewallRuleGroupAssociationStatus -> Ordering)
-> (FirewallRuleGroupAssociationStatus
-> FirewallRuleGroupAssociationStatus -> Bool)
-> (FirewallRuleGroupAssociationStatus
-> FirewallRuleGroupAssociationStatus -> Bool)
-> (FirewallRuleGroupAssociationStatus
-> FirewallRuleGroupAssociationStatus -> Bool)
-> (FirewallRuleGroupAssociationStatus
-> FirewallRuleGroupAssociationStatus -> Bool)
-> (FirewallRuleGroupAssociationStatus
-> FirewallRuleGroupAssociationStatus
-> FirewallRuleGroupAssociationStatus)
-> (FirewallRuleGroupAssociationStatus
-> FirewallRuleGroupAssociationStatus
-> FirewallRuleGroupAssociationStatus)
-> Ord FirewallRuleGroupAssociationStatus
FirewallRuleGroupAssociationStatus
-> FirewallRuleGroupAssociationStatus -> Bool
FirewallRuleGroupAssociationStatus
-> FirewallRuleGroupAssociationStatus -> Ordering
FirewallRuleGroupAssociationStatus
-> FirewallRuleGroupAssociationStatus
-> FirewallRuleGroupAssociationStatus
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 :: FirewallRuleGroupAssociationStatus
-> FirewallRuleGroupAssociationStatus
-> FirewallRuleGroupAssociationStatus
$cmin :: FirewallRuleGroupAssociationStatus
-> FirewallRuleGroupAssociationStatus
-> FirewallRuleGroupAssociationStatus
max :: FirewallRuleGroupAssociationStatus
-> FirewallRuleGroupAssociationStatus
-> FirewallRuleGroupAssociationStatus
$cmax :: FirewallRuleGroupAssociationStatus
-> FirewallRuleGroupAssociationStatus
-> FirewallRuleGroupAssociationStatus
>= :: FirewallRuleGroupAssociationStatus
-> FirewallRuleGroupAssociationStatus -> Bool
$c>= :: FirewallRuleGroupAssociationStatus
-> FirewallRuleGroupAssociationStatus -> Bool
> :: FirewallRuleGroupAssociationStatus
-> FirewallRuleGroupAssociationStatus -> Bool
$c> :: FirewallRuleGroupAssociationStatus
-> FirewallRuleGroupAssociationStatus -> Bool
<= :: FirewallRuleGroupAssociationStatus
-> FirewallRuleGroupAssociationStatus -> Bool
$c<= :: FirewallRuleGroupAssociationStatus
-> FirewallRuleGroupAssociationStatus -> Bool
< :: FirewallRuleGroupAssociationStatus
-> FirewallRuleGroupAssociationStatus -> Bool
$c< :: FirewallRuleGroupAssociationStatus
-> FirewallRuleGroupAssociationStatus -> Bool
compare :: FirewallRuleGroupAssociationStatus
-> FirewallRuleGroupAssociationStatus -> Ordering
$ccompare :: FirewallRuleGroupAssociationStatus
-> FirewallRuleGroupAssociationStatus -> Ordering
$cp1Ord :: Eq FirewallRuleGroupAssociationStatus
Prelude.Ord,
(forall x.
FirewallRuleGroupAssociationStatus
-> Rep FirewallRuleGroupAssociationStatus x)
-> (forall x.
Rep FirewallRuleGroupAssociationStatus x
-> FirewallRuleGroupAssociationStatus)
-> Generic FirewallRuleGroupAssociationStatus
forall x.
Rep FirewallRuleGroupAssociationStatus x
-> FirewallRuleGroupAssociationStatus
forall x.
FirewallRuleGroupAssociationStatus
-> Rep FirewallRuleGroupAssociationStatus x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep FirewallRuleGroupAssociationStatus x
-> FirewallRuleGroupAssociationStatus
$cfrom :: forall x.
FirewallRuleGroupAssociationStatus
-> Rep FirewallRuleGroupAssociationStatus x
Prelude.Generic
)
deriving newtype
( Int -> FirewallRuleGroupAssociationStatus -> Int
FirewallRuleGroupAssociationStatus -> Int
(Int -> FirewallRuleGroupAssociationStatus -> Int)
-> (FirewallRuleGroupAssociationStatus -> Int)
-> Hashable FirewallRuleGroupAssociationStatus
forall a. (Int -> a -> Int) -> (a -> Int) -> Hashable a
hash :: FirewallRuleGroupAssociationStatus -> Int
$chash :: FirewallRuleGroupAssociationStatus -> Int
hashWithSalt :: Int -> FirewallRuleGroupAssociationStatus -> Int
$chashWithSalt :: Int -> FirewallRuleGroupAssociationStatus -> Int
Prelude.Hashable,
FirewallRuleGroupAssociationStatus -> ()
(FirewallRuleGroupAssociationStatus -> ())
-> NFData FirewallRuleGroupAssociationStatus
forall a. (a -> ()) -> NFData a
rnf :: FirewallRuleGroupAssociationStatus -> ()
$crnf :: FirewallRuleGroupAssociationStatus -> ()
Prelude.NFData,
Text -> Either String FirewallRuleGroupAssociationStatus
(Text -> Either String FirewallRuleGroupAssociationStatus)
-> FromText FirewallRuleGroupAssociationStatus
forall a. (Text -> Either String a) -> FromText a
fromText :: Text -> Either String FirewallRuleGroupAssociationStatus
$cfromText :: Text -> Either String FirewallRuleGroupAssociationStatus
Core.FromText,
FirewallRuleGroupAssociationStatus -> Text
(FirewallRuleGroupAssociationStatus -> Text)
-> ToText FirewallRuleGroupAssociationStatus
forall a. (a -> Text) -> ToText a
toText :: FirewallRuleGroupAssociationStatus -> Text
$ctoText :: FirewallRuleGroupAssociationStatus -> Text
Core.ToText,
FirewallRuleGroupAssociationStatus -> ByteString
(FirewallRuleGroupAssociationStatus -> ByteString)
-> ToByteString FirewallRuleGroupAssociationStatus
forall a. (a -> ByteString) -> ToByteString a
toBS :: FirewallRuleGroupAssociationStatus -> ByteString
$ctoBS :: FirewallRuleGroupAssociationStatus -> ByteString
Core.ToByteString,
FirewallRuleGroupAssociationStatus -> ByteStringBuilder
(FirewallRuleGroupAssociationStatus -> ByteStringBuilder)
-> ToLog FirewallRuleGroupAssociationStatus
forall a. (a -> ByteStringBuilder) -> ToLog a
build :: FirewallRuleGroupAssociationStatus -> ByteStringBuilder
$cbuild :: FirewallRuleGroupAssociationStatus -> ByteStringBuilder
Core.ToLog,
HeaderName -> FirewallRuleGroupAssociationStatus -> [Header]
(HeaderName -> FirewallRuleGroupAssociationStatus -> [Header])
-> ToHeader FirewallRuleGroupAssociationStatus
forall a. (HeaderName -> a -> [Header]) -> ToHeader a
toHeader :: HeaderName -> FirewallRuleGroupAssociationStatus -> [Header]
$ctoHeader :: HeaderName -> FirewallRuleGroupAssociationStatus -> [Header]
Core.ToHeader,
FirewallRuleGroupAssociationStatus -> QueryString
(FirewallRuleGroupAssociationStatus -> QueryString)
-> ToQuery FirewallRuleGroupAssociationStatus
forall a. (a -> QueryString) -> ToQuery a
toQuery :: FirewallRuleGroupAssociationStatus -> QueryString
$ctoQuery :: FirewallRuleGroupAssociationStatus -> QueryString
Core.ToQuery,
Value -> Parser [FirewallRuleGroupAssociationStatus]
Value -> Parser FirewallRuleGroupAssociationStatus
(Value -> Parser FirewallRuleGroupAssociationStatus)
-> (Value -> Parser [FirewallRuleGroupAssociationStatus])
-> FromJSON FirewallRuleGroupAssociationStatus
forall a.
(Value -> Parser a) -> (Value -> Parser [a]) -> FromJSON a
parseJSONList :: Value -> Parser [FirewallRuleGroupAssociationStatus]
$cparseJSONList :: Value -> Parser [FirewallRuleGroupAssociationStatus]
parseJSON :: Value -> Parser FirewallRuleGroupAssociationStatus
$cparseJSON :: Value -> Parser FirewallRuleGroupAssociationStatus
Core.FromJSON,
FromJSONKeyFunction [FirewallRuleGroupAssociationStatus]
FromJSONKeyFunction FirewallRuleGroupAssociationStatus
FromJSONKeyFunction FirewallRuleGroupAssociationStatus
-> FromJSONKeyFunction [FirewallRuleGroupAssociationStatus]
-> FromJSONKey FirewallRuleGroupAssociationStatus
forall a.
FromJSONKeyFunction a -> FromJSONKeyFunction [a] -> FromJSONKey a
fromJSONKeyList :: FromJSONKeyFunction [FirewallRuleGroupAssociationStatus]
$cfromJSONKeyList :: FromJSONKeyFunction [FirewallRuleGroupAssociationStatus]
fromJSONKey :: FromJSONKeyFunction FirewallRuleGroupAssociationStatus
$cfromJSONKey :: FromJSONKeyFunction FirewallRuleGroupAssociationStatus
Core.FromJSONKey,
[FirewallRuleGroupAssociationStatus] -> Encoding
[FirewallRuleGroupAssociationStatus] -> Value
FirewallRuleGroupAssociationStatus -> Encoding
FirewallRuleGroupAssociationStatus -> Value
(FirewallRuleGroupAssociationStatus -> Value)
-> (FirewallRuleGroupAssociationStatus -> Encoding)
-> ([FirewallRuleGroupAssociationStatus] -> Value)
-> ([FirewallRuleGroupAssociationStatus] -> Encoding)
-> ToJSON FirewallRuleGroupAssociationStatus
forall a.
(a -> Value)
-> (a -> Encoding)
-> ([a] -> Value)
-> ([a] -> Encoding)
-> ToJSON a
toEncodingList :: [FirewallRuleGroupAssociationStatus] -> Encoding
$ctoEncodingList :: [FirewallRuleGroupAssociationStatus] -> Encoding
toJSONList :: [FirewallRuleGroupAssociationStatus] -> Value
$ctoJSONList :: [FirewallRuleGroupAssociationStatus] -> Value
toEncoding :: FirewallRuleGroupAssociationStatus -> Encoding
$ctoEncoding :: FirewallRuleGroupAssociationStatus -> Encoding
toJSON :: FirewallRuleGroupAssociationStatus -> Value
$ctoJSON :: FirewallRuleGroupAssociationStatus -> Value
Core.ToJSON,
ToJSONKeyFunction [FirewallRuleGroupAssociationStatus]
ToJSONKeyFunction FirewallRuleGroupAssociationStatus
ToJSONKeyFunction FirewallRuleGroupAssociationStatus
-> ToJSONKeyFunction [FirewallRuleGroupAssociationStatus]
-> ToJSONKey FirewallRuleGroupAssociationStatus
forall a.
ToJSONKeyFunction a -> ToJSONKeyFunction [a] -> ToJSONKey a
toJSONKeyList :: ToJSONKeyFunction [FirewallRuleGroupAssociationStatus]
$ctoJSONKeyList :: ToJSONKeyFunction [FirewallRuleGroupAssociationStatus]
toJSONKey :: ToJSONKeyFunction FirewallRuleGroupAssociationStatus
$ctoJSONKey :: ToJSONKeyFunction FirewallRuleGroupAssociationStatus
Core.ToJSONKey,
[Node] -> Either String FirewallRuleGroupAssociationStatus
([Node] -> Either String FirewallRuleGroupAssociationStatus)
-> FromXML FirewallRuleGroupAssociationStatus
forall a. ([Node] -> Either String a) -> FromXML a
parseXML :: [Node] -> Either String FirewallRuleGroupAssociationStatus
$cparseXML :: [Node] -> Either String FirewallRuleGroupAssociationStatus
Core.FromXML,
FirewallRuleGroupAssociationStatus -> XML
(FirewallRuleGroupAssociationStatus -> XML)
-> ToXML FirewallRuleGroupAssociationStatus
forall a. (a -> XML) -> ToXML a
toXML :: FirewallRuleGroupAssociationStatus -> XML
$ctoXML :: FirewallRuleGroupAssociationStatus -> XML
Core.ToXML
)
pattern FirewallRuleGroupAssociationStatus_COMPLETE :: FirewallRuleGroupAssociationStatus
pattern $bFirewallRuleGroupAssociationStatus_COMPLETE :: FirewallRuleGroupAssociationStatus
$mFirewallRuleGroupAssociationStatus_COMPLETE :: forall r.
FirewallRuleGroupAssociationStatus
-> (Void# -> r) -> (Void# -> r) -> r
FirewallRuleGroupAssociationStatus_COMPLETE = FirewallRuleGroupAssociationStatus' "COMPLETE"
pattern FirewallRuleGroupAssociationStatus_DELETING :: FirewallRuleGroupAssociationStatus
pattern $bFirewallRuleGroupAssociationStatus_DELETING :: FirewallRuleGroupAssociationStatus
$mFirewallRuleGroupAssociationStatus_DELETING :: forall r.
FirewallRuleGroupAssociationStatus
-> (Void# -> r) -> (Void# -> r) -> r
FirewallRuleGroupAssociationStatus_DELETING = FirewallRuleGroupAssociationStatus' "DELETING"
pattern FirewallRuleGroupAssociationStatus_UPDATING :: FirewallRuleGroupAssociationStatus
pattern $bFirewallRuleGroupAssociationStatus_UPDATING :: FirewallRuleGroupAssociationStatus
$mFirewallRuleGroupAssociationStatus_UPDATING :: forall r.
FirewallRuleGroupAssociationStatus
-> (Void# -> r) -> (Void# -> r) -> r
FirewallRuleGroupAssociationStatus_UPDATING = FirewallRuleGroupAssociationStatus' "UPDATING"
{-# COMPLETE
FirewallRuleGroupAssociationStatus_COMPLETE,
FirewallRuleGroupAssociationStatus_DELETING,
FirewallRuleGroupAssociationStatus_UPDATING,
FirewallRuleGroupAssociationStatus'
#-}