Safe Haskell | None |
---|---|
Language | Haskell2010 |
Network.Fastly
Description
Documentation
data FastlyClient Source #
fastlyClient :: FastlyAuth -> IO FastlyClient Source #
data FastlyResponse a Source #
Constructors
FastlyResponse | |
Fields
|
Instances
Show a => Show (FastlyResponse a) Source # | |
listDictionaries :: FastlyClient -> ServiceId -> ServiceVersionNumber -> FastlyM [Dictionary] Source #
Arguments
:: FastlyClient | |
-> ServiceId | |
-> ServiceVersionNumber | |
-> Text | Dictionary name |
-> FastlyM Dictionary |
Arguments
:: FastlyClient | |
-> ServiceId | |
-> ServiceVersionNumber | |
-> Text | Dictionary name |
-> FastlyM Dictionary |
updateDictionary :: FastlyClient -> ServiceId -> ServiceVersionNumber -> Text -> Text -> FastlyM Dictionary Source #
Arguments
:: FastlyClient | |
-> ServiceId | |
-> ServiceVersionNumber | |
-> Text | Dictionary name |
-> FastlyM Dictionary |
listDictionaryItems :: FastlyClient -> ServiceId -> DictionaryId -> FastlyM [DictionaryItem] Source #
Arguments
:: FastlyClient | |
-> ServiceId | |
-> DictionaryId | |
-> Text | Key |
-> FastlyM DictionaryItem |
Arguments
:: FastlyClient | |
-> ServiceId | |
-> DictionaryId | |
-> Text | Key |
-> Text | Value |
-> FastlyM DictionaryItem |
Arguments
:: FastlyClient | |
-> ServiceId | |
-> DictionaryId | |
-> Text | Key |
-> Text | Value |
-> FastlyM DictionaryItem |
Arguments
:: FastlyClient | |
-> ServiceId | |
-> DictionaryId | |
-> Text | Key |
-> Text | Value |
-> FastlyM DictionaryItem |
batchEditDictionaryItems :: FastlyClient -> ServiceId -> DictionaryId -> [DictionaryItemOp] -> FastlyM BatchEditResult Source #
Arguments
:: FastlyClient | |
-> ServiceId | |
-> DictionaryId | |
-> Text | Key |
-> FastlyM DeleteDictionaryItemResult |
checkDomainRecords :: FastlyClient -> ServiceId -> ServiceVersionNumber -> FastlyM [(Domain, Text, Bool)] Source #
checkDomainRecord :: FastlyClient -> ServiceId -> ServiceVersionNumber -> Text -> FastlyM (Domain, Text, Bool) Source #
listDomains :: FastlyClient -> ServiceId -> ServiceVersionNumber -> FastlyM [Domain] Source #
Arguments
:: FastlyClient | |
-> ServiceId | |
-> ServiceVersionNumber | |
-> Text | Domain name |
-> FastlyM Domain |
listGzipConfigurations :: FastlyClient -> ServiceId -> ServiceVersionNumber -> FastlyM [GzipConfiguration] Source #
Arguments
:: FastlyClient | |
-> ServiceId | |
-> ServiceVersionNumber | |
-> Text | Configuration name |
-> FastlyM GzipConfiguration |
deleteGzipConfiguration Source #
Arguments
:: FastlyClient | |
-> ServiceId | |
-> ServiceVersionNumber | |
-> Text | Configuration name |
-> FastlyM DeleteGzipConfigurationResult |
listServices :: FastlyClient -> FastlyM [ServiceListItem] Source #
getServiceDetails :: FastlyClient -> ServiceId -> FastlyM Service Source #
getServiceByName :: FastlyClient -> Text -> FastlyM (Maybe Service) Source #
getService :: FastlyClient -> ServiceId -> FastlyM Service Source #
Constructors
Service | |
Fields
|
newtype SurrogateKey Source #
Constructors
SurrogateKey Text |
Arguments
:: FastlyClient | |
-> PurgeMode | |
-> String | URL |
-> FastlyM PurgeResult |
purgeKey :: FastlyClient -> PurgeMode -> ServiceId -> SurrogateKey -> FastlyM PurgeResult Source #
purgeAll :: FastlyClient -> ServiceId -> FastlyM PurgeAllResult Source #
edgeCheck :: FastlyClient -> Text -> FastlyM [CacheStatus] Source #
data CacheStatusRequest Source #
Constructors
CacheStatusRequest | |
data CacheStatusResponse Source #
Constructors
CacheStatusResponse | |
publicIpList :: FastlyM Addresses Source #