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