Class: Aws::VoiceID::Types::EnrollmentConfig

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-voiceid/lib/aws-sdk-voiceid/types.rb

Overview

Note:

When making an API call, you may pass EnrollmentConfig data as a hash:

{
  existing_enrollment_action: "SKIP", # accepts SKIP, OVERWRITE
  fraud_detection_config: {
    fraud_detection_action: "IGNORE", # accepts IGNORE, FAIL
    risk_threshold: 1,
  },
}

Contains configurations defining enrollment behavior for the batch job.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#existing_enrollment_actionString

The action to take when the specified speaker is already enrolled in the specified domain. The default value is SKIP, which skips the enrollment for the existing speaker. Setting the value to OVERWRITE replaces the existing voice prints and enrollment audio stored for that speaker with new data generated from the latest audio.

Returns:

  • (String)


614
615
616
617
618
619
# File 'gems/aws-sdk-voiceid/lib/aws-sdk-voiceid/types.rb', line 614

class EnrollmentConfig < Struct.new(
  :existing_enrollment_action,
  :fraud_detection_config)
  SENSITIVE = []
  include Aws::Structure
end

#fraud_detection_configTypes::EnrollmentJobFraudDetectionConfig

The fraud detection configuration to use for the speaker enrollment job.



614
615
616
617
618
619
# File 'gems/aws-sdk-voiceid/lib/aws-sdk-voiceid/types.rb', line 614

class EnrollmentConfig < Struct.new(
  :existing_enrollment_action,
  :fraud_detection_config)
  SENSITIVE = []
  include Aws::Structure
end