{-# LANGUAGE DeriveGeneric #-}
{-# LANGUAGE DerivingStrategies #-}
{-# LANGUAGE GeneralizedNewtypeDeriving #-}
{-# LANGUAGE LambdaCase #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE PatternSynonyms #-}
{-# LANGUAGE StrictData #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# OPTIONS_GHC -fno-warn-unused-imports #-}
module Amazonka.Redshift.Types.AquaConfigurationStatus
( AquaConfigurationStatus
( ..,
AquaConfigurationStatus_Auto,
AquaConfigurationStatus_Disabled,
AquaConfigurationStatus_Enabled
),
)
where
import qualified Amazonka.Core as Core
import qualified Amazonka.Prelude as Prelude
import Amazonka.Redshift.Internal
newtype AquaConfigurationStatus = AquaConfigurationStatus'
{ AquaConfigurationStatus -> Text
fromAquaConfigurationStatus ::
Core.Text
}
deriving stock
( Int -> AquaConfigurationStatus -> ShowS
[AquaConfigurationStatus] -> ShowS
AquaConfigurationStatus -> String
(Int -> AquaConfigurationStatus -> ShowS)
-> (AquaConfigurationStatus -> String)
-> ([AquaConfigurationStatus] -> ShowS)
-> Show AquaConfigurationStatus
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [AquaConfigurationStatus] -> ShowS
$cshowList :: [AquaConfigurationStatus] -> ShowS
show :: AquaConfigurationStatus -> String
$cshow :: AquaConfigurationStatus -> String
showsPrec :: Int -> AquaConfigurationStatus -> ShowS
$cshowsPrec :: Int -> AquaConfigurationStatus -> ShowS
Prelude.Show,
ReadPrec [AquaConfigurationStatus]
ReadPrec AquaConfigurationStatus
Int -> ReadS AquaConfigurationStatus
ReadS [AquaConfigurationStatus]
(Int -> ReadS AquaConfigurationStatus)
-> ReadS [AquaConfigurationStatus]
-> ReadPrec AquaConfigurationStatus
-> ReadPrec [AquaConfigurationStatus]
-> Read AquaConfigurationStatus
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [AquaConfigurationStatus]
$creadListPrec :: ReadPrec [AquaConfigurationStatus]
readPrec :: ReadPrec AquaConfigurationStatus
$creadPrec :: ReadPrec AquaConfigurationStatus
readList :: ReadS [AquaConfigurationStatus]
$creadList :: ReadS [AquaConfigurationStatus]
readsPrec :: Int -> ReadS AquaConfigurationStatus
$creadsPrec :: Int -> ReadS AquaConfigurationStatus
Prelude.Read,
AquaConfigurationStatus -> AquaConfigurationStatus -> Bool
(AquaConfigurationStatus -> AquaConfigurationStatus -> Bool)
-> (AquaConfigurationStatus -> AquaConfigurationStatus -> Bool)
-> Eq AquaConfigurationStatus
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: AquaConfigurationStatus -> AquaConfigurationStatus -> Bool
$c/= :: AquaConfigurationStatus -> AquaConfigurationStatus -> Bool
== :: AquaConfigurationStatus -> AquaConfigurationStatus -> Bool
$c== :: AquaConfigurationStatus -> AquaConfigurationStatus -> Bool
Prelude.Eq,
Eq AquaConfigurationStatus
Eq AquaConfigurationStatus
-> (AquaConfigurationStatus -> AquaConfigurationStatus -> Ordering)
-> (AquaConfigurationStatus -> AquaConfigurationStatus -> Bool)
-> (AquaConfigurationStatus -> AquaConfigurationStatus -> Bool)
-> (AquaConfigurationStatus -> AquaConfigurationStatus -> Bool)
-> (AquaConfigurationStatus -> AquaConfigurationStatus -> Bool)
-> (AquaConfigurationStatus
-> AquaConfigurationStatus -> AquaConfigurationStatus)
-> (AquaConfigurationStatus
-> AquaConfigurationStatus -> AquaConfigurationStatus)
-> Ord AquaConfigurationStatus
AquaConfigurationStatus -> AquaConfigurationStatus -> Bool
AquaConfigurationStatus -> AquaConfigurationStatus -> Ordering
AquaConfigurationStatus
-> AquaConfigurationStatus -> AquaConfigurationStatus
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 :: AquaConfigurationStatus
-> AquaConfigurationStatus -> AquaConfigurationStatus
$cmin :: AquaConfigurationStatus
-> AquaConfigurationStatus -> AquaConfigurationStatus
max :: AquaConfigurationStatus
-> AquaConfigurationStatus -> AquaConfigurationStatus
$cmax :: AquaConfigurationStatus
-> AquaConfigurationStatus -> AquaConfigurationStatus
>= :: AquaConfigurationStatus -> AquaConfigurationStatus -> Bool
$c>= :: AquaConfigurationStatus -> AquaConfigurationStatus -> Bool
> :: AquaConfigurationStatus -> AquaConfigurationStatus -> Bool
$c> :: AquaConfigurationStatus -> AquaConfigurationStatus -> Bool
<= :: AquaConfigurationStatus -> AquaConfigurationStatus -> Bool
$c<= :: AquaConfigurationStatus -> AquaConfigurationStatus -> Bool
< :: AquaConfigurationStatus -> AquaConfigurationStatus -> Bool
$c< :: AquaConfigurationStatus -> AquaConfigurationStatus -> Bool
compare :: AquaConfigurationStatus -> AquaConfigurationStatus -> Ordering
$ccompare :: AquaConfigurationStatus -> AquaConfigurationStatus -> Ordering
$cp1Ord :: Eq AquaConfigurationStatus
Prelude.Ord,
(forall x.
AquaConfigurationStatus -> Rep AquaConfigurationStatus x)
-> (forall x.
Rep AquaConfigurationStatus x -> AquaConfigurationStatus)
-> Generic AquaConfigurationStatus
forall x. Rep AquaConfigurationStatus x -> AquaConfigurationStatus
forall x. AquaConfigurationStatus -> Rep AquaConfigurationStatus x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep AquaConfigurationStatus x -> AquaConfigurationStatus
$cfrom :: forall x. AquaConfigurationStatus -> Rep AquaConfigurationStatus x
Prelude.Generic
)
deriving newtype
( Int -> AquaConfigurationStatus -> Int
AquaConfigurationStatus -> Int
(Int -> AquaConfigurationStatus -> Int)
-> (AquaConfigurationStatus -> Int)
-> Hashable AquaConfigurationStatus
forall a. (Int -> a -> Int) -> (a -> Int) -> Hashable a
hash :: AquaConfigurationStatus -> Int
$chash :: AquaConfigurationStatus -> Int
hashWithSalt :: Int -> AquaConfigurationStatus -> Int
$chashWithSalt :: Int -> AquaConfigurationStatus -> Int
Prelude.Hashable,
AquaConfigurationStatus -> ()
(AquaConfigurationStatus -> ()) -> NFData AquaConfigurationStatus
forall a. (a -> ()) -> NFData a
rnf :: AquaConfigurationStatus -> ()
$crnf :: AquaConfigurationStatus -> ()
Prelude.NFData,
Text -> Either String AquaConfigurationStatus
(Text -> Either String AquaConfigurationStatus)
-> FromText AquaConfigurationStatus
forall a. (Text -> Either String a) -> FromText a
fromText :: Text -> Either String AquaConfigurationStatus
$cfromText :: Text -> Either String AquaConfigurationStatus
Core.FromText,
AquaConfigurationStatus -> Text
(AquaConfigurationStatus -> Text) -> ToText AquaConfigurationStatus
forall a. (a -> Text) -> ToText a
toText :: AquaConfigurationStatus -> Text
$ctoText :: AquaConfigurationStatus -> Text
Core.ToText,
AquaConfigurationStatus -> ByteString
(AquaConfigurationStatus -> ByteString)
-> ToByteString AquaConfigurationStatus
forall a. (a -> ByteString) -> ToByteString a
toBS :: AquaConfigurationStatus -> ByteString
$ctoBS :: AquaConfigurationStatus -> ByteString
Core.ToByteString,
AquaConfigurationStatus -> ByteStringBuilder
(AquaConfigurationStatus -> ByteStringBuilder)
-> ToLog AquaConfigurationStatus
forall a. (a -> ByteStringBuilder) -> ToLog a
build :: AquaConfigurationStatus -> ByteStringBuilder
$cbuild :: AquaConfigurationStatus -> ByteStringBuilder
Core.ToLog,
HeaderName -> AquaConfigurationStatus -> [Header]
(HeaderName -> AquaConfigurationStatus -> [Header])
-> ToHeader AquaConfigurationStatus
forall a. (HeaderName -> a -> [Header]) -> ToHeader a
toHeader :: HeaderName -> AquaConfigurationStatus -> [Header]
$ctoHeader :: HeaderName -> AquaConfigurationStatus -> [Header]
Core.ToHeader,
AquaConfigurationStatus -> QueryString
(AquaConfigurationStatus -> QueryString)
-> ToQuery AquaConfigurationStatus
forall a. (a -> QueryString) -> ToQuery a
toQuery :: AquaConfigurationStatus -> QueryString
$ctoQuery :: AquaConfigurationStatus -> QueryString
Core.ToQuery,
Value -> Parser [AquaConfigurationStatus]
Value -> Parser AquaConfigurationStatus
(Value -> Parser AquaConfigurationStatus)
-> (Value -> Parser [AquaConfigurationStatus])
-> FromJSON AquaConfigurationStatus
forall a.
(Value -> Parser a) -> (Value -> Parser [a]) -> FromJSON a
parseJSONList :: Value -> Parser [AquaConfigurationStatus]
$cparseJSONList :: Value -> Parser [AquaConfigurationStatus]
parseJSON :: Value -> Parser AquaConfigurationStatus
$cparseJSON :: Value -> Parser AquaConfigurationStatus
Core.FromJSON,
FromJSONKeyFunction [AquaConfigurationStatus]
FromJSONKeyFunction AquaConfigurationStatus
FromJSONKeyFunction AquaConfigurationStatus
-> FromJSONKeyFunction [AquaConfigurationStatus]
-> FromJSONKey AquaConfigurationStatus
forall a.
FromJSONKeyFunction a -> FromJSONKeyFunction [a] -> FromJSONKey a
fromJSONKeyList :: FromJSONKeyFunction [AquaConfigurationStatus]
$cfromJSONKeyList :: FromJSONKeyFunction [AquaConfigurationStatus]
fromJSONKey :: FromJSONKeyFunction AquaConfigurationStatus
$cfromJSONKey :: FromJSONKeyFunction AquaConfigurationStatus
Core.FromJSONKey,
[AquaConfigurationStatus] -> Encoding
[AquaConfigurationStatus] -> Value
AquaConfigurationStatus -> Encoding
AquaConfigurationStatus -> Value
(AquaConfigurationStatus -> Value)
-> (AquaConfigurationStatus -> Encoding)
-> ([AquaConfigurationStatus] -> Value)
-> ([AquaConfigurationStatus] -> Encoding)
-> ToJSON AquaConfigurationStatus
forall a.
(a -> Value)
-> (a -> Encoding)
-> ([a] -> Value)
-> ([a] -> Encoding)
-> ToJSON a
toEncodingList :: [AquaConfigurationStatus] -> Encoding
$ctoEncodingList :: [AquaConfigurationStatus] -> Encoding
toJSONList :: [AquaConfigurationStatus] -> Value
$ctoJSONList :: [AquaConfigurationStatus] -> Value
toEncoding :: AquaConfigurationStatus -> Encoding
$ctoEncoding :: AquaConfigurationStatus -> Encoding
toJSON :: AquaConfigurationStatus -> Value
$ctoJSON :: AquaConfigurationStatus -> Value
Core.ToJSON,
ToJSONKeyFunction [AquaConfigurationStatus]
ToJSONKeyFunction AquaConfigurationStatus
ToJSONKeyFunction AquaConfigurationStatus
-> ToJSONKeyFunction [AquaConfigurationStatus]
-> ToJSONKey AquaConfigurationStatus
forall a.
ToJSONKeyFunction a -> ToJSONKeyFunction [a] -> ToJSONKey a
toJSONKeyList :: ToJSONKeyFunction [AquaConfigurationStatus]
$ctoJSONKeyList :: ToJSONKeyFunction [AquaConfigurationStatus]
toJSONKey :: ToJSONKeyFunction AquaConfigurationStatus
$ctoJSONKey :: ToJSONKeyFunction AquaConfigurationStatus
Core.ToJSONKey,
[Node] -> Either String AquaConfigurationStatus
([Node] -> Either String AquaConfigurationStatus)
-> FromXML AquaConfigurationStatus
forall a. ([Node] -> Either String a) -> FromXML a
parseXML :: [Node] -> Either String AquaConfigurationStatus
$cparseXML :: [Node] -> Either String AquaConfigurationStatus
Core.FromXML,
AquaConfigurationStatus -> XML
(AquaConfigurationStatus -> XML) -> ToXML AquaConfigurationStatus
forall a. (a -> XML) -> ToXML a
toXML :: AquaConfigurationStatus -> XML
$ctoXML :: AquaConfigurationStatus -> XML
Core.ToXML
)
pattern AquaConfigurationStatus_Auto :: AquaConfigurationStatus
pattern $bAquaConfigurationStatus_Auto :: AquaConfigurationStatus
$mAquaConfigurationStatus_Auto :: forall r.
AquaConfigurationStatus -> (Void# -> r) -> (Void# -> r) -> r
AquaConfigurationStatus_Auto = AquaConfigurationStatus' "auto"
pattern AquaConfigurationStatus_Disabled :: AquaConfigurationStatus
pattern $bAquaConfigurationStatus_Disabled :: AquaConfigurationStatus
$mAquaConfigurationStatus_Disabled :: forall r.
AquaConfigurationStatus -> (Void# -> r) -> (Void# -> r) -> r
AquaConfigurationStatus_Disabled = AquaConfigurationStatus' "disabled"
pattern AquaConfigurationStatus_Enabled :: AquaConfigurationStatus
pattern $bAquaConfigurationStatus_Enabled :: AquaConfigurationStatus
$mAquaConfigurationStatus_Enabled :: forall r.
AquaConfigurationStatus -> (Void# -> r) -> (Void# -> r) -> r
AquaConfigurationStatus_Enabled = AquaConfigurationStatus' "enabled"
{-# COMPLETE
AquaConfigurationStatus_Auto,
AquaConfigurationStatus_Disabled,
AquaConfigurationStatus_Enabled,
AquaConfigurationStatus'
#-}