recurly-client-0.1.0.0: 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 
=> Text

external_subscription_id: External subscription ID, external_id or uuid. For ID no prefix is used e.g. `e28zov4fw0v2`. For external_id use prefix `external-id-`, e.g. `external-id-123456` and for uuid use prefix `uuid-` e.g. `uuid-7293239bae62777d8c1ae044a9843633`.

-> 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

-> Text

external_subscription_id: External subscription ID, external_id or uuid. For ID no prefix is used e.g. `e28zov4fw0v2`. For external_id use prefix `external-id-`, e.g. `external-id-123456` and for uuid use prefix `uuid-` e.g. `uuid-7293239bae62777d8c1ae044a9843633`.

-> 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 
=> Text

external_subscription_id: External subscription ID, external_id or uuid. For ID no prefix is used e.g. `e28zov4fw0v2`. For external_id use prefix `external-id-`, e.g. `external-id-123456` and for uuid use prefix `uuid-` e.g. `uuid-7293239bae62777d8c1ae044a9843633`.

-> 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

-> Text

external_subscription_id: External subscription ID, external_id or uuid. For ID no prefix is used e.g. `e28zov4fw0v2`. For external_id use prefix `external-id-`, e.g. `external-id-123456` and for uuid use prefix `uuid-` e.g. `uuid-7293239bae62777d8c1ae044a9843633`.

-> 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.