DOH-0.1.4.0: Complete API bindings for DigitalOcean API V2

Safe HaskellNone
LanguageHaskell2010

Network.DigitalOcean.Types

Documentation

data PaginationState a Source #

Constructors

PaginationState 

Fields

Instances

Show a => Show (PaginationState a) Source # 
FromJSON (PaginationState LoadBalancer) # 
FromJSON (PaginationState Image) # 
FromJSON (PaginationState Firewall) # 
FromJSON (PaginationState Droplet) # 
FromJSON (PaginationState FloatingIp) # 
FromJSON (PaginationState Action) # 
FromJSON (PaginationState DomainRecord) # 
FromJSON (PaginationState Domain) # 
FromJSON (PaginationState Certificate) # 

newtype DO a Source #

Constructors

DO 

Instances

Monad DO Source # 

Methods

(>>=) :: DO a -> (a -> DO b) -> DO b #

(>>) :: DO a -> DO b -> DO b #

return :: a -> DO a #

fail :: String -> DO a #

Functor DO Source # 

Methods

fmap :: (a -> b) -> DO a -> DO b #

(<$) :: a -> DO b -> DO a #

Applicative DO Source # 

Methods

pure :: a -> DO a #

(<*>) :: DO (a -> b) -> DO a -> DO b #

liftA2 :: (a -> b -> c) -> DO a -> DO b -> DO c #

(*>) :: DO a -> DO b -> DO b #

(<*) :: DO a -> DO b -> DO a #

MonadIO DO Source # 

Methods

liftIO :: IO a -> DO a #

MonadReader Client DO Source # 

Methods

ask :: DO Client #

local :: (Client -> Client) -> DO a -> DO a #

reader :: (Client -> a) -> DO a #

MonadError DoErr DO Source # 

Methods

throwError :: DoErr -> DO a #

catchError :: DO a -> (DoErr -> DO a) -> DO a #

newtype Client Source #

Constructors

Client 

Fields

Instances

MonadReader Client DO Source # 

Methods

ask :: DO Client #

local :: (Client -> Client) -> DO a -> DO a #

reader :: (Client -> a) -> DO a #

data DoErr Source #

Constructors

DoErr 

Instances

Show DoErr Source # 

Methods

showsPrec :: Int -> DoErr -> ShowS #

show :: DoErr -> String #

showList :: [DoErr] -> ShowS #

MonadError DoErr DO Source # 

Methods

throwError :: DoErr -> DO a #

catchError :: DO a -> (DoErr -> DO a) -> DO a #

newtype Response a Source #

Constructors

Response 

Fields

Instances

Show a => Show (Response a) Source # 

Methods

showsPrec :: Int -> Response a -> ShowS #

show :: Response a -> String #

showList :: [Response a] -> ShowS #

Generic (Response a) Source # 

Associated Types

type Rep (Response a) :: * -> * #

Methods

from :: Response a -> Rep (Response a) x #

to :: Rep (Response a) x -> Response a #

FromJSON (Response [Snapshot]) # 
FromJSON (Response [Size]) # 
FromJSON (Response [SSHKey]) # 
FromJSON (Response [Region]) # 
FromJSON (Response [Volume]) # 
FromJSON (Response [LoadBalancer]) # 
FromJSON (Response [Image]) # 
FromJSON (Response [Firewall]) # 
FromJSON (Response [Droplet]) # 
FromJSON (Response [Backup]) # 
FromJSON (Response [Kernel]) # 
FromJSON (Response [FloatingIp]) # 
FromJSON (Response [Action]) # 
FromJSON (Response [DomainRecord]) # 
FromJSON (Response [Domain]) # 
FromJSON (Response [Certificate]) # 
FromJSON (Response ()) Source # 
FromJSON (Response Snapshot) # 
FromJSON (Response SSHKey) # 
FromJSON (Response Volume) # 
FromJSON (Response Account) # 
FromJSON (Response LoadBalancer) # 
FromJSON (Response Image) # 
FromJSON (Response Firewall) # 
FromJSON (Response Droplet) # 
FromJSON (Response Neighbors) # 
FromJSON (Response FloatingIp) # 
FromJSON (Response Action) # 
FromJSON (Response DomainRecord) # 
FromJSON (Response Domain) # 
FromJSON (Response Certificate) # 
type Rep (Response a) Source # 
type Rep (Response a) = D1 * (MetaData "Response" "Network.DigitalOcean.Types" "DOH-0.1.4.0-1E19JRUoTXIFgbVw80VcOk" True) (C1 * (MetaCons "Response" PrefixI True) (S1 * (MetaSel (Just Symbol "unResponse") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * a)))

data Endpoint Source #

Constructors

AccountEndpoint 
ActionsEndpoint 
ActionEndpoint ActionId 
RegionsEndpoint 
VolumesEndpoint 
SnapshotsEndpoint 
DomainsEndpoint 
ImagesEndpoint 
SizesEndpoint 
DropletsEndpoint 
RecordsEndpoint 
KernelsEndpoint 
BackupsEndpoint 
NeighborsEndpoint 
FloatingIpsEndpoint 
DropletsNeighborsEndpoint 
TagsEndpoint 
RulesEndpoint 
FirewallsEndpoint 
LoadBalancersEndpoint 
ForwardingRulesEndpoint 
KeysEndpoint 
SSHKeysEndpoint 
VolumeEndpoint VolumeId 
SnapshotEndpoint SnapshotId 
VolumeSnapshotsEndpoint VolumeId 
VolumesActionsEndpoint 
VolumeActionEndpoint VolumeId ActionId 
VolumeActionsEndpoint VolumeId 
CertificateEndpoint CertificateId 
CertificatesEndpoint 
DomainEndpoint DomainName 
DomainRecordsEndpoint DomainName 
DomainRecordEndpoint DomainName DomainRecordId 
ImageActionsEndpoint ImageId 
ImageActionEndpoint ImageId ActionId 
ImageEndpoint ImageId 
ImageBySlugEndpoint String 
DropletEndpoint DropletId 
DropletKernelsEndpoint DropletId 
DropletSnapshotsEndpoint DropletId 
DropletBackupsEndpoint DropletId 
DropletActionsEndpoint DropletId 
DropletNeighborsEndpoint DropletId 
DropletsActionsEndpoint 
DropletActionEndpoint DropletId ActionId 
FloatingIpEndpoint IpAddress 
FloatingIpActionsEndpoint IpAddress 
FloatingIpActionEndpoint IpAddress ActionId 
FirewallEndpoint FirewallId 
FirewallDropletsEndpoint FirewallId 
FirewallTagsEndpoint FirewallId 
FirewallRulesEndpoint FirewallId 
LoadBalancerEndpoint LoadBalancerId 
LoadBalancerDropletsEndpoint LoadBalancerId 
LoadBalancerForwardingRulesEndpoint LoadBalancerId 
SSHKeyEndpoint SSHKeyId 
SSHKeyWithFingerprintEndpoint String