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

main
ts 36 lines 1.24 KB
Raw
1 import type * as devopsguru from "@distilled.cloud/aws/devops-guru";
2 import * as Binding from "alchemy/Binding";
3 import type * as Effect from "effect/Effect";
4
5 /**
6 * Runtime binding for `devops-guru:StartCostEstimation`.
7 *
8 * Starts estimating the monthly cost of DevOps Guru analyzing a candidate resource collection. Poll the result with `GetCostEstimation`.
9 * Provide the implementation with
10 * `Effect.provide(AWS.DevOpsGuru.StartCostEstimationHttp)`.
11 * ### Cost Estimation
12 * **Example:** Estimate the Cost of Coverage
13 * ```typescript
14 * // init — account-level binding, no resource argument
15 * const startCostEstimation = yield* AWS.DevOpsGuru.StartCostEstimation();
16 *
17 * // runtime
18 * yield* startCostEstimation({
19 * ResourceCollection: { CloudFormation: { StackNames: ["my-app-prod"] } },
20 * });
21 * ```
22 *
23 * @binding
24 */
25 export interface StartCostEstimation extends Binding.Service<
26 StartCostEstimation,
27 "AWS.DevOpsGuru.StartCostEstimation",
28 () => Effect.Effect<
29 (
30 request: devopsguru.StartCostEstimationRequest,
31 ) => Effect.Effect<devopsguru.StartCostEstimationResponse, devopsguru.StartCostEstimationError>
32 >
33 > {}
34 export const StartCostEstimation = Binding.Service<StartCostEstimation>(
35 "AWS.DevOpsGuru.StartCostEstimation",
36 );