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