Skip to content

Update Policy Engine

bedrockagentcorecontrol_update_policy_engine R Documentation

Updates an existing policy engine within the AgentCore Policy system

Description

Updates an existing policy engine within the AgentCore Policy system. This operation allows modification of the policy engine description while maintaining its identity. This is an asynchronous operation. Use the get_policy_engine operation to poll the status field to track completion.

Usage

bedrockagentcorecontrol_update_policy_engine(policyEngineId,
  description)

Arguments

policyEngineId

[required] The unique identifier of the policy engine to be updated.

description

The new description for the policy engine.

Value

A list with the following syntax:

list(
  policyEngineId = "string",
  name = "string",
  createdAt = as.POSIXct(
    "2015-01-01"
  ),
  updatedAt = as.POSIXct(
    "2015-01-01"
  ),
  policyEngineArn = "string",
  status = "CREATING"|"ACTIVE"|"UPDATING"|"DELETING"|"CREATE_FAILED"|"UPDATE_FAILED"|"DELETE_FAILED",
  encryptionKeyArn = "string",
  description = "string",
  statusReasons = list(
    "string"
  )
)

Request syntax

svc$update_policy_engine(
  policyEngineId = "string",
  description = list(
    optionalValue = "string"
  )
)