| 1 | import type * as inspector2 from "@distilled.cloud/aws/inspector2"; |
| 2 | import type * as Effect from "effect/Effect"; |
| 3 | import * as Binding from "../../Binding.ts"; |
| 4 | |
| 5 | /** |
| 6 | * Runtime binding for `inspector2:ListDelegatedAdminAccounts`. |
| 7 | * |
| 8 | * Lists information about the Amazon Inspector delegated administrator of your organization. |
| 9 | * |
| 10 | * Provide the implementation with |
| 11 | * `Effect.provide(AWS.Inspector2.ListDelegatedAdminAccountsHttp)`. |
| 12 | * ### Organization & Members |
| 13 | * **Example:** List Delegated Administrators |
| 14 | * ```typescript |
| 15 | * // init |
| 16 | * const listDelegatedAdminAccounts = yield* AWS.Inspector2.ListDelegatedAdminAccounts(); |
| 17 | * |
| 18 | * // runtime |
| 19 | * const { delegatedAdminAccounts } = yield* listDelegatedAdminAccounts(); |
| 20 | * ``` |
| 21 | * |
| 22 | * @binding |
| 23 | */ |
| 24 | export interface ListDelegatedAdminAccounts extends Binding.Service< |
| 25 | ListDelegatedAdminAccounts, |
| 26 | "AWS.Inspector2.ListDelegatedAdminAccounts", |
| 27 | () => Effect.Effect< |
| 28 | ( |
| 29 | request?: inspector2.ListDelegatedAdminAccountsRequest, |
| 30 | ) => Effect.Effect< |
| 31 | inspector2.ListDelegatedAdminAccountsResponse, |
| 32 | inspector2.ListDelegatedAdminAccountsError |
| 33 | > |
| 34 | > |
| 35 | > {} |
| 36 | export const ListDelegatedAdminAccounts = |
| 37 | Binding.Service<ListDelegatedAdminAccounts>( |
| 38 | "AWS.Inspector2.ListDelegatedAdminAccounts", |
| 39 | ); |