Skip to content

/AWS1/CL_VID=>STARTSPEAKERENROLLMENTJOB()

About StartSpeakerEnrollmentJob

Starts a new batch speaker enrollment job using specified details.

Method Signature

IMPORTING

Required arguments:

IV_DOMAINID TYPE /AWS1/VIDDOMAINID /AWS1/VIDDOMAINID

The identifier of the domain that contains the speaker enrollment job and in which the speakers are enrolled.

IV_DATAACCESSROLEARN TYPE /AWS1/VIDIAMROLEARN /AWS1/VIDIAMROLEARN

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 Batch enrollment using audio data from prior calls for the permissions needed in this role.

IO_INPUTDATACONFIG TYPE REF TO /AWS1/CL_VIDINPUTDATACONFIG /AWS1/CL_VIDINPUTDATACONFIG

The input data config containing the S3 location for the input manifest file that contains the list of speaker enrollment requests.

IO_OUTPUTDATACONFIG TYPE REF TO /AWS1/CL_VIDOUTPUTDATACONFIG /AWS1/CL_VIDOUTPUTDATACONFIG

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.

Optional arguments:

IV_CLIENTTOKEN TYPE /AWS1/VIDCLIENTTOKENSTRING /AWS1/VIDCLIENTTOKENSTRING

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.

IV_JOBNAME TYPE /AWS1/VIDJOBNAME /AWS1/VIDJOBNAME

A name for your speaker enrollment job.

IO_ENROLLMENTCONFIG TYPE REF TO /AWS1/CL_VIDENROLLMENTCONFIG /AWS1/CL_VIDENROLLMENTCONFIG

The enrollment config that contains details such as the action to take when a speaker is already enrolled in Voice ID or when a speaker is identified as a fraudster.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_VIDSTRTSPEAKERENROL01 /AWS1/CL_VIDSTRTSPEAKERENROL01