import type * as polly from "@distilled.cloud/aws/polly"; import type * as Effect from "effect/Effect"; import * as Binding from "../../Binding.ts"; /** * Runtime binding for `polly:ListSpeechSynthesisTasks` — list asynchronous * synthesis tasks ordered by creation date, optionally filtered by status. * * The binding takes no arguments and grants the function * `polly:ListSpeechSynthesisTasks`. Provide the implementation with * `Effect.provide(AWS.Polly.ListSpeechSynthesisTasksHttp)`. * * ### Asynchronous Synthesis * **Example:** List recently completed tasks * ```typescript * // init * const listSpeechSynthesisTasks = yield* AWS.Polly.ListSpeechSynthesisTasks(); * * // runtime * const result = yield* listSpeechSynthesisTasks({ * Status: "completed", * MaxResults: 10, * }); * const taskIds = (result.SynthesisTasks ?? []).map((task) => task.TaskId); * ``` * * @binding */ export interface ListSpeechSynthesisTasks extends Binding.Service Effect.Effect<(request?: polly.ListSpeechSynthesisTasksInput) => Effect.Effect>> { } export declare const ListSpeechSynthesisTasks: ListSpeechSynthesisTasks; //# sourceMappingURL=ListSpeechSynthesisTasks.d.ts.map