BedrockAgentCoreControlClient.create_harness_endpoint
rboto-bedrock-agentcore-control==0.4.0 · Service index · Types
Model summary (excerpt): Operation to create a harness endpoint.
Install and imports
from rboto import BedrockAgentCoreControlClient
from rboto_bedrock_agentcore_control.types import (
CreateHarnessEndpointOutput,
)
Signature
async def create_harness_endpoint(
*,
harness_id: str,
endpoint_name: str,
target_version: str | None = None,
description: str | None = None,
client_token: str | None = None,
tags: dict[str, str] | None = None,
) -> CreateHarnessEndpointOutput: ...
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) |
|---|---|---|
harness_id |
Yes | The ID of the harness to create an endpoint for. |
endpoint_name |
Yes | The name of the endpoint. Must start with a letter and contain only alphanumeric characters and underscores. |
target_version |
No | The harness version that the endpoint points to and serves invocations from. |
description |
No | A description of the endpoint. |
client_token |
No | A unique, case-sensitive identifier to ensure idempotency of the request. |
tags |
No | Tags to apply to the endpoint resource. |
Output
CreateHarnessEndpointOutput.
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 |
|---|---|---|---|
endpoint |
HarnessEndpointOutput | None |
Always present | HarnessEndpointOutput |
| 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, ServiceQuotaExceededError, ThrottlingError, ValidationError.
Other service failures use the service base error; credential, transport and timeout failures use shared errors.