{-# 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.SageMakerEdge.Types.DeploymentType
-- 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.SageMakerEdge.Types.DeploymentType
  ( DeploymentType
      ( ..,
        DeploymentType_Model
      ),
  )
where

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

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

pattern DeploymentType_Model :: DeploymentType
pattern $bDeploymentType_Model :: DeploymentType
$mDeploymentType_Model :: forall {r}. DeploymentType -> ((# #) -> r) -> ((# #) -> r) -> r
DeploymentType_Model = DeploymentType' "Model"

{-# COMPLETE
  DeploymentType_Model,
  DeploymentType'
  #-}