{-# 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.SageMaker.Types.EdgePresetDeploymentType
-- 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.SageMaker.Types.EdgePresetDeploymentType
  ( EdgePresetDeploymentType
      ( ..,
        EdgePresetDeploymentType_GreengrassV2Component
      ),
  )
where

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

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

pattern EdgePresetDeploymentType_GreengrassV2Component :: EdgePresetDeploymentType
pattern $bEdgePresetDeploymentType_GreengrassV2Component :: EdgePresetDeploymentType
$mEdgePresetDeploymentType_GreengrassV2Component :: forall {r}.
EdgePresetDeploymentType -> ((# #) -> r) -> ((# #) -> r) -> r
EdgePresetDeploymentType_GreengrassV2Component = EdgePresetDeploymentType' "GreengrassV2Component"

{-# COMPLETE
  EdgePresetDeploymentType_GreengrassV2Component,
  EdgePresetDeploymentType'
  #-}