Skip to content

Batch Get Case Rule

connectcases_batch_get_case_rule R Documentation

Gets a batch of case rules

Description

Gets a batch of case rules. 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_batch_get_case_rule(caseRules, domainId)

Arguments

caseRules

[required] List of case rule identifiers.

domainId

[required] Unique identifier of a Cases domain.

Value

A list with the following syntax:

list(
  caseRules = list(
    list(
      caseRuleArn = "string",
      caseRuleId = "string",
      createdTime = as.POSIXct(
        "2015-01-01"
      ),
      deleted = TRUE|FALSE,
      description = "string",
      lastModifiedTime = as.POSIXct(
        "2015-01-01"
      ),
      name = "string",
      rule = list(
        required = list(
          conditions = list(
            list(
              equalTo = list(
                operandOne = list(
                  fieldId = "string"
                ),
                operandTwo = list(
                  booleanValue = TRUE|FALSE,
                  doubleValue = 123.0,
                  emptyValue = list(),
                  stringValue = "string"
                ),
                result = TRUE|FALSE
              ),
              notEqualTo = list(
                operandOne = list(
                  fieldId = "string"
                ),
                operandTwo = list(
                  booleanValue = TRUE|FALSE,
                  doubleValue = 123.0,
                  emptyValue = list(),
                  stringValue = "string"
                ),
                result = TRUE|FALSE
              )
            )
          ),
          defaultValue = TRUE|FALSE
        )
      ),
      tags = list(
        "string"
      )
    )
  ),
  errors = list(
    list(
      errorCode = "string",
      id = "string",
      message = "string"
    )
  )
)

Request syntax

svc$batch_get_case_rule(
  caseRules = list(
    list(
      id = "string"
    )
  ),
  domainId = "string"
)