import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { CreatePlatformVersionRequest, CreatePlatformVersionResult } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link CreatePlatformVersionCommand}. */ export interface CreatePlatformVersionCommandInput extends CreatePlatformVersionRequest { } /** * @public * * The output of {@link CreatePlatformVersionCommand}. */ export interface CreatePlatformVersionCommandOutput extends CreatePlatformVersionResult, __MetadataBearer { } declare const CreatePlatformVersionCommand_base: { new (input: CreatePlatformVersionCommandInput): import("@smithy/core/client").CommandImpl; new (input: CreatePlatformVersionCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Create a new version of your custom platform.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { ElasticBeanstalkClient, CreatePlatformVersionCommand } from "@aws-sdk/client-elastic-beanstalk"; // ES Modules import * // const { ElasticBeanstalkClient, CreatePlatformVersionCommand } = 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 = { // CreatePlatformVersionRequest * PlatformName: "STRING_VALUE", // required * PlatformVersion: "STRING_VALUE", // required * PlatformDefinitionBundle: { // S3Location * S3Bucket: "STRING_VALUE", * S3Key: "STRING_VALUE", * }, * EnvironmentName: "STRING_VALUE", * OptionSettings: [ // ConfigurationOptionSettingsList * { // ConfigurationOptionSetting * ResourceName: "STRING_VALUE", * Namespace: "STRING_VALUE", * OptionName: "STRING_VALUE", * Value: "STRING_VALUE", * }, * ], * Tags: [ // Tags * { // Tag * Key: "STRING_VALUE", * Value: "STRING_VALUE", * }, * ], * }; * const command = new CreatePlatformVersionCommand(input); * const response = await client.send(command); * // { // CreatePlatformVersionResult * // 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", * // }, * // Builder: { // Builder * // ARN: "STRING_VALUE", * // }, * // }; * * ``` * * @param CreatePlatformVersionCommandInput - {@link CreatePlatformVersionCommandInput} * @returns {@link CreatePlatformVersionCommandOutput} * @see {@link CreatePlatformVersionCommandInput} for command's `input` shape. * @see {@link CreatePlatformVersionCommandOutput} 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 TooManyPlatformsException} (client fault) *

You have exceeded the maximum number of allowed platforms associated with the account.

* * @throws {@link ElasticBeanstalkSyntheticServiceException} *

Base exception class for all service exceptions from ElasticBeanstalk service.

* * * @public */ export declare class CreatePlatformVersionCommand extends CreatePlatformVersionCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: CreatePlatformVersionRequest; output: CreatePlatformVersionResult; }; sdk: { input: CreatePlatformVersionCommandInput; output: CreatePlatformVersionCommandOutput; }; }; }