create_list

create_list(**kwargs)

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.

See also: AWS API Documentation

Request Syntax

response = client.create_list(
    name='string',
    elements=[
        'string',
    ],
    variableType='string',
    description='string',
    tags=[
        {
            'key': 'string',
            'value': 'string'
        },
    ]
)
Parameters
  • name (string) --

    [REQUIRED]

    The name of the list.

  • elements (list) --

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

    • (string) --
  • variableType (string) -- The variable type of the list. You can only assign the variable type with String data type. For more information, see Variable types.
  • description (string) -- The description of the list.
  • tags (list) --

    A collection of the key and value pairs.

    • (dict) --

      A key and value pair.

      • key (string) -- [REQUIRED]

        A tag key.

      • value (string) -- [REQUIRED]

        A value assigned to a tag key.

Return type

dict

Returns

Response Syntax

{}

Response Structure

  • (dict) --

Exceptions

  • FraudDetector.Client.exceptions.ValidationException
  • FraudDetector.Client.exceptions.InternalServerException
  • FraudDetector.Client.exceptions.ThrottlingException
  • FraudDetector.Client.exceptions.AccessDeniedException