@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, 04:45 UTC

main
ts 36 lines 1.39 KB
Raw
1 import type * as opensearch from "@distilled.cloud/aws/opensearch";
2 import * as Binding from "alchemy/Binding";
3 import type * as Effect from "effect/Effect";
4
5 /**
6 * Runtime binding for the `DescribeDomainChangeProgress` operation (IAM action
7 * `es:DescribeDomainChangeProgress`).
8 *
9 * Tracks the stage-by-stage progress of a domain's in-flight configuration change (blue/green deployment) — e.g. to report how far along a cluster resize is. Provide the implementation with
10 * `Effect.provide(AWS.OpenSearch.DescribeDomainChangeProgressHttp)`.
11 * ### Monitoring Domains
12 * **Example:** Track a Configuration Change
13 * ```typescript
14 * const describeDomainChangeProgress = yield* OpenSearch.DescribeDomainChangeProgress();
15 *
16 * const result = yield* describeDomainChangeProgress({ DomainName: name });
17 * // result.ChangeProgressStatus?.Status → "COMPLETED"
18 * ```
19 *
20 * @binding
21 */
22 export interface DescribeDomainChangeProgress extends Binding.Service<
23 DescribeDomainChangeProgress,
24 "AWS.OpenSearch.DescribeDomainChangeProgress",
25 () => Effect.Effect<
26 (
27 request: opensearch.DescribeDomainChangeProgressRequest,
28 ) => Effect.Effect<
29 opensearch.DescribeDomainChangeProgressResponse,
30 opensearch.DescribeDomainChangeProgressError
31 >
32 >
33 > {}
34 export const DescribeDomainChangeProgress = Binding.Service<DescribeDomainChangeProgress>(
35 "AWS.OpenSearch.DescribeDomainChangeProgress",
36 );