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