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