-
-
Notifications
You must be signed in to change notification settings - Fork 11
Description
The services that @effect-aws create don't expose the SDK client type definitions. Depending on the client, these can be useful for specifying aspects of the client command input. Whilst its possible to specify literals, this can make the code less maintainable overall.
For example, in the Timestream client, the following types are useful when building the writeRecords
input:
import { _Record, MeasureValue, MeasureValueType, TimeUnit, Dimension } from "@aws-sdk/client-timestream-write"
At present, because @effect-aws doesn't re-export these values, its necessary to install the aws-sdk client in order to be able to access them in the application code. That can also then raise issues with mismatched client versions which might lead to discrepancies/conflicts (not necessarily in the types, but I've seen instances of the @smithy dependencies conflicting when there are mixed SDK client versions.
I don't know if its possible to identify what these types might be via the codegen.