recurly-client-0.0.0.1: Client for Recurly subscription management
Safe HaskellSafe-Inferred
LanguageHaskell2010

RecurlyClient.Operations.Get_external_subscription

Description

Contains the different functions to run the operation get_external_subscription

Synopsis

Documentation

get_external_subscription Source #

Arguments

:: forall m. MonadHTTP m 
=> ClientT m (Response Get_external_subscriptionResponse)

Monadic computation which returns the result of the operation

GET /external_subscriptions/{external_subscription_id}

Fetch an external subscription

data Get_external_subscriptionResponse Source #

Represents a response of the operation get_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), Get_external_subscriptionResponseError is used.

Constructors

Get_external_subscriptionResponseError String

Means either no matching case available or a parse error

Get_external_subscriptionResponse200 ExternalSubscription

Settings for an external subscription.

Get_external_subscriptionResponse404 Error

Incorrect site or external subscription ID.

Get_external_subscriptionResponse422 Error

Validation error with external resource connection or feature flag.

Get_external_subscriptionResponseDefault Error

Unexpected error.

get_external_subscriptionWithConfiguration Source #

Arguments

:: forall m. MonadHTTP m 
=> Configuration

The configuration to use in the request

-> m (Response Get_external_subscriptionResponse)

Monadic computation which returns the result of the operation

GET /external_subscriptions/{external_subscription_id}

The same as get_external_subscription but accepts an explicit configuration.

get_external_subscriptionRaw Source #

Arguments

:: forall m. MonadHTTP m 
=> ClientT m (Response ByteString)

Monadic computation which returns the result of the operation

GET /external_subscriptions/{external_subscription_id}

The same as get_external_subscription but returns the raw ByteString.

get_external_subscriptionWithConfigurationRaw Source #

Arguments

:: forall m. MonadHTTP m 
=> Configuration

The configuration to use in the request

-> m (Response ByteString)

Monadic computation which returns the result of the operation

GET /external_subscriptions/{external_subscription_id}

The same as get_external_subscription but accepts an explicit configuration and returns the raw ByteString.