Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
RecurlyClient.Operations.Get_subscription_change
Description
Contains the different functions to run the operation get_subscription_change
Synopsis
- get_subscription_change :: forall m. MonadHTTP m => Text -> ClientT m (Response Get_subscription_changeResponse)
- data Get_subscription_changeResponse
- get_subscription_changeWithConfiguration :: forall m. MonadHTTP m => Configuration -> Text -> m (Response Get_subscription_changeResponse)
- get_subscription_changeRaw :: forall m. MonadHTTP m => Text -> ClientT m (Response ByteString)
- get_subscription_changeWithConfigurationRaw :: forall m. MonadHTTP m => Configuration -> Text -> m (Response ByteString)
Documentation
get_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 Get_subscription_changeResponse) | Monadic computation which returns the result of the operation |
GET /subscriptions/{subscription_id}/change
Fetch a subscription's pending change
data Get_subscription_changeResponse Source #
Represents a response of the operation get_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), Get_subscription_changeResponseError
is used.
Constructors
Get_subscription_changeResponseError String | Means either no matching case available or a parse error |
Get_subscription_changeResponse200 SubscriptionChange | A subscription's pending change. |
Get_subscription_changeResponse400 Error | Invalid or unpermitted parameter. |
Get_subscription_changeResponse404 Error | Incorrect site ID or subscription ID or the subscription has no pending change. |
Get_subscription_changeResponse422 Error | Expired subscriptions cannot be changed. |
Get_subscription_changeResponseDefault Error | Unexpected error. |
Instances
get_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 Get_subscription_changeResponse) | Monadic computation which returns the result of the operation |
GET /subscriptions/{subscription_id}/change
The same as get_subscription_change
but accepts an explicit configuration.
get_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 |
GET /subscriptions/{subscription_id}/change
The same as get_subscription_change
but returns the raw ByteString
.
get_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 |
GET /subscriptions/{subscription_id}/change
The same as get_subscription_change
but accepts an explicit configuration and returns the raw ByteString
.