1import type * as opensearch from "@distilled.cloud/aws/opensearch";
2import type * as Effect from "effect/Effect";
3import * as Binding from "../../Binding.ts";
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 */
22export 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> {}
34export const DescribeDomainChangeProgress =
35 Binding.Service<DescribeDomainChangeProgress>(
36 "AWS.OpenSearch.DescribeDomainChangeProgress",
37 );