| 1 | import type * as macie2 from "@distilled.cloud/aws/macie2"; |
| 2 | import type * as Effect from "effect/Effect"; |
| 3 | import * as Binding from "../../Binding.ts"; |
| 4 | |
| 5 | /** |
| 6 | * Runtime binding for `macie2:GetAutomatedDiscoveryConfiguration`. |
| 7 | * |
| 8 | * Retrieves the configuration settings and status of automated sensitive data discovery for an organization or standalone account. |
| 9 | * Account-level operation — invoked with the caller's request as-is. |
| 10 | * Provide the implementation with |
| 11 | * `Effect.provide(AWS.Macie2.GetAutomatedDiscoveryConfigurationHttp)`. |
| 12 | * ### Automated Discovery |
| 13 | * **Example:** Read the Automated Discovery Configuration |
| 14 | * ```typescript |
| 15 | * // init — account-level binding, no resource argument |
| 16 | * const getAutomatedDiscoveryConfiguration = yield* AWS.Macie2.GetAutomatedDiscoveryConfiguration(); |
| 17 | * |
| 18 | * // runtime |
| 19 | * const { status } = yield* getAutomatedDiscoveryConfiguration(); |
| 20 | * ``` |
| 21 | * |
| 22 | * @binding |
| 23 | */ |
| 24 | export interface GetAutomatedDiscoveryConfiguration extends Binding.Service< |
| 25 | GetAutomatedDiscoveryConfiguration, |
| 26 | "AWS.Macie2.GetAutomatedDiscoveryConfiguration", |
| 27 | () => Effect.Effect< |
| 28 | ( |
| 29 | request?: macie2.GetAutomatedDiscoveryConfigurationRequest, |
| 30 | ) => Effect.Effect< |
| 31 | macie2.GetAutomatedDiscoveryConfigurationResponse, |
| 32 | macie2.GetAutomatedDiscoveryConfigurationError |
| 33 | > |
| 34 | > |
| 35 | > {} |
| 36 | export const GetAutomatedDiscoveryConfiguration = |
| 37 | Binding.Service<GetAutomatedDiscoveryConfiguration>( |
| 38 | "AWS.Macie2.GetAutomatedDiscoveryConfiguration", |
| 39 | ); |