import type * as aa from "@distilled.cloud/aws/accessanalyzer"; import type * as Effect from "effect/Effect"; import * as Binding from "../../Binding.ts"; import type { Analyzer } from "./Analyzer.ts"; /** `StartResourceScan` request with `analyzerArn` injected from the bound {@link Analyzer}. */ export interface StartResourceScanRequest extends Omit { } /** * Runtime binding for `access-analyzer:StartResourceScan`. * * Immediately rescans a resource's policy instead of waiting for the * analyzer's periodic scan. Provide the implementation with * `Effect.provide(AWS.AccessAnalyzer.StartResourceScanHttp)`. * ### Scanning Resources * **Example:** Rescan a Bucket After a Policy Change * ```typescript * const startScan = yield* AWS.AccessAnalyzer.StartResourceScan(analyzer); * yield* startScan({ resourceArn: bucket.bucketArn }); * ``` * * @binding */ export interface StartResourceScan extends Binding.Service Effect.Effect<(request: StartResourceScanRequest) => Effect.Effect>> { } export declare const StartResourceScan: StartResourceScan; //# sourceMappingURL=StartResourceScan.d.ts.map