v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-14171791756.1 KB

Updates a rule for the specified Amazon Connect instance.

Use the Rules Function language to code conditions for the rule.

put/rules/{InstanceId}/{RuleId}

Path parameters

RuleIdstring required

A unique identifier for the rule.

InstanceIdstring required

The identifier of the Amazon Connect instance. You can <a href="https://docs.aws.amazon.com/connect/latest/adminguide/find-instance-arn.html">find the instance ID</a> in the Amazon Resource Name (ARN) of the instance.

Request body

Namestring required

The name of the rule. You can change the name only if <code>TriggerEventSource</code> is one of the following values: <code>OnZendeskTicketCreate</code> | <code>OnZendeskTicketStatusUpdate</code> | <code>OnSalesforceCaseCreate</code>

Functionstring required

The conditions of the rule.

PublishStatus'DRAFT' | 'PUBLISHED' required

The publish status of the rule.

Response

Success