create_harness_endpoint¶
Operation¶
create_harness_endpoint
async
¶
create_harness_endpoint(input: CreateHarnessEndpointInput, plugins: list[Plugin] | None = None) -> CreateHarnessEndpointOutput
Operation to create a harness endpoint.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
input
|
CreateHarnessEndpointInput
|
An instance of |
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 |
|---|---|
CreateHarnessEndpointOutput
|
An instance of |
Input¶
CreateHarnessEndpointInput
dataclass
¶
Dataclass for CreateHarnessEndpointInput 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.
endpoint_name
class-attribute
instance-attribute
¶
endpoint_name: str | None = None
The name of the endpoint. Must start with a letter and contain only alphanumeric characters and underscores.
harness_id
class-attribute
instance-attribute
¶
harness_id: str | None = None
The ID of the harness to create an endpoint for.
tags
class-attribute
instance-attribute
¶
tags: dict[str, str] | None = None
Tags to apply to the endpoint resource.
target_version
class-attribute
instance-attribute
¶
target_version: str | None = None
The harness version that the endpoint points to and serves invocations from.