Started ACM framework

This commit is contained in:
Terry Cain 2017-09-21 21:44:34 +01:00
commit 9e19243310
No known key found for this signature in database
GPG key ID: 14D90844E4E9B9F3
4 changed files with 85 additions and 0 deletions

50
moto/acm/responses.py Normal file
View file

@ -0,0 +1,50 @@
from __future__ import unicode_literals
import json
from moto.core.responses import BaseResponse
from .models import acm_backends
class AWSCertificateManagerResponse(BaseResponse):
@property
def acm_backend(self):
return acm_backends[self.region]
@property
def request_params(self):
try:
return json.loads(self.body)
except ValueError:
return {}
def _get_param(self, param, default=None):
return self.request_params.get(param, default)
def add_tags_to_certificate(self):
raise NotImplementedError()
def delete_certificate(self):
raise NotImplementedError()
def describe_certificate(self):
raise NotImplementedError()
def import_certificate(self):
raise NotImplementedError()
def list_certificates(self):
raise NotImplementedError()
def list_tags_for_certificate(self):
raise NotImplementedError()
def remove_tags_from_certificate(self):
raise NotImplementedError()
def request_certificate(self):
raise NotImplementedError()
def resend_validation_email(self):
raise NotImplementedError()