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