import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { EnableBaselineInput, EnableBaselineOutput } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link EnableBaselineCommand}. */ export interface EnableBaselineCommandInput extends EnableBaselineInput { } /** * @public * * The output of {@link EnableBaselineCommand}. */ export interface EnableBaselineCommandOutput extends EnableBaselineOutput, __MetadataBearer { } declare const EnableBaselineCommand_base: { new (input: EnableBaselineCommandInput): import("@smithy/core/client").CommandImpl; new (input: EnableBaselineCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Enable (apply) a Baseline to a Target. This API starts an asynchronous operation to deploy resources specified by the Baseline to the specified Target. For usage examples, see the Amazon Web Services Control Tower User Guide .

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { ControlTowerClient, EnableBaselineCommand } from "@aws-sdk/client-controltower"; // ES Modules import * // const { ControlTowerClient, EnableBaselineCommand } = require("@aws-sdk/client-controltower"); // CommonJS import * // import type { ControlTowerClientConfig } from "@aws-sdk/client-controltower"; * const config = {}; // type is ControlTowerClientConfig * const client = new ControlTowerClient(config); * const input = { // EnableBaselineInput * baselineVersion: "STRING_VALUE", // required * parameters: [ // EnabledBaselineParameters * { // EnabledBaselineParameter * key: "STRING_VALUE", // required * value: "DOCUMENT_VALUE", // required * }, * ], * baselineIdentifier: "STRING_VALUE", // required * targetIdentifier: "STRING_VALUE", // required * tags: { // TagMap * "": "STRING_VALUE", * }, * }; * const command = new EnableBaselineCommand(input); * const response = await client.send(command); * // { // EnableBaselineOutput * // operationIdentifier: "STRING_VALUE", // required * // arn: "STRING_VALUE", // required * // }; * * ``` * * @param EnableBaselineCommandInput - {@link EnableBaselineCommandInput} * @returns {@link EnableBaselineCommandOutput} * @see {@link EnableBaselineCommandInput} for command's `input` shape. * @see {@link EnableBaselineCommandOutput} for command's `response` shape. * @see {@link ControlTowerClientResolvedConfig | config} for ControlTowerClient's `config` shape. * * @throws {@link AccessDeniedException} (client fault) *

You do not have sufficient access to perform this action.

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

Updating or deleting the resource can cause an inconsistent state.

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

An unexpected error occurred during processing of a request.

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

The request references a resource that does not exist.

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

The request would cause a service quota to be exceeded. See Service quotas.

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

The request was denied due to request throttling.

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

The input does not satisfy the constraints specified by an Amazon Web Services service.

* * @throws {@link ControlTowerServiceException} *

Base exception class for all service exceptions from ControlTower service.

* * * @public */ export declare class EnableBaselineCommand extends EnableBaselineCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: EnableBaselineInput; output: EnableBaselineOutput; }; sdk: { input: EnableBaselineCommandInput; output: EnableBaselineCommandOutput; }; }; }