Safe Haskell | None |
---|---|
Language | Haskell2010 |
Contains the different functions to run the operation postAccountsAccountCapabilitiesCapability
Synopsis
- postAccountsAccountCapabilitiesCapability :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> String -> String -> PostAccountsAccountCapabilitiesCapabilityRequestBody -> m (Either HttpException (Response PostAccountsAccountCapabilitiesCapabilityResponse))
- postAccountsAccountCapabilitiesCapabilityRaw :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> String -> String -> PostAccountsAccountCapabilitiesCapabilityRequestBody -> m (Either HttpException (Response ByteString))
- postAccountsAccountCapabilitiesCapabilityM :: forall m s. (MonadHTTP m, SecurityScheme s) => String -> String -> PostAccountsAccountCapabilitiesCapabilityRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response PostAccountsAccountCapabilitiesCapabilityResponse))
- postAccountsAccountCapabilitiesCapabilityRawM :: forall m s. (MonadHTTP m, SecurityScheme s) => String -> String -> PostAccountsAccountCapabilitiesCapabilityRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response ByteString))
- data PostAccountsAccountCapabilitiesCapabilityRequestBody = PostAccountsAccountCapabilitiesCapabilityRequestBody {}
- data PostAccountsAccountCapabilitiesCapabilityResponse
Documentation
postAccountsAccountCapabilitiesCapability Source #
:: (MonadHTTP m, SecurityScheme s) | |
=> Configuration s | The configuration to use in the request |
-> String | account | Constraints: Maximum length of 5000 |
-> String | capability |
-> PostAccountsAccountCapabilitiesCapabilityRequestBody | The request body to send |
-> m (Either HttpException (Response PostAccountsAccountCapabilitiesCapabilityResponse)) | Monad containing the result of the operation |
POST /v1/accounts/{account}/capabilities/{capability}
<p>Updates an existing Account Capability.</p>
postAccountsAccountCapabilitiesCapabilityRaw :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> String -> String -> PostAccountsAccountCapabilitiesCapabilityRequestBody -> m (Either HttpException (Response ByteString)) Source #
POST /v1/accounts/{account}/capabilities/{capability}
The same as postAccountsAccountCapabilitiesCapability
but returns the raw ByteString
postAccountsAccountCapabilitiesCapabilityM :: forall m s. (MonadHTTP m, SecurityScheme s) => String -> String -> PostAccountsAccountCapabilitiesCapabilityRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response PostAccountsAccountCapabilitiesCapabilityResponse)) Source #
POST /v1/accounts/{account}/capabilities/{capability}
Monadic version of postAccountsAccountCapabilitiesCapability
(use with runWithConfiguration
)
postAccountsAccountCapabilitiesCapabilityRawM :: forall m s. (MonadHTTP m, SecurityScheme s) => String -> String -> PostAccountsAccountCapabilitiesCapabilityRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response ByteString)) Source #
POST /v1/accounts/{account}/capabilities/{capability}
Monadic version of postAccountsAccountCapabilitiesCapabilityRaw
(use with runWithConfiguration
)
data PostAccountsAccountCapabilitiesCapabilityRequestBody Source #
Defines the data type for the schema postAccountsAccountCapabilitiesCapabilityRequestBody
PostAccountsAccountCapabilitiesCapabilityRequestBody | |
|
Instances
data PostAccountsAccountCapabilitiesCapabilityResponse Source #
Represents a response of the operation postAccountsAccountCapabilitiesCapability
.
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), PostAccountsAccountCapabilitiesCapabilityResponseError
is used.
PostAccountsAccountCapabilitiesCapabilityResponseError String | Means either no matching case available or a parse error |
PostAccountsAccountCapabilitiesCapabilityResponse200 Capability | Successful response. |
PostAccountsAccountCapabilitiesCapabilityResponseDefault Error | Error response. |