Skip to content

Create Automated Reasoning Policy Version

bedrock_create_automated_reasoning_policy_version R Documentation

Creates a new version of an existing Automated Reasoning policy

Description

Creates a new version of an existing Automated Reasoning policy. This allows you to iterate on your policy rules while maintaining previous versions for rollback or comparison purposes.

Usage

bedrock_create_automated_reasoning_policy_version(policyArn,
  clientRequestToken, lastUpdatedDefinitionHash, tags)

Arguments

policyArn

[required] The Amazon Resource Name (ARN) of the Automated Reasoning policy for which to create a version.

clientRequestToken

A unique, case-sensitive identifier to ensure that the operation completes no more than one time. If this token matches a previous request, Amazon Bedrock ignores the request, but does not return an error.

lastUpdatedDefinitionHash

[required] The hash of the current policy definition used as a concurrency token to ensure the policy hasn't been modified since you last retrieved it.

tags

A list of tags to associate with the policy version.

Value

A list with the following syntax:

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

Request syntax

svc$create_automated_reasoning_policy_version(
  policyArn = "string",
  clientRequestToken = "string",
  lastUpdatedDefinitionHash = "string",
  tags = list(
    list(
      key = "string",
      value = "string"
    )
  )
)