code: func (c *CloudFormation) GetTemplateSummary(input *GetTemplateSummaryInput) (*GetTemplateSummaryOutput, error) {
  	req, out := c.GetTemplateSummaryRequest(input)
  	return out, req.Send()
  }
docs: // GetTemplateSummary API operation for AWS CloudFormation.
  //
  // Returns information about a new or existing template. The GetTemplateSummary
  // action is useful for viewing parameter information, such as default parameter
  // values and parameter types, before you create or update a stack or stack
  // set.
  //
  // You can use the GetTemplateSummary action when you submit a template, or
  // you can get template information for a stack set, or a running or deleted
  // stack.
  //
  // For deleted stacks, GetTemplateSummary returns the template information 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 GetTemplateSummary for usage and error information.
  //
  // Returned Error Codes:
  //   * ErrCodeStackSetNotFoundException "StackSetNotFoundException"
  //   The specified stack set doesn't exist.
  //
  // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/GetTemplateSummary