{-# 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.Data as Data
import qualified Amazonka.Prelude as Prelude
newtype IpAddressStatus = IpAddressStatus'
{ IpAddressStatus -> Text
fromIpAddressStatus ::
Data.Text
}
deriving stock
( Int -> IpAddressStatus -> ShowS
[IpAddressStatus] -> ShowS
IpAddressStatus -> String
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]
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
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
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
Prelude.Ord,
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
( Eq IpAddressStatus
Int -> IpAddressStatus -> Int
IpAddressStatus -> Int
forall a. Eq 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 -> ()
forall a. (a -> ()) -> NFData a
rnf :: IpAddressStatus -> ()
$crnf :: IpAddressStatus -> ()
Prelude.NFData,
Text -> Either String IpAddressStatus
forall a. (Text -> Either String a) -> FromText a
fromText :: Text -> Either String IpAddressStatus
$cfromText :: Text -> Either String IpAddressStatus
Data.FromText,
IpAddressStatus -> Text
forall a. (a -> Text) -> ToText a
toText :: IpAddressStatus -> Text
$ctoText :: IpAddressStatus -> Text
Data.ToText,
IpAddressStatus -> ByteString
forall a. (a -> ByteString) -> ToByteString a
toBS :: IpAddressStatus -> ByteString
$ctoBS :: IpAddressStatus -> ByteString
Data.ToByteString,
IpAddressStatus -> ByteStringBuilder
forall a. (a -> ByteStringBuilder) -> ToLog a
build :: IpAddressStatus -> ByteStringBuilder
$cbuild :: IpAddressStatus -> ByteStringBuilder
Data.ToLog,
HeaderName -> IpAddressStatus -> [Header]
forall a. (HeaderName -> a -> [Header]) -> ToHeader a
toHeader :: HeaderName -> IpAddressStatus -> [Header]
$ctoHeader :: HeaderName -> IpAddressStatus -> [Header]
Data.ToHeader,
IpAddressStatus -> QueryString
forall a. (a -> QueryString) -> ToQuery a
toQuery :: IpAddressStatus -> QueryString
$ctoQuery :: IpAddressStatus -> QueryString
Data.ToQuery,
Value -> Parser [IpAddressStatus]
Value -> Parser 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
Data.FromJSON,
FromJSONKeyFunction [IpAddressStatus]
FromJSONKeyFunction IpAddressStatus
forall a.
FromJSONKeyFunction a -> FromJSONKeyFunction [a] -> FromJSONKey a
fromJSONKeyList :: FromJSONKeyFunction [IpAddressStatus]
$cfromJSONKeyList :: FromJSONKeyFunction [IpAddressStatus]
fromJSONKey :: FromJSONKeyFunction IpAddressStatus
$cfromJSONKey :: FromJSONKeyFunction IpAddressStatus
Data.FromJSONKey,
[IpAddressStatus] -> Encoding
[IpAddressStatus] -> Value
IpAddressStatus -> Encoding
IpAddressStatus -> Value
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
Data.ToJSON,
ToJSONKeyFunction [IpAddressStatus]
ToJSONKeyFunction IpAddressStatus
forall a.
ToJSONKeyFunction a -> ToJSONKeyFunction [a] -> ToJSONKey a
toJSONKeyList :: ToJSONKeyFunction [IpAddressStatus]
$ctoJSONKeyList :: ToJSONKeyFunction [IpAddressStatus]
toJSONKey :: ToJSONKeyFunction IpAddressStatus
$ctoJSONKey :: ToJSONKeyFunction IpAddressStatus
Data.ToJSONKey,
[Node] -> Either String IpAddressStatus
forall a. ([Node] -> Either String a) -> FromXML a
parseXML :: [Node] -> Either String IpAddressStatus
$cparseXML :: [Node] -> Either String IpAddressStatus
Data.FromXML,
IpAddressStatus -> XML
forall a. (a -> XML) -> ToXML a
toXML :: IpAddressStatus -> XML
$ctoXML :: IpAddressStatus -> XML
Data.ToXML
)
pattern IpAddressStatus_ATTACHED :: IpAddressStatus
pattern $bIpAddressStatus_ATTACHED :: IpAddressStatus
$mIpAddressStatus_ATTACHED :: forall {r}. IpAddressStatus -> ((# #) -> r) -> ((# #) -> r) -> r
IpAddressStatus_ATTACHED = IpAddressStatus' "ATTACHED"
pattern IpAddressStatus_ATTACHING :: IpAddressStatus
pattern $bIpAddressStatus_ATTACHING :: IpAddressStatus
$mIpAddressStatus_ATTACHING :: forall {r}. IpAddressStatus -> ((# #) -> r) -> ((# #) -> r) -> r
IpAddressStatus_ATTACHING = IpAddressStatus' "ATTACHING"
pattern IpAddressStatus_CREATING :: IpAddressStatus
pattern $bIpAddressStatus_CREATING :: IpAddressStatus
$mIpAddressStatus_CREATING :: forall {r}. IpAddressStatus -> ((# #) -> r) -> ((# #) -> 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 -> ((# #) -> r) -> ((# #) -> 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 -> ((# #) -> r) -> ((# #) -> r) -> r
IpAddressStatus_DELETING = IpAddressStatus' "DELETING"
pattern IpAddressStatus_DETACHING :: IpAddressStatus
pattern $bIpAddressStatus_DETACHING :: IpAddressStatus
$mIpAddressStatus_DETACHING :: forall {r}. IpAddressStatus -> ((# #) -> r) -> ((# #) -> r) -> r
IpAddressStatus_DETACHING = IpAddressStatus' "DETACHING"
pattern IpAddressStatus_FAILED_CREATION :: IpAddressStatus
pattern $bIpAddressStatus_FAILED_CREATION :: IpAddressStatus
$mIpAddressStatus_FAILED_CREATION :: forall {r}. IpAddressStatus -> ((# #) -> r) -> ((# #) -> 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 -> ((# #) -> r) -> ((# #) -> 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 -> ((# #) -> r) -> ((# #) -> r) -> r
IpAddressStatus_REMAP_ATTACHING = IpAddressStatus' "REMAP_ATTACHING"
pattern IpAddressStatus_REMAP_DETACHING :: IpAddressStatus
pattern $bIpAddressStatus_REMAP_DETACHING :: IpAddressStatus
$mIpAddressStatus_REMAP_DETACHING :: forall {r}. IpAddressStatus -> ((# #) -> r) -> ((# #) -> 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'
#-}