code: func (c *CloudFormation) GetTemplate(input *GetTemplateInput) (*GetTemplateOutput, error) {
  	req, out := c.GetTemplateRequest(input)
  	return out, req.Send()
  }
docs: // GetTemplate API operation for AWS CloudFormation.
  //
  // 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.
  //
  // If the template does not exist, a ValidationError is returned.
  //
  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  // with awserr.Error's Code and Message methods to get detailed information about
  // the error.
  //
  // See the AWS API reference guide for AWS CloudFormation's
  // API operation GetTemplate for usage and error information.
  //
  // Returned Error Codes:
  //   * ErrCodeChangeSetNotFoundException "ChangeSetNotFound"
  //   The specified change set name or ID doesn't exit. To view valid change sets
  //   for a stack, use the ListChangeSets action.
  //
  // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/GetTemplate