import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { UpdateControlRequest, UpdateControlResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link UpdateControlCommand}. */ export interface UpdateControlCommandInput extends UpdateControlRequest { } /** * @public * * The output of {@link UpdateControlCommand}. */ export interface UpdateControlCommandOutput extends UpdateControlResponse, __MetadataBearer { } declare const UpdateControlCommand_base: { new (input: UpdateControlCommandInput): import("@smithy/core/client").CommandImpl; new (input: UpdateControlCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Updates a custom control in Audit Manager.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { AuditManagerClient, UpdateControlCommand } from "@aws-sdk/client-auditmanager"; // ES Modules import * // const { AuditManagerClient, UpdateControlCommand } = 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 = { // UpdateControlRequest * controlId: "STRING_VALUE", // required * name: "STRING_VALUE", // required * description: "STRING_VALUE", * testingInformation: "STRING_VALUE", * actionPlanTitle: "STRING_VALUE", * actionPlanInstructions: "STRING_VALUE", * controlMappingSources: [ // ControlMappingSources // required * { // ControlMappingSource * sourceId: "STRING_VALUE", * sourceName: "STRING_VALUE", * sourceDescription: "STRING_VALUE", * sourceSetUpOption: "System_Controls_Mapping" || "Procedural_Controls_Mapping", * sourceType: "AWS_Cloudtrail" || "AWS_Config" || "AWS_Security_Hub" || "AWS_API_Call" || "MANUAL" || "Common_Control" || "Core_Control", * sourceKeyword: { // SourceKeyword * keywordInputType: "SELECT_FROM_LIST" || "UPLOAD_FILE" || "INPUT_TEXT", * keywordValue: "STRING_VALUE", * }, * sourceFrequency: "DAILY" || "WEEKLY" || "MONTHLY", * troubleshootingText: "STRING_VALUE", * }, * ], * }; * const command = new UpdateControlCommand(input); * const response = await client.send(command); * // { // UpdateControlResponse * // control: { // Control * // arn: "STRING_VALUE", * // id: "STRING_VALUE", * // type: "Standard" || "Custom" || "Core", * // name: "STRING_VALUE", * // description: "STRING_VALUE", * // testingInformation: "STRING_VALUE", * // actionPlanTitle: "STRING_VALUE", * // actionPlanInstructions: "STRING_VALUE", * // controlSources: "STRING_VALUE", * // controlMappingSources: [ // ControlMappingSources * // { // ControlMappingSource * // sourceId: "STRING_VALUE", * // sourceName: "STRING_VALUE", * // sourceDescription: "STRING_VALUE", * // sourceSetUpOption: "System_Controls_Mapping" || "Procedural_Controls_Mapping", * // sourceType: "AWS_Cloudtrail" || "AWS_Config" || "AWS_Security_Hub" || "AWS_API_Call" || "MANUAL" || "Common_Control" || "Core_Control", * // sourceKeyword: { // SourceKeyword * // keywordInputType: "SELECT_FROM_LIST" || "UPLOAD_FILE" || "INPUT_TEXT", * // keywordValue: "STRING_VALUE", * // }, * // sourceFrequency: "DAILY" || "WEEKLY" || "MONTHLY", * // troubleshootingText: "STRING_VALUE", * // }, * // ], * // createdAt: new Date("TIMESTAMP"), * // lastUpdatedAt: new Date("TIMESTAMP"), * // createdBy: "STRING_VALUE", * // lastUpdatedBy: "STRING_VALUE", * // tags: { // TagMap * // "": "STRING_VALUE", * // }, * // state: "ACTIVE" || "END_OF_SUPPORT", * // }, * // }; * * ``` * * @param UpdateControlCommandInput - {@link UpdateControlCommandInput} * @returns {@link UpdateControlCommandOutput} * @see {@link UpdateControlCommandInput} for command's `input` shape. * @see {@link UpdateControlCommandOutput} 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 ResourceNotFoundException} (client fault) *

The resource that's specified in the request can't be found.

* * @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 UpdateControlCommand extends UpdateControlCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: UpdateControlRequest; output: UpdateControlResponse; }; sdk: { input: UpdateControlCommandInput; output: UpdateControlCommandOutput; }; }; }