Backend half

This commit is contained in:
2025-07-11 19:56:28 +02:00
parent fa868e7c1d
commit 8600fa7c1d
19426 changed files with 3750448 additions and 8108 deletions
+37
View File
@@ -0,0 +1,37 @@
import Polly = require('../../clients/polly');
import {AWSError} from '../error';
/**
* A presigner object can be used to generate presigned urls for the Polly service.
*/
export class Presigner {
/**
* Creates a presigner object with a set of configuration options.
*/
constructor(options?: Presigner.PresignerOptions)
/**
* Generate a signed URL.
*/
getSynthesizeSpeechUrl(params: Polly.Types.SynthesizeSpeechInput, error: number, callback: (err: AWSError, url: string) => void): void;
/**
* Generate a signed URL.
*/
getSynthesizeSpeechUrl(params: Polly.Types.SynthesizeSpeechInput, callback: (err: AWSError, url: string) => void): void;
/**
* Generate a signed URL.
*/
getSynthesizeSpeechUrl(params: Polly.Types.SynthesizeSpeechInput, expires?: number): string;
}
export namespace Presigner {
export import GetSynthesizeSpeechUrlInput = Polly.Types.SynthesizeSpeechInput;
export interface PresignerOptions {
/**
* An optional map of parameters to bind to every request sent by this service object.
*/
params?: {[key: string]: any}
/**
* An optional pre-configured instance of the AWS.Polly service object to use for requests. The object may bound parameters used by the presigner.
*/
service?: Polly;
}
}