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