import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { CreateControlPanelRequest, CreateControlPanelResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link CreateControlPanelCommand}. */ export interface CreateControlPanelCommandInput extends CreateControlPanelRequest { } /** * @public * * The output of {@link CreateControlPanelCommand}. */ export interface CreateControlPanelCommandOutput extends CreateControlPanelResponse, __MetadataBearer { } declare const CreateControlPanelCommand_base: { new (input: CreateControlPanelCommandInput): import("@smithy/core/client").CommandImpl; new (input: CreateControlPanelCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Creates a new control panel. A control panel represents a group of routing controls that can be changed together in a single transaction. You can use a control panel to centrally view the operational status of applications across your organization, and trigger multi-app failovers in a single transaction, for example, to fail over an Availability Zone or Amazon Web Services Region.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { Route53RecoveryControlConfigClient, CreateControlPanelCommand } from "@aws-sdk/client-route53-recovery-control-config"; // ES Modules import * // const { Route53RecoveryControlConfigClient, CreateControlPanelCommand } = require("@aws-sdk/client-route53-recovery-control-config"); // CommonJS import * // import type { Route53RecoveryControlConfigClientConfig } from "@aws-sdk/client-route53-recovery-control-config"; * const config = {}; // type is Route53RecoveryControlConfigClientConfig * const client = new Route53RecoveryControlConfigClient(config); * const input = { // CreateControlPanelRequest * ClientToken: "STRING_VALUE", * ClusterArn: "STRING_VALUE", // required * ControlPanelName: "STRING_VALUE", // required * Tags: { // __mapOf__stringMin0Max256PatternS * "": "STRING_VALUE", * }, * }; * const command = new CreateControlPanelCommand(input); * const response = await client.send(command); * // { // CreateControlPanelResponse * // ControlPanel: { // ControlPanel * // ClusterArn: "STRING_VALUE", * // ControlPanelArn: "STRING_VALUE", * // DefaultControlPanel: true || false, * // Name: "STRING_VALUE", * // RoutingControlCount: Number("int"), * // Status: "PENDING" || "DEPLOYED" || "PENDING_DELETION", * // Owner: "STRING_VALUE", * // }, * // }; * * ``` * * @param CreateControlPanelCommandInput - {@link CreateControlPanelCommandInput} * @returns {@link CreateControlPanelCommandOutput} * @see {@link CreateControlPanelCommandInput} for command's `input` shape. * @see {@link CreateControlPanelCommandOutput} for command's `response` shape. * @see {@link Route53RecoveryControlConfigClientResolvedConfig | config} for Route53RecoveryControlConfigClient's `config` shape. * * @throws {@link AccessDeniedException} (client fault) *

403 response - You do not have sufficient access to perform this action.

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

409 response - ConflictException. You might be using a predefined variable.

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

500 response - InternalServiceError. Temporary service error. Retry the request.

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

404 response - MalformedQueryString. The query string contains a syntax error or resource not found.

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

402 response - You attempted to create more resources than the service allows based on service quotas.

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

429 response - LimitExceededException or TooManyRequestsException.

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

400 response - Multiple causes. For example, you might have a malformed query string and input parameter might be out of range, or you might have used parameters together incorrectly.

* * @throws {@link Route53RecoveryControlConfigServiceException} *

Base exception class for all service exceptions from Route53RecoveryControlConfig service.

* * * @public */ export declare class CreateControlPanelCommand extends CreateControlPanelCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: CreateControlPanelRequest; output: CreateControlPanelResponse; }; sdk: { input: CreateControlPanelCommandInput; output: CreateControlPanelCommandOutput; }; }; }