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