AWS SDK Version 3 for .NET
API Reference

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.

Note:

For PCL this operation is only available in asynchronous form. Please refer to DeleteConfigurationTemplateAsync.

Namespace: Amazon.ElasticBeanstalk
Assembly: AWSSDK.ElasticBeanstalk.dll
Version: 3.x.y.z

Syntax

C#
public virtual DeleteConfigurationTemplateResponse DeleteConfigurationTemplate(
         DeleteConfigurationTemplateRequest request
)
Parameters
request
Type: Amazon.ElasticBeanstalk.Model.DeleteConfigurationTemplateRequest

Container for the necessary parameters to execute the DeleteConfigurationTemplate service method.

Return Value
The response from the DeleteConfigurationTemplate service method, as returned by ElasticBeanstalk.

Exceptions

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

Examples

The following operation deletes a configuration template named my-template for an application named my-app:

To delete a configuration template


var response = client.DeleteConfigurationTemplate(new DeleteConfigurationTemplateRequest 
{
    ApplicationName = "my-app",
    TemplateName = "my-template"
});


            

Version Information

.NET Framework:
Supported in: 4.5, 4.0, 3.5

Portable Class Library:
Supported in: Windows Store Apps
Supported in: Windows Phone 8.1
Supported in: Xamarin Android
Supported in: Xamarin iOS (Unified)
Supported in: Xamarin.Forms

See Also