Skip to content

Update Case Rule

connectcases_update_case_rule R Documentation

Updates a case rule

Description

Updates a case rule. In the Amazon Connect admin website, case rules are known as case field conditions. For more information about case field conditions, see Add case field conditions to a case template.

Usage

connectcases_update_case_rule(domainId, caseRuleId, name, description,
  rule)

Arguments

domainId

[required] Unique identifier of a Cases domain.

caseRuleId

[required] Unique identifier of a case rule.

name

Name of the case rule.

description

Description of a case rule.

rule

Represents what rule type should take place, under what conditions.

Value

An empty list.

Request syntax

svc$update_case_rule(
  domainId = "string",
  caseRuleId = "string",
  name = "string",
  description = "string",
  rule = list(
    required = list(
      defaultValue = TRUE|FALSE,
      conditions = list(
        list(
          equalTo = list(
            operandOne = list(
              fieldId = "string"
            ),
            operandTwo = list(
              stringValue = "string",
              booleanValue = TRUE|FALSE,
              doubleValue = 123.0,
              emptyValue = list()
            ),
            result = TRUE|FALSE
          ),
          notEqualTo = list(
            operandOne = list(
              fieldId = "string"
            ),
            operandTwo = list(
              stringValue = "string",
              booleanValue = TRUE|FALSE,
              doubleValue = 123.0,
              emptyValue = list()
            ),
            result = TRUE|FALSE
          ),
          andAll = list(
            conditions = list()
          ),
          orAll = list(
            conditions = list()
          )
        )
      )
    ),
    fieldOptions = list(
      parentFieldId = "string",
      childFieldId = "string",
      parentChildFieldOptionsMappings = list(
        list(
          parentFieldOptionValue = "string",
          childFieldOptionValues = list(
            "string"
          )
        )
      )
    ),
    hidden = list(
      defaultValue = TRUE|FALSE,
      conditions = list(
        list(
          equalTo = list(
            operandOne = list(
              fieldId = "string"
            ),
            operandTwo = list(
              stringValue = "string",
              booleanValue = TRUE|FALSE,
              doubleValue = 123.0,
              emptyValue = list()
            ),
            result = TRUE|FALSE
          ),
          notEqualTo = list(
            operandOne = list(
              fieldId = "string"
            ),
            operandTwo = list(
              stringValue = "string",
              booleanValue = TRUE|FALSE,
              doubleValue = 123.0,
              emptyValue = list()
            ),
            result = TRUE|FALSE
          ),
          andAll = list(
            conditions = list()
          ),
          orAll = list(
            conditions = list()
          )
        )
      )
    )
  )
)