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