import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { CreateConfigurationRequest, CreateConfigurationResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link CreateConfigurationCommand}. */ export interface CreateConfigurationCommandInput extends CreateConfigurationRequest { } /** * @public * * The output of {@link CreateConfigurationCommand}. */ export interface CreateConfigurationCommandOutput extends CreateConfigurationResponse, __MetadataBearer { } declare const CreateConfigurationCommand_base: { new (input: CreateConfigurationCommandInput): import("@smithy/core/client").CommandImpl; new (input: CreateConfigurationCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Creates a new configuration for the specified configuration name. Amazon MQ uses the default configuration (the engine type and version).

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { MqClient, CreateConfigurationCommand } from "@aws-sdk/client-mq"; // ES Modules import * // const { MqClient, CreateConfigurationCommand } = require("@aws-sdk/client-mq"); // CommonJS import * // import type { MqClientConfig } from "@aws-sdk/client-mq"; * const config = {}; // type is MqClientConfig * const client = new MqClient(config); * const input = { // CreateConfigurationRequest * AuthenticationStrategy: "SIMPLE" || "LDAP" || "CONFIG_MANAGED", * EngineType: "ACTIVEMQ" || "RABBITMQ", // required * EngineVersion: "STRING_VALUE", * Name: "STRING_VALUE", // required * Tags: { // __mapOf__string * "": "STRING_VALUE", * }, * }; * const command = new CreateConfigurationCommand(input); * const response = await client.send(command); * // { // CreateConfigurationResponse * // Arn: "STRING_VALUE", * // AuthenticationStrategy: "SIMPLE" || "LDAP" || "CONFIG_MANAGED", * // Created: new Date("TIMESTAMP"), * // Id: "STRING_VALUE", * // LatestRevision: { // ConfigurationRevision * // Created: new Date("TIMESTAMP"), // required * // Description: "STRING_VALUE", * // Revision: Number("int"), // required * // }, * // Name: "STRING_VALUE", * // }; * * ``` * * @param CreateConfigurationCommandInput - {@link CreateConfigurationCommandInput} * @returns {@link CreateConfigurationCommandOutput} * @see {@link CreateConfigurationCommandInput} for command's `input` shape. * @see {@link CreateConfigurationCommandOutput} for command's `response` shape. * @see {@link MqClientResolvedConfig | config} for MqClient's `config` shape. * * @throws {@link BadRequestException} (client fault) *

Returns information about an error.

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

Returns information about an error.

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

Returns information about an error.

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

Returns information about an error.

* * @throws {@link MqServiceException} *

Base exception class for all service exceptions from Mq service.

* * * @public */ export declare class CreateConfigurationCommand extends CreateConfigurationCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: CreateConfigurationRequest; output: CreateConfigurationResponse; }; sdk: { input: CreateConfigurationCommandInput; output: CreateConfigurationCommandOutput; }; }; }