Skip to content

Bedrock Agentcore Control  >  Operations  >  get_harness

get_harness

Operation

get_harness async

get_harness(input: GetHarnessInput, plugins: list[Plugin] | None = None) -> GetHarnessOutput

Operation to get a single harness.

Parameters:

Name Type Description Default
input GetHarnessInput

An instance of GetHarnessInput.

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
GetHarnessOutput

An instance of GetHarnessOutput.

Input

GetHarnessInput dataclass

Dataclass for GetHarnessInput structure.

Attributes

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

The ID of the harness to retrieve.

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

Specific version of the harness to retrieve. If omitted, returns the current Harness configuration, including its status.

Output

GetHarnessOutput dataclass

Dataclass for GetHarnessOutput structure.

Attributes

harness instance-attribute
harness: Harness

The harness resource.