Safe Haskell | None |
---|---|
Language | Haskell2010 |
Contains the different functions to run the operation getAccountsAccount
Synopsis
- getAccountsAccount :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> Text -> Maybe Text -> Maybe GetAccountsAccountRequestBody -> m (Either HttpException (Response GetAccountsAccountResponse))
- getAccountsAccountRaw :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> Text -> Maybe Text -> Maybe GetAccountsAccountRequestBody -> m (Either HttpException (Response ByteString))
- getAccountsAccountM :: forall m s. (MonadHTTP m, SecurityScheme s) => Text -> Maybe Text -> Maybe GetAccountsAccountRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response GetAccountsAccountResponse))
- getAccountsAccountRawM :: forall m s. (MonadHTTP m, SecurityScheme s) => Text -> Maybe Text -> Maybe GetAccountsAccountRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response ByteString))
- data GetAccountsAccountRequestBody = GetAccountsAccountRequestBody {
- data GetAccountsAccountResponse
Documentation
:: (MonadHTTP m, SecurityScheme s) | |
=> Configuration s | The configuration to use in the request |
-> Text | account | Constraints: Maximum length of 5000 |
-> Maybe Text | expand: Specifies which fields in the response should be expanded. |
-> Maybe GetAccountsAccountRequestBody | The request body to send |
-> m (Either HttpException (Response GetAccountsAccountResponse)) | Monad containing the result of the operation |
GET /v1/accounts/{account}
<p>Retrieves the details of an account.</p>
getAccountsAccountRaw :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> Text -> Maybe Text -> Maybe GetAccountsAccountRequestBody -> m (Either HttpException (Response ByteString)) Source #
GET /v1/accounts/{account}
The same as getAccountsAccount
but returns the raw ByteString
getAccountsAccountM :: forall m s. (MonadHTTP m, SecurityScheme s) => Text -> Maybe Text -> Maybe GetAccountsAccountRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response GetAccountsAccountResponse)) Source #
GET /v1/accounts/{account}
Monadic version of getAccountsAccount
(use with runWithConfiguration
)
getAccountsAccountRawM :: forall m s. (MonadHTTP m, SecurityScheme s) => Text -> Maybe Text -> Maybe GetAccountsAccountRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response ByteString)) Source #
GET /v1/accounts/{account}
Monadic version of getAccountsAccountRaw
(use with runWithConfiguration
)
data GetAccountsAccountRequestBody Source #
Defines the data type for the schema getAccountsAccountRequestBody
Instances
data GetAccountsAccountResponse Source #
Represents a response of the operation getAccountsAccount
.
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), GetAccountsAccountResponseError
is used.
GetAccountsAccountResponseError String | Means either no matching case available or a parse error |
GetAccountsAccountResponse200 Account | Successful response. |
GetAccountsAccountResponseDefault Error | Error response. |