Returns the template body for a specified stack. You can get the template for running or deleted stacks.
For deleted stacks, GetTemplate returns the template for up to 90 days after the stack has been deleted.
NOTE: If the template does not exist, a ValidationError is returned.
 Declaration Syntax
 Declaration Syntax| C# | 
GetTemplateResponse GetTemplate( GetTemplateRequest getTemplateRequest )
 Parameters
 Parameters- getTemplateRequest (GetTemplateRequest)
- Container for the necessary parameters to execute the GetTemplate service method on AmazonCloudFormation.
 Return Value
 Return ValueThe response from the GetTemplate service method, as returned by AmazonCloudFormation.