Safe Haskell | None |
---|---|
Language | Haskell2010 |
Contains the different functions to run the operation postEphemeralKeys
Synopsis
- postEphemeralKeys :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> PostEphemeralKeysRequestBody -> m (Either HttpException (Response PostEphemeralKeysResponse))
- postEphemeralKeysRaw :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> PostEphemeralKeysRequestBody -> m (Either HttpException (Response ByteString))
- postEphemeralKeysM :: forall m s. (MonadHTTP m, SecurityScheme s) => PostEphemeralKeysRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response PostEphemeralKeysResponse))
- postEphemeralKeysRawM :: forall m s. (MonadHTTP m, SecurityScheme s) => PostEphemeralKeysRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response ByteString))
- data PostEphemeralKeysRequestBody = PostEphemeralKeysRequestBody {}
- data PostEphemeralKeysResponse
Documentation
:: (MonadHTTP m, SecurityScheme s) | |
=> Configuration s | The configuration to use in the request |
-> PostEphemeralKeysRequestBody | The request body to send |
-> m (Either HttpException (Response PostEphemeralKeysResponse)) | Monad containing the result of the operation |
POST /v1/ephemeral_keys
<p>Creates a short-lived API key for a given resource.</p>
postEphemeralKeysRaw :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> PostEphemeralKeysRequestBody -> m (Either HttpException (Response ByteString)) Source #
POST /v1/ephemeral_keys
The same as postEphemeralKeys
but returns the raw ByteString
postEphemeralKeysM :: forall m s. (MonadHTTP m, SecurityScheme s) => PostEphemeralKeysRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response PostEphemeralKeysResponse)) Source #
POST /v1/ephemeral_keys
Monadic version of postEphemeralKeys
(use with runWithConfiguration
)
postEphemeralKeysRawM :: forall m s. (MonadHTTP m, SecurityScheme s) => PostEphemeralKeysRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response ByteString)) Source #
POST /v1/ephemeral_keys
Monadic version of postEphemeralKeysRaw
(use with runWithConfiguration
)
data PostEphemeralKeysRequestBody Source #
Defines the data type for the schema postEphemeralKeysRequestBody
PostEphemeralKeysRequestBody | |
|
Instances
data PostEphemeralKeysResponse Source #
Represents a response of the operation postEphemeralKeys
.
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), PostEphemeralKeysResponseError
is used.
PostEphemeralKeysResponseError String | Means either no matching case available or a parse error |
PostEphemeralKeysResponse200 EphemeralKey | Successful response. |
PostEphemeralKeysResponseDefault Error | Error response. |