{-# LANGUAGE DeriveGeneric #-}
{-# LANGUAGE DerivingStrategies #-}
{-# LANGUAGE GeneralizedNewtypeDeriving #-}
{-# LANGUAGE LambdaCase #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE PatternSynonyms #-}
{-# LANGUAGE StrictData #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# OPTIONS_GHC -fno-warn-unused-imports #-}

-- Derived from AWS service descriptions, licensed under Apache 2.0.

-- |
-- Module      : Amazonka.ECS.Types.ProxyConfigurationType
-- Copyright   : (c) 2013-2023 Brendan Hay
-- License     : Mozilla Public License, v. 2.0.
-- Maintainer  : Brendan Hay
-- Stability   : auto-generated
-- Portability : non-portable (GHC extensions)
module Amazonka.ECS.Types.ProxyConfigurationType
  ( ProxyConfigurationType
      ( ..,
        ProxyConfigurationType_APPMESH
      ),
  )
where

import qualified Amazonka.Core as Core
import qualified Amazonka.Data as Data
import qualified Amazonka.Prelude as Prelude

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

pattern ProxyConfigurationType_APPMESH :: ProxyConfigurationType
pattern $bProxyConfigurationType_APPMESH :: ProxyConfigurationType
$mProxyConfigurationType_APPMESH :: forall {r}.
ProxyConfigurationType -> ((# #) -> r) -> ((# #) -> r) -> r
ProxyConfigurationType_APPMESH = ProxyConfigurationType' "APPMESH"

{-# COMPLETE
  ProxyConfigurationType_APPMESH,
  ProxyConfigurationType'
  #-}