prompt: We are currently solving the following issue within our repository. Here is the issue text:
  --- BEGIN ISSUE ---
  Update DLM Interval Rule Values
  Update DLM valid intervals.  `1` has been added.
  
  [DLM interval rule allows ](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dlm-lifecyclepolicy-createrule.html)
  
  --- END ISSUE ---
  
  Below are some code segments, each from a relevant file. One or more of these files may contain bugs.
  --- BEGIN FILES ---
  Path: `troposphere/validators/dlm.py`
  Content:
  ```
  1 # Copyright (c) 2012-2022, Mark Peek <mark@peek.org>
  2 # All rights reserved.
  3 #
  4 # See LICENSE file for full license.
  5 
  6 
  7 from . import tags_or_list
  8 
  9 
  10 def validate_tags_or_list(x):
  11     """
  12     Property: LifecyclePolicy.Tags
  13     Property: PolicyDetails.TargetTags
  14     Property: Schedule.TagsToAdd
  15     """
  16     return tags_or_list(x)
  17 
  18 
  19 def validate_interval(interval):
  20     """
  21     Interval validation rule.
  22     Property: CreateRule.Interval
  23     """
  24 
  25     VALID_INTERVALS = (2, 3, 4, 6, 8, 12, 24)
  26 
  27     if interval not in VALID_INTERVALS:
  28         raise ValueError(
  29             "Interval must be one of : %s"
  30             % ", ".join([str(i) for i in VALID_INTERVALS])
  31         )
  32     return interval
  33 
  34 
  35 def validate_interval_unit(interval_unit):
  36     """
  37     Interval unit validation rule.
  38     Property: CreateRule.IntervalUnit
  39     """
  40 
  41     VALID_INTERVAL_UNITS = ("HOURS",)
  42 
  43     if interval_unit not in VALID_INTERVAL_UNITS:
  44         raise ValueError(
  45             "Interval unit must be one of : %s" % ", ".join(VALID_INTERVAL_UNITS)
  46         )
  47     return interval_unit
  48 
  49 
  50 def validate_state(state):
  51     """
  52     State validation rule.
  53     Property: LifecyclePolicy.State
  54     """
  55 
  56     VALID_STATES = ("ENABLED", "DISABLED")
  57 
  58     if state not in VALID_STATES:
  59         raise ValueError("State must be one of : %s" % ", ".join(VALID_STATES))
  60     return state
  61
  ```
  --- END FILES ---
  
  Please first localize the bug based on the issue statement, and then generate a patch according to the `git diff` format fenced by three backticks.
  
  Here is an example:
  
  ```diff
  diff --git a/examples/server_async.py b/examples/server_async.py
  --- a/examples/server_async.py
  +++ b/examples/server_async.py
  @@ -313,4 +313,4 @@
   
   
   if __name__ == "__main__":
  -    asyncio.run(run_async_server("."), debug=True)
  +    asyncio.run(run_async_server(), debug=True)
  diff --git a/examples/server_sync.py b/examples/server_sync.py
  --- a/examples/server_sync.py
  +++ b/examples/server_sync.py
  @@ -313,5 +313,5 @@
   
   
   if __name__ == "__main__":
  -    server = run_sync_server(".")
  +    server = run_sync_server()
       server.shutdown()
  
  ```
  
golden_diff: diff --git a/troposphere/validators/dlm.py b/troposphere/validators/dlm.py
  --- a/troposphere/validators/dlm.py
  +++ b/troposphere/validators/dlm.py
  @@ -22,7 +22,7 @@
       Property: CreateRule.Interval
       """
   
  -    VALID_INTERVALS = (2, 3, 4, 6, 8, 12, 24)
  +    VALID_INTERVALS = (1, 2, 3, 4, 6, 8, 12, 24)
   
       if interval not in VALID_INTERVALS:
           raise ValueError(
  
verification_info: {"golden_diff": "diff --git a/troposphere/validators/dlm.py b/troposphere/validators/dlm.py\n--- a/troposphere/validators/dlm.py\n+++ b/troposphere/validators/dlm.py\n@@ -22,7 +22,7 @@\n     Property: CreateRule.Interval\n     \"\"\"\n \n-    VALID_INTERVALS = (2, 3, 4, 6, 8, 12, 24)\n+    VALID_INTERVALS = (1, 2, 3, 4, 6, 8, 12, 24)\n \n     if interval not in VALID_INTERVALS:\n         raise ValueError(\n", "issue": "Update DLM Interval Rule Values\nUpdate DLM valid intervals.  `1` has been added.\r\n\r\n[DLM interval rule allows ](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dlm-lifecyclepolicy-createrule.html)\n", "before_files": [{"content": "# Copyright (c) 2012-2022, Mark Peek <mark@peek.org>\n# All rights reserved.\n#\n# See LICENSE file for full license.\n\n\nfrom . import tags_or_list\n\n\ndef validate_tags_or_list(x):\n    \"\"\"\n    Property: LifecyclePolicy.Tags\n    Property: PolicyDetails.TargetTags\n    Property: Schedule.TagsToAdd\n    \"\"\"\n    return tags_or_list(x)\n\n\ndef validate_interval(interval):\n    \"\"\"\n    Interval validation rule.\n    Property: CreateRule.Interval\n    \"\"\"\n\n    VALID_INTERVALS = (2, 3, 4, 6, 8, 12, 24)\n\n    if interval not in VALID_INTERVALS:\n        raise ValueError(\n            \"Interval must be one of : %s\"\n            % \", \".join([str(i) for i in VALID_INTERVALS])\n        )\n    return interval\n\n\ndef validate_interval_unit(interval_unit):\n    \"\"\"\n    Interval unit validation rule.\n    Property: CreateRule.IntervalUnit\n    \"\"\"\n\n    VALID_INTERVAL_UNITS = (\"HOURS\",)\n\n    if interval_unit not in VALID_INTERVAL_UNITS:\n        raise ValueError(\n            \"Interval unit must be one of : %s\" % \", \".join(VALID_INTERVAL_UNITS)\n        )\n    return interval_unit\n\n\ndef validate_state(state):\n    \"\"\"\n    State validation rule.\n    Property: LifecyclePolicy.State\n    \"\"\"\n\n    VALID_STATES = (\"ENABLED\", \"DISABLED\")\n\n    if state not in VALID_STATES:\n        raise ValueError(\"State must be one of : %s\" % \", \".join(VALID_STATES))\n    return state\n", "path": "troposphere/validators/dlm.py"}], "after_files": [{"content": "# Copyright (c) 2012-2022, Mark Peek <mark@peek.org>\n# All rights reserved.\n#\n# See LICENSE file for full license.\n\n\nfrom . import tags_or_list\n\n\ndef validate_tags_or_list(x):\n    \"\"\"\n    Property: LifecyclePolicy.Tags\n    Property: PolicyDetails.TargetTags\n    Property: Schedule.TagsToAdd\n    \"\"\"\n    return tags_or_list(x)\n\n\ndef validate_interval(interval):\n    \"\"\"\n    Interval validation rule.\n    Property: CreateRule.Interval\n    \"\"\"\n\n    VALID_INTERVALS = (1, 2, 3, 4, 6, 8, 12, 24)\n\n    if interval not in VALID_INTERVALS:\n        raise ValueError(\n            \"Interval must be one of : %s\"\n            % \", \".join([str(i) for i in VALID_INTERVALS])\n        )\n    return interval\n\n\ndef validate_interval_unit(interval_unit):\n    \"\"\"\n    Interval unit validation rule.\n    Property: CreateRule.IntervalUnit\n    \"\"\"\n\n    VALID_INTERVAL_UNITS = (\"HOURS\",)\n\n    if interval_unit not in VALID_INTERVAL_UNITS:\n        raise ValueError(\n            \"Interval unit must be one of : %s\" % \", \".join(VALID_INTERVAL_UNITS)\n        )\n    return interval_unit\n\n\ndef validate_state(state):\n    \"\"\"\n    State validation rule.\n    Property: LifecyclePolicy.State\n    \"\"\"\n\n    VALID_STATES = (\"ENABLED\", \"DISABLED\")\n\n    if state not in VALID_STATES:\n        raise ValueError(\"State must be one of : %s\" % \", \".join(VALID_STATES))\n    return state\n", "path": "troposphere/validators/dlm.py"}]}