Safe Haskell | None |
---|---|
Language | Haskell2010 |
Contains the different functions to run the operation getAccountCapabilitiesCapability
Synopsis
- getAccountCapabilitiesCapability :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> String -> Maybe String -> GetAccountCapabilitiesCapabilityRequestBody -> m (Either HttpException (Response GetAccountCapabilitiesCapabilityResponse))
- getAccountCapabilitiesCapabilityRaw :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> String -> Maybe String -> GetAccountCapabilitiesCapabilityRequestBody -> m (Either HttpException (Response ByteString))
- getAccountCapabilitiesCapabilityM :: forall m s. (MonadHTTP m, SecurityScheme s) => String -> Maybe String -> GetAccountCapabilitiesCapabilityRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response GetAccountCapabilitiesCapabilityResponse))
- getAccountCapabilitiesCapabilityRawM :: forall m s. (MonadHTTP m, SecurityScheme s) => String -> Maybe String -> GetAccountCapabilitiesCapabilityRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response ByteString))
- data GetAccountCapabilitiesCapabilityRequestBody = GetAccountCapabilitiesCapabilityRequestBody {
- data GetAccountCapabilitiesCapabilityResponse
Documentation
getAccountCapabilitiesCapability Source #
:: (MonadHTTP m, SecurityScheme s) | |
=> Configuration s | The configuration to use in the request |
-> String | capability |
-> Maybe String | expand: Specifies which fields in the response should be expanded. |
-> GetAccountCapabilitiesCapabilityRequestBody | The request body to send |
-> m (Either HttpException (Response GetAccountCapabilitiesCapabilityResponse)) | Monad containing the result of the operation |
GET /v1/account/capabilities/{capability}
<p>Retrieves information about the specified Account Capability.</p>
getAccountCapabilitiesCapabilityRaw :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> String -> Maybe String -> GetAccountCapabilitiesCapabilityRequestBody -> m (Either HttpException (Response ByteString)) Source #
GET /v1/account/capabilities/{capability}
The same as getAccountCapabilitiesCapability
but returns the raw ByteString
getAccountCapabilitiesCapabilityM :: forall m s. (MonadHTTP m, SecurityScheme s) => String -> Maybe String -> GetAccountCapabilitiesCapabilityRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response GetAccountCapabilitiesCapabilityResponse)) Source #
GET /v1/account/capabilities/{capability}
Monadic version of getAccountCapabilitiesCapability
(use with runWithConfiguration
)
getAccountCapabilitiesCapabilityRawM :: forall m s. (MonadHTTP m, SecurityScheme s) => String -> Maybe String -> GetAccountCapabilitiesCapabilityRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response ByteString)) Source #
GET /v1/account/capabilities/{capability}
Monadic version of getAccountCapabilitiesCapabilityRaw
(use with runWithConfiguration
)
data GetAccountCapabilitiesCapabilityRequestBody Source #
Defines the data type for the schema getAccountCapabilitiesCapabilityRequestBody
Instances
data GetAccountCapabilitiesCapabilityResponse Source #
Represents a response of the operation getAccountCapabilitiesCapability
.
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), GetAccountCapabilitiesCapabilityResponseError
is used.
GetAccountCapabilitiesCapabilityResponseError String | Means either no matching case available or a parse error |
GetAccountCapabilitiesCapabilityResponse200 Capability | Successful response. |
GetAccountCapabilitiesCapabilityResponseDefault Error | Error response. |