Skip to content

Get Automated Reasoning Policy Annotations

bedrock_get_automated_reasoning_policy_annotations R Documentation

Retrieves the current annotations for an Automated Reasoning policy build workflow

Description

Retrieves the current annotations for an Automated Reasoning policy build workflow. Annotations contain corrections to the rules, variables and types to be applied to the policy.

Usage

bedrock_get_automated_reasoning_policy_annotations(policyArn,
  buildWorkflowId)

Arguments

policyArn

[required] The Amazon Resource Name (ARN) of the Automated Reasoning policy whose annotations you want to retrieve.

buildWorkflowId

[required] The unique identifier of the build workflow whose annotations you want to retrieve.

Value

A list with the following syntax:

list(
  policyArn = "string",
  name = "string",
  buildWorkflowId = "string",
  annotations = list(
    list(
      addType = list(
        name = "string",
        description = "string",
        values = list(
          list(
            value = "string",
            description = "string"
          )
        )
      ),
      updateType = list(
        name = "string",
        newName = "string",
        description = "string",
        values = list(
          list(
            addTypeValue = list(
              value = "string",
              description = "string"
            ),
            updateTypeValue = list(
              value = "string",
              newValue = "string",
              description = "string"
            ),
            deleteTypeValue = list(
              value = "string"
            )
          )
        )
      ),
      deleteType = list(
        name = "string"
      ),
      addVariable = list(
        name = "string",
        type = "string",
        description = "string"
      ),
      updateVariable = list(
        name = "string",
        newName = "string",
        description = "string"
      ),
      deleteVariable = list(
        name = "string"
      ),
      addRule = list(
        expression = "string"
      ),
      updateRule = list(
        ruleId = "string",
        expression = "string"
      ),
      deleteRule = list(
        ruleId = "string"
      ),
      addRuleFromNaturalLanguage = list(
        naturalLanguage = "string"
      ),
      updateFromRulesFeedback = list(
        ruleIds = list(
          "string"
        ),
        feedback = "string"
      ),
      updateFromScenarioFeedback = list(
        ruleIds = list(
          "string"
        ),
        scenarioExpression = "string",
        feedback = "string"
      ),
      ingestContent = list(
        content = "string"
      )
    )
  ),
  annotationSetHash = "string",
  updatedAt = as.POSIXct(
    "2015-01-01"
  )
)

Request syntax

svc$get_automated_reasoning_policy_annotations(
  policyArn = "string",
  buildWorkflowId = "string"
)