BedrockAgentCoreControlClient.delete_policy_engine
rboto-bedrock-agentcore-control==0.4.0 · Service index · Types
Model summary (excerpt): 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 GetPolicyEngine operation to poll the status field to track completion.
Install and imports
from rboto import BedrockAgentCoreControlClient
from rboto_bedrock_agentcore_control.types import (
DeletePolicyEngineOutput,
)
Signature
Arguments without defaults are required. None omits an optional request argument. Static types do not validate resource existence, permissions, lengths, ranges, or conditional service requirements.
Arguments
| Argument | Required | Model notes (excerpt) |
|---|---|---|
policy_engine_id |
Yes | The unique identifier of the policy engine to be deleted. This must be a valid policy engine ID that exists within the account. |
Output
DeletePolicyEngineOutput.
Read-only native attributes, accessed as response.field. Collection getters materialize Python values; to_dict() recursively materializes a mapping. Streams are consumed once.
| Field | Type | Presence | References |
|---|---|---|---|
policy_engine_id |
str |
Always present | — |
name |
str |
Always present | — |
created_at |
str |
Always present | — |
updated_at |
str |
Always present | — |
policy_engine_arn |
str |
Always present | — |
status |
PolicyEngineStatusOutput |
Always present | PolicyEngineStatusOutput |
encryption_key_arn |
str | None |
Always present | — |
description |
str | None |
Always present | — |
status_reasons |
list[str] |
Always present | — |
| None means a value can be absent. Output mappings include every declared key; optional input keys may be omitted. Unknown output enum/union variants are not automatically valid inputs.
Related types
Follow these links for nested inputs and outputs; recursive types link back to the same type page.
Pagination and streaming
No generated paginator for this operation.
No output stream.
Errors
Import from rboto_bedrock_agentcore_control.exceptions:
AccessDeniedError, ConflictError, InternalServerError, ResourceNotFoundError, ThrottlingError, ValidationError.
Other service failures use the service base error; credential, transport and timeout failures use shared errors.