Skip to content

Bedrock Agentcore Control  >  Operations  >  update_harness_endpoint

update_harness_endpoint

Operation

update_harness_endpoint async

update_harness_endpoint(input: UpdateHarnessEndpointInput, plugins: list[Plugin] | None = None) -> UpdateHarnessEndpointOutput

Operation to update a harness endpoint.

Parameters:

Name Type Description Default
input UpdateHarnessEndpointInput

An instance of UpdateHarnessEndpointInput.

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
UpdateHarnessEndpointOutput

An instance of UpdateHarnessEndpointOutput.

Input

UpdateHarnessEndpointInput dataclass

Dataclass for UpdateHarnessEndpointInput structure.

Attributes

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

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

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

A description of the endpoint. If not specified, the existing value is retained.

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

The name of the endpoint to update.

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

The ID of the harness that the endpoint belongs to.

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

The harness version that the endpoint points to. If not specified, the existing value is retained.

Output

UpdateHarnessEndpointOutput dataclass

Dataclass for UpdateHarnessEndpointOutput structure.

Attributes

endpoint instance-attribute
endpoint: HarnessEndpoint

The updated endpoint.