Skip to content

Creates a list

Description

Creates a list.

List is a set of input data for a variable in your event dataset. You use the input data in a rule that's associated with your detector. For more information, see Lists.

Usage

frauddetector_create_list(name, elements, variableType, description,
  tags)

Arguments

  • name

    [required] The name of the list.

  • elements

    The names of the elements, if providing. You can also create an empty list and add elements later using the update_list API.

  • variableType

    The variable type of the list. You can only assign the variable type with String data type. For more information, see Variable types.

  • description

    The description of the list.

  • tags

    A collection of the key and value pairs.

Value

An empty list.

Request syntax

svc$create_list(
  name = "string",
  elements = list(
    "string"
  ),
  variableType = "string",
  description = "string",
  tags = list(
    list(
      key = "string",
      value = "string"
    )
  )
)