import { importPeer } from "../util/peer.js";
/**
 * Helper to get the current AWS account ID
 */
export async function AccountId() {
    const { GetCallerIdentityCommand, STSClient } = await importPeer(import("@aws-sdk/client-sts"), "aws::AccountId");
    const sts = new STSClient({});
    const identity = await sts.send(new GetCallerIdentityCommand({}));
    return identity.Account;
}
//# sourceMappingURL=account-id.js.map