diff --git a/awscli/customizations/ec2/decryptpassword.py b/awscli/customizations/ec2/decryptpassword.py index afd601bb1c43..b948c7051f2d 100644 --- a/awscli/customizations/ec2/decryptpassword.py +++ b/awscli/customizations/ec2/decryptpassword.py @@ -80,8 +80,6 @@ def add_to_params(self, parameters, value): path = os.path.expanduser(path) if os.path.isfile(path): self._key_path = path - endpoint_prefix = \ - self._operation_model.service_model.endpoint_prefix service_id = self._operation_model.service_model.service_id event = 'after-call.%s.%s' % (service_id.hyphenize(), self._operation_model.name)