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:GetResourceProfile`.
7 *
8 * Retrieves (queries) sensitive data discovery statistics and the sensitivity score for an S3 bucket.
9 * Account-level operation — invoked with the caller's request as-is.
10 * Provide the implementation with
11 * `Effect.provide(AWS.Macie2.GetResourceProfileHttp)`.
12 * ### Automated Discovery
13 * **Example:** Read a Bucket's Sensitivity Profile
14 * ```typescript
15 * // init — account-level binding, no resource argument
16 * const getResourceProfile = yield* AWS.Macie2.GetResourceProfile();
17 *
18 * // runtime
19 * const profile = yield* getResourceProfile({ resourceArn: bucketArn });
20 * ```
21 *
22 * @binding
23 */
24export interface GetResourceProfile extends Binding.Service<
25 GetResourceProfile,
26 "AWS.Macie2.GetResourceProfile",
27 () => Effect.Effect<
28 (
29 request?: macie2.GetResourceProfileRequest,
30 ) => Effect.Effect<
31 macie2.GetResourceProfileResponse,
32 macie2.GetResourceProfileError
33 >
34 >
35> {}
36export const GetResourceProfile = Binding.Service<GetResourceProfile>(
37 "AWS.Macie2.GetResourceProfile",
38);