Skip to content

Bedrock Agentcore Control  >  Operations  >  delete_harness

delete_harness

Operation

delete_harness async

delete_harness(input: DeleteHarnessInput, plugins: list[Plugin] | None = None) -> DeleteHarnessOutput

Operation to delete a Harness.

Parameters:

Name Type Description Default
input DeleteHarnessInput

An instance of DeleteHarnessInput.

required
plugins list[Plugin] | None

A list of callables that modify the configuration dynamically. Changes made by these plugins only apply for the duration of the operation execution and will not affect any other operation invocations.

None

Returns:

Type Description
DeleteHarnessOutput

An instance of DeleteHarnessOutput.

Input

DeleteHarnessInput dataclass

Dataclass for DeleteHarnessInput structure.

Attributes

client_token class-attribute instance-attribute
client_token: str | None = None

A unique, case-sensitive identifier to ensure idempotency of the request.

delete_managed_memory class-attribute instance-attribute
delete_managed_memory: bool | None = None

Whether to delete the managed memory on harness deletion. Default: true. If false, the memory is disassociated and becomes a regular customer-owned resource.

harness_id class-attribute instance-attribute
harness_id: str | None = None

The ID of the harness to delete.

Output

DeleteHarnessOutput dataclass

Dataclass for DeleteHarnessOutput structure.

Attributes

harness class-attribute instance-attribute
harness: Harness | None = None

The harness that was deleted.