2017-09-19 18:14:14 +00:00
|
|
|
from __future__ import unicode_literals
|
|
|
|
from moto.core.responses import BaseResponse
|
2017-10-24 18:45:39 +00:00
|
|
|
from .models import {{ escaped_service }}_backends
|
|
|
|
import json
|
2017-09-19 18:14:14 +00:00
|
|
|
|
|
|
|
|
|
|
|
class {{ service_class }}Response(BaseResponse):
|
2017-10-24 18:45:39 +00:00
|
|
|
SERVICE_NAME = '{{ service }}'
|
2017-09-19 18:14:14 +00:00
|
|
|
@property
|
2017-10-24 18:45:39 +00:00
|
|
|
def {{ escaped_service }}_backend(self):
|
|
|
|
return {{ escaped_service }}_backends[self.region]
|
2017-09-19 18:14:14 +00:00
|
|
|
|
|
|
|
# add methods from here
|
|
|
|
|
|
|
|
|
2017-09-26 15:46:18 +00:00
|
|
|
# add templates from here
|
2017-09-19 18:14:14 +00:00
|
|
|
|