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