Safe Haskell | None |
---|---|
Language | Haskell2010 |
Contains the different functions to run the operation deleteTerminalLocationsLocation
Synopsis
- deleteTerminalLocationsLocation :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> String -> DeleteTerminalLocationsLocationRequestBody -> m (Either HttpException (Response DeleteTerminalLocationsLocationResponse))
- deleteTerminalLocationsLocationRaw :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> String -> DeleteTerminalLocationsLocationRequestBody -> m (Either HttpException (Response ByteString))
- deleteTerminalLocationsLocationM :: forall m s. (MonadHTTP m, SecurityScheme s) => String -> DeleteTerminalLocationsLocationRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response DeleteTerminalLocationsLocationResponse))
- deleteTerminalLocationsLocationRawM :: forall m s. (MonadHTTP m, SecurityScheme s) => String -> DeleteTerminalLocationsLocationRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response ByteString))
- data DeleteTerminalLocationsLocationRequestBody = DeleteTerminalLocationsLocationRequestBody {
- data DeleteTerminalLocationsLocationResponse
Documentation
deleteTerminalLocationsLocation Source #
:: (MonadHTTP m, SecurityScheme s) | |
=> Configuration s | The configuration to use in the request |
-> String | location | Constraints: Maximum length of 5000 |
-> DeleteTerminalLocationsLocationRequestBody | The request body to send |
-> m (Either HttpException (Response DeleteTerminalLocationsLocationResponse)) | Monad containing the result of the operation |
DELETE /v1/terminal/locations/{location}
<p>Deletes a <code>Location</code> object.</p>
deleteTerminalLocationsLocationRaw :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> String -> DeleteTerminalLocationsLocationRequestBody -> m (Either HttpException (Response ByteString)) Source #
DELETE /v1/terminal/locations/{location}
The same as deleteTerminalLocationsLocation
but returns the raw ByteString
deleteTerminalLocationsLocationM :: forall m s. (MonadHTTP m, SecurityScheme s) => String -> DeleteTerminalLocationsLocationRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response DeleteTerminalLocationsLocationResponse)) Source #
DELETE /v1/terminal/locations/{location}
Monadic version of deleteTerminalLocationsLocation
(use with runWithConfiguration
)
deleteTerminalLocationsLocationRawM :: forall m s. (MonadHTTP m, SecurityScheme s) => String -> DeleteTerminalLocationsLocationRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response ByteString)) Source #
DELETE /v1/terminal/locations/{location}
Monadic version of deleteTerminalLocationsLocationRaw
(use with runWithConfiguration
)
data DeleteTerminalLocationsLocationRequestBody Source #
Defines the data type for the schema deleteTerminalLocationsLocationRequestBody
Instances
data DeleteTerminalLocationsLocationResponse Source #
Represents a response of the operation deleteTerminalLocationsLocation
.
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), DeleteTerminalLocationsLocationResponseError
is used.
DeleteTerminalLocationsLocationResponseError String | Means either no matching case available or a parse error |
DeleteTerminalLocationsLocationResponse200 DeletedTerminal'location | Successful response. |
DeleteTerminalLocationsLocationResponseDefault Error | Error response. |