{-# 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.MigrationHubReFactorSpaces.Types.ProxyType
-- 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.MigrationHubReFactorSpaces.Types.ProxyType
  ( ProxyType
      ( ..,
        ProxyType_API_GATEWAY
      ),
  )
where

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

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

pattern ProxyType_API_GATEWAY :: ProxyType
pattern $bProxyType_API_GATEWAY :: ProxyType
$mProxyType_API_GATEWAY :: forall {r}. ProxyType -> ((# #) -> r) -> ((# #) -> r) -> r
ProxyType_API_GATEWAY = ProxyType' "API_GATEWAY"

{-# COMPLETE
  ProxyType_API_GATEWAY,
  ProxyType'
  #-}