IAM delete_server_certificate (#1380)

* IAM delete_server_certificate

* flake8 fixes
This commit is contained in:
David Bartle 2017-12-08 02:43:09 -08:00 committed by Terry Cain
commit 52ce8d378f
4 changed files with 34 additions and 1 deletions

View file

@ -271,6 +271,12 @@ class IamResponse(BaseResponse):
template = self.response_template(GET_SERVER_CERTIFICATE_TEMPLATE)
return template.render(certificate=cert)
def delete_server_certificate(self):
cert_name = self._get_param('ServerCertificateName')
iam_backend.delete_server_certificate(cert_name)
template = self.response_template(GENERIC_EMPTY_TEMPLATE)
return template.render(name="DeleteServerCertificate")
def create_group(self):
group_name = self._get_param('GroupName')
path = self._get_param('Path')