{-# 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.DMS.Types.ReleaseStatusValues
-- Copyright   : (c) 2013-2021 Brendan Hay
-- License     : Mozilla Public License, v. 2.0.
-- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com>
-- Stability   : auto-generated
-- Portability : non-portable (GHC extensions)
module Amazonka.DMS.Types.ReleaseStatusValues
  ( ReleaseStatusValues
      ( ..,
        ReleaseStatusValues_Beta
      ),
  )
where

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

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

pattern ReleaseStatusValues_Beta :: ReleaseStatusValues
pattern $bReleaseStatusValues_Beta :: ReleaseStatusValues
$mReleaseStatusValues_Beta :: forall r. ReleaseStatusValues -> (Void# -> r) -> (Void# -> r) -> r
ReleaseStatusValues_Beta = ReleaseStatusValues' "beta"

{-# COMPLETE
  ReleaseStatusValues_Beta,
  ReleaseStatusValues'
  #-}