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