Safe Haskell | None |
---|---|
Language | Haskell2010 |
Contains the different functions to run the operation getTerminalLocationsLocation
Synopsis
- getTerminalLocationsLocation :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> Maybe String -> String -> GetTerminalLocationsLocationRequestBody -> m (Either HttpException (Response GetTerminalLocationsLocationResponse))
- getTerminalLocationsLocationRaw :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> Maybe String -> String -> GetTerminalLocationsLocationRequestBody -> m (Either HttpException (Response ByteString))
- getTerminalLocationsLocationM :: forall m s. (MonadHTTP m, SecurityScheme s) => Maybe String -> String -> GetTerminalLocationsLocationRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response GetTerminalLocationsLocationResponse))
- getTerminalLocationsLocationRawM :: forall m s. (MonadHTTP m, SecurityScheme s) => Maybe String -> String -> GetTerminalLocationsLocationRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response ByteString))
- data GetTerminalLocationsLocationRequestBody = GetTerminalLocationsLocationRequestBody {
- data GetTerminalLocationsLocationResponse
Documentation
getTerminalLocationsLocation Source #
:: (MonadHTTP m, SecurityScheme s) | |
=> Configuration s | The configuration to use in the request |
-> Maybe String | expand: Specifies which fields in the response should be expanded. |
-> String | location | Constraints: Maximum length of 5000 |
-> GetTerminalLocationsLocationRequestBody | The request body to send |
-> m (Either HttpException (Response GetTerminalLocationsLocationResponse)) | Monad containing the result of the operation |
GET /v1/terminal/locations/{location}
<p>Retrieves a <code>Location</code> object.</p>
getTerminalLocationsLocationRaw :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> Maybe String -> String -> GetTerminalLocationsLocationRequestBody -> m (Either HttpException (Response ByteString)) Source #
GET /v1/terminal/locations/{location}
The same as getTerminalLocationsLocation
but returns the raw ByteString
getTerminalLocationsLocationM :: forall m s. (MonadHTTP m, SecurityScheme s) => Maybe String -> String -> GetTerminalLocationsLocationRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response GetTerminalLocationsLocationResponse)) Source #
GET /v1/terminal/locations/{location}
Monadic version of getTerminalLocationsLocation
(use with runWithConfiguration
)
getTerminalLocationsLocationRawM :: forall m s. (MonadHTTP m, SecurityScheme s) => Maybe String -> String -> GetTerminalLocationsLocationRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response ByteString)) Source #
GET /v1/terminal/locations/{location}
Monadic version of getTerminalLocationsLocationRaw
(use with runWithConfiguration
)
data GetTerminalLocationsLocationRequestBody Source #
Defines the data type for the schema getTerminalLocationsLocationRequestBody
data GetTerminalLocationsLocationResponse Source #
Represents a response of the operation getTerminalLocationsLocation
.
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), GetTerminalLocationsLocationResponseError
is used.
GetTerminalLocationsLocationResponseError String | Means either no matching case available or a parse error |
GetTerminalLocationsLocationResponse200 Terminal'location | Successful response. |
GetTerminalLocationsLocationResponseDefault Error | Error response. |