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