2021-08-24 15:49:45 +00:00
|
|
|
"""{{ service_class }}Backend class with methods for supported APIs."""
|
|
|
|
|
2024-02-01 21:08:30 +00:00
|
|
|
from moto.core.base_backend import BaseBackend, BackendDict
|
|
|
|
from moto.core.common_models import BaseModel
|
2017-09-19 18:14:14 +00:00
|
|
|
|
|
|
|
|
|
|
|
class {{ service_class }}Backend(BaseBackend):
|
2021-08-24 15:49:45 +00:00
|
|
|
"""Implementation of {{ service_class }} APIs."""
|
|
|
|
|
2022-06-04 11:30:16 +00:00
|
|
|
def __init__(self, region_name, account_id):
|
|
|
|
super().__init__(region_name, account_id)
|
2017-09-19 18:14:14 +00:00
|
|
|
|
|
|
|
# add methods from here
|
|
|
|
|
|
|
|
|
2021-12-24 21:02:45 +00:00
|
|
|
{{ escaped_service }}_backends = BackendDict({{ service_class }}Backend, "{{ service }}")
|