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