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