import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { CreateControlRequest, CreateControlResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link CreateControlCommand}. */ export interface CreateControlCommandInput extends CreateControlRequest { } /** * @public * * The output of {@link CreateControlCommand}. */ export interface CreateControlCommandOutput extends CreateControlResponse, __MetadataBearer { } declare const CreateControlCommand_base: { new (input: CreateControlCommandInput): import("@smithy/core/client").CommandImpl; new (input: CreateControlCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Creates a new custom control in Audit Manager.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { AuditManagerClient, CreateControlCommand } from "@aws-sdk/client-auditmanager"; // ES Modules import * // const { AuditManagerClient, CreateControlCommand } = 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 = { // CreateControlRequest * name: "STRING_VALUE", // required * description: "STRING_VALUE", * testingInformation: "STRING_VALUE", * actionPlanTitle: "STRING_VALUE", * actionPlanInstructions: "STRING_VALUE", * controlMappingSources: [ // CreateControlMappingSources // required * { // CreateControlMappingSource * 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", * }, * ], * tags: { // TagMap * "": "STRING_VALUE", * }, * }; * const command = new CreateControlCommand(input); * const response = await client.send(command); * // { // CreateControlResponse * // 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 CreateControlCommandInput - {@link CreateControlCommandInput} * @returns {@link CreateControlCommandOutput} * @see {@link CreateControlCommandInput} for command's `input` shape. * @see {@link CreateControlCommandOutput} 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 ServiceQuotaExceededException} (client fault) *

You've reached your account quota for this resource type. To perform the requested * action, delete some existing resources or request a quota increase from * the Service Quotas console. For a list of Audit Manager service quotas, see Quotas and * restrictions for Audit Manager.

* * @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 CreateControlCommand extends CreateControlCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: CreateControlRequest; output: CreateControlResponse; }; sdk: { input: CreateControlCommandInput; output: CreateControlCommandOutput; }; }; }