Safe Haskell | None |
---|---|
Language | Haskell2010 |
Contains the different functions to run the operation postRadarValueLists
Synopsis
- postRadarValueLists :: forall m. MonadHTTP m => PostRadarValueListsRequestBody -> ClientT m (Response PostRadarValueListsResponse)
- data PostRadarValueListsRequestBody = PostRadarValueListsRequestBody {}
- mkPostRadarValueListsRequestBody :: Text -> Text -> PostRadarValueListsRequestBody
- data PostRadarValueListsRequestBodyItemType'
- = PostRadarValueListsRequestBodyItemType'Other Value
- | PostRadarValueListsRequestBodyItemType'Typed Text
- | PostRadarValueListsRequestBodyItemType'EnumCardBin
- | PostRadarValueListsRequestBodyItemType'EnumCardFingerprint
- | PostRadarValueListsRequestBodyItemType'EnumCaseSensitiveString
- | PostRadarValueListsRequestBodyItemType'EnumCountry
- | PostRadarValueListsRequestBodyItemType'EnumEmail
- | PostRadarValueListsRequestBodyItemType'EnumIpAddress
- | PostRadarValueListsRequestBodyItemType'EnumString
- data PostRadarValueListsResponse
Documentation
:: forall m. MonadHTTP m | |
=> PostRadarValueListsRequestBody | The request body to send |
-> ClientT m (Response PostRadarValueListsResponse) | Monadic computation which returns 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>
data PostRadarValueListsRequestBody Source #
Defines the object schema located at paths./v1/radar/value_lists.POST.requestBody.content.application/x-www-form-urlencoded.schema
in the specification.
PostRadarValueListsRequestBody | |
|
mkPostRadarValueListsRequestBody Source #
Create a new PostRadarValueListsRequestBody
with all required fields.
data PostRadarValueListsRequestBodyItemType' Source #
Defines the enum schema located at paths./v1/radar/value_lists.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.item_type
in the specification.
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.
PostRadarValueListsRequestBodyItemType'Other Value | This case is used if the value encountered during decoding does not match any of the provided cases in the specification. |
PostRadarValueListsRequestBodyItemType'Typed Text | This constructor can be used to send values to the server which are not present in the specification yet. |
PostRadarValueListsRequestBodyItemType'EnumCardBin | Represents the JSON value |
PostRadarValueListsRequestBodyItemType'EnumCardFingerprint | Represents the JSON value |
PostRadarValueListsRequestBodyItemType'EnumCaseSensitiveString | Represents the JSON value |
PostRadarValueListsRequestBodyItemType'EnumCountry | Represents the JSON value |
PostRadarValueListsRequestBodyItemType'EnumEmail | Represents the JSON value |
PostRadarValueListsRequestBodyItemType'EnumIpAddress | Represents the JSON value |
PostRadarValueListsRequestBodyItemType'EnumString | Represents the JSON value |
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. |