AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
Deletes the specified configuration template.
When you launch an environment using a configuration template, the environment gets
a copy of the template. You can delete or modify the environment's copy of the template
without affecting the running environment.
For .NET Core this operation is only available in asynchronous form. Please refer to DeleteConfigurationTemplateAsync.
Namespace: Amazon.ElasticBeanstalk
Assembly: AWSSDK.ElasticBeanstalk.dll
Version: 3.x.y.z
public abstract DeleteConfigurationTemplateResponse DeleteConfigurationTemplate( DeleteConfigurationTemplateRequest request )
Container for the necessary parameters to execute the DeleteConfigurationTemplate service method.
Exception | Condition |
---|---|
OperationInProgressException | Unable to perform the specified operation because another operation that effects an element in this activity is already in progress. |
The following operation deletes a configuration template named my-template for an application named my-app:
var client = new AmazonElasticBeanstalkClient(); var response = client.DeleteConfigurationTemplate(new DeleteConfigurationTemplateRequest { ApplicationName = "my-app", TemplateName = "my-template" });
.NET Framework:
Supported in: 4.5, 4.0, 3.5