Safe Haskell | None |
---|---|
Language | Haskell2010 |
Contains the different functions to run the operation getAccountsAccountCapabilities
Synopsis
- getAccountsAccountCapabilities :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> String -> Maybe String -> GetAccountsAccountCapabilitiesRequestBody -> m (Either HttpException (Response GetAccountsAccountCapabilitiesResponse))
- getAccountsAccountCapabilitiesRaw :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> String -> Maybe String -> GetAccountsAccountCapabilitiesRequestBody -> m (Either HttpException (Response ByteString))
- getAccountsAccountCapabilitiesM :: forall m s. (MonadHTTP m, SecurityScheme s) => String -> Maybe String -> GetAccountsAccountCapabilitiesRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response GetAccountsAccountCapabilitiesResponse))
- getAccountsAccountCapabilitiesRawM :: forall m s. (MonadHTTP m, SecurityScheme s) => String -> Maybe String -> GetAccountsAccountCapabilitiesRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response ByteString))
- data GetAccountsAccountCapabilitiesRequestBody = GetAccountsAccountCapabilitiesRequestBody {
- data GetAccountsAccountCapabilitiesResponse
- data GetAccountsAccountCapabilitiesResponseBody200 = GetAccountsAccountCapabilitiesResponseBody200 {}
- data GetAccountsAccountCapabilitiesResponseBody200Object'
Documentation
getAccountsAccountCapabilities Source #
:: (MonadHTTP m, SecurityScheme s) | |
=> Configuration s | The configuration to use in the request |
-> String | account | Constraints: Maximum length of 5000 |
-> Maybe String | expand: Specifies which fields in the response should be expanded. |
-> GetAccountsAccountCapabilitiesRequestBody | The request body to send |
-> m (Either HttpException (Response GetAccountsAccountCapabilitiesResponse)) | Monad containing the result of the operation |
GET /v1/accounts/{account}/capabilities
<p>Returns a list of capabilities associated with the account. The capabilities are returned sorted by creation date, with the most recent capability appearing first.</p>
getAccountsAccountCapabilitiesRaw :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> String -> Maybe String -> GetAccountsAccountCapabilitiesRequestBody -> m (Either HttpException (Response ByteString)) Source #
GET /v1/accounts/{account}/capabilities
The same as getAccountsAccountCapabilities
but returns the raw ByteString
getAccountsAccountCapabilitiesM :: forall m s. (MonadHTTP m, SecurityScheme s) => String -> Maybe String -> GetAccountsAccountCapabilitiesRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response GetAccountsAccountCapabilitiesResponse)) Source #
GET /v1/accounts/{account}/capabilities
Monadic version of getAccountsAccountCapabilities
(use with runWithConfiguration
)
getAccountsAccountCapabilitiesRawM :: forall m s. (MonadHTTP m, SecurityScheme s) => String -> Maybe String -> GetAccountsAccountCapabilitiesRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response ByteString)) Source #
GET /v1/accounts/{account}/capabilities
Monadic version of getAccountsAccountCapabilitiesRaw
(use with runWithConfiguration
)
data GetAccountsAccountCapabilitiesRequestBody Source #
Defines the data type for the schema getAccountsAccountCapabilitiesRequestBody
Instances
data GetAccountsAccountCapabilitiesResponse Source #
Represents a response of the operation getAccountsAccountCapabilities
.
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), GetAccountsAccountCapabilitiesResponseError
is used.
GetAccountsAccountCapabilitiesResponseError String | Means either no matching case available or a parse error |
GetAccountsAccountCapabilitiesResponse200 GetAccountsAccountCapabilitiesResponseBody200 | Successful response. |
GetAccountsAccountCapabilitiesResponseDefault Error | Error response. |
data GetAccountsAccountCapabilitiesResponseBody200 Source #
Defines the data type for the schema GetAccountsAccountCapabilitiesResponseBody200
GetAccountsAccountCapabilitiesResponseBody200 | |
|
Instances
data GetAccountsAccountCapabilitiesResponseBody200Object' Source #
Defines the enum schema GetAccountsAccountCapabilitiesResponseBody200Object'
String representing the object's type. Objects of the same type share the same value. Always has the value `list`.