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 appintegrations from "@distilled.cloud/aws/appintegrations"; |
| 2 | import * as Binding from "alchemy/Binding"; |
| 3 | import type * as Effect from "effect/Effect"; |
| 4 | |
| 5 | export interface ListDataIntegrationsRequest extends appintegrations.ListDataIntegrationsRequest {} |
| 6 | |
| 7 | /** |
| 8 | * Lists the AppIntegrations data integrations in the account |
| 9 | * (`app-integrations:ListDataIntegrations`). |
| 10 | * |
| 11 | * An account-level operation — bind it with no resource argument. Provide the |
| 12 | * `ListDataIntegrationsHttp` layer on the Function to satisfy the binding. |
| 13 | * ### Listing Data Integrations |
| 14 | * **Example:** List All Data Integrations |
| 15 | * ```typescript |
| 16 | * // init — no resource argument (provide AWS.AppIntegrations.ListDataIntegrationsHttp on the Function) |
| 17 | * const listDataIntegrations = yield* AWS.AppIntegrations.ListDataIntegrations(); |
| 18 | * |
| 19 | * // runtime — page through the data integrations in the account |
| 20 | * const { DataIntegrations } = yield* listDataIntegrations({}); |
| 21 | * ``` |
| 22 | * |
| 23 | * @binding |
| 24 | */ |
| 25 | export interface ListDataIntegrations extends Binding.Service< |
| 26 | ListDataIntegrations, |
| 27 | "AWS.AppIntegrations.ListDataIntegrations", |
| 28 | () => Effect.Effect< |
| 29 | ( |
| 30 | request?: ListDataIntegrationsRequest, |
| 31 | ) => Effect.Effect< |
| 32 | appintegrations.ListDataIntegrationsResponse, |
| 33 | appintegrations.ListDataIntegrationsError |
| 34 | > |
| 35 | > |
| 36 | > {} |
| 37 | export const ListDataIntegrations = Binding.Service<ListDataIntegrations>( |
| 38 | "AWS.AppIntegrations.ListDataIntegrations", |
| 39 | ); |