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 updateMode to use.

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

    • (string) –

  • description (string) – The new description.

  • updateMode (string) –

    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) –

    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

  • FraudDetector.Client.exceptions.ValidationException

  • FraudDetector.Client.exceptions.ResourceNotFoundException

  • FraudDetector.Client.exceptions.InternalServerException

  • FraudDetector.Client.exceptions.ThrottlingException

  • FraudDetector.Client.exceptions.AccessDeniedException

  • FraudDetector.Client.exceptions.ConflictException