{-# LANGUAGE DeriveGeneric #-}
{-# LANGUAGE DerivingStrategies #-}
{-# LANGUAGE GeneralizedNewtypeDeriving #-}
{-# LANGUAGE LambdaCase #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE PatternSynonyms #-}
{-# LANGUAGE StrictData #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# OPTIONS_GHC -fno-warn-unused-imports #-}

-- Derived from AWS service descriptions, licensed under Apache 2.0.

-- |
-- Module      : Amazonka.ServiceCatalog.Types.ProvisioningArtifactGuidance
-- Copyright   : (c) 2013-2021 Brendan Hay
-- License     : Mozilla Public License, v. 2.0.
-- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com>
-- Stability   : auto-generated
-- Portability : non-portable (GHC extensions)
module Amazonka.ServiceCatalog.Types.ProvisioningArtifactGuidance
  ( ProvisioningArtifactGuidance
      ( ..,
        ProvisioningArtifactGuidance_DEFAULT,
        ProvisioningArtifactGuidance_DEPRECATED
      ),
  )
where

import qualified Amazonka.Core as Core
import qualified Amazonka.Prelude as Prelude

newtype ProvisioningArtifactGuidance = ProvisioningArtifactGuidance'
  { ProvisioningArtifactGuidance -> Text
fromProvisioningArtifactGuidance ::
      Core.Text
  }
  deriving stock
    ( Int -> ProvisioningArtifactGuidance -> ShowS
[ProvisioningArtifactGuidance] -> ShowS
ProvisioningArtifactGuidance -> String
(Int -> ProvisioningArtifactGuidance -> ShowS)
-> (ProvisioningArtifactGuidance -> String)
-> ([ProvisioningArtifactGuidance] -> ShowS)
-> Show ProvisioningArtifactGuidance
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [ProvisioningArtifactGuidance] -> ShowS
$cshowList :: [ProvisioningArtifactGuidance] -> ShowS
show :: ProvisioningArtifactGuidance -> String
$cshow :: ProvisioningArtifactGuidance -> String
showsPrec :: Int -> ProvisioningArtifactGuidance -> ShowS
$cshowsPrec :: Int -> ProvisioningArtifactGuidance -> ShowS
Prelude.Show,
      ReadPrec [ProvisioningArtifactGuidance]
ReadPrec ProvisioningArtifactGuidance
Int -> ReadS ProvisioningArtifactGuidance
ReadS [ProvisioningArtifactGuidance]
(Int -> ReadS ProvisioningArtifactGuidance)
-> ReadS [ProvisioningArtifactGuidance]
-> ReadPrec ProvisioningArtifactGuidance
-> ReadPrec [ProvisioningArtifactGuidance]
-> Read ProvisioningArtifactGuidance
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [ProvisioningArtifactGuidance]
$creadListPrec :: ReadPrec [ProvisioningArtifactGuidance]
readPrec :: ReadPrec ProvisioningArtifactGuidance
$creadPrec :: ReadPrec ProvisioningArtifactGuidance
readList :: ReadS [ProvisioningArtifactGuidance]
$creadList :: ReadS [ProvisioningArtifactGuidance]
readsPrec :: Int -> ReadS ProvisioningArtifactGuidance
$creadsPrec :: Int -> ReadS ProvisioningArtifactGuidance
Prelude.Read,
      ProvisioningArtifactGuidance
-> ProvisioningArtifactGuidance -> Bool
(ProvisioningArtifactGuidance
 -> ProvisioningArtifactGuidance -> Bool)
-> (ProvisioningArtifactGuidance
    -> ProvisioningArtifactGuidance -> Bool)
-> Eq ProvisioningArtifactGuidance
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: ProvisioningArtifactGuidance
-> ProvisioningArtifactGuidance -> Bool
$c/= :: ProvisioningArtifactGuidance
-> ProvisioningArtifactGuidance -> Bool
== :: ProvisioningArtifactGuidance
-> ProvisioningArtifactGuidance -> Bool
$c== :: ProvisioningArtifactGuidance
-> ProvisioningArtifactGuidance -> Bool
Prelude.Eq,
      Eq ProvisioningArtifactGuidance
Eq ProvisioningArtifactGuidance
-> (ProvisioningArtifactGuidance
    -> ProvisioningArtifactGuidance -> Ordering)
-> (ProvisioningArtifactGuidance
    -> ProvisioningArtifactGuidance -> Bool)
-> (ProvisioningArtifactGuidance
    -> ProvisioningArtifactGuidance -> Bool)
-> (ProvisioningArtifactGuidance
    -> ProvisioningArtifactGuidance -> Bool)
-> (ProvisioningArtifactGuidance
    -> ProvisioningArtifactGuidance -> Bool)
-> (ProvisioningArtifactGuidance
    -> ProvisioningArtifactGuidance -> ProvisioningArtifactGuidance)
-> (ProvisioningArtifactGuidance
    -> ProvisioningArtifactGuidance -> ProvisioningArtifactGuidance)
-> Ord ProvisioningArtifactGuidance
ProvisioningArtifactGuidance
-> ProvisioningArtifactGuidance -> Bool
ProvisioningArtifactGuidance
-> ProvisioningArtifactGuidance -> Ordering
ProvisioningArtifactGuidance
-> ProvisioningArtifactGuidance -> ProvisioningArtifactGuidance
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 :: ProvisioningArtifactGuidance
-> ProvisioningArtifactGuidance -> ProvisioningArtifactGuidance
$cmin :: ProvisioningArtifactGuidance
-> ProvisioningArtifactGuidance -> ProvisioningArtifactGuidance
max :: ProvisioningArtifactGuidance
-> ProvisioningArtifactGuidance -> ProvisioningArtifactGuidance
$cmax :: ProvisioningArtifactGuidance
-> ProvisioningArtifactGuidance -> ProvisioningArtifactGuidance
>= :: ProvisioningArtifactGuidance
-> ProvisioningArtifactGuidance -> Bool
$c>= :: ProvisioningArtifactGuidance
-> ProvisioningArtifactGuidance -> Bool
> :: ProvisioningArtifactGuidance
-> ProvisioningArtifactGuidance -> Bool
$c> :: ProvisioningArtifactGuidance
-> ProvisioningArtifactGuidance -> Bool
<= :: ProvisioningArtifactGuidance
-> ProvisioningArtifactGuidance -> Bool
$c<= :: ProvisioningArtifactGuidance
-> ProvisioningArtifactGuidance -> Bool
< :: ProvisioningArtifactGuidance
-> ProvisioningArtifactGuidance -> Bool
$c< :: ProvisioningArtifactGuidance
-> ProvisioningArtifactGuidance -> Bool
compare :: ProvisioningArtifactGuidance
-> ProvisioningArtifactGuidance -> Ordering
$ccompare :: ProvisioningArtifactGuidance
-> ProvisioningArtifactGuidance -> Ordering
$cp1Ord :: Eq ProvisioningArtifactGuidance
Prelude.Ord,
      (forall x.
 ProvisioningArtifactGuidance -> Rep ProvisioningArtifactGuidance x)
-> (forall x.
    Rep ProvisioningArtifactGuidance x -> ProvisioningArtifactGuidance)
-> Generic ProvisioningArtifactGuidance
forall x.
Rep ProvisioningArtifactGuidance x -> ProvisioningArtifactGuidance
forall x.
ProvisioningArtifactGuidance -> Rep ProvisioningArtifactGuidance x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep ProvisioningArtifactGuidance x -> ProvisioningArtifactGuidance
$cfrom :: forall x.
ProvisioningArtifactGuidance -> Rep ProvisioningArtifactGuidance x
Prelude.Generic
    )
  deriving newtype
    ( Int -> ProvisioningArtifactGuidance -> Int
ProvisioningArtifactGuidance -> Int
(Int -> ProvisioningArtifactGuidance -> Int)
-> (ProvisioningArtifactGuidance -> Int)
-> Hashable ProvisioningArtifactGuidance
forall a. (Int -> a -> Int) -> (a -> Int) -> Hashable a
hash :: ProvisioningArtifactGuidance -> Int
$chash :: ProvisioningArtifactGuidance -> Int
hashWithSalt :: Int -> ProvisioningArtifactGuidance -> Int
$chashWithSalt :: Int -> ProvisioningArtifactGuidance -> Int
Prelude.Hashable,
      ProvisioningArtifactGuidance -> ()
(ProvisioningArtifactGuidance -> ())
-> NFData ProvisioningArtifactGuidance
forall a. (a -> ()) -> NFData a
rnf :: ProvisioningArtifactGuidance -> ()
$crnf :: ProvisioningArtifactGuidance -> ()
Prelude.NFData,
      Text -> Either String ProvisioningArtifactGuidance
(Text -> Either String ProvisioningArtifactGuidance)
-> FromText ProvisioningArtifactGuidance
forall a. (Text -> Either String a) -> FromText a
fromText :: Text -> Either String ProvisioningArtifactGuidance
$cfromText :: Text -> Either String ProvisioningArtifactGuidance
Core.FromText,
      ProvisioningArtifactGuidance -> Text
(ProvisioningArtifactGuidance -> Text)
-> ToText ProvisioningArtifactGuidance
forall a. (a -> Text) -> ToText a
toText :: ProvisioningArtifactGuidance -> Text
$ctoText :: ProvisioningArtifactGuidance -> Text
Core.ToText,
      ProvisioningArtifactGuidance -> ByteString
(ProvisioningArtifactGuidance -> ByteString)
-> ToByteString ProvisioningArtifactGuidance
forall a. (a -> ByteString) -> ToByteString a
toBS :: ProvisioningArtifactGuidance -> ByteString
$ctoBS :: ProvisioningArtifactGuidance -> ByteString
Core.ToByteString,
      ProvisioningArtifactGuidance -> ByteStringBuilder
(ProvisioningArtifactGuidance -> ByteStringBuilder)
-> ToLog ProvisioningArtifactGuidance
forall a. (a -> ByteStringBuilder) -> ToLog a
build :: ProvisioningArtifactGuidance -> ByteStringBuilder
$cbuild :: ProvisioningArtifactGuidance -> ByteStringBuilder
Core.ToLog,
      HeaderName -> ProvisioningArtifactGuidance -> [Header]
(HeaderName -> ProvisioningArtifactGuidance -> [Header])
-> ToHeader ProvisioningArtifactGuidance
forall a. (HeaderName -> a -> [Header]) -> ToHeader a
toHeader :: HeaderName -> ProvisioningArtifactGuidance -> [Header]
$ctoHeader :: HeaderName -> ProvisioningArtifactGuidance -> [Header]
Core.ToHeader,
      ProvisioningArtifactGuidance -> QueryString
(ProvisioningArtifactGuidance -> QueryString)
-> ToQuery ProvisioningArtifactGuidance
forall a. (a -> QueryString) -> ToQuery a
toQuery :: ProvisioningArtifactGuidance -> QueryString
$ctoQuery :: ProvisioningArtifactGuidance -> QueryString
Core.ToQuery,
      Value -> Parser [ProvisioningArtifactGuidance]
Value -> Parser ProvisioningArtifactGuidance
(Value -> Parser ProvisioningArtifactGuidance)
-> (Value -> Parser [ProvisioningArtifactGuidance])
-> FromJSON ProvisioningArtifactGuidance
forall a.
(Value -> Parser a) -> (Value -> Parser [a]) -> FromJSON a
parseJSONList :: Value -> Parser [ProvisioningArtifactGuidance]
$cparseJSONList :: Value -> Parser [ProvisioningArtifactGuidance]
parseJSON :: Value -> Parser ProvisioningArtifactGuidance
$cparseJSON :: Value -> Parser ProvisioningArtifactGuidance
Core.FromJSON,
      FromJSONKeyFunction [ProvisioningArtifactGuidance]
FromJSONKeyFunction ProvisioningArtifactGuidance
FromJSONKeyFunction ProvisioningArtifactGuidance
-> FromJSONKeyFunction [ProvisioningArtifactGuidance]
-> FromJSONKey ProvisioningArtifactGuidance
forall a.
FromJSONKeyFunction a -> FromJSONKeyFunction [a] -> FromJSONKey a
fromJSONKeyList :: FromJSONKeyFunction [ProvisioningArtifactGuidance]
$cfromJSONKeyList :: FromJSONKeyFunction [ProvisioningArtifactGuidance]
fromJSONKey :: FromJSONKeyFunction ProvisioningArtifactGuidance
$cfromJSONKey :: FromJSONKeyFunction ProvisioningArtifactGuidance
Core.FromJSONKey,
      [ProvisioningArtifactGuidance] -> Encoding
[ProvisioningArtifactGuidance] -> Value
ProvisioningArtifactGuidance -> Encoding
ProvisioningArtifactGuidance -> Value
(ProvisioningArtifactGuidance -> Value)
-> (ProvisioningArtifactGuidance -> Encoding)
-> ([ProvisioningArtifactGuidance] -> Value)
-> ([ProvisioningArtifactGuidance] -> Encoding)
-> ToJSON ProvisioningArtifactGuidance
forall a.
(a -> Value)
-> (a -> Encoding)
-> ([a] -> Value)
-> ([a] -> Encoding)
-> ToJSON a
toEncodingList :: [ProvisioningArtifactGuidance] -> Encoding
$ctoEncodingList :: [ProvisioningArtifactGuidance] -> Encoding
toJSONList :: [ProvisioningArtifactGuidance] -> Value
$ctoJSONList :: [ProvisioningArtifactGuidance] -> Value
toEncoding :: ProvisioningArtifactGuidance -> Encoding
$ctoEncoding :: ProvisioningArtifactGuidance -> Encoding
toJSON :: ProvisioningArtifactGuidance -> Value
$ctoJSON :: ProvisioningArtifactGuidance -> Value
Core.ToJSON,
      ToJSONKeyFunction [ProvisioningArtifactGuidance]
ToJSONKeyFunction ProvisioningArtifactGuidance
ToJSONKeyFunction ProvisioningArtifactGuidance
-> ToJSONKeyFunction [ProvisioningArtifactGuidance]
-> ToJSONKey ProvisioningArtifactGuidance
forall a.
ToJSONKeyFunction a -> ToJSONKeyFunction [a] -> ToJSONKey a
toJSONKeyList :: ToJSONKeyFunction [ProvisioningArtifactGuidance]
$ctoJSONKeyList :: ToJSONKeyFunction [ProvisioningArtifactGuidance]
toJSONKey :: ToJSONKeyFunction ProvisioningArtifactGuidance
$ctoJSONKey :: ToJSONKeyFunction ProvisioningArtifactGuidance
Core.ToJSONKey,
      [Node] -> Either String ProvisioningArtifactGuidance
([Node] -> Either String ProvisioningArtifactGuidance)
-> FromXML ProvisioningArtifactGuidance
forall a. ([Node] -> Either String a) -> FromXML a
parseXML :: [Node] -> Either String ProvisioningArtifactGuidance
$cparseXML :: [Node] -> Either String ProvisioningArtifactGuidance
Core.FromXML,
      ProvisioningArtifactGuidance -> XML
(ProvisioningArtifactGuidance -> XML)
-> ToXML ProvisioningArtifactGuidance
forall a. (a -> XML) -> ToXML a
toXML :: ProvisioningArtifactGuidance -> XML
$ctoXML :: ProvisioningArtifactGuidance -> XML
Core.ToXML
    )

pattern ProvisioningArtifactGuidance_DEFAULT :: ProvisioningArtifactGuidance
pattern $bProvisioningArtifactGuidance_DEFAULT :: ProvisioningArtifactGuidance
$mProvisioningArtifactGuidance_DEFAULT :: forall r.
ProvisioningArtifactGuidance -> (Void# -> r) -> (Void# -> r) -> r
ProvisioningArtifactGuidance_DEFAULT = ProvisioningArtifactGuidance' "DEFAULT"

pattern ProvisioningArtifactGuidance_DEPRECATED :: ProvisioningArtifactGuidance
pattern $bProvisioningArtifactGuidance_DEPRECATED :: ProvisioningArtifactGuidance
$mProvisioningArtifactGuidance_DEPRECATED :: forall r.
ProvisioningArtifactGuidance -> (Void# -> r) -> (Void# -> r) -> r
ProvisioningArtifactGuidance_DEPRECATED = ProvisioningArtifactGuidance' "DEPRECATED"

{-# COMPLETE
  ProvisioningArtifactGuidance_DEFAULT,
  ProvisioningArtifactGuidance_DEPRECATED,
  ProvisioningArtifactGuidance'
  #-}