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.
import type * as location from "@distilled.cloud/aws/location";
import type * as Effect from "effect/Effect";
import * as Binding from "../../Binding.ts";
/**
* Retrieves the status, configuration, and error report of a Location batch metadata job.
*
* Runtime binding for the `GetJob` operation (IAM action
* `geo:GetJob`), account-scoped — batch jobs are created at runtime so the
* grant is on `*`. Provide the implementation with
* `Effect.provide(AWS.Location.GetJobHttp)`.
*
* @binding
* @section Managing Batch Jobs
* @example Poll a Batch Job
* ```typescript
* const getJob = yield* Location.GetJob();
*
* const job = yield* getJob({ JobId: jobId });
* // job.Status → "IN_PROGRESS" | "SUCCEEDED" | …
* ```
*/
export interface GetJob extends Binding.Service<
GetJob,
"AWS.Location.GetJob",
() => Effect.Effect<
(
request: location.GetJobRequest,
) => Effect.Effect<location.GetJobResponse, location.GetJobError>
>
> {}
export const GetJob = Binding.Service<GetJob>("AWS.Location.GetJob");