def METHOD_NAME():
    print('-'*88)
    print("Welcome to the Amazon Simple Email Service (Amazon SES) email template "
          "demo!")
    print('-'*88)
    logging.basicConfig(level=logging.INFO, format='%(levelname)s: %(message)s')
    ses_template = SesTemplate(boto3.client('ses'))
    template = {
        'name': 'doc-example-template',
        'subject': 'Example of an email template.',
        'text': "This is what {{name}} will {{action}} if {{name}} can't display HTML.",
        'html': "<p><i>This</i> is what {{name}} will {{action}} if {{name}} "
                "<b>can</b> display HTML.</p>"}
    print("Creating an email template.")
    ses_template.create_template(**template)
    print("Getting the list of template metadata.")
    template_metas = ses_template.list_templates()
    for temp_meta in template_metas:
        print(f"Got template {temp_meta['Name']}:")
        temp_data = ses_template.get_template(temp_meta['Name'])
        pprint(temp_data)
    print(f"Deleting template {template['name']}.")
    ses_template.delete_template()
    print("Thanks for watching!")
    print('-'*88)