{-# 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.IpAddressStatus
( IpAddressStatus
( ..,
IpAddressStatus_ATTACHED,
IpAddressStatus_ATTACHING,
IpAddressStatus_CREATING,
IpAddressStatus_DELETE_FAILED_FAS_EXPIRED,
IpAddressStatus_DELETING,
IpAddressStatus_DETACHING,
IpAddressStatus_FAILED_CREATION,
IpAddressStatus_FAILED_RESOURCE_GONE,
IpAddressStatus_REMAP_ATTACHING,
IpAddressStatus_REMAP_DETACHING
),
)
where
import qualified Amazonka.Core as Core
import qualified Amazonka.Prelude as Prelude
newtype IpAddressStatus = IpAddressStatus'
{ IpAddressStatus -> Text
fromIpAddressStatus ::
Core.Text
}
deriving stock
( Int -> IpAddressStatus -> ShowS
[IpAddressStatus] -> ShowS
IpAddressStatus -> String
(Int -> IpAddressStatus -> ShowS)
-> (IpAddressStatus -> String)
-> ([IpAddressStatus] -> ShowS)
-> Show IpAddressStatus
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [IpAddressStatus] -> ShowS
$cshowList :: [IpAddressStatus] -> ShowS
show :: IpAddressStatus -> String
$cshow :: IpAddressStatus -> String
showsPrec :: Int -> IpAddressStatus -> ShowS
$cshowsPrec :: Int -> IpAddressStatus -> ShowS
Prelude.Show,
ReadPrec [IpAddressStatus]
ReadPrec IpAddressStatus
Int -> ReadS IpAddressStatus
ReadS [IpAddressStatus]
(Int -> ReadS IpAddressStatus)
-> ReadS [IpAddressStatus]
-> ReadPrec IpAddressStatus
-> ReadPrec [IpAddressStatus]
-> Read IpAddressStatus
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [IpAddressStatus]
$creadListPrec :: ReadPrec [IpAddressStatus]
readPrec :: ReadPrec IpAddressStatus
$creadPrec :: ReadPrec IpAddressStatus
readList :: ReadS [IpAddressStatus]
$creadList :: ReadS [IpAddressStatus]
readsPrec :: Int -> ReadS IpAddressStatus
$creadsPrec :: Int -> ReadS IpAddressStatus
Prelude.Read,
IpAddressStatus -> IpAddressStatus -> Bool
(IpAddressStatus -> IpAddressStatus -> Bool)
-> (IpAddressStatus -> IpAddressStatus -> Bool)
-> Eq IpAddressStatus
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: IpAddressStatus -> IpAddressStatus -> Bool
$c/= :: IpAddressStatus -> IpAddressStatus -> Bool
== :: IpAddressStatus -> IpAddressStatus -> Bool
$c== :: IpAddressStatus -> IpAddressStatus -> Bool
Prelude.Eq,
Eq IpAddressStatus
Eq IpAddressStatus
-> (IpAddressStatus -> IpAddressStatus -> Ordering)
-> (IpAddressStatus -> IpAddressStatus -> Bool)
-> (IpAddressStatus -> IpAddressStatus -> Bool)
-> (IpAddressStatus -> IpAddressStatus -> Bool)
-> (IpAddressStatus -> IpAddressStatus -> Bool)
-> (IpAddressStatus -> IpAddressStatus -> IpAddressStatus)
-> (IpAddressStatus -> IpAddressStatus -> IpAddressStatus)
-> Ord IpAddressStatus
IpAddressStatus -> IpAddressStatus -> Bool
IpAddressStatus -> IpAddressStatus -> Ordering
IpAddressStatus -> IpAddressStatus -> IpAddressStatus
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 :: IpAddressStatus -> IpAddressStatus -> IpAddressStatus
$cmin :: IpAddressStatus -> IpAddressStatus -> IpAddressStatus
max :: IpAddressStatus -> IpAddressStatus -> IpAddressStatus
$cmax :: IpAddressStatus -> IpAddressStatus -> IpAddressStatus
>= :: IpAddressStatus -> IpAddressStatus -> Bool
$c>= :: IpAddressStatus -> IpAddressStatus -> Bool
> :: IpAddressStatus -> IpAddressStatus -> Bool
$c> :: IpAddressStatus -> IpAddressStatus -> Bool
<= :: IpAddressStatus -> IpAddressStatus -> Bool
$c<= :: IpAddressStatus -> IpAddressStatus -> Bool
< :: IpAddressStatus -> IpAddressStatus -> Bool
$c< :: IpAddressStatus -> IpAddressStatus -> Bool
compare :: IpAddressStatus -> IpAddressStatus -> Ordering
$ccompare :: IpAddressStatus -> IpAddressStatus -> Ordering
$cp1Ord :: Eq IpAddressStatus
Prelude.Ord,
(forall x. IpAddressStatus -> Rep IpAddressStatus x)
-> (forall x. Rep IpAddressStatus x -> IpAddressStatus)
-> Generic IpAddressStatus
forall x. Rep IpAddressStatus x -> IpAddressStatus
forall x. IpAddressStatus -> Rep IpAddressStatus x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep IpAddressStatus x -> IpAddressStatus
$cfrom :: forall x. IpAddressStatus -> Rep IpAddressStatus x
Prelude.Generic
)
deriving newtype
( Int -> IpAddressStatus -> Int
IpAddressStatus -> Int
(Int -> IpAddressStatus -> Int)
-> (IpAddressStatus -> Int) -> Hashable IpAddressStatus
forall a. (Int -> a -> Int) -> (a -> Int) -> Hashable a
hash :: IpAddressStatus -> Int
$chash :: IpAddressStatus -> Int
hashWithSalt :: Int -> IpAddressStatus -> Int
$chashWithSalt :: Int -> IpAddressStatus -> Int
Prelude.Hashable,
IpAddressStatus -> ()
(IpAddressStatus -> ()) -> NFData IpAddressStatus
forall a. (a -> ()) -> NFData a
rnf :: IpAddressStatus -> ()
$crnf :: IpAddressStatus -> ()
Prelude.NFData,
Text -> Either String IpAddressStatus
(Text -> Either String IpAddressStatus) -> FromText IpAddressStatus
forall a. (Text -> Either String a) -> FromText a
fromText :: Text -> Either String IpAddressStatus
$cfromText :: Text -> Either String IpAddressStatus
Core.FromText,
IpAddressStatus -> Text
(IpAddressStatus -> Text) -> ToText IpAddressStatus
forall a. (a -> Text) -> ToText a
toText :: IpAddressStatus -> Text
$ctoText :: IpAddressStatus -> Text
Core.ToText,
IpAddressStatus -> ByteString
(IpAddressStatus -> ByteString) -> ToByteString IpAddressStatus
forall a. (a -> ByteString) -> ToByteString a
toBS :: IpAddressStatus -> ByteString
$ctoBS :: IpAddressStatus -> ByteString
Core.ToByteString,
IpAddressStatus -> ByteStringBuilder
(IpAddressStatus -> ByteStringBuilder) -> ToLog IpAddressStatus
forall a. (a -> ByteStringBuilder) -> ToLog a
build :: IpAddressStatus -> ByteStringBuilder
$cbuild :: IpAddressStatus -> ByteStringBuilder
Core.ToLog,
HeaderName -> IpAddressStatus -> [Header]
(HeaderName -> IpAddressStatus -> [Header])
-> ToHeader IpAddressStatus
forall a. (HeaderName -> a -> [Header]) -> ToHeader a
toHeader :: HeaderName -> IpAddressStatus -> [Header]
$ctoHeader :: HeaderName -> IpAddressStatus -> [Header]
Core.ToHeader,
IpAddressStatus -> QueryString
(IpAddressStatus -> QueryString) -> ToQuery IpAddressStatus
forall a. (a -> QueryString) -> ToQuery a
toQuery :: IpAddressStatus -> QueryString
$ctoQuery :: IpAddressStatus -> QueryString
Core.ToQuery,
Value -> Parser [IpAddressStatus]
Value -> Parser IpAddressStatus
(Value -> Parser IpAddressStatus)
-> (Value -> Parser [IpAddressStatus]) -> FromJSON IpAddressStatus
forall a.
(Value -> Parser a) -> (Value -> Parser [a]) -> FromJSON a
parseJSONList :: Value -> Parser [IpAddressStatus]
$cparseJSONList :: Value -> Parser [IpAddressStatus]
parseJSON :: Value -> Parser IpAddressStatus
$cparseJSON :: Value -> Parser IpAddressStatus
Core.FromJSON,
FromJSONKeyFunction [IpAddressStatus]
FromJSONKeyFunction IpAddressStatus
FromJSONKeyFunction IpAddressStatus
-> FromJSONKeyFunction [IpAddressStatus]
-> FromJSONKey IpAddressStatus
forall a.
FromJSONKeyFunction a -> FromJSONKeyFunction [a] -> FromJSONKey a
fromJSONKeyList :: FromJSONKeyFunction [IpAddressStatus]
$cfromJSONKeyList :: FromJSONKeyFunction [IpAddressStatus]
fromJSONKey :: FromJSONKeyFunction IpAddressStatus
$cfromJSONKey :: FromJSONKeyFunction IpAddressStatus
Core.FromJSONKey,
[IpAddressStatus] -> Encoding
[IpAddressStatus] -> Value
IpAddressStatus -> Encoding
IpAddressStatus -> Value
(IpAddressStatus -> Value)
-> (IpAddressStatus -> Encoding)
-> ([IpAddressStatus] -> Value)
-> ([IpAddressStatus] -> Encoding)
-> ToJSON IpAddressStatus
forall a.
(a -> Value)
-> (a -> Encoding)
-> ([a] -> Value)
-> ([a] -> Encoding)
-> ToJSON a
toEncodingList :: [IpAddressStatus] -> Encoding
$ctoEncodingList :: [IpAddressStatus] -> Encoding
toJSONList :: [IpAddressStatus] -> Value
$ctoJSONList :: [IpAddressStatus] -> Value
toEncoding :: IpAddressStatus -> Encoding
$ctoEncoding :: IpAddressStatus -> Encoding
toJSON :: IpAddressStatus -> Value
$ctoJSON :: IpAddressStatus -> Value
Core.ToJSON,
ToJSONKeyFunction [IpAddressStatus]
ToJSONKeyFunction IpAddressStatus
ToJSONKeyFunction IpAddressStatus
-> ToJSONKeyFunction [IpAddressStatus] -> ToJSONKey IpAddressStatus
forall a.
ToJSONKeyFunction a -> ToJSONKeyFunction [a] -> ToJSONKey a
toJSONKeyList :: ToJSONKeyFunction [IpAddressStatus]
$ctoJSONKeyList :: ToJSONKeyFunction [IpAddressStatus]
toJSONKey :: ToJSONKeyFunction IpAddressStatus
$ctoJSONKey :: ToJSONKeyFunction IpAddressStatus
Core.ToJSONKey,
[Node] -> Either String IpAddressStatus
([Node] -> Either String IpAddressStatus)
-> FromXML IpAddressStatus
forall a. ([Node] -> Either String a) -> FromXML a
parseXML :: [Node] -> Either String IpAddressStatus
$cparseXML :: [Node] -> Either String IpAddressStatus
Core.FromXML,
IpAddressStatus -> XML
(IpAddressStatus -> XML) -> ToXML IpAddressStatus
forall a. (a -> XML) -> ToXML a
toXML :: IpAddressStatus -> XML
$ctoXML :: IpAddressStatus -> XML
Core.ToXML
)
pattern IpAddressStatus_ATTACHED :: IpAddressStatus
pattern $bIpAddressStatus_ATTACHED :: IpAddressStatus
$mIpAddressStatus_ATTACHED :: forall r. IpAddressStatus -> (Void# -> r) -> (Void# -> r) -> r
IpAddressStatus_ATTACHED = IpAddressStatus' "ATTACHED"
pattern IpAddressStatus_ATTACHING :: IpAddressStatus
pattern $bIpAddressStatus_ATTACHING :: IpAddressStatus
$mIpAddressStatus_ATTACHING :: forall r. IpAddressStatus -> (Void# -> r) -> (Void# -> r) -> r
IpAddressStatus_ATTACHING = IpAddressStatus' "ATTACHING"
pattern IpAddressStatus_CREATING :: IpAddressStatus
pattern $bIpAddressStatus_CREATING :: IpAddressStatus
$mIpAddressStatus_CREATING :: forall r. IpAddressStatus -> (Void# -> r) -> (Void# -> r) -> r
IpAddressStatus_CREATING = IpAddressStatus' "CREATING"
pattern IpAddressStatus_DELETE_FAILED_FAS_EXPIRED :: IpAddressStatus
pattern $bIpAddressStatus_DELETE_FAILED_FAS_EXPIRED :: IpAddressStatus
$mIpAddressStatus_DELETE_FAILED_FAS_EXPIRED :: forall r. IpAddressStatus -> (Void# -> r) -> (Void# -> r) -> r
IpAddressStatus_DELETE_FAILED_FAS_EXPIRED = IpAddressStatus' "DELETE_FAILED_FAS_EXPIRED"
pattern IpAddressStatus_DELETING :: IpAddressStatus
pattern $bIpAddressStatus_DELETING :: IpAddressStatus
$mIpAddressStatus_DELETING :: forall r. IpAddressStatus -> (Void# -> r) -> (Void# -> r) -> r
IpAddressStatus_DELETING = IpAddressStatus' "DELETING"
pattern IpAddressStatus_DETACHING :: IpAddressStatus
pattern $bIpAddressStatus_DETACHING :: IpAddressStatus
$mIpAddressStatus_DETACHING :: forall r. IpAddressStatus -> (Void# -> r) -> (Void# -> r) -> r
IpAddressStatus_DETACHING = IpAddressStatus' "DETACHING"
pattern IpAddressStatus_FAILED_CREATION :: IpAddressStatus
pattern $bIpAddressStatus_FAILED_CREATION :: IpAddressStatus
$mIpAddressStatus_FAILED_CREATION :: forall r. IpAddressStatus -> (Void# -> r) -> (Void# -> r) -> r
IpAddressStatus_FAILED_CREATION = IpAddressStatus' "FAILED_CREATION"
pattern IpAddressStatus_FAILED_RESOURCE_GONE :: IpAddressStatus
pattern $bIpAddressStatus_FAILED_RESOURCE_GONE :: IpAddressStatus
$mIpAddressStatus_FAILED_RESOURCE_GONE :: forall r. IpAddressStatus -> (Void# -> r) -> (Void# -> r) -> r
IpAddressStatus_FAILED_RESOURCE_GONE = IpAddressStatus' "FAILED_RESOURCE_GONE"
pattern IpAddressStatus_REMAP_ATTACHING :: IpAddressStatus
pattern $bIpAddressStatus_REMAP_ATTACHING :: IpAddressStatus
$mIpAddressStatus_REMAP_ATTACHING :: forall r. IpAddressStatus -> (Void# -> r) -> (Void# -> r) -> r
IpAddressStatus_REMAP_ATTACHING = IpAddressStatus' "REMAP_ATTACHING"
pattern IpAddressStatus_REMAP_DETACHING :: IpAddressStatus
pattern $bIpAddressStatus_REMAP_DETACHING :: IpAddressStatus
$mIpAddressStatus_REMAP_DETACHING :: forall r. IpAddressStatus -> (Void# -> r) -> (Void# -> r) -> r
IpAddressStatus_REMAP_DETACHING = IpAddressStatus' "REMAP_DETACHING"
{-# COMPLETE
IpAddressStatus_ATTACHED,
IpAddressStatus_ATTACHING,
IpAddressStatus_CREATING,
IpAddressStatus_DELETE_FAILED_FAS_EXPIRED,
IpAddressStatus_DELETING,
IpAddressStatus_DETACHING,
IpAddressStatus_FAILED_CREATION,
IpAddressStatus_FAILED_RESOURCE_GONE,
IpAddressStatus_REMAP_ATTACHING,
IpAddressStatus_REMAP_DETACHING,
IpAddressStatus'
#-}