Open-source Grok Bot alternative for named AI teammates. Local-first desktop, web, and mobile clients with per-bot tools, instructions, and memory. Independent fork of T3 Code.
import type * as ram from "@distilled.cloud/aws/ram";
import type * as Effect from "effect/Effect";
import * as Binding from "../../Binding.ts";
/**
* Runtime binding for `ram:ListResources`.
*
* Lists the resources that you added to resource shares or that are shared with you.
* Account-level operation — the target shares, invitations, and permissions
* are chosen per request at runtime, so the binding takes no resource
* argument. Provide the implementation with
* `Effect.provide(AWS.RAM.ListResourcesHttp)`.
* @binding
* @section Discovering Shares & Shared Resources
* @example List the Resources Shared with You
* ```typescript
* // init — account-level binding, no resource argument
* const listResources = yield* AWS.RAM.ListResources();
*
* // runtime
* const { resources } = yield* listResources({
* resourceOwner: "OTHER-ACCOUNTS",
* });
* ```
*/
export interface ListResources extends Binding.Service<
ListResources,
"AWS.RAM.ListResources",
() => Effect.Effect<
(
request: ram.ListResourcesRequest,
) => Effect.Effect<ram.ListResourcesResponse, ram.ListResourcesError>
>
> {}
export const ListResources = Binding.Service<ListResources>(
"AWS.RAM.ListResources",
);