Safe Haskell | None |
---|---|
Language | Haskell2010 |
Contains the different functions to run the operation getWebhookEndpointsWebhookEndpoint
Synopsis
- getWebhookEndpointsWebhookEndpoint :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> Maybe String -> String -> GetWebhookEndpointsWebhookEndpointRequestBody -> m (Either HttpException (Response GetWebhookEndpointsWebhookEndpointResponse))
- getWebhookEndpointsWebhookEndpointRaw :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> Maybe String -> String -> GetWebhookEndpointsWebhookEndpointRequestBody -> m (Either HttpException (Response ByteString))
- getWebhookEndpointsWebhookEndpointM :: forall m s. (MonadHTTP m, SecurityScheme s) => Maybe String -> String -> GetWebhookEndpointsWebhookEndpointRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response GetWebhookEndpointsWebhookEndpointResponse))
- getWebhookEndpointsWebhookEndpointRawM :: forall m s. (MonadHTTP m, SecurityScheme s) => Maybe String -> String -> GetWebhookEndpointsWebhookEndpointRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response ByteString))
- data GetWebhookEndpointsWebhookEndpointRequestBody = GetWebhookEndpointsWebhookEndpointRequestBody {
- data GetWebhookEndpointsWebhookEndpointResponse
Documentation
getWebhookEndpointsWebhookEndpoint Source #
:: (MonadHTTP m, SecurityScheme s) | |
=> Configuration s | The configuration to use in the request |
-> Maybe String | expand: Specifies which fields in the response should be expanded. |
-> String | webhook_endpoint | Constraints: Maximum length of 5000 |
-> GetWebhookEndpointsWebhookEndpointRequestBody | The request body to send |
-> m (Either HttpException (Response GetWebhookEndpointsWebhookEndpointResponse)) | Monad containing the result of the operation |
GET /v1/webhook_endpoints/{webhook_endpoint}
<p>Retrieves the webhook endpoint with the given ID.</p>
getWebhookEndpointsWebhookEndpointRaw :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> Maybe String -> String -> GetWebhookEndpointsWebhookEndpointRequestBody -> m (Either HttpException (Response ByteString)) Source #
GET /v1/webhook_endpoints/{webhook_endpoint}
The same as getWebhookEndpointsWebhookEndpoint
but returns the raw ByteString
getWebhookEndpointsWebhookEndpointM :: forall m s. (MonadHTTP m, SecurityScheme s) => Maybe String -> String -> GetWebhookEndpointsWebhookEndpointRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response GetWebhookEndpointsWebhookEndpointResponse)) Source #
GET /v1/webhook_endpoints/{webhook_endpoint}
Monadic version of getWebhookEndpointsWebhookEndpoint
(use with runWithConfiguration
)
getWebhookEndpointsWebhookEndpointRawM :: forall m s. (MonadHTTP m, SecurityScheme s) => Maybe String -> String -> GetWebhookEndpointsWebhookEndpointRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response ByteString)) Source #
GET /v1/webhook_endpoints/{webhook_endpoint}
Monadic version of getWebhookEndpointsWebhookEndpointRaw
(use with runWithConfiguration
)
data GetWebhookEndpointsWebhookEndpointRequestBody Source #
Defines the data type for the schema getWebhookEndpointsWebhookEndpointRequestBody
Instances
data GetWebhookEndpointsWebhookEndpointResponse Source #
Represents a response of the operation getWebhookEndpointsWebhookEndpoint
.
The response constructor is chosen by the status code of the response. If no case matches (no specific case for the response code, no range case, no default case), GetWebhookEndpointsWebhookEndpointResponseError
is used.
GetWebhookEndpointsWebhookEndpointResponseError String | Means either no matching case available or a parse error |
GetWebhookEndpointsWebhookEndpointResponse200 WebhookEndpoint | Successful response. |
GetWebhookEndpointsWebhookEndpointResponseDefault Error | Error response. |