Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
RecurlyClient.Operations.Remove_subscription_change
Description
Contains the different functions to run the operation remove_subscription_change
Synopsis
- remove_subscription_change :: forall m. MonadHTTP m => Text -> ClientT m (Response Remove_subscription_changeResponse)
- data Remove_subscription_changeResponse
- remove_subscription_changeWithConfiguration :: forall m. MonadHTTP m => Configuration -> Text -> m (Response Remove_subscription_changeResponse)
- remove_subscription_changeRaw :: forall m. MonadHTTP m => Text -> ClientT m (Response ByteString)
- remove_subscription_changeWithConfigurationRaw :: forall m. MonadHTTP m => Configuration -> Text -> m (Response ByteString)
Documentation
remove_subscription_change Source #
Arguments
:: forall m. MonadHTTP m | |
=> Text | subscription_id: Subscription ID or UUID. For ID no prefix is used e.g. `e28zov4fw0v2`. For UUID use prefix `uuid-`, e.g. `uuid-123457890`. |
-> ClientT m (Response Remove_subscription_changeResponse) | Monadic computation which returns the result of the operation |
DELETE /subscriptions/{subscription_id}/change
Deleting the pending subscription change will cause the current subscription settings to be used on the next renewal.
data Remove_subscription_changeResponse Source #
Represents a response of the operation remove_subscription_change
.
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_subscription_changeResponseError
is used.
Constructors
Remove_subscription_changeResponseError String | Means either no matching case available or a parse error |
Remove_subscription_changeResponse204 | Subscription change was deleted. |
Remove_subscription_changeResponse422 Error | Activated subscription changes cannot be deleted. |
Remove_subscription_changeResponseDefault Error | Unexpected error. |
Instances
remove_subscription_changeWithConfiguration Source #
Arguments
:: forall m. MonadHTTP m | |
=> Configuration | The configuration to use in the request |
-> Text | subscription_id: Subscription ID or UUID. For ID no prefix is used e.g. `e28zov4fw0v2`. For UUID use prefix `uuid-`, e.g. `uuid-123457890`. |
-> m (Response Remove_subscription_changeResponse) | Monadic computation which returns the result of the operation |
DELETE /subscriptions/{subscription_id}/change
The same as remove_subscription_change
but accepts an explicit configuration.
remove_subscription_changeRaw Source #
Arguments
:: forall m. MonadHTTP m | |
=> Text | subscription_id: Subscription ID or UUID. For ID no prefix is used e.g. `e28zov4fw0v2`. For UUID use prefix `uuid-`, e.g. `uuid-123457890`. |
-> ClientT m (Response ByteString) | Monadic computation which returns the result of the operation |
DELETE /subscriptions/{subscription_id}/change
The same as remove_subscription_change
but returns the raw ByteString
.
remove_subscription_changeWithConfigurationRaw Source #
Arguments
:: forall m. MonadHTTP m | |
=> Configuration | The configuration to use in the request |
-> Text | subscription_id: Subscription ID or UUID. For ID no prefix is used e.g. `e28zov4fw0v2`. For UUID use prefix `uuid-`, e.g. `uuid-123457890`. |
-> m (Response ByteString) | Monadic computation which returns the result of the operation |
DELETE /subscriptions/{subscription_id}/change
The same as remove_subscription_change
but accepts an explicit configuration and returns the raw ByteString
.