getGeneratedTemplate
abstract suspend fun getGeneratedTemplate(input: GetGeneratedTemplateRequest): GetGeneratedTemplateResponse
Retrieves a generated template. If the template is in an InProgress or Pending status then the template returned will be the template when the template was last in a Complete status. If the template has not yet been in a Complete status then an empty template will be returned.
Samples
// This example gets a generated template ins JSON format.
val resp = cloudFormationClient.getGeneratedTemplate {
generatedTemplateName = "JazzyTemplate"
}Content copied to clipboard
// This example gets a generated template in YAML format.
val resp = cloudFormationClient.getGeneratedTemplate {
generatedTemplateName = "JazzyTemplate"
format = TemplateFormat.fromValue("YAML")
}Content copied to clipboard