{-# 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.Proton.Types.Provisioning
-- 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.Proton.Types.Provisioning
  ( Provisioning
      ( ..,
        Provisioning_CUSTOMER_MANAGED
      ),
  )
where

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

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

pattern Provisioning_CUSTOMER_MANAGED :: Provisioning
pattern $bProvisioning_CUSTOMER_MANAGED :: Provisioning
$mProvisioning_CUSTOMER_MANAGED :: forall r. Provisioning -> (Void# -> r) -> (Void# -> r) -> r
Provisioning_CUSTOMER_MANAGED = Provisioning' "CUSTOMER_MANAGED"

{-# COMPLETE
  Provisioning_CUSTOMER_MANAGED,
  Provisioning'
  #-}