The best way to control Claude Code, Codex and more from any computer or phone
Mirrored from https://github.com/Camo67/t3code.git
Synced Nov 21, 04:45 UTC
| 1 | import type * as macie2 from "@distilled.cloud/aws/macie2"; |
| 2 | import * as Binding from "alchemy/Binding"; |
| 3 | import type * as Effect from "effect/Effect"; |
| 4 | |
| 5 | /** |
| 6 | * Runtime binding for `macie2:CreateSampleFindings`. |
| 7 | * |
| 8 | * Creates sample findings. |
| 9 | * Account-level operation — invoked with the caller's request as-is. |
| 10 | * Provide the implementation with |
| 11 | * `Effect.provide(AWS.Macie2.CreateSampleFindingsHttp)`. |
| 12 | * ### Working with Findings |
| 13 | * **Example:** Generate Sample Findings |
| 14 | * ```typescript |
| 15 | * // init — account-level binding, no resource argument |
| 16 | * const createSampleFindings = yield* AWS.Macie2.CreateSampleFindings(); |
| 17 | * |
| 18 | * // runtime |
| 19 | * yield* createSampleFindings({}); |
| 20 | * ``` |
| 21 | * |
| 22 | * @binding |
| 23 | */ |
| 24 | export interface CreateSampleFindings extends Binding.Service< |
| 25 | CreateSampleFindings, |
| 26 | "AWS.Macie2.CreateSampleFindings", |
| 27 | () => Effect.Effect< |
| 28 | ( |
| 29 | request?: macie2.CreateSampleFindingsRequest, |
| 30 | ) => Effect.Effect<macie2.CreateSampleFindingsResponse, macie2.CreateSampleFindingsError> |
| 31 | > |
| 32 | > {} |
| 33 | export const CreateSampleFindings = Binding.Service<CreateSampleFindings>( |
| 34 | "AWS.Macie2.CreateSampleFindings", |
| 35 | ); |