Amazon.ElasticBeanstalk.AmazonElasticBeanstalkClient.DeleteApplicationVersion C# (CSharp) Метод

DeleteApplicationVersion() публичный Метод

Deletes the specified version from the specified application.

You cannot delete an application version that is associated with a running environment.

/// The specified account does not have sufficient privileges for one of more AWS services. /// /// Unable to perform the specified operation because another operation that effects an /// element in this activity is already in progress. /// /// The specified S3 bucket does not belong to the S3 region in which the service is running. /// The following regions are supported: /// ///
  • /// /// IAD/us-east-1 /// ///
  • /// /// PDX/us-west-2 /// ///
  • /// /// DUB/eu-west-1 /// ///
/// /// Unable to delete the Amazon S3 source bundle associated with the application version. /// The application version was deleted successfully. ///
public DeleteApplicationVersion ( DeleteApplicationVersionRequest request ) : Amazon.ElasticBeanstalk.Model.DeleteApplicationVersionResponse
request Amazon.ElasticBeanstalk.Model.DeleteApplicationVersionRequest Container for the necessary parameters to execute the DeleteApplicationVersion service method.
Результат Amazon.ElasticBeanstalk.Model.DeleteApplicationVersionResponse
        public DeleteApplicationVersionResponse DeleteApplicationVersion(DeleteApplicationVersionRequest request)
        {
            var marshaller = new DeleteApplicationVersionRequestMarshaller();
            var unmarshaller = DeleteApplicationVersionResponseUnmarshaller.Instance;

            return Invoke<DeleteApplicationVersionRequest,DeleteApplicationVersionResponse>(request, marshaller, unmarshaller);
        }
AmazonElasticBeanstalkClient