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