Menu
Elastic Load Balancing
API Reference (API Version 2015-12-01)

ModifyRule

Modifies the specified rule.

Any existing properties that you do not modify retain their current values.

To modify the default action, use ModifyListener.

Request Parameters

For information about the parameters that are common to all actions, see Common Parameters.

Actions.member.N

The actions.

Type: Array of Action objects

Required: No

Conditions.member.N

The conditions.

Type: Array of RuleCondition objects

Required: No

RuleArn

The Amazon Resource Name (ARN) of the rule.

Type: String

Required: Yes

Response Elements

The following element is returned by the service.

Rules.member.N

Information about the rule.

Type: Array of Rule objects

Errors

For information about the errors that are common to all actions, see Common Errors.

OperationNotPermitted

This operation is not allowed.

HTTP Status Code: 400

RuleNotFound

The specified rule does not exist.

HTTP Status Code: 400

TargetGroupAssociationLimit

You've reached the limit on the number of load balancers per target group.

HTTP Status Code: 400

TargetGroupNotFound

The specified target group does not exist.

HTTP Status Code: 400

TooManyRegistrationsForTargetId

You've reached the limit on the number of times a target can be registered with a load balancer.

HTTP Status Code: 400

TooManyTargets

You've reached the limit on the number of targets.

HTTP Status Code: 400

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: