{-# 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.AppRunner.Types.TracingVendor
-- 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.AppRunner.Types.TracingVendor
  ( TracingVendor
      ( ..,
        TracingVendor_AWSXRAY
      ),
  )
where

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

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

pattern TracingVendor_AWSXRAY :: TracingVendor
pattern $bTracingVendor_AWSXRAY :: TracingVendor
$mTracingVendor_AWSXRAY :: forall {r}. TracingVendor -> ((# #) -> r) -> ((# #) -> r) -> r
TracingVendor_AWSXRAY = TracingVendor' "AWSXRAY"

{-# COMPLETE
  TracingVendor_AWSXRAY,
  TracingVendor'
  #-}