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