start_fraudster_registration_job
async
¶
start_fraudster_registration_job(
domain_id: DomainId,
data_access_role_arn: IamRoleArn,
input_data_config: InputDataConfig,
output_data_config: OutputDataConfig,
*,
config_overrides: Optional[AsyncVoiceIDClientConfig] = None,
client_token: Optional[ClientTokenString] = None,
job_name: Optional[JobName] = None,
registration_config: Optional[RegistrationConfig] = None,
) -> StartFraudsterRegistrationJobResponse
Starts a new batch fraudster registration job using provided details.
Parameters:
-
client_token(Optional[ClientTokenString], default:None) –A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.
-
job_name(Optional[JobName], default:None) –The name of the new fraudster registration job.
-
domain_id(DomainId) –The identifier of the domain that contains the fraudster registration job and in which the fraudsters are registered.
-
data_access_role_arn(IamRoleArn) –The IAM role Amazon Resource Name (ARN) that grants Voice ID permissions to access customer's buckets to read the input manifest file and write the Job output file. Refer to the Create and edit a fraudster watchlist documentation for the permissions needed in this role.
-
registration_config(Optional[RegistrationConfig], default:None) –The registration config containing details such as the action to take when a duplicate fraudster is detected, and the similarity threshold to use for detecting a duplicate fraudster.
-
input_data_config(InputDataConfig) –The input data config containing an S3 URI for the input manifest file that contains the list of fraudster registration requests.
-
output_data_config(OutputDataConfig) –The output data config containing the S3 location where Voice ID writes the job output file; you must also include a KMS key ID to encrypt the file.
Raises:
-
AccessDeniedException–You do not have sufficient permissions to perform this action. Check the error message and try again.
-
ConflictException–The request failed due to a conflict. Check the
ConflictTypeand error message for more details. -
InternalServerException–The request failed due to an unknown error on the server side.
-
ResourceNotFoundException–The specified resource cannot be found. Check the
ResourceTypeand error message for more details. -
ServiceQuotaExceededException–The request exceeded the service quota. Refer to Voice ID Service Quotas and try your request again.
-
ThrottlingException–The request was denied due to request throttling. Please slow down your request rate. Refer to Amazon Connect Voice ID Service API throttling quotas and try your request again.
-
ValidationException–The request failed one or more validations; check the error message for more details.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_voice_id/_services/async_voice_id.py
1649 1650 1651 1652 1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 1669 1670 1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 1682 1683 1684 1685 1686 1687 1688 1689 1690 1691 1692 1693 1694 1695 1696 1697 1698 1699 1700 1701 1702 1703 1704 1705 1706 1707 1708 1709 1710 1711 1712 1713 1714 1715 1716 1717 1718 1719 1720 1721 1722 1723 1724 1725 1726 1727 1728 1729 1730 1731 1732 1733 1734 1735 1736 1737 1738 1739 1740 1741 1742 1743 1744 1745 1746 1747 1748 | |