Skip to main content

fraudsters

Creates, updates, deletes, gets or lists a fraudsters resource.

Overview

Namefraudsters
TypeResource
Idaws.voice_id.fraudsters

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
created_atstring (date-time)The timestamp of when Voice ID identified the fraudster.
domain_idstringThe identifier of the domain that contains the fraudster. (pattern: <code>^[a-zA-Z0-9]{22}$</code>)
generated_fraudster_idstringThe service-generated identifier for the fraudster. (pattern: <code>^id#[a-zA-Z0-9]{22}$</code>)
watchlist_idsarrayThe identifier of the watchlists the fraudster is a part of.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
describe_fraudsterselectregionDescribes the specified fraudster.
list_fraudstersselectregionLists all fraudsters in a specified watchlist or domain.
associate_fraudsterupdateregion, DomainId, FraudsterId, WatchlistIdAssociates the fraudsters with the watchlist specified in the same domain.
delete_fraudsterdeleteregionDeletes the specified fraudster from Voice ID. This action disassociates the fraudster from any watchlists it is a part of.
disassociate_fraudsterexecregion, DomainId, FraudsterId, WatchlistIdDisassociates the fraudsters from the watchlist specified. Voice ID always expects a fraudster to be a part of at least one watchlist. If you try to disassociate a fraudster from its only watchlist, a ValidationException is thrown.
start_fraudster_registration_jobexecregion, DataAccessRoleArn, DomainId, InputDataConfig, OutputDataConfigStarts a new batch fraudster registration job using provided details.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
regionstringAWS region (default: us-east-1)

SELECT examples

Describes the specified fraudster.

SELECT
created_at,
domain_id,
generated_fraudster_id,
watchlist_ids
FROM aws.voice_id.fraudsters
WHERE region = '{{ region }}' -- required
;

UPDATE examples

Associates the fraudsters with the watchlist specified in the same domain.

UPDATE aws.voice_id.fraudsters
SET
DomainId = '{{ DomainId }}',
FraudsterId = '{{ FraudsterId }}',
WatchlistId = '{{ WatchlistId }}'
WHERE
region = '{{ region }}' --required
AND DomainId = '{{ DomainId }}' --required
AND FraudsterId = '{{ FraudsterId }}' --required
AND WatchlistId = '{{ WatchlistId }}' --required
RETURNING
fraudster;

DELETE examples

Deletes the specified fraudster from Voice ID. This action disassociates the fraudster from any watchlists it is a part of.

DELETE FROM aws.voice_id.fraudsters
WHERE region = '{{ region }}' --required
;

Lifecycle Methods

Disassociates the fraudsters from the watchlist specified. Voice ID always expects a fraudster to be a part of at least one watchlist. If you try to disassociate a fraudster from its only watchlist, a ValidationException is thrown.

EXEC aws.voice_id.fraudsters.disassociate_fraudster
@region='{{ region }}' --required
@@json=
'{
"DomainId": "{{ DomainId }}",
"FraudsterId": "{{ FraudsterId }}",
"WatchlistId": "{{ WatchlistId }}"
}'
;