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

Deletes a custom engine version. To run this command, make sure you meet the following prerequisites:

Typically, deletion takes a few minutes.

The MediaImport service that imports files from Amazon S3 to create CEVs isn't integrated with Amazon Web Services CloudTrail. If you turn on data logging for Amazon RDS in CloudTrail, calls to the DeleteCustomDbEngineVersion event aren't logged. However, you might see calls from the API gateway that accesses your Amazon S3 bucket. These calls originate from the MediaImport service for the DeleteCustomDbEngineVersion event.

For more information, see Deleting a CEV in the Amazon RDS User Guide.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { RDSClient, DeleteCustomDBEngineVersionCommand } from "@aws-sdk/client-rds"; // ES Modules import * // const { RDSClient, DeleteCustomDBEngineVersionCommand } = 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 = { // DeleteCustomDBEngineVersionMessage * Engine: "STRING_VALUE", // required * EngineVersion: "STRING_VALUE", // required * }; * const command = new DeleteCustomDBEngineVersionCommand(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 DeleteCustomDBEngineVersionCommandInput - {@link DeleteCustomDBEngineVersionCommandInput} * @returns {@link DeleteCustomDBEngineVersionCommandOutput} * @see {@link DeleteCustomDBEngineVersionCommandInput} for command's `input` shape. * @see {@link DeleteCustomDBEngineVersionCommandOutput} for command's `response` shape. * @see {@link RDSClientResolvedConfig | config} for RDSClient's `config` shape. * * @throws {@link CustomDBEngineVersionNotFoundFault} (client fault) *

The specified CEV was not found.

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

You can't delete the CEV.

* * @throws {@link RDSServiceException} *

Base exception class for all service exceptions from RDS service.

* * * @public */ export declare class DeleteCustomDBEngineVersionCommand extends DeleteCustomDBEngineVersionCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: DeleteCustomDBEngineVersionMessage; output: DBEngineVersion; }; sdk: { input: DeleteCustomDBEngineVersionCommandInput; output: DeleteCustomDBEngineVersionCommandOutput; }; }; }