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