Smaws_Client_CloudFormation.GetTemplateReturns 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 doesn't exist, a ValidationError is returned.
val error_to_string :
[ Smaws_Lib.Protocols.AwsQuery.error
| `ChangeSetNotFoundException of Types.change_set_not_found_exception ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.get_template_input ->
(Types.get_template_output,
[> Smaws_Lib.Protocols.AwsQuery.error
| `ChangeSetNotFoundException of Types.change_set_not_found_exception ])
Stdlib.resultval request_with_metadata :
'http_type Smaws_Lib.Context.t ->
Types.get_template_input ->
(Types.get_template_output Smaws_Lib.Response.t,
[> Smaws_Lib.Protocols.AwsQuery.error
| `ChangeSetNotFoundException of Types.change_set_not_found_exception ]
* Smaws_Lib.Response.metadata)
Stdlib.result