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