{-# 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.AppAttributesKeys
-- 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.AppAttributesKeys
  ( AppAttributesKeys
      ( ..,
        AppAttributesKeys_AutoBundleOnDeploy,
        AppAttributesKeys_AwsFlowRubySettings,
        AppAttributesKeys_DocumentRoot,
        AppAttributesKeys_RailsEnv
      ),
  )
where

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

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

pattern AppAttributesKeys_AutoBundleOnDeploy :: AppAttributesKeys
pattern $bAppAttributesKeys_AutoBundleOnDeploy :: AppAttributesKeys
$mAppAttributesKeys_AutoBundleOnDeploy :: forall r. AppAttributesKeys -> (Void# -> r) -> (Void# -> r) -> r
AppAttributesKeys_AutoBundleOnDeploy = AppAttributesKeys' "AutoBundleOnDeploy"

pattern AppAttributesKeys_AwsFlowRubySettings :: AppAttributesKeys
pattern $bAppAttributesKeys_AwsFlowRubySettings :: AppAttributesKeys
$mAppAttributesKeys_AwsFlowRubySettings :: forall r. AppAttributesKeys -> (Void# -> r) -> (Void# -> r) -> r
AppAttributesKeys_AwsFlowRubySettings = AppAttributesKeys' "AwsFlowRubySettings"

pattern AppAttributesKeys_DocumentRoot :: AppAttributesKeys
pattern $bAppAttributesKeys_DocumentRoot :: AppAttributesKeys
$mAppAttributesKeys_DocumentRoot :: forall r. AppAttributesKeys -> (Void# -> r) -> (Void# -> r) -> r
AppAttributesKeys_DocumentRoot = AppAttributesKeys' "DocumentRoot"

pattern AppAttributesKeys_RailsEnv :: AppAttributesKeys
pattern $bAppAttributesKeys_RailsEnv :: AppAttributesKeys
$mAppAttributesKeys_RailsEnv :: forall r. AppAttributesKeys -> (Void# -> r) -> (Void# -> r) -> r
AppAttributesKeys_RailsEnv = AppAttributesKeys' "RailsEnv"

{-# COMPLETE
  AppAttributesKeys_AutoBundleOnDeploy,
  AppAttributesKeys_AwsFlowRubySettings,
  AppAttributesKeys_DocumentRoot,
  AppAttributesKeys_RailsEnv,
  AppAttributesKeys'
  #-}