import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { UpdateSettingsRequest, UpdateSettingsResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link UpdateSettingsCommand}. */ export interface UpdateSettingsCommandInput extends UpdateSettingsRequest { } /** * @public * * The output of {@link UpdateSettingsCommand}. */ export interface UpdateSettingsCommandOutput extends UpdateSettingsResponse, __MetadataBearer { } declare const UpdateSettingsCommand_base: { new (input: UpdateSettingsCommandInput): import("@smithy/core/client").CommandImpl; new (...[input]: [] | [UpdateSettingsCommandInput]): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Updates Audit Manager settings for the current account.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { AuditManagerClient, UpdateSettingsCommand } from "@aws-sdk/client-auditmanager"; // ES Modules import * // const { AuditManagerClient, UpdateSettingsCommand } = require("@aws-sdk/client-auditmanager"); // CommonJS import * // import type { AuditManagerClientConfig } from "@aws-sdk/client-auditmanager"; * const config = {}; // type is AuditManagerClientConfig * const client = new AuditManagerClient(config); * const input = { // UpdateSettingsRequest * snsTopic: "STRING_VALUE", * defaultAssessmentReportsDestination: { // AssessmentReportsDestination * destinationType: "S3", * destination: "STRING_VALUE", * }, * defaultProcessOwners: [ // Roles * { // Role * roleType: "PROCESS_OWNER" || "RESOURCE_OWNER", // required * roleArn: "STRING_VALUE", // required * }, * ], * kmsKey: "STRING_VALUE", * evidenceFinderEnabled: true || false, * deregistrationPolicy: { // DeregistrationPolicy * deleteResources: "ALL" || "DEFAULT", * }, * defaultExportDestination: { // DefaultExportDestination * destinationType: "S3", * destination: "STRING_VALUE", * }, * }; * const command = new UpdateSettingsCommand(input); * const response = await client.send(command); * // { // UpdateSettingsResponse * // settings: { // Settings * // isAwsOrgEnabled: true || false, * // snsTopic: "STRING_VALUE", * // defaultAssessmentReportsDestination: { // AssessmentReportsDestination * // destinationType: "S3", * // destination: "STRING_VALUE", * // }, * // defaultProcessOwners: [ // Roles * // { // Role * // roleType: "PROCESS_OWNER" || "RESOURCE_OWNER", // required * // roleArn: "STRING_VALUE", // required * // }, * // ], * // kmsKey: "STRING_VALUE", * // evidenceFinderEnablement: { // EvidenceFinderEnablement * // eventDataStoreArn: "STRING_VALUE", * // enablementStatus: "ENABLED" || "DISABLED" || "ENABLE_IN_PROGRESS" || "DISABLE_IN_PROGRESS", * // backfillStatus: "NOT_STARTED" || "IN_PROGRESS" || "COMPLETED", * // error: "STRING_VALUE", * // }, * // deregistrationPolicy: { // DeregistrationPolicy * // deleteResources: "ALL" || "DEFAULT", * // }, * // defaultExportDestination: { // DefaultExportDestination * // destinationType: "S3", * // destination: "STRING_VALUE", * // }, * // }, * // }; * * ``` * * @param UpdateSettingsCommandInput - {@link UpdateSettingsCommandInput} * @returns {@link UpdateSettingsCommandOutput} * @see {@link UpdateSettingsCommandInput} for command's `input` shape. * @see {@link UpdateSettingsCommandOutput} for command's `response` shape. * @see {@link AuditManagerClientResolvedConfig | config} for AuditManagerClient's `config` shape. * * @throws {@link AccessDeniedException} (client fault) *

Your account isn't registered with Audit Manager. Check the delegated * administrator setup on the Audit Manager settings page, and try again.

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

An internal service error occurred during the processing of your request. Try again * later.

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

The request has invalid or missing parameters.

* * @throws {@link AuditManagerServiceException} *

Base exception class for all service exceptions from AuditManager service.

* * * @public */ export declare class UpdateSettingsCommand extends UpdateSettingsCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: UpdateSettingsRequest; output: UpdateSettingsResponse; }; sdk: { input: UpdateSettingsCommandInput; output: UpdateSettingsCommandOutput; }; }; }