16 lines
339 B
Django/Jinja
16 lines
339 B
Django/Jinja
from __future__ import unicode_literals
|
|
from moto.core.responses import BaseResponse
|
|
from .models import {{ service }}_backends
|
|
|
|
|
|
class {{ service_class }}Response(BaseResponse):
|
|
@property
|
|
def {{ service }}_backend(self):
|
|
return {{ service }}_backends[self.region]
|
|
|
|
# add methods from here
|
|
|
|
|
|
# add templates from here
|
|
|