Safe Haskell | None |
---|---|
Language | Haskell2010 |
Contains the different functions to run the operation postAccountCapabilitiesCapability
Synopsis
- postAccountCapabilitiesCapability :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> String -> PostAccountCapabilitiesCapabilityRequestBody -> m (Either HttpException (Response PostAccountCapabilitiesCapabilityResponse))
- postAccountCapabilitiesCapabilityRaw :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> String -> PostAccountCapabilitiesCapabilityRequestBody -> m (Either HttpException (Response ByteString))
- postAccountCapabilitiesCapabilityM :: forall m s. (MonadHTTP m, SecurityScheme s) => String -> PostAccountCapabilitiesCapabilityRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response PostAccountCapabilitiesCapabilityResponse))
- postAccountCapabilitiesCapabilityRawM :: forall m s. (MonadHTTP m, SecurityScheme s) => String -> PostAccountCapabilitiesCapabilityRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response ByteString))
- data PostAccountCapabilitiesCapabilityRequestBody = PostAccountCapabilitiesCapabilityRequestBody {}
- data PostAccountCapabilitiesCapabilityResponse
Documentation
postAccountCapabilitiesCapability Source #
:: (MonadHTTP m, SecurityScheme s) | |
=> Configuration s | The configuration to use in the request |
-> String | capability |
-> PostAccountCapabilitiesCapabilityRequestBody | The request body to send |
-> m (Either HttpException (Response PostAccountCapabilitiesCapabilityResponse)) | Monad containing the result of the operation |
POST /v1/account/capabilities/{capability}
<p>Updates an existing Account Capability.</p>
postAccountCapabilitiesCapabilityRaw :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> String -> PostAccountCapabilitiesCapabilityRequestBody -> m (Either HttpException (Response ByteString)) Source #
POST /v1/account/capabilities/{capability}
The same as postAccountCapabilitiesCapability
but returns the raw ByteString
postAccountCapabilitiesCapabilityM :: forall m s. (MonadHTTP m, SecurityScheme s) => String -> PostAccountCapabilitiesCapabilityRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response PostAccountCapabilitiesCapabilityResponse)) Source #
POST /v1/account/capabilities/{capability}
Monadic version of postAccountCapabilitiesCapability
(use with runWithConfiguration
)
postAccountCapabilitiesCapabilityRawM :: forall m s. (MonadHTTP m, SecurityScheme s) => String -> PostAccountCapabilitiesCapabilityRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response ByteString)) Source #
POST /v1/account/capabilities/{capability}
Monadic version of postAccountCapabilitiesCapabilityRaw
(use with runWithConfiguration
)
data PostAccountCapabilitiesCapabilityRequestBody Source #
Defines the data type for the schema postAccountCapabilitiesCapabilityRequestBody
PostAccountCapabilitiesCapabilityRequestBody | |
|
Instances
data PostAccountCapabilitiesCapabilityResponse Source #
Represents a response of the operation postAccountCapabilitiesCapability
.
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), PostAccountCapabilitiesCapabilityResponseError
is used.
PostAccountCapabilitiesCapabilityResponseError String | Means either no matching case available or a parse error |
PostAccountCapabilitiesCapabilityResponse200 Capability | Successful response. |
PostAccountCapabilitiesCapabilityResponseDefault Error | Error response. |