{-# 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.SageMakerGeoSpatial.Types.VectorEnrichmentJobExportErrorType
-- 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.SageMakerGeoSpatial.Types.VectorEnrichmentJobExportErrorType
  ( VectorEnrichmentJobExportErrorType
      ( ..,
        VectorEnrichmentJobExportErrorType_CLIENT_ERROR,
        VectorEnrichmentJobExportErrorType_SERVER_ERROR
      ),
  )
where

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

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

pattern VectorEnrichmentJobExportErrorType_CLIENT_ERROR :: VectorEnrichmentJobExportErrorType
pattern $bVectorEnrichmentJobExportErrorType_CLIENT_ERROR :: VectorEnrichmentJobExportErrorType
$mVectorEnrichmentJobExportErrorType_CLIENT_ERROR :: forall {r}.
VectorEnrichmentJobExportErrorType
-> ((# #) -> r) -> ((# #) -> r) -> r
VectorEnrichmentJobExportErrorType_CLIENT_ERROR = VectorEnrichmentJobExportErrorType' "CLIENT_ERROR"

pattern VectorEnrichmentJobExportErrorType_SERVER_ERROR :: VectorEnrichmentJobExportErrorType
pattern $bVectorEnrichmentJobExportErrorType_SERVER_ERROR :: VectorEnrichmentJobExportErrorType
$mVectorEnrichmentJobExportErrorType_SERVER_ERROR :: forall {r}.
VectorEnrichmentJobExportErrorType
-> ((# #) -> r) -> ((# #) -> r) -> r
VectorEnrichmentJobExportErrorType_SERVER_ERROR = VectorEnrichmentJobExportErrorType' "SERVER_ERROR"

{-# COMPLETE
  VectorEnrichmentJobExportErrorType_CLIENT_ERROR,
  VectorEnrichmentJobExportErrorType_SERVER_ERROR,
  VectorEnrichmentJobExportErrorType'
  #-}