Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
RecurlyClient.Operations.Put_external_subscription
Description
Contains the different functions to run the operation put_external_subscription
Synopsis
- put_external_subscription :: forall m. MonadHTTP m => Text -> Maybe ExternalSubscriptionUpdate -> ClientT m (Response Put_external_subscriptionResponse)
- data Put_external_subscriptionResponse
- put_external_subscriptionWithConfiguration :: forall m. MonadHTTP m => Configuration -> Text -> Maybe ExternalSubscriptionUpdate -> m (Response Put_external_subscriptionResponse)
- put_external_subscriptionRaw :: forall m. MonadHTTP m => Text -> Maybe ExternalSubscriptionUpdate -> ClientT m (Response ByteString)
- put_external_subscriptionWithConfigurationRaw :: forall m. MonadHTTP m => Configuration -> Text -> Maybe ExternalSubscriptionUpdate -> m (Response ByteString)
Documentation
put_external_subscription Source #
Arguments
:: forall m. MonadHTTP m | |
=> Text | external_subscription_id: External subscription id |
-> Maybe ExternalSubscriptionUpdate | The request body to send |
-> ClientT m (Response Put_external_subscriptionResponse) | Monadic computation which returns the result of the operation |
PUT /external_subscriptions/{external_subscription_id}
Update an external subscription
data Put_external_subscriptionResponse Source #
Represents a response of the operation put_external_subscription
.
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), Put_external_subscriptionResponseError
is used.
Constructors
Put_external_subscriptionResponseError String | Means either no matching case available or a parse error |
Put_external_subscriptionResponse200 ExternalSubscription | Settings for an external subscription. |
Put_external_subscriptionResponse400 Error | Bad request; perhaps missing or invalid parameters. |
Put_external_subscriptionResponse404 Error | Incorrect site or external subscription ID. |
Put_external_subscriptionResponse422 Error | Validation error with external resource connection or feature flag. |
Put_external_subscriptionResponseDefault Error | Unexpected error. |
Instances
put_external_subscriptionWithConfiguration Source #
Arguments
:: forall m. MonadHTTP m | |
=> Configuration | The configuration to use in the request |
-> Text | external_subscription_id: External subscription id |
-> Maybe ExternalSubscriptionUpdate | The request body to send |
-> m (Response Put_external_subscriptionResponse) | Monadic computation which returns the result of the operation |
PUT /external_subscriptions/{external_subscription_id}
The same as put_external_subscription
but accepts an explicit configuration.
put_external_subscriptionRaw Source #
Arguments
:: forall m. MonadHTTP m | |
=> Text | external_subscription_id: External subscription id |
-> Maybe ExternalSubscriptionUpdate | The request body to send |
-> ClientT m (Response ByteString) | Monadic computation which returns the result of the operation |
PUT /external_subscriptions/{external_subscription_id}
The same as put_external_subscription
but returns the raw ByteString
.
put_external_subscriptionWithConfigurationRaw Source #
Arguments
:: forall m. MonadHTTP m | |
=> Configuration | The configuration to use in the request |
-> Text | external_subscription_id: External subscription id |
-> Maybe ExternalSubscriptionUpdate | The request body to send |
-> m (Response ByteString) | Monadic computation which returns the result of the operation |
PUT /external_subscriptions/{external_subscription_id}
The same as put_external_subscription
but accepts an explicit configuration and returns the raw ByteString
.