{-# 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.FileSystemType
-- 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.FileSystemType
  ( FileSystemType
      ( ..,
        FileSystemType_EFS,
        FileSystemType_FSxLustre
      ),
  )
where

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

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

pattern FileSystemType_EFS :: FileSystemType
pattern $bFileSystemType_EFS :: FileSystemType
$mFileSystemType_EFS :: forall {r}. FileSystemType -> ((# #) -> r) -> ((# #) -> r) -> r
FileSystemType_EFS = FileSystemType' "EFS"

pattern FileSystemType_FSxLustre :: FileSystemType
pattern $bFileSystemType_FSxLustre :: FileSystemType
$mFileSystemType_FSxLustre :: forall {r}. FileSystemType -> ((# #) -> r) -> ((# #) -> r) -> r
FileSystemType_FSxLustre = FileSystemType' "FSxLustre"

{-# COMPLETE
  FileSystemType_EFS,
  FileSystemType_FSxLustre,
  FileSystemType'
  #-}