import type * as inspector2 from "@distilled.cloud/aws/inspector2"; import type * as Effect from "effect/Effect"; import * as Binding from "../../Binding.ts"; /** * Runtime binding for `inspector2:ResetEncryptionKey`. * * Resets an encryption key. After the key is reset your resources will be encrypted by an * Amazon Web Services owned key. * * Provide the implementation with * `Effect.provide(AWS.Inspector2.ResetEncryptionKeyHttp)`. * ### Account Settings & Usage * **Example:** Reset to the AWS-Owned Key * ```typescript * // init * const resetEncryptionKey = yield* AWS.Inspector2.ResetEncryptionKey(); * * // runtime * yield* resetEncryptionKey({ * resourceType: "AWS_ECR_CONTAINER_IMAGE", * scanType: "PACKAGE", * }); * ``` * * @binding */ export interface ResetEncryptionKey extends Binding.Service Effect.Effect<(request: inspector2.ResetEncryptionKeyRequest) => Effect.Effect>> { } export declare const ResetEncryptionKey: ResetEncryptionKey; //# sourceMappingURL=ResetEncryptionKey.d.ts.map