{-# LANGUAGE DeriveGeneric #-}
{-# LANGUAGE DerivingStrategies #-}
{-# LANGUAGE GeneralizedNewtypeDeriving #-}
{-# LANGUAGE LambdaCase #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE PatternSynonyms #-}
{-# LANGUAGE StrictData #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# OPTIONS_GHC -fno-warn-unused-imports #-}
module Amazonka.Config.Types.OrganizationResourceDetailedStatus
( OrganizationResourceDetailedStatus
( ..,
OrganizationResourceDetailedStatus_CREATE_FAILED,
OrganizationResourceDetailedStatus_CREATE_IN_PROGRESS,
OrganizationResourceDetailedStatus_CREATE_SUCCESSFUL,
OrganizationResourceDetailedStatus_DELETE_FAILED,
OrganizationResourceDetailedStatus_DELETE_IN_PROGRESS,
OrganizationResourceDetailedStatus_DELETE_SUCCESSFUL,
OrganizationResourceDetailedStatus_UPDATE_FAILED,
OrganizationResourceDetailedStatus_UPDATE_IN_PROGRESS,
OrganizationResourceDetailedStatus_UPDATE_SUCCESSFUL
),
)
where
import qualified Amazonka.Core as Core
import qualified Amazonka.Prelude as Prelude
newtype OrganizationResourceDetailedStatus = OrganizationResourceDetailedStatus'
{ OrganizationResourceDetailedStatus -> Text
fromOrganizationResourceDetailedStatus ::
Core.Text
}
deriving stock
( Int -> OrganizationResourceDetailedStatus -> ShowS
[OrganizationResourceDetailedStatus] -> ShowS
OrganizationResourceDetailedStatus -> String
(Int -> OrganizationResourceDetailedStatus -> ShowS)
-> (OrganizationResourceDetailedStatus -> String)
-> ([OrganizationResourceDetailedStatus] -> ShowS)
-> Show OrganizationResourceDetailedStatus
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [OrganizationResourceDetailedStatus] -> ShowS
$cshowList :: [OrganizationResourceDetailedStatus] -> ShowS
show :: OrganizationResourceDetailedStatus -> String
$cshow :: OrganizationResourceDetailedStatus -> String
showsPrec :: Int -> OrganizationResourceDetailedStatus -> ShowS
$cshowsPrec :: Int -> OrganizationResourceDetailedStatus -> ShowS
Prelude.Show,
ReadPrec [OrganizationResourceDetailedStatus]
ReadPrec OrganizationResourceDetailedStatus
Int -> ReadS OrganizationResourceDetailedStatus
ReadS [OrganizationResourceDetailedStatus]
(Int -> ReadS OrganizationResourceDetailedStatus)
-> ReadS [OrganizationResourceDetailedStatus]
-> ReadPrec OrganizationResourceDetailedStatus
-> ReadPrec [OrganizationResourceDetailedStatus]
-> Read OrganizationResourceDetailedStatus
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [OrganizationResourceDetailedStatus]
$creadListPrec :: ReadPrec [OrganizationResourceDetailedStatus]
readPrec :: ReadPrec OrganizationResourceDetailedStatus
$creadPrec :: ReadPrec OrganizationResourceDetailedStatus
readList :: ReadS [OrganizationResourceDetailedStatus]
$creadList :: ReadS [OrganizationResourceDetailedStatus]
readsPrec :: Int -> ReadS OrganizationResourceDetailedStatus
$creadsPrec :: Int -> ReadS OrganizationResourceDetailedStatus
Prelude.Read,
OrganizationResourceDetailedStatus
-> OrganizationResourceDetailedStatus -> Bool
(OrganizationResourceDetailedStatus
-> OrganizationResourceDetailedStatus -> Bool)
-> (OrganizationResourceDetailedStatus
-> OrganizationResourceDetailedStatus -> Bool)
-> Eq OrganizationResourceDetailedStatus
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: OrganizationResourceDetailedStatus
-> OrganizationResourceDetailedStatus -> Bool
$c/= :: OrganizationResourceDetailedStatus
-> OrganizationResourceDetailedStatus -> Bool
== :: OrganizationResourceDetailedStatus
-> OrganizationResourceDetailedStatus -> Bool
$c== :: OrganizationResourceDetailedStatus
-> OrganizationResourceDetailedStatus -> Bool
Prelude.Eq,
Eq OrganizationResourceDetailedStatus
Eq OrganizationResourceDetailedStatus
-> (OrganizationResourceDetailedStatus
-> OrganizationResourceDetailedStatus -> Ordering)
-> (OrganizationResourceDetailedStatus
-> OrganizationResourceDetailedStatus -> Bool)
-> (OrganizationResourceDetailedStatus
-> OrganizationResourceDetailedStatus -> Bool)
-> (OrganizationResourceDetailedStatus
-> OrganizationResourceDetailedStatus -> Bool)
-> (OrganizationResourceDetailedStatus
-> OrganizationResourceDetailedStatus -> Bool)
-> (OrganizationResourceDetailedStatus
-> OrganizationResourceDetailedStatus
-> OrganizationResourceDetailedStatus)
-> (OrganizationResourceDetailedStatus
-> OrganizationResourceDetailedStatus
-> OrganizationResourceDetailedStatus)
-> Ord OrganizationResourceDetailedStatus
OrganizationResourceDetailedStatus
-> OrganizationResourceDetailedStatus -> Bool
OrganizationResourceDetailedStatus
-> OrganizationResourceDetailedStatus -> Ordering
OrganizationResourceDetailedStatus
-> OrganizationResourceDetailedStatus
-> OrganizationResourceDetailedStatus
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 :: OrganizationResourceDetailedStatus
-> OrganizationResourceDetailedStatus
-> OrganizationResourceDetailedStatus
$cmin :: OrganizationResourceDetailedStatus
-> OrganizationResourceDetailedStatus
-> OrganizationResourceDetailedStatus
max :: OrganizationResourceDetailedStatus
-> OrganizationResourceDetailedStatus
-> OrganizationResourceDetailedStatus
$cmax :: OrganizationResourceDetailedStatus
-> OrganizationResourceDetailedStatus
-> OrganizationResourceDetailedStatus
>= :: OrganizationResourceDetailedStatus
-> OrganizationResourceDetailedStatus -> Bool
$c>= :: OrganizationResourceDetailedStatus
-> OrganizationResourceDetailedStatus -> Bool
> :: OrganizationResourceDetailedStatus
-> OrganizationResourceDetailedStatus -> Bool
$c> :: OrganizationResourceDetailedStatus
-> OrganizationResourceDetailedStatus -> Bool
<= :: OrganizationResourceDetailedStatus
-> OrganizationResourceDetailedStatus -> Bool
$c<= :: OrganizationResourceDetailedStatus
-> OrganizationResourceDetailedStatus -> Bool
< :: OrganizationResourceDetailedStatus
-> OrganizationResourceDetailedStatus -> Bool
$c< :: OrganizationResourceDetailedStatus
-> OrganizationResourceDetailedStatus -> Bool
compare :: OrganizationResourceDetailedStatus
-> OrganizationResourceDetailedStatus -> Ordering
$ccompare :: OrganizationResourceDetailedStatus
-> OrganizationResourceDetailedStatus -> Ordering
$cp1Ord :: Eq OrganizationResourceDetailedStatus
Prelude.Ord,
(forall x.
OrganizationResourceDetailedStatus
-> Rep OrganizationResourceDetailedStatus x)
-> (forall x.
Rep OrganizationResourceDetailedStatus x
-> OrganizationResourceDetailedStatus)
-> Generic OrganizationResourceDetailedStatus
forall x.
Rep OrganizationResourceDetailedStatus x
-> OrganizationResourceDetailedStatus
forall x.
OrganizationResourceDetailedStatus
-> Rep OrganizationResourceDetailedStatus x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep OrganizationResourceDetailedStatus x
-> OrganizationResourceDetailedStatus
$cfrom :: forall x.
OrganizationResourceDetailedStatus
-> Rep OrganizationResourceDetailedStatus x
Prelude.Generic
)
deriving newtype
( Int -> OrganizationResourceDetailedStatus -> Int
OrganizationResourceDetailedStatus -> Int
(Int -> OrganizationResourceDetailedStatus -> Int)
-> (OrganizationResourceDetailedStatus -> Int)
-> Hashable OrganizationResourceDetailedStatus
forall a. (Int -> a -> Int) -> (a -> Int) -> Hashable a
hash :: OrganizationResourceDetailedStatus -> Int
$chash :: OrganizationResourceDetailedStatus -> Int
hashWithSalt :: Int -> OrganizationResourceDetailedStatus -> Int
$chashWithSalt :: Int -> OrganizationResourceDetailedStatus -> Int
Prelude.Hashable,
OrganizationResourceDetailedStatus -> ()
(OrganizationResourceDetailedStatus -> ())
-> NFData OrganizationResourceDetailedStatus
forall a. (a -> ()) -> NFData a
rnf :: OrganizationResourceDetailedStatus -> ()
$crnf :: OrganizationResourceDetailedStatus -> ()
Prelude.NFData,
Text -> Either String OrganizationResourceDetailedStatus
(Text -> Either String OrganizationResourceDetailedStatus)
-> FromText OrganizationResourceDetailedStatus
forall a. (Text -> Either String a) -> FromText a
fromText :: Text -> Either String OrganizationResourceDetailedStatus
$cfromText :: Text -> Either String OrganizationResourceDetailedStatus
Core.FromText,
OrganizationResourceDetailedStatus -> Text
(OrganizationResourceDetailedStatus -> Text)
-> ToText OrganizationResourceDetailedStatus
forall a. (a -> Text) -> ToText a
toText :: OrganizationResourceDetailedStatus -> Text
$ctoText :: OrganizationResourceDetailedStatus -> Text
Core.ToText,
OrganizationResourceDetailedStatus -> ByteString
(OrganizationResourceDetailedStatus -> ByteString)
-> ToByteString OrganizationResourceDetailedStatus
forall a. (a -> ByteString) -> ToByteString a
toBS :: OrganizationResourceDetailedStatus -> ByteString
$ctoBS :: OrganizationResourceDetailedStatus -> ByteString
Core.ToByteString,
OrganizationResourceDetailedStatus -> ByteStringBuilder
(OrganizationResourceDetailedStatus -> ByteStringBuilder)
-> ToLog OrganizationResourceDetailedStatus
forall a. (a -> ByteStringBuilder) -> ToLog a
build :: OrganizationResourceDetailedStatus -> ByteStringBuilder
$cbuild :: OrganizationResourceDetailedStatus -> ByteStringBuilder
Core.ToLog,
HeaderName -> OrganizationResourceDetailedStatus -> [Header]
(HeaderName -> OrganizationResourceDetailedStatus -> [Header])
-> ToHeader OrganizationResourceDetailedStatus
forall a. (HeaderName -> a -> [Header]) -> ToHeader a
toHeader :: HeaderName -> OrganizationResourceDetailedStatus -> [Header]
$ctoHeader :: HeaderName -> OrganizationResourceDetailedStatus -> [Header]
Core.ToHeader,
OrganizationResourceDetailedStatus -> QueryString
(OrganizationResourceDetailedStatus -> QueryString)
-> ToQuery OrganizationResourceDetailedStatus
forall a. (a -> QueryString) -> ToQuery a
toQuery :: OrganizationResourceDetailedStatus -> QueryString
$ctoQuery :: OrganizationResourceDetailedStatus -> QueryString
Core.ToQuery,
Value -> Parser [OrganizationResourceDetailedStatus]
Value -> Parser OrganizationResourceDetailedStatus
(Value -> Parser OrganizationResourceDetailedStatus)
-> (Value -> Parser [OrganizationResourceDetailedStatus])
-> FromJSON OrganizationResourceDetailedStatus
forall a.
(Value -> Parser a) -> (Value -> Parser [a]) -> FromJSON a
parseJSONList :: Value -> Parser [OrganizationResourceDetailedStatus]
$cparseJSONList :: Value -> Parser [OrganizationResourceDetailedStatus]
parseJSON :: Value -> Parser OrganizationResourceDetailedStatus
$cparseJSON :: Value -> Parser OrganizationResourceDetailedStatus
Core.FromJSON,
FromJSONKeyFunction [OrganizationResourceDetailedStatus]
FromJSONKeyFunction OrganizationResourceDetailedStatus
FromJSONKeyFunction OrganizationResourceDetailedStatus
-> FromJSONKeyFunction [OrganizationResourceDetailedStatus]
-> FromJSONKey OrganizationResourceDetailedStatus
forall a.
FromJSONKeyFunction a -> FromJSONKeyFunction [a] -> FromJSONKey a
fromJSONKeyList :: FromJSONKeyFunction [OrganizationResourceDetailedStatus]
$cfromJSONKeyList :: FromJSONKeyFunction [OrganizationResourceDetailedStatus]
fromJSONKey :: FromJSONKeyFunction OrganizationResourceDetailedStatus
$cfromJSONKey :: FromJSONKeyFunction OrganizationResourceDetailedStatus
Core.FromJSONKey,
[OrganizationResourceDetailedStatus] -> Encoding
[OrganizationResourceDetailedStatus] -> Value
OrganizationResourceDetailedStatus -> Encoding
OrganizationResourceDetailedStatus -> Value
(OrganizationResourceDetailedStatus -> Value)
-> (OrganizationResourceDetailedStatus -> Encoding)
-> ([OrganizationResourceDetailedStatus] -> Value)
-> ([OrganizationResourceDetailedStatus] -> Encoding)
-> ToJSON OrganizationResourceDetailedStatus
forall a.
(a -> Value)
-> (a -> Encoding)
-> ([a] -> Value)
-> ([a] -> Encoding)
-> ToJSON a
toEncodingList :: [OrganizationResourceDetailedStatus] -> Encoding
$ctoEncodingList :: [OrganizationResourceDetailedStatus] -> Encoding
toJSONList :: [OrganizationResourceDetailedStatus] -> Value
$ctoJSONList :: [OrganizationResourceDetailedStatus] -> Value
toEncoding :: OrganizationResourceDetailedStatus -> Encoding
$ctoEncoding :: OrganizationResourceDetailedStatus -> Encoding
toJSON :: OrganizationResourceDetailedStatus -> Value
$ctoJSON :: OrganizationResourceDetailedStatus -> Value
Core.ToJSON,
ToJSONKeyFunction [OrganizationResourceDetailedStatus]
ToJSONKeyFunction OrganizationResourceDetailedStatus
ToJSONKeyFunction OrganizationResourceDetailedStatus
-> ToJSONKeyFunction [OrganizationResourceDetailedStatus]
-> ToJSONKey OrganizationResourceDetailedStatus
forall a.
ToJSONKeyFunction a -> ToJSONKeyFunction [a] -> ToJSONKey a
toJSONKeyList :: ToJSONKeyFunction [OrganizationResourceDetailedStatus]
$ctoJSONKeyList :: ToJSONKeyFunction [OrganizationResourceDetailedStatus]
toJSONKey :: ToJSONKeyFunction OrganizationResourceDetailedStatus
$ctoJSONKey :: ToJSONKeyFunction OrganizationResourceDetailedStatus
Core.ToJSONKey,
[Node] -> Either String OrganizationResourceDetailedStatus
([Node] -> Either String OrganizationResourceDetailedStatus)
-> FromXML OrganizationResourceDetailedStatus
forall a. ([Node] -> Either String a) -> FromXML a
parseXML :: [Node] -> Either String OrganizationResourceDetailedStatus
$cparseXML :: [Node] -> Either String OrganizationResourceDetailedStatus
Core.FromXML,
OrganizationResourceDetailedStatus -> XML
(OrganizationResourceDetailedStatus -> XML)
-> ToXML OrganizationResourceDetailedStatus
forall a. (a -> XML) -> ToXML a
toXML :: OrganizationResourceDetailedStatus -> XML
$ctoXML :: OrganizationResourceDetailedStatus -> XML
Core.ToXML
)
pattern OrganizationResourceDetailedStatus_CREATE_FAILED :: OrganizationResourceDetailedStatus
pattern $bOrganizationResourceDetailedStatus_CREATE_FAILED :: OrganizationResourceDetailedStatus
$mOrganizationResourceDetailedStatus_CREATE_FAILED :: forall r.
OrganizationResourceDetailedStatus
-> (Void# -> r) -> (Void# -> r) -> r
OrganizationResourceDetailedStatus_CREATE_FAILED = OrganizationResourceDetailedStatus' "CREATE_FAILED"
pattern OrganizationResourceDetailedStatus_CREATE_IN_PROGRESS :: OrganizationResourceDetailedStatus
pattern $bOrganizationResourceDetailedStatus_CREATE_IN_PROGRESS :: OrganizationResourceDetailedStatus
$mOrganizationResourceDetailedStatus_CREATE_IN_PROGRESS :: forall r.
OrganizationResourceDetailedStatus
-> (Void# -> r) -> (Void# -> r) -> r
OrganizationResourceDetailedStatus_CREATE_IN_PROGRESS = OrganizationResourceDetailedStatus' "CREATE_IN_PROGRESS"
pattern OrganizationResourceDetailedStatus_CREATE_SUCCESSFUL :: OrganizationResourceDetailedStatus
pattern $bOrganizationResourceDetailedStatus_CREATE_SUCCESSFUL :: OrganizationResourceDetailedStatus
$mOrganizationResourceDetailedStatus_CREATE_SUCCESSFUL :: forall r.
OrganizationResourceDetailedStatus
-> (Void# -> r) -> (Void# -> r) -> r
OrganizationResourceDetailedStatus_CREATE_SUCCESSFUL = OrganizationResourceDetailedStatus' "CREATE_SUCCESSFUL"
pattern OrganizationResourceDetailedStatus_DELETE_FAILED :: OrganizationResourceDetailedStatus
pattern $bOrganizationResourceDetailedStatus_DELETE_FAILED :: OrganizationResourceDetailedStatus
$mOrganizationResourceDetailedStatus_DELETE_FAILED :: forall r.
OrganizationResourceDetailedStatus
-> (Void# -> r) -> (Void# -> r) -> r
OrganizationResourceDetailedStatus_DELETE_FAILED = OrganizationResourceDetailedStatus' "DELETE_FAILED"
pattern OrganizationResourceDetailedStatus_DELETE_IN_PROGRESS :: OrganizationResourceDetailedStatus
pattern $bOrganizationResourceDetailedStatus_DELETE_IN_PROGRESS :: OrganizationResourceDetailedStatus
$mOrganizationResourceDetailedStatus_DELETE_IN_PROGRESS :: forall r.
OrganizationResourceDetailedStatus
-> (Void# -> r) -> (Void# -> r) -> r
OrganizationResourceDetailedStatus_DELETE_IN_PROGRESS = OrganizationResourceDetailedStatus' "DELETE_IN_PROGRESS"
pattern OrganizationResourceDetailedStatus_DELETE_SUCCESSFUL :: OrganizationResourceDetailedStatus
pattern $bOrganizationResourceDetailedStatus_DELETE_SUCCESSFUL :: OrganizationResourceDetailedStatus
$mOrganizationResourceDetailedStatus_DELETE_SUCCESSFUL :: forall r.
OrganizationResourceDetailedStatus
-> (Void# -> r) -> (Void# -> r) -> r
OrganizationResourceDetailedStatus_DELETE_SUCCESSFUL = OrganizationResourceDetailedStatus' "DELETE_SUCCESSFUL"
pattern OrganizationResourceDetailedStatus_UPDATE_FAILED :: OrganizationResourceDetailedStatus
pattern $bOrganizationResourceDetailedStatus_UPDATE_FAILED :: OrganizationResourceDetailedStatus
$mOrganizationResourceDetailedStatus_UPDATE_FAILED :: forall r.
OrganizationResourceDetailedStatus
-> (Void# -> r) -> (Void# -> r) -> r
OrganizationResourceDetailedStatus_UPDATE_FAILED = OrganizationResourceDetailedStatus' "UPDATE_FAILED"
pattern OrganizationResourceDetailedStatus_UPDATE_IN_PROGRESS :: OrganizationResourceDetailedStatus
pattern $bOrganizationResourceDetailedStatus_UPDATE_IN_PROGRESS :: OrganizationResourceDetailedStatus
$mOrganizationResourceDetailedStatus_UPDATE_IN_PROGRESS :: forall r.
OrganizationResourceDetailedStatus
-> (Void# -> r) -> (Void# -> r) -> r
OrganizationResourceDetailedStatus_UPDATE_IN_PROGRESS = OrganizationResourceDetailedStatus' "UPDATE_IN_PROGRESS"
pattern OrganizationResourceDetailedStatus_UPDATE_SUCCESSFUL :: OrganizationResourceDetailedStatus
pattern $bOrganizationResourceDetailedStatus_UPDATE_SUCCESSFUL :: OrganizationResourceDetailedStatus
$mOrganizationResourceDetailedStatus_UPDATE_SUCCESSFUL :: forall r.
OrganizationResourceDetailedStatus
-> (Void# -> r) -> (Void# -> r) -> r
OrganizationResourceDetailedStatus_UPDATE_SUCCESSFUL = OrganizationResourceDetailedStatus' "UPDATE_SUCCESSFUL"
{-# COMPLETE
OrganizationResourceDetailedStatus_CREATE_FAILED,
OrganizationResourceDetailedStatus_CREATE_IN_PROGRESS,
OrganizationResourceDetailedStatus_CREATE_SUCCESSFUL,
OrganizationResourceDetailedStatus_DELETE_FAILED,
OrganizationResourceDetailedStatus_DELETE_IN_PROGRESS,
OrganizationResourceDetailedStatus_DELETE_SUCCESSFUL,
OrganizationResourceDetailedStatus_UPDATE_FAILED,
OrganizationResourceDetailedStatus_UPDATE_IN_PROGRESS,
OrganizationResourceDetailedStatus_UPDATE_SUCCESSFUL,
OrganizationResourceDetailedStatus'
#-}