Skip to content

Exports the policy definition for an Automated Reasoning policy version

Description

Exports the policy definition for an Automated Reasoning policy version. Returns the complete policy definition including rules, variables, and custom variable types in a structured format.

Usage

bedrock_export_automated_reasoning_policy_version(policyArn)

Arguments

  • policyArn

[required] The Amazon Resource Name (ARN) of the Automated Reasoning policy to export. Can be either the unversioned ARN for the draft policy or a versioned ARN for a specific policy version.

Value

A list with the following syntax:

list(
  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"
      )
    )
  )
)

Request syntax

svc$export_automated_reasoning_policy_version(
  policyArn = "string"
)