{-# 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.ListEdgeDeploymentPlansSortBy
-- 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.ListEdgeDeploymentPlansSortBy
  ( ListEdgeDeploymentPlansSortBy
      ( ..,
        ListEdgeDeploymentPlansSortBy_CREATION_TIME,
        ListEdgeDeploymentPlansSortBy_DEVICE_FLEET_NAME,
        ListEdgeDeploymentPlansSortBy_LAST_MODIFIED_TIME,
        ListEdgeDeploymentPlansSortBy_NAME
      ),
  )
where

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

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

pattern ListEdgeDeploymentPlansSortBy_CREATION_TIME :: ListEdgeDeploymentPlansSortBy
pattern $bListEdgeDeploymentPlansSortBy_CREATION_TIME :: ListEdgeDeploymentPlansSortBy
$mListEdgeDeploymentPlansSortBy_CREATION_TIME :: forall {r}.
ListEdgeDeploymentPlansSortBy -> ((# #) -> r) -> ((# #) -> r) -> r
ListEdgeDeploymentPlansSortBy_CREATION_TIME = ListEdgeDeploymentPlansSortBy' "CREATION_TIME"

pattern ListEdgeDeploymentPlansSortBy_DEVICE_FLEET_NAME :: ListEdgeDeploymentPlansSortBy
pattern $bListEdgeDeploymentPlansSortBy_DEVICE_FLEET_NAME :: ListEdgeDeploymentPlansSortBy
$mListEdgeDeploymentPlansSortBy_DEVICE_FLEET_NAME :: forall {r}.
ListEdgeDeploymentPlansSortBy -> ((# #) -> r) -> ((# #) -> r) -> r
ListEdgeDeploymentPlansSortBy_DEVICE_FLEET_NAME = ListEdgeDeploymentPlansSortBy' "DEVICE_FLEET_NAME"

pattern ListEdgeDeploymentPlansSortBy_LAST_MODIFIED_TIME :: ListEdgeDeploymentPlansSortBy
pattern $bListEdgeDeploymentPlansSortBy_LAST_MODIFIED_TIME :: ListEdgeDeploymentPlansSortBy
$mListEdgeDeploymentPlansSortBy_LAST_MODIFIED_TIME :: forall {r}.
ListEdgeDeploymentPlansSortBy -> ((# #) -> r) -> ((# #) -> r) -> r
ListEdgeDeploymentPlansSortBy_LAST_MODIFIED_TIME = ListEdgeDeploymentPlansSortBy' "LAST_MODIFIED_TIME"

pattern ListEdgeDeploymentPlansSortBy_NAME :: ListEdgeDeploymentPlansSortBy
pattern $bListEdgeDeploymentPlansSortBy_NAME :: ListEdgeDeploymentPlansSortBy
$mListEdgeDeploymentPlansSortBy_NAME :: forall {r}.
ListEdgeDeploymentPlansSortBy -> ((# #) -> r) -> ((# #) -> r) -> r
ListEdgeDeploymentPlansSortBy_NAME = ListEdgeDeploymentPlansSortBy' "NAME"

{-# COMPLETE
  ListEdgeDeploymentPlansSortBy_CREATION_TIME,
  ListEdgeDeploymentPlansSortBy_DEVICE_FLEET_NAME,
  ListEdgeDeploymentPlansSortBy_LAST_MODIFIED_TIME,
  ListEdgeDeploymentPlansSortBy_NAME,
  ListEdgeDeploymentPlansSortBy'
  #-}