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

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

newtype StackAttributesKeys = StackAttributesKeys'
  { StackAttributesKeys -> Text
fromStackAttributesKeys ::
      Core.Text
  }
  deriving stock
    ( Int -> StackAttributesKeys -> ShowS
[StackAttributesKeys] -> ShowS
StackAttributesKeys -> String
(Int -> StackAttributesKeys -> ShowS)
-> (StackAttributesKeys -> String)
-> ([StackAttributesKeys] -> ShowS)
-> Show StackAttributesKeys
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]
(Int -> ReadS StackAttributesKeys)
-> ReadS [StackAttributesKeys]
-> ReadPrec StackAttributesKeys
-> ReadPrec [StackAttributesKeys]
-> Read 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
(StackAttributesKeys -> StackAttributesKeys -> Bool)
-> (StackAttributesKeys -> StackAttributesKeys -> Bool)
-> Eq StackAttributesKeys
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
Eq StackAttributesKeys
-> (StackAttributesKeys -> StackAttributesKeys -> Ordering)
-> (StackAttributesKeys -> StackAttributesKeys -> Bool)
-> (StackAttributesKeys -> StackAttributesKeys -> Bool)
-> (StackAttributesKeys -> StackAttributesKeys -> Bool)
-> (StackAttributesKeys -> StackAttributesKeys -> Bool)
-> (StackAttributesKeys
    -> StackAttributesKeys -> StackAttributesKeys)
-> (StackAttributesKeys
    -> StackAttributesKeys -> StackAttributesKeys)
-> Ord 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
$cp1Ord :: Eq StackAttributesKeys
Prelude.Ord,
      (forall x. StackAttributesKeys -> Rep StackAttributesKeys x)
-> (forall x. Rep StackAttributesKeys x -> StackAttributesKeys)
-> Generic StackAttributesKeys
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
    ( Int -> StackAttributesKeys -> Int
StackAttributesKeys -> Int
(Int -> StackAttributesKeys -> Int)
-> (StackAttributesKeys -> Int) -> Hashable StackAttributesKeys
forall 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 -> ()
(StackAttributesKeys -> ()) -> NFData StackAttributesKeys
forall a. (a -> ()) -> NFData a
rnf :: StackAttributesKeys -> ()
$crnf :: StackAttributesKeys -> ()
Prelude.NFData,
      Text -> Either String StackAttributesKeys
(Text -> Either String StackAttributesKeys)
-> FromText StackAttributesKeys
forall a. (Text -> Either String a) -> FromText a
fromText :: Text -> Either String StackAttributesKeys
$cfromText :: Text -> Either String StackAttributesKeys
Core.FromText,
      StackAttributesKeys -> Text
(StackAttributesKeys -> Text) -> ToText StackAttributesKeys
forall a. (a -> Text) -> ToText a
toText :: StackAttributesKeys -> Text
$ctoText :: StackAttributesKeys -> Text
Core.ToText,
      StackAttributesKeys -> ByteString
(StackAttributesKeys -> ByteString)
-> ToByteString StackAttributesKeys
forall a. (a -> ByteString) -> ToByteString a
toBS :: StackAttributesKeys -> ByteString
$ctoBS :: StackAttributesKeys -> ByteString
Core.ToByteString,
      StackAttributesKeys -> ByteStringBuilder
(StackAttributesKeys -> ByteStringBuilder)
-> ToLog StackAttributesKeys
forall a. (a -> ByteStringBuilder) -> ToLog a
build :: StackAttributesKeys -> ByteStringBuilder
$cbuild :: StackAttributesKeys -> ByteStringBuilder
Core.ToLog,
      HeaderName -> StackAttributesKeys -> [Header]
(HeaderName -> StackAttributesKeys -> [Header])
-> ToHeader StackAttributesKeys
forall a. (HeaderName -> a -> [Header]) -> ToHeader a
toHeader :: HeaderName -> StackAttributesKeys -> [Header]
$ctoHeader :: HeaderName -> StackAttributesKeys -> [Header]
Core.ToHeader,
      StackAttributesKeys -> QueryString
(StackAttributesKeys -> QueryString) -> ToQuery StackAttributesKeys
forall a. (a -> QueryString) -> ToQuery a
toQuery :: StackAttributesKeys -> QueryString
$ctoQuery :: StackAttributesKeys -> QueryString
Core.ToQuery,
      Value -> Parser [StackAttributesKeys]
Value -> Parser StackAttributesKeys
(Value -> Parser StackAttributesKeys)
-> (Value -> Parser [StackAttributesKeys])
-> FromJSON 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
Core.FromJSON,
      FromJSONKeyFunction [StackAttributesKeys]
FromJSONKeyFunction StackAttributesKeys
FromJSONKeyFunction StackAttributesKeys
-> FromJSONKeyFunction [StackAttributesKeys]
-> FromJSONKey StackAttributesKeys
forall a.
FromJSONKeyFunction a -> FromJSONKeyFunction [a] -> FromJSONKey a
fromJSONKeyList :: FromJSONKeyFunction [StackAttributesKeys]
$cfromJSONKeyList :: FromJSONKeyFunction [StackAttributesKeys]
fromJSONKey :: FromJSONKeyFunction StackAttributesKeys
$cfromJSONKey :: FromJSONKeyFunction StackAttributesKeys
Core.FromJSONKey,
      [StackAttributesKeys] -> Encoding
[StackAttributesKeys] -> Value
StackAttributesKeys -> Encoding
StackAttributesKeys -> Value
(StackAttributesKeys -> Value)
-> (StackAttributesKeys -> Encoding)
-> ([StackAttributesKeys] -> Value)
-> ([StackAttributesKeys] -> Encoding)
-> ToJSON StackAttributesKeys
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
Core.ToJSON,
      ToJSONKeyFunction [StackAttributesKeys]
ToJSONKeyFunction StackAttributesKeys
ToJSONKeyFunction StackAttributesKeys
-> ToJSONKeyFunction [StackAttributesKeys]
-> ToJSONKey StackAttributesKeys
forall a.
ToJSONKeyFunction a -> ToJSONKeyFunction [a] -> ToJSONKey a
toJSONKeyList :: ToJSONKeyFunction [StackAttributesKeys]
$ctoJSONKeyList :: ToJSONKeyFunction [StackAttributesKeys]
toJSONKey :: ToJSONKeyFunction StackAttributesKeys
$ctoJSONKey :: ToJSONKeyFunction StackAttributesKeys
Core.ToJSONKey,
      [Node] -> Either String StackAttributesKeys
([Node] -> Either String StackAttributesKeys)
-> FromXML StackAttributesKeys
forall a. ([Node] -> Either String a) -> FromXML a
parseXML :: [Node] -> Either String StackAttributesKeys
$cparseXML :: [Node] -> Either String StackAttributesKeys
Core.FromXML,
      StackAttributesKeys -> XML
(StackAttributesKeys -> XML) -> ToXML StackAttributesKeys
forall a. (a -> XML) -> ToXML a
toXML :: StackAttributesKeys -> XML
$ctoXML :: StackAttributesKeys -> XML
Core.ToXML
    )

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

{-# COMPLETE
  StackAttributesKeys_Color,
  StackAttributesKeys'
  #-}