Skip to content

@awssolutions/gen-ai-evaluation-toolkit-ts-client


@awssolutions/gen-ai-evaluation-toolkit-ts-client / GenAiEvaluationToolkitClient

Class: GenAiEvaluationToolkitClient

Extends

Extended by

Constructors

Constructor

new GenAiEvaluationToolkitClient(...__namedParameters): GenAiEvaluationToolkitClient

Parameters

__namedParameters

[GenAiEvaluationToolkitClientConfig] | []

Returns

GenAiEvaluationToolkitClient

Overrides

__Client< __HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, GenAiEvaluationToolkitClientResolvedConfig >.constructor

Properties

config

readonly config: GenAiEvaluationToolkitClientResolvedConfig

The resolved configuration of GenAiEvaluationToolkitClient class. This is resolved and normalized from the constructor configuration interface.

Overrides

__Client.config

Methods

destroy()

destroy(): void

Destroy underlying resources, like sockets. It's usually not necessary to do this. However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed. Otherwise, sockets might stay open for quite a long time before the server terminates them.

Returns

void

Overrides

__Client.destroy