Safe Haskell | None |
---|---|
Language | Haskell2010 |
Contains the different functions to run the operation postAccountsAccountCapabilitiesCapability
Synopsis
- postAccountsAccountCapabilitiesCapability :: forall m. MonadHTTP m => PostAccountsAccountCapabilitiesCapabilityParameters -> Maybe PostAccountsAccountCapabilitiesCapabilityRequestBody -> ClientT m (Response PostAccountsAccountCapabilitiesCapabilityResponse)
- data PostAccountsAccountCapabilitiesCapabilityParameters = PostAccountsAccountCapabilitiesCapabilityParameters {}
- mkPostAccountsAccountCapabilitiesCapabilityParameters :: Text -> Text -> PostAccountsAccountCapabilitiesCapabilityParameters
- data PostAccountsAccountCapabilitiesCapabilityRequestBody = PostAccountsAccountCapabilitiesCapabilityRequestBody {}
- mkPostAccountsAccountCapabilitiesCapabilityRequestBody :: PostAccountsAccountCapabilitiesCapabilityRequestBody
- data PostAccountsAccountCapabilitiesCapabilityResponse
Documentation
postAccountsAccountCapabilitiesCapability Source #
:: forall m. MonadHTTP m | |
=> PostAccountsAccountCapabilitiesCapabilityParameters | Contains all available parameters of this operation (query and path parameters) |
-> Maybe PostAccountsAccountCapabilitiesCapabilityRequestBody | The request body to send |
-> ClientT m (Response PostAccountsAccountCapabilitiesCapabilityResponse) | Monadic computation which returns the result of the operation |
POST /v1/accounts/{account}/capabilities/{capability}
<p>Updates an existing Account Capability.</p>
data PostAccountsAccountCapabilitiesCapabilityParameters Source #
Defines the object schema located at paths./v1/accounts/{account}/capabilities/{capability}.POST.parameters
in the specification.
PostAccountsAccountCapabilitiesCapabilityParameters | |
|
Instances
mkPostAccountsAccountCapabilitiesCapabilityParameters Source #
:: Text |
|
-> Text |
|
-> PostAccountsAccountCapabilitiesCapabilityParameters |
Create a new PostAccountsAccountCapabilitiesCapabilityParameters
with all required fields.
data PostAccountsAccountCapabilitiesCapabilityRequestBody Source #
Defines the object schema located at paths./v1/accounts/{account}/capabilities/{capability}.POST.requestBody.content.application/x-www-form-urlencoded.schema
in the specification.
PostAccountsAccountCapabilitiesCapabilityRequestBody | |
|
Instances
mkPostAccountsAccountCapabilitiesCapabilityRequestBody :: PostAccountsAccountCapabilitiesCapabilityRequestBody Source #
Create a new PostAccountsAccountCapabilitiesCapabilityRequestBody
with all required fields.
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. |