From e230407074f832da17ca04d7e4ba7dcb5d5f0a77 Mon Sep 17 00:00:00 2001 From: Ron Rothman Date: Sat, 23 Sep 2017 01:41:10 -0400 Subject: [PATCH] ssm get_parameter to honot WithDecryption --- moto/ssm/responses.py | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/moto/ssm/responses.py b/moto/ssm/responses.py index ca0339693..3b75ada09 100644 --- a/moto/ssm/responses.py +++ b/moto/ssm/responses.py @@ -56,13 +56,8 @@ class SimpleSystemManagerResponse(BaseResponse): return json.dumps(error), dict(status=400) response = { - 'Parameter': { - 'Name': name, - 'Type': result.type, - 'Value': result.value - } + 'Parameter': result.response_object(with_decryption) } - return json.dumps(response) def get_parameters(self):