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