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