import { Command as $Command } from "@smithy/core/client"; import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { Macie2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../Macie2Client"; import type { UpdateRevealConfigurationRequest, UpdateRevealConfigurationResponse } from "../models/models_1"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link UpdateRevealConfigurationCommand}. */ export interface UpdateRevealConfigurationCommandInput extends UpdateRevealConfigurationRequest { } /** * @public * * The output of {@link UpdateRevealConfigurationCommand}. */ export interface UpdateRevealConfigurationCommandOutput extends UpdateRevealConfigurationResponse, __MetadataBearer { } declare const UpdateRevealConfigurationCommand_base: { new (input: UpdateRevealConfigurationCommandInput): import("@smithy/core/client").CommandImpl; new (input: UpdateRevealConfigurationCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): { [x: string]: unknown; }; }; /** *

Updates the status and configuration settings for retrieving occurrences of sensitive data reported by findings.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { Macie2Client, UpdateRevealConfigurationCommand } from "@aws-sdk/client-macie2"; // ES Modules import * // const { Macie2Client, UpdateRevealConfigurationCommand } = require("@aws-sdk/client-macie2"); // CommonJS import * // import type { Macie2ClientConfig } from "@aws-sdk/client-macie2"; * const config = {}; // type is Macie2ClientConfig * const client = new Macie2Client(config); * const input = { // UpdateRevealConfigurationRequest * configuration: { // RevealConfiguration * kmsKeyId: "STRING_VALUE", * status: "ENABLED" || "DISABLED", // required * }, * retrievalConfiguration: { // UpdateRetrievalConfiguration * retrievalMode: "CALLER_CREDENTIALS" || "ASSUME_ROLE", // required * roleName: "STRING_VALUE", * }, * }; * const command = new UpdateRevealConfigurationCommand(input); * const response = await client.send(command); * // { // UpdateRevealConfigurationResponse * // configuration: { // RevealConfiguration * // kmsKeyId: "STRING_VALUE", * // status: "ENABLED" || "DISABLED", // required * // }, * // retrievalConfiguration: { // RetrievalConfiguration * // externalId: "STRING_VALUE", * // retrievalMode: "CALLER_CREDENTIALS" || "ASSUME_ROLE", // required * // roleName: "STRING_VALUE", * // }, * // }; * * ``` * * @param UpdateRevealConfigurationCommandInput - {@link UpdateRevealConfigurationCommandInput} * @returns {@link UpdateRevealConfigurationCommandOutput} * @see {@link UpdateRevealConfigurationCommandInput} for command's `input` shape. * @see {@link UpdateRevealConfigurationCommandOutput} for command's `response` shape. * @see {@link Macie2ClientResolvedConfig | config} for Macie2Client's `config` shape. * * @throws {@link AccessDeniedException} (client fault) *

Provides information about an error that occurred due to insufficient access to a specified resource.

* * @throws {@link InternalServerException} (server fault) *

Provides information about an error that occurred due to an unknown internal server error, exception, or failure.

* * @throws {@link ThrottlingException} (client fault) *

Provides information about an error that occurred because too many requests were sent during a certain amount of time.

* * @throws {@link ValidationException} (client fault) *

Provides information about an error that occurred due to a syntax error in a request.

* * @throws {@link Macie2ServiceException} *

Base exception class for all service exceptions from Macie2 service.

* * * @public */ export declare class UpdateRevealConfigurationCommand extends UpdateRevealConfigurationCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: UpdateRevealConfigurationRequest; output: UpdateRevealConfigurationResponse; }; sdk: { input: UpdateRevealConfigurationCommandInput; output: UpdateRevealConfigurationCommandOutput; }; }; }