Skip to content

Delete Policy Engine

bedrockagentcorecontrol_delete_policy_engine R Documentation

Deletes an existing policy engine from the AgentCore Policy system

Description

Deletes an existing policy engine from the AgentCore Policy system. The policy engine must not have any associated policies before deletion. Once deleted, the policy engine and all its configurations become unavailable for policy management and evaluation. This is an asynchronous operation. Use the get_policy_engine operation to poll the status field to track completion.

Usage

bedrockagentcorecontrol_delete_policy_engine(policyEngineId)

Arguments

policyEngineId

[required] The unique identifier of the policy engine to be deleted. This must be a valid policy engine ID that exists within the account.

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$delete_policy_engine(
  policyEngineId = "string"
)