| 1 | import type * as transcribe from "@distilled.cloud/aws/transcribe"; |
| 2 | import type * as Effect from "effect/Effect"; |
| 3 | import * as Binding from "../../Binding.ts"; |
| 4 | |
| 5 | /** |
| 6 | * Runtime binding for `transcribe:UpdateCallAnalyticsCategory` — replace a Call Analytics category's rules. |
| 7 | * |
| 8 | * Amazon Transcribe batch actions have no resource-level IAM; the host is |
| 9 | * granted `transcribe:UpdateCallAnalyticsCategory` on `*`. |
| 10 | * |
| 11 | * ### Call Analytics Categories |
| 12 | * **Example:** Update a Call Analytics Category |
| 13 | * ```typescript |
| 14 | * // init |
| 15 | * const updateCallAnalyticsCategory = yield* AWS.Transcribe.UpdateCallAnalyticsCategory(); |
| 16 | * |
| 17 | * // runtime |
| 18 | * yield* updateCallAnalyticsCategory({ |
| 19 | * CategoryName: "long-silence", |
| 20 | * Rules: [{ NonTalkTimeFilter: { Threshold: 60000 } }], |
| 21 | * }); |
| 22 | * ``` |
| 23 | * |
| 24 | * @binding |
| 25 | */ |
| 26 | export interface UpdateCallAnalyticsCategory extends Binding.Service< |
| 27 | UpdateCallAnalyticsCategory, |
| 28 | "AWS.Transcribe.UpdateCallAnalyticsCategory", |
| 29 | () => Effect.Effect< |
| 30 | ( |
| 31 | request: transcribe.UpdateCallAnalyticsCategoryRequest, |
| 32 | ) => Effect.Effect< |
| 33 | transcribe.UpdateCallAnalyticsCategoryResponse, |
| 34 | transcribe.UpdateCallAnalyticsCategoryError |
| 35 | > |
| 36 | > |
| 37 | > {} |
| 38 | export const UpdateCallAnalyticsCategory = |
| 39 | Binding.Service<UpdateCallAnalyticsCategory>( |
| 40 | "AWS.Transcribe.UpdateCallAnalyticsCategory", |
| 41 | ); |