add code to respond to SSM send_command

This commit is contained in:
Chris Wolfe 2018-02-19 09:39:29 -06:00
commit 99d3362417
2 changed files with 44 additions and 0 deletions

View file

@ -190,3 +190,8 @@ class SimpleSystemManagerResponse(BaseResponse):
tag_list = [{'Key': k, 'Value': v} for (k, v) in tags.items()]
response = {'TagList': tag_list}
return json.dumps(response)
def send_command(self):
return json.dumps(
self.ssm_backend.send_command(**self.request_params)
)