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