1import type * as macie2 from "@distilled.cloud/aws/macie2";
2import type * as Effect from "effect/Effect";
3import * as Binding from "../../Binding.ts";
4
5/**
6 * Runtime binding for `macie2:ListCustomDataIdentifiers`.
7 *
8 * Retrieves a subset of information about the custom data identifiers for an account.
9 * Account-level operation — invoked with the caller's request as-is.
10 * Provide the implementation with
11 * `Effect.provide(AWS.Macie2.ListCustomDataIdentifiersHttp)`.
12 * ### Custom Data Identifiers & Lists
13 * **Example:** List Custom Data Identifiers
14 * ```typescript
15 * // init — account-level binding, no resource argument
16 * const listCustomDataIdentifiers = yield* AWS.Macie2.ListCustomDataIdentifiers();
17 *
18 * // runtime
19 * const { items } = yield* listCustomDataIdentifiers();
20 * ```
21 *
22 * @binding
23 */
24export interface ListCustomDataIdentifiers extends Binding.Service<
25 ListCustomDataIdentifiers,
26 "AWS.Macie2.ListCustomDataIdentifiers",
27 () => Effect.Effect<
28 (
29 request?: macie2.ListCustomDataIdentifiersRequest,
30 ) => Effect.Effect<
31 macie2.ListCustomDataIdentifiersResponse,
32 macie2.ListCustomDataIdentifiersError
33 >
34 >
35> {}
36export const ListCustomDataIdentifiers =
37 Binding.Service<ListCustomDataIdentifiers>(
38 "AWS.Macie2.ListCustomDataIdentifiers",
39 );