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.

Deleted a generated template.

Note:

For .NET Core this operation is only available in asynchronous form. Please refer to DeleteGeneratedTemplateAsync.

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

Syntax

C#
public abstract DeleteGeneratedTemplateResponse DeleteGeneratedTemplate(
         DeleteGeneratedTemplateRequest request
)

Parameters

request
Type: Amazon.CloudFormation.Model.DeleteGeneratedTemplateRequest

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

Return Value


The response from the DeleteGeneratedTemplate service method, as returned by CloudFormation.

Exceptions

ExceptionCondition
ConcurrentResourcesLimitExceededException No more than 5 generated templates can be in an InProgress or Pending status at one time. This error is also returned if a generated template that is in an InProgress or Pending status is attempted to be updated or deleted.
GeneratedTemplateNotFoundException The generated template was not found.

Examples

This example deletes a generated template

To delete a generated template


var client = new AmazonCloudFormationClient();
var response = client.DeleteGeneratedTemplate(new DeleteGeneratedTemplateRequest 
{
    GeneratedTemplateName = "JazzyTemplate"
});


            

Version Information

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

See Also