import { Command as $Command } from "@smithy/core/client"; import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { CreateCustomDBEngineVersionMessage, DBEngineVersion } from "../models/models_0"; import type { RDSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RDSClient"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link CreateCustomDBEngineVersionCommand}. */ export interface CreateCustomDBEngineVersionCommandInput extends CreateCustomDBEngineVersionMessage { } /** * @public * * The output of {@link CreateCustomDBEngineVersionCommand}. */ export interface CreateCustomDBEngineVersionCommandOutput extends DBEngineVersion, __MetadataBearer { } declare const CreateCustomDBEngineVersionCommand_base: { new (input: CreateCustomDBEngineVersionCommandInput): import("@smithy/core/client").CommandImpl; new (input: CreateCustomDBEngineVersionCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): { [x: string]: unknown; }; }; /** *

Creates a custom DB engine version (CEV).

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { RDSClient, CreateCustomDBEngineVersionCommand } from "@aws-sdk/client-rds"; // ES Modules import * // const { RDSClient, CreateCustomDBEngineVersionCommand } = require("@aws-sdk/client-rds"); // CommonJS import * // import type { RDSClientConfig } from "@aws-sdk/client-rds"; * const config = {}; // type is RDSClientConfig * const client = new RDSClient(config); * const input = { // CreateCustomDBEngineVersionMessage * Engine: "STRING_VALUE", // required * EngineVersion: "STRING_VALUE", // required * DatabaseInstallationFilesS3BucketName: "STRING_VALUE", * DatabaseInstallationFilesS3Prefix: "STRING_VALUE", * DatabaseInstallationFiles: [ // StringList * "STRING_VALUE", * ], * ImageId: "STRING_VALUE", * KMSKeyId: "STRING_VALUE", * SourceCustomDbEngineVersionIdentifier: "STRING_VALUE", * UseAwsProvidedLatestImage: true || false, * Description: "STRING_VALUE", * Manifest: "STRING_VALUE", * Tags: [ // TagList * { // Tag * Key: "STRING_VALUE", * Value: "STRING_VALUE", * }, * ], * }; * const command = new CreateCustomDBEngineVersionCommand(input); * const response = await client.send(command); * // { // DBEngineVersion * // Engine: "STRING_VALUE", * // MajorEngineVersion: "STRING_VALUE", * // EngineVersion: "STRING_VALUE", * // DatabaseInstallationFilesS3BucketName: "STRING_VALUE", * // DatabaseInstallationFilesS3Prefix: "STRING_VALUE", * // DatabaseInstallationFiles: [ // StringList * // "STRING_VALUE", * // ], * // CustomDBEngineVersionManifest: "STRING_VALUE", * // DBParameterGroupFamily: "STRING_VALUE", * // DBEngineDescription: "STRING_VALUE", * // DBEngineVersionArn: "STRING_VALUE", * // DBEngineVersionDescription: "STRING_VALUE", * // DefaultCharacterSet: { // CharacterSet * // CharacterSetName: "STRING_VALUE", * // CharacterSetDescription: "STRING_VALUE", * // }, * // FailureReason: "STRING_VALUE", * // Image: { // CustomDBEngineVersionAMI * // ImageId: "STRING_VALUE", * // Status: "STRING_VALUE", * // }, * // DBEngineMediaType: "STRING_VALUE", * // KMSKeyId: "STRING_VALUE", * // CreateTime: new Date("TIMESTAMP"), * // SupportedCharacterSets: [ // SupportedCharacterSetsList * // { * // CharacterSetName: "STRING_VALUE", * // CharacterSetDescription: "STRING_VALUE", * // }, * // ], * // SupportedNcharCharacterSets: [ * // { * // CharacterSetName: "STRING_VALUE", * // CharacterSetDescription: "STRING_VALUE", * // }, * // ], * // ValidUpgradeTarget: [ // ValidUpgradeTargetList * // { // UpgradeTarget * // Engine: "STRING_VALUE", * // EngineVersion: "STRING_VALUE", * // Description: "STRING_VALUE", * // AutoUpgrade: true || false, * // IsMajorVersionUpgrade: true || false, * // SupportedEngineModes: [ // EngineModeList * // "STRING_VALUE", * // ], * // SupportsParallelQuery: true || false, * // SupportsGlobalDatabases: true || false, * // SupportsBabelfish: true || false, * // SupportsLimitlessDatabase: true || false, * // SupportsLocalWriteForwarding: true || false, * // SupportsIntegrations: true || false, * // }, * // ], * // SupportedTimezones: [ // SupportedTimezonesList * // { // Timezone * // TimezoneName: "STRING_VALUE", * // }, * // ], * // ExportableLogTypes: [ // LogTypeList * // "STRING_VALUE", * // ], * // SupportsLogExportsToCloudwatchLogs: true || false, * // SupportsReadReplica: true || false, * // SupportedEngineModes: [ * // "STRING_VALUE", * // ], * // SupportedFeatureNames: [ // FeatureNameList * // "STRING_VALUE", * // ], * // Status: "STRING_VALUE", * // SupportsParallelQuery: true || false, * // SupportsGlobalDatabases: true || false, * // TagList: [ // TagList * // { // Tag * // Key: "STRING_VALUE", * // Value: "STRING_VALUE", * // }, * // ], * // SupportsBabelfish: true || false, * // SupportsLimitlessDatabase: true || false, * // SupportsCertificateRotationWithoutRestart: true || false, * // SupportedCACertificateIdentifiers: [ // CACertificateIdentifiersList * // "STRING_VALUE", * // ], * // SupportsLocalWriteForwarding: true || false, * // SupportsIntegrations: true || false, * // ServerlessV2FeaturesSupport: { // ServerlessV2FeaturesSupport * // MinCapacity: Number("double"), * // MaxCapacity: Number("double"), * // }, * // }; * * ``` * * @param CreateCustomDBEngineVersionCommandInput - {@link CreateCustomDBEngineVersionCommandInput} * @returns {@link CreateCustomDBEngineVersionCommandOutput} * @see {@link CreateCustomDBEngineVersionCommandInput} for command's `input` shape. * @see {@link CreateCustomDBEngineVersionCommandOutput} for command's `response` shape. * @see {@link RDSClientResolvedConfig | config} for RDSClient's `config` shape. * * @throws {@link CreateCustomDBEngineVersionFault} (client fault) *

An error occurred while trying to create the CEV.

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

A CEV with the specified name already exists.

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

The specified CEV was not found.

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

You have exceeded your CEV quota.

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

The AMI configuration prerequisite has not been met.

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

You can't delete the CEV.

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

An error occurred accessing an Amazon Web Services KMS key.

* * @throws {@link RDSServiceException} *

Base exception class for all service exceptions from RDS service.

* * * @public */ export declare class CreateCustomDBEngineVersionCommand extends CreateCustomDBEngineVersionCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: CreateCustomDBEngineVersionMessage; output: DBEngineVersion; }; sdk: { input: CreateCustomDBEngineVersionCommandInput; output: CreateCustomDBEngineVersionCommandOutput; }; }; }