code: def denyMethodWithConditions(self, verb, resource, conditions):
          
          self._addMethod("Deny", verb, resource, conditions)
docs: Adds an API Gateway method (Http verb + Resource path) to the list of denied
          methods and includes a condition for the policy statement. More on AWS policy
          conditions here: http://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_elements.html#Condition