Skip to main content

speaker_enrollment_jobs

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

Overview

Namespeaker_enrollment_jobs
TypeResource
Idaws.voice_id.speaker_enrollment_jobs

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
created_atstring (date-time)A timestamp of when the speaker enrollment job was created.
data_access_role_arnstringThe 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. (pattern: <code>^arn:aws(-[^:]+)?:iam::[0-9]{12}:role/.+$</code>)
domain_idstringThe identifier of the domain that contains the speaker enrollment job. (pattern: <code>^[a-zA-Z0-9]{22}$</code>)
ended_atstring (date-time)A timestamp of when the speaker enrollment job ended.
enrollment_configobjectThe configuration that defines the action to take when the speaker is already enrolled in Voice ID, and the FraudDetectionConfig to use.
failure_detailsobjectContains details that are populated when an entire batch job fails. In cases of individual registration job failures, the batch job as a whole doesn't fail; it is completed with a JobStatus of COMPLETED_WITH_ERRORS. You can use the job output file to identify the individual registration requests that failed.
input_data_configobjectThe input data config containing an S3 URI for the input manifest file that contains the list of speaker enrollment job requests.
job_idstringThe service-generated identifier for the speaker enrollment job. (pattern: <code>^[a-zA-Z0-9]{22}$</code>)
job_namestringThe client-provided name for the speaker enrollment job. (pattern: <code>^[a-zA-Z0-9][a-zA-Z0-9_-]*$</code>)
job_progressobjectProvides details on job progress. This field shows the completed percentage of registration requests listed in the input file.
job_statusstringThe current status of the speaker enrollment job. (SUBMITTED, IN_PROGRESS, COMPLETED, COMPLETED_WITH_ERRORS, FAILED)
output_data_configobjectThe 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.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
describe_speaker_enrollment_jobselectregionDescribes the specified speaker enrollment job.
list_speaker_enrollment_jobsselectregionLists all the speaker enrollment jobs in the domain with the specified JobStatus. If JobStatus is not provided, this lists all jobs with all possible speaker enrollment job statuses.

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 speaker enrollment job.

SELECT
created_at,
data_access_role_arn,
domain_id,
ended_at,
enrollment_config,
failure_details,
input_data_config,
job_id,
job_name,
job_progress,
job_status,
output_data_config
FROM aws.voice_id.speaker_enrollment_jobs
WHERE region = '{{ region }}' -- required
;