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