// GENERATED FILE — do not edit. // Service: cloudtrail (1 functions) import type { MockCtx } from "../helpers.js"; import * as h from "../helpers.js"; // aws:cloudtrail/getServiceAccount:getServiceAccount export function getServiceAccount(ctx: MockCtx): Record { const depth = 0; const i: Record = (ctx.inputs ?? {}) as any; const out: Record = {}; out.arn = h.arn(ctx); out.id = h.id(ctx, "id"); out.region = (i.region !== undefined ? i.region : ctx.region); return out; }