Skip to content

Updates an existing Automated Reasoning policy with new rules, variables, or configuration

Description

Updates an existing Automated Reasoning policy with new rules, variables, or configuration. This creates a new version of the policy while preserving the previous version.

Usage

bedrock_update_automated_reasoning_policy(policyArn, policyDefinition,
  name, description)

Arguments

  • policyArn

[required] The Amazon Resource Name (ARN) of the Automated Reasoning policy to update. This must be the ARN of a draft policy.

  • policyDefinition

[required] The updated policy definition containing the formal logic rules, variables, and types.

  • name

The updated name for the Automated Reasoning policy.

  • description

The updated description for the Automated Reasoning policy.

Value

A list with the following syntax:

list(
  policyArn = "string",
  name = "string",
  definitionHash = "string",
  updatedAt = as.POSIXct(
    "2015-01-01"
  )
)

Request syntax

svc$update_automated_reasoning_policy(
  policyArn = "string",
  policyDefinition = list(
    version = "string",
    types = list(
      list(
        name = "string",
        description = "string",
        values = list(
          list(
            value = "string",
            description = "string"
          )
        )
      )
    ),
    rules = list(
      list(
        id = "string",
        expression = "string",
        alternateExpression = "string"
      )
    ),
    variables = list(
      list(
        name = "string",
        type = "string",
        description = "string"
      )
    )
  ),
  name = "string",
  description = "string"
)