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