FraudDetector / Client / update_list
update_list¶
- FraudDetector.Client.update_list(**kwargs)¶
Updates a list.
See also: AWS API Documentation
Request Syntax
response = client.update_list( name='string', elements=[ 'string', ], description='string', updateMode='REPLACE'|'APPEND'|'REMOVE', variableType='string' )
- Parameters:
name (string) –
[REQUIRED]
The name of the list to update.
elements (list) –
One or more list elements to add or replace. If you are providing the elements, make sure to specify the
updateModeto use.If you are deleting all elements from the list, use
REPLACEfor theupdateModeand provide an empty list (0 elements).(string) –
description (string) – The new description.
updateMode (string) –
The update mode (type).
Use
APPENDif you are adding elements to the list.Use
REPLACEif you replacing existing elements in the list.Use
REMOVEif you are removing elements from the list.
variableType (string) –
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.
- Return type:
dict
- Returns:
Response Syntax
{}Response Structure
(dict) –
Exceptions