Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- data NameAndSlug = NameAndSlug {}
- data ApiKeyAccess = ApiKeyAccess {}
- data Auth = Auth {}
- data FailureResponse
- getAuth :: (MonadIO m, MonadHoneycombConfig client m) => m Auth
Documentation
data NameAndSlug Source #
Instances
FromJSON NameAndSlug Source # | |
Defined in Honeycomb.API.Auth.Types parseJSON :: Value -> Parser NameAndSlug # parseJSONList :: Value -> Parser [NameAndSlug] # | |
Show NameAndSlug Source # | |
Defined in Honeycomb.API.Auth.Types showsPrec :: Int -> NameAndSlug -> ShowS # show :: NameAndSlug -> String # showList :: [NameAndSlug] -> ShowS # | |
Eq NameAndSlug Source # | |
Defined in Honeycomb.API.Auth.Types (==) :: NameAndSlug -> NameAndSlug -> Bool # (/=) :: NameAndSlug -> NameAndSlug -> Bool # |
data ApiKeyAccess Source #
Instances
FromJSON ApiKeyAccess Source # | |
Defined in Honeycomb.API.Auth.Types parseJSON :: Value -> Parser ApiKeyAccess # parseJSONList :: Value -> Parser [ApiKeyAccess] # | |
Show ApiKeyAccess Source # | |
Defined in Honeycomb.API.Auth.Types showsPrec :: Int -> ApiKeyAccess -> ShowS # show :: ApiKeyAccess -> String # showList :: [ApiKeyAccess] -> ShowS # | |
Eq ApiKeyAccess Source # | |
Defined in Honeycomb.API.Auth.Types (==) :: ApiKeyAccess -> ApiKeyAccess -> Bool # (/=) :: ApiKeyAccess -> ApiKeyAccess -> Bool # |
Response to the auth API
{
"api_key_access": {
"events": true,
"markers": true,
"triggers": true,
"boards": true,
"queries": true,
"columns": false,
"createDatasets": true
},
"environment": {
"name": Production,
"slug": "production"
},
"team": {
"name": "Honeycomb Docs",
"slug": "honeycomb-docs"
}
}
data FailureResponse Source #
Instances
Exception FailureResponse Source # | |
Defined in Honeycomb.API.Auth.Types | |
Show FailureResponse Source # | |
Defined in Honeycomb.API.Auth.Types showsPrec :: Int -> FailureResponse -> ShowS # show :: FailureResponse -> String # showList :: [FailureResponse] -> ShowS # |