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.

Describes a generated template. The output includes details about the progress of the creation of a generated template started by a CreateGeneratedTemplate API action or the update of a generated template started with an UpdateGeneratedTemplate API action.

Note:

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

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

Syntax

C#
public abstract DescribeGeneratedTemplateResponse DescribeGeneratedTemplate(
         DescribeGeneratedTemplateRequest request
)

Parameters

request
Type: Amazon.CloudFormation.Model.DescribeGeneratedTemplateRequest

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

Return Value


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

Exceptions

ExceptionCondition
GeneratedTemplateNotFoundException The generated template was not found.

Examples

This example describes a generated template

To describe a generated template


var client = new AmazonCloudFormationClient();
var response = client.DescribeGeneratedTemplate(new DescribeGeneratedTemplateRequest 
{
    GeneratedTemplateName = "JazzyTemplate"
});

DateTime creationTime = response.CreationTime;
string generatedTemplateId = response.GeneratedTemplateId;
string generatedTemplateName = response.GeneratedTemplateName;
DateTime lastUpdatedTime = response.LastUpdatedTime;
TemplateProgress progress = response.Progress;
string status = response.Status;
string statusReason = response.StatusReason;
TemplateConfiguration templateConfiguration = response.TemplateConfiguration;
int totalWarnings = response.TotalWarnings;

            

Version Information

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

See Also