@devries-cameron20 / t3code Mirror · read-only
Fork 0

The best way to control Claude Code, Codex and more from any computer or phone

Mirrored from https://github.com/Camo67/t3code.git

Synced Nov 21, 06:00 UTC

main
ts 35 lines 1.13 KB
Raw
1 import type * as iotfleetwise from "@distilled.cloud/aws/iotfleetwise";
2 import * as Binding from "alchemy/Binding";
3 import type * as Effect from "effect/Effect";
4
5 /**
6 * Runtime binding for the `ListVehicles` operation (IAM action
7 * `iotfleetwise:ListVehicles`), account-level.
8 *
9 * Lists the vehicles in the account, optionally filtered by model
10 * manifest or attribute values. Provide the implementation with
11 * `Effect.provide(AWS.IoTFleetWise.ListVehiclesHttp)`.
12 *
13 * ### Provisioning Vehicles
14 * **Example:** List Vehicles by Attribute
15 * ```typescript
16 * const listVehicles = yield* IoTFleetWise.ListVehicles();
17 *
18 * const { vehicleSummaries } = yield* listVehicles({
19 * attributeNames: ["Vehicle.Color"],
20 * attributeValues: ["red"],
21 * });
22 * ```
23 *
24 * @binding
25 */
26 export interface ListVehicles extends Binding.Service<
27 ListVehicles,
28 "AWS.IoTFleetWise.ListVehicles",
29 () => Effect.Effect<
30 (
31 request?: iotfleetwise.ListVehiclesRequest,
32 ) => Effect.Effect<iotfleetwise.ListVehiclesResponse, iotfleetwise.ListVehiclesError>
33 >
34 > {}
35 export const ListVehicles = Binding.Service<ListVehicles>("AWS.IoTFleetWise.ListVehicles");