The best way to control Claude Code, Codex and more from any computer or phone

main
ts 34 lines 1.19 KB
Raw
1 import type * as SVC from "@distilled.cloud/aws/codepipeline";
2 import * as Binding from "alchemy/Binding";
3 import type * as Effect from "effect/Effect";
4
5 export interface GetJobDetailsRequest extends SVC.GetJobDetailsInput {}
6
7 /**
8 * Runtime binding for `codepipeline:GetJobDetails` — fetches the details of
9 * a job handed to a custom/Invoke action, including input artifacts and the
10 * temporary artifact-store credentials (returned as `Redacted` values).
11 *
12 * CodePipeline job operations do not support resource-level permissions, so
13 * the grant is on `*`. The binding takes no resource — the job id arrives
14 * with the invocation event.
15 * ### Job Workers
16 * **Example:** Fetch Job Details
17 * ```typescript
18 * const getJobDetails = yield* AWS.CodePipeline.GetJobDetails();
19 *
20 * const { jobDetails } = yield* getJobDetails({ jobId });
21 * ```
22 *
23 * @binding
24 */
25 export interface GetJobDetails extends Binding.Service<
26 GetJobDetails,
27 "AWS.CodePipeline.GetJobDetails",
28 () => Effect.Effect<
29 (
30 request: GetJobDetailsRequest,
31 ) => Effect.Effect<SVC.GetJobDetailsOutput, SVC.GetJobDetailsError>
32 >
33 > {}
34 export const GetJobDetails = Binding.Service<GetJobDetails>("AWS.CodePipeline.GetJobDetails");