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