Skip to content

Open-source Grok Bot alternative for named AI teammates. Local-first desktop, web, and mobile clients with per-bot tools, instructions, and memory. Independent fork of T3 Code.

1.3 KB
Raw Blame
import type * as comprehendmedical from "@distilled.cloud/aws/comprehendmedical";
import type * as Effect from "effect/Effect";
import * as Binding from "../../Binding.ts";

/**
 * Runtime binding for `comprehendmedical:StopPHIDetectionJob` — stop an in-progress asynchronous protected health information (PHI) detection job.
 *
 * Comprehend Medical has no resource-level IAM, so the binding takes no
 * arguments and grants `comprehendmedical:StopPHIDetectionJob` on `*`. Provide the
 * implementation with `Effect.provide(AWS.ComprehendMedical.StopPHIDetectionJobHttp)`.
 *
 * @binding
 * @section Batch PHI Detection Jobs
 * @example Stop a Running Job
 * ```typescript
 * // init
 * const stopPHIDetectionJob = yield* AWS.ComprehendMedical.StopPHIDetectionJob();
 *
 * // runtime
 * yield* stopPHIDetectionJob({ JobId: jobId });
 * ```
 */
export interface StopPHIDetectionJob extends Binding.Service<
  StopPHIDetectionJob,
  "AWS.ComprehendMedical.StopPHIDetectionJob",
  () => Effect.Effect<
    (
      request: comprehendmedical.StopPHIDetectionJobRequest,
    ) => Effect.Effect<
      comprehendmedical.StopPHIDetectionJobResponse,
      comprehendmedical.StopPHIDetectionJobError
    >
  >
> {}
export const StopPHIDetectionJob = Binding.Service<StopPHIDetectionJob>(
  "AWS.ComprehendMedical.StopPHIDetectionJob",
);