powerdns-0.4.3: PowerDNS API bindings for api/v1
Safe HaskellSafe-Inferred
LanguageHaskell2010

PowerDNS.API.Cryptokeys

Description

This module implements the endpoints described at Cryptokeys API

Synopsis

API

data CryptokeysAPI f Source #

Constructors

CryptokeysAPI 

Fields

Instances

Instances details
Generic (CryptokeysAPI f) Source # 
Instance details

Defined in PowerDNS.API.Cryptokeys

Associated Types

type Rep (CryptokeysAPI f) :: Type -> Type #

type Rep (CryptokeysAPI f) Source # 
Instance details

Defined in PowerDNS.API.Cryptokeys

type Rep (CryptokeysAPI f) = D1 ('MetaData "CryptokeysAPI" "PowerDNS.API.Cryptokeys" "powerdns-0.4.3-inplace" 'False) (C1 ('MetaCons "CryptokeysAPI" 'PrefixI 'True) ((S1 ('MetaSel ('Just "apiListCryptokeys") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (f :- ("servers" :> (Capture "server_id" Text :> ("zones" :> (Capture "zone_id" Text :> ("cryptokeys" :> Get '[JSON] [Cryptokey]))))))) :*: S1 ('MetaSel ('Just "apiCreateCryptokey") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (f :- ("servers" :> (Capture "server_id" Text :> ("zones" :> (Capture "zone_id" Text :> ("cryptokeys" :> (ReqBody '[JSON] Cryptokey :> PostCreated '[JSON] Cryptokey))))))))) :*: (S1 ('MetaSel ('Just "apiGetCryptokey") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (f :- ("servers" :> (Capture "server_id" Text :> ("zones" :> (Capture "zone_id" Text :> ("cryptokeys" :> (Capture "cryptokey_id" Text :> Get '[JSON] Cryptokey)))))))) :*: (S1 ('MetaSel ('Just "apiUpdateCryptokey") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (f :- ("servers" :> (Capture "server_id" Text :> ("zones" :> (Capture "zone_id" Text :> ("cryptokeys" :> (Capture "cryptokey_id" Text :> (ReqBody '[JSON] Cryptokey :> PutNoContent))))))))) :*: S1 ('MetaSel ('Just "apiDeleteCryptokey") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (f :- ("servers" :> (Capture "server_id" Text :> ("zones" :> (Capture "zone_id" Text :> ("cryptokeys" :> (Capture "cryptokey_id" Text :> DeleteNoContent))))))))))))

Data types

data Cryptokey Source #

Instances

Instances details
FromJSON Cryptokey Source # 
Instance details

Defined in PowerDNS.API.Cryptokeys

Methods

parseJSON :: Value -> Parser Cryptokey

parseJSONList :: Value -> Parser [Cryptokey]

ToJSON Cryptokey Source # 
Instance details

Defined in PowerDNS.API.Cryptokeys

Methods

toJSON :: Cryptokey -> Value

toEncoding :: Cryptokey -> Encoding

toJSONList :: [Cryptokey] -> Value

toEncodingList :: [Cryptokey] -> Encoding

Data Cryptokey Source # 
Instance details

Defined in PowerDNS.API.Cryptokeys

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Cryptokey -> c Cryptokey #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Cryptokey #

toConstr :: Cryptokey -> Constr #

dataTypeOf :: Cryptokey -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Cryptokey) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Cryptokey) #

gmapT :: (forall b. Data b => b -> b) -> Cryptokey -> Cryptokey #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Cryptokey -> r #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Cryptokey -> r #

gmapQ :: (forall d. Data d => d -> u) -> Cryptokey -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> Cryptokey -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Cryptokey -> m Cryptokey #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Cryptokey -> m Cryptokey #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Cryptokey -> m Cryptokey #

Generic Cryptokey Source # 
Instance details

Defined in PowerDNS.API.Cryptokeys

Associated Types

type Rep Cryptokey :: Type -> Type #

Show Cryptokey Source # 
Instance details

Defined in PowerDNS.API.Cryptokeys

NFData Cryptokey Source # 
Instance details

Defined in PowerDNS.API.Cryptokeys

Methods

rnf :: Cryptokey -> () #

Eq Cryptokey Source # 
Instance details

Defined in PowerDNS.API.Cryptokeys

Ord Cryptokey Source # 
Instance details

Defined in PowerDNS.API.Cryptokeys

Empty Cryptokey Source # 
Instance details

Defined in PowerDNS.API.Cryptokeys

type Rep Cryptokey Source # 
Instance details

Defined in PowerDNS.API.Cryptokeys