import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { CreateWorkspaceRequest, CreateWorkspaceResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link CreateWorkspaceCommand}. */ export interface CreateWorkspaceCommandInput extends CreateWorkspaceRequest { } /** * @public * * The output of {@link CreateWorkspaceCommand}. */ export interface CreateWorkspaceCommandOutput extends CreateWorkspaceResponse, __MetadataBearer { } declare const CreateWorkspaceCommand_base: { new (input: CreateWorkspaceCommandInput): import("@smithy/core/client").CommandImpl; new (...[input]: [] | [CreateWorkspaceCommandInput]): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Creates a Prometheus workspace. A workspace is a logical space dedicated to the storage and querying of Prometheus metrics. You can have one or more workspaces in each Region in your account.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { AmpClient, CreateWorkspaceCommand } from "@aws-sdk/client-amp"; // ES Modules import * // const { AmpClient, CreateWorkspaceCommand } = require("@aws-sdk/client-amp"); // CommonJS import * // import type { AmpClientConfig } from "@aws-sdk/client-amp"; * const config = {}; // type is AmpClientConfig * const client = new AmpClient(config); * const input = { // CreateWorkspaceRequest * alias: "STRING_VALUE", * clientToken: "STRING_VALUE", * tags: { // TagMap * "": "STRING_VALUE", * }, * kmsKeyArn: "STRING_VALUE", * }; * const command = new CreateWorkspaceCommand(input); * const response = await client.send(command); * // { // CreateWorkspaceResponse * // workspaceId: "STRING_VALUE", // required * // arn: "STRING_VALUE", // required * // status: { // WorkspaceStatus * // statusCode: "STRING_VALUE", // required * // }, * // tags: { // TagMap * // "": "STRING_VALUE", * // }, * // kmsKeyArn: "STRING_VALUE", * // }; * * ``` * * @param CreateWorkspaceCommandInput - {@link CreateWorkspaceCommandInput} * @returns {@link CreateWorkspaceCommandOutput} * @see {@link CreateWorkspaceCommandInput} for command's `input` shape. * @see {@link CreateWorkspaceCommandOutput} for command's `response` shape. * @see {@link AmpClientResolvedConfig | config} for AmpClient's `config` shape. * * @throws {@link AccessDeniedException} (client fault) *

You do not have sufficient access to perform this action.

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

The request would cause an inconsistent state.

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

An unexpected error occurred during the processing of the request.

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

Completing the request would cause a service quota to be exceeded.

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

The request was denied due to request throttling.

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

The input fails to satisfy the constraints specified by an Amazon Web Services service.

* * @throws {@link AmpServiceException} *

Base exception class for all service exceptions from Amp service.

* * * @public */ export declare class CreateWorkspaceCommand extends CreateWorkspaceCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: CreateWorkspaceRequest; output: CreateWorkspaceResponse; }; sdk: { input: CreateWorkspaceCommandInput; output: CreateWorkspaceCommandOutput; }; }; }