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