import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { StartSpeakerEnrollmentJobRequest, StartSpeakerEnrollmentJobResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link StartSpeakerEnrollmentJobCommand}. */ export interface StartSpeakerEnrollmentJobCommandInput extends StartSpeakerEnrollmentJobRequest { } /** * @public * * The output of {@link StartSpeakerEnrollmentJobCommand}. */ export interface StartSpeakerEnrollmentJobCommandOutput extends StartSpeakerEnrollmentJobResponse, __MetadataBearer { } declare const StartSpeakerEnrollmentJobCommand_base: { new (input: StartSpeakerEnrollmentJobCommandInput): import("@smithy/core/client").CommandImpl; new (input: StartSpeakerEnrollmentJobCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Starts a new batch speaker enrollment job using specified details.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { VoiceIDClient, StartSpeakerEnrollmentJobCommand } from "@aws-sdk/client-voice-id"; // ES Modules import * // const { VoiceIDClient, StartSpeakerEnrollmentJobCommand } = require("@aws-sdk/client-voice-id"); // CommonJS import * // import type { VoiceIDClientConfig } from "@aws-sdk/client-voice-id"; * const config = {}; // type is VoiceIDClientConfig * const client = new VoiceIDClient(config); * const input = { // StartSpeakerEnrollmentJobRequest * ClientToken: "STRING_VALUE", * JobName: "STRING_VALUE", * DomainId: "STRING_VALUE", // required * DataAccessRoleArn: "STRING_VALUE", // required * EnrollmentConfig: { // EnrollmentConfig * ExistingEnrollmentAction: "STRING_VALUE", * FraudDetectionConfig: { // EnrollmentJobFraudDetectionConfig * FraudDetectionAction: "STRING_VALUE", * RiskThreshold: Number("int"), * WatchlistIds: [ // EnrollmentJobFraudDetectionConfigWatchlistIds * "STRING_VALUE", * ], * }, * }, * InputDataConfig: { // InputDataConfig * S3Uri: "STRING_VALUE", // required * }, * OutputDataConfig: { // OutputDataConfig * S3Uri: "STRING_VALUE", // required * KmsKeyId: "STRING_VALUE", * }, * }; * const command = new StartSpeakerEnrollmentJobCommand(input); * const response = await client.send(command); * // { // StartSpeakerEnrollmentJobResponse * // Job: { // SpeakerEnrollmentJob * // JobName: "STRING_VALUE", * // JobId: "STRING_VALUE", * // JobStatus: "STRING_VALUE", * // DomainId: "STRING_VALUE", * // DataAccessRoleArn: "STRING_VALUE", * // EnrollmentConfig: { // EnrollmentConfig * // ExistingEnrollmentAction: "STRING_VALUE", * // FraudDetectionConfig: { // EnrollmentJobFraudDetectionConfig * // FraudDetectionAction: "STRING_VALUE", * // RiskThreshold: Number("int"), * // WatchlistIds: [ // EnrollmentJobFraudDetectionConfigWatchlistIds * // "STRING_VALUE", * // ], * // }, * // }, * // InputDataConfig: { // InputDataConfig * // S3Uri: "STRING_VALUE", // required * // }, * // OutputDataConfig: { // OutputDataConfig * // S3Uri: "STRING_VALUE", // required * // KmsKeyId: "STRING_VALUE", * // }, * // CreatedAt: new Date("TIMESTAMP"), * // EndedAt: new Date("TIMESTAMP"), * // FailureDetails: { // FailureDetails * // StatusCode: Number("int"), * // Message: "STRING_VALUE", * // }, * // JobProgress: { // JobProgress * // PercentComplete: Number("int"), * // }, * // }, * // }; * * ``` * * @param StartSpeakerEnrollmentJobCommandInput - {@link StartSpeakerEnrollmentJobCommandInput} * @returns {@link StartSpeakerEnrollmentJobCommandOutput} * @see {@link StartSpeakerEnrollmentJobCommandInput} for command's `input` shape. * @see {@link StartSpeakerEnrollmentJobCommandOutput} for command's `response` shape. * @see {@link VoiceIDClientResolvedConfig | config} for VoiceIDClient's `config` shape. * * @throws {@link AccessDeniedException} (client fault) *

You do not have sufficient permissions to perform this action. Check the error message * and try again.

* * @throws {@link ConflictException} (client fault) *

The request failed due to a conflict. Check the ConflictType and error * message for more details.

* * @throws {@link InternalServerException} (server fault) *

The request failed due to an unknown error on the server side.

* * @throws {@link ResourceNotFoundException} (client fault) *

The specified resource cannot be found. Check the ResourceType and error * message for more details.

* * @throws {@link ServiceQuotaExceededException} (client fault) *

The request exceeded the service quota. Refer to Voice ID Service Quotas and try your request again.

* * @throws {@link ThrottlingException} (client fault) *

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.

* * @throws {@link ValidationException} (client fault) *

The request failed one or more validations; check the error message for more * details.

* * @throws {@link VoiceIDServiceException} *

Base exception class for all service exceptions from VoiceID service.

* * * @public */ export declare class StartSpeakerEnrollmentJobCommand extends StartSpeakerEnrollmentJobCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: StartSpeakerEnrollmentJobRequest; output: StartSpeakerEnrollmentJobResponse; }; sdk: { input: StartSpeakerEnrollmentJobCommandInput; output: StartSpeakerEnrollmentJobCommandOutput; }; }; }