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