| Safe Haskell | Safe-Inferred |
|---|---|
| Language | Haskell2010 |
Honeycomb.API.Auth
Synopsis
- data NameAndSlug = NameAndSlug {}
- data ApiKeyAccess = ApiKeyAccess {}
- data Auth = Auth {}
- data FailureResponse
- getAuth :: (MonadIO m, MonadHoneycombConfig client m) => m Auth
Documentation
data NameAndSlug Source #
Constructors
| NameAndSlug | |
Instances
| FromJSON NameAndSlug Source # | |
Defined in Honeycomb.API.Auth.Types | |
| Show NameAndSlug Source # | |
Defined in Honeycomb.API.Auth.Types Methods showsPrec :: Int -> NameAndSlug -> ShowS # show :: NameAndSlug -> String # showList :: [NameAndSlug] -> ShowS # | |
| Eq NameAndSlug Source # | |
Defined in Honeycomb.API.Auth.Types | |
data ApiKeyAccess Source #
Constructors
| ApiKeyAccess | |
Instances
| FromJSON ApiKeyAccess Source # | |
Defined in Honeycomb.API.Auth.Types | |
| Show ApiKeyAccess Source # | |
Defined in Honeycomb.API.Auth.Types Methods showsPrec :: Int -> ApiKeyAccess -> ShowS # show :: ApiKeyAccess -> String # showList :: [ApiKeyAccess] -> ShowS # | |
| Eq ApiKeyAccess Source # | |
Defined in Honeycomb.API.Auth.Types | |
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"
}
}
Constructors
| Auth | |
Fields | |
data FailureResponse Source #
Constructors
| FailureCode Int ByteString | |
| JsonDecodeFailed Text |
Instances
| Exception FailureResponse Source # | |
Defined in Honeycomb.API.Auth.Types Methods toException :: FailureResponse -> SomeException # | |
| Show FailureResponse Source # | |
Defined in Honeycomb.API.Auth.Types Methods showsPrec :: Int -> FailureResponse -> ShowS # show :: FailureResponse -> String # showList :: [FailureResponse] -> ShowS # | |