{-# 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.CloudFormation.Types.HookInvocationPoint
-- Copyright   : (c) 2013-2023 Brendan Hay
-- License     : Mozilla Public License, v. 2.0.
-- Maintainer  : Brendan Hay
-- Stability   : auto-generated
-- Portability : non-portable (GHC extensions)
module Amazonka.CloudFormation.Types.HookInvocationPoint
  ( HookInvocationPoint
      ( ..,
        HookInvocationPoint_PRE_PROVISION
      ),
  )
where

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

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

pattern HookInvocationPoint_PRE_PROVISION :: HookInvocationPoint
pattern $bHookInvocationPoint_PRE_PROVISION :: HookInvocationPoint
$mHookInvocationPoint_PRE_PROVISION :: forall {r}.
HookInvocationPoint -> ((# #) -> r) -> ((# #) -> r) -> r
HookInvocationPoint_PRE_PROVISION = HookInvocationPoint' "PRE_PROVISION"

{-# COMPLETE
  HookInvocationPoint_PRE_PROVISION,
  HookInvocationPoint'
  #-}