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'
)
[REQUIRED]
The name of the list to update.
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).
The update mode (type).
APPEND
if you are adding elements to the list.REPLACE
if you replacing existing elements in the list.REMOVE
if you are removing elements from the list.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.
dict
Response Syntax
{}
Response Structure
Exceptions
FraudDetector.Client.exceptions.ValidationException
FraudDetector.Client.exceptions.ResourceNotFoundException
FraudDetector.Client.exceptions.InternalServerException
FraudDetector.Client.exceptions.ThrottlingException
FraudDetector.Client.exceptions.AccessDeniedException
FraudDetector.Client.exceptions.ConflictException