{-# 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.OpsWorks.Types.StackAttributesKeys
-- 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.OpsWorks.Types.StackAttributesKeys
  ( StackAttributesKeys
      ( ..,
        StackAttributesKeys_Color
      ),
  )
where

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

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

pattern StackAttributesKeys_Color :: StackAttributesKeys
pattern $bStackAttributesKeys_Color :: StackAttributesKeys
$mStackAttributesKeys_Color :: forall {r}.
StackAttributesKeys -> ((# #) -> r) -> ((# #) -> r) -> r
StackAttributesKeys_Color = StackAttributesKeys' "Color"

{-# COMPLETE
  StackAttributesKeys_Color,
  StackAttributesKeys'
  #-}