Skip to main content

harness_versions

Creates, updates, deletes, gets or lists a harness_versions resource.

Overview

Nameharness_versions
TypeResource
Idaws.bedrock_agentcore_control.harness_versions

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
arnstringThe ARN of the harness. (pattern: <code>arn:([^:]+)?:bedrock-agentcore:[a-z0-9-]+:[0-9]{12}:harness/[a-zA-Z][a-zA-Z0-9_]{0,39}-[a-zA-Z0-9]{10}</code>)
created_atstring (date-time)The timestamp when this harness version was created.
failure_reasonstringReason why the create or update operation for this harness version failed.
harness_idstringThe ID of the harness. (pattern: <code>[a-zA-Z][a-zA-Z0-9_]{0,39}-[a-zA-Z0-9]{10}</code>)
harness_namestringThe name of the harness. (pattern: <code>[a-zA-Z][a-zA-Z0-9_]{0,39}</code>)
harness_versionstringThe version of the harness that this summary describes. (pattern: <code>([1-9][0-9]{0,4})</code>)
statusstringThe status of this harness version. (CREATING, CREATE_FAILED, UPDATING, UPDATE_FAILED, READY, DELETING, DELETE_FAILED)
updated_atstring (date-time)The timestamp when this harness version was last updated.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
list_harness_versionsselectharness_id, regionmaxResults, nextTokenOperation to list the versions of a Harness.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
harness_idstringThe ID of the harness whose versions are listed.
regionstringAWS region (default: us-east-1)
maxResultsintegerThe maximum number of results to return in a single call.
nextTokenstringThe token for the next set of results.

SELECT examples

Operation to list the versions of a Harness.

SELECT
arn,
created_at,
failure_reason,
harness_id,
harness_name,
harness_version,
status,
updated_at
FROM aws.bedrock_agentcore_control.harness_versions
WHERE harness_id = '{{ harness_id }}' -- required
AND region = '{{ region }}' -- required
AND maxResults = '{{ maxResults }}'
AND nextToken = '{{ nextToken }}'
;