| Safe Haskell | Safe-Inferred |
|---|---|
| Language | Haskell2010 |
RecurlyClient.Operations.Remove_usage
Description
Contains the different functions to run the operation remove_usage
Synopsis
- remove_usage :: forall m. MonadHTTP m => Text -> ClientT m (Response Remove_usageResponse)
- data Remove_usageResponse
- remove_usageWithConfiguration :: forall m. MonadHTTP m => Configuration -> Text -> m (Response Remove_usageResponse)
- remove_usageRaw :: forall m. MonadHTTP m => Text -> ClientT m (Response ByteString)
- remove_usageWithConfigurationRaw :: forall m. MonadHTTP m => Configuration -> Text -> m (Response ByteString)
Documentation
Arguments
| :: forall m. MonadHTTP m | |
| => Text | usage_id: Usage Record ID. |
| -> ClientT m (Response Remove_usageResponse) | Monadic computation which returns the result of the operation |
DELETE /usage/{usage_id}Delete a usage record.
data Remove_usageResponse Source #
Represents a response of the operation remove_usage.
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), Remove_usageResponseError is used.
Constructors
| Remove_usageResponseError String | Means either no matching case available or a parse error |
| Remove_usageResponse204 | Usage was successfully deleted. |
| Remove_usageResponse400 Error | Invalid or unpermitted parameter. |
| Remove_usageResponse404 Error | Incorrect site or subscription, add-on, or usage ID. |
| Remove_usageResponse422 Error | A validation error. |
| Remove_usageResponseDefault Error | Unexpected error. |
Instances
| Show Remove_usageResponse Source # | |
Defined in RecurlyClient.Operations.Remove_usage Methods showsPrec :: Int -> Remove_usageResponse -> ShowS # show :: Remove_usageResponse -> String # showList :: [Remove_usageResponse] -> ShowS # | |
| Eq Remove_usageResponse Source # | |
Defined in RecurlyClient.Operations.Remove_usage Methods (==) :: Remove_usageResponse -> Remove_usageResponse -> Bool # (/=) :: Remove_usageResponse -> Remove_usageResponse -> Bool # | |
remove_usageWithConfiguration Source #
Arguments
| :: forall m. MonadHTTP m | |
| => Configuration | The configuration to use in the request |
| -> Text | usage_id: Usage Record ID. |
| -> m (Response Remove_usageResponse) | Monadic computation which returns the result of the operation |
DELETE /usage/{usage_id}The same as remove_usage but accepts an explicit configuration.
Arguments
| :: forall m. MonadHTTP m | |
| => Text | usage_id: Usage Record ID. |
| -> ClientT m (Response ByteString) | Monadic computation which returns the result of the operation |
DELETE /usage/{usage_id}The same as remove_usage but returns the raw ByteString.
remove_usageWithConfigurationRaw Source #
Arguments
| :: forall m. MonadHTTP m | |
| => Configuration | The configuration to use in the request |
| -> Text | usage_id: Usage Record ID. |
| -> m (Response ByteString) | Monadic computation which returns the result of the operation |
DELETE /usage/{usage_id}The same as remove_usage but accepts an explicit configuration and returns the raw ByteString.