import type * as organizations from "@distilled.cloud/aws/organizations"; import type * as Effect from "effect/Effect"; import * as Binding from "../../Binding.ts"; /** * Runtime binding for `organizations:ListAccountsForParent`. * * Lists the accounts directly contained by the specified root or organizational unit (not accounts in child OUs). * Account-level operation — Organizations is a management-account-scoped * global service, so the binding takes no resource argument. Provide the * implementation with `Effect.provide(AWS.Organizations.ListAccountsForParentHttp)`. * ### Reading the Organization Tree * **Example:** List Accounts Under an OU * ```typescript * // init — account-level binding, no resource argument * const listAccountsForParent = yield* AWS.Organizations.ListAccountsForParent(); * * // runtime * const { Accounts } = yield* listAccountsForParent({ ParentId: ouId }); * ``` * * @binding */ export interface ListAccountsForParent extends Binding.Service Effect.Effect<(request: organizations.ListAccountsForParentRequest) => Effect.Effect>> { } export declare const ListAccountsForParent: ListAccountsForParent; //# sourceMappingURL=ListAccountsForParent.d.ts.map