import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { DeletePlatformVersionRequest, DeletePlatformVersionResult } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link DeletePlatformVersionCommand}. */ export interface DeletePlatformVersionCommandInput extends DeletePlatformVersionRequest { } /** * @public * * The output of {@link DeletePlatformVersionCommand}. */ export interface DeletePlatformVersionCommandOutput extends DeletePlatformVersionResult, __MetadataBearer { } declare const DeletePlatformVersionCommand_base: { new (input: DeletePlatformVersionCommandInput): import("@smithy/core/client").CommandImpl; new (...[input]: [] | [DeletePlatformVersionCommandInput]): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Deletes the specified version of a custom platform.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { ElasticBeanstalkClient, DeletePlatformVersionCommand } from "@aws-sdk/client-elastic-beanstalk"; // ES Modules import * // const { ElasticBeanstalkClient, DeletePlatformVersionCommand } = require("@aws-sdk/client-elastic-beanstalk"); // CommonJS import * // import type { ElasticBeanstalkClientConfig } from "@aws-sdk/client-elastic-beanstalk"; * const config = {}; // type is ElasticBeanstalkClientConfig * const client = new ElasticBeanstalkClient(config); * const input = { // DeletePlatformVersionRequest * PlatformArn: "STRING_VALUE", * }; * const command = new DeletePlatformVersionCommand(input); * const response = await client.send(command); * // { // DeletePlatformVersionResult * // PlatformSummary: { // PlatformSummary * // PlatformArn: "STRING_VALUE", * // PlatformOwner: "STRING_VALUE", * // PlatformStatus: "Creating" || "Failed" || "Ready" || "Deleting" || "Deleted", * // PlatformCategory: "STRING_VALUE", * // OperatingSystemName: "STRING_VALUE", * // OperatingSystemVersion: "STRING_VALUE", * // SupportedTierList: [ // SupportedTierList * // "STRING_VALUE", * // ], * // SupportedAddonList: [ // SupportedAddonList * // "STRING_VALUE", * // ], * // PlatformLifecycleState: "STRING_VALUE", * // PlatformVersion: "STRING_VALUE", * // PlatformBranchName: "STRING_VALUE", * // PlatformBranchLifecycleState: "STRING_VALUE", * // }, * // }; * * ``` * * @param DeletePlatformVersionCommandInput - {@link DeletePlatformVersionCommandInput} * @returns {@link DeletePlatformVersionCommandOutput} * @see {@link DeletePlatformVersionCommandInput} for command's `input` shape. * @see {@link DeletePlatformVersionCommandOutput} for command's `response` shape. * @see {@link ElasticBeanstalkClientResolvedConfig | config} for ElasticBeanstalkClient's `config` shape. * * @throws {@link ElasticBeanstalkServiceException} (client fault) *

A generic service exception has occurred.

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

The specified account does not have sufficient privileges for one or more Amazon Web Services services.

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

Unable to perform the specified operation because another operation that effects an * element in this activity is already in progress.

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

You cannot delete the platform version because there are still environments running on it.

* * @throws {@link ElasticBeanstalkSyntheticServiceException} *

Base exception class for all service exceptions from ElasticBeanstalk service.

* * * @public */ export declare class DeletePlatformVersionCommand extends DeletePlatformVersionCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: DeletePlatformVersionRequest; output: DeletePlatformVersionResult; }; sdk: { input: DeletePlatformVersionCommandInput; output: DeletePlatformVersionCommandOutput; }; }; }