{-# LANGUAGE DeriveGeneric #-}
{-# LANGUAGE DerivingStrategies #-}
{-# LANGUAGE GeneralizedNewtypeDeriving #-}
{-# LANGUAGE LambdaCase #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE PatternSynonyms #-}
{-# LANGUAGE StrictData #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# OPTIONS_GHC -fno-warn-unused-imports #-}
module Amazonka.ResourceGroups.Types.GroupConfigurationStatus
( GroupConfigurationStatus
( ..,
GroupConfigurationStatus_UPDATE_COMPLETE,
GroupConfigurationStatus_UPDATE_FAILED,
GroupConfigurationStatus_UPDATING
),
)
where
import qualified Amazonka.Core as Core
import qualified Amazonka.Prelude as Prelude
newtype GroupConfigurationStatus = GroupConfigurationStatus'
{ GroupConfigurationStatus -> Text
fromGroupConfigurationStatus ::
Core.Text
}
deriving stock
( Int -> GroupConfigurationStatus -> ShowS
[GroupConfigurationStatus] -> ShowS
GroupConfigurationStatus -> String
(Int -> GroupConfigurationStatus -> ShowS)
-> (GroupConfigurationStatus -> String)
-> ([GroupConfigurationStatus] -> ShowS)
-> Show GroupConfigurationStatus
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [GroupConfigurationStatus] -> ShowS
$cshowList :: [GroupConfigurationStatus] -> ShowS
show :: GroupConfigurationStatus -> String
$cshow :: GroupConfigurationStatus -> String
showsPrec :: Int -> GroupConfigurationStatus -> ShowS
$cshowsPrec :: Int -> GroupConfigurationStatus -> ShowS
Prelude.Show,
ReadPrec [GroupConfigurationStatus]
ReadPrec GroupConfigurationStatus
Int -> ReadS GroupConfigurationStatus
ReadS [GroupConfigurationStatus]
(Int -> ReadS GroupConfigurationStatus)
-> ReadS [GroupConfigurationStatus]
-> ReadPrec GroupConfigurationStatus
-> ReadPrec [GroupConfigurationStatus]
-> Read GroupConfigurationStatus
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [GroupConfigurationStatus]
$creadListPrec :: ReadPrec [GroupConfigurationStatus]
readPrec :: ReadPrec GroupConfigurationStatus
$creadPrec :: ReadPrec GroupConfigurationStatus
readList :: ReadS [GroupConfigurationStatus]
$creadList :: ReadS [GroupConfigurationStatus]
readsPrec :: Int -> ReadS GroupConfigurationStatus
$creadsPrec :: Int -> ReadS GroupConfigurationStatus
Prelude.Read,
GroupConfigurationStatus -> GroupConfigurationStatus -> Bool
(GroupConfigurationStatus -> GroupConfigurationStatus -> Bool)
-> (GroupConfigurationStatus -> GroupConfigurationStatus -> Bool)
-> Eq GroupConfigurationStatus
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: GroupConfigurationStatus -> GroupConfigurationStatus -> Bool
$c/= :: GroupConfigurationStatus -> GroupConfigurationStatus -> Bool
== :: GroupConfigurationStatus -> GroupConfigurationStatus -> Bool
$c== :: GroupConfigurationStatus -> GroupConfigurationStatus -> Bool
Prelude.Eq,
Eq GroupConfigurationStatus
Eq GroupConfigurationStatus
-> (GroupConfigurationStatus
-> GroupConfigurationStatus -> Ordering)
-> (GroupConfigurationStatus -> GroupConfigurationStatus -> Bool)
-> (GroupConfigurationStatus -> GroupConfigurationStatus -> Bool)
-> (GroupConfigurationStatus -> GroupConfigurationStatus -> Bool)
-> (GroupConfigurationStatus -> GroupConfigurationStatus -> Bool)
-> (GroupConfigurationStatus
-> GroupConfigurationStatus -> GroupConfigurationStatus)
-> (GroupConfigurationStatus
-> GroupConfigurationStatus -> GroupConfigurationStatus)
-> Ord GroupConfigurationStatus
GroupConfigurationStatus -> GroupConfigurationStatus -> Bool
GroupConfigurationStatus -> GroupConfigurationStatus -> Ordering
GroupConfigurationStatus
-> GroupConfigurationStatus -> GroupConfigurationStatus
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 :: GroupConfigurationStatus
-> GroupConfigurationStatus -> GroupConfigurationStatus
$cmin :: GroupConfigurationStatus
-> GroupConfigurationStatus -> GroupConfigurationStatus
max :: GroupConfigurationStatus
-> GroupConfigurationStatus -> GroupConfigurationStatus
$cmax :: GroupConfigurationStatus
-> GroupConfigurationStatus -> GroupConfigurationStatus
>= :: GroupConfigurationStatus -> GroupConfigurationStatus -> Bool
$c>= :: GroupConfigurationStatus -> GroupConfigurationStatus -> Bool
> :: GroupConfigurationStatus -> GroupConfigurationStatus -> Bool
$c> :: GroupConfigurationStatus -> GroupConfigurationStatus -> Bool
<= :: GroupConfigurationStatus -> GroupConfigurationStatus -> Bool
$c<= :: GroupConfigurationStatus -> GroupConfigurationStatus -> Bool
< :: GroupConfigurationStatus -> GroupConfigurationStatus -> Bool
$c< :: GroupConfigurationStatus -> GroupConfigurationStatus -> Bool
compare :: GroupConfigurationStatus -> GroupConfigurationStatus -> Ordering
$ccompare :: GroupConfigurationStatus -> GroupConfigurationStatus -> Ordering
$cp1Ord :: Eq GroupConfigurationStatus
Prelude.Ord,
(forall x.
GroupConfigurationStatus -> Rep GroupConfigurationStatus x)
-> (forall x.
Rep GroupConfigurationStatus x -> GroupConfigurationStatus)
-> Generic GroupConfigurationStatus
forall x.
Rep GroupConfigurationStatus x -> GroupConfigurationStatus
forall x.
GroupConfigurationStatus -> Rep GroupConfigurationStatus x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep GroupConfigurationStatus x -> GroupConfigurationStatus
$cfrom :: forall x.
GroupConfigurationStatus -> Rep GroupConfigurationStatus x
Prelude.Generic
)
deriving newtype
( Int -> GroupConfigurationStatus -> Int
GroupConfigurationStatus -> Int
(Int -> GroupConfigurationStatus -> Int)
-> (GroupConfigurationStatus -> Int)
-> Hashable GroupConfigurationStatus
forall a. (Int -> a -> Int) -> (a -> Int) -> Hashable a
hash :: GroupConfigurationStatus -> Int
$chash :: GroupConfigurationStatus -> Int
hashWithSalt :: Int -> GroupConfigurationStatus -> Int
$chashWithSalt :: Int -> GroupConfigurationStatus -> Int
Prelude.Hashable,
GroupConfigurationStatus -> ()
(GroupConfigurationStatus -> ()) -> NFData GroupConfigurationStatus
forall a. (a -> ()) -> NFData a
rnf :: GroupConfigurationStatus -> ()
$crnf :: GroupConfigurationStatus -> ()
Prelude.NFData,
Text -> Either String GroupConfigurationStatus
(Text -> Either String GroupConfigurationStatus)
-> FromText GroupConfigurationStatus
forall a. (Text -> Either String a) -> FromText a
fromText :: Text -> Either String GroupConfigurationStatus
$cfromText :: Text -> Either String GroupConfigurationStatus
Core.FromText,
GroupConfigurationStatus -> Text
(GroupConfigurationStatus -> Text)
-> ToText GroupConfigurationStatus
forall a. (a -> Text) -> ToText a
toText :: GroupConfigurationStatus -> Text
$ctoText :: GroupConfigurationStatus -> Text
Core.ToText,
GroupConfigurationStatus -> ByteString
(GroupConfigurationStatus -> ByteString)
-> ToByteString GroupConfigurationStatus
forall a. (a -> ByteString) -> ToByteString a
toBS :: GroupConfigurationStatus -> ByteString
$ctoBS :: GroupConfigurationStatus -> ByteString
Core.ToByteString,
GroupConfigurationStatus -> ByteStringBuilder
(GroupConfigurationStatus -> ByteStringBuilder)
-> ToLog GroupConfigurationStatus
forall a. (a -> ByteStringBuilder) -> ToLog a
build :: GroupConfigurationStatus -> ByteStringBuilder
$cbuild :: GroupConfigurationStatus -> ByteStringBuilder
Core.ToLog,
HeaderName -> GroupConfigurationStatus -> [Header]
(HeaderName -> GroupConfigurationStatus -> [Header])
-> ToHeader GroupConfigurationStatus
forall a. (HeaderName -> a -> [Header]) -> ToHeader a
toHeader :: HeaderName -> GroupConfigurationStatus -> [Header]
$ctoHeader :: HeaderName -> GroupConfigurationStatus -> [Header]
Core.ToHeader,
GroupConfigurationStatus -> QueryString
(GroupConfigurationStatus -> QueryString)
-> ToQuery GroupConfigurationStatus
forall a. (a -> QueryString) -> ToQuery a
toQuery :: GroupConfigurationStatus -> QueryString
$ctoQuery :: GroupConfigurationStatus -> QueryString
Core.ToQuery,
Value -> Parser [GroupConfigurationStatus]
Value -> Parser GroupConfigurationStatus
(Value -> Parser GroupConfigurationStatus)
-> (Value -> Parser [GroupConfigurationStatus])
-> FromJSON GroupConfigurationStatus
forall a.
(Value -> Parser a) -> (Value -> Parser [a]) -> FromJSON a
parseJSONList :: Value -> Parser [GroupConfigurationStatus]
$cparseJSONList :: Value -> Parser [GroupConfigurationStatus]
parseJSON :: Value -> Parser GroupConfigurationStatus
$cparseJSON :: Value -> Parser GroupConfigurationStatus
Core.FromJSON,
FromJSONKeyFunction [GroupConfigurationStatus]
FromJSONKeyFunction GroupConfigurationStatus
FromJSONKeyFunction GroupConfigurationStatus
-> FromJSONKeyFunction [GroupConfigurationStatus]
-> FromJSONKey GroupConfigurationStatus
forall a.
FromJSONKeyFunction a -> FromJSONKeyFunction [a] -> FromJSONKey a
fromJSONKeyList :: FromJSONKeyFunction [GroupConfigurationStatus]
$cfromJSONKeyList :: FromJSONKeyFunction [GroupConfigurationStatus]
fromJSONKey :: FromJSONKeyFunction GroupConfigurationStatus
$cfromJSONKey :: FromJSONKeyFunction GroupConfigurationStatus
Core.FromJSONKey,
[GroupConfigurationStatus] -> Encoding
[GroupConfigurationStatus] -> Value
GroupConfigurationStatus -> Encoding
GroupConfigurationStatus -> Value
(GroupConfigurationStatus -> Value)
-> (GroupConfigurationStatus -> Encoding)
-> ([GroupConfigurationStatus] -> Value)
-> ([GroupConfigurationStatus] -> Encoding)
-> ToJSON GroupConfigurationStatus
forall a.
(a -> Value)
-> (a -> Encoding)
-> ([a] -> Value)
-> ([a] -> Encoding)
-> ToJSON a
toEncodingList :: [GroupConfigurationStatus] -> Encoding
$ctoEncodingList :: [GroupConfigurationStatus] -> Encoding
toJSONList :: [GroupConfigurationStatus] -> Value
$ctoJSONList :: [GroupConfigurationStatus] -> Value
toEncoding :: GroupConfigurationStatus -> Encoding
$ctoEncoding :: GroupConfigurationStatus -> Encoding
toJSON :: GroupConfigurationStatus -> Value
$ctoJSON :: GroupConfigurationStatus -> Value
Core.ToJSON,
ToJSONKeyFunction [GroupConfigurationStatus]
ToJSONKeyFunction GroupConfigurationStatus
ToJSONKeyFunction GroupConfigurationStatus
-> ToJSONKeyFunction [GroupConfigurationStatus]
-> ToJSONKey GroupConfigurationStatus
forall a.
ToJSONKeyFunction a -> ToJSONKeyFunction [a] -> ToJSONKey a
toJSONKeyList :: ToJSONKeyFunction [GroupConfigurationStatus]
$ctoJSONKeyList :: ToJSONKeyFunction [GroupConfigurationStatus]
toJSONKey :: ToJSONKeyFunction GroupConfigurationStatus
$ctoJSONKey :: ToJSONKeyFunction GroupConfigurationStatus
Core.ToJSONKey,
[Node] -> Either String GroupConfigurationStatus
([Node] -> Either String GroupConfigurationStatus)
-> FromXML GroupConfigurationStatus
forall a. ([Node] -> Either String a) -> FromXML a
parseXML :: [Node] -> Either String GroupConfigurationStatus
$cparseXML :: [Node] -> Either String GroupConfigurationStatus
Core.FromXML,
GroupConfigurationStatus -> XML
(GroupConfigurationStatus -> XML) -> ToXML GroupConfigurationStatus
forall a. (a -> XML) -> ToXML a
toXML :: GroupConfigurationStatus -> XML
$ctoXML :: GroupConfigurationStatus -> XML
Core.ToXML
)
pattern GroupConfigurationStatus_UPDATE_COMPLETE :: GroupConfigurationStatus
pattern $bGroupConfigurationStatus_UPDATE_COMPLETE :: GroupConfigurationStatus
$mGroupConfigurationStatus_UPDATE_COMPLETE :: forall r.
GroupConfigurationStatus -> (Void# -> r) -> (Void# -> r) -> r
GroupConfigurationStatus_UPDATE_COMPLETE = GroupConfigurationStatus' "UPDATE_COMPLETE"
pattern GroupConfigurationStatus_UPDATE_FAILED :: GroupConfigurationStatus
pattern $bGroupConfigurationStatus_UPDATE_FAILED :: GroupConfigurationStatus
$mGroupConfigurationStatus_UPDATE_FAILED :: forall r.
GroupConfigurationStatus -> (Void# -> r) -> (Void# -> r) -> r
GroupConfigurationStatus_UPDATE_FAILED = GroupConfigurationStatus' "UPDATE_FAILED"
pattern GroupConfigurationStatus_UPDATING :: GroupConfigurationStatus
pattern $bGroupConfigurationStatus_UPDATING :: GroupConfigurationStatus
$mGroupConfigurationStatus_UPDATING :: forall r.
GroupConfigurationStatus -> (Void# -> r) -> (Void# -> r) -> r
GroupConfigurationStatus_UPDATING = GroupConfigurationStatus' "UPDATING"
{-# COMPLETE
GroupConfigurationStatus_UPDATE_COMPLETE,
GroupConfigurationStatus_UPDATE_FAILED,
GroupConfigurationStatus_UPDATING,
GroupConfigurationStatus'
#-}