Safe Haskell | None |
---|---|
Language | Haskell2010 |
Contains the different functions to run the operation postRadarValueLists
Synopsis
- postRadarValueLists :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> PostRadarValueListsRequestBody -> m (Either HttpException (Response PostRadarValueListsResponse))
- postRadarValueListsRaw :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> PostRadarValueListsRequestBody -> m (Either HttpException (Response ByteString))
- postRadarValueListsM :: forall m s. (MonadHTTP m, SecurityScheme s) => PostRadarValueListsRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response PostRadarValueListsResponse))
- postRadarValueListsRawM :: forall m s. (MonadHTTP m, SecurityScheme s) => PostRadarValueListsRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response ByteString))
- data PostRadarValueListsRequestBody = PostRadarValueListsRequestBody {
- postRadarValueListsRequestBodyAlias :: String
- postRadarValueListsRequestBodyExpand :: Maybe ([] String)
- postRadarValueListsRequestBodyItemType :: Maybe PostRadarValueListsRequestBodyItemType'
- postRadarValueListsRequestBodyMetadata :: Maybe PostRadarValueListsRequestBodyMetadata'
- postRadarValueListsRequestBodyName :: String
- data PostRadarValueListsRequestBodyItemType'
- = PostRadarValueListsRequestBodyItemType'EnumOther Value
- | PostRadarValueListsRequestBodyItemType'EnumTyped String
- | PostRadarValueListsRequestBodyItemType'EnumStringCardBin
- | PostRadarValueListsRequestBodyItemType'EnumStringCardFingerprint
- | PostRadarValueListsRequestBodyItemType'EnumStringCaseSensitiveString
- | PostRadarValueListsRequestBodyItemType'EnumStringCountry
- | PostRadarValueListsRequestBodyItemType'EnumStringEmail
- | PostRadarValueListsRequestBodyItemType'EnumStringIpAddress
- | PostRadarValueListsRequestBodyItemType'EnumStringString
- data PostRadarValueListsRequestBodyMetadata' = PostRadarValueListsRequestBodyMetadata' {
- data PostRadarValueListsResponse
Documentation
:: (MonadHTTP m, SecurityScheme s) | |
=> Configuration s | The configuration to use in the request |
-> PostRadarValueListsRequestBody | The request body to send |
-> m (Either HttpException (Response PostRadarValueListsResponse)) | Monad containing the result of the operation |
POST /v1/radar/value_lists
<p>Creates a new <code>ValueList</code> object, which can then be referenced in rules.</p>
postRadarValueListsRaw :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> PostRadarValueListsRequestBody -> m (Either HttpException (Response ByteString)) Source #
POST /v1/radar/value_lists
The same as postRadarValueLists
but returns the raw ByteString
postRadarValueListsM :: forall m s. (MonadHTTP m, SecurityScheme s) => PostRadarValueListsRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response PostRadarValueListsResponse)) Source #
POST /v1/radar/value_lists
Monadic version of postRadarValueLists
(use with runWithConfiguration
)
postRadarValueListsRawM :: forall m s. (MonadHTTP m, SecurityScheme s) => PostRadarValueListsRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response ByteString)) Source #
POST /v1/radar/value_lists
Monadic version of postRadarValueListsRaw
(use with runWithConfiguration
)
data PostRadarValueListsRequestBody Source #
Defines the data type for the schema postRadarValueListsRequestBody
PostRadarValueListsRequestBody | |
|
data PostRadarValueListsRequestBodyItemType' Source #
Defines the enum schema postRadarValueListsRequestBodyItem_type'
Type of the items in the value list. One of `card_fingerprint`, `card_bin`, `email`, `ip_address`, `country`, `string`, or `case_sensitive_string`. Use `string` if the item type is unknown or mixed.
data PostRadarValueListsRequestBodyMetadata' Source #
Defines the data type for the schema postRadarValueListsRequestBodyMetadata'
Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
data PostRadarValueListsResponse Source #
Represents a response of the operation postRadarValueLists
.
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), PostRadarValueListsResponseError
is used.
PostRadarValueListsResponseError String | Means either no matching case available or a parse error |
PostRadarValueListsResponse200 Radar'valueList | Successful response. |
PostRadarValueListsResponseDefault Error | Error response. |