{-# 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.FSx.Types.FileCacheLustreDeploymentType
-- 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.FSx.Types.FileCacheLustreDeploymentType
  ( FileCacheLustreDeploymentType
      ( ..,
        FileCacheLustreDeploymentType_CACHE_1
      ),
  )
where

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

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

pattern FileCacheLustreDeploymentType_CACHE_1 :: FileCacheLustreDeploymentType
pattern $bFileCacheLustreDeploymentType_CACHE_1 :: FileCacheLustreDeploymentType
$mFileCacheLustreDeploymentType_CACHE_1 :: forall {r}.
FileCacheLustreDeploymentType -> ((# #) -> r) -> ((# #) -> r) -> r
FileCacheLustreDeploymentType_CACHE_1 = FileCacheLustreDeploymentType' "CACHE_1"

{-# COMPLETE
  FileCacheLustreDeploymentType_CACHE_1,
  FileCacheLustreDeploymentType'
  #-}