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