Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

UpdateListRequest

import type { UpdateListRequest } from "https://aws-api.deno.dev/v0.4/services/frauddetector.ts?docs=full";
interface UpdateListRequest {
description?: string | null;
elements?: string[] | null;
name: string;
updateMode?: ListUpdateMode | null;
variableType?: string | null;
}

§Properties

§
description?: string | null
[src]

The new description.

§
elements?: string[] | null
[src]

One or more list elements to add or replace. If you are providing the elements, make sure to specify the updateMode to use.

If you are deleting all elements from the list, use REPLACE for the updateMode and provide an empty list (0 elements).

§
name: string
[src]

The name of the list to update.

§
updateMode?: ListUpdateMode | null
[src]

The update mode (type).

  • Use APPEND if you are adding elements to the list.
  • Use REPLACE if you replacing existing elements in the list.
  • Use REMOVE if you are removing elements from the list.
§
variableType?: string | null
[src]

The variable type you want to assign to the list.

Note: You cannot update a variable type of a list that already has a variable type assigned to it. You can assign a variable type to a list only if the list does not already have a variable type.