DeletePlatformVersion - Amazon Elastic Beanstalk
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China.

DeletePlatformVersion

Deletes the specified version of a custom platform.

Request Parameters

For information about the parameters that are common to all actions, see Common Parameters.

PlatformArn

The ARN of the version of the custom platform.

Type: String

Required: No

Response Elements

The following element is returned by the service.

PlatformSummary

Detailed information about the version of the custom platform.

Type: PlatformSummary object

Errors

For information about the errors that are common to all actions, see Common Errors.

ElasticBeanstalkService

A generic service exception has occurred.

HTTP Status Code: 400

InsufficientPrivileges

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

HTTP Status Code: 403

OperationInProgressFailure

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

HTTP Status Code: 400

PlatformVersionStillReferenced

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

HTTP Status Code: 400

See Also

For more information about using this API in one of the language-specific Amazon SDKs, see the following: