ELBv2 modify_rule changes listener rule partially (#1073)

* modify_rule changes listener rule partially

* fix syntax

* fix outdated code

* fix outdated code
This commit is contained in:
Toshiya Kawasaki 2017-08-22 04:28:58 +09:00 committed by Jack Danger
commit b6cc208534
3 changed files with 49 additions and 34 deletions

View file

@ -174,3 +174,12 @@ class InvalidTargetGroupNameError(ELBClientError):
super(InvalidTargetGroupNameError, self).__init__(
"ValidationError", msg
)
class InvalidModifyRuleArgumentsError(ELBClientError):
def __init__(self):
super(InvalidModifyRuleArgumentsError, self).__init__(
"ValidationError",
"Either conditions or actions must be specified"
)