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