Smaws_Client_CloudFormation.ValidateTemplateValidates a specified template. CloudFormation first checks if the template is valid JSON. If it isn't, CloudFormation checks if the template is valid YAML. If both these checks fail, CloudFormation returns a template validation error.
val error_to_string : [ Smaws_Lib.Protocols.AwsQuery.error ] -> stringval request :
'http_type Smaws_Lib.Context.t ->
Types.validate_template_input ->
(Types.validate_template_output, [> Smaws_Lib.Protocols.AwsQuery.error ])
Stdlib.resultval request_with_metadata :
'http_type Smaws_Lib.Context.t ->
Types.validate_template_input ->
(Types.validate_template_output Smaws_Lib.Response.t,
[> Smaws_Lib.Protocols.AwsQuery.error ] * Smaws_Lib.Response.metadata)
Stdlib.result