import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { CopyDBClusterParameterGroupMessage, CopyDBClusterParameterGroupResult } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link CopyDBClusterParameterGroupCommand}. */ export interface CopyDBClusterParameterGroupCommandInput extends CopyDBClusterParameterGroupMessage { } /** * @public * * The output of {@link CopyDBClusterParameterGroupCommand}. */ export interface CopyDBClusterParameterGroupCommandOutput extends CopyDBClusterParameterGroupResult, __MetadataBearer { } declare const CopyDBClusterParameterGroupCommand_base: { new (input: CopyDBClusterParameterGroupCommandInput): import("@smithy/core/client").CommandImpl; new (input: CopyDBClusterParameterGroupCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Copies the specified cluster parameter group.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { DocDBClient, CopyDBClusterParameterGroupCommand } from "@aws-sdk/client-docdb"; // ES Modules import * // const { DocDBClient, CopyDBClusterParameterGroupCommand } = require("@aws-sdk/client-docdb"); // CommonJS import * // import type { DocDBClientConfig } from "@aws-sdk/client-docdb"; * const config = {}; // type is DocDBClientConfig * const client = new DocDBClient(config); * const input = { // CopyDBClusterParameterGroupMessage * SourceDBClusterParameterGroupIdentifier: "STRING_VALUE", // required * TargetDBClusterParameterGroupIdentifier: "STRING_VALUE", // required * TargetDBClusterParameterGroupDescription: "STRING_VALUE", // required * Tags: [ // TagList * { // Tag * Key: "STRING_VALUE", * Value: "STRING_VALUE", * }, * ], * }; * const command = new CopyDBClusterParameterGroupCommand(input); * const response = await client.send(command); * // { // CopyDBClusterParameterGroupResult * // DBClusterParameterGroup: { // DBClusterParameterGroup * // DBClusterParameterGroupName: "STRING_VALUE", * // DBParameterGroupFamily: "STRING_VALUE", * // Description: "STRING_VALUE", * // DBClusterParameterGroupArn: "STRING_VALUE", * // }, * // }; * * ``` * * @param CopyDBClusterParameterGroupCommandInput - {@link CopyDBClusterParameterGroupCommandInput} * @returns {@link CopyDBClusterParameterGroupCommandOutput} * @see {@link CopyDBClusterParameterGroupCommandInput} for command's `input` shape. * @see {@link CopyDBClusterParameterGroupCommandOutput} for command's `response` shape. * @see {@link DocDBClientResolvedConfig | config} for DocDBClient's `config` shape. * * @throws {@link DBParameterGroupAlreadyExistsFault} (client fault) *

A parameter group with the same name already exists.

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

* DBParameterGroupName doesn't refer to an existing parameter group.

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

This request would cause you to exceed the allowed number of parameter groups.

* * @throws {@link DocDBServiceException} *

Base exception class for all service exceptions from DocDB service.

* * * @public */ export declare class CopyDBClusterParameterGroupCommand extends CopyDBClusterParameterGroupCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: CopyDBClusterParameterGroupMessage; output: CopyDBClusterParameterGroupResult; }; sdk: { input: CopyDBClusterParameterGroupCommandInput; output: CopyDBClusterParameterGroupCommandOutput; }; }; }