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